diff --git a/.github/workflows/conformance.yaml b/.github/workflows/conformance.yaml new file mode 100644 index 00000000..d646ec5f --- /dev/null +++ b/.github/workflows/conformance.yaml @@ -0,0 +1,30 @@ +name: Conformance +on: + pull_request: + push: + tags: ['v*'] + branches: + - 'main' + +permissions: + contents: read + +jobs: + go: + name: Go + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + go-version: [ 'stable', 'oldstable' ] + steps: + - name: Checkout code + uses: actions/checkout@v5 + with: + fetch-depth: 1 + - name: Install go + uses: actions/setup-go@v5 + with: + go-version: ${{ matrix.go-version }} + - name: Test conformance + run: make conformance diff --git a/Makefile b/Makefile index 4ad01f0a..57194015 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,10 @@ COPYRIGHT_YEARS := 2024-2025 GOLANGCI_LINT_VERSION := v2.4.0 GOLANGCI_LINT := $(BIN)/golangci-lint-$(GOLANGCI_LINT_VERSION) LICENSE_IGNORE := --ignore testdata/ +# Set to use a different version of protovalidate-conformance. +# Should be kept in sync with the version referenced in buf.yaml and +# 'buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go' in go.mod. +CONFORMANCE_VERSION ?= v0.14.2 UNAME_OS := $(shell uname -s) ifeq ($(UNAME_OS),Darwin) @@ -33,6 +37,7 @@ help: ## Describe useful make targets .PHONY: all all: ## Build, test, and lint (default) $(MAKE) test + $(MAKE) conformance $(MAKE) lint .PHONY: clean @@ -74,6 +79,10 @@ lintfix: $(GOLANGCI_LINT) ## Automatically fix some lint errors buf format -w go mod tidy +.PHONY: conformance +conformance: $(BIN)/protovalidate-conformance protovalidate-conformance-jsonschema ## Run conformance tests + JSONSCHEMA_DIR=./internal/gen/jsonschema $(BIN)/protovalidate-conformance $(BIN)/protovalidate-conformance-jsonschema --expected_failures=conformance/expected_failures.yaml + .PHONY: install install: ## Install all binaries go install ./... @@ -82,6 +91,7 @@ install: ## Install all binaries generate: $(BIN)/license-header $(BIN)/buf ## Regenerate code and licenses rm -rf internal/gen buf generate + buf generate buf.build/bufbuild/protovalidate-testing license-header \ --license-type apache \ --copyright-holder "Buf Technologies, Inc." \ @@ -121,3 +131,11 @@ $(GOLANGCI_LINT): $(BIN) Makefile $(BIN)/jv: $(BIN) Makefile go install github.com/santhosh-tekuri/jsonschema/cmd/jv@latest + +$(BIN)/protovalidate-conformance: $(BIN) Makefile + GOBIN=$(abspath $(BIN)) go install \ + github.com/bufbuild/protovalidate/tools/protovalidate-conformance@$(CONFORMANCE_VERSION) + +.PHONY: protovalidate-conformance-jsonschema +protovalidate-conformance-jsonschema: $(BIN) + GOBIN=$(abspath $(BIN)) go install ./internal/cmd/protovalidate-conformance-jsonschema diff --git a/buf.lock b/buf.lock index 6013ba01..81a2b42a 100644 --- a/buf.lock +++ b/buf.lock @@ -4,3 +4,6 @@ deps: - name: buf.build/bufbuild/protovalidate commit: 6c6e0d3c608e4549802254a2eee81bc8 digest: b5:a7ca081f38656fc0f5aaa685cc111d3342876723851b47ca6b80cbb810cbb2380f8c444115c495ada58fa1f85eff44e68dc54a445761c195acdb5e8d9af675b6 + - name: buf.build/bufbuild/protovalidate-testing + commit: ed3f62325d2e40d388f399c374c6a70d + digest: b5:7f4f59b65616668a0ca83903d67eb3e89323593d2074777e12e26a584c6ce33dcaf52cfa53ae29edbb52fbd07720881c60b31883ead46d00aee24a8ab17954c5 diff --git a/buf.yaml b/buf.yaml index 30fdb69c..a10f7111 100644 --- a/buf.yaml +++ b/buf.yaml @@ -3,6 +3,7 @@ modules: - path: internal/proto deps: - buf.build/bufbuild/protovalidate + - buf.build/bufbuild/protovalidate-testing#v0.14.2 lint: except: - FIELD_NOT_REQUIRED diff --git a/conformance/expected_failures.yaml b/conformance/expected_failures.yaml new file mode 100644 index 00000000..23b0a175 --- /dev/null +++ b/conformance/expected_failures.yaml @@ -0,0 +1,1586 @@ +custom_rules: +- field_expression/map/bool/valid +- field_expression/nested/scalar/invalid +- field_expression/map/enum/values/valid +- field_expression/repeated/enum/invalid +- field_expression/repeated/scalar/items/invalid +- message_expression/valid +- field_expression/scalar/invalid +- field_expression/map/string/invalid +- field_expression/map/message/invalid +- no_expressions/empty +- field_expression/map/uint64/valid +- field_expression/map/keys/valid +- field_expression/map/scalar/values/valid +- field_expression/enum/invalid +- field_expression/map/int64/invalid +- field_expression/map/uint32/invalid +- field_expression/map/bool/invalid +- field_expression/repeated/message/items/invalid +- message_expressions/empty +- field_expression/message/invalid +- field_expression/repeated/scalar/invalid +- field_expression/map/uint64/invalid +- field_expression/map/message/values/valid +- field_expression/map/int32/valid +- field_expression/map/uint32/valid +- field_expression/map/message/valid +- field_expression/repeated/message/invalid +- field_expression/map/int32/invalid +- field_expression/map/int64/valid +- field_expression/map/keys/invalid +- message_expression/invalid +- compilation/incorrect_type +- field_expression/map/enum/valid +- field_expression/map/enum/values/invalid +- runtime/dyn_incorrect_type +- field_expression/scalar/unpopulated/invalid +- field_expression/map/enum/invalid +- field_expression/map/message/values//invalid +- compilation/missing_field +- field_expression/multiple/scalar/invalid +- field_expression/map/scalar/values/invalid +- field_expression/repeated/enum/items/invalid +standard_rules/float: +- lte/invalid/nan +- gt/invalid/less +- lt/invalid/nan +- not_in/invalid +- gte_lte/exclusive/invalid/nan +- finite/nan +- finite/neginf +- gte_lte/inclusive/invalid/below +- const/invalid +- const/nan +- gt/invalid/equal +- gt/invalid/nan +- gte/invalid/less +- gte_lte/inclusive/invalid/above +- gte_lte/exclusive/invalid/within +- lte/invalid/greater +- in/nan +- finite/inf +- compilation/wrong_type +- gt_lt/inclusive/invalid/above +- gt_lt/inclusive/invalid/nan +- in/invalid +- gt_lt/exclusive/invalid/max +- gt_lt/exclusive/invalid/min +- gte_lte/inclusive/invalid/nan +- ignore_empty/invalid/above +- gt_lt/inclusive/invalid/below +- gt_lt/exclusive/invalid/within +- ignore_empty/valid/empty +- gte/invalid/nan +- gt_lt/exclusive/invalid/nan +- lt/invalid/equal +- gt_lt/inclusive/invalid/max +- gt_lt/inclusive/invalid/min +- lt/invalid/greater +standard_rules/sfixed64: +- lte/invalid +- gt_lt/above/invalid +- exclusive/gt_lt/below/valid +- gte_lte/above/invalid +- ignore_empty/gte_lte/valid +- const/valid +- const/invalid +- in/valid +- in/invalid +- not in/invalid +- lte/valid +- gt_lt/valid +- gt_lt/below/invalid +- none/valid +- exclusive/gt_lt/invalid +- exclusive/gt_lt/min/invalid +- gte_lte/max/valid +- gte_lte/below/invalid +- exclusive/gte_lte/above/valid +- exclusive/gte_lte/max/valid +- exclusive/gte_lte/min/valid +- lt/invalid +- exclusive/gt_lt/max/invalid +- gte_lte/min/valid +- example/valid +- gt/valid +- gte/equal/valid +- gt_lt/min/invalid +- not in/valid +- gt/equal/invalid +- gt_lt/max/invalid +- exclusive/gte_lte/invalid +- lt/equal/invalid +- gt/invalid +- gte/valid +- gte/invalid +- exclusive/gt_lt/above/valid +- exclusive/gte_lte/below/valid +- lte/equal/valid +- gte_lte/valid +- lt/valid +standard_rules/fixed64: +- none/valid +- lt/valid/less +- lt/invalid/equal +- lt/invalid/greater +- lte/valid/equal +- lte/invalid/greater +- example/valid +- in/invalid +- gt_lt/exclusive/valid/above +- gt_lt/exclusive/invalid/within +- gte_lte/inclusive/valid/max +- const/invalid +- gte/valid/greater +- gt_lt/inclusive/invalid/max +- gt_lt/exclusive/valid/below +- gte_lte/inclusive/invalid/above +- gte_lte/exclusive/valid/max +- compilation/wrong_type +- const/valid +- gt/invalid/equal +- gt/invalid/less +- gte/invalid/less +- gt_lt/inclusive/invalid/min +- gte_lte/exclusive/invalid/within +- ignore_empty/invalid/above +- gt/valid/greater +- gte_lte/exclusive/valid/min +- ignore_empty/valid/empty +- not_in/valid +- in/valid +- not_in/invalid +- lte/valid/less +- gt_lt/inclusive/valid/within +- gt_lt/inclusive/invalid/above +- gt_lt/inclusive/invalid/below +- gt_lt/exclusive/invalid/min +- gte_lte/inclusive/invalid/below +- gte/valid/equal +- gt_lt/exclusive/invalid/max +- gte_lte/inclusive/valid/within +- gte_lte/inclusive/valid/min +- gte_lte/exclusive/valid/above +- gte_lte/exclusive/valid/below +- ignore_empty/valid/within +standard_rules/int32: +- in/invalid +- gt_lt/inclusive/invalid/min +- gte_lte/inclusive/invalid/above +- ignore_empty/valid/empty +- lt/invalid/greater +- gt_lt/inclusive/invalid/max +- gt_lt/exclusive/invalid/within +- gte_lte/exclusive/invalid/within +- ignore_empty/invalid/above +- gt/invalid/less +- gt_lt/inclusive/invalid/below +- gt_lt/exclusive/invalid/max +- lt/invalid/equal +- gt/invalid/equal +- gt_lt/exclusive/invalid/min +- compilation/wrong_type +- const/invalid +- not_in/invalid +- lte/invalid/greater +- gte/invalid/less +- gte_lte/inclusive/invalid/below +- gt_lt/inclusive/invalid/above +predefined_rules: +- proto3/float/invalid +- proto3/int64/valid +- proto3/bool/invalid +- proto2/sint32/invalid +- proto3/sint64/valid +- proto3/predefined_and_custom/invalid +- proto/2023/uint32/invalid +- proto2/repeated/wrapped/bool/invalid +- proto3/string/invalid +- proto/2023/sfixed64/invalid +- proto/2023/wrapped/uint32/invalid +- proto2/wrapped/int32/invalid +- proto2/repeated/wrapped/uint64/invalid +- proto/2023/map/valid +- proto3/double/invalid +- proto3/wrapped/float/invalid +- proto/2023/sint64/valid +- proto2/int64/invalid +- proto2/duration/invalid +- proto3/wrapped/string/invalid +- proto/2023/wrapped/int64/invalid +- proto2/wrapped/string/invalid +- proto3/fixed64/valid +- proto3/repeated/wrapped/uint64/valid +- proto2/bytes/invalid +- proto2/predefined_and_custom/invalid +- proto/2023/wrapped/bool/invalid +- proto2/fixed64/invalid +- proto2/repeated/wrapped/string/invalid +- proto3/sint64/invalid +- proto3/sfixed64/invalid +- proto3/wrapped/double/invalid +- proto3/wrapped/int64/valid +- proto3/repeated/wrapped/bool/invalid +- proto2/bool/invalid +- proto3/uint32/invalid +- proto3/wrapped/uint64/invalid +- proto3/repeated/wrapped/int64/invalid +- proto/2023/repeated/wrapped/int64/valid +- proto2/sint64/invalid +- proto3/uint64/valid +- proto/2023/float/invalid +- proto/2023/fixed64/invalid +- proto/2023/repeated/wrapped/uint64/valid +- proto/2023/uint64/valid +- proto/2023/timestamp/invalid +- proto/2023/repeated/wrapped/uint64/invalid +- proto/2023/repeated/wrapped/string/invalid +- proto2/repeated/wrapped/int64/invalid +- proto3/wrapped/int32/invalid +- proto3/wrapped/uint32/invalid +- proto/2023/wrapped/uint64/invalid +- proto/2023/wrapped/bytes/invalid +- proto/2023/repeated/wrapped/double/invalid +- proto3/map/valid +- proto2/timestamp/invalid +- proto2/repeated/wrapped/int64/valid +- proto/2023/predefined_and_custom/invalid +- proto3/repeated/wrapped/bytes/invalid +- proto/2023/wrapped/float/invalid +- proto3/repeated/wrapped/string/invalid +- proto2/enum/invalid +- proto/2023/sfixed64/valid +- proto2/repeated/wrapped/bytes/invalid +- proto3/int32/invalid +- proto/2023/wrapped/double/invalid +- proto/2023/repeated/wrapped/int32/invalid +- proto/2023/standard_predefined_custom/predefined/invalid +- proto2/standard_predefined_custom/custom/invalid +- proto/2023/double/invalid +- proto2/fixed64/valid +- proto2/repeated/invalid +- proto3/wrapped/int64/invalid +- proto/2023/int64/valid +- proto/2023/standard_predefined_custom/standard/invalid +- proto2/wrapped/int64/valid +- proto2/wrapped/int64/invalid +- proto2/standard_predefined_custom/standard/invalid +- proto3/repeated/wrapped/float/invalid +- proto/2023/repeated/wrapped/int64/invalid +- proto3/map/invalid +- proto3/repeated/wrapped/uint64/invalid +- proto2/float/invalid +- proto3/repeated/invalid +- proto/2023/wrapped/int64/valid +- proto2/sfixed32/invalid +- proto2/sfixed64/valid +- proto2/sfixed64/invalid +- proto2/fixed32/invalid +- proto2/repeated/wrapped/float/invalid +- proto3/sint32/invalid +- proto3/fixed32/invalid +- proto3/wrapped/uint64/valid +- proto2/wrapped/uint32/invalid +- proto2/wrapped/uint64/valid +- proto3/enum/invalid +- proto2/string/invalid +- proto/2023/fixed32/invalid +- proto/2023/enum/invalid +- proto/2023/map/invalid +- proto3/timestamp/invalid +- proto/2023/uint64/invalid +- proto/2023/wrapped/uint64/valid +- proto2/wrapped/double/invalid +- proto2/wrapped/uint64/invalid +- proto/2023/duration/invalid +- proto/2023/wrapped/int32/invalid +- proto2/standard_predefined_custom/predefined/invalid +- proto2/double/invalid +- proto3/uint64/invalid +- proto3/repeated/wrapped/uint32/invalid +- proto/2023/sint32/invalid +- proto3/sfixed64/valid +- proto/2023/sfixed32/invalid +- proto3/repeated/wrapped/double/invalid +- proto3/standard_predefined_custom/standard/invalid +- proto3/bytes/invalid +- proto/2023/int32/invalid +- proto3/bool/valid +- proto/2023/fixed64/valid +- proto/2023/wrapped/string/invalid +- proto/2023/repeated/wrapped/bytes/invalid +- proto/2023/bytes/invalid +- proto2/uint64/invalid +- proto/2023/bool/invalid +- proto/2023/repeated/wrapped/bool/invalid +- proto2/uint32/invalid +- proto2/repeated/wrapped/uint32/invalid +- proto2/repeated/wrapped/uint64/valid +- proto3/fixed64/invalid +- proto3/repeated/wrapped/int64/valid +- proto/2023/repeated/wrapped/float/invalid +- proto3/repeated/wrapped/int32/invalid +- proto/2023/string/invalid +- proto/2023/standard_predefined_custom/custom/invalid +- proto2/int32/invalid +- proto2/repeated/valid +- proto3/int64/invalid +- proto3/duration/invalid +- proto3/wrapped/bytes/invalid +- proto3/repeated/valid +- proto/2023/sint64/invalid +- proto/2023/repeated/wrapped/uint32/invalid +- proto2/int64/valid +- proto2/sint64/valid +- proto2/wrapped/float/invalid +- proto2/repeated/wrapped/int32/invalid +- proto/2023/repeated/valid +- proto2/wrapped/bool/invalid +- proto2/wrapped/bytes/invalid +- proto/2023/repeated/invalid +- proto2/repeated/wrapped/double/invalid +- proto3/wrapped/bool/invalid +- proto3/standard_predefined_custom/custom/invalid +- proto3/standard_predefined_custom/predefined/invalid +- proto/2023/int64/invalid +- proto2/uint64/valid +- proto3/sfixed32/invalid +standard_rules/bool: +- const/false/valid +- const/false/invalid +- const/true/invalid +standard_rules/int64: +- not_in/invalid +- lt/invalid/equal +- gt/invalid/equal +- gt/invalid/less +- ignore_empty/valid/empty +- ignore_empty/valid/within +- ignore_empty/invalid/above +- const/invalid +- lt/valid/less +- gt_lt/exclusive/valid/below +- gt_lt/exclusive/invalid/within +- gte_lte/exclusive/invalid/within +- big_rules/valid +- example/valid +- gte/invalid/less +- gt_lt/inclusive/invalid/min +- gt_lt/exclusive/invalid/min +- not_in/valid +- gte/valid/greater +- gte/valid/equal +- gte_lte/inclusive/valid/min +- gte_lte/exclusive/valid/above +- gte_lte/exclusive/valid/min +- none/valid +- lt/invalid/greater +- gt/valid/greater +- gte_lte/inclusive/invalid/above +- const/valid +- lte/valid/less +- lte/invalid/greater +- gt_lt/inclusive/valid/within +- gt_lt/inclusive/invalid/below +- gte_lte/inclusive/valid/max +- gte_lte/exclusive/valid/below +- gte_lte/exclusive/valid/max +- in/invalid +- gte_lte/inclusive/invalid/below +- compilation/wrong_type +- lte/valid/equal +- gt_lt/inclusive/invalid/above +- gt_lt/inclusive/invalid/max +- gt_lt/exclusive/valid/above +- gt_lt/exclusive/invalid/max +- gte_lte/inclusive/valid/within +- in/valid +standard_rules/nested: +- wkt/uuid/field/invalid +standard_rules/string: +- tuuid/invalid/dashful/lowercase +- well_known_regex/header_name/strict/invalid/empty +- min_len/invalid/less +- min_bytes/invalid/less +- host_and_port/optional_port/invalid/malformed_ipv6 +- tuuid/invalid/erroneous +- ipv6_with_prefixlen/invalid/v4 +- uri_ref/invalid/not_checked/empty +- host_and_port/invalid/unbracketed_ipv6 +- ipv4_with_prefixlen/invalid/empty +- uuid/invalid/erroneous +- len_bytes/valid/emoji +- ipv6/invalid/not_checked/empty +- address/invalid/ipv6 +- uuid/invalid/not_checked/empty +- hostname/invalid/malformed +- ip_prefix/invalid/empty +- uri_ref/valid/urn +- well_known_regex/header_value/loose/invalid/nul +- well_known_regex/header_value/strict/invalid/lf +- max_bytes/invalid/greater +- contains/invalid +- ipv6_prefix/invalid/empty +- well_known_regex/header_name/strict/invalid/lf +- email/invalid/angled_brackets +- ipv6/invalid/malformed +- ipv4_prefix/invalid/malformed +- uri_ref/invalid/urn/no_scheme +- ipv4/invalid/not_checked/empty +- uri/invalid/url/absolute/encoding +- uri_ref/invalid/url +- tuuid/invalid/not_checked/empty +- ipv6_prefix/invalid/v4 +- email/invalid/bad_hostname +- hostname/invalid/trailing_hyphen +- ipv4_with_prefixlen/invalid/v6 +- uuid/invalid/empty +- well_known_regex/header_name/strict/invalid/solo_colon +- host_and_port/optional_port/invalid/malformed_hostname +- ipv4_with_prefixlen/invalid/malformed +- ipv4_prefix/invalid/v6 +- host_and_port/invalid/malformed_hostname +- not_in/invalid +- min_max_bytes/invalid/greater +- well_known_regex/header_name/strict/invalid/tab +- well_known_regex/header_value/strict/invalid/cr +- len_bytes/valid/multibyte +- pattern/escapes/invalid +- email/invalid/leading_white_space +- ipv4/invalid/empty +- ip_with_prefixlen/invalid/not_checked/empty +- ipv6_with_prefixlen/invalid/invalid +- host_and_port/invalid/whitespace +- ip/invalid +- prefix/invalid +- email/invalid/host_segment_long +- ipv4_prefix/invalid/not_network_address +- uri_ref/invalid/urn/encoding +- len/invalid +- tuuid/invalid/empty +- hostname/invalid/empty_part +- tuuid/invalid/malformed +- tuuid/invalid/dashful/uppercase +- host_and_port/invalid/malformed_ipv4 +- well_known_regex/header_name/strict/invalid/cr +- hostname/invalid/long +- address/invalid/hostname +- pattern/invalid +- email/invalid/malformed +- well_known_regex/header_value/strict/valid/empty +- min_max_len/invalid/greater +- email/invalid/empty +- hostname/invalid/underscore +- hostname/invalid/only_dot +- uri/invalid/url/relative/encoding +- min_max_len/invalid/less +- min_max_len/equal/invalid +- ipv6_prefix/invalid/malformed +- hostname/valid/trailing_dot +- hostname/invalid/leading_hyphen +- well_known_regex/header_name/strict/invalid/slash +- email/invalid/white_spaces +- ip_prefix/invalid/malformed +- host_and_port/valid/ipv6 +- in/invalid +- uuid/invalid/dashless/uppercase +- ip_with_prefixlen/invalid/empty +- address/invalid/not_checked/empty +- well_known_regex/header_name/strict/invalid/nul +- ipv6_prefix/invalid/not_network_address +- min_max_bytes/invalid/less +- min_max_bytes/equal/invalid +- ipv4/invalid/malformed +- ipv6_with_prefixlen/invalid/not_checked/empty +- host_and_port/invalid/malformed_ipv6 +- uri/invalid/urn/encoding +- not_contains/invalid +- email/invalid/trailing_white_space +- max_len/invalid/greater +- hostname/invalid/IDNs +- uri/invalid/urn/no_scheme +- ipv4/invalid/erroneous +- well_known_regex/header_value/strict/invalid/nul +- host_and_port/invalid/empty +- ipv4/invalid/v6 +- ip_prefix/invalid/not_checked/empty +- ip_with_prefixlen/invalid +- ipv4_prefix/invalid/empty +- well_known_regex/header_name/loose/invalid/lf +- email/invalid/not_checked/empty +- ipv6_with_prefixlen/invalid/malformed +- well_known_regex/header_value/strict/invalid/del +- well_known_regex/header_value/loose/invalid/lf +- ipv6/invalid/v4 +- uri/invalid/empty +- uuid/invalid/dashless/lowercase +- well_known_regex/header_name/loose/invalid/cr +- uri/invalid/not_checked/empty +- host_and_port/invalid/port_out_of_range +- len_bytes/valid/ascii +- len_bytes/invalid +- well_known_regex/header_value/loose/invalid/cr +- email/invalid/only_dot_hostname +- hostname/invalid/empty +- ipv6/invalid/empty +- address/invalid/empty +- ip/invalid/empty +- ipv6/invalid/erroneous +- ipv4_with_prefixlen/invalid/not_checked/empty +- uri/valid/urn +- uuid/invalid/malformed +- host_and_port/optional_port/invalid/malformed_ipv4 +- const/invalid +- ipv6_prefix/invalid/not_checked/empty +- uri/invalid/malformed +- suffix/invalid +- host_and_port/invalid/missing_port +- uri/invalid/url/relative +- well_known_regex/header_name/strict/invalid/trailing_colon +- well_known_regex/header_name/strict/invalid/space +- well_known_regex/header_name/loose/invalid/empty +- len/invalid/emoji/composite +- hostname/invalid/not_checked/empty +- ipv4_prefix/invalid/not_checked/empty +standard_rules/uint64: +- gte/valid/equal +- gt_lt/inclusive/valid/within +- gte_lte/inclusive/invalid/above +- compilation/wrong_type +- lt/invalid/greater +- gte/valid/greater +- gt_lt/exclusive/invalid/min +- example/valid +- lt/valid/less +- lte/valid/less +- gt_lt/exclusive/invalid/max +- gte_lte/inclusive/valid/within +- gte_lte/inclusive/valid/min +- gte_lte/exclusive/valid/above +- gte_lte/exclusive/valid/min +- lte/valid/equal +- lte/invalid/greater +- gt_lt/exclusive/valid/above +- gte_lte/inclusive/valid/max +- gte_lte/exclusive/valid/max +- gte_lte/exclusive/invalid/within +- ignore_empty/invalid/above +- const/invalid +- in/valid +- gte/invalid/less +- ignore_empty/valid/empty +- not_in/valid +- not_in/invalid +- gt/valid/greater +- gt/invalid/equal +- gt_lt/inclusive/invalid/min +- gt_lt/exclusive/invalid/within +- gte_lte/exclusive/valid/below +- gt_lt/inclusive/invalid/max +- gt_lt/exclusive/valid/below +- ignore_empty/valid/within +- none/valid +- const/valid +- gt_lt/inclusive/invalid/above +- gt_lt/inclusive/invalid/below +- gte_lte/inclusive/invalid/below +- in/invalid +- lt/invalid/equal +- gt/invalid/less +library/is_host_and_port: +- port_required/false/invalid/port_number_0x +- port_required/false/invalid/ipv4_missing_octet +- port_required/false/valid/ipv4_port_8080 +- port_required/false/valid/ipv6_embedded_ipv4 +- port_required/true/invalid/trailing_space +- port_required/true/invalid/port_double_zero +- port_required/true/invalid/port_leading_zero +- port_required/false/invalid/port_double_zero +- port_required/true/invalid/ipv4_missing_port +- port_required/false/invalid/ipv4_missing_port_number +- port_required/false/valid/ipv4 +- port_required/false/valid/ipv4_missing_port +- port_required/false/invalid/leading_space +- port_required/false/invalid/trailing_space +- port_required/true/invalid/empty_string +- port_required/false/invalid/port_leading_zero +- port_required/true/invalid/port_number_0x +- port_required/false/valid/port_65535 +- port_required/true/invalid/ipv4_missing_port_number +- port_required/false/valid/trailing_dot +- port_required/false/invalid/missing_port_number +- port_required/true/invalid/ipv4_port_65536 +- port_required/false/valid/ipv6_min +- port_required/false/invalid/ipv6_zone-id_too_short +- port_required/false/valid/ipv6_zone-id_any_non_null_character_2 +- port_required/true/invalid/ipv6_missing_port_number +- port_required/true/invalid/missing_port_number +- port_required/false/invalid/port_number_sign +- port_required/false/valid/ipv6 +- port_required/false/invalid/name_in_brackets +- port_required/false/invalid/port_65536 +- port_required/false/invalid/ipv4_empty_octet +- port_required/false/invalid/internationalized_domain_name +- port_required/true/invalid/port_65536 +- port_required/false/valid/ipv4_port_zero +- port_required/false/valid/ipv4_max +- port_required/false/valid/ipv6_with_zone-id +- port_required/false/valid/ipv6_max +- port_required/false/valid/ipv6_zone-id_any_non_null_character +- port_required/false/valid/example +- port_required/true/invalid/leading_space +- port_required/false/valid/ipv4_port_65535 +- port_required/false/invalid/empty_string +- port_required/true/invalid/port_number_sign +- port_required/false/valid/ipv4_min +- port_required/false/invalid/ipv4_octet_too_big +- port_required/true/invalid/missing_port +- port_required/false/invalid/ipv4_in_brackets +- port_required/true/invalid/ipv6_port_65536 +- port_required/true/invalid/ipv6_missing_port +standard_rules/bytes: +- contains/invalid +- in/invalid +- min/max_len/invalid/above +- suffix/invalid +- suffix/case_sensitive/invalid +- IPv6/invalid +- IPv6/valid/ignore_empty +- len/invalid/less +- min_len/invalid +- pattern/invalid/not_utf8 +- IPv4/invalid +- IPv6/invalid/v4 +- equal/min_len/max_len/invalid +- IP/invalid +- const/invalid +- len/invalid/greater +- prefix/invalid +- not_in/invalid +- pattern/invalid +- IPv4/invalid/v6 +- max_len/invalid +- pattern/invalid/empty +- min/max_len/invalid/below +library/is_ip_prefix: +- version/omitted/strict/omitted/invalid/ipv4_bad_prefix-length +- version/omitted/strict/true/invalid/ipv4_prefix_16/a +- version/omitted/strict/true/invalid/ipv6_dotted_decimal_prefix_96 +- version/omitted/strict/omitted/invalid/ipv6_bad_leading_zero_in_prefix-length +- version/omitted/strict/true/invalid/ipv4_prefix +- version/omitted/strict/omitted/invalid/ipv4_prefix_leading_space +- version/omitted/strict/true/invalid/ipv4_prefix_7/a +- version/omitted/strict/true/invalid/ipv6_prefix_8/a +- version/omitted/strict/omitted/invalid/empty_string +- version/omitted/strict/omitted/invalid/ipv4_missing_prefix-length +- version/omitted/strict/omitted/invalid/ipv6_prefix_leading_space +- version/omitted/strict/omitted/invalid/ipv6_prefix-length_129 +- version/omitted/strict/omitted/invalid/ipv6_bad_prefix-length +- version/omitted/strict/true/invalid/ipv4_prefix_1/c +- version/omitted/strict/true/invalid/ipv4_prefix_1/a +- version/omitted/strict/true/invalid/ipv4_prefix_16/b +- version/1/strict/omitted/invalid/empty_string +- version/omitted/strict/true/invalid/ipv4_prefix_25 +- version/omitted/strict/true/invalid/ipv6_prefix +- version/omitted/strict/true/invalid/ipv4_prefix_0/b +- version/7/strict/omitted/invalid/ipv6_prefix +- version/omitted/strict/omitted/invalid/ipv6_prefix_trailing_space +- version/omitted/strict/omitted/invalid/ipv4_missing_prefix +- version/omitted/strict/true/invalid/ipv4_prefix_24 +- version/omitted/strict/true/invalid/ipv4_prefix_2/a +- version/4/strict/omitted/invalid/empty_string +- version/omitted/strict/true/invalid/ipv4_prefix_0/a +- version/omitted/strict/true/invalid/ipv4_prefix_2/b +- version/omitted/strict/true/invalid/ipv6_prefix_0 +- version/5/strict/omitted/invalid/ipv6_prefix +- version/omitted/strict/true/invalid/ipv6_prefix_1 +- version/omitted/strict/true/invalid/ipv4_prefix_31 +- version/omitted/strict/omitted/invalid/ipv6_zone-id/b +- version/omitted/strict/true/invalid/ipv6_dotted_decimal_prefix_112 +- version/omitted/strict/true/invalid/ipv4_prefix_8/a +- version/omitted/strict/omitted/invalid/ipv4_prefix_trailing_space +- version/omitted/strict/true/invalid/ipv4_prefix_1/b +- version/omitted/strict/omitted/invalid/ipv6_zone-id/a +- version/6/strict/omitted/invalid/ipv4_prefix +- version/4/strict/omitted/invalid/ipv6_prefix +- version/omitted/strict/true/invalid/ipv6_dotted_decimal_double_colon +- version/omitted/strict/true/invalid/ipv4_prefix_0 +- version/omitted/strict/omitted/invalid/ipv4_bad_leading_zero_in_prefix-length +- version/6/strict/omitted/invalid/empty_string +- version/omitted/strict/omitted/invalid/ipv6_missing_prefix-length +- version/omitted/strict/true/invalid/ipv4_prefix_23/a +- version/omitted/strict/true/invalid/ipv6_prefix_64 +- version/omitted/strict/true/invalid/ipv6_prefix_112 +- version/omitted/strict/omitted/invalid/ipv4_prefix_33 +- version/omitted/strict/true/invalid/ipv6_prefix_127 +- version/omitted/strict/true/invalid/ipv4_prefix_23/b +- version/omitted/strict/omitted/invalid/ipv6_missing_prefix +library/is_ip: +- version/4/invalid/ipv4_prefix +- version/omitted/invalid/ipv4_leading_space +- version/omitted/invalid/ipv4_trailing_space +- version/5/invalid/ipv6 +- version/1/invalid/ipv6 +- version/6/invalid/ipv6/7h16_double_colon_1h16 +- version/omitted/invalid/ipv4/d +- version/4/invalid/ipv6 +- version/6/invalid/ipv4 +- version/6/invalid/ipv6_prefix +- version/omitted/invalid/ipv6_leading_space +- version/6/invalid/ipv6_literal +- version/omitted/invalid/ipv6/h +- version/4/invalid/ipv4_literal +- version/omitted/invalid/ipv6_trailing_space +- version/omitted/invalid/ipv4/e +- version/1/invalid/ipv4 +- version/omitted/invalid/ipv6_embedded_ipv4/b +- version/omitted/invalid/ipv6_embedded_ipv4/e +- version/omitted/invalid/ipv6/b +- version/omitted/invalid/ipv4/c +- version/omitted/invalid/ipv6_embedded_ipv4/d +- version/omitted/invalid/ipv6/i +- version/6/invalid/ipv6/double_colon_8h16 +- version/omitted/invalid/ipv6_embedded_ipv4/a +- version/omitted/invalid/ipv6/a +- version/omitted/invalid/ipv6/e +- version/omitted/invalid/ipv6/g +- version/omitted/invalid/empty_string +- version/omitted/invalid/ipv4/f +- version/6/invalid/ipv6_trailing_space +- version/5/invalid/ipv4 +- version/omitted/invalid/ipv4/a +- version/6/invalid/ipv6/1h16_double_colon_7h16 +- version/4/invalid/ipv4_trailing_space +- version/7/invalid/ipv4 +- version/1/invalid/empty_string +- version/4/invalid/empty_string +- version/omitted/invalid/ipv4/b +- version/6/invalid/ipv6/7h16_double_colon +- version/4/invalid/ipv4_leading_space +- version/7/invalid/ipv6 +- version/6/invalid/empty_string +- version/omitted/invalid/ipv6_embedded_ipv4/c +- version/omitted/invalid/ipv6/d +- version/6/invalid/ipv6_leading_space +- version/omitted/invalid/ipv6_zone-id +- version/omitted/invalid/ipv6/f +- version/omitted/invalid/ipv6/c +- version/omitted/invalid/ipv6/j +library/is_email: +- invalid/non_ascii +- invalid/leading_space +- invalid/label_starts_with_hyphen +- invalid/quoted-string/a +- invalid/trailing_newline +- invalid/empty_label +- invalid/label_64_characters +- invalid/quoted-string/c +- invalid/comment +- invalid/mailbox +- invalid/left_side_space +- invalid/right_side_empty +- invalid/label_ends_with_hyphen +- invalid/ip_literal +- invalid/leading_newline +- invalid/internationalized_domain_name +- invalid/empty_string +- invalid/trailing_space +- invalid/quoted-string/b +- invalid/space +- invalid/missing_at +- invalid/left_side_empty +- invalid/trailing_dot +library/is_uri: +- invalid/fragment_bad_hash +- invalid/relative-ref +- invalid/userinfo_bad_pct-encoded/b +- invalid/path-rootless_segment_bad_caret +- invalid/path-absolute_segment-nz-bad_pct-encoded +- invalid/fragment_bad_pct-encoded/b +- invalid/scheme/b +- invalid/host_ipfuture +- invalid/authority_path-abempty_segment_bad_pct-encoded +- invalid/space +- invalid/path-rootless_segment-nz_bad_control_character +- invalid/userinfo_reserved_square_bracket_open +- invalid/path-rootless_segment-nz_bad_pct-encoded +- invalid/path-absolute_segment-nz-bad_caret +- invalid/scheme/a +- invalid/host_ipv6/b +- invalid/path-absolute_segment_bad_pct-encoded +- invalid/query_bad_control_character +- invalid/query_bad_caret +- invalid/path-absolute_segment_bad_control_character +- invalid/fragment_bad_caret +- invalid/empty_string +- invalid/host/c +- invalid/port/c +- invalid/path-absolute_segment-nz-bad_control_character +- invalid/scheme/g +- invalid/userinfo_caret +- invalid/host/b +- invalid/scheme/d +- invalid/userinfo_reserved_at +- invalid/path-rootless_segment_bad_control_character +- invalid/leading_space +- invalid/scheme/c +- invalid/relative-ref_with_authority +- invalid/host_ipv6_zone-id_empty +- invalid/authority_path-abempty_segment_bad_caret +- invalid/host_ipv6_zone-id_bad_pct-encoded/b +- invalid/port/a +- invalid/authority_path-abempty_segment_bad_control_character +- invalid/fragment_bad_control_character +- invalid/userinfo_bad_pct-encoded/a +- invalid/host_ipv6/a +- invalid/fragment_bad_pct-encoded/a +- invalid/trailing_space +- invalid/scheme/e +- invalid/host_reg-name_bad_pct-encoded/b +- invalid/port/b +- invalid/scheme/f +- invalid/host_ipv6_zone-id_bad_pct-encoded/a +- invalid/path-rootless_segment-nz_bad_caret +- invalid/host_reg-name_bad_pct-encoded/a +- invalid/path-rootless_segment_bad_pct-encoded +- invalid/host/a +- invalid/host_ipv6_zone-id_unquoted +- invalid/path-absolute_segment_bad_caret +- invalid/userinfo_control_character +- invalid/host_reg-name_pct-encoded_invalid_utf8 +- invalid/host_ipv6_zone-id_pct-encoded_invalid_utf8 +- invalid/query_bad_pct-encoded +- invalid/userinfo_reserved_square_bracket_close +standard_rules/double: +- gt_lt/exclusive/invalid/max +- gt_lt/exclusive/invalid/nan +- gte_lte/inclusive/invalid/above +- const/invalid +- const/invalid_nan +- lte/invalid/greater +- gt_lt/exclusive/invalid/min +- lt/invalid/nan +- finite/inf +- compilation/wrong_type +- lt/invalid/equal +- gt_lt/exclusive/invalid/within +- gt/invalid/less +- gte_lte/exclusive/invalid/within +- finite/neginf +- gt/invalid/nan +- gt_lt/inclusive/invalid/below +- ignore_empty/valid/empty +- gte/invalid/nan +- lte/invalid/nan +- not_in/invalid +- finite/nan +- ignore_empty/invalid/above +- in/invalid_nan +- lt/invalid/greater +- gt_lt/inclusive/invalid/max +- gte_lte/inclusive/invalid/nan +- gt/invalid/equal +- gte_lte/inclusive/invalid/below +- gte_lte/exclusive/invalid/nan +- gte/invalid/less +- gt_lt/inclusive/invalid/above +- gt_lt/inclusive/invalid/min +- in/invalid +standard_rules/enum: +- alias/defined_only/invalid/unknown +- in/invalid +- external/defined_only/invalid +- alias/in/invalid +- defined_only/valid/unspecified +- not_in/valid/unspecified +- not_in/invalid +- alias/not_in/invalid +- const/invalid +- alias/const/invalid +- not_in/valid +- defined_only/invalid/unknown +- alias/defined_only/valid/unspecified +standard_rules/oneof: +- filed/Z/invalid +- required/invalid +- required/required_field/wrong_field +- field/X/invalid +- field/Y/invalid +- required/required_field/invalid +standard_rules/ignore: +- proto/2023/repeated/expanded/items/ignore_empty/valid/zero +- proto3/map/keys/ignore_empty/valid/populated +- proto2/map/ignore_empty/valid/populated +- proto/2023/scalar/required_with_default/ignore_empty/invalid/default +- proto/2023/repeated/expanded/items/ignore_always/valid/zero_invalid_value +- proto3/map/ignore_unspecified/valid/populated +- proto3/repeated/items/ignore_empty/invalid/populated +- proto/2023/message/legacy_required/delimited/ignore_empty/invalid/default +- proto/2023/repeated/expanded/ignore_unspecified/invalid/populated +- proto/2023/scalar/explicit_presence_with_default/ignore_unspecified/invalid/default +- proto/2023/message/explicit_presence/delimited/ignore_empty/invalid/default +- proto2/scalar/required_with_default/ignore_unspecified/invalid/zero +- proto3/map/ignore_always/valid/populated_valid_value +- proto/2023/scalar/legacy_required/ignore_unspecified/invalid/default +- proto/2023/map/ignore_unspecified/invalid/unpopulated +- proto2/scalar/required_with_default/ignore_unspecified/invalid/default +- proto3/message/optional/ignore_unspecified/invalid/populated +- proto/2023/oneof/ignore_unspecified/invalid/default +- proto2/message/optional/ignore_unspecified/invalid/populated +- proto3/map/keys/ignore_empty/valid/zero +- proto/2023/message/explicit_presence/length_prefixed/ignore_unspecified/invalid/default +- proto3/map/keys/ignore_unspecified/invalid/populated +- proto2/message/optional/ignore_empty/invalid/populated +- proto2/message/optional/ignore_empty/invalid/default +- proto2/oneof_with_default/ignore_unspecified/invalid/populated +- proto2/scalar/required_with_default/ignore_empty/invalid/populated +- proto/2023/scalar/explicit_presence_with_default/ignore_empty/invalid/populated +- proto/2023/scalar/implicit_presence/ignore_empty/valid/default +- proto/2023/oneof/ignore_empty/invalid/default +- proto/2023/map/values/ignore_always/valid/zero_invalid_value +- proto2/repeated/ignore_unspecified/invalid/unpopulated +- proto2/repeated/items/ignore_always/valid/populated_invalid_value +- proto2/map/values/ignore_empty/valid/zero +- proto3/message/ignore_empty/invalid/populated +- proto/2023/scalar/explicit_presence/ignore_empty/invalid/populated +- proto/2023/map/values/ignore_unspecified/invalid/zero +- proto2/scalar/required_with_default/ignore_empty/invalid/default +- proto2/message/required/ignore_empty/invalid/default +- proto2/repeated/ignore_unspecified/invalid/populated +- proto3/map/ignore_empty/valid/populated +- proto2/message/required/ignore_unspecified/invalid/populated +- proto2/map/values/ignore_empty/valid/populated +- proto/2023/scalar/implicit_presence/ignore_empty/invalid/populated +- proto2/map/values/ignore_unspecified/invalid/zero +- proto3/scalar/ignore_empty/valid/default +- proto3/message/optional/ignore_empty/invalid/default +- proto/2023/scalar/implicit_presence/ignore_unspecified/invalid/default +- proto2/map/values/ignore_empty/invalid/populated +- proto3/message/ignore_empty/invalid/default +- proto3/map/values/ignore_unspecified/invalid/populated +- proto/2023/message/explicit_presence/length_prefixed/ignore_empty/invalid/populated +- proto2/message/required/ignore_unspecified/invalid/default +- proto3/map/keys/ignore_unspecified/invalid/zero +- proto/2023/map/ignore_unspecified/invalid/populated +- proto/2023/repeated/expanded/items/ignore_empty/invalid/populated +- proto2/oneof/ignore_empty/invalid/default +- proto2/map/keys/ignore_always/valid/populated_valid_value +- proto3/scalar/ignore_empty/invalid/populated +- proto3/message/ignore_unspecified/invalid/default +- proto2/scalar/optional_with_default/ignore_unspecified/invalid/populated +- proto3/repeated/items/ignore_unspecified/invalid/populated +- proto3/repeated/items/ignore_always/valid/zero_invalid_value +- proto/2023/scalar/explicit_presence/ignore_unspecified/invalid/populated +- proto/2023/scalar/implicit_presence/ignore_always/valid/default_invalid_value +- proto/2023/repeated/compact/items/ignore_unspecified/invalid/populated +- proto/2023/map/keys/ignore_always/valid/populated_valid_value +- proto2/repeated/items/ignore_unspecified/invalid/zero +- proto3/scalar/optional/ignore_unspecified/invalid/default +- proto3/map/values/ignore_always/valid/populated_invalid_value +- proto2/scalar/optional/ignore_empty/invalid/populated +- proto/2023/scalar/required_with_default/ignore_unspecified/invalid/populated +- proto/2023/repeated/compact/ignore_unspecified/invalid/unpopulated +- proto3/map/ignore_unspecified/invalid/populated +- proto/2023/scalar/explicit_presence/ignore_empty/invalid/default +- proto/2023/scalar/legacy_required/ignore_unspecified/invalid/populated +- proto/2023/map/ignore_always/invalid/populated +- proto3/scalar/optional/ignore_unspecified/invalid/populated +- proto3/map/values/ignore_empty/valid/populated +- proto/2023/scalar/required_with_default/ignore_empty/invalid/populated +- proto2/oneof_with_default/ignore_unspecified/invalid/default +- proto2/map/ignore_unspecified/invalid/populated +- proto/2023/oneof_with_default/ignore_empty/invalid/default +- proto/2023/repeated/compact/items/ignore_empty/invalid/populated +- proto2/oneof/ignore_unspecified/invalid/populated +- proto2/oneof/ignore_empty/invalid/populated +- proto3/message/optional/ignore_unspecified/invalid/default +- proto3/repeated/items/ignore_always/valid/populated_invalid_value +- proto/2023/repeated/compact/items/ignore_empty/valid/zero +- proto/2023/repeated/compact/items/ignore_always/valid/zero_invalid_value +- proto2/scalar/optional/ignore_unspecified/invalid/default +- proto3/oneof/ignore_unspecified/invalid/default +- proto/2023/scalar/required_with_default/ignore_unspecified/invalid/zero +- proto3/scalar/ignore_unspecified/invalid/populated +- proto/2023/oneof/ignore_empty/invalid/populated +- proto2/repeated/items/ignore_always/valid/zero_invalid_value +- proto2/map/keys/ignore_unspecified/invalid/populated +- proto2/scalar/optional/ignore_unspecified/invalid/populated +- proto/2023/message/legacy_required/length_prefixed/ignore_unspecified/invalid/populated +- proto/2023/oneof/ignore_unspecified/invalid/populated +- proto/2023/oneof_with_default/ignore_empty/invalid/zero +- proto/2023/map/keys/ignore_empty/valid/populated +- proto/2023/map/values/ignore_unspecified/valid/populated +- proto2/oneof_with_default/ignore_empty/invalid/default +- proto2/map/keys/ignore_unspecified/valid/populated +- proto3/scalar/optional/ignore_empty/invalid/populated +- proto/2023/message/legacy_required/length_prefixed/ignore_empty/invalid/populated +- proto2/oneof/ignore_unspecified/invalid/default +- proto2/map/ignore_empty/invalid/populated +- proto3/map/keys/ignore_always/valid/populated_valid_value +- proto/2023/map/ignore_empty/valid/populated +- proto/2023/map/ignore_always/valid/populated +- proto/2023/repeated/compact/items/ignore_always/valid/populated_invalid_value +- proto2/scalar/optional_with_default/ignore_unspecified/invalid/zero +- proto2/message/required/ignore_empty/invalid/populated +- proto2/map/keys/ignore_always/valid/populated_invalid_value +- proto3/repeated/ignore_empty/invalid/populated +- proto3/map/ignore_unspecified/invalid/unpopulated +- proto/2023/scalar/explicit_presence_with_default/ignore_empty/invalid/default +- proto/2023/scalar/required_with_default/ignore_empty/invalid/zero +- proto2/scalar/optional_with_default/ignore_unspecified/invalid/default +- proto3/map/values/ignore_empty/invalid/populated +- proto/2023/repeated/expanded/items/ignore_always/valid/populated_invalid_value +- proto2/map/ignore_unspecified/valid/populated +- proto3/repeated/items/ignore_empty/valid/zero +- proto/2023/scalar/required_with_default/ignore_unspecified/invalid/default +- proto/2023/oneof_with_default/ignore_unspecified/invalid/populated +- proto2/oneof_with_default/ignore_empty/invalid/zero +- proto2/map/values/ignore_unspecified/invalid/populated +- proto/2023/repeated/expanded/items/ignore_unspecified/invalid/populated +- proto2/scalar/required_with_default/ignore_empty/invalid/zero +- proto2/map/keys/ignore_empty/valid/zero +- proto/2023/map/keys/ignore_unspecified/invalid/populated +- proto/2023/map/values/ignore_empty/invalid/populated +- proto3/repeated/items/ignore_unspecified/invalid/zero +- proto/2023/message/explicit_presence/delimited/ignore_unspecified/invalid/default +- proto2/scalar/required/ignore_unspecified/invalid/populated +- proto2/scalar/required_with_default/ignore_unspecified/invalid/populated +- proto2/map/keys/ignore_empty/invalid/populated +- proto3/oneof/ignore_empty/invalid/default +- proto3/message/ignore_unspecified/invalid/populated +- proto2/oneof_with_default/ignore_empty/invalid/populated +- proto3/repeated/ignore_unspecified/invalid/unpopulated +- proto3/map/values/ignore_unspecified/invalid/zero +- proto/2023/scalar/explicit_presence_with_default/ignore_unspecified/invalid/populated +- proto/2023/message/explicit_presence/delimited/ignore_unspecified/invalid/populated +- proto2/map/values/ignore_always/valid/populated_invalid_value +- proto3/oneof/ignore_empty/invalid/populated +- proto2/map/ignore_always/valid/populated_valid_value +- proto2/map/values/ignore_unspecified/valid/populated +- proto/2023/message/legacy_required/length_prefixed/ignore_unspecified/invalid/default +- proto3/oneof/ignore_unspecified/invalid/populated +- proto3/map/values/ignore_always/valid/populated_valid_value +- proto/2023/message/legacy_required/delimited/ignore_unspecified/invalid/default +- proto2/scalar/required/ignore_empty/invalid/populated +- proto2/message/optional/ignore_unspecified/invalid/default +- proto2/map/values/ignore_always/valid/zero_valid_value +- proto/2023/message/legacy_required/delimited/ignore_empty/invalid/populated +- proto/2023/scalar/legacy_required/ignore_empty/invalid/populated +- proto/2023/map/keys/ignore_empty/valid/zero +- proto2/map/ignore_always/valid/populated_invalid_value +- proto2/map/keys/ignore_always/valid/zero_invalid_value +- proto3/map/values/ignore_unspecified/valid/populated +- proto/2023/scalar/legacy_required/ignore_empty/invalid/default +- proto2/map/keys/ignore_unspecified/invalid/zero +- proto/2023/repeated/expanded/ignore_unspecified/invalid/unpopulated +- proto2/scalar/optional/ignore_empty/invalid/default +- proto3/scalar/optional/ignore_empty/invalid/default +- proto/2023/map/values/ignore_always/valid/populated_valid_value +- proto/2023/map/values/ignore_always/valid/populated_invalid_value +- proto/2023/repeated/compact/ignore_unspecified/invalid/populated +- proto/2023/map/ignore_empty/invalid/populated +- proto3/scalar/ignore_unspecified/invalid/default +- proto2/repeated/items/ignore_empty/invalid/populated +- proto/2023/scalar/explicit_presence/ignore_unspecified/invalid/default +- proto/2023/oneof_with_default/ignore_unspecified/invalid/zero +- proto/2023/map/keys/ignore_unspecified/invalid/zero +- proto2/map/keys/ignore_empty/valid/populated +- proto3/scalar/ignore_always/valid/default_invalid_value +- proto3/map/keys/ignore_unspecified/valid/populated +- proto/2023/message/legacy_required/delimited/ignore_unspecified/invalid/populated +- proto/2023/message/legacy_required/length_prefixed/ignore_empty/invalid/default +- proto/2023/map/keys/ignore_unspecified/valid/populated +- proto2/scalar/optional_with_default/ignore_empty/invalid/populated +- proto2/repeated/ignore_empty/invalid/populated +- proto3/map/keys/ignore_empty/invalid/populated +- proto/2023/scalar/implicit_presence/ignore_unspecified/invalid/populated +- proto/2023/message/explicit_presence/length_prefixed/ignore_unspecified/invalid/populated +- proto/2023/oneof_with_default/ignore_unspecified/invalid/default +- proto/2023/map/ignore_unspecified/valid/populated +- proto2/repeated/items/ignore_unspecified/invalid/populated +- proto3/map/values/ignore_always/valid/zero_invalid_value +- proto/2023/message/explicit_presence/length_prefixed/ignore_empty/invalid/default +- proto2/scalar/optional_with_default/ignore_empty/invalid/zero +- proto3/repeated/ignore_unspecified/invalid/populated +- proto3/map/keys/ignore_always/valid/zero_invalid_value +- proto/2023/repeated/compact/items/ignore_unspecified/invalid/zero +- proto/2023/repeated/expanded/items/ignore_unspecified/invalid/zero +- proto/2023/map/keys/ignore_always/valid/zero_invalid_value +- proto2/scalar/optional_with_default/ignore_empty/invalid/default +- proto3/map/ignore_empty/invalid/populated +- proto/2023/oneof_with_default/ignore_empty/invalid/populated +- proto/2023/repeated/expanded/ignore_empty/invalid/populated +- proto/2023/map/keys/ignore_always/valid/populated_invalid_value +- proto/2023/map/values/ignore_unspecified/invalid/populated +- proto/2023/map/values/ignore_empty/valid/populated +- proto2/scalar/required/ignore_unspecified/invalid/default +- proto2/repeated/items/ignore_empty/valid/zero +- proto3/map/keys/ignore_always/valid/populated_invalid_value +- proto/2023/message/explicit_presence/delimited/ignore_empty/invalid/populated +- proto2/map/ignore_unspecified/invalid/unpopulated +- proto3/message/optional/ignore_empty/invalid/populated +- proto/2023/scalar/explicit_presence_with_default/ignore_empty/invalid/zero +- proto3/map/values/ignore_empty/valid/zero +- proto/2023/map/values/ignore_empty/valid/zero +- proto2/scalar/required/ignore_empty/invalid/default +- proto2/oneof_with_default/ignore_unspecified/invalid/zero +- proto2/map/values/ignore_always/valid/populated_valid_value +- proto3/map/ignore_always/valid/populated_invalid_value +- proto/2023/map/keys/ignore_empty/invalid/populated +- proto/2023/scalar/explicit_presence_with_default/ignore_unspecified/invalid/zero +- proto/2023/repeated/compact/ignore_empty/invalid/populated +standard_rules/sint32: +- gte_lte/exclusive/invalid/within +- in/invalid +- lt/invalid/greater +- gt/invalid/equal +- gt/invalid/less +- gte_lte/inclusive/invalid/above +- gte_lte/inclusive/invalid/below +- ignore_empty/invalid/above +- compilation/wrong_type +- ignore_empty/valid/empty +- const/invalid +- gte/invalid/less +- gt_lt/inclusive/invalid/below +- gt_lt/inclusive/invalid/max +- gt_lt/inclusive/invalid/min +- gt_lt/exclusive/invalid/within +- not_in/invalid +- lt/invalid/equal +- gt_lt/exclusive/invalid/max +- gt_lt/exclusive/invalid/min +- lte/invalid/greater +- gt_lt/inclusive/invalid/above +standard_rules/sint64: +- in/invalid +- lt/invalid/equal +- lt/invalid/greater +- gte/valid/greater +- gte/invalid/less +- gte_lte/inclusive/valid/max +- gte_lte/exclusive/valid/min +- lte/invalid/greater +- gte_lte/inclusive/invalid/above +- ignore_empty/invalid/above +- example/valid +- gt/valid/greater +- gte/valid/equal +- gt_lt/inclusive/invalid/min +- gt_lt/exclusive/invalid/min +- none/valid +- in/valid +- not_in/valid +- lte/valid/less +- gt_lt/exclusive/invalid/within +- gte_lte/exclusive/invalid/within +- ignore_empty/valid/within +- const/valid +- const/invalid +- gt/invalid/less +- gt_lt/exclusive/valid/above +- gt_lt/exclusive/valid/below +- gte_lte/inclusive/invalid/below +- gt_lt/inclusive/invalid/max +- gt_lt/exclusive/invalid/max +- lt/valid/less +- lte/valid/equal +- gt/invalid/equal +- gt_lt/inclusive/valid/within +- gte_lte/inclusive/valid/within +- gte_lte/inclusive/valid/min +- gte_lte/exclusive/valid/above +- gte_lte/exclusive/valid/below +- not_in/invalid +- gt_lt/inclusive/invalid/above +- gt_lt/inclusive/invalid/below +- gte_lte/exclusive/valid/max +- ignore_empty/valid/empty +- compilation/wrong_type +standard_rules/well_known_types/wrapper: +- int64/valid +- float/invalid +- int32/invalid +- required/string/empty/invalid +- required/float/invalid +- double/invalid +- int64/invalid +- bool/invalid +- string/invalid +- bytes/invalid +- optional/string/uuid/invalid +- uint32/invalid +- required/string/invalid +- required/float/empty/invalid +- required/empty/string/invalid +- required/empty/string/empty/invalid +- uint64/valid +- uint64/invalid +standard_rules/well_known_types/duration: +- lt/invalid +- gt_lt/exclusive/invalid +- gt_lt/invalid/above +- gte_lte/invalid/above +- compilation/wrong_type/wrapper +- compilation/wrong_type/wkt +- gt/invalid/equal +- gt_lt/invalid/below +- gte_lte/exclusive/invalid +- lte/invalid +- gt_lt/exclusive/invalid/min +- required/invalid +- gte/invalid +- gt_lt/exclusive/invalid/max +- gte_lte/invalid/below +- fields_with_other_fields/invalid_other_field +- in/invalid +- gt/invalid +- gt_lt/invalid/min +- const/invalid +- not in/invalid +- gt_lt/invalid/max +- lt/invalid/equal +- compilation/wrong_type/scalar +- compilation/wrong_type/message +library/is_hostname: +- invalid/empty_string +- invalid/first_label_64_characters +- invalid/label_starts_with_hyphen +- invalid/interior_label_64_characters +- invalid/leading_space +- invalid/empty_interior_label +- invalid/last_label_64_characters +- invalid/fuzz1 +- invalid/empty_label_trailing_dot +- invalid/label_ends_with_hyphen +- invalid/internationalized_domain_name +- invalid/name_254_characters +- invalid/empty_label +- invalid/last_label_must_not_be_all_digits +- invalid/trailing_space +- invalid/underscore +- invalid/single_dot +kitchen_sink: +- field/embedded/invalid +- field/transitive/invalid +- many/all-non-message-fields/invalid +- field/valid +- field/invalid +standard_rules/fixed32: +- const/invalid +- gt/invalid/less +- gte/invalid/less +- gt_lt/inclusive/invalid/min +- lt/invalid/greater +- lte/invalid/greater +- gt_lt/exclusive/invalid/min +- gte_lte/inclusive/invalid/above +- ignore_empty/valid/empty +- compilation/wrong_type +- not_in/invalid +- gte_lte/exclusive/invalid/within +- gt_lt/inclusive/invalid/max +- gt_lt/exclusive/invalid/within +- gt/invalid/equal +- gt_lt/inclusive/invalid/above +- in/invalid +- gte_lte/inclusive/invalid/below +- ignore_empty/invalid/above +- lt/invalid/equal +- gt_lt/inclusive/invalid/below +- gt_lt/exclusive/invalid/max +standard_rules/map: +- exact/valid +- exact/below/invalid +- min_pairs/invalid +- min/max/above/invalid +- keys/pattern/invalid +- recursive/invalid +- recursive/valid +- none/valid +- min_pairs/valid +- max_pairs/valid +- values/invalid +- values/pattern/invalid +- exact/above/invalid +- max_pairs/equal/valid +- keys/valid +- multiple/valid +- keys/invalid +- min_pairs/equal/valid +- max_pairs/invalid +- min/max/below/invalid +standard_rules/uint32: +- compilation/wrong_type +- in/invalid +- gte_lte/inclusive/invalid/below +- lt/invalid/greater +- not_in/invalid +- gt/invalid/less +- gt_lt/inclusive/invalid/max +- gt_lt/inclusive/invalid/min +- ignore_empty/valid/empty +- gt/invalid/equal +- gt_lt/inclusive/invalid/below +- gt_lt/exclusive/invalid/within +- gte_lte/exclusive/invalid/within +- lte/invalid/greater +- lt/invalid/equal +- gt_lt/exclusive/invalid/max +- gt_lt/exclusive/invalid/min +- gte_lte/inclusive/invalid/above +- ignore_empty/invalid/above +- const/invalid +- gte/invalid/less +- gt_lt/inclusive/invalid/above +standard_rules/well_known_types/timestamp: +- gt_lt/invalid/above +- lt_now/within/invalid/lt +- gt/invalid/equal +- compilation/wrong_type/wkt +- lt/invalid +- exclusive/gt_lt/invalid +- gte_lte/invalid/below +- gt_lt/invalid/min +- gt_now/invalid +- within/invalid/below +- exclusive/gt_lt/invalid/max +- exclusive/gte_lte/invalid +- lt_now/within/invalid/within +- gte/invalid +- exclusive/gt_lt/invalid/min +- compilation/wrong_type/message +- lte/invalid +- within/invalid/above +- gt_now/within/invalid/gt +- const/invalid +- lt/invalid/equal +- gt_lt/invalid/below +- lt_now/invalid +- required/invalid +- gte_lte/invalid/above +- gt_now/within/invalid/within +- compilation/wrong_type/scalar +- gt/invalid +- gt_lt/invalid/max +- compilation/wrong_type/wrapper +library/is_uri_ref: +- invalid/space +- invalid/path-abempty_fragment_bad_control_character +- invalid/path-absolute_fragment_bad_control_character +- invalid/path-absolute_segment-nz_bad_caret +- invalid/path-empty_query_bad_control_character +- invalid/path-abempty_fragment_bad_pct-encoding +- invalid/path-abempty_query_bad_caret +- invalid/path-noscheme_fragment_bad_caret +- invalid/path-absolute_query_bad_caret +- invalid/path-noscheme_segment-nz_bad_control_character +- invalid/path-noscheme_segment_bad_pct-encoded +- invalid/path-noscheme_fragment_bad_pct-encoded +- invalid/bad_relative-part +- invalid/path-empty_fragment_bad_pct-encoded +- invalid/path-absolute_segment-nz_bad_pct-encoded +- valid/empty_string +- invalid/authority_path-abempty_segment_bad_control_character +- invalid/path-noscheme_segment_bad_caret +- invalid/path-empty_query_bad_pct-encoded +- invalid/path-abempty_fragment_bad_caret +- invalid/path-absolute_segment_bad_pct-encoded +- invalid/uri_with_bad_scheme +- invalid/path-absolute_segment-nz_bad_control_character +- invalid/path-absolute_segment_bad_control_character +- invalid/path-noscheme_segment-bad_control_character +- invalid/path-abempty_fragment_bad_fragment +- valid/path-empty +- invalid/leading_space +- invalid/path-absolute_fragment_bad_caret +- invalid/path-noscheme_segment-nz_bad_pct-encoded +- invalid/path-empty_fragment_bad_caret +- invalid/path-noscheme_query_bad_control_character +- invalid/path-empty_fragment_bad_control_character +- invalid/trailing_space +- invalid/path-abempty_segment_bad_pct-encoded +- invalid/path-abempty_query_bad_pct-encoded +- invalid/path-absolute_fragment_bad_pct-encoding +- invalid/path-absolute_query_bad_pct-encoded +- invalid/path-noscheme_query_bad_caret +- invalid/path-noscheme_segment-nz_bad_colon +- invalid/path-empty_query_bad_caret +- invalid/path-absolute_fragment_bad_fragment +- invalid/path-absolute_query_bad_control_character +- invalid/path-noscheme_bad_control_character +- invalid/path-empty_fragment_bad_fragment +- invalid/path-absolute_bad_control_character +- invalid/path-noscheme_fragment_bad_control_character +- invalid/path-absolute_segment_bad_caret +- invalid/path-noscheme_segment-nz_bad_caret +- invalid/path-abempty_query_bad_control_character +- invalid/path-noscheme_fragment_bad_fragment +- invalid/path-noscheme_query_bad_pct-encoded +standard_rules/message: +- required/invalid +- required/unset/valid +- oneof/single-field/required/invalid +- oneof/two-fields/valid +- field/invalid +- oneof/implicit-ignore/required/invalid +- oneof/duplicate-field/invalid +- skip/valid +- oneof/implicit-ignore/valid +- oneof/implicit-ignore/required/valid +- oneof/multiple-fields/required/two-fields-set/invalid +- oneof/multiple-shared-fields/required/valid +- required/oneof/invalid +- oneof/two-fields/invalid +- oneof/ignore-override/valid +- cross-package-embed-none/valid +- oneof/multiple-fields/required/valid +- oneof/multiple-fields/required/invalid +- cross-package-embed-none/empty/valid +- oneof/multiple-shared-fields/required/invalid +- oneof/zero-fields/invalid +- cross-package-embed-none/invalid +- oneof/unknown-field/invalid +- oneof/unsatisfiable/invalid +- field/transitive/invalid +standard_rules/repeated: +- duration/gte/invalid +- embed-none/valid +- unique/invalid +- items/invalid +- cross-package/embed-none/valid +- min/valid +- items/pattern/invalid +- max/invalid +- items/not_in/invalid +- items/embedded/enum/in/invalid +- embed-skip/valid +- min-and-items/len/len/invalid +- min/max/below/invalid +- items/enum/not_in/invalid +- items/any/not_in/invalid +- min-and-max-items/len/min_len/invalid +- min/element/invalid +- min/max/above/invalid +- cross-package/embed-none/invalid +- exact/above/invalid +- items/in/invalid +- min/invalid +- unique/multiple/invalid +- min-and-items/len/min/invalid +- min-and-max-items/len/max_len/invalid +- embed-skip/invalid/element/valid +- none/valid +- items/embedded/enum/not_in/invalid +- items/any/in/invalid +- embed-none/invalid +- min/equal/valid +- exact/below/invalid +- items/enum/in/invalid +standard_rules/required: +- proto/2023/scalar/explicit_presence_with_default/unset +- proto/2023/oneof/other_member +- proto/2023/message/explicit_presence/delimited/unset +- proto2/scalar/optional/unset +- proto/2023/map/empty +- proto3/scalar/optional/unset +- proto/2023/scalar/implicit_presence/zero +- proto3/scalar/zero/ignore_always +- proto3/message/unset +- proto3/map/empty +- proto2/oneof/other_member +- proto3/scalar/zero +- proto2/oneof/unset +- proto/2023/message/explicit_presence/length_prefixed/unset +- proto/2023/repeated/compact/empty +- proto2/repeated/empty +- proto3/repeated/empty +- proto2/map/empty +- proto3/oneof/other_member +- proto2/message/unset +- proto3/message/zero +- proto/2023/scalar/explicit_presence/unset +- proto2/scalar/optional_with_default/unset +- proto/2023/scalar/implicit_presence/zero/ignore_always +- proto/2023/repeated/expanded/empty +- proto/2023/oneof/unset +- proto3/oneof/unset +standard_rules/ignore_empty: +- proto/2023/scalar/explicit_presence_with_default/zero +- proto2/scalar/optional/zero +- proto2/repeated/noempty/invalid +- proto2/scalar/required/nonzero/invalid +- proto2/oneof/zero +- proto/2023/scalar/implicit_presence/nonzero/invalid +- proto2/scalar/optional_with_default/zero +- proto2/message/zero +- proto3/scalar/zero +- proto3/map/keys/nonzero/invalid +- proto/2023/repeated/compact/noempty/invalid +- proto2/scalar/optional_with_default/nonzero/invalid +- proto3/scalar/optional/zero +- proto3/repeated/items/zero +- proto3/map/values/zero +- proto/2023/scalar/legacy_required_with_default/nonzero/invalid +- proto/2023/message/explicit_presence/delimited/zero +- proto3/repeated/noempty/invalid +- proto3/map/keys/zero +- proto/2023/map/nonempty/invalid +- proto/2023/scalar/explicit_presence/zero +- proto/2023/scalar/explicit_presence_with_default/nonzero/invalid +- proto2/map/nonempty/invalid +- proto/2023/scalar/implicit_presence/zero +- proto3/oneof/zero +- proto3/repeated/items/nonzero/invalid +- proto2/map/nonempty/valid +- proto/2023/scalar/legacy_required/zero +- proto3/scalar/nonzero/invalid +- proto/2023/scalar/legacy_required/nonzero/invalid +- proto/2023/map/nonempty/valid +- proto2/scalar/required/zero +- proto3/map/nonempty/invalid +- proto3/map/values/nonzero/invalid +- proto/2023/scalar/explicit_presence/nonzero/invalid +- proto/2023/oneof/zero +- proto/2023/message/explicit_presence/length_prefixed/zero +- proto3/message/zero +- proto3/map/nonempty/valid +- proto/2023/scalar/legacy_required_with_default/zero +- proto/2023/repeated/expanded/noempty/invalid +- proto2/scalar/optional/nonzero/invalid +standard_rules/sfixed32: +- exclusive/gt_lt/max/invalid +- const/invalid +- in/invalid +- gt_lt/above/invalid +- ignore_empty/gte_lte/valid +- gt_lt/max/invalid +- gt_lt/min/invalid +- exclusive/gte_lte/invalid +- gt_lt/below/invalid +- exclusive/gt_lt/invalid +- exclusive/gt_lt/min/invalid +- lte/invalid +- gt/equal/invalid +- not in/invalid +- lt/equal/invalid +- gt/invalid +- gte/invalid +- gte_lte/below/invalid +- gte_lte/above/invalid +- lt/invalid +standard_rules/well_known_types/any: +- any/valid/unknown +- none/valid/unknown +- not_in/valid/unknown +- require/invalid +- compilation/wrong_type/wrapper +- any/valid/known +- in/invalid/unknown +- not_in/invalid/known +- required/valid/unknown +- compilation/wrong_type/scalar +- compilation/wrong_type/message +- compilation/wrong_type/wkt +- in/invalid/known diff --git a/go.mod b/go.mod index f3ce29d5..74627058 100644 --- a/go.mod +++ b/go.mod @@ -8,6 +8,7 @@ require ( github.com/bufbuild/buf v1.57.0 github.com/bufbuild/protoplugin v0.0.0-20250218205857-750e09ce93e1 github.com/jhump/protoreflect v1.17.0 + github.com/kaptinlin/jsonschema v0.4.12 github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 github.com/stretchr/testify v1.11.1 google.golang.org/protobuf v1.36.8 @@ -21,16 +22,22 @@ require ( github.com/antlr4-go/antlr/v4 v4.13.1 // indirect github.com/bufbuild/protocompile v0.14.1 // indirect github.com/davecgh/go-spew v1.1.1 // indirect + github.com/go-json-experiment/json v0.0.0-20250813233538-9b1f9ea2e11b // indirect + github.com/goccy/go-json v0.10.5 // indirect + github.com/goccy/go-yaml v1.18.0 // indirect github.com/golang/protobuf v1.5.4 // indirect github.com/google/cel-go v0.26.0 // indirect github.com/google/uuid v1.6.0 // indirect + github.com/gotnospirit/makeplural v0.0.0-20180622080156-a5f48d94d976 // indirect + github.com/gotnospirit/messageformat v0.0.0-20221001023931-dfe49f1eb092 // indirect + github.com/kaptinlin/go-i18n v0.1.4 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/stoewer/go-strcase v1.3.1 // indirect - golang.org/x/crypto v0.45.0 // indirect + golang.org/x/crypto v0.41.0 // indirect golang.org/x/exp v0.0.0-20250819193227-8b4c13bb791b // indirect - golang.org/x/sync v0.18.0 // indirect - golang.org/x/sys v0.38.0 // indirect - golang.org/x/text v0.31.0 // indirect + golang.org/x/sync v0.16.0 // indirect + golang.org/x/sys v0.35.0 // indirect + golang.org/x/text v0.28.0 // indirect google.golang.org/genproto/googleapis/api v0.0.0-20250826171959-ef028d996bc1 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20250826171959-ef028d996bc1 // indirect ) diff --git a/go.sum b/go.sum index b2e1a450..cc35fe95 100644 --- a/go.sum +++ b/go.sum @@ -31,6 +31,12 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dlclark/regexp2 v1.11.0 h1:G/nrcoOa7ZXlpoa/91N3X7mM3r8eIlMBBJZvsz/mxKI= github.com/dlclark/regexp2 v1.11.0/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8= +github.com/go-json-experiment/json v0.0.0-20250813233538-9b1f9ea2e11b h1:6Q4zRHXS/YLOl9Ng1b1OOOBWMidAQZR3Gel0UKPC/KU= +github.com/go-json-experiment/json v0.0.0-20250813233538-9b1f9ea2e11b/go.mod h1:TiCD2a1pcmjd7YnhGH0f/zKNcCD06B029pHhzV23c2M= +github.com/goccy/go-json v0.10.5 h1:Fq85nIqj+gXn/S5ahsiTlK3TmC85qgirsdTP/+DeaC4= +github.com/goccy/go-json v0.10.5/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M= +github.com/goccy/go-yaml v1.18.0 h1:8W7wMFS12Pcas7KU+VVkaiCng+kG8QiFeFwzFb+rwuw= +github.com/goccy/go-yaml v1.18.0/go.mod h1:XBurs7gK8ATbW4ZPGKgcbrY1Br56PdM69F7LkFRi1kA= github.com/gofrs/flock v0.12.1 h1:MTLVXXHf8ekldpJk3AKicLij9MdwOWkZ+a/jHHZby9E= github.com/gofrs/flock v0.12.1/go.mod h1:9zxTsyu5xtJ9DK+1tFZyibEV7y3uwDxPPfbxeeHCoD0= github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= @@ -41,8 +47,16 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/gotnospirit/makeplural v0.0.0-20180622080156-a5f48d94d976 h1:b70jEaX2iaJSPZULSUxKtm73LBfsCrMsIlYCUgNGSIs= +github.com/gotnospirit/makeplural v0.0.0-20180622080156-a5f48d94d976/go.mod h1:ZGQeOwybjD8lkCjIyJfqR5LD2wMVHJ31d6GdPxoTsWY= +github.com/gotnospirit/messageformat v0.0.0-20221001023931-dfe49f1eb092 h1:c7gcNWTSr1gtLp6PyYi3wzvFCEcHJ4YRobDgqmIgf7Q= +github.com/gotnospirit/messageformat v0.0.0-20221001023931-dfe49f1eb092/go.mod h1:ZZAN4fkkful3l1lpJwF8JbW41ZiG9TwJ2ZlqzQovBNU= github.com/jhump/protoreflect v1.17.0 h1:qOEr613fac2lOuTgWN4tPAtLL7fUSbuJL5X5XumQh94= github.com/jhump/protoreflect v1.17.0/go.mod h1:h9+vUUL38jiBzck8ck+6G/aeMX8Z4QUY/NiJPwPNi+8= +github.com/kaptinlin/go-i18n v0.1.4 h1:wCiwAn1LOcvymvWIVAM4m5dUAMiHunTdEubLDk4hTGs= +github.com/kaptinlin/go-i18n v0.1.4/go.mod h1:g1fn1GvTgT4CiLE8/fFE1hboHWJ6erivrDpiDtCcFKg= +github.com/kaptinlin/jsonschema v0.4.12 h1:10cy+j2b69jyOX+F+u9suLK2dw0k63UqzUNctpxiV3A= +github.com/kaptinlin/jsonschema v0.4.12/go.mod h1:zG+WOWvAxUaPUnh83QrV/a/fsfloI6L6d/YM4mtZCHw= github.com/klauspost/compress v1.18.0 h1:c/Cqfb0r+Yi+JtIEq73FWXVkRonBlf0CRNYc8Zttxdo= github.com/klauspost/compress v1.18.0/go.mod h1:2Pp+KzxcywXVXMr50+X0Q/Lsb43OQHYWRCY2AiWywWQ= github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= @@ -53,6 +67,8 @@ github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHP github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8= github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/pelletier/go-toml/v2 v2.2.4 h1:mye9XuhQ6gvn5h28+VilKrrPoQVanw5PMw/TB0t5Ec4= +github.com/pelletier/go-toml/v2 v2.2.4/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 h1:KRzFb2m7YtdldCEkzs6KqmJw4nqEVZGK7IN2kJkjTuQ= @@ -69,20 +85,20 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= -golang.org/x/crypto v0.45.0 h1:jMBrvKuj23MTlT0bQEOBcAE0mjg8mK9RXFhRH6nyF3Q= -golang.org/x/crypto v0.45.0/go.mod h1:XTGrrkGJve7CYK7J8PEww4aY7gM3qMCElcJQ8n8JdX4= +golang.org/x/crypto v0.41.0 h1:WKYxWedPGCTVVl5+WHSSrOBT0O8lx32+zxmHxijgXp4= +golang.org/x/crypto v0.41.0/go.mod h1:pO5AFd7FA68rFak7rOAGVuygIISepHftHnr8dr6+sUc= golang.org/x/exp v0.0.0-20250819193227-8b4c13bb791b h1:DXr+pvt3nC887026GRP39Ej11UATqWDmWuS99x26cD0= golang.org/x/exp v0.0.0-20250819193227-8b4c13bb791b/go.mod h1:4QTo5u+SEIbbKW1RacMZq1YEfOBqeXa19JeshGi+zc4= -golang.org/x/mod v0.29.0 h1:HV8lRxZC4l2cr3Zq1LvtOsi/ThTgWnUk/y64QSs8GwA= -golang.org/x/mod v0.29.0/go.mod h1:NyhrlYXJ2H4eJiRy/WDBO6HMqZQ6q9nk4JzS3NuCK+w= -golang.org/x/net v0.47.0 h1:Mx+4dIFzqraBXUugkia1OOvlD6LemFo1ALMHjrXDOhY= -golang.org/x/net v0.47.0/go.mod h1:/jNxtkgq5yWUGYkaZGqo27cfGZ1c5Nen03aYrrKpVRU= -golang.org/x/sync v0.18.0 h1:kr88TuHDroi+UVf+0hZnirlk8o8T+4MrK6mr60WkH/I= -golang.org/x/sync v0.18.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI= -golang.org/x/sys v0.38.0 h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc= -golang.org/x/sys v0.38.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= -golang.org/x/text v0.31.0 h1:aC8ghyu4JhP8VojJ2lEHBnochRno1sgL6nEi9WGFGMM= -golang.org/x/text v0.31.0/go.mod h1:tKRAlv61yKIjGGHX/4tP1LTbc13YSec1pxVEWXzfoeM= +golang.org/x/mod v0.27.0 h1:kb+q2PyFnEADO2IEF935ehFUXlWiNjJWtRNgBLSfbxQ= +golang.org/x/mod v0.27.0/go.mod h1:rWI627Fq0DEoudcK+MBkNkCe0EetEaDSwJJkCcjpazc= +golang.org/x/net v0.43.0 h1:lat02VYK2j4aLzMzecihNvTlJNQUq316m2Mr9rnM6YE= +golang.org/x/net v0.43.0/go.mod h1:vhO1fvI4dGsIjh73sWfUVjj3N7CA9WkKJNQm2svM6Jg= +golang.org/x/sync v0.16.0 h1:ycBJEhp9p4vXvUZNszeOq0kGTPghopOL8q0fq3vstxw= +golang.org/x/sync v0.16.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA= +golang.org/x/sys v0.35.0 h1:vz1N37gP5bs89s7He8XuIYXpyY0+QlsKmzipCbUtyxI= +golang.org/x/sys v0.35.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= +golang.org/x/text v0.28.0 h1:rhazDwis8INMIwQ4tpjLDzUhx6RlXqZNPEM0huQojng= +golang.org/x/text v0.28.0/go.mod h1:U8nCwOR8jO/marOQ0QbDiOngZVEBB7MAiitBuMjXiNU= google.golang.org/genproto/googleapis/api v0.0.0-20250826171959-ef028d996bc1 h1:APHvLLYBhtZvsbnpkfknDZ7NyH4z5+ub/I0u8L3Oz6g= google.golang.org/genproto/googleapis/api v0.0.0-20250826171959-ef028d996bc1/go.mod h1:xUjFWUnWDpZ/C0Gu0qloASKFb6f8/QXiiXhSPFsD668= google.golang.org/genproto/googleapis/rpc v0.0.0-20250826171959-ef028d996bc1 h1:pmJpJEvT846VzausCQ5d7KreSROcDqmO388w5YbnltA= diff --git a/internal/cmd/protovalidate-conformance-jsonschema/README.md b/internal/cmd/protovalidate-conformance-jsonschema/README.md new file mode 100644 index 00000000..cb9cff49 --- /dev/null +++ b/internal/cmd/protovalidate-conformance-jsonschema/README.md @@ -0,0 +1,13 @@ +[![The Buf logo](../../../.github/buf-logo.svg)][buf] + +# Go conformance executor + +This binary is the [conformance testing executor](https://github.com/bufbuild/protovalidate/tree/main/tools/protovalidate-conformance) for generated JSON Schemas, the Go conformance tests can be executed with make: + +```shell +make conformance # runs all conformance tests + +make conformance ARGS='-suite uint64' # pass flags to the conformance harness +``` + +[buf]: https://buf.build diff --git a/internal/cmd/protovalidate-conformance-jsonschema/main.go b/internal/cmd/protovalidate-conformance-jsonschema/main.go new file mode 100644 index 00000000..b937829d --- /dev/null +++ b/internal/cmd/protovalidate-conformance-jsonschema/main.go @@ -0,0 +1,170 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +package main + +import ( + "fmt" + "io" + "os" + "strings" + + validate "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + "github.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/harness" + "github.com/kaptinlin/jsonschema" + "google.golang.org/protobuf/encoding/protojson" + "google.golang.org/protobuf/proto" + "google.golang.org/protobuf/reflect/protodesc" + "google.golang.org/protobuf/reflect/protoreflect" + "google.golang.org/protobuf/reflect/protoregistry" + "google.golang.org/protobuf/types/dynamicpb" + "google.golang.org/protobuf/types/known/anypb" +) + +type Config struct { + SchemaDir string +} + +func main() { + config := Config{ + SchemaDir: os.Getenv("JSONSCHEMA_DIR"), + } + + if err := run(config); err != nil { + if errString := err.Error(); errString != "" { + _, _ = fmt.Fprintln(os.Stderr, errString) + } + os.Exit(1) + } +} + +func run(config Config) error { + req := &harness.TestConformanceRequest{} + if data, err := io.ReadAll(os.Stdin); err != nil { + return err + } else if err = proto.Unmarshal(data, req); err != nil { + return err + } + + resp, err := TestConformance(req, config) + if err != nil { + return err + } + + data, err := proto.Marshal(resp) + if err != nil { + return err + } + + _, err = os.Stdout.Write(data) + return err +} + +func TestConformance(req *harness.TestConformanceRequest, config Config) (*harness.TestConformanceResponse, error) { + files, err := protodesc.NewFiles(req.GetFdset()) + if err != nil { + err = fmt.Errorf("failed to parse file descriptors: %w", err) + return nil, err + } + registry := &protoregistry.Types{} + files.RangeFiles(func(file protoreflect.FileDescriptor) bool { + for i := range file.Extensions().Len() { + if err = registry.RegisterExtension( + dynamicpb.NewExtensionType(file.Extensions().Get(i)), + ); err != nil { + return false + } + } + return err == nil + }) + if err != nil { + return nil, err + } + compiler := jsonschema.NewCompiler() + if err != nil { + err = fmt.Errorf("failed to initialize validator: %w", err) + return nil, err + } + resp := &harness.TestConformanceResponse{Results: map[string]*harness.TestResult{}} + for caseName, testCase := range req.GetCases() { + resp.Results[caseName] = TestCase(compiler, files, testCase, config) + } + return resp, nil +} + +func TestCase(compiler *jsonschema.Compiler, files *protoregistry.Files, testCase *anypb.Any, config Config) *harness.TestResult { + urlParts := strings.Split(testCase.GetTypeUrl(), "/") + fullName := protoreflect.FullName(urlParts[len(urlParts)-1]) + desc, err := files.FindDescriptorByName(fullName) + if err != nil { + return unexpectedErrorResult("unable to find descriptor: %v", err) + } + msgDesc, ok := desc.(protoreflect.MessageDescriptor) + if !ok { + return unexpectedErrorResult("expected message descriptor, got %T", desc) + } + + dyn := dynamicpb.NewMessage(msgDesc) + if err = anypb.UnmarshalTo(testCase, dyn, proto.UnmarshalOptions{}); err != nil { + return unexpectedErrorResult("unable to unmarshal test case: %v", err) + } + + schema, err := os.ReadFile(config.SchemaDir + "/" + string(fullName) + ".jsonschema.strict.bundle.json") + if err != nil { + return unexpectedErrorResult("failed to load JSON Schema: %v", err) + } + + json, err := protojson.Marshal(dyn) + if err != nil { + return unexpectedErrorResult("failed to marshal test case to JSON: %v", err) + } + + val, err := compiler.Compile(schema) + if err != nil { + return unexpectedErrorResult("failed to compile JSON Schema: %v", err) + } + + result := val.Validate(json) + if result.IsValid() { + return &harness.TestResult{ + Result: &harness.TestResult_Success{ + Success: true, + }, + } + } + + violations := []*validate.Violation{} + for _, err := range result.Errors { + violations = append( + violations, + &validate.Violation{Message: &err.Message}, + ) + } + + return &harness.TestResult{ + Result: &harness.TestResult_ValidationError{ + ValidationError: &validate.Violations{ + Violations: violations, + }, + }, + } +} + +func unexpectedErrorResult(format string, args ...any) *harness.TestResult { + return &harness.TestResult{ + Result: &harness.TestResult_UnexpectedError{ + UnexpectedError: fmt.Sprintf(format, args...), + }, + } +} diff --git a/internal/gen/jsonschema/buf.validate.FieldPath.schema.json b/internal/gen/jsonschema/buf.validate.FieldPath.schema.json new file mode 100644 index 00000000..05d0f189 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.FieldPath.schema.json @@ -0,0 +1,17 @@ +{ + "$id": "buf.validate.FieldPath.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "This message provides enough information to render a dotted field path even without protobuf descriptors.\n It also provides enough information to resolve a nested field through unknown wire data.", + "properties": { + "elements": { + "description": "`elements` contains each element of the path, starting from the root and recursing downward.", + "items": { + "$ref": "buf.validate.FieldPathElement.schema.json" + }, + "type": "array" + } + }, + "title": "`FieldPath` provides a path to a nested protobuf field.", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.FieldPathElement.schema.json b/internal/gen/jsonschema/buf.validate.FieldPathElement.schema.json new file mode 100644 index 00000000..14151775 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.FieldPathElement.schema.json @@ -0,0 +1,331 @@ +{ + "$id": "buf.validate.FieldPathElement.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "If the selected field is a map or repeated field, the `subscript` value selects a specific element from it.\n A path that refers to a value nested under a map key or repeated field index will have a `subscript` value.\n The `field_type` field allows unambiguous resolution of a field even if descriptors are not available.", + "patternProperties": { + "^(boolKey)$": { + "description": "`bool_key` specifies a map key of type bool.", + "type": "boolean" + }, + "^(fieldName)$": { + "description": "`field_name` contains the field name this path element refers to.\n This can be used to display a human-readable path even if the field number is unknown.", + "type": "string" + }, + "^(fieldNumber)$": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "description": "`field_number` is the field number this path element refers to." + }, + "^(fieldType)$": { + "anyOf": [ + { + "enum": [ + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "description": "This value is provided to make it possible to traverse unknown fields through wire data.\n When traversing wire data, be mindful of both packed[1] and delimited[2] encoding schemes.\n\n [1]: https://protobuf.dev/programming-guides/encoding/#packed\n [2]: https://protobuf.dev/programming-guides/encoding/#groups\n\n N.B.: Although groups are deprecated, the corresponding delimited encoding scheme is not, and\n can be explicitly used in Protocol Buffers 2023 Edition.", + "title": "Type" + }, + "^(intKey)$": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "description": "`int_key` specifies a map key of type int32, int64, sint32, sint64, sfixed32 or sfixed64." + }, + "^(keyType)$": { + "anyOf": [ + { + "enum": [ + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "description": "`key_type` specifies the map key type of this field. This value is useful when traversing\n unknown fields through wire data: specifically, it allows handling the differences between\n different integer encodings.", + "title": "Type" + }, + "^(stringKey)$": { + "description": "`string_key` specifies a map key of type string.", + "type": "string" + }, + "^(uintKey)$": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "description": "`uint_key` specifies a map key of type uint32, uint64, fixed32 or fixed64." + }, + "^(valueType)$": { + "anyOf": [ + { + "enum": [ + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "description": "`value_type` specifies map value type of this field. This is useful if you want to display a\n value inside unknown fields through wire data.", + "title": "Type" + } + }, + "properties": { + "bool_key": { + "description": "`bool_key` specifies a map key of type bool.", + "type": "boolean" + }, + "field_name": { + "description": "`field_name` contains the field name this path element refers to.\n This can be used to display a human-readable path even if the field number is unknown.", + "type": "string" + }, + "field_number": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "description": "`field_number` is the field number this path element refers to." + }, + "field_type": { + "anyOf": [ + { + "enum": [ + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "description": "This value is provided to make it possible to traverse unknown fields through wire data.\n When traversing wire data, be mindful of both packed[1] and delimited[2] encoding schemes.\n\n [1]: https://protobuf.dev/programming-guides/encoding/#packed\n [2]: https://protobuf.dev/programming-guides/encoding/#groups\n\n N.B.: Although groups are deprecated, the corresponding delimited encoding scheme is not, and\n can be explicitly used in Protocol Buffers 2023 Edition.", + "title": "Type" + }, + "index": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "description": "`index` specifies a 0-based index into a repeated field." + }, + "int_key": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "description": "`int_key` specifies a map key of type int32, int64, sint32, sint64, sfixed32 or sfixed64." + }, + "key_type": { + "anyOf": [ + { + "enum": [ + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "description": "`key_type` specifies the map key type of this field. This value is useful when traversing\n unknown fields through wire data: specifically, it allows handling the differences between\n different integer encodings.", + "title": "Type" + }, + "string_key": { + "description": "`string_key` specifies a map key of type string.", + "type": "string" + }, + "uint_key": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "description": "`uint_key` specifies a map key of type uint32, uint64, fixed32 or fixed64." + }, + "value_type": { + "anyOf": [ + { + "enum": [ + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "description": "`value_type` specifies map value type of this field. This is useful if you want to display a\n value inside unknown fields through wire data.", + "title": "Type" + } + }, + "title": "`FieldPathElement` provides enough information to nest through a single protobuf field.", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.Violation.schema.json b/internal/gen/jsonschema/buf.validate.Violation.schema.json new file mode 100644 index 00000000..dff6d4aa --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.Violation.schema.json @@ -0,0 +1,42 @@ +{ + "$id": "buf.validate.Violation.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "For example, consider the following message:\n\n ```proto\n message User {\n int32 age = 1 [(buf.validate.field).cel = {\n id: \"user.age\",\n expression: \"this \u003c 18 ? 'User must be at least 18 years old' : ''\",\n }];\n }\n ```\n\n It could produce the following violation:\n\n ```json\n {\n \"ruleId\": \"user.age\",\n \"message\": \"User must be at least 18 years old\",\n \"field\": {\n \"elements\": [\n {\n \"fieldNumber\": 1,\n \"fieldName\": \"age\",\n \"fieldType\": \"TYPE_INT32\"\n }\n ]\n },\n \"rule\": {\n \"elements\": [\n {\n \"fieldNumber\": 23,\n \"fieldName\": \"cel\",\n \"fieldType\": \"TYPE_MESSAGE\",\n \"index\": \"0\"\n }\n ]\n }\n }\n ```", + "patternProperties": { + "^(forKey)$": { + "description": "`for_key` indicates whether the violation was caused by a map key, rather than a value.", + "type": "boolean" + }, + "^(ruleId)$": { + "description": "`rule_id` is the unique identifier of the `Rule` that was not fulfilled.\n This is the same `id` that was specified in the `Rule` message, allowing easy tracing of which rule was violated.", + "type": "string" + } + }, + "properties": { + "field": { + "$ref": "buf.validate.FieldPath.schema.json", + "description": "For example, consider the following message:\n\n ```proto\n message Message {\n bool a = 1 [(buf.validate.field).required = true];\n }\n ```\n\n It could produce the following violation:\n\n ```textproto\n violation {\n field { element { field_number: 1, field_name: \"a\", field_type: 8 } }\n ...\n }\n ```", + "title": "`field` is a machine-readable path to the field that failed validation.\n This could be a nested field, in which case the path will include all the parent fields leading to the actual field that caused the violation." + }, + "for_key": { + "description": "`for_key` indicates whether the violation was caused by a map key, rather than a value.", + "type": "boolean" + }, + "message": { + "description": "`message` is a human-readable error message that describes the nature of the violation.\n This can be the default error message from the violated `Rule`, or it can be a custom message that gives more context about the violation.", + "type": "string" + }, + "rule": { + "$ref": "buf.validate.FieldPath.schema.json", + "description": "For example, consider the following message:\n\n ```proto\n message Message {\n bool a = 1 [(buf.validate.field).required = true];\n bool b = 2 [(buf.validate.field).cel = {\n id: \"custom_rule\",\n expression: \"!this ? 'b must be true': ''\"\n }]\n }\n ```\n\n It could produce the following violations:\n\n ```textproto\n violation {\n rule { element { field_number: 25, field_name: \"required\", field_type: 8 } }\n ...\n }\n violation {\n rule { element { field_number: 23, field_name: \"cel\", field_type: 11, index: 0 } }\n ...\n }\n ```", + "title": "`rule` is a machine-readable path that points to the specific rule that failed validation.\n This will be a nested field starting from the FieldRules of the field that failed validation.\n For custom rules, this will provide the path of the rule, e.g. `cel[0]`." + }, + "rule_id": { + "description": "`rule_id` is the unique identifier of the `Rule` that was not fulfilled.\n This is the same `id` that was specified in the `Rule` message, allowing easy tracing of which rule was violated.", + "type": "string" + } + }, + "title": "`Violation` represents a single instance where a validation rule, expressed\n as a `Rule`, was not met. It provides information about the field that\n caused the violation, the specific rule that wasn't fulfilled, and a\n human-readable error message.", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.Violations.schema.json b/internal/gen/jsonschema/buf.validate.Violations.schema.json new file mode 100644 index 00000000..43cda131 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.Violations.schema.json @@ -0,0 +1,17 @@ +{ + "$id": "buf.validate.Violations.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "`Violations` is a collection of `Violation` messages. This message type is returned by\n Protovalidate when a proto message fails to meet the requirements set by the `Rule` validation rules.\n Each individual violation is represented by a `Violation` message.", + "properties": { + "violations": { + "description": "`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.", + "items": { + "$ref": "buf.validate.Violation.schema.json" + }, + "type": "array" + } + }, + "title": "Violations", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.AnyIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..3ea630a4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyIn.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.AnyIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Any.jsonschema.strict.json" + } + }, + "title": "Any In", + "type": "object" + }, + "google.protobuf.Any.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "properties": { + "@type": { + "type": "string" + } + }, + "title": "Any", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.AnyIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.AnyIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.AnyIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyIn.schema.json new file mode 100644 index 00000000..3c11dbb9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyIn.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.AnyIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Any.schema.json" + } + }, + "title": "Any In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.AnyNone.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyNone.jsonschema.strict.bundle.json new file mode 100644 index 00000000..adf7e990 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyNone.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.AnyNone.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Any.jsonschema.strict.json" + } + }, + "title": "Any None", + "type": "object" + }, + "google.protobuf.Any.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "properties": { + "@type": { + "type": "string" + } + }, + "title": "Any", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.AnyNone.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.AnyNone.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.AnyNone.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyNone.schema.json new file mode 100644 index 00000000..221c5f16 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyNone.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.AnyNone.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Any.schema.json" + } + }, + "title": "Any None", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.AnyNotIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyNotIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..4c74061d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyNotIn.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.AnyNotIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Any.jsonschema.strict.json" + } + }, + "title": "Any Not In", + "type": "object" + }, + "google.protobuf.Any.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "properties": { + "@type": { + "type": "string" + } + }, + "title": "Any", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.AnyNotIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.AnyNotIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.AnyNotIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyNotIn.schema.json new file mode 100644 index 00000000..eb76602d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyNotIn.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.AnyNotIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Any.schema.json" + } + }, + "title": "Any Not In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.AnyRequired.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyRequired.jsonschema.strict.bundle.json new file mode 100644 index 00000000..c75b39ee --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyRequired.jsonschema.strict.bundle.json @@ -0,0 +1,31 @@ +{ + "$defs": { + "buf.validate.conformance.cases.AnyRequired.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Any.jsonschema.strict.json" + } + }, + "required": [ + "val" + ], + "title": "Any Required", + "type": "object" + }, + "google.protobuf.Any.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "properties": { + "@type": { + "type": "string" + } + }, + "title": "Any", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.AnyRequired.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.AnyRequired.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.AnyRequired.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyRequired.schema.json new file mode 100644 index 00000000..bc959a6d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyRequired.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.AnyRequired.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Any.schema.json" + } + }, + "required": [ + "val" + ], + "title": "Any Required", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeMessage.WrongType.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeMessage.WrongType.schema.json new file mode 100644 index 00000000..ac2c7316 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeMessage.WrongType.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.AnyWrongTypeMessage.WrongType.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Wrong Type", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeMessage.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeMessage.jsonschema.strict.bundle.json new file mode 100644 index 00000000..3b3e6350 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeMessage.jsonschema.strict.bundle.json @@ -0,0 +1,34 @@ +{ + "$defs": { + "buf.validate.conformance.cases.AnyWrongTypeMessage.WrongType.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Wrong Type", + "type": "object" + }, + "buf.validate.conformance.cases.AnyWrongTypeMessage.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.AnyWrongTypeMessage.WrongType.jsonschema.strict.json" + } + }, + "title": "Any Wrong Type Message", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.AnyWrongTypeMessage.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.AnyWrongTypeMessage.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeMessage.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeMessage.schema.json new file mode 100644 index 00000000..85b7c932 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeMessage.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.AnyWrongTypeMessage.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.AnyWrongTypeMessage.WrongType.schema.json" + } + }, + "title": "Any Wrong Type Message", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeScalar.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeScalar.jsonschema.strict.bundle.json new file mode 100644 index 00000000..5d662cb7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeScalar.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.AnyWrongTypeScalar.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "The below messages should throw compilation errors due to incorrect types.", + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Any Wrong Type Scalar", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.AnyWrongTypeScalar.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.AnyWrongTypeScalar.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeScalar.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeScalar.schema.json new file mode 100644 index 00000000..e3639df5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeScalar.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.AnyWrongTypeScalar.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "The below messages should throw compilation errors due to incorrect types.", + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "Any Wrong Type Scalar", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeWKT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeWKT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..01c423ef --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeWKT.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.AnyWrongTypeWKT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + } + }, + "title": "Any Wrong TypeWKT", + "type": "object" + }, + "google.protobuf.Timestamp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date-time", + "title": "Timestamp", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.AnyWrongTypeWKT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.AnyWrongTypeWKT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeWKT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeWKT.schema.json new file mode 100644 index 00000000..05a050ed --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeWKT.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.AnyWrongTypeWKT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Timestamp.schema.json" + } + }, + "title": "Any Wrong TypeWKT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeWrapper.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeWrapper.jsonschema.strict.bundle.json new file mode 100644 index 00000000..1a2a92b8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeWrapper.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.AnyWrongTypeWrapper.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Int32Value.jsonschema.strict.json" + } + }, + "title": "Any Wrong Type Wrapper", + "type": "object" + }, + "google.protobuf.Int32Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The int32 value.", + "maximum": 2147483647, + "minimum": -2147483648, + "title": "Int32 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.AnyWrongTypeWrapper.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.AnyWrongTypeWrapper.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeWrapper.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeWrapper.schema.json new file mode 100644 index 00000000..f0a1df94 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.AnyWrongTypeWrapper.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.AnyWrongTypeWrapper.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Int32Value.schema.json" + } + }, + "title": "Any Wrong Type Wrapper", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BoolConstFalse.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BoolConstFalse.jsonschema.strict.bundle.json new file mode 100644 index 00000000..99970864 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BoolConstFalse.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.BoolConstFalse.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "val" + ], + "title": "Bool Const False", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.BoolConstFalse.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.BoolConstFalse.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BoolConstFalse.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BoolConstFalse.schema.json new file mode 100644 index 00000000..912f25ca --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BoolConstFalse.schema.json @@ -0,0 +1,16 @@ +{ + "$id": "buf.validate.conformance.cases.BoolConstFalse.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": false, + "enum": [ + false + ], + "type": "boolean" + } + }, + "title": "Bool Const False", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BoolConstTrue.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BoolConstTrue.jsonschema.strict.bundle.json new file mode 100644 index 00000000..79ca43e7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BoolConstTrue.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.BoolConstTrue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "val" + ], + "title": "Bool Const True", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.BoolConstTrue.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.BoolConstTrue.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BoolConstTrue.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BoolConstTrue.schema.json new file mode 100644 index 00000000..ee541e2b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BoolConstTrue.schema.json @@ -0,0 +1,16 @@ +{ + "$id": "buf.validate.conformance.cases.BoolConstTrue.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": false, + "enum": [ + true + ], + "type": "boolean" + } + }, + "title": "Bool Const True", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BoolExample.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BoolExample.jsonschema.strict.bundle.json new file mode 100644 index 00000000..cff55c2f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BoolExample.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.BoolExample.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "boolean" + } + }, + "required": [ + "val" + ], + "title": "Bool Example", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.BoolExample.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.BoolExample.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BoolExample.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BoolExample.schema.json new file mode 100644 index 00000000..c7ed6f05 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BoolExample.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.BoolExample.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": false, + "type": "boolean" + } + }, + "title": "Bool Example", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BoolNone.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BoolNone.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6a299f6a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BoolNone.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.BoolNone.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "boolean" + } + }, + "required": [ + "val" + ], + "title": "Bool None", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.BoolNone.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.BoolNone.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BoolNone.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BoolNone.schema.json new file mode 100644 index 00000000..4d8c7370 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BoolNone.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.BoolNone.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": false, + "type": "boolean" + } + }, + "title": "Bool None", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesConst.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesConst.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f069bd97 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesConst.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.BytesConst.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Bytes Const", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.BytesConst.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.BytesConst.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesConst.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesConst.schema.json new file mode 100644 index 00000000..0cc74097 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesConst.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.BytesConst.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": null, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "Bytes Const", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesContains.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesContains.jsonschema.strict.bundle.json new file mode 100644 index 00000000..9e8e14a0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesContains.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.BytesContains.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Bytes Contains", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.BytesContains.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.BytesContains.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesContains.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesContains.schema.json new file mode 100644 index 00000000..ba595309 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesContains.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.BytesContains.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": null, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "Bytes Contains", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesEqualMinMaxLen.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesEqualMinMaxLen.jsonschema.strict.bundle.json new file mode 100644 index 00000000..81306fb9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesEqualMinMaxLen.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.BytesEqualMinMaxLen.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maxLength": 8, + "minLength": 7, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Bytes Equal Min Max Len", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.BytesEqualMinMaxLen.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.BytesEqualMinMaxLen.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesEqualMinMaxLen.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesEqualMinMaxLen.schema.json new file mode 100644 index 00000000..c3f512e8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesEqualMinMaxLen.schema.json @@ -0,0 +1,16 @@ +{ + "$id": "buf.validate.conformance.cases.BytesEqualMinMaxLen.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": null, + "maxLength": 8, + "minLength": 7, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "Bytes Equal Min Max Len", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesExample.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesExample.jsonschema.strict.bundle.json new file mode 100644 index 00000000..47a75c84 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesExample.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.BytesExample.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Bytes Example", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.BytesExample.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.BytesExample.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesExample.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesExample.schema.json new file mode 100644 index 00000000..f6f1866f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesExample.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.BytesExample.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": null, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "Bytes Example", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIP.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIP.jsonschema.strict.bundle.json new file mode 100644 index 00000000..be54d53e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIP.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.BytesIP.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "BytesIP", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.BytesIP.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.BytesIP.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIP.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIP.schema.json new file mode 100644 index 00000000..de343a2f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIP.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.BytesIP.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": null, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "BytesIP", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIPv4.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIPv4.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f1a2cec8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIPv4.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.BytesIPv4.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "BytesI Pv4", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.BytesIPv4.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.BytesIPv4.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIPv4.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIPv4.schema.json new file mode 100644 index 00000000..9f439b85 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIPv4.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.BytesIPv4.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": null, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "BytesI Pv4", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIPv6.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIPv6.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a4673925 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIPv6.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.BytesIPv6.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "BytesI Pv6", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.BytesIPv6.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.BytesIPv6.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIPv6.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIPv6.schema.json new file mode 100644 index 00000000..01d1217c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIPv6.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.BytesIPv6.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": null, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "BytesI Pv6", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIPv6Ignore.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIPv6Ignore.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2b6b8618 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIPv6Ignore.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.BytesIPv6Ignore.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "BytesI Pv6 Ignore", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.BytesIPv6Ignore.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.BytesIPv6Ignore.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIPv6Ignore.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIPv6Ignore.schema.json new file mode 100644 index 00000000..4e53e42b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIPv6Ignore.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.BytesIPv6Ignore.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": null, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "BytesI Pv6 Ignore", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..336a2def --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIn.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.BytesIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Bytes In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.BytesIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.BytesIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIn.schema.json new file mode 100644 index 00000000..67bc8bb7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesIn.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.BytesIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": null, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "Bytes In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesLen.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesLen.jsonschema.strict.bundle.json new file mode 100644 index 00000000..1b2a57ff --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesLen.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.BytesLen.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maxLength": 8, + "minLength": 4, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Bytes Len", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.BytesLen.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.BytesLen.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesLen.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesLen.schema.json new file mode 100644 index 00000000..d698bc7c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesLen.schema.json @@ -0,0 +1,16 @@ +{ + "$id": "buf.validate.conformance.cases.BytesLen.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": null, + "maxLength": 8, + "minLength": 4, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "Bytes Len", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesMaxLen.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesMaxLen.jsonschema.strict.bundle.json new file mode 100644 index 00000000..1e0a7d83 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesMaxLen.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.BytesMaxLen.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maxLength": 8, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Bytes Max Len", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.BytesMaxLen.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.BytesMaxLen.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesMaxLen.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesMaxLen.schema.json new file mode 100644 index 00000000..8be597dd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesMaxLen.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.BytesMaxLen.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": null, + "maxLength": 8, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "Bytes Max Len", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesMinLen.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesMinLen.jsonschema.strict.bundle.json new file mode 100644 index 00000000..93febd81 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesMinLen.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.BytesMinLen.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "minLength": 4, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Bytes Min Len", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.BytesMinLen.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.BytesMinLen.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesMinLen.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesMinLen.schema.json new file mode 100644 index 00000000..db8b8568 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesMinLen.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.BytesMinLen.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": null, + "minLength": 4, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "Bytes Min Len", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesMinMaxLen.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesMinMaxLen.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f73d1457 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesMinMaxLen.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.BytesMinMaxLen.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maxLength": 8, + "minLength": 4, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Bytes Min Max Len", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.BytesMinMaxLen.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.BytesMinMaxLen.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesMinMaxLen.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesMinMaxLen.schema.json new file mode 100644 index 00000000..a0fa0422 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesMinMaxLen.schema.json @@ -0,0 +1,16 @@ +{ + "$id": "buf.validate.conformance.cases.BytesMinMaxLen.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": null, + "maxLength": 8, + "minLength": 4, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "Bytes Min Max Len", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNone.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNone.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a8555780 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNone.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.BytesNone.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Bytes None", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.BytesNone.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.BytesNone.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNone.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNone.schema.json new file mode 100644 index 00000000..a0e6d84b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNone.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.BytesNone.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": null, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "Bytes None", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNotIP.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNotIP.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ddb85087 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNotIP.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.BytesNotIP.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Bytes NotIP", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.BytesNotIP.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.BytesNotIP.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNotIP.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNotIP.schema.json new file mode 100644 index 00000000..06600469 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNotIP.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.BytesNotIP.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": null, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "Bytes NotIP", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNotIPv4.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNotIPv4.jsonschema.strict.bundle.json new file mode 100644 index 00000000..49ded0d1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNotIPv4.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.BytesNotIPv4.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Bytes NotI Pv4", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.BytesNotIPv4.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.BytesNotIPv4.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNotIPv4.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNotIPv4.schema.json new file mode 100644 index 00000000..48891a5e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNotIPv4.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.BytesNotIPv4.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": null, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "Bytes NotI Pv4", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNotIPv6.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNotIPv6.jsonschema.strict.bundle.json new file mode 100644 index 00000000..c6d30c34 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNotIPv6.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.BytesNotIPv6.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Bytes NotI Pv6", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.BytesNotIPv6.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.BytesNotIPv6.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNotIPv6.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNotIPv6.schema.json new file mode 100644 index 00000000..a0fb9ad8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNotIPv6.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.BytesNotIPv6.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": null, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "Bytes NotI Pv6", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNotIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNotIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2ff1193b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNotIn.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.BytesNotIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Bytes Not In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.BytesNotIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.BytesNotIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNotIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNotIn.schema.json new file mode 100644 index 00000000..0955760d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesNotIn.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.BytesNotIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": null, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "Bytes Not In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesPattern.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesPattern.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a2b2f3b8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesPattern.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.BytesPattern.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Bytes Pattern", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.BytesPattern.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.BytesPattern.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesPattern.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesPattern.schema.json new file mode 100644 index 00000000..2d69c0ac --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesPattern.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.BytesPattern.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": null, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "Bytes Pattern", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesPrefix.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesPrefix.jsonschema.strict.bundle.json new file mode 100644 index 00000000..5ef880a0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesPrefix.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.BytesPrefix.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Bytes Prefix", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.BytesPrefix.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.BytesPrefix.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesPrefix.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesPrefix.schema.json new file mode 100644 index 00000000..4c6ff487 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesPrefix.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.BytesPrefix.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": null, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "Bytes Prefix", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesSuffix.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesSuffix.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ab03357d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesSuffix.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.BytesSuffix.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Bytes Suffix", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.BytesSuffix.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.BytesSuffix.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.BytesSuffix.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesSuffix.schema.json new file mode 100644 index 00000000..5e011f75 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.BytesSuffix.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.BytesSuffix.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": null, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "Bytes Suffix", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.ComplexTestMsg.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.ComplexTestMsg.jsonschema.strict.bundle.json new file mode 100644 index 00000000..8312f07c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.ComplexTestMsg.jsonschema.strict.bundle.json @@ -0,0 +1,163 @@ +{ + "$defs": { + "buf.validate.conformance.cases.ComplexTestMsg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "another": { + "$ref": "#/$defs/buf.validate.conformance.cases.ComplexTestMsg.jsonschema.strict.json" + }, + "anyVal": { + "$ref": "#/$defs/google.protobuf.Any.jsonschema.strict.json" + }, + "boolConst": { + "enum": [ + false + ], + "type": "boolean" + }, + "bytesVal": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + }, + "const": { + "enum": [ + "abcd" + ], + "type": "string" + }, + "doubleIn": { + "enum": [ + 456.789, + 123 + ], + "type": "number" + }, + "durVal": { + "$ref": "#/$defs/google.protobuf.Duration.jsonschema.strict.json" + }, + "enumConst": { + "enum": [ + "COMPLEX_TEST_ENUM_TWO" + ], + "title": "Complex Test Enum", + "type": "string" + }, + "floatConst": { + "anyOf": [ + { + "exclusiveMaximum": 8, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "-Infinity" + ], + "type": "string" + } + ] + }, + "floatVal": { + "$ref": "#/$defs/google.protobuf.FloatValue.jsonschema.strict.json" + }, + "intConst": { + "enum": [ + 5 + ], + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + "mapVal": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "exclusiveMaximum": 0, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + }, + "nested": { + "$ref": "#/$defs/buf.validate.conformance.cases.ComplexTestMsg.jsonschema.strict.json" + }, + "repTsVal": { + "items": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + }, + "type": "array" + }, + "tsVal": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + }, + "x": { + "type": "string" + }, + "y": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "const", + "intConst", + "boolConst", + "durVal", + "floatConst", + "doubleIn", + "enumConst", + "bytesVal" + ], + "title": "Complex Test Msg", + "type": "object" + }, + "google.protobuf.Any.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "properties": { + "@type": { + "type": "string" + } + }, + "title": "Any", + "type": "object" + }, + "google.protobuf.Duration.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "duration", + "title": "Duration", + "type": "string" + }, + "google.protobuf.FloatValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ], + "description": "The float value.", + "title": "Float Value" + }, + "google.protobuf.Timestamp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date-time", + "title": "Timestamp", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.ComplexTestMsg.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.ComplexTestMsg.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.ComplexTestMsg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.ComplexTestMsg.schema.json new file mode 100644 index 00000000..0a869ce7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.ComplexTestMsg.schema.json @@ -0,0 +1,279 @@ +{ + "$id": "buf.validate.conformance.cases.ComplexTestMsg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "patternProperties": { + "^(anyVal)$": { + "$ref": "google.protobuf.Any.schema.json" + }, + "^(boolConst)$": { + "default": false, + "enum": [ + false + ], + "type": "boolean" + }, + "^(bytesVal)$": { + "default": null, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + }, + "^(doubleIn)$": { + "anyOf": [ + { + "enum": [ + 456.789, + 123 + ], + "type": "number" + }, + { + "pattern": "^-?[0-9]+(\\.[0-9]+)?([eE][+-]?[0-9]+)?$", + "type": "string" + } + ], + "default": 0 + }, + "^(durVal)$": { + "$ref": "google.protobuf.Duration.schema.json" + }, + "^(enumConst)$": { + "anyOf": [ + { + "enum": [ + "COMPLEX_TEST_ENUM_TWO" + ], + "type": "string" + }, + { + "maximum": 2, + "minimum": 2, + "type": "integer" + } + ], + "default": 0, + "title": "Complex Test Enum" + }, + "^(floatConst)$": { + "anyOf": [ + { + "exclusiveMaximum": 8, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "-Infinity" + ], + "type": "string" + }, + { + "type": "string" + } + ], + "default": 0 + }, + "^(floatVal)$": { + "$ref": "google.protobuf.FloatValue.schema.json" + }, + "^(intConst)$": { + "anyOf": [ + { + "enum": [ + 5 + ], + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "^(mapVal)$": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + }, + "^(repTsVal)$": { + "items": { + "$ref": "google.protobuf.Timestamp.schema.json" + }, + "type": "array" + }, + "^(tsVal)$": { + "$ref": "google.protobuf.Timestamp.schema.json" + } + }, + "properties": { + "another": { + "$ref": "#" + }, + "any_val": { + "$ref": "google.protobuf.Any.schema.json" + }, + "bool_const": { + "default": false, + "enum": [ + false + ], + "type": "boolean" + }, + "bytes_val": { + "default": null, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + }, + "const": { + "default": "", + "enum": [ + "abcd" + ], + "type": "string" + }, + "double_in": { + "anyOf": [ + { + "enum": [ + 456.789, + 123 + ], + "type": "number" + }, + { + "pattern": "^-?[0-9]+(\\.[0-9]+)?([eE][+-]?[0-9]+)?$", + "type": "string" + } + ], + "default": 0 + }, + "dur_val": { + "$ref": "google.protobuf.Duration.schema.json" + }, + "enum_const": { + "anyOf": [ + { + "enum": [ + "COMPLEX_TEST_ENUM_TWO" + ], + "type": "string" + }, + { + "maximum": 2, + "minimum": 2, + "type": "integer" + } + ], + "default": 0, + "title": "Complex Test Enum" + }, + "float_const": { + "anyOf": [ + { + "exclusiveMaximum": 8, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "-Infinity" + ], + "type": "string" + }, + { + "type": "string" + } + ], + "default": 0 + }, + "float_val": { + "$ref": "google.protobuf.FloatValue.schema.json" + }, + "int_const": { + "anyOf": [ + { + "enum": [ + 5 + ], + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "map_val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + }, + "nested": { + "$ref": "#" + }, + "rep_ts_val": { + "items": { + "$ref": "google.protobuf.Timestamp.schema.json" + }, + "type": "array" + }, + "ts_val": { + "$ref": "google.protobuf.Timestamp.schema.json" + }, + "x": { + "type": "string" + }, + "y": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "required": [ + "dur_val" + ], + "title": "Complex Test Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleConst.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleConst.jsonschema.strict.bundle.json new file mode 100644 index 00000000..34439f0a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleConst.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DoubleConst.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + 1.23 + ], + "type": "number" + } + }, + "required": [ + "val" + ], + "title": "Double Const", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.DoubleConst.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DoubleConst.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleConst.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleConst.schema.json new file mode 100644 index 00000000..9b1ffde0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleConst.schema.json @@ -0,0 +1,24 @@ +{ + "$id": "buf.validate.conformance.cases.DoubleConst.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + 1.23 + ], + "type": "number" + }, + { + "pattern": "^-?[0-9]+(\\.[0-9]+)?([eE][+-]?[0-9]+)?$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Double Const", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleExGTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleExGTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..1fde092f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleExGTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,37 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DoubleExGTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 128, + "type": "number" + }, + { + "minimum": 256, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity" + ], + "type": "string" + } + ] + } + }, + "required": [ + "val" + ], + "title": "Double ExGTELTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.DoubleExGTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DoubleExGTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleExGTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleExGTELTE.schema.json new file mode 100644 index 00000000..7e327afc --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleExGTELTE.schema.json @@ -0,0 +1,32 @@ +{ + "$id": "buf.validate.conformance.cases.DoubleExGTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 128, + "type": "number" + }, + { + "minimum": 256, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity" + ], + "type": "string" + }, + { + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Double ExGTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleExLTGT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleExLTGT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..cead342f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleExLTGT.jsonschema.strict.bundle.json @@ -0,0 +1,37 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DoubleExLTGT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "type": "number" + }, + { + "exclusiveMinimum": 10, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity" + ], + "type": "string" + } + ] + } + }, + "required": [ + "val" + ], + "title": "Double ExLTGT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.DoubleExLTGT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DoubleExLTGT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleExLTGT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleExLTGT.schema.json new file mode 100644 index 00000000..26385150 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleExLTGT.schema.json @@ -0,0 +1,32 @@ +{ + "$id": "buf.validate.conformance.cases.DoubleExLTGT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "type": "number" + }, + { + "exclusiveMinimum": 10, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity" + ], + "type": "string" + }, + { + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Double ExLTGT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleExample.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleExample.jsonschema.strict.bundle.json new file mode 100644 index 00000000..06c5ff7a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleExample.jsonschema.strict.bundle.json @@ -0,0 +1,33 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DoubleExample.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ] + } + }, + "required": [ + "val" + ], + "title": "Double Example", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.DoubleExample.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DoubleExample.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleExample.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleExample.schema.json new file mode 100644 index 00000000..0dd257d4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleExample.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "buf.validate.conformance.cases.DoubleExample.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + }, + { + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Double Example", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleFinite.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleFinite.jsonschema.strict.bundle.json new file mode 100644 index 00000000..73b23f2f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleFinite.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DoubleFinite.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "number" + } + }, + "required": [ + "val" + ], + "title": "Double Finite", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.DoubleFinite.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DoubleFinite.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleFinite.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleFinite.schema.json new file mode 100644 index 00000000..d3ea4c91 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleFinite.schema.json @@ -0,0 +1,21 @@ +{ + "$id": "buf.validate.conformance.cases.DoubleFinite.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "number" + }, + { + "pattern": "^-?[0-9]+(\\.[0-9]+)?([eE][+-]?[0-9]+)?$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Double Finite", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleGT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleGT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e82b900d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleGT.jsonschema.strict.bundle.json @@ -0,0 +1,32 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DoubleGT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMinimum": 16, + "type": "number" + }, + { + "enum": [ + "Infinity" + ], + "type": "string" + } + ] + } + }, + "required": [ + "val" + ], + "title": "DoubleGT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.DoubleGT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DoubleGT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleGT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleGT.schema.json new file mode 100644 index 00000000..e929d8eb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleGT.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.DoubleGT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMinimum": 16, + "type": "number" + }, + { + "enum": [ + "Infinity" + ], + "type": "string" + }, + { + "type": "string" + } + ], + "default": 0 + } + }, + "title": "DoubleGT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleGTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleGTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f0878cd6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleGTE.jsonschema.strict.bundle.json @@ -0,0 +1,32 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DoubleGTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "minimum": 8, + "type": "number" + }, + { + "enum": [ + "Infinity" + ], + "type": "string" + } + ] + } + }, + "required": [ + "val" + ], + "title": "DoubleGTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.DoubleGTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DoubleGTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleGTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleGTE.schema.json new file mode 100644 index 00000000..cca4d54d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleGTE.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.DoubleGTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "minimum": 8, + "type": "number" + }, + { + "enum": [ + "Infinity" + ], + "type": "string" + }, + { + "type": "string" + } + ], + "default": 0 + } + }, + "title": "DoubleGTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleGTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleGTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..56c0931c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleGTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DoubleGTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 256, + "minimum": 128, + "type": "number" + } + }, + "required": [ + "val" + ], + "title": "DoubleGTELTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.DoubleGTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DoubleGTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleGTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleGTELTE.schema.json new file mode 100644 index 00000000..81e772ae --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleGTELTE.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.DoubleGTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 256, + "minimum": 128, + "type": "number" + }, + { + "pattern": "^-?[0-9]+(\\.[0-9]+)?([eE][+-]?[0-9]+)?$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "DoubleGTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleGTLT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleGTLT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..95a4cece --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleGTLT.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DoubleGTLT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 10, + "exclusiveMinimum": 0, + "type": "number" + } + }, + "required": [ + "val" + ], + "title": "DoubleGTLT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.DoubleGTLT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DoubleGTLT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleGTLT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleGTLT.schema.json new file mode 100644 index 00000000..5fcd4fd7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleGTLT.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.DoubleGTLT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 10, + "exclusiveMinimum": 0, + "type": "number" + }, + { + "pattern": "^-?[0-9]+(\\.[0-9]+)?([eE][+-]?[0-9]+)?$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "DoubleGTLT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleIgnore.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleIgnore.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f17bd1aa --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleIgnore.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DoubleIgnore.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 256, + "minimum": 128, + "type": "number" + } + }, + "required": [ + "val" + ], + "title": "Double Ignore", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.DoubleIgnore.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DoubleIgnore.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleIgnore.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleIgnore.schema.json new file mode 100644 index 00000000..17591ab2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleIgnore.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.DoubleIgnore.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 256, + "minimum": 128, + "type": "number" + }, + { + "pattern": "^-?[0-9]+(\\.[0-9]+)?([eE][+-]?[0-9]+)?$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Double Ignore", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..3ef46da1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleIn.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DoubleIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + 4.56, + 7.89 + ], + "type": "number" + } + }, + "required": [ + "val" + ], + "title": "Double In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.DoubleIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DoubleIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleIn.schema.json new file mode 100644 index 00000000..829d2950 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleIn.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.DoubleIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + 4.56, + 7.89 + ], + "type": "number" + }, + { + "pattern": "^-?[0-9]+(\\.[0-9]+)?([eE][+-]?[0-9]+)?$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Double In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleIncorrectType.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleIncorrectType.jsonschema.strict.bundle.json new file mode 100644 index 00000000..5874a107 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleIncorrectType.jsonschema.strict.bundle.json @@ -0,0 +1,33 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DoubleIncorrectType.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "maximum": 3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity" + ], + "type": "string" + } + ] + } + }, + "required": [ + "val" + ], + "title": "Double Incorrect Type", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.DoubleIncorrectType.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DoubleIncorrectType.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleIncorrectType.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleIncorrectType.schema.json new file mode 100644 index 00000000..c79061bf --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleIncorrectType.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "buf.validate.conformance.cases.DoubleIncorrectType.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "maximum": 3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity" + ], + "type": "string" + }, + { + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Double Incorrect Type", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleLT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleLT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..8435fe28 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleLT.jsonschema.strict.bundle.json @@ -0,0 +1,32 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DoubleLT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "type": "number" + }, + { + "enum": [ + "-Infinity" + ], + "type": "string" + } + ] + } + }, + "required": [ + "val" + ], + "title": "DoubleLT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.DoubleLT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DoubleLT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleLT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleLT.schema.json new file mode 100644 index 00000000..1b4603fa --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleLT.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.DoubleLT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "type": "number" + }, + { + "enum": [ + "-Infinity" + ], + "type": "string" + }, + { + "type": "string" + } + ], + "default": 0 + } + }, + "title": "DoubleLT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleLTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleLTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..aad94e00 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleLTE.jsonschema.strict.bundle.json @@ -0,0 +1,32 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DoubleLTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 64, + "type": "number" + }, + { + "enum": [ + "-Infinity" + ], + "type": "string" + } + ] + } + }, + "required": [ + "val" + ], + "title": "DoubleLTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.DoubleLTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DoubleLTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleLTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleLTE.schema.json new file mode 100644 index 00000000..8e132679 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleLTE.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.DoubleLTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 64, + "type": "number" + }, + { + "enum": [ + "-Infinity" + ], + "type": "string" + }, + { + "type": "string" + } + ], + "default": 0 + } + }, + "title": "DoubleLTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleNone.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleNone.jsonschema.strict.bundle.json new file mode 100644 index 00000000..fd3bf827 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleNone.jsonschema.strict.bundle.json @@ -0,0 +1,33 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DoubleNone.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ] + } + }, + "required": [ + "val" + ], + "title": "Double None", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.DoubleNone.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DoubleNone.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleNone.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleNone.schema.json new file mode 100644 index 00000000..8f646c48 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleNone.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "buf.validate.conformance.cases.DoubleNone.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + }, + { + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Double None", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleNotFinite.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleNotFinite.jsonschema.strict.bundle.json new file mode 100644 index 00000000..bf348d3a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleNotFinite.jsonschema.strict.bundle.json @@ -0,0 +1,33 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DoubleNotFinite.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ] + } + }, + "required": [ + "val" + ], + "title": "Double Not Finite", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.DoubleNotFinite.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DoubleNotFinite.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleNotFinite.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleNotFinite.schema.json new file mode 100644 index 00000000..d9887c22 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleNotFinite.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "buf.validate.conformance.cases.DoubleNotFinite.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + }, + { + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Double Not Finite", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleNotIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleNotIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..4ee8818b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleNotIn.jsonschema.strict.bundle.json @@ -0,0 +1,33 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DoubleNotIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ] + } + }, + "required": [ + "val" + ], + "title": "Double Not In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.DoubleNotIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DoubleNotIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleNotIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleNotIn.schema.json new file mode 100644 index 00000000..c580ae84 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DoubleNotIn.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "buf.validate.conformance.cases.DoubleNotIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + }, + { + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Double Not In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationConst.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationConst.jsonschema.strict.bundle.json new file mode 100644 index 00000000..469d9f5b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationConst.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DurationConst.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Duration.jsonschema.strict.json" + } + }, + "title": "Duration Const", + "type": "object" + }, + "google.protobuf.Duration.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "duration", + "title": "Duration", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.DurationConst.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DurationConst.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationConst.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationConst.schema.json new file mode 100644 index 00000000..f94ebf29 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationConst.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.DurationConst.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Duration.schema.json" + } + }, + "title": "Duration Const", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationExGTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationExGTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..9860ca87 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationExGTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DurationExGTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Duration.jsonschema.strict.json" + } + }, + "title": "Duration ExGTELTE", + "type": "object" + }, + "google.protobuf.Duration.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "duration", + "title": "Duration", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.DurationExGTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DurationExGTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationExGTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationExGTELTE.schema.json new file mode 100644 index 00000000..7920ba94 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationExGTELTE.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.DurationExGTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Duration.schema.json" + } + }, + "title": "Duration ExGTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationExLTGT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationExLTGT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..69a2a2e8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationExLTGT.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DurationExLTGT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Duration.jsonschema.strict.json" + } + }, + "title": "Duration ExLTGT", + "type": "object" + }, + "google.protobuf.Duration.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "duration", + "title": "Duration", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.DurationExLTGT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DurationExLTGT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationExLTGT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationExLTGT.schema.json new file mode 100644 index 00000000..5de9fb33 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationExLTGT.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.DurationExLTGT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Duration.schema.json" + } + }, + "title": "Duration ExLTGT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationExample.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationExample.jsonschema.strict.bundle.json new file mode 100644 index 00000000..0518f468 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationExample.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DurationExample.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Duration.jsonschema.strict.json" + } + }, + "title": "Duration Example", + "type": "object" + }, + "google.protobuf.Duration.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "duration", + "title": "Duration", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.DurationExample.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DurationExample.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationExample.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationExample.schema.json new file mode 100644 index 00000000..e2eeef7a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationExample.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.DurationExample.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Duration.schema.json" + } + }, + "title": "Duration Example", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationFieldWithOtherFields.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationFieldWithOtherFields.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ad0681fa --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationFieldWithOtherFields.jsonschema.strict.bundle.json @@ -0,0 +1,33 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DurationFieldWithOtherFields.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Regression for earlier bug where missing Duration field would short circuit\n evaluation in C++.", + "properties": { + "durationVal": { + "$ref": "#/$defs/google.protobuf.Duration.jsonschema.strict.json" + }, + "intVal": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 16, + "type": "integer" + } + }, + "required": [ + "intVal" + ], + "title": "Duration Field With Other Fields", + "type": "object" + }, + "google.protobuf.Duration.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "duration", + "title": "Duration", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.DurationFieldWithOtherFields.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DurationFieldWithOtherFields.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationFieldWithOtherFields.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationFieldWithOtherFields.schema.json new file mode 100644 index 00000000..22cbac02 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationFieldWithOtherFields.schema.json @@ -0,0 +1,46 @@ +{ + "$id": "buf.validate.conformance.cases.DurationFieldWithOtherFields.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Regression for earlier bug where missing Duration field would short circuit\n evaluation in C++.", + "patternProperties": { + "^(durationVal)$": { + "$ref": "google.protobuf.Duration.schema.json" + }, + "^(intVal)$": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 16, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "properties": { + "duration_val": { + "$ref": "google.protobuf.Duration.schema.json" + }, + "int_val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 16, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Duration Field With Other Fields", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationGT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationGT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..521bb534 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationGT.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DurationGT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Duration.jsonschema.strict.json" + } + }, + "title": "DurationGT", + "type": "object" + }, + "google.protobuf.Duration.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "duration", + "title": "Duration", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.DurationGT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DurationGT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationGT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationGT.schema.json new file mode 100644 index 00000000..ccd5b038 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationGT.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.DurationGT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Duration.schema.json" + } + }, + "title": "DurationGT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationGTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationGTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a90ccf90 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationGTE.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DurationGTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Duration.jsonschema.strict.json" + } + }, + "title": "DurationGTE", + "type": "object" + }, + "google.protobuf.Duration.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "duration", + "title": "Duration", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.DurationGTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DurationGTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationGTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationGTE.schema.json new file mode 100644 index 00000000..d638d029 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationGTE.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.DurationGTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Duration.schema.json" + } + }, + "title": "DurationGTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationGTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationGTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..284e0568 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationGTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DurationGTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Duration.jsonschema.strict.json" + } + }, + "title": "DurationGTELTE", + "type": "object" + }, + "google.protobuf.Duration.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "duration", + "title": "Duration", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.DurationGTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DurationGTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationGTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationGTELTE.schema.json new file mode 100644 index 00000000..5953c2e0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationGTELTE.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.DurationGTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Duration.schema.json" + } + }, + "title": "DurationGTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationGTLT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationGTLT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..579fbd07 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationGTLT.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DurationGTLT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Duration.jsonschema.strict.json" + } + }, + "title": "DurationGTLT", + "type": "object" + }, + "google.protobuf.Duration.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "duration", + "title": "Duration", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.DurationGTLT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DurationGTLT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationGTLT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationGTLT.schema.json new file mode 100644 index 00000000..614e57a6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationGTLT.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.DurationGTLT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Duration.schema.json" + } + }, + "title": "DurationGTLT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d2e49eca --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationIn.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DurationIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Duration.jsonschema.strict.json" + } + }, + "title": "Duration In", + "type": "object" + }, + "google.protobuf.Duration.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "duration", + "title": "Duration", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.DurationIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DurationIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationIn.schema.json new file mode 100644 index 00000000..e278104d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationIn.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.DurationIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Duration.schema.json" + } + }, + "title": "Duration In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationLT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationLT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b9955f70 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationLT.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DurationLT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Duration.jsonschema.strict.json" + } + }, + "title": "DurationLT", + "type": "object" + }, + "google.protobuf.Duration.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "duration", + "title": "Duration", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.DurationLT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DurationLT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationLT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationLT.schema.json new file mode 100644 index 00000000..ffc7e5cd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationLT.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.DurationLT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Duration.schema.json" + } + }, + "title": "DurationLT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationLTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationLTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..0256021a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationLTE.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DurationLTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Duration.jsonschema.strict.json" + } + }, + "title": "DurationLTE", + "type": "object" + }, + "google.protobuf.Duration.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "duration", + "title": "Duration", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.DurationLTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DurationLTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationLTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationLTE.schema.json new file mode 100644 index 00000000..064bee6a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationLTE.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.DurationLTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Duration.schema.json" + } + }, + "title": "DurationLTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationNone.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationNone.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ea40d29f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationNone.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DurationNone.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Duration.jsonschema.strict.json" + } + }, + "title": "Duration None", + "type": "object" + }, + "google.protobuf.Duration.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "duration", + "title": "Duration", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.DurationNone.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DurationNone.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationNone.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationNone.schema.json new file mode 100644 index 00000000..5436b0f1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationNone.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.DurationNone.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Duration.schema.json" + } + }, + "title": "Duration None", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationNotIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationNotIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e2054255 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationNotIn.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DurationNotIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Duration.jsonschema.strict.json" + } + }, + "title": "Duration Not In", + "type": "object" + }, + "google.protobuf.Duration.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "duration", + "title": "Duration", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.DurationNotIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DurationNotIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationNotIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationNotIn.schema.json new file mode 100644 index 00000000..0bcfe395 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationNotIn.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.DurationNotIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Duration.schema.json" + } + }, + "title": "Duration Not In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationRequired.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationRequired.jsonschema.strict.bundle.json new file mode 100644 index 00000000..9cab841d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationRequired.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DurationRequired.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Duration.jsonschema.strict.json" + } + }, + "required": [ + "val" + ], + "title": "Duration Required", + "type": "object" + }, + "google.protobuf.Duration.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "duration", + "title": "Duration", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.DurationRequired.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DurationRequired.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationRequired.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationRequired.schema.json new file mode 100644 index 00000000..aa04c336 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationRequired.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.DurationRequired.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Duration.schema.json" + } + }, + "required": [ + "val" + ], + "title": "Duration Required", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeMessage.WrongType.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeMessage.WrongType.schema.json new file mode 100644 index 00000000..2e37a24f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeMessage.WrongType.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.DurationWrongTypeMessage.WrongType.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "seconds": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Wrong Type", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeMessage.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeMessage.jsonschema.strict.bundle.json new file mode 100644 index 00000000..695a1fd5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeMessage.jsonschema.strict.bundle.json @@ -0,0 +1,34 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DurationWrongTypeMessage.WrongType.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "seconds": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "seconds" + ], + "title": "Wrong Type", + "type": "object" + }, + "buf.validate.conformance.cases.DurationWrongTypeMessage.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.DurationWrongTypeMessage.WrongType.jsonschema.strict.json" + } + }, + "title": "Duration Wrong Type Message", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.DurationWrongTypeMessage.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DurationWrongTypeMessage.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeMessage.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeMessage.schema.json new file mode 100644 index 00000000..f4b29878 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeMessage.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.DurationWrongTypeMessage.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.DurationWrongTypeMessage.WrongType.schema.json" + } + }, + "title": "Duration Wrong Type Message", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeScalar.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeScalar.jsonschema.strict.bundle.json new file mode 100644 index 00000000..1dcc5462 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeScalar.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DurationWrongTypeScalar.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "The below messages should throw compilation errors due to incorrect types.", + "properties": { + "seconds": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "seconds" + ], + "title": "Duration Wrong Type Scalar", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.DurationWrongTypeScalar.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DurationWrongTypeScalar.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeScalar.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeScalar.schema.json new file mode 100644 index 00000000..c687c072 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeScalar.schema.json @@ -0,0 +1,24 @@ +{ + "$id": "buf.validate.conformance.cases.DurationWrongTypeScalar.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "The below messages should throw compilation errors due to incorrect types.", + "properties": { + "seconds": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Duration Wrong Type Scalar", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeWKT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeWKT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..469dfa09 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeWKT.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DurationWrongTypeWKT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + } + }, + "title": "Duration Wrong TypeWKT", + "type": "object" + }, + "google.protobuf.Timestamp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date-time", + "title": "Timestamp", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.DurationWrongTypeWKT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DurationWrongTypeWKT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeWKT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeWKT.schema.json new file mode 100644 index 00000000..adda3adb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeWKT.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.DurationWrongTypeWKT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Timestamp.schema.json" + } + }, + "title": "Duration Wrong TypeWKT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeWrapper.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeWrapper.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d117116f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeWrapper.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.DurationWrongTypeWrapper.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Int32Value.jsonschema.strict.json" + } + }, + "title": "Duration Wrong Type Wrapper", + "type": "object" + }, + "google.protobuf.Int32Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The int32 value.", + "maximum": 2147483647, + "minimum": -2147483648, + "title": "Int32 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.DurationWrongTypeWrapper.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.DurationWrongTypeWrapper.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeWrapper.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeWrapper.schema.json new file mode 100644 index 00000000..67edfe0d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.DurationWrongTypeWrapper.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.DurationWrongTypeWrapper.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Int32Value.schema.json" + } + }, + "title": "Duration Wrong Type Wrapper", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ce81fb25 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsMapIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Editions Map Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsMapIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMapIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapIgnoreAlways.schema.json new file mode 100644 index 00000000..cd612205 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapIgnoreAlways.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMapIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Editions Map Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..cb174ef5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsMapIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Editions Map Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsMapIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMapIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapIgnoreEmpty.schema.json new file mode 100644 index 00000000..7d4daae3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapIgnoreEmpty.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMapIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Editions Map Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a57a3b03 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsMapIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Editions Map Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsMapIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMapIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapIgnoreUnspecified.schema.json new file mode 100644 index 00000000..37fee686 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapIgnoreUnspecified.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMapIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Editions Map Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapKeyIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapKeyIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..82711cde --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapKeyIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsMapKeyIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "propertyNames": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Editions Map Key Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsMapKeyIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMapKeyIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapKeyIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapKeyIgnoreAlways.schema.json new file mode 100644 index 00000000..5fc7408e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapKeyIgnoreAlways.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMapKeyIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Editions Map Key Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..fb1e410b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "propertyNames": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Editions Map Key Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty.schema.json new file mode 100644 index 00000000..9006a0f6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Editions Map Key Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..165c42d8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "propertyNames": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Editions Map Key Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified.schema.json new file mode 100644 index 00000000..bea5b552 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Editions Map Key Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapValueIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapValueIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7b486e44 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapValueIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsMapValueIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Editions Map Value Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsMapValueIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMapValueIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapValueIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapValueIgnoreAlways.schema.json new file mode 100644 index 00000000..782e2ce7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapValueIgnoreAlways.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMapValueIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Editions Map Value Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapValueIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapValueIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..4af7ae0c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapValueIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsMapValueIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Editions Map Value Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsMapValueIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMapValueIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapValueIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapValueIgnoreEmpty.schema.json new file mode 100644 index 00000000..3dc75d4d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapValueIgnoreEmpty.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMapValueIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Editions Map Value Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapValueIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapValueIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d2a6cd26 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapValueIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsMapValueIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Editions Map Value Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsMapValueIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMapValueIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapValueIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapValueIgnoreUnspecified.schema.json new file mode 100644 index 00000000..85db835b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMapValueIgnoreUnspecified.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMapValueIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Editions Map Value Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreAlways.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreAlways.Msg.schema.json new file mode 100644 index 00000000..206abe00 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreAlways.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreAlways.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..eb4ec33f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreAlways.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreAlways.Msg.jsonschema.strict.json" + } + }, + "title": "Editions Message Explicit Presence Delimited Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreAlways.schema.json new file mode 100644 index 00000000..a8267152 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreAlways.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreAlways.Msg.schema.json" + } + }, + "title": "Editions Message Explicit Presence Delimited Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreEmpty.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreEmpty.Msg.schema.json new file mode 100644 index 00000000..c1a2d917 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreEmpty.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreEmpty.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2f4ae787 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreEmpty.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreEmpty.Msg.jsonschema.strict.json" + } + }, + "title": "Editions Message Explicit Presence Delimited Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreEmpty.schema.json new file mode 100644 index 00000000..11fe7467 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreEmpty.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreEmpty.Msg.schema.json" + } + }, + "title": "Editions Message Explicit Presence Delimited Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified.Msg.schema.json new file mode 100644 index 00000000..77bb7c1a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..3adec3c2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified.Msg.jsonschema.strict.json" + } + }, + "title": "Editions Message Explicit Presence Delimited Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified.schema.json new file mode 100644 index 00000000..db2080c5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified.Msg.schema.json" + } + }, + "title": "Editions Message Explicit Presence Delimited Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreAlways.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreAlways.Msg.schema.json new file mode 100644 index 00000000..ad1708a9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreAlways.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreAlways.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e3abc2bd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreAlways.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreAlways.Msg.jsonschema.strict.json" + } + }, + "title": "Editions Message Explicit Presence Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreAlways.schema.json new file mode 100644 index 00000000..89a14ef5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreAlways.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreAlways.Msg.schema.json" + } + }, + "title": "Editions Message Explicit Presence Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreEmpty.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreEmpty.Msg.schema.json new file mode 100644 index 00000000..33fb14bb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreEmpty.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreEmpty.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7cada40a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreEmpty.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreEmpty.Msg.jsonschema.strict.json" + } + }, + "title": "Editions Message Explicit Presence Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreEmpty.schema.json new file mode 100644 index 00000000..225ab457 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreEmpty.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreEmpty.Msg.schema.json" + } + }, + "title": "Editions Message Explicit Presence Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreUnspecified.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreUnspecified.Msg.schema.json new file mode 100644 index 00000000..c235ec27 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreUnspecified.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreUnspecified.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e5f61ef8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreUnspecified.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreUnspecified.Msg.jsonschema.strict.json" + } + }, + "title": "Editions Message Explicit Presence Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreUnspecified.schema.json new file mode 100644 index 00000000..c83a1ded --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreUnspecified.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreUnspecified.Msg.schema.json" + } + }, + "title": "Editions Message Explicit Presence Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreAlways.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreAlways.Msg.schema.json new file mode 100644 index 00000000..39410ce9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreAlways.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreAlways.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6e768ecb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreAlways.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreAlways.Msg.jsonschema.strict.json" + } + }, + "title": "Editions Message Legacy Required Delimited Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreAlways.schema.json new file mode 100644 index 00000000..11e144b9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreAlways.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreAlways.Msg.schema.json" + } + }, + "title": "Editions Message Legacy Required Delimited Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreEmpty.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreEmpty.Msg.schema.json new file mode 100644 index 00000000..daba3ecb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreEmpty.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreEmpty.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7324efb6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreEmpty.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreEmpty.Msg.jsonschema.strict.json" + } + }, + "title": "Editions Message Legacy Required Delimited Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreEmpty.schema.json new file mode 100644 index 00000000..0f6b8bec --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreEmpty.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreEmpty.Msg.schema.json" + } + }, + "title": "Editions Message Legacy Required Delimited Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified.Msg.schema.json new file mode 100644 index 00000000..205d7353 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a936dac2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified.Msg.jsonschema.strict.json" + } + }, + "title": "Editions Message Legacy Required Delimited Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified.schema.json new file mode 100644 index 00000000..eade41c1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified.Msg.schema.json" + } + }, + "title": "Editions Message Legacy Required Delimited Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreAlways.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreAlways.Msg.schema.json new file mode 100644 index 00000000..8982b446 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreAlways.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreAlways.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..0058f7f9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreAlways.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreAlways.Msg.jsonschema.strict.json" + } + }, + "title": "Editions Message Legacy Required Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreAlways.schema.json new file mode 100644 index 00000000..162b2991 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreAlways.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreAlways.Msg.schema.json" + } + }, + "title": "Editions Message Legacy Required Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreEmpty.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreEmpty.Msg.schema.json new file mode 100644 index 00000000..f0642c92 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreEmpty.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreEmpty.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e99fc006 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreEmpty.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreEmpty.Msg.jsonschema.strict.json" + } + }, + "title": "Editions Message Legacy Required Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreEmpty.schema.json new file mode 100644 index 00000000..640a2180 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreEmpty.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreEmpty.Msg.schema.json" + } + }, + "title": "Editions Message Legacy Required Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreUnspecified.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreUnspecified.Msg.schema.json new file mode 100644 index 00000000..61b1fe00 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreUnspecified.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreUnspecified.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b13304ba --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreUnspecified.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreUnspecified.Msg.jsonschema.strict.json" + } + }, + "title": "Editions Message Legacy Required Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreUnspecified.schema.json new file mode 100644 index 00000000..02dfd4d1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreUnspecified.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreUnspecified.Msg.schema.json" + } + }, + "title": "Editions Message Legacy Required Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..cc93e6b3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsOneofIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Editions Oneof Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsOneofIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsOneofIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreAlways.schema.json new file mode 100644 index 00000000..76d61c4d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreAlways.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsOneofIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Editions Oneof Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreAlwaysWithDefault.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreAlwaysWithDefault.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e2f3f38d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreAlwaysWithDefault.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsOneofIgnoreAlwaysWithDefault.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Editions Oneof Ignore Always With Default", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsOneofIgnoreAlwaysWithDefault.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsOneofIgnoreAlwaysWithDefault.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreAlwaysWithDefault.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreAlwaysWithDefault.schema.json new file mode 100644 index 00000000..7661bf27 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreAlwaysWithDefault.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsOneofIgnoreAlwaysWithDefault.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Editions Oneof Ignore Always With Default", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e546f331 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsOneofIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Editions Oneof Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsOneofIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsOneofIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreEmpty.schema.json new file mode 100644 index 00000000..ef44222e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreEmpty.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsOneofIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Editions Oneof Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreEmptyWithDefault.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreEmptyWithDefault.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e5ef1e9e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreEmptyWithDefault.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsOneofIgnoreEmptyWithDefault.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Editions Oneof Ignore Empty With Default", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsOneofIgnoreEmptyWithDefault.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsOneofIgnoreEmptyWithDefault.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreEmptyWithDefault.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreEmptyWithDefault.schema.json new file mode 100644 index 00000000..f798c4cf --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreEmptyWithDefault.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsOneofIgnoreEmptyWithDefault.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Editions Oneof Ignore Empty With Default", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..bd0f28e9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsOneofIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Editions Oneof Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsOneofIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsOneofIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreUnspecified.schema.json new file mode 100644 index 00000000..53b5ec66 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreUnspecified.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsOneofIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Editions Oneof Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreUnspecifiedWithDefault.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreUnspecifiedWithDefault.jsonschema.strict.bundle.json new file mode 100644 index 00000000..eb5268de --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreUnspecifiedWithDefault.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsOneofIgnoreUnspecifiedWithDefault.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Editions Oneof Ignore Unspecified With Default", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsOneofIgnoreUnspecifiedWithDefault.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsOneofIgnoreUnspecifiedWithDefault.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreUnspecifiedWithDefault.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreUnspecifiedWithDefault.schema.json new file mode 100644 index 00000000..dae6ef3b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsOneofIgnoreUnspecifiedWithDefault.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsOneofIgnoreUnspecifiedWithDefault.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Editions Oneof Ignore Unspecified With Default", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f332107c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Editions Repeated Expanded Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreAlways.schema.json new file mode 100644 index 00000000..0a187d69 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreAlways.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Editions Repeated Expanded Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d2d94c0e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Editions Repeated Expanded Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreEmpty.schema.json new file mode 100644 index 00000000..98474aba --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreEmpty.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Editions Repeated Expanded Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..16b45d8f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Editions Repeated Expanded Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreUnspecified.schema.json new file mode 100644 index 00000000..16214afb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreUnspecified.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Editions Repeated Expanded Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..c8a87a9a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Editions Repeated Expanded Item Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreAlways.schema.json new file mode 100644 index 00000000..5b428252 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreAlways.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Editions Repeated Expanded Item Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..1bb58da4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Editions Repeated Expanded Item Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreEmpty.schema.json new file mode 100644 index 00000000..cd221e03 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreEmpty.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Editions Repeated Expanded Item Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..07e1dc1f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Editions Repeated Expanded Item Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreUnspecified.schema.json new file mode 100644 index 00000000..78dee800 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreUnspecified.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Editions Repeated Expanded Item Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..fa3c7e40 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsRepeatedIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Editions Repeated Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsRepeatedIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsRepeatedIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedIgnoreAlways.schema.json new file mode 100644 index 00000000..ab0fd353 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedIgnoreAlways.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsRepeatedIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Editions Repeated Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d3c5c9d7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsRepeatedIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Editions Repeated Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsRepeatedIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsRepeatedIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedIgnoreEmpty.schema.json new file mode 100644 index 00000000..3ae9464c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedIgnoreEmpty.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsRepeatedIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Editions Repeated Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..78f96ce6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsRepeatedIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Editions Repeated Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsRepeatedIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsRepeatedIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedIgnoreUnspecified.schema.json new file mode 100644 index 00000000..7db30e18 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedIgnoreUnspecified.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsRepeatedIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Editions Repeated Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedItemIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedItemIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..712c26a7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedItemIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsRepeatedItemIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Editions Repeated Item Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsRepeatedItemIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsRepeatedItemIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedItemIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedItemIgnoreAlways.schema.json new file mode 100644 index 00000000..86ffd62d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedItemIgnoreAlways.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsRepeatedItemIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Editions Repeated Item Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedItemIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedItemIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..4aa5edfc --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedItemIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsRepeatedItemIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Editions Repeated Item Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsRepeatedItemIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsRepeatedItemIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedItemIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedItemIgnoreEmpty.schema.json new file mode 100644 index 00000000..aa960299 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedItemIgnoreEmpty.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsRepeatedItemIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Editions Repeated Item Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedItemIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedItemIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ae8ffd52 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedItemIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsRepeatedItemIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Editions Repeated Item Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsRepeatedItemIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsRepeatedItemIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedItemIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedItemIgnoreUnspecified.schema.json new file mode 100644 index 00000000..a96d1de1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsRepeatedItemIgnoreUnspecified.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsRepeatedItemIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Editions Repeated Item Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..16338bde --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Editions Scalar Explicit Presence Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreAlways.schema.json new file mode 100644 index 00000000..3f481557 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreAlways.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Editions Scalar Explicit Presence Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreAlwaysWithDefault.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreAlwaysWithDefault.jsonschema.strict.bundle.json new file mode 100644 index 00000000..73641728 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreAlwaysWithDefault.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreAlwaysWithDefault.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Editions Scalar Explicit Presence Ignore Always With Default", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreAlwaysWithDefault.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreAlwaysWithDefault.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreAlwaysWithDefault.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreAlwaysWithDefault.schema.json new file mode 100644 index 00000000..0330cbb5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreAlwaysWithDefault.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreAlwaysWithDefault.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Editions Scalar Explicit Presence Ignore Always With Default", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2506fe60 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Editions Scalar Explicit Presence Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreEmpty.schema.json new file mode 100644 index 00000000..eec6170e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreEmpty.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Editions Scalar Explicit Presence Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreEmptyWithDefault.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreEmptyWithDefault.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d8871f00 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreEmptyWithDefault.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreEmptyWithDefault.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Editions Scalar Explicit Presence Ignore Empty With Default", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreEmptyWithDefault.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreEmptyWithDefault.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreEmptyWithDefault.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreEmptyWithDefault.schema.json new file mode 100644 index 00000000..b291f937 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreEmptyWithDefault.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreEmptyWithDefault.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Editions Scalar Explicit Presence Ignore Empty With Default", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e1cf690b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Editions Scalar Explicit Presence Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreUnspecified.schema.json new file mode 100644 index 00000000..3ef545c5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreUnspecified.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Editions Scalar Explicit Presence Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b087de03 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Editions Scalar Explicit Presence Ignore Unspecified With Default", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault.schema.json new file mode 100644 index 00000000..c7a07703 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Editions Scalar Explicit Presence Ignore Unspecified With Default", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..aa9839bd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Editions Scalar Implicit Presence Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreAlways.schema.json new file mode 100644 index 00000000..4fdf20a2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreAlways.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Editions Scalar Implicit Presence Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f86a2bbb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Editions Scalar Implicit Presence Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreEmpty.schema.json new file mode 100644 index 00000000..123692ad --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreEmpty.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Editions Scalar Implicit Presence Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..1b44425a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Editions Scalar Implicit Presence Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreUnspecified.schema.json new file mode 100644 index 00000000..ec95df33 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreUnspecified.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Editions Scalar Implicit Presence Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..03c82d3f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Editions Scalar Legacy Required Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreAlways.schema.json new file mode 100644 index 00000000..cf611783 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreAlways.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Editions Scalar Legacy Required Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreAlwaysWithDefault.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreAlwaysWithDefault.jsonschema.strict.bundle.json new file mode 100644 index 00000000..1956a973 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreAlwaysWithDefault.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreAlwaysWithDefault.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Editions Scalar Legacy Required Ignore Always With Default", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreAlwaysWithDefault.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreAlwaysWithDefault.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreAlwaysWithDefault.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreAlwaysWithDefault.schema.json new file mode 100644 index 00000000..ac5b4836 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreAlwaysWithDefault.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreAlwaysWithDefault.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Editions Scalar Legacy Required Ignore Always With Default", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..5488b921 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Editions Scalar Legacy Required Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreEmpty.schema.json new file mode 100644 index 00000000..5893e181 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreEmpty.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Editions Scalar Legacy Required Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreEmptyWithDefault.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreEmptyWithDefault.jsonschema.strict.bundle.json new file mode 100644 index 00000000..add73f92 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreEmptyWithDefault.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreEmptyWithDefault.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Editions Scalar Legacy Required Ignore Empty With Default", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreEmptyWithDefault.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreEmptyWithDefault.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreEmptyWithDefault.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreEmptyWithDefault.schema.json new file mode 100644 index 00000000..4cacb3ff --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreEmptyWithDefault.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreEmptyWithDefault.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Editions Scalar Legacy Required Ignore Empty With Default", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..9269dc22 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Editions Scalar Legacy Required Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreUnspecified.schema.json new file mode 100644 index 00000000..cc549459 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreUnspecified.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Editions Scalar Legacy Required Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault.jsonschema.strict.bundle.json new file mode 100644 index 00000000..9b6c6a2d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Editions Scalar Legacy Required Ignore Unspecified With Default", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault.schema.json new file mode 100644 index 00000000..8a2c6099 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Editions Scalar Legacy Required Ignore Unspecified With Default", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Embed.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Embed.jsonschema.strict.bundle.json new file mode 100644 index 00000000..eb1837b0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Embed.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Embed.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Embed", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Embed.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Embed.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Embed.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Embed.schema.json new file mode 100644 index 00000000..347a2749 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Embed.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Embed.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Embed", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EnumAliasConst.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumAliasConst.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a985da6b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumAliasConst.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EnumAliasConst.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + "TEST_ENUM_ALIAS_B", + "TEST_ENUM_ALIAS_BETA" + ], + "title": "Test Enum Alias", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Enum Alias Const", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EnumAliasConst.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EnumAliasConst.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EnumAliasConst.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumAliasConst.schema.json new file mode 100644 index 00000000..c29d95f0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumAliasConst.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.EnumAliasConst.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + "TEST_ENUM_ALIAS_B", + "TEST_ENUM_ALIAS_BETA" + ], + "type": "string" + }, + { + "maximum": 2, + "minimum": 2, + "type": "integer" + } + ], + "default": 0, + "title": "Test Enum Alias" + } + }, + "title": "Enum Alias Const", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EnumAliasDefined.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumAliasDefined.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b8c5f270 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumAliasDefined.jsonschema.strict.bundle.json @@ -0,0 +1,31 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EnumAliasDefined.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + "TEST_ENUM_ALIAS_UNSPECIFIED", + "TEST_ENUM_ALIAS_A", + "TEST_ENUM_ALIAS_B", + "TEST_ENUM_ALIAS_C", + "TEST_ENUM_ALIAS_ALPHA", + "TEST_ENUM_ALIAS_BETA", + "TEST_ENUM_ALIAS_GAMMA" + ], + "title": "Test Enum Alias", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Enum Alias Defined", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EnumAliasDefined.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EnumAliasDefined.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EnumAliasDefined.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumAliasDefined.schema.json new file mode 100644 index 00000000..5f544ac5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumAliasDefined.schema.json @@ -0,0 +1,35 @@ +{ + "$id": "buf.validate.conformance.cases.EnumAliasDefined.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "pattern": "^TEST_ENUM_ALIAS_UNSPECIFIED$", + "type": "string" + }, + { + "enum": [ + "TEST_ENUM_ALIAS_A", + "TEST_ENUM_ALIAS_B", + "TEST_ENUM_ALIAS_C", + "TEST_ENUM_ALIAS_ALPHA", + "TEST_ENUM_ALIAS_BETA", + "TEST_ENUM_ALIAS_GAMMA" + ], + "type": "string" + }, + { + "maximum": 3, + "minimum": 0, + "type": "integer" + } + ], + "default": 0, + "title": "Test Enum Alias" + } + }, + "title": "Enum Alias Defined", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EnumAliasIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumAliasIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f5c1411a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumAliasIn.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EnumAliasIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + "TEST_ENUM_ALIAS_UNSPECIFIED", + "TEST_ENUM_ALIAS_B", + "TEST_ENUM_ALIAS_BETA" + ], + "title": "Test Enum Alias", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Enum Alias In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EnumAliasIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EnumAliasIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EnumAliasIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumAliasIn.schema.json new file mode 100644 index 00000000..8a6c57c5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumAliasIn.schema.json @@ -0,0 +1,36 @@ +{ + "$id": "buf.validate.conformance.cases.EnumAliasIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "pattern": "^TEST_ENUM_ALIAS_UNSPECIFIED$", + "type": "string" + }, + { + "enum": [ + "TEST_ENUM_ALIAS_B", + "TEST_ENUM_ALIAS_BETA" + ], + "type": "string" + }, + { + "maximum": 0, + "minimum": 0, + "type": "integer" + }, + { + "maximum": 2, + "minimum": 2, + "type": "integer" + } + ], + "default": 0, + "title": "Test Enum Alias" + } + }, + "title": "Enum Alias In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EnumAliasNotIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumAliasNotIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f39232dc --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumAliasNotIn.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EnumAliasNotIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + "TEST_ENUM_ALIAS_UNSPECIFIED", + "TEST_ENUM_ALIAS_B", + "TEST_ENUM_ALIAS_C", + "TEST_ENUM_ALIAS_BETA", + "TEST_ENUM_ALIAS_GAMMA" + ], + "title": "Test Enum Alias", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Enum Alias Not In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EnumAliasNotIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EnumAliasNotIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EnumAliasNotIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumAliasNotIn.schema.json new file mode 100644 index 00000000..1cc4dd63 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumAliasNotIn.schema.json @@ -0,0 +1,33 @@ +{ + "$id": "buf.validate.conformance.cases.EnumAliasNotIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "pattern": "^TEST_ENUM_ALIAS_UNSPECIFIED$", + "type": "string" + }, + { + "enum": [ + "TEST_ENUM_ALIAS_B", + "TEST_ENUM_ALIAS_C", + "TEST_ENUM_ALIAS_BETA", + "TEST_ENUM_ALIAS_GAMMA" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "default": 0, + "title": "Test Enum Alias" + } + }, + "title": "Enum Alias Not In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EnumConst.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumConst.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b6f15196 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumConst.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EnumConst.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + "TEST_ENUM_TWO" + ], + "title": "Test Enum", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Enum Const", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EnumConst.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EnumConst.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EnumConst.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumConst.schema.json new file mode 100644 index 00000000..443a78e5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumConst.schema.json @@ -0,0 +1,26 @@ +{ + "$id": "buf.validate.conformance.cases.EnumConst.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + "TEST_ENUM_TWO" + ], + "type": "string" + }, + { + "maximum": 2, + "minimum": 2, + "type": "integer" + } + ], + "default": 0, + "title": "Test Enum" + } + }, + "title": "Enum Const", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EnumDefined.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumDefined.jsonschema.strict.bundle.json new file mode 100644 index 00000000..0475d86b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumDefined.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EnumDefined.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + "TEST_ENUM_UNSPECIFIED", + "TEST_ENUM_ONE", + "TEST_ENUM_TWO" + ], + "title": "Test Enum", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Enum Defined", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EnumDefined.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EnumDefined.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EnumDefined.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumDefined.schema.json new file mode 100644 index 00000000..6c95090c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumDefined.schema.json @@ -0,0 +1,31 @@ +{ + "$id": "buf.validate.conformance.cases.EnumDefined.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "pattern": "^TEST_ENUM_UNSPECIFIED$", + "type": "string" + }, + { + "enum": [ + "TEST_ENUM_ONE", + "TEST_ENUM_TWO" + ], + "type": "string" + }, + { + "maximum": 2, + "minimum": 0, + "type": "integer" + } + ], + "default": 0, + "title": "Test Enum" + } + }, + "title": "Enum Defined", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EnumExample.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumExample.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b19ed59e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumExample.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EnumExample.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + "TEST_ENUM_UNSPECIFIED", + "TEST_ENUM_ONE", + "TEST_ENUM_TWO" + ], + "title": "Test Enum", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Enum Example", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EnumExample.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EnumExample.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EnumExample.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumExample.schema.json new file mode 100644 index 00000000..46e34840 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumExample.schema.json @@ -0,0 +1,31 @@ +{ + "$id": "buf.validate.conformance.cases.EnumExample.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "pattern": "^TEST_ENUM_UNSPECIFIED$", + "type": "string" + }, + { + "enum": [ + "TEST_ENUM_ONE", + "TEST_ENUM_TWO" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "default": 0, + "title": "Test Enum" + } + }, + "title": "Enum Example", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EnumExternal.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumExternal.jsonschema.strict.bundle.json new file mode 100644 index 00000000..70956c4e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumExternal.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EnumExternal.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + "ENUMERATED_UNSPECIFIED", + "ENUMERATED_VALUE" + ], + "title": "Enumerated", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Enum External", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EnumExternal.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EnumExternal.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EnumExternal.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumExternal.schema.json new file mode 100644 index 00000000..5258847d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumExternal.schema.json @@ -0,0 +1,30 @@ +{ + "$id": "buf.validate.conformance.cases.EnumExternal.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "pattern": "^ENUMERATED_UNSPECIFIED$", + "type": "string" + }, + { + "enum": [ + "ENUMERATED_VALUE" + ], + "type": "string" + }, + { + "maximum": 1, + "minimum": 0, + "type": "integer" + } + ], + "default": 0, + "title": "Enumerated" + } + }, + "title": "Enum External", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EnumExternal2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumExternal2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e71e6bbc --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumExternal2.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EnumExternal2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + "DOUBLE_ENUMERATED_UNSPECIFIED", + "DOUBLE_ENUMERATED_VALUE" + ], + "title": "Double Enumerated", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Enum External2", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EnumExternal2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EnumExternal2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EnumExternal2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumExternal2.schema.json new file mode 100644 index 00000000..070faac4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumExternal2.schema.json @@ -0,0 +1,30 @@ +{ + "$id": "buf.validate.conformance.cases.EnumExternal2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "pattern": "^DOUBLE_ENUMERATED_UNSPECIFIED$", + "type": "string" + }, + { + "enum": [ + "DOUBLE_ENUMERATED_VALUE" + ], + "type": "string" + }, + { + "maximum": 1, + "minimum": 0, + "type": "integer" + } + ], + "default": 0, + "title": "Double Enumerated" + } + }, + "title": "Enum External2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EnumIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e7e5aa2e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumIn.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EnumIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + "TEST_ENUM_UNSPECIFIED", + "TEST_ENUM_TWO" + ], + "title": "Test Enum", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Enum In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EnumIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EnumIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EnumIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumIn.schema.json new file mode 100644 index 00000000..fc62de6d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumIn.schema.json @@ -0,0 +1,35 @@ +{ + "$id": "buf.validate.conformance.cases.EnumIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "pattern": "^TEST_ENUM_UNSPECIFIED$", + "type": "string" + }, + { + "enum": [ + "TEST_ENUM_TWO" + ], + "type": "string" + }, + { + "maximum": 0, + "minimum": 0, + "type": "integer" + }, + { + "maximum": 2, + "minimum": 2, + "type": "integer" + } + ], + "default": 0, + "title": "Test Enum" + } + }, + "title": "Enum In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EnumInsideOneof.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumInsideOneof.jsonschema.strict.bundle.json new file mode 100644 index 00000000..831e03ef --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumInsideOneof.jsonschema.strict.bundle.json @@ -0,0 +1,32 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EnumInsideOneof.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + "TEST_ENUM_UNSPECIFIED", + "TEST_ENUM_ONE", + "TEST_ENUM_TWO" + ], + "title": "Test Enum", + "type": "string" + }, + "val2": { + "enum": [ + "TEST_ENUM_ONE", + "TEST_ENUM_TWO" + ], + "title": "Test Enum", + "type": "string" + } + }, + "title": "Enum Inside Oneof", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EnumInsideOneof.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EnumInsideOneof.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EnumInsideOneof.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumInsideOneof.schema.json new file mode 100644 index 00000000..2bb006fb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumInsideOneof.schema.json @@ -0,0 +1,44 @@ +{ + "$id": "buf.validate.conformance.cases.EnumInsideOneof.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + "TEST_ENUM_UNSPECIFIED", + "TEST_ENUM_ONE", + "TEST_ENUM_TWO" + ], + "type": "string" + }, + { + "maximum": 2, + "minimum": 0, + "type": "integer" + } + ], + "title": "Test Enum" + }, + "val2": { + "anyOf": [ + { + "enum": [ + "TEST_ENUM_ONE", + "TEST_ENUM_TWO" + ], + "type": "string" + }, + { + "maximum": 2, + "minimum": 1, + "type": "integer" + } + ], + "title": "Test Enum" + } + }, + "title": "Enum Inside Oneof", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EnumNone.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumNone.jsonschema.strict.bundle.json new file mode 100644 index 00000000..3056e1dd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumNone.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EnumNone.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + "TEST_ENUM_UNSPECIFIED", + "TEST_ENUM_ONE", + "TEST_ENUM_TWO" + ], + "title": "Test Enum", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Enum None", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EnumNone.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EnumNone.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EnumNone.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumNone.schema.json new file mode 100644 index 00000000..5b6fae6d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumNone.schema.json @@ -0,0 +1,31 @@ +{ + "$id": "buf.validate.conformance.cases.EnumNone.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "pattern": "^TEST_ENUM_UNSPECIFIED$", + "type": "string" + }, + { + "enum": [ + "TEST_ENUM_ONE", + "TEST_ENUM_TWO" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "default": 0, + "title": "Test Enum" + } + }, + "title": "Enum None", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EnumNotIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumNotIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b4faaad5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumNotIn.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.EnumNotIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + "TEST_ENUM_UNSPECIFIED", + "TEST_ENUM_TWO" + ], + "title": "Test Enum", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Enum Not In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.EnumNotIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.EnumNotIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.EnumNotIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumNotIn.schema.json new file mode 100644 index 00000000..2c5ed244 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.EnumNotIn.schema.json @@ -0,0 +1,30 @@ +{ + "$id": "buf.validate.conformance.cases.EnumNotIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "pattern": "^TEST_ENUM_UNSPECIFIED$", + "type": "string" + }, + { + "enum": [ + "TEST_ENUM_TWO" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "default": 0, + "title": "Test Enum" + } + }, + "title": "Enum Not In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32Const.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32Const.jsonschema.strict.bundle.json new file mode 100644 index 00000000..3e4dcc25 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32Const.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed32Const.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + 1 + ], + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Fixed32 Const", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed32Const.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed32Const.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32Const.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32Const.schema.json new file mode 100644 index 00000000..cc4a8682 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32Const.schema.json @@ -0,0 +1,26 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed32Const.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + 1 + ], + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed32 Const", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32ExGTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32ExGTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..be3d56ef --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32ExGTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,32 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed32ExGTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 128, + "minimum": 0, + "type": "integer" + }, + { + "exclusiveMaximum": 4294967296, + "minimum": 256, + "type": "integer" + } + ] + } + }, + "required": [ + "val" + ], + "title": "Fixed32 ExGTELTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed32ExGTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed32ExGTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32ExGTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32ExGTELTE.schema.json new file mode 100644 index 00000000..479b099f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32ExGTELTE.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed32ExGTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 128, + "minimum": 0, + "type": "integer" + }, + { + "exclusiveMaximum": 4294967296, + "minimum": 256, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed32 ExGTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32ExLTGT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32ExLTGT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d47ec45c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32ExLTGT.jsonschema.strict.bundle.json @@ -0,0 +1,32 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed32ExLTGT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 5, + "minimum": 0, + "type": "integer" + }, + { + "exclusiveMaximum": 4294967296, + "exclusiveMinimum": 10, + "type": "integer" + } + ] + } + }, + "required": [ + "val" + ], + "title": "Fixed32 ExLTGT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed32ExLTGT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed32ExLTGT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32ExLTGT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32ExLTGT.schema.json new file mode 100644 index 00000000..c151f2c8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32ExLTGT.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed32ExLTGT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 5, + "minimum": 0, + "type": "integer" + }, + { + "exclusiveMaximum": 4294967296, + "exclusiveMinimum": 10, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed32 ExLTGT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32Example.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32Example.jsonschema.strict.bundle.json new file mode 100644 index 00000000..21c9d7d4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32Example.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed32Example.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Fixed32 Example", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed32Example.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed32Example.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32Example.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32Example.schema.json new file mode 100644 index 00000000..b555e715 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32Example.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed32Example.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed32 Example", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32GT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32GT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..20ffa156 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32GT.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed32GT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 4294967296, + "exclusiveMinimum": 16, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Fixed32GT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed32GT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed32GT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32GT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32GT.schema.json new file mode 100644 index 00000000..85998463 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32GT.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed32GT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 4294967296, + "exclusiveMinimum": 16, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed32GT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32GTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32GTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..913bf8e4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32GTE.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed32GTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 4294967296, + "minimum": 8, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Fixed32GTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed32GTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed32GTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32GTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32GTE.schema.json new file mode 100644 index 00000000..a471246a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32GTE.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed32GTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 4294967296, + "minimum": 8, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed32GTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32GTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32GTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..fa81a293 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32GTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed32GTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 256, + "minimum": 128, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Fixed32GTELTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed32GTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed32GTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32GTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32GTELTE.schema.json new file mode 100644 index 00000000..8c227fdd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32GTELTE.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed32GTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 256, + "minimum": 128, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed32GTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32GTLT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32GTLT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..158a76bb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32GTLT.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed32GTLT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 10, + "exclusiveMinimum": 5, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Fixed32GTLT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed32GTLT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed32GTLT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32GTLT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32GTLT.schema.json new file mode 100644 index 00000000..91620ebe --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32GTLT.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed32GTLT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 10, + "exclusiveMinimum": 5, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed32GTLT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32Ignore.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32Ignore.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a1c50e3f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32Ignore.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed32Ignore.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 256, + "minimum": 128, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Fixed32 Ignore", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed32Ignore.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed32Ignore.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32Ignore.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32Ignore.schema.json new file mode 100644 index 00000000..5b397bf3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32Ignore.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed32Ignore.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 256, + "minimum": 128, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed32 Ignore", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32In.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32In.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2f7d528f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32In.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed32In.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + 2, + 3 + ], + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Fixed32 In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed32In.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed32In.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32In.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32In.schema.json new file mode 100644 index 00000000..c19afd3d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32In.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed32In.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + 2, + 3 + ], + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed32 In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32IncorrectType.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32IncorrectType.jsonschema.strict.bundle.json new file mode 100644 index 00000000..3bbf987e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32IncorrectType.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed32IncorrectType.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 4294967295, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Fixed32 Incorrect Type", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed32IncorrectType.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed32IncorrectType.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32IncorrectType.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32IncorrectType.schema.json new file mode 100644 index 00000000..bd1adf65 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32IncorrectType.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed32IncorrectType.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 4294967295, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed32 Incorrect Type", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32LT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32LT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7caa8532 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32LT.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed32LT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 5, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Fixed32LT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed32LT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed32LT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32LT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32LT.schema.json new file mode 100644 index 00000000..20d2b407 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32LT.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed32LT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 5, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed32LT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32LTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32LTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2dc52bf3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32LTE.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed32LTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 64, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Fixed32LTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed32LTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed32LTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32LTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32LTE.schema.json new file mode 100644 index 00000000..87d524ce --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32LTE.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed32LTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 64, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed32LTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32None.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32None.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d842d5b0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32None.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed32None.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 4294967295, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Fixed32 None", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed32None.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed32None.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32None.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32None.schema.json new file mode 100644 index 00000000..43434212 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32None.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed32None.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 4294967295, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed32 None", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32NotIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32NotIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b31f9f89 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32NotIn.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed32NotIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Fixed32 Not In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed32NotIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed32NotIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32NotIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32NotIn.schema.json new file mode 100644 index 00000000..dfc249a9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed32NotIn.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed32NotIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed32 Not In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64Const.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64Const.jsonschema.strict.bundle.json new file mode 100644 index 00000000..5a74fd0f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64Const.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed64Const.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + 1 + ], + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Fixed64 Const", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed64Const.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed64Const.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64Const.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64Const.schema.json new file mode 100644 index 00000000..c6d338af --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64Const.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed64Const.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + 1 + ], + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed64 Const", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64ExGTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64ExGTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6fd17fb2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64ExGTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,31 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed64ExGTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 128, + "minimum": 0, + "type": "integer" + }, + { + "minimum": 256, + "type": "integer" + } + ] + } + }, + "required": [ + "val" + ], + "title": "Fixed64 ExGTELTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed64ExGTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed64ExGTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64ExGTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64ExGTELTE.schema.json new file mode 100644 index 00000000..6b66ec94 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64ExGTELTE.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed64ExGTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 128, + "minimum": 0, + "type": "integer" + }, + { + "minimum": 256, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed64 ExGTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64ExLTGT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64ExLTGT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..940dd801 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64ExLTGT.jsonschema.strict.bundle.json @@ -0,0 +1,31 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed64ExLTGT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 5, + "minimum": 0, + "type": "integer" + }, + { + "exclusiveMinimum": 10, + "type": "integer" + } + ] + } + }, + "required": [ + "val" + ], + "title": "Fixed64 ExLTGT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed64ExLTGT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed64ExLTGT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64ExLTGT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64ExLTGT.schema.json new file mode 100644 index 00000000..16344635 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64ExLTGT.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed64ExLTGT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 5, + "minimum": 0, + "type": "integer" + }, + { + "exclusiveMinimum": 10, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed64 ExLTGT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64Example.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64Example.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7a4737b6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64Example.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed64Example.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Fixed64 Example", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed64Example.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed64Example.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64Example.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64Example.schema.json new file mode 100644 index 00000000..894a6f61 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64Example.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed64Example.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed64 Example", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64GT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64GT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..52ff089a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64GT.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed64GT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMinimum": 16, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Fixed64GT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed64GT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed64GT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64GT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64GT.schema.json new file mode 100644 index 00000000..2652a396 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64GT.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed64GT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMinimum": 16, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed64GT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64GTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64GTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b523d4f8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64GTE.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed64GTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "minimum": 8, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Fixed64GTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed64GTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed64GTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64GTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64GTE.schema.json new file mode 100644 index 00000000..b547912e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64GTE.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed64GTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "minimum": 8, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed64GTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64GTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64GTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..78d0b752 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64GTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed64GTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 256, + "minimum": 128, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Fixed64GTELTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed64GTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed64GTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64GTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64GTELTE.schema.json new file mode 100644 index 00000000..c83bb584 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64GTELTE.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed64GTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 256, + "minimum": 128, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed64GTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64GTLT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64GTLT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..3e005646 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64GTLT.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed64GTLT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 10, + "exclusiveMinimum": 5, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Fixed64GTLT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed64GTLT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed64GTLT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64GTLT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64GTLT.schema.json new file mode 100644 index 00000000..56fefe57 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64GTLT.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed64GTLT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 10, + "exclusiveMinimum": 5, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed64GTLT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64Ignore.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64Ignore.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2c231c8f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64Ignore.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed64Ignore.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 256, + "minimum": 128, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Fixed64 Ignore", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed64Ignore.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed64Ignore.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64Ignore.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64Ignore.schema.json new file mode 100644 index 00000000..3552b0b2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64Ignore.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed64Ignore.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 256, + "minimum": 128, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed64 Ignore", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64In.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64In.jsonschema.strict.bundle.json new file mode 100644 index 00000000..71c59ea9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64In.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed64In.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + 2, + 3 + ], + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Fixed64 In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed64In.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed64In.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64In.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64In.schema.json new file mode 100644 index 00000000..552c46db --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64In.schema.json @@ -0,0 +1,26 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed64In.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + 2, + 3 + ], + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed64 In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64IncorrectType.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64IncorrectType.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2bd9debb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64IncorrectType.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed64IncorrectType.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Fixed64 Incorrect Type", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed64IncorrectType.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed64IncorrectType.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64IncorrectType.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64IncorrectType.schema.json new file mode 100644 index 00000000..5342d876 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64IncorrectType.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed64IncorrectType.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed64 Incorrect Type", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64LT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64LT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f28afc0b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64LT.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed64LT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 5, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Fixed64LT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed64LT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed64LT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64LT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64LT.schema.json new file mode 100644 index 00000000..9422631a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64LT.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed64LT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 5, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed64LT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64LTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64LTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d751c093 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64LTE.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed64LTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 64, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Fixed64LTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed64LTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed64LTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64LTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64LTE.schema.json new file mode 100644 index 00000000..1ccc293c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64LTE.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed64LTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 64, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed64LTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64None.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64None.jsonschema.strict.bundle.json new file mode 100644 index 00000000..3bbfa812 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64None.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed64None.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Fixed64 None", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed64None.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed64None.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64None.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64None.schema.json new file mode 100644 index 00000000..447e718a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64None.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed64None.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed64 None", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64NotIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64NotIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..1725a0c3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64NotIn.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Fixed64NotIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Fixed64 Not In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Fixed64NotIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Fixed64NotIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64NotIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64NotIn.schema.json new file mode 100644 index 00000000..ddc0dcd1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Fixed64NotIn.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Fixed64NotIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Fixed64 Not In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatConst.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatConst.jsonschema.strict.bundle.json new file mode 100644 index 00000000..72033882 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatConst.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.FloatConst.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + 1.23 + ], + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + } + }, + "required": [ + "val" + ], + "title": "Float Const", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.FloatConst.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.FloatConst.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatConst.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatConst.schema.json new file mode 100644 index 00000000..eff961aa --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatConst.schema.json @@ -0,0 +1,26 @@ +{ + "$id": "buf.validate.conformance.cases.FloatConst.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + 1.23 + ], + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "pattern": "^-?[0-9]+(\\.[0-9]+)?([eE][+-]?[0-9]+)?$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Float Const", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatExGTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatExGTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..9819e6aa --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatExGTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,37 @@ +{ + "$defs": { + "buf.validate.conformance.cases.FloatExGTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 128, + "type": "number" + }, + { + "minimum": 256, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity" + ], + "type": "string" + } + ] + } + }, + "required": [ + "val" + ], + "title": "Float ExGTELTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.FloatExGTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.FloatExGTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatExGTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatExGTELTE.schema.json new file mode 100644 index 00000000..3af0281e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatExGTELTE.schema.json @@ -0,0 +1,32 @@ +{ + "$id": "buf.validate.conformance.cases.FloatExGTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 128, + "type": "number" + }, + { + "minimum": 256, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity" + ], + "type": "string" + }, + { + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Float ExGTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatExLTGT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatExLTGT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..fb0e760e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatExLTGT.jsonschema.strict.bundle.json @@ -0,0 +1,37 @@ +{ + "$defs": { + "buf.validate.conformance.cases.FloatExLTGT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "type": "number" + }, + { + "exclusiveMinimum": 10, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity" + ], + "type": "string" + } + ] + } + }, + "required": [ + "val" + ], + "title": "Float ExLTGT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.FloatExLTGT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.FloatExLTGT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatExLTGT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatExLTGT.schema.json new file mode 100644 index 00000000..ba49a3e0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatExLTGT.schema.json @@ -0,0 +1,32 @@ +{ + "$id": "buf.validate.conformance.cases.FloatExLTGT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "type": "number" + }, + { + "exclusiveMinimum": 10, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity" + ], + "type": "string" + }, + { + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Float ExLTGT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatExample.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatExample.jsonschema.strict.bundle.json new file mode 100644 index 00000000..8a8e8763 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatExample.jsonschema.strict.bundle.json @@ -0,0 +1,35 @@ +{ + "$defs": { + "buf.validate.conformance.cases.FloatExample.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ] + } + }, + "required": [ + "val" + ], + "title": "Float Example", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.FloatExample.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.FloatExample.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatExample.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatExample.schema.json new file mode 100644 index 00000000..f7b70dd0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatExample.schema.json @@ -0,0 +1,30 @@ +{ + "$id": "buf.validate.conformance.cases.FloatExample.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + }, + { + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Float Example", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatFinite.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatFinite.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7455fb07 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatFinite.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.FloatFinite.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + } + }, + "required": [ + "val" + ], + "title": "Float Finite", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.FloatFinite.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.FloatFinite.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatFinite.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatFinite.schema.json new file mode 100644 index 00000000..da8346ab --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatFinite.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.FloatFinite.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "pattern": "^-?[0-9]+(\\.[0-9]+)?([eE][+-]?[0-9]+)?$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Float Finite", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatGT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatGT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..019df0c2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatGT.jsonschema.strict.bundle.json @@ -0,0 +1,33 @@ +{ + "$defs": { + "buf.validate.conformance.cases.FloatGT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMinimum": 16, + "maximum": 3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity" + ], + "type": "string" + } + ] + } + }, + "required": [ + "val" + ], + "title": "FloatGT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.FloatGT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.FloatGT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatGT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatGT.schema.json new file mode 100644 index 00000000..18615837 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatGT.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "buf.validate.conformance.cases.FloatGT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMinimum": 16, + "maximum": 3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity" + ], + "type": "string" + }, + { + "type": "string" + } + ], + "default": 0 + } + }, + "title": "FloatGT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatGTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatGTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f6118986 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatGTE.jsonschema.strict.bundle.json @@ -0,0 +1,33 @@ +{ + "$defs": { + "buf.validate.conformance.cases.FloatGTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": 8, + "type": "number" + }, + { + "enum": [ + "Infinity" + ], + "type": "string" + } + ] + } + }, + "required": [ + "val" + ], + "title": "FloatGTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.FloatGTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.FloatGTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatGTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatGTE.schema.json new file mode 100644 index 00000000..e340eaa5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatGTE.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "buf.validate.conformance.cases.FloatGTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": 8, + "type": "number" + }, + { + "enum": [ + "Infinity" + ], + "type": "string" + }, + { + "type": "string" + } + ], + "default": 0 + } + }, + "title": "FloatGTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatGTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatGTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2f0f833f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatGTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.FloatGTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 256, + "minimum": 128, + "type": "number" + } + }, + "required": [ + "val" + ], + "title": "FloatGTELTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.FloatGTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.FloatGTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatGTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatGTELTE.schema.json new file mode 100644 index 00000000..00424c9b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatGTELTE.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.FloatGTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 256, + "minimum": 128, + "type": "number" + }, + { + "pattern": "^-?[0-9]+(\\.[0-9]+)?([eE][+-]?[0-9]+)?$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "FloatGTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatGTLT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatGTLT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..8a9db86b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatGTLT.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.FloatGTLT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 10, + "exclusiveMinimum": 0, + "type": "number" + } + }, + "required": [ + "val" + ], + "title": "FloatGTLT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.FloatGTLT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.FloatGTLT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatGTLT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatGTLT.schema.json new file mode 100644 index 00000000..aa3fd680 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatGTLT.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.FloatGTLT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 10, + "exclusiveMinimum": 0, + "type": "number" + }, + { + "pattern": "^-?[0-9]+(\\.[0-9]+)?([eE][+-]?[0-9]+)?$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "FloatGTLT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatIgnore.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatIgnore.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f621a75b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatIgnore.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.FloatIgnore.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 256, + "minimum": 128, + "type": "number" + } + }, + "required": [ + "val" + ], + "title": "Float Ignore", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.FloatIgnore.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.FloatIgnore.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatIgnore.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatIgnore.schema.json new file mode 100644 index 00000000..95a14ffb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatIgnore.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.FloatIgnore.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 256, + "minimum": 128, + "type": "number" + }, + { + "pattern": "^-?[0-9]+(\\.[0-9]+)?([eE][+-]?[0-9]+)?$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Float Ignore", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..08549536 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatIn.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.FloatIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + 4.56, + 7.89 + ], + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + } + }, + "required": [ + "val" + ], + "title": "Float In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.FloatIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.FloatIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatIn.schema.json new file mode 100644 index 00000000..c4558aaf --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatIn.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.FloatIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + 4.56, + 7.89 + ], + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "pattern": "^-?[0-9]+(\\.[0-9]+)?([eE][+-]?[0-9]+)?$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Float In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatIncorrectType.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatIncorrectType.jsonschema.strict.bundle.json new file mode 100644 index 00000000..16cfda26 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatIncorrectType.jsonschema.strict.bundle.json @@ -0,0 +1,32 @@ +{ + "$defs": { + "buf.validate.conformance.cases.FloatIncorrectType.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "type": "number" + }, + { + "enum": [ + "Infinity" + ], + "type": "string" + } + ] + } + }, + "required": [ + "val" + ], + "title": "Float Incorrect Type", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.FloatIncorrectType.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.FloatIncorrectType.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatIncorrectType.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatIncorrectType.schema.json new file mode 100644 index 00000000..0170159c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatIncorrectType.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.FloatIncorrectType.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "type": "number" + }, + { + "enum": [ + "Infinity" + ], + "type": "string" + }, + { + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Float Incorrect Type", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatLT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatLT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..c7b5728f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatLT.jsonschema.strict.bundle.json @@ -0,0 +1,33 @@ +{ + "$defs": { + "buf.validate.conformance.cases.FloatLT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "-Infinity" + ], + "type": "string" + } + ] + } + }, + "required": [ + "val" + ], + "title": "FloatLT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.FloatLT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.FloatLT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatLT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatLT.schema.json new file mode 100644 index 00000000..9e8aa673 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatLT.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "buf.validate.conformance.cases.FloatLT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "-Infinity" + ], + "type": "string" + }, + { + "type": "string" + } + ], + "default": 0 + } + }, + "title": "FloatLT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatLTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatLTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..004782c1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatLTE.jsonschema.strict.bundle.json @@ -0,0 +1,33 @@ +{ + "$defs": { + "buf.validate.conformance.cases.FloatLTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 64, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "-Infinity" + ], + "type": "string" + } + ] + } + }, + "required": [ + "val" + ], + "title": "FloatLTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.FloatLTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.FloatLTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatLTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatLTE.schema.json new file mode 100644 index 00000000..b175d13f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatLTE.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "buf.validate.conformance.cases.FloatLTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 64, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "-Infinity" + ], + "type": "string" + }, + { + "type": "string" + } + ], + "default": 0 + } + }, + "title": "FloatLTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatNone.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatNone.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f9e7aa92 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatNone.jsonschema.strict.bundle.json @@ -0,0 +1,35 @@ +{ + "$defs": { + "buf.validate.conformance.cases.FloatNone.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ] + } + }, + "required": [ + "val" + ], + "title": "Float None", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.FloatNone.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.FloatNone.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatNone.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatNone.schema.json new file mode 100644 index 00000000..37d20080 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatNone.schema.json @@ -0,0 +1,30 @@ +{ + "$id": "buf.validate.conformance.cases.FloatNone.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + }, + { + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Float None", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatNotFinite.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatNotFinite.jsonschema.strict.bundle.json new file mode 100644 index 00000000..9c186495 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatNotFinite.jsonschema.strict.bundle.json @@ -0,0 +1,35 @@ +{ + "$defs": { + "buf.validate.conformance.cases.FloatNotFinite.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ] + } + }, + "required": [ + "val" + ], + "title": "Float Not Finite", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.FloatNotFinite.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.FloatNotFinite.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatNotFinite.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatNotFinite.schema.json new file mode 100644 index 00000000..98b37163 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatNotFinite.schema.json @@ -0,0 +1,30 @@ +{ + "$id": "buf.validate.conformance.cases.FloatNotFinite.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + }, + { + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Float Not Finite", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatNotIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatNotIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e750f418 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatNotIn.jsonschema.strict.bundle.json @@ -0,0 +1,35 @@ +{ + "$defs": { + "buf.validate.conformance.cases.FloatNotIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ] + } + }, + "required": [ + "val" + ], + "title": "Float Not In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.FloatNotIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.FloatNotIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.FloatNotIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatNotIn.schema.json new file mode 100644 index 00000000..b05bb779 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.FloatNotIn.schema.json @@ -0,0 +1,30 @@ +{ + "$id": "buf.validate.conformance.cases.FloatNotIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + }, + { + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Float Not In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMap.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMap.jsonschema.strict.bundle.json new file mode 100644 index 00000000..bdfa4e07 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMap.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyEditionsMap.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Ignore Empty Editions Map", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsMap.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyEditionsMap.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMap.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMap.schema.json new file mode 100644 index 00000000..251a52bd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMap.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsMap.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Ignore Empty Editions Map", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresence.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresence.Msg.schema.json new file mode 100644 index 00000000..d238657f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresence.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresence.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresence.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresence.jsonschema.strict.bundle.json new file mode 100644 index 00000000..61edd371 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresence.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresence.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresence.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresence.Msg.jsonschema.strict.json" + } + }, + "title": "Ignore Empty Editions Message Explicit Presence", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresence.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresence.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresence.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresence.schema.json new file mode 100644 index 00000000..dc7b0139 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresence.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresence.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresence.Msg.schema.json" + } + }, + "title": "Ignore Empty Editions Message Explicit Presence", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresenceDelimited.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresenceDelimited.Msg.schema.json new file mode 100644 index 00000000..c0a1f915 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresenceDelimited.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresenceDelimited.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresenceDelimited.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresenceDelimited.jsonschema.strict.bundle.json new file mode 100644 index 00000000..eb5fb49a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresenceDelimited.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresenceDelimited.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresenceDelimited.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresenceDelimited.Msg.jsonschema.strict.json" + } + }, + "title": "Ignore Empty Editions Message Explicit Presence Delimited", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresenceDelimited.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresenceDelimited.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresenceDelimited.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresenceDelimited.schema.json new file mode 100644 index 00000000..493c86b4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresenceDelimited.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresenceDelimited.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresenceDelimited.Msg.schema.json" + } + }, + "title": "Ignore Empty Editions Message Explicit Presence Delimited", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequired.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequired.Msg.schema.json new file mode 100644 index 00000000..ea8c8479 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequired.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequired.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequired.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequired.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6b4d1b6b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequired.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequired.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequired.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequired.Msg.jsonschema.strict.json" + } + }, + "title": "Ignore Empty Editions Message Legacy Required", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequired.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequired.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequired.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequired.schema.json new file mode 100644 index 00000000..906b5e9a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequired.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequired.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequired.Msg.schema.json" + } + }, + "title": "Ignore Empty Editions Message Legacy Required", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequiredDelimited.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequiredDelimited.Msg.schema.json new file mode 100644 index 00000000..a2d83a59 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequiredDelimited.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequiredDelimited.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequiredDelimited.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequiredDelimited.jsonschema.strict.bundle.json new file mode 100644 index 00000000..c7472afe --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequiredDelimited.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequiredDelimited.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequiredDelimited.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequiredDelimited.Msg.jsonschema.strict.json" + } + }, + "title": "Ignore Empty Editions Message Legacy Required Delimited", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequiredDelimited.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequiredDelimited.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequiredDelimited.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequiredDelimited.schema.json new file mode 100644 index 00000000..272b5039 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequiredDelimited.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequiredDelimited.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequiredDelimited.Msg.schema.json" + } + }, + "title": "Ignore Empty Editions Message Legacy Required Delimited", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsOneof.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsOneof.jsonschema.strict.bundle.json new file mode 100644 index 00000000..393686e3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsOneof.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyEditionsOneof.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Ignore Empty Editions Oneof", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsOneof.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyEditionsOneof.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsOneof.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsOneof.schema.json new file mode 100644 index 00000000..b02edda4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsOneof.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsOneof.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Ignore Empty Editions Oneof", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsRepeated.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsRepeated.jsonschema.strict.bundle.json new file mode 100644 index 00000000..db94e48e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsRepeated.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyEditionsRepeated.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Ignore Empty Editions Repeated", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsRepeated.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyEditionsRepeated.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsRepeated.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsRepeated.schema.json new file mode 100644 index 00000000..f92b8d1c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsRepeated.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsRepeated.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Ignore Empty Editions Repeated", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsRepeatedExpanded.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsRepeatedExpanded.jsonschema.strict.bundle.json new file mode 100644 index 00000000..50ef26dd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsRepeatedExpanded.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyEditionsRepeatedExpanded.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Ignore Empty Editions Repeated Expanded", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsRepeatedExpanded.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyEditionsRepeatedExpanded.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsRepeatedExpanded.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsRepeatedExpanded.schema.json new file mode 100644 index 00000000..fa24db9d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsRepeatedExpanded.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsRepeatedExpanded.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Ignore Empty Editions Repeated Expanded", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarExplicitPresence.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarExplicitPresence.jsonschema.strict.bundle.json new file mode 100644 index 00000000..33582534 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarExplicitPresence.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyEditionsScalarExplicitPresence.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Ignore Empty Editions Scalar Explicit Presence", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsScalarExplicitPresence.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarExplicitPresence.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarExplicitPresence.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarExplicitPresence.schema.json new file mode 100644 index 00000000..6f85dc1e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarExplicitPresence.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsScalarExplicitPresence.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Ignore Empty Editions Scalar Explicit Presence", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarExplicitPresenceWithDefault.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarExplicitPresenceWithDefault.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a4ea9c85 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarExplicitPresenceWithDefault.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyEditionsScalarExplicitPresenceWithDefault.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Ignore Empty Editions Scalar Explicit Presence With Default", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsScalarExplicitPresenceWithDefault.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarExplicitPresenceWithDefault.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarExplicitPresenceWithDefault.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarExplicitPresenceWithDefault.schema.json new file mode 100644 index 00000000..06ff2b74 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarExplicitPresenceWithDefault.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsScalarExplicitPresenceWithDefault.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Ignore Empty Editions Scalar Explicit Presence With Default", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarImplicitPresence.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarImplicitPresence.jsonschema.strict.bundle.json new file mode 100644 index 00000000..03329c76 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarImplicitPresence.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyEditionsScalarImplicitPresence.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Ignore Empty Editions Scalar Implicit Presence", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsScalarImplicitPresence.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarImplicitPresence.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarImplicitPresence.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarImplicitPresence.schema.json new file mode 100644 index 00000000..7c1ac947 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarImplicitPresence.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsScalarImplicitPresence.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Ignore Empty Editions Scalar Implicit Presence", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarLegacyRequired.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarLegacyRequired.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ceedc951 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarLegacyRequired.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyEditionsScalarLegacyRequired.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Ignore Empty Editions Scalar Legacy Required", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsScalarLegacyRequired.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarLegacyRequired.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarLegacyRequired.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarLegacyRequired.schema.json new file mode 100644 index 00000000..d146b647 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarLegacyRequired.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsScalarLegacyRequired.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Ignore Empty Editions Scalar Legacy Required", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarLegacyRequiredWithDefault.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarLegacyRequiredWithDefault.jsonschema.strict.bundle.json new file mode 100644 index 00000000..67f8e0fd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarLegacyRequiredWithDefault.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyEditionsScalarLegacyRequiredWithDefault.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Ignore Empty Editions Scalar Legacy Required With Default", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsScalarLegacyRequiredWithDefault.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarLegacyRequiredWithDefault.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarLegacyRequiredWithDefault.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarLegacyRequiredWithDefault.schema.json new file mode 100644 index 00000000..dfed4715 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyEditionsScalarLegacyRequiredWithDefault.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyEditionsScalarLegacyRequiredWithDefault.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Ignore Empty Editions Scalar Legacy Required With Default", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyMapPairs.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyMapPairs.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6566c64f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyMapPairs.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyMapPairs.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "propertyNames": { + "minLength": 3, + "type": "string" + }, + "type": "object" + } + }, + "title": "Ignore Empty Map Pairs", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyMapPairs.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyMapPairs.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyMapPairs.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyMapPairs.schema.json new file mode 100644 index 00000000..3317a5c5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyMapPairs.schema.json @@ -0,0 +1,29 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyMapPairs.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "minLength": 3, + "type": "string" + }, + "type": "object" + } + }, + "title": "Ignore Empty Map Pairs", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Map.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Map.jsonschema.strict.bundle.json new file mode 100644 index 00000000..9588181f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Map.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyProto2Map.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Ignore Empty Proto2 Map", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto2Map.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyProto2Map.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Map.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Map.schema.json new file mode 100644 index 00000000..fa376627 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Map.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto2Map.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Ignore Empty Proto2 Map", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Message.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Message.Msg.schema.json new file mode 100644 index 00000000..0c83ea54 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Message.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto2Message.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Message.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Message.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7f575e6a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Message.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyProto2Message.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.IgnoreEmptyProto2Message.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyProto2Message.Msg.jsonschema.strict.json" + } + }, + "title": "Ignore Empty Proto2 Message", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto2Message.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyProto2Message.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Message.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Message.schema.json new file mode 100644 index 00000000..ce4a3366 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Message.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto2Message.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.IgnoreEmptyProto2Message.Msg.schema.json" + } + }, + "title": "Ignore Empty Proto2 Message", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Oneof.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Oneof.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ca2123b7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Oneof.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyProto2Oneof.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Ignore Empty Proto2 Oneof", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto2Oneof.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyProto2Oneof.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Oneof.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Oneof.schema.json new file mode 100644 index 00000000..9e197d17 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Oneof.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto2Oneof.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Ignore Empty Proto2 Oneof", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Repeated.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Repeated.jsonschema.strict.bundle.json new file mode 100644 index 00000000..0287f56c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Repeated.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyProto2Repeated.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Ignore Empty Proto2 Repeated", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto2Repeated.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyProto2Repeated.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Repeated.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Repeated.schema.json new file mode 100644 index 00000000..4f6f0bb3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2Repeated.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto2Repeated.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Ignore Empty Proto2 Repeated", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2ScalarOptional.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2ScalarOptional.jsonschema.strict.bundle.json new file mode 100644 index 00000000..09fd5050 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2ScalarOptional.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyProto2ScalarOptional.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Ignore Empty Proto2 Scalar Optional", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto2ScalarOptional.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyProto2ScalarOptional.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2ScalarOptional.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2ScalarOptional.schema.json new file mode 100644 index 00000000..d81239f6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2ScalarOptional.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto2ScalarOptional.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Ignore Empty Proto2 Scalar Optional", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2ScalarOptionalWithDefault.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2ScalarOptionalWithDefault.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ef899020 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2ScalarOptionalWithDefault.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyProto2ScalarOptionalWithDefault.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Ignore Empty Proto2 Scalar Optional With Default", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto2ScalarOptionalWithDefault.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyProto2ScalarOptionalWithDefault.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2ScalarOptionalWithDefault.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2ScalarOptionalWithDefault.schema.json new file mode 100644 index 00000000..5ffd51ff --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2ScalarOptionalWithDefault.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto2ScalarOptionalWithDefault.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Ignore Empty Proto2 Scalar Optional With Default", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2ScalarRequired.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2ScalarRequired.jsonschema.strict.bundle.json new file mode 100644 index 00000000..fc765a30 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2ScalarRequired.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyProto2ScalarRequired.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Ignore Empty Proto2 Scalar Required", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto2ScalarRequired.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyProto2ScalarRequired.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2ScalarRequired.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2ScalarRequired.schema.json new file mode 100644 index 00000000..79bc0020 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto2ScalarRequired.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto2ScalarRequired.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Ignore Empty Proto2 Scalar Required", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Map.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Map.jsonschema.strict.bundle.json new file mode 100644 index 00000000..45fe250f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Map.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyProto3Map.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Ignore Empty Proto3 Map", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto3Map.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyProto3Map.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Map.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Map.schema.json new file mode 100644 index 00000000..5fffa30d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Map.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto3Map.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Ignore Empty Proto3 Map", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Message.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Message.Msg.schema.json new file mode 100644 index 00000000..85cd315b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Message.Msg.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto3Message.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Message.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Message.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7bb65bfc --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Message.jsonschema.strict.bundle.json @@ -0,0 +1,32 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyProto3Message.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.IgnoreEmptyProto3Message.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyProto3Message.Msg.jsonschema.strict.json" + } + }, + "title": "Ignore Empty Proto3 Message", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto3Message.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyProto3Message.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Message.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Message.schema.json new file mode 100644 index 00000000..a37641bb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Message.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto3Message.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.IgnoreEmptyProto3Message.Msg.schema.json" + } + }, + "title": "Ignore Empty Proto3 Message", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Oneof.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Oneof.jsonschema.strict.bundle.json new file mode 100644 index 00000000..13b46b35 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Oneof.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyProto3Oneof.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Ignore Empty Proto3 Oneof", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto3Oneof.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyProto3Oneof.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Oneof.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Oneof.schema.json new file mode 100644 index 00000000..1e55fd21 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Oneof.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto3Oneof.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Ignore Empty Proto3 Oneof", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3OptionalScalar.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3OptionalScalar.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e1fdf6b5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3OptionalScalar.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyProto3OptionalScalar.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Ignore Empty Proto3 Optional Scalar", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto3OptionalScalar.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyProto3OptionalScalar.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3OptionalScalar.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3OptionalScalar.schema.json new file mode 100644 index 00000000..935410b4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3OptionalScalar.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto3OptionalScalar.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Ignore Empty Proto3 Optional Scalar", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Repeated.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Repeated.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6f2e2098 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Repeated.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyProto3Repeated.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Ignore Empty Proto3 Repeated", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto3Repeated.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyProto3Repeated.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Repeated.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Repeated.schema.json new file mode 100644 index 00000000..d1480ffe --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Repeated.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto3Repeated.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Ignore Empty Proto3 Repeated", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Scalar.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Scalar.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2d4ca19f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Scalar.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyProto3Scalar.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Ignore Empty Proto3 Scalar", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto3Scalar.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyProto3Scalar.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Scalar.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Scalar.schema.json new file mode 100644 index 00000000..f25eaedb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyProto3Scalar.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyProto3Scalar.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Ignore Empty Proto3 Scalar", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyRepeatedItems.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyRepeatedItems.jsonschema.strict.bundle.json new file mode 100644 index 00000000..75db122e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyRepeatedItems.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IgnoreEmptyRepeatedItems.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Ignore Empty Repeated Items", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IgnoreEmptyRepeatedItems.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IgnoreEmptyRepeatedItems.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyRepeatedItems.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyRepeatedItems.schema.json new file mode 100644 index 00000000..0275d8f5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IgnoreEmptyRepeatedItems.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.IgnoreEmptyRepeatedItems.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Ignore Empty Repeated Items", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32Const.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32Const.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a7e2ea06 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32Const.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int32Const.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + 1 + ], + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Int32 Const", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int32Const.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int32Const.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32Const.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32Const.schema.json new file mode 100644 index 00000000..397c2845 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32Const.schema.json @@ -0,0 +1,26 @@ +{ + "$id": "buf.validate.conformance.cases.Int32Const.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + 1 + ], + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int32 Const", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32ExGTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32ExGTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..0904cfc3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32ExGTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,32 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int32ExGTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 128, + "minimum": -2147483648, + "type": "integer" + }, + { + "exclusiveMaximum": 2147483648, + "minimum": 256, + "type": "integer" + } + ] + } + }, + "required": [ + "val" + ], + "title": "Int32 ExGTELTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int32ExGTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int32ExGTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32ExGTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32ExGTELTE.schema.json new file mode 100644 index 00000000..b1e0880b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32ExGTELTE.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "buf.validate.conformance.cases.Int32ExGTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 128, + "minimum": -2147483648, + "type": "integer" + }, + { + "exclusiveMaximum": 2147483648, + "minimum": 256, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int32 ExGTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32ExLTGT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32ExLTGT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f9539379 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32ExLTGT.jsonschema.strict.bundle.json @@ -0,0 +1,32 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int32ExLTGT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "minimum": -2147483648, + "type": "integer" + }, + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 10, + "type": "integer" + } + ] + } + }, + "required": [ + "val" + ], + "title": "Int32 ExLTGT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int32ExLTGT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int32ExLTGT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32ExLTGT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32ExLTGT.schema.json new file mode 100644 index 00000000..465f27fe --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32ExLTGT.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "buf.validate.conformance.cases.Int32ExLTGT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "minimum": -2147483648, + "type": "integer" + }, + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 10, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int32 ExLTGT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32Example.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32Example.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ddc59a5c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32Example.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int32Example.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Int32 Example", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int32Example.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int32Example.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32Example.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32Example.schema.json new file mode 100644 index 00000000..b5502884 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32Example.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Int32Example.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int32 Example", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32GT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32GT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..81136849 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32GT.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int32GT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 16, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Int32GT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int32GT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int32GT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32GT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32GT.schema.json new file mode 100644 index 00000000..d6ef9512 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32GT.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Int32GT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 16, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int32GT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32GTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32GTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..372cc234 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32GTE.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int32GTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "minimum": 8, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Int32GTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int32GTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int32GTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32GTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32GTE.schema.json new file mode 100644 index 00000000..d8a001f0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32GTE.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Int32GTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "minimum": 8, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int32GTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32GTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32GTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..9e1bb3bc --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32GTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int32GTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 256, + "minimum": 128, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Int32GTELTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int32GTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int32GTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32GTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32GTELTE.schema.json new file mode 100644 index 00000000..27168cf5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32GTELTE.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Int32GTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 256, + "minimum": 128, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int32GTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32GTLT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32GTLT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..88a25966 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32GTLT.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int32GTLT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 10, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Int32GTLT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int32GTLT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int32GTLT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32GTLT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32GTLT.schema.json new file mode 100644 index 00000000..8c0e06b7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32GTLT.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Int32GTLT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 10, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int32GTLT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32Ignore.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32Ignore.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ce51861e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32Ignore.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int32Ignore.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 256, + "minimum": 128, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Int32 Ignore", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int32Ignore.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int32Ignore.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32Ignore.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32Ignore.schema.json new file mode 100644 index 00000000..32b4fbe1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32Ignore.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Int32Ignore.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 256, + "minimum": 128, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int32 Ignore", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32In.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32In.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2a87f097 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32In.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int32In.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + 2, + 3 + ], + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Int32 In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int32In.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int32In.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32In.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32In.schema.json new file mode 100644 index 00000000..22aeca4d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32In.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.Int32In.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + 2, + 3 + ], + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int32 In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32IncorrectType.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32IncorrectType.jsonschema.strict.bundle.json new file mode 100644 index 00000000..fa0215fb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32IncorrectType.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int32IncorrectType.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Int32 Incorrect Type", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int32IncorrectType.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int32IncorrectType.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32IncorrectType.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32IncorrectType.schema.json new file mode 100644 index 00000000..1097c6ab --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32IncorrectType.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Int32IncorrectType.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int32 Incorrect Type", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32LT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32LT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..34c0f5cf --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32LT.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int32LT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 0, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Int32LT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int32LT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int32LT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32LT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32LT.schema.json new file mode 100644 index 00000000..07dc7093 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32LT.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Int32LT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int32LT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32LTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32LTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..101b291a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32LTE.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int32LTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 64, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Int32LTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int32LTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int32LTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32LTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32LTE.schema.json new file mode 100644 index 00000000..918a0538 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32LTE.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Int32LTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 64, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int32LTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32None.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32None.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d781f064 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32None.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int32None.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Int32 None", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int32None.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int32None.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32None.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32None.schema.json new file mode 100644 index 00000000..6afcbff5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32None.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Int32None.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int32 None", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32NotIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32NotIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e4d78266 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32NotIn.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int32NotIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Int32 Not In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int32NotIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int32NotIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int32NotIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32NotIn.schema.json new file mode 100644 index 00000000..27c79223 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int32NotIn.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Int32NotIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int32 Not In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64BigRules.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64BigRules.jsonschema.strict.bundle.json new file mode 100644 index 00000000..921eb1d0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64BigRules.jsonschema.strict.bundle.json @@ -0,0 +1,84 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int64BigRules.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "constantNeg": { + "enum": [ + -5444333222 + ], + "type": "integer" + }, + "constantPos": { + "enum": [ + 5444333222 + ], + "type": "integer" + }, + "gtNeg": { + "exclusiveMinimum": -5444333222, + "type": "integer" + }, + "gtPos": { + "exclusiveMinimum": 5444333222, + "type": "integer" + }, + "gteNeg": { + "minimum": -5444333222, + "type": "integer" + }, + "gtePos": { + "minimum": 5444333222, + "type": "integer" + }, + "in": { + "enum": [ + 5444333222, + -5444333222 + ], + "type": "integer" + }, + "ltNeg": { + "exclusiveMaximum": -5444333222, + "type": "integer" + }, + "ltPos": { + "description": "Intentionally choose limits that are outside the range of both signed and unsigned 32-bit integers.", + "exclusiveMaximum": 5444333222, + "type": "integer" + }, + "lteNeg": { + "maximum": -5444333222, + "type": "integer" + }, + "ltePos": { + "maximum": 5444333222, + "type": "integer" + }, + "notin": { + "type": "integer" + } + }, + "required": [ + "ltPos", + "ltNeg", + "gtPos", + "gtNeg", + "ltePos", + "lteNeg", + "gtePos", + "gteNeg", + "constantPos", + "constantNeg", + "in", + "notin" + ], + "title": "Int64 Big Rules", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int64BigRules.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int64BigRules.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64BigRules.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64BigRules.schema.json new file mode 100644 index 00000000..aab08302 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64BigRules.schema.json @@ -0,0 +1,309 @@ +{ + "$id": "buf.validate.conformance.cases.Int64BigRules.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "patternProperties": { + "^(constantNeg)$": { + "anyOf": [ + { + "enum": [ + -5444333222 + ], + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "^(constantPos)$": { + "anyOf": [ + { + "enum": [ + 5444333222 + ], + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "^(gtNeg)$": { + "anyOf": [ + { + "exclusiveMinimum": -5444333222, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "^(gtPos)$": { + "anyOf": [ + { + "exclusiveMinimum": 5444333222, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "^(gteNeg)$": { + "anyOf": [ + { + "minimum": -5444333222, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "^(gtePos)$": { + "anyOf": [ + { + "minimum": 5444333222, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "^(ltNeg)$": { + "anyOf": [ + { + "exclusiveMaximum": -5444333222, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "^(ltPos)$": { + "anyOf": [ + { + "exclusiveMaximum": 5444333222, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0, + "description": "Intentionally choose limits that are outside the range of both signed and unsigned 32-bit integers." + }, + "^(lteNeg)$": { + "anyOf": [ + { + "maximum": -5444333222, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "^(ltePos)$": { + "anyOf": [ + { + "maximum": 5444333222, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "properties": { + "constant_neg": { + "anyOf": [ + { + "enum": [ + -5444333222 + ], + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "constant_pos": { + "anyOf": [ + { + "enum": [ + 5444333222 + ], + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "gt_neg": { + "anyOf": [ + { + "exclusiveMinimum": -5444333222, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "gt_pos": { + "anyOf": [ + { + "exclusiveMinimum": 5444333222, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "gte_neg": { + "anyOf": [ + { + "minimum": -5444333222, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "gte_pos": { + "anyOf": [ + { + "minimum": 5444333222, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "in": { + "anyOf": [ + { + "enum": [ + 5444333222, + -5444333222 + ], + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "lt_neg": { + "anyOf": [ + { + "exclusiveMaximum": -5444333222, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "lt_pos": { + "anyOf": [ + { + "exclusiveMaximum": 5444333222, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0, + "description": "Intentionally choose limits that are outside the range of both signed and unsigned 32-bit integers." + }, + "lte_neg": { + "anyOf": [ + { + "maximum": -5444333222, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "lte_pos": { + "anyOf": [ + { + "maximum": 5444333222, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "notin": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int64 Big Rules", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64Const.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64Const.jsonschema.strict.bundle.json new file mode 100644 index 00000000..4bdbb500 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64Const.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int64Const.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + 1 + ], + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Int64 Const", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int64Const.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int64Const.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64Const.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64Const.schema.json new file mode 100644 index 00000000..991935d3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64Const.schema.json @@ -0,0 +1,24 @@ +{ + "$id": "buf.validate.conformance.cases.Int64Const.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + 1 + ], + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int64 Const", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64ExGTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64ExGTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7360f451 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64ExGTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,30 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int64ExGTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 128, + "type": "integer" + }, + { + "minimum": 256, + "type": "integer" + } + ] + } + }, + "required": [ + "val" + ], + "title": "Int64 ExGTELTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int64ExGTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int64ExGTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64ExGTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64ExGTELTE.schema.json new file mode 100644 index 00000000..e04c432d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64ExGTELTE.schema.json @@ -0,0 +1,26 @@ +{ + "$id": "buf.validate.conformance.cases.Int64ExGTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 128, + "type": "integer" + }, + { + "minimum": 256, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int64 ExGTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64ExLTGT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64ExLTGT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a5134f9a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64ExLTGT.jsonschema.strict.bundle.json @@ -0,0 +1,30 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int64ExLTGT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "type": "integer" + }, + { + "exclusiveMinimum": 10, + "type": "integer" + } + ] + } + }, + "required": [ + "val" + ], + "title": "Int64 ExLTGT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int64ExLTGT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int64ExLTGT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64ExLTGT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64ExLTGT.schema.json new file mode 100644 index 00000000..4eccfb59 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64ExLTGT.schema.json @@ -0,0 +1,26 @@ +{ + "$id": "buf.validate.conformance.cases.Int64ExLTGT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "type": "integer" + }, + { + "exclusiveMinimum": 10, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int64 ExLTGT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64Example.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64Example.jsonschema.strict.bundle.json new file mode 100644 index 00000000..81230ace --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64Example.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int64Example.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Int64 Example", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int64Example.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int64Example.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64Example.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64Example.schema.json new file mode 100644 index 00000000..79932b69 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64Example.schema.json @@ -0,0 +1,21 @@ +{ + "$id": "buf.validate.conformance.cases.Int64Example.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int64 Example", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64GT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64GT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b5a95889 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64GT.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int64GT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMinimum": 16, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Int64GT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int64GT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int64GT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64GT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64GT.schema.json new file mode 100644 index 00000000..122e8715 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64GT.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Int64GT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMinimum": 16, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int64GT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64GTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64GTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..587ad89e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64GTE.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int64GTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "minimum": 8, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Int64GTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int64GTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int64GTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64GTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64GTE.schema.json new file mode 100644 index 00000000..2d456acf --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64GTE.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Int64GTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "minimum": 8, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int64GTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64GTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64GTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6c139670 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64GTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int64GTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 256, + "minimum": 128, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Int64GTELTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int64GTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int64GTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64GTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64GTELTE.schema.json new file mode 100644 index 00000000..97f86894 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64GTELTE.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Int64GTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 256, + "minimum": 128, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int64GTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64GTLT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64GTLT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..18256f9b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64GTLT.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int64GTLT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 10, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Int64GTLT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int64GTLT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int64GTLT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64GTLT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64GTLT.schema.json new file mode 100644 index 00000000..23e3516b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64GTLT.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Int64GTLT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 10, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int64GTLT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64Ignore.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64Ignore.jsonschema.strict.bundle.json new file mode 100644 index 00000000..8d797301 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64Ignore.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int64Ignore.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 256, + "minimum": 128, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Int64 Ignore", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int64Ignore.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int64Ignore.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64Ignore.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64Ignore.schema.json new file mode 100644 index 00000000..64108623 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64Ignore.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Int64Ignore.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 256, + "minimum": 128, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int64 Ignore", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64In.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64In.jsonschema.strict.bundle.json new file mode 100644 index 00000000..c35382ce --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64In.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int64In.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + 2, + 3 + ], + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Int64 In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int64In.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int64In.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64In.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64In.schema.json new file mode 100644 index 00000000..d19ab298 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64In.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.Int64In.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + 2, + 3 + ], + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int64 In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64IncorrectType.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64IncorrectType.jsonschema.strict.bundle.json new file mode 100644 index 00000000..c713adee --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64IncorrectType.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int64IncorrectType.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Int64 Incorrect Type", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int64IncorrectType.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int64IncorrectType.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64IncorrectType.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64IncorrectType.schema.json new file mode 100644 index 00000000..baedaa97 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64IncorrectType.schema.json @@ -0,0 +1,21 @@ +{ + "$id": "buf.validate.conformance.cases.Int64IncorrectType.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int64 Incorrect Type", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64LT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64LT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..8a0f12ed --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64LT.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int64LT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Int64LT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int64LT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int64LT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64LT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64LT.schema.json new file mode 100644 index 00000000..8c03a06d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64LT.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Int64LT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int64LT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64LTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64LTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..1e05001c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64LTE.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int64LTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 64, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Int64LTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int64LTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int64LTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64LTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64LTE.schema.json new file mode 100644 index 00000000..b54d7e9c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64LTE.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Int64LTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 64, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int64LTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64LTEOptional.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64LTEOptional.jsonschema.strict.bundle.json new file mode 100644 index 00000000..02ef65f4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64LTEOptional.jsonschema.strict.bundle.json @@ -0,0 +1,19 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int64LTEOptional.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 64, + "type": "integer" + } + }, + "title": "Int64LTE Optional", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int64LTEOptional.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int64LTEOptional.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64LTEOptional.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64LTEOptional.schema.json new file mode 100644 index 00000000..327353c3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64LTEOptional.schema.json @@ -0,0 +1,21 @@ +{ + "$id": "buf.validate.conformance.cases.Int64LTEOptional.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 64, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Int64LTE Optional", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64None.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64None.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6ee91877 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64None.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int64None.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Int64 None", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int64None.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int64None.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64None.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64None.schema.json new file mode 100644 index 00000000..3510f56c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64None.schema.json @@ -0,0 +1,21 @@ +{ + "$id": "buf.validate.conformance.cases.Int64None.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int64 None", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64NotIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64NotIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2794c92d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64NotIn.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Int64NotIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Int64 Not In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Int64NotIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Int64NotIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Int64NotIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64NotIn.schema.json new file mode 100644 index 00000000..44becaa5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Int64NotIn.schema.json @@ -0,0 +1,21 @@ +{ + "$id": "buf.validate.conformance.cases.Int64NotIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Int64 Not In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IsEmail.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IsEmail.jsonschema.strict.bundle.json new file mode 100644 index 00000000..340033e7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IsEmail.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IsEmail.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Is Email", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IsEmail.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IsEmail.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IsEmail.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IsEmail.schema.json new file mode 100644 index 00000000..af46583a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IsEmail.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.IsEmail.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "Is Email", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IsHostAndPort.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IsHostAndPort.jsonschema.strict.bundle.json new file mode 100644 index 00000000..af45bce6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IsHostAndPort.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IsHostAndPort.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "portRequired": { + "type": "boolean" + }, + "val": { + "type": "string" + } + }, + "required": [ + "val", + "portRequired" + ], + "title": "Is Host And Port", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IsHostAndPort.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IsHostAndPort.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IsHostAndPort.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IsHostAndPort.schema.json new file mode 100644 index 00000000..0ebc4198 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IsHostAndPort.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.IsHostAndPort.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "patternProperties": { + "^(portRequired)$": { + "default": false, + "type": "boolean" + } + }, + "properties": { + "port_required": { + "default": false, + "type": "boolean" + }, + "val": { + "default": "", + "type": "string" + } + }, + "title": "Is Host And Port", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IsHostname.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IsHostname.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7a30428e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IsHostname.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IsHostname.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Is Hostname", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IsHostname.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IsHostname.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IsHostname.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IsHostname.schema.json new file mode 100644 index 00000000..8eb4c492 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IsHostname.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.IsHostname.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "Is Hostname", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IsIp.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IsIp.jsonschema.strict.bundle.json new file mode 100644 index 00000000..84f9ff4f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IsIp.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IsIp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + }, + "version": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Is Ip", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IsIp.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IsIp.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IsIp.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IsIp.schema.json new file mode 100644 index 00000000..59068afc --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IsIp.schema.json @@ -0,0 +1,26 @@ +{ + "$id": "buf.validate.conformance.cases.IsIp.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + }, + "version": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Is Ip", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IsIpPrefix.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IsIpPrefix.jsonschema.strict.bundle.json new file mode 100644 index 00000000..c18083a5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IsIpPrefix.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IsIpPrefix.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "strict": { + "type": "boolean" + }, + "val": { + "type": "string" + }, + "version": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Is Ip Prefix", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IsIpPrefix.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IsIpPrefix.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IsIpPrefix.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IsIpPrefix.schema.json new file mode 100644 index 00000000..5c695ccf --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IsIpPrefix.schema.json @@ -0,0 +1,29 @@ +{ + "$id": "buf.validate.conformance.cases.IsIpPrefix.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "strict": { + "type": "boolean" + }, + "val": { + "default": "", + "type": "string" + }, + "version": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Is Ip Prefix", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IsUri.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IsUri.jsonschema.strict.bundle.json new file mode 100644 index 00000000..067405ef --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IsUri.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IsUri.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Is Uri", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IsUri.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IsUri.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IsUri.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IsUri.schema.json new file mode 100644 index 00000000..928d5097 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IsUri.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.IsUri.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "Is Uri", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IsUriRef.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IsUriRef.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2ce6aadf --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IsUriRef.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.IsUriRef.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Is Uri Ref", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.IsUriRef.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.IsUriRef.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.IsUriRef.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.IsUriRef.schema.json new file mode 100644 index 00000000..ccc19578 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.IsUriRef.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.IsUriRef.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "Is Uri Ref", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.KitchenSinkMessage.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.KitchenSinkMessage.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f61fed31 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.KitchenSinkMessage.jsonschema.strict.bundle.json @@ -0,0 +1,174 @@ +{ + "$defs": { + "buf.validate.conformance.cases.ComplexTestMsg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "another": { + "$ref": "#/$defs/buf.validate.conformance.cases.ComplexTestMsg.jsonschema.strict.json" + }, + "anyVal": { + "$ref": "#/$defs/google.protobuf.Any.jsonschema.strict.json" + }, + "boolConst": { + "enum": [ + false + ], + "type": "boolean" + }, + "bytesVal": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + }, + "const": { + "enum": [ + "abcd" + ], + "type": "string" + }, + "doubleIn": { + "enum": [ + 456.789, + 123 + ], + "type": "number" + }, + "durVal": { + "$ref": "#/$defs/google.protobuf.Duration.jsonschema.strict.json" + }, + "enumConst": { + "enum": [ + "COMPLEX_TEST_ENUM_TWO" + ], + "title": "Complex Test Enum", + "type": "string" + }, + "floatConst": { + "anyOf": [ + { + "exclusiveMaximum": 8, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "-Infinity" + ], + "type": "string" + } + ] + }, + "floatVal": { + "$ref": "#/$defs/google.protobuf.FloatValue.jsonschema.strict.json" + }, + "intConst": { + "enum": [ + 5 + ], + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + "mapVal": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "exclusiveMaximum": 0, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + }, + "nested": { + "$ref": "#/$defs/buf.validate.conformance.cases.ComplexTestMsg.jsonschema.strict.json" + }, + "repTsVal": { + "items": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + }, + "type": "array" + }, + "tsVal": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + }, + "x": { + "type": "string" + }, + "y": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "const", + "intConst", + "boolConst", + "durVal", + "floatConst", + "doubleIn", + "enumConst", + "bytesVal" + ], + "title": "Complex Test Msg", + "type": "object" + }, + "buf.validate.conformance.cases.KitchenSinkMessage.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.ComplexTestMsg.jsonschema.strict.json" + } + }, + "title": "Kitchen Sink Message", + "type": "object" + }, + "google.protobuf.Any.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "properties": { + "@type": { + "type": "string" + } + }, + "title": "Any", + "type": "object" + }, + "google.protobuf.Duration.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "duration", + "title": "Duration", + "type": "string" + }, + "google.protobuf.FloatValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ], + "description": "The float value.", + "title": "Float Value" + }, + "google.protobuf.Timestamp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date-time", + "title": "Timestamp", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.KitchenSinkMessage.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.KitchenSinkMessage.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.KitchenSinkMessage.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.KitchenSinkMessage.schema.json new file mode 100644 index 00000000..3e58bf42 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.KitchenSinkMessage.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.KitchenSinkMessage.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.ComplexTestMsg.schema.json" + } + }, + "title": "Kitchen Sink Message", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapEnumDefined.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapEnumDefined.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ad314163 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapEnumDefined.jsonschema.strict.bundle.json @@ -0,0 +1,30 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MapEnumDefined.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "enum": [ + "TEST_ENUM_UNSPECIFIED", + "TEST_ENUM_ONE", + "TEST_ENUM_TWO" + ], + "title": "Test Enum", + "type": "string" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "title": "Map Enum Defined", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MapEnumDefined.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MapEnumDefined.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapEnumDefined.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapEnumDefined.schema.json new file mode 100644 index 00000000..c09ac636 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapEnumDefined.schema.json @@ -0,0 +1,33 @@ +{ + "$id": "buf.validate.conformance.cases.MapEnumDefined.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "enum": [ + "TEST_ENUM_UNSPECIFIED", + "TEST_ENUM_ONE", + "TEST_ENUM_TWO" + ], + "type": "string" + }, + { + "maximum": 2, + "minimum": 0, + "type": "integer" + } + ], + "title": "Test Enum" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "title": "Map Enum Defined", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapExact.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapExact.jsonschema.strict.bundle.json new file mode 100644 index 00000000..3a0c4b46 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapExact.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MapExact.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "minimum": 0, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Map Exact", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MapExact.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MapExact.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapExact.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapExact.schema.json new file mode 100644 index 00000000..3d43290e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapExact.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.MapExact.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Map Exact", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapExactIgnore.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapExactIgnore.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2720df53 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapExactIgnore.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MapExactIgnore.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "minimum": 0, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Map Exact Ignore", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MapExactIgnore.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MapExactIgnore.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapExactIgnore.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapExactIgnore.schema.json new file mode 100644 index 00000000..c1b3875c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapExactIgnore.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.MapExactIgnore.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Map Exact Ignore", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapExternalEnumDefined.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapExternalEnumDefined.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7a41ede0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapExternalEnumDefined.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MapExternalEnumDefined.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "enum": [ + "ENUMERATED_UNSPECIFIED", + "ENUMERATED_VALUE" + ], + "title": "Enumerated", + "type": "string" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "title": "Map External Enum Defined", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MapExternalEnumDefined.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MapExternalEnumDefined.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapExternalEnumDefined.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapExternalEnumDefined.schema.json new file mode 100644 index 00000000..25c2dd71 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapExternalEnumDefined.schema.json @@ -0,0 +1,32 @@ +{ + "$id": "buf.validate.conformance.cases.MapExternalEnumDefined.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "enum": [ + "ENUMERATED_UNSPECIFIED", + "ENUMERATED_VALUE" + ], + "type": "string" + }, + { + "maximum": 1, + "minimum": 0, + "type": "integer" + } + ], + "title": "Enumerated" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "title": "Map External Enum Defined", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapKeys.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapKeys.jsonschema.strict.bundle.json new file mode 100644 index 00000000..406882a2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapKeys.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MapKeys.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "exclusiveMaximum": 0, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Map Keys", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MapKeys.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MapKeys.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapKeys.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapKeys.schema.json new file mode 100644 index 00000000..971a93be --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapKeys.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.MapKeys.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Map Keys", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapKeysPattern.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapKeysPattern.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d386b320 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapKeysPattern.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MapKeysPattern.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "pattern": "(?i)^[a-z0-9]+$", + "type": "string" + }, + "type": "object" + } + }, + "title": "Map Keys Pattern", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MapKeysPattern.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MapKeysPattern.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapKeysPattern.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapKeysPattern.schema.json new file mode 100644 index 00000000..0e435beb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapKeysPattern.schema.json @@ -0,0 +1,19 @@ +{ + "$id": "buf.validate.conformance.cases.MapKeysPattern.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "pattern": "(?i)^[a-z0-9]+$", + "type": "string" + }, + "type": "object" + } + }, + "title": "Map Keys Pattern", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapMax.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapMax.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e952b1c1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapMax.jsonschema.strict.bundle.json @@ -0,0 +1,36 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MapMax.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ] + }, + "propertyNames": { + "type": "integer" + }, + "type": "object" + } + }, + "title": "Map Max", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MapMax.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MapMax.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapMax.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapMax.schema.json new file mode 100644 index 00000000..16438324 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapMax.schema.json @@ -0,0 +1,41 @@ +{ + "$id": "buf.validate.conformance.cases.MapMax.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + }, + { + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Map Max", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapMin.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapMin.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a794e22a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapMin.jsonschema.strict.bundle.json @@ -0,0 +1,40 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MapMin.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ] + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Map Min", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MapMin.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MapMin.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapMin.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapMin.schema.json new file mode 100644 index 00000000..cbc894f3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapMin.schema.json @@ -0,0 +1,45 @@ +{ + "$id": "buf.validate.conformance.cases.MapMin.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + }, + { + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Map Min", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapMinMax.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapMinMax.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f03a9959 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapMinMax.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MapMinMax.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "boolean" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "title": "Map Min Max", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MapMinMax.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MapMinMax.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapMinMax.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapMinMax.schema.json new file mode 100644 index 00000000..a5a756bc --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapMinMax.schema.json @@ -0,0 +1,18 @@ +{ + "$id": "buf.validate.conformance.cases.MapMinMax.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "boolean" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "title": "Map Min Max", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapNone.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapNone.jsonschema.strict.bundle.json new file mode 100644 index 00000000..0d1b1002 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapNone.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MapNone.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "boolean" + }, + "propertyNames": { + "maximum": 4294967295, + "minimum": 0, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Map None", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MapNone.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MapNone.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapNone.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapNone.schema.json new file mode 100644 index 00000000..ab5d9af4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapNone.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "buf.validate.conformance.cases.MapNone.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "boolean" + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 4294967295, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Map None", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapRecursive.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapRecursive.Msg.schema.json new file mode 100644 index 00000000..c6b3907b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapRecursive.Msg.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.MapRecursive.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "minLength": 3, + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapRecursive.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapRecursive.jsonschema.strict.bundle.json new file mode 100644 index 00000000..fcfc46a5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapRecursive.jsonschema.strict.bundle.json @@ -0,0 +1,41 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MapRecursive.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "minLength": 3, + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.MapRecursive.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "$ref": "#/$defs/buf.validate.conformance.cases.MapRecursive.Msg.jsonschema.strict.json" + }, + "propertyNames": { + "maximum": 4294967295, + "minimum": 0, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Map Recursive", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MapRecursive.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MapRecursive.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapRecursive.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapRecursive.schema.json new file mode 100644 index 00000000..5302b1fe --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapRecursive.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "buf.validate.conformance.cases.MapRecursive.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "$ref": "buf.validate.conformance.cases.MapRecursive.Msg.schema.json" + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 4294967295, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Map Recursive", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapValues.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapValues.jsonschema.strict.bundle.json new file mode 100644 index 00000000..9f63d978 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapValues.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MapValues.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "minLength": 3, + "type": "string" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "title": "Map Values", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MapValues.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MapValues.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapValues.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapValues.schema.json new file mode 100644 index 00000000..35267f0b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapValues.schema.json @@ -0,0 +1,19 @@ +{ + "$id": "buf.validate.conformance.cases.MapValues.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "minLength": 3, + "type": "string" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "title": "Map Values", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapValuesPattern.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapValuesPattern.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7d28773e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapValuesPattern.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MapValuesPattern.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "pattern": "(?i)^[a-z0-9]+$", + "type": "string" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "title": "Map Values Pattern", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MapValuesPattern.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MapValuesPattern.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MapValuesPattern.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MapValuesPattern.schema.json new file mode 100644 index 00000000..72c6995f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MapValuesPattern.schema.json @@ -0,0 +1,19 @@ +{ + "$id": "buf.validate.conformance.cases.MapValuesPattern.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "pattern": "(?i)^[a-z0-9]+$", + "type": "string" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "title": "Map Values Pattern", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Message.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Message.jsonschema.strict.bundle.json new file mode 100644 index 00000000..168b34b0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Message.jsonschema.strict.bundle.json @@ -0,0 +1,38 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Message.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.TestMsg.jsonschema.strict.json" + } + }, + "title": "Message", + "type": "object" + }, + "buf.validate.conformance.cases.TestMsg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "const": { + "enum": [ + "foo" + ], + "type": "string" + }, + "nested": { + "$ref": "#/$defs/buf.validate.conformance.cases.TestMsg.jsonschema.strict.json" + } + }, + "required": [ + "const" + ], + "title": "Test Msg", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Message.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Message.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Message.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Message.schema.json new file mode 100644 index 00000000..6879d659 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Message.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.Message.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.TestMsg.schema.json" + } + }, + "title": "Message", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageCrossPackage.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageCrossPackage.jsonschema.strict.bundle.json new file mode 100644 index 00000000..c3e81712 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageCrossPackage.jsonschema.strict.bundle.json @@ -0,0 +1,34 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MessageCrossPackage.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.other_package.Embed.jsonschema.strict.json" + } + }, + "title": "Message Cross Package", + "type": "object" + }, + "buf.validate.conformance.cases.other_package.Embed.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Validate message embedding across packages.", + "properties": { + "val": { + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Embed", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MessageCrossPackage.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MessageCrossPackage.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageCrossPackage.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageCrossPackage.schema.json new file mode 100644 index 00000000..61d67f76 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageCrossPackage.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.MessageCrossPackage.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.other_package.Embed.schema.json" + } + }, + "title": "Message Cross Package", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageNone.NoneMsg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageNone.NoneMsg.schema.json new file mode 100644 index 00000000..409a8f95 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageNone.NoneMsg.schema.json @@ -0,0 +1,8 @@ +{ + "$id": "buf.validate.conformance.cases.MessageNone.NoneMsg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": {}, + "title": "None Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageNone.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageNone.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d02f7cce --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageNone.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MessageNone.NoneMsg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": {}, + "title": "None Msg", + "type": "object" + }, + "buf.validate.conformance.cases.MessageNone.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.MessageNone.NoneMsg.jsonschema.strict.json" + } + }, + "title": "Message None", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MessageNone.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MessageNone.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageNone.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageNone.schema.json new file mode 100644 index 00000000..bfc138e3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageNone.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.MessageNone.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.MessageNone.NoneMsg.schema.json" + } + }, + "title": "Message None", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofDuplicateField.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofDuplicateField.jsonschema.strict.bundle.json new file mode 100644 index 00000000..0111935b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofDuplicateField.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MessageOneofDuplicateField.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "boolField": { + "type": "boolean" + }, + "strField": { + "type": "string" + } + }, + "required": [ + "strField", + "boolField" + ], + "title": "Message Oneof Duplicate Field", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MessageOneofDuplicateField.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MessageOneofDuplicateField.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofDuplicateField.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofDuplicateField.schema.json new file mode 100644 index 00000000..f6bdb7af --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofDuplicateField.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.MessageOneofDuplicateField.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "patternProperties": { + "^(boolField)$": { + "default": false, + "type": "boolean" + }, + "^(strField)$": { + "default": "", + "type": "string" + } + }, + "properties": { + "bool_field": { + "default": false, + "type": "boolean" + }, + "str_field": { + "default": "", + "type": "string" + } + }, + "title": "Message Oneof Duplicate Field", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofIgnoreOverride.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofIgnoreOverride.jsonschema.strict.bundle.json new file mode 100644 index 00000000..cba822f5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofIgnoreOverride.jsonschema.strict.bundle.json @@ -0,0 +1,44 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MessageOneofIgnoreOverride.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "boolField": { + "type": "boolean" + }, + "msgField": { + "$ref": "#/$defs/buf.validate.conformance.cases.TestMsg.jsonschema.strict.json" + } + }, + "required": [ + "boolField" + ], + "title": "Message Oneof Ignore Override", + "type": "object" + }, + "buf.validate.conformance.cases.TestMsg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "const": { + "enum": [ + "foo" + ], + "type": "string" + }, + "nested": { + "$ref": "#/$defs/buf.validate.conformance.cases.TestMsg.jsonschema.strict.json" + } + }, + "required": [ + "const" + ], + "title": "Test Msg", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MessageOneofIgnoreOverride.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MessageOneofIgnoreOverride.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofIgnoreOverride.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofIgnoreOverride.schema.json new file mode 100644 index 00000000..8645b9ed --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofIgnoreOverride.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.MessageOneofIgnoreOverride.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "patternProperties": { + "^(boolField)$": { + "default": false, + "type": "boolean" + }, + "^(msgField)$": { + "$ref": "buf.validate.conformance.cases.TestMsg.schema.json" + } + }, + "properties": { + "bool_field": { + "default": false, + "type": "boolean" + }, + "msg_field": { + "$ref": "buf.validate.conformance.cases.TestMsg.schema.json" + } + }, + "title": "Message Oneof Ignore Override", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofIgnoreUnpopulated.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofIgnoreUnpopulated.jsonschema.strict.bundle.json new file mode 100644 index 00000000..9f3d330d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofIgnoreUnpopulated.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MessageOneofIgnoreUnpopulated.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "boolField": { + "enum": [ + true + ], + "type": "boolean" + }, + "strField": { + "type": "string" + } + }, + "required": [ + "strField", + "boolField" + ], + "title": "Message Oneof Ignore Unpopulated", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MessageOneofIgnoreUnpopulated.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MessageOneofIgnoreUnpopulated.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofIgnoreUnpopulated.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofIgnoreUnpopulated.schema.json new file mode 100644 index 00000000..b9c74856 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofIgnoreUnpopulated.schema.json @@ -0,0 +1,33 @@ +{ + "$id": "buf.validate.conformance.cases.MessageOneofIgnoreUnpopulated.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "patternProperties": { + "^(boolField)$": { + "default": false, + "enum": [ + true + ], + "type": "boolean" + }, + "^(strField)$": { + "default": "", + "type": "string" + } + }, + "properties": { + "bool_field": { + "default": false, + "enum": [ + true + ], + "type": "boolean" + }, + "str_field": { + "default": "", + "type": "string" + } + }, + "title": "Message Oneof Ignore Unpopulated", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofIgnoreUnpopulatedRequired.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofIgnoreUnpopulatedRequired.jsonschema.strict.bundle.json new file mode 100644 index 00000000..521468dc --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofIgnoreUnpopulatedRequired.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MessageOneofIgnoreUnpopulatedRequired.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "boolField": { + "enum": [ + true + ], + "type": "boolean" + }, + "strField": { + "type": "string" + } + }, + "required": [ + "strField", + "boolField" + ], + "title": "Message Oneof Ignore Unpopulated Required", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MessageOneofIgnoreUnpopulatedRequired.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MessageOneofIgnoreUnpopulatedRequired.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofIgnoreUnpopulatedRequired.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofIgnoreUnpopulatedRequired.schema.json new file mode 100644 index 00000000..75a74ef0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofIgnoreUnpopulatedRequired.schema.json @@ -0,0 +1,33 @@ +{ + "$id": "buf.validate.conformance.cases.MessageOneofIgnoreUnpopulatedRequired.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "patternProperties": { + "^(boolField)$": { + "default": false, + "enum": [ + true + ], + "type": "boolean" + }, + "^(strField)$": { + "default": "", + "type": "string" + } + }, + "properties": { + "bool_field": { + "default": false, + "enum": [ + true + ], + "type": "boolean" + }, + "str_field": { + "default": "", + "type": "string" + } + }, + "title": "Message Oneof Ignore Unpopulated Required", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofMultipleFields.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofMultipleFields.jsonschema.strict.bundle.json new file mode 100644 index 00000000..18e5a26e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofMultipleFields.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MessageOneofMultipleFields.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "boolField": { + "type": "boolean" + }, + "strField": { + "type": "string" + } + }, + "required": [ + "strField", + "boolField" + ], + "title": "Message Oneof Multiple Fields", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MessageOneofMultipleFields.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MessageOneofMultipleFields.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofMultipleFields.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofMultipleFields.schema.json new file mode 100644 index 00000000..732e3bd8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofMultipleFields.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.MessageOneofMultipleFields.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "patternProperties": { + "^(boolField)$": { + "default": false, + "type": "boolean" + }, + "^(strField)$": { + "default": "", + "type": "string" + } + }, + "properties": { + "bool_field": { + "default": false, + "type": "boolean" + }, + "str_field": { + "default": "", + "type": "string" + } + }, + "title": "Message Oneof Multiple Fields", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofMultipleFieldsRequired.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofMultipleFieldsRequired.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e993b9c0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofMultipleFieldsRequired.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MessageOneofMultipleFieldsRequired.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "boolField": { + "type": "boolean" + }, + "strField": { + "type": "string" + } + }, + "required": [ + "strField", + "boolField" + ], + "title": "Message Oneof Multiple Fields Required", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MessageOneofMultipleFieldsRequired.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MessageOneofMultipleFieldsRequired.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofMultipleFieldsRequired.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofMultipleFieldsRequired.schema.json new file mode 100644 index 00000000..8ab773de --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofMultipleFieldsRequired.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.MessageOneofMultipleFieldsRequired.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "patternProperties": { + "^(boolField)$": { + "default": false, + "type": "boolean" + }, + "^(strField)$": { + "default": "", + "type": "string" + } + }, + "properties": { + "bool_field": { + "default": false, + "type": "boolean" + }, + "str_field": { + "default": "", + "type": "string" + } + }, + "title": "Message Oneof Multiple Fields Required", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofMultipleSharedFields.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofMultipleSharedFields.jsonschema.strict.bundle.json new file mode 100644 index 00000000..be89cadd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofMultipleSharedFields.jsonschema.strict.bundle.json @@ -0,0 +1,31 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MessageOneofMultipleSharedFields.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "boolField": { + "type": "boolean" + }, + "intField": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "strField": { + "type": "string" + } + }, + "required": [ + "strField", + "boolField", + "intField" + ], + "title": "Message Oneof Multiple Shared Fields", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MessageOneofMultipleSharedFields.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MessageOneofMultipleSharedFields.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofMultipleSharedFields.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofMultipleSharedFields.schema.json new file mode 100644 index 00000000..32f583eb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofMultipleSharedFields.schema.json @@ -0,0 +1,55 @@ +{ + "$id": "buf.validate.conformance.cases.MessageOneofMultipleSharedFields.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "patternProperties": { + "^(boolField)$": { + "default": false, + "type": "boolean" + }, + "^(intField)$": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "^(strField)$": { + "default": "", + "type": "string" + } + }, + "properties": { + "bool_field": { + "default": false, + "type": "boolean" + }, + "int_field": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "str_field": { + "default": "", + "type": "string" + } + }, + "title": "Message Oneof Multiple Shared Fields", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofSingleField.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofSingleField.jsonschema.strict.bundle.json new file mode 100644 index 00000000..db2a6a3f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofSingleField.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MessageOneofSingleField.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "boolField": { + "type": "boolean" + }, + "strField": { + "type": "string" + } + }, + "required": [ + "strField", + "boolField" + ], + "title": "Message Oneof Single Field", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MessageOneofSingleField.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MessageOneofSingleField.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofSingleField.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofSingleField.schema.json new file mode 100644 index 00000000..16ed7f1c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofSingleField.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.MessageOneofSingleField.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "patternProperties": { + "^(boolField)$": { + "default": false, + "type": "boolean" + }, + "^(strField)$": { + "default": "", + "type": "string" + } + }, + "properties": { + "bool_field": { + "default": false, + "type": "boolean" + }, + "str_field": { + "default": "", + "type": "string" + } + }, + "title": "Message Oneof Single Field", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofSingleFieldRequired.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofSingleFieldRequired.jsonschema.strict.bundle.json new file mode 100644 index 00000000..88d2435f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofSingleFieldRequired.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MessageOneofSingleFieldRequired.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "boolField": { + "type": "boolean" + }, + "strField": { + "type": "string" + } + }, + "required": [ + "strField", + "boolField" + ], + "title": "Message Oneof Single Field Required", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MessageOneofSingleFieldRequired.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MessageOneofSingleFieldRequired.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofSingleFieldRequired.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofSingleFieldRequired.schema.json new file mode 100644 index 00000000..bd927b03 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofSingleFieldRequired.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.MessageOneofSingleFieldRequired.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "patternProperties": { + "^(boolField)$": { + "default": false, + "type": "boolean" + }, + "^(strField)$": { + "default": "", + "type": "string" + } + }, + "properties": { + "bool_field": { + "default": false, + "type": "boolean" + }, + "str_field": { + "default": "", + "type": "string" + } + }, + "title": "Message Oneof Single Field Required", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofUnknownFieldName.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofUnknownFieldName.jsonschema.strict.bundle.json new file mode 100644 index 00000000..9148a257 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofUnknownFieldName.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MessageOneofUnknownFieldName.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "strField": { + "type": "string" + } + }, + "required": [ + "strField" + ], + "title": "Message Oneof Unknown Field Name", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MessageOneofUnknownFieldName.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MessageOneofUnknownFieldName.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofUnknownFieldName.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofUnknownFieldName.schema.json new file mode 100644 index 00000000..91686b7d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofUnknownFieldName.schema.json @@ -0,0 +1,19 @@ +{ + "$id": "buf.validate.conformance.cases.MessageOneofUnknownFieldName.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "patternProperties": { + "^(strField)$": { + "default": "", + "type": "string" + } + }, + "properties": { + "str_field": { + "default": "", + "type": "string" + } + }, + "title": "Message Oneof Unknown Field Name", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofUnsatisfiable.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofUnsatisfiable.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f6675974 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofUnsatisfiable.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MessageOneofUnsatisfiable.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "type": "boolean" + }, + "b": { + "type": "boolean" + }, + "c": { + "type": "boolean" + } + }, + "required": [ + "a", + "b", + "c" + ], + "title": "Message Oneof Unsatisfiable", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MessageOneofUnsatisfiable.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MessageOneofUnsatisfiable.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofUnsatisfiable.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofUnsatisfiable.schema.json new file mode 100644 index 00000000..e180c137 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofUnsatisfiable.schema.json @@ -0,0 +1,21 @@ +{ + "$id": "buf.validate.conformance.cases.MessageOneofUnsatisfiable.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "default": false, + "type": "boolean" + }, + "b": { + "default": false, + "type": "boolean" + }, + "c": { + "default": false, + "type": "boolean" + } + }, + "title": "Message Oneof Unsatisfiable", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofZeroFields.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofZeroFields.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7c97d36f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofZeroFields.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MessageOneofZeroFields.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "boolField": { + "type": "boolean" + }, + "strField": { + "type": "string" + } + }, + "required": [ + "strField", + "boolField" + ], + "title": "Message Oneof Zero Fields", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MessageOneofZeroFields.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MessageOneofZeroFields.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofZeroFields.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofZeroFields.schema.json new file mode 100644 index 00000000..cd86420a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageOneofZeroFields.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.MessageOneofZeroFields.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "patternProperties": { + "^(boolField)$": { + "default": false, + "type": "boolean" + }, + "^(strField)$": { + "default": "", + "type": "string" + } + }, + "properties": { + "bool_field": { + "default": false, + "type": "boolean" + }, + "str_field": { + "default": "", + "type": "string" + } + }, + "title": "Message Oneof Zero Fields", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageRequired.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageRequired.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2707cf2e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageRequired.jsonschema.strict.bundle.json @@ -0,0 +1,41 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MessageRequired.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.TestMsg.jsonschema.strict.json" + } + }, + "required": [ + "val" + ], + "title": "Message Required", + "type": "object" + }, + "buf.validate.conformance.cases.TestMsg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "const": { + "enum": [ + "foo" + ], + "type": "string" + }, + "nested": { + "$ref": "#/$defs/buf.validate.conformance.cases.TestMsg.jsonschema.strict.json" + } + }, + "required": [ + "const" + ], + "title": "Test Msg", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MessageRequired.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MessageRequired.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageRequired.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageRequired.schema.json new file mode 100644 index 00000000..60cea9f3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageRequired.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.MessageRequired.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.TestMsg.schema.json" + } + }, + "required": [ + "val" + ], + "title": "Message Required", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageRequiredButOptional.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageRequiredButOptional.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d06b8be8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageRequiredButOptional.jsonschema.strict.bundle.json @@ -0,0 +1,41 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MessageRequiredButOptional.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.TestMsg.jsonschema.strict.json" + } + }, + "required": [ + "val" + ], + "title": "Message Required But Optional", + "type": "object" + }, + "buf.validate.conformance.cases.TestMsg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "const": { + "enum": [ + "foo" + ], + "type": "string" + }, + "nested": { + "$ref": "#/$defs/buf.validate.conformance.cases.TestMsg.jsonschema.strict.json" + } + }, + "required": [ + "const" + ], + "title": "Test Msg", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MessageRequiredButOptional.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MessageRequiredButOptional.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageRequiredButOptional.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageRequiredButOptional.schema.json new file mode 100644 index 00000000..5dcfd84d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageRequiredButOptional.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.MessageRequiredButOptional.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.TestMsg.schema.json" + } + }, + "required": [ + "val" + ], + "title": "Message Required But Optional", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageRequiredOneof.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageRequiredOneof.jsonschema.strict.bundle.json new file mode 100644 index 00000000..70c970c1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageRequiredOneof.jsonschema.strict.bundle.json @@ -0,0 +1,41 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MessageRequiredOneof.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.TestMsg.jsonschema.strict.json" + } + }, + "required": [ + "val" + ], + "title": "Message Required Oneof", + "type": "object" + }, + "buf.validate.conformance.cases.TestMsg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "const": { + "enum": [ + "foo" + ], + "type": "string" + }, + "nested": { + "$ref": "#/$defs/buf.validate.conformance.cases.TestMsg.jsonschema.strict.json" + } + }, + "required": [ + "const" + ], + "title": "Test Msg", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MessageRequiredOneof.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MessageRequiredOneof.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageRequiredOneof.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageRequiredOneof.schema.json new file mode 100644 index 00000000..6a7b0a30 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageRequiredOneof.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.MessageRequiredOneof.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.TestMsg.schema.json" + } + }, + "required": [ + "val" + ], + "title": "Message Required Oneof", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageSkip.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageSkip.jsonschema.strict.bundle.json new file mode 100644 index 00000000..31314ac9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageSkip.jsonschema.strict.bundle.json @@ -0,0 +1,38 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MessageSkip.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.TestMsg.jsonschema.strict.json" + } + }, + "title": "Message Skip", + "type": "object" + }, + "buf.validate.conformance.cases.TestMsg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "const": { + "enum": [ + "foo" + ], + "type": "string" + }, + "nested": { + "$ref": "#/$defs/buf.validate.conformance.cases.TestMsg.jsonschema.strict.json" + } + }, + "required": [ + "const" + ], + "title": "Test Msg", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MessageSkip.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MessageSkip.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageSkip.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageSkip.schema.json new file mode 100644 index 00000000..e68d8b2c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageSkip.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.MessageSkip.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.TestMsg.schema.json" + } + }, + "title": "Message Skip", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageWith3dInside.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageWith3dInside.jsonschema.strict.bundle.json new file mode 100644 index 00000000..dde5ddf6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageWith3dInside.jsonschema.strict.bundle.json @@ -0,0 +1,14 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MessageWith3dInside.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": {}, + "title": "Message With3d Inside", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MessageWith3dInside.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MessageWith3dInside.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MessageWith3dInside.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageWith3dInside.schema.json new file mode 100644 index 00000000..42288c5c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MessageWith3dInside.schema.json @@ -0,0 +1,8 @@ +{ + "$id": "buf.validate.conformance.cases.MessageWith3dInside.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": {}, + "title": "Message With3d Inside", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MultipleMaps.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MultipleMaps.jsonschema.strict.bundle.json new file mode 100644 index 00000000..fd82ceca --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MultipleMaps.jsonschema.strict.bundle.json @@ -0,0 +1,48 @@ +{ + "$defs": { + "buf.validate.conformance.cases.MultipleMaps.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "first": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "exclusiveMaximum": 4294967296, + "exclusiveMinimum": 0, + "type": "integer" + }, + "type": "object" + }, + "second": { + "additionalProperties": { + "type": "boolean" + }, + "propertyNames": { + "exclusiveMaximum": 0, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + }, + "third": { + "additionalProperties": { + "type": "boolean" + }, + "propertyNames": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Multiple Maps", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.MultipleMaps.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.MultipleMaps.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.MultipleMaps.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.MultipleMaps.schema.json new file mode 100644 index 00000000..4a59d61b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.MultipleMaps.schema.json @@ -0,0 +1,66 @@ +{ + "$id": "buf.validate.conformance.cases.MultipleMaps.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "first": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "anyOf": [ + { + "exclusiveMaximum": 4294967296, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + }, + "second": { + "additionalProperties": { + "type": "boolean" + }, + "propertyNames": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + }, + "third": { + "additionalProperties": { + "type": "boolean" + }, + "propertyNames": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Multiple Maps", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Oneof.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Oneof.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f0bbe52c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Oneof.jsonschema.strict.bundle.json @@ -0,0 +1,44 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Oneof.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "x": { + "pattern": "^foo.*", + "type": "string" + }, + "y": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "z": { + "$ref": "#/$defs/buf.validate.conformance.cases.TestOneofMsg.jsonschema.strict.json" + } + }, + "title": "Oneof", + "type": "object" + }, + "buf.validate.conformance.cases.TestOneofMsg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "val" + ], + "title": "Test Oneof Msg", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Oneof.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Oneof.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Oneof.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Oneof.schema.json new file mode 100644 index 00000000..ebbfe01f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Oneof.schema.json @@ -0,0 +1,29 @@ +{ + "$id": "buf.validate.conformance.cases.Oneof.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "x": { + "pattern": "^foo.*", + "type": "string" + }, + "y": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "z": { + "$ref": "buf.validate.conformance.cases.TestOneofMsg.schema.json" + } + }, + "title": "Oneof", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.OneofNone.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.OneofNone.jsonschema.strict.bundle.json new file mode 100644 index 00000000..c9b9d5c8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.OneofNone.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.OneofNone.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "x": { + "type": "string" + }, + "y": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Oneof None", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.OneofNone.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.OneofNone.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.OneofNone.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.OneofNone.schema.json new file mode 100644 index 00000000..6e51eee5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.OneofNone.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.OneofNone.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "x": { + "type": "string" + }, + "y": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Oneof None", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.OneofRequired.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.OneofRequired.jsonschema.strict.bundle.json new file mode 100644 index 00000000..0c716a2e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.OneofRequired.jsonschema.strict.bundle.json @@ -0,0 +1,33 @@ +{ + "$defs": { + "buf.validate.conformance.cases.OneofRequired.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "nameWithUnderscores": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "underAnd1Number": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "x": { + "type": "string" + }, + "y": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Oneof Required", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.OneofRequired.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.OneofRequired.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.OneofRequired.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.OneofRequired.schema.json new file mode 100644 index 00000000..ae9382e8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.OneofRequired.schema.json @@ -0,0 +1,79 @@ +{ + "$id": "buf.validate.conformance.cases.OneofRequired.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "patternProperties": { + "^(nameWithUnderscores)$": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "^(underAnd1Number)$": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "properties": { + "name_with_underscores": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "under_and_1_number": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "x": { + "type": "string" + }, + "y": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Oneof Required", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.OneofRequiredWithRequiredField.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.OneofRequiredWithRequiredField.jsonschema.strict.bundle.json new file mode 100644 index 00000000..27108566 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.OneofRequiredWithRequiredField.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.OneofRequiredWithRequiredField.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "type": "string" + }, + "b": { + "type": "string" + } + }, + "required": [ + "a" + ], + "title": "Oneof Required With Required Field", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.OneofRequiredWithRequiredField.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.OneofRequiredWithRequiredField.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.OneofRequiredWithRequiredField.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.OneofRequiredWithRequiredField.schema.json new file mode 100644 index 00000000..f444d711 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.OneofRequiredWithRequiredField.schema.json @@ -0,0 +1,18 @@ +{ + "$id": "buf.validate.conformance.cases.OneofRequiredWithRequiredField.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "type": "string" + }, + "b": { + "type": "string" + } + }, + "required": [ + "a" + ], + "title": "Oneof Required With Required Field", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleEdition2023.Nested.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleEdition2023.Nested.schema.json new file mode 100644 index 00000000..897af712 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleEdition2023.Nested.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedAndCustomRuleEdition2023.Nested.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "c": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Nested", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f3098639 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,36 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedAndCustomRuleEdition2023.Nested.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "c": { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Nested", + "type": "object" + }, + "buf.validate.conformance.cases.PredefinedAndCustomRuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + "b": { + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedAndCustomRuleEdition2023.Nested.jsonschema.strict.json" + } + }, + "title": "Predefined And Custom Rule Edition2023", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedAndCustomRuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedAndCustomRuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleEdition2023.schema.json new file mode 100644 index 00000000..a378752b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleEdition2023.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedAndCustomRuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "b": { + "$ref": "buf.validate.conformance.cases.PredefinedAndCustomRuleEdition2023.Nested.schema.json" + } + }, + "title": "Predefined And Custom Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleProto2.Nested.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleProto2.Nested.schema.json new file mode 100644 index 00000000..bd0a3902 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleProto2.Nested.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedAndCustomRuleProto2.Nested.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "c": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Nested", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e2c5fad7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,36 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedAndCustomRuleProto2.Nested.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "c": { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Nested", + "type": "object" + }, + "buf.validate.conformance.cases.PredefinedAndCustomRuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + "b": { + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedAndCustomRuleProto2.Nested.jsonschema.strict.json" + } + }, + "title": "Predefined And Custom Rule Proto2", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedAndCustomRuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedAndCustomRuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleProto2.schema.json new file mode 100644 index 00000000..fbfea2f5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleProto2.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedAndCustomRuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "b": { + "$ref": "buf.validate.conformance.cases.PredefinedAndCustomRuleProto2.Nested.schema.json" + } + }, + "title": "Predefined And Custom Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleProto3.Nested.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleProto3.Nested.schema.json new file mode 100644 index 00000000..fff3a29c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleProto3.Nested.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedAndCustomRuleProto3.Nested.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "c": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Nested", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2bc790d1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,42 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedAndCustomRuleProto3.Nested.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "c": { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "c" + ], + "title": "Nested", + "type": "object" + }, + "buf.validate.conformance.cases.PredefinedAndCustomRuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + "b": { + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedAndCustomRuleProto3.Nested.jsonschema.strict.json" + } + }, + "required": [ + "a" + ], + "title": "Predefined And Custom Rule Proto3", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedAndCustomRuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedAndCustomRuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleProto3.schema.json new file mode 100644 index 00000000..5cffc89a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedAndCustomRuleProto3.schema.json @@ -0,0 +1,26 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedAndCustomRuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "b": { + "$ref": "buf.validate.conformance.cases.PredefinedAndCustomRuleProto3.Nested.schema.json" + } + }, + "title": "Predefined And Custom Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBoolRuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBoolRuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..28a4b48f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBoolRuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,18 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedBoolRuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "boolean" + } + }, + "title": "Predefined Bool Rule Edition2023", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedBoolRuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedBoolRuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBoolRuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBoolRuleEdition2023.schema.json new file mode 100644 index 00000000..226dcb9d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBoolRuleEdition2023.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedBoolRuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "boolean" + } + }, + "title": "Predefined Bool Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBoolRuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBoolRuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..714ee284 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBoolRuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,18 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedBoolRuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "boolean" + } + }, + "title": "Predefined Bool Rule Proto2", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedBoolRuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedBoolRuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBoolRuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBoolRuleProto2.schema.json new file mode 100644 index 00000000..24ef6573 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBoolRuleProto2.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedBoolRuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "boolean" + } + }, + "title": "Predefined Bool Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBoolRuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBoolRuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ede103ea --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBoolRuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedBoolRuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "boolean" + } + }, + "required": [ + "val" + ], + "title": "Predefined Bool Rule Proto3", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedBoolRuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedBoolRuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBoolRuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBoolRuleProto3.schema.json new file mode 100644 index 00000000..db41894e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBoolRuleProto3.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedBoolRuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": false, + "type": "boolean" + } + }, + "title": "Predefined Bool Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBytesRuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBytesRuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d151e398 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBytesRuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,19 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedBytesRuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "Predefined Bytes Rule Edition2023", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedBytesRuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedBytesRuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBytesRuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBytesRuleEdition2023.schema.json new file mode 100644 index 00000000..8f5ec30a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBytesRuleEdition2023.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedBytesRuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "Predefined Bytes Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBytesRuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBytesRuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..945d7976 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBytesRuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,19 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedBytesRuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "Predefined Bytes Rule Proto2", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedBytesRuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedBytesRuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBytesRuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBytesRuleProto2.schema.json new file mode 100644 index 00000000..d992df1d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBytesRuleProto2.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedBytesRuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "Predefined Bytes Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBytesRuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBytesRuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a92f885e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBytesRuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedBytesRuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Predefined Bytes Rule Proto3", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedBytesRuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedBytesRuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBytesRuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBytesRuleProto3.schema.json new file mode 100644 index 00000000..e2c62b39 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedBytesRuleProto3.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedBytesRuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": null, + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "Predefined Bytes Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDoubleRuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDoubleRuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7613d9bf --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDoubleRuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,30 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedDoubleRuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ] + } + }, + "title": "Predefined Double Rule Edition2023", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedDoubleRuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedDoubleRuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDoubleRuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDoubleRuleEdition2023.schema.json new file mode 100644 index 00000000..3941f7c6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDoubleRuleEdition2023.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedDoubleRuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + }, + { + "type": "string" + } + ] + } + }, + "title": "Predefined Double Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDoubleRuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDoubleRuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..384f2799 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDoubleRuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,30 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedDoubleRuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ] + } + }, + "title": "Predefined Double Rule Proto2", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedDoubleRuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedDoubleRuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDoubleRuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDoubleRuleProto2.schema.json new file mode 100644 index 00000000..ef44d170 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDoubleRuleProto2.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedDoubleRuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + }, + { + "type": "string" + } + ] + } + }, + "title": "Predefined Double Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDoubleRuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDoubleRuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2cc6a655 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDoubleRuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,33 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedDoubleRuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ] + } + }, + "required": [ + "val" + ], + "title": "Predefined Double Rule Proto3", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedDoubleRuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedDoubleRuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDoubleRuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDoubleRuleProto3.schema.json new file mode 100644 index 00000000..df45b80f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDoubleRuleProto3.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedDoubleRuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + }, + { + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Predefined Double Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDurationRuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDurationRuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..3eeab399 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDurationRuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedDurationRuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Duration.jsonschema.strict.json" + } + }, + "title": "Predefined Duration Rule Edition2023", + "type": "object" + }, + "google.protobuf.Duration.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "duration", + "title": "Duration", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedDurationRuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedDurationRuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDurationRuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDurationRuleEdition2023.schema.json new file mode 100644 index 00000000..5ce0d5cd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDurationRuleEdition2023.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedDurationRuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Duration.schema.json" + } + }, + "title": "Predefined Duration Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDurationRuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDurationRuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..335b2b04 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDurationRuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedDurationRuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Duration.jsonschema.strict.json" + } + }, + "title": "Predefined Duration Rule Proto2", + "type": "object" + }, + "google.protobuf.Duration.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "duration", + "title": "Duration", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedDurationRuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedDurationRuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDurationRuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDurationRuleProto2.schema.json new file mode 100644 index 00000000..92208e9f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDurationRuleProto2.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedDurationRuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Duration.schema.json" + } + }, + "title": "Predefined Duration Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDurationRuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDurationRuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..62ad7c82 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDurationRuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedDurationRuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Duration.jsonschema.strict.json" + } + }, + "title": "Predefined Duration Rule Proto3", + "type": "object" + }, + "google.protobuf.Duration.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "duration", + "title": "Duration", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedDurationRuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedDurationRuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDurationRuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDurationRuleProto3.schema.json new file mode 100644 index 00000000..e9724a7d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedDurationRuleProto3.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedDurationRuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Duration.schema.json" + } + }, + "title": "Predefined Duration Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedEnumRuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedEnumRuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..bfc85201 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedEnumRuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedEnumRuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + "ENUM_EDITION2023_ZERO_UNSPECIFIED", + "ENUM_EDITION2023_ONE" + ], + "title": "Enum Edition2023", + "type": "string" + } + }, + "title": "Predefined Enum Rule Edition2023", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedEnumRuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedEnumRuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedEnumRuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedEnumRuleEdition2023.schema.json new file mode 100644 index 00000000..cbb45e32 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedEnumRuleEdition2023.schema.json @@ -0,0 +1,26 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedEnumRuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + "ENUM_EDITION2023_ZERO_UNSPECIFIED", + "ENUM_EDITION2023_ONE" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Enum Edition2023" + } + }, + "title": "Predefined Enum Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedEnumRuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedEnumRuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..0068c07e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedEnumRuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedEnumRuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + "ENUM_PROTO2_ZERO_UNSPECIFIED", + "ENUM_PROTO2_ONE" + ], + "title": "Enum Proto2", + "type": "string" + } + }, + "title": "Predefined Enum Rule Proto2", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedEnumRuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedEnumRuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedEnumRuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedEnumRuleProto2.schema.json new file mode 100644 index 00000000..8d2c5bfc --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedEnumRuleProto2.schema.json @@ -0,0 +1,26 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedEnumRuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + "ENUM_PROTO2_ZERO_UNSPECIFIED", + "ENUM_PROTO2_ONE" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Enum Proto2" + } + }, + "title": "Predefined Enum Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedEnumRuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedEnumRuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6bd252af --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedEnumRuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedEnumRuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + "ENUM_PROTO3_ZERO_UNSPECIFIED", + "ENUM_PROTO3_ONE" + ], + "title": "Enum Proto3", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Predefined Enum Rule Proto3", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedEnumRuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedEnumRuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedEnumRuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedEnumRuleProto3.schema.json new file mode 100644 index 00000000..7791fb7a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedEnumRuleProto3.schema.json @@ -0,0 +1,30 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedEnumRuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "pattern": "^ENUM_PROTO3_ZERO_UNSPECIFIED$", + "type": "string" + }, + { + "enum": [ + "ENUM_PROTO3_ONE" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "default": 0, + "title": "Enum Proto3" + } + }, + "title": "Predefined Enum Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed32RuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed32RuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..056573e4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed32RuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedFixed32RuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + } + }, + "title": "Predefined Fixed32 Rule Edition2023", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedFixed32RuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedFixed32RuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed32RuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed32RuleEdition2023.schema.json new file mode 100644 index 00000000..b69b66ee --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed32RuleEdition2023.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedFixed32RuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Predefined Fixed32 Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed32RuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed32RuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..8ad6eb33 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed32RuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedFixed32RuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + } + }, + "title": "Predefined Fixed32 Rule Proto2", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedFixed32RuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedFixed32RuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed32RuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed32RuleProto2.schema.json new file mode 100644 index 00000000..3c6b6b09 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed32RuleProto2.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedFixed32RuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Predefined Fixed32 Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed32RuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed32RuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..3326f673 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed32RuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedFixed32RuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Predefined Fixed32 Rule Proto3", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedFixed32RuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedFixed32RuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed32RuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed32RuleProto3.schema.json new file mode 100644 index 00000000..99f9be0a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed32RuleProto3.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedFixed32RuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Predefined Fixed32 Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed64RuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed64RuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..69b2060b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed64RuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,19 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedFixed64RuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "minimum": 0, + "type": "integer" + } + }, + "title": "Predefined Fixed64 Rule Edition2023", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedFixed64RuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedFixed64RuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed64RuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed64RuleEdition2023.schema.json new file mode 100644 index 00000000..e9bda5d9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed64RuleEdition2023.schema.json @@ -0,0 +1,21 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedFixed64RuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Predefined Fixed64 Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed64RuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed64RuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..27445f7e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed64RuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,19 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedFixed64RuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "minimum": 0, + "type": "integer" + } + }, + "title": "Predefined Fixed64 Rule Proto2", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedFixed64RuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedFixed64RuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed64RuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed64RuleProto2.schema.json new file mode 100644 index 00000000..537e995d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed64RuleProto2.schema.json @@ -0,0 +1,21 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedFixed64RuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Predefined Fixed64 Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed64RuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed64RuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..14d446c8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed64RuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedFixed64RuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Predefined Fixed64 Rule Proto3", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedFixed64RuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedFixed64RuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed64RuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed64RuleProto3.schema.json new file mode 100644 index 00000000..4e23d26b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFixed64RuleProto3.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedFixed64RuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Predefined Fixed64 Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFloatRuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFloatRuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..03c738a3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFloatRuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,32 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedFloatRuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ] + } + }, + "title": "Predefined Float Rule Edition2023", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedFloatRuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedFloatRuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFloatRuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFloatRuleEdition2023.schema.json new file mode 100644 index 00000000..1b47554b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFloatRuleEdition2023.schema.json @@ -0,0 +1,29 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedFloatRuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + }, + { + "type": "string" + } + ] + } + }, + "title": "Predefined Float Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFloatRuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFloatRuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a4f29378 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFloatRuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,32 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedFloatRuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ] + } + }, + "title": "Predefined Float Rule Proto2", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedFloatRuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedFloatRuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFloatRuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFloatRuleProto2.schema.json new file mode 100644 index 00000000..8b58a167 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFloatRuleProto2.schema.json @@ -0,0 +1,29 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedFloatRuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + }, + { + "type": "string" + } + ] + } + }, + "title": "Predefined Float Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFloatRuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFloatRuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..79348654 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFloatRuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,35 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedFloatRuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ] + } + }, + "required": [ + "val" + ], + "title": "Predefined Float Rule Proto3", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedFloatRuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedFloatRuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFloatRuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFloatRuleProto3.schema.json new file mode 100644 index 00000000..f22aed11 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedFloatRuleProto3.schema.json @@ -0,0 +1,30 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedFloatRuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + }, + { + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Predefined Float Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt32RuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt32RuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..800ce737 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt32RuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedInt32RuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Predefined Int32 Rule Edition2023", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedInt32RuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedInt32RuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt32RuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt32RuleEdition2023.schema.json new file mode 100644 index 00000000..5fb06efe --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt32RuleEdition2023.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedInt32RuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Predefined Int32 Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt32RuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt32RuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..381b8bc1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt32RuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedInt32RuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Predefined Int32 Rule Proto2", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedInt32RuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedInt32RuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt32RuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt32RuleProto2.schema.json new file mode 100644 index 00000000..0e5727ed --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt32RuleProto2.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedInt32RuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Predefined Int32 Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt32RuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt32RuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..556d2c02 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt32RuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedInt32RuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Predefined Int32 Rule Proto3", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedInt32RuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedInt32RuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt32RuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt32RuleProto3.schema.json new file mode 100644 index 00000000..80701de5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt32RuleProto3.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedInt32RuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Predefined Int32 Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt64RuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt64RuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..028848cb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt64RuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,18 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedInt64RuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "integer" + } + }, + "title": "Predefined Int64 Rule Edition2023", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedInt64RuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedInt64RuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt64RuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt64RuleEdition2023.schema.json new file mode 100644 index 00000000..79514ff5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt64RuleEdition2023.schema.json @@ -0,0 +1,20 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedInt64RuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Predefined Int64 Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt64RuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt64RuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d68e99b5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt64RuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,18 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedInt64RuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "integer" + } + }, + "title": "Predefined Int64 Rule Proto2", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedInt64RuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedInt64RuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt64RuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt64RuleProto2.schema.json new file mode 100644 index 00000000..9a89b384 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt64RuleProto2.schema.json @@ -0,0 +1,20 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedInt64RuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Predefined Int64 Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt64RuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt64RuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..277af099 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt64RuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedInt64RuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Predefined Int64 Rule Proto3", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedInt64RuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedInt64RuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt64RuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt64RuleProto3.schema.json new file mode 100644 index 00000000..28c17d59 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedInt64RuleProto3.schema.json @@ -0,0 +1,21 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedInt64RuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Predefined Int64 Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedMapRuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedMapRuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a6c2c4db --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedMapRuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedMapRuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "minimum": 0, + "type": "integer" + }, + "propertyNames": { + "minimum": 0, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Predefined Map Rule Edition2023", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedMapRuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedMapRuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedMapRuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedMapRuleEdition2023.schema.json new file mode 100644 index 00000000..11372990 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedMapRuleEdition2023.schema.json @@ -0,0 +1,36 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedMapRuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Predefined Map Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedMapRuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedMapRuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6ee1b1e4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedMapRuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedMapRuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "minimum": 0, + "type": "integer" + }, + "propertyNames": { + "minimum": 0, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Predefined Map Rule Proto3", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedMapRuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedMapRuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedMapRuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedMapRuleProto3.schema.json new file mode 100644 index 00000000..b730e075 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedMapRuleProto3.schema.json @@ -0,0 +1,36 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedMapRuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Predefined Map Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedRuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedRuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..922c0dbb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedRuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedRuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "minimum": 0, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Rule Edition2023", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedRuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedRuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedRuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedRuleEdition2023.schema.json new file mode 100644 index 00000000..2b285cd8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedRuleEdition2023.schema.json @@ -0,0 +1,24 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedRuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Predefined Repeated Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedRuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedRuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..49713a48 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedRuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedRuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "minimum": 0, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Rule Proto2", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedRuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedRuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedRuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedRuleProto2.schema.json new file mode 100644 index 00000000..e5f286f0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedRuleProto2.schema.json @@ -0,0 +1,24 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedRuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Predefined Repeated Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedRuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedRuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..84e11d68 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedRuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedRuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "minimum": 0, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Rule Proto3", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedRuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedRuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedRuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedRuleProto3.schema.json new file mode 100644 index 00000000..040ec8e5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedRuleProto3.schema.json @@ -0,0 +1,24 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedRuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Predefined Repeated Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..909e3fa2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.BoolValue.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Bool Rule Edition2023", + "type": "object" + }, + "google.protobuf.BoolValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The bool value.", + "title": "Bool Value", + "type": "boolean" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleEdition2023.schema.json new file mode 100644 index 00000000..11ae7cb1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleEdition2023.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.BoolValue.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Bool Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d27329f9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.BoolValue.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Bool Rule Proto2", + "type": "object" + }, + "google.protobuf.BoolValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The bool value.", + "title": "Bool Value", + "type": "boolean" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleProto2.schema.json new file mode 100644 index 00000000..5818dfb6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleProto2.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.BoolValue.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Bool Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b86c7647 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.BoolValue.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Bool Rule Proto3", + "type": "object" + }, + "google.protobuf.BoolValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The bool value.", + "title": "Bool Value", + "type": "boolean" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleProto3.schema.json new file mode 100644 index 00000000..123eabe5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleProto3.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.BoolValue.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Bool Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ef1e7600 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.BytesValue.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Bytes Rule Edition2023", + "type": "object" + }, + "google.protobuf.BytesValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The bytes value.", + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "title": "Bytes Value", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleEdition2023.schema.json new file mode 100644 index 00000000..1ae5f234 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleEdition2023.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.BytesValue.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Bytes Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..c20bcfbe --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.BytesValue.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Bytes Rule Proto2", + "type": "object" + }, + "google.protobuf.BytesValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The bytes value.", + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "title": "Bytes Value", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleProto2.schema.json new file mode 100644 index 00000000..bed7a2d6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleProto2.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.BytesValue.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Bytes Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..c86409d0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.BytesValue.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Bytes Rule Proto3", + "type": "object" + }, + "google.protobuf.BytesValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The bytes value.", + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "title": "Bytes Value", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleProto3.schema.json new file mode 100644 index 00000000..e11bc31d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleProto3.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.BytesValue.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Bytes Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..00801c3b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,39 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.DoubleValue.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Double Rule Edition2023", + "type": "object" + }, + "google.protobuf.DoubleValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ], + "description": "The double value.", + "title": "Double Value" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleEdition2023.schema.json new file mode 100644 index 00000000..2013ae61 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleEdition2023.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.DoubleValue.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Double Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7f848304 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,39 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.DoubleValue.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Double Rule Proto2", + "type": "object" + }, + "google.protobuf.DoubleValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ], + "description": "The double value.", + "title": "Double Value" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleProto2.schema.json new file mode 100644 index 00000000..0b5ef546 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleProto2.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.DoubleValue.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Double Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b72e1e46 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,39 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.DoubleValue.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Double Rule Proto3", + "type": "object" + }, + "google.protobuf.DoubleValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ], + "description": "The double value.", + "title": "Double Value" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleProto3.schema.json new file mode 100644 index 00000000..4391a696 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleProto3.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.DoubleValue.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Double Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6936ed5b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,41 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.FloatValue.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Float Rule Edition2023", + "type": "object" + }, + "google.protobuf.FloatValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ], + "description": "The float value.", + "title": "Float Value" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleEdition2023.schema.json new file mode 100644 index 00000000..9198cf37 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleEdition2023.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.FloatValue.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Float Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6504f255 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,41 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.FloatValue.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Float Rule Proto2", + "type": "object" + }, + "google.protobuf.FloatValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ], + "description": "The float value.", + "title": "Float Value" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleProto2.schema.json new file mode 100644 index 00000000..4a4731f9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleProto2.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.FloatValue.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Float Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7967e6f3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,41 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.FloatValue.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Float Rule Proto3", + "type": "object" + }, + "google.protobuf.FloatValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ], + "description": "The float value.", + "title": "Float Value" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleProto3.schema.json new file mode 100644 index 00000000..18258e46 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleProto3.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.FloatValue.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Float Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..868f2f26 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.Int32Value.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Int32 Rule Edition2023", + "type": "object" + }, + "google.protobuf.Int32Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The int32 value.", + "maximum": 2147483647, + "minimum": -2147483648, + "title": "Int32 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleEdition2023.schema.json new file mode 100644 index 00000000..33714375 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleEdition2023.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.Int32Value.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Int32 Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..18fa8ee8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.Int32Value.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Int32 Rule Proto2", + "type": "object" + }, + "google.protobuf.Int32Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The int32 value.", + "maximum": 2147483647, + "minimum": -2147483648, + "title": "Int32 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleProto2.schema.json new file mode 100644 index 00000000..a16f8398 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleProto2.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.Int32Value.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Int32 Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..36c92a72 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.Int32Value.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Int32 Rule Proto3", + "type": "object" + }, + "google.protobuf.Int32Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The int32 value.", + "maximum": 2147483647, + "minimum": -2147483648, + "title": "Int32 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleProto3.schema.json new file mode 100644 index 00000000..68bce2d4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleProto3.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.Int32Value.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Int32 Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..84b0d416 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.Int64Value.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Int64 Rule Edition2023", + "type": "object" + }, + "google.protobuf.Int64Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The int64 value.", + "title": "Int64 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleEdition2023.schema.json new file mode 100644 index 00000000..962b3095 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleEdition2023.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.Int64Value.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Int64 Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..37efb703 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.Int64Value.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Int64 Rule Proto2", + "type": "object" + }, + "google.protobuf.Int64Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The int64 value.", + "title": "Int64 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleProto2.schema.json new file mode 100644 index 00000000..365b599b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleProto2.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.Int64Value.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Int64 Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..427c3c16 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.Int64Value.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Int64 Rule Proto3", + "type": "object" + }, + "google.protobuf.Int64Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The int64 value.", + "title": "Int64 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleProto3.schema.json new file mode 100644 index 00000000..bc3fbeb7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleProto3.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.Int64Value.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped Int64 Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..85076f6d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.StringValue.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped String Rule Edition2023", + "type": "object" + }, + "google.protobuf.StringValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The string value.", + "title": "String Value", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleEdition2023.schema.json new file mode 100644 index 00000000..50639bb6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleEdition2023.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.StringValue.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped String Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..fe2ceee6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.StringValue.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped String Rule Proto2", + "type": "object" + }, + "google.protobuf.StringValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The string value.", + "title": "String Value", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleProto2.schema.json new file mode 100644 index 00000000..5abdae16 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleProto2.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.StringValue.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped String Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..cacf5f4d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.StringValue.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped String Rule Proto3", + "type": "object" + }, + "google.protobuf.StringValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The string value.", + "title": "String Value", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleProto3.schema.json new file mode 100644 index 00000000..44b4e3bd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleProto3.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.StringValue.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated Wrapped String Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..220fca84 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.UInt32Value.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated WrappedU Int32 Rule Edition2023", + "type": "object" + }, + "google.protobuf.UInt32Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The uint32 value.", + "maximum": 4294967295, + "minimum": 0, + "title": "U Int32 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleEdition2023.schema.json new file mode 100644 index 00000000..5fc8ab14 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleEdition2023.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.UInt32Value.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated WrappedU Int32 Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..879c15d5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.UInt32Value.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated WrappedU Int32 Rule Proto2", + "type": "object" + }, + "google.protobuf.UInt32Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The uint32 value.", + "maximum": 4294967295, + "minimum": 0, + "title": "U Int32 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleProto2.schema.json new file mode 100644 index 00000000..1ef1a2e6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleProto2.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.UInt32Value.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated WrappedU Int32 Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..c63d3153 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.UInt32Value.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated WrappedU Int32 Rule Proto3", + "type": "object" + }, + "google.protobuf.UInt32Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The uint32 value.", + "maximum": 4294967295, + "minimum": 0, + "title": "U Int32 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleProto3.schema.json new file mode 100644 index 00000000..f9a2f4a3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleProto3.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.UInt32Value.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated WrappedU Int32 Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..46276d4d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.UInt64Value.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated WrappedU Int64 Rule Edition2023", + "type": "object" + }, + "google.protobuf.UInt64Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The uint64 value.", + "minimum": 0, + "title": "U Int64 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleEdition2023.schema.json new file mode 100644 index 00000000..bcb450a6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleEdition2023.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.UInt64Value.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated WrappedU Int64 Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..8837dc18 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.UInt64Value.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated WrappedU Int64 Rule Proto2", + "type": "object" + }, + "google.protobuf.UInt64Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The uint64 value.", + "minimum": 0, + "title": "U Int64 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleProto2.schema.json new file mode 100644 index 00000000..8c1d92bc --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleProto2.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.UInt64Value.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated WrappedU Int64 Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..3569e036 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.UInt64Value.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated WrappedU Int64 Rule Proto3", + "type": "object" + }, + "google.protobuf.UInt64Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The uint64 value.", + "minimum": 0, + "title": "U Int64 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleProto3.schema.json new file mode 100644 index 00000000..3879dcce --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleProto3.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.UInt64Value.schema.json" + }, + "type": "array" + } + }, + "title": "Predefined Repeated WrappedU Int64 Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRulesProto3UnusedImportBugWorkaround.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRulesProto3UnusedImportBugWorkaround.jsonschema.strict.bundle.json new file mode 100644 index 00000000..5141c22e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRulesProto3UnusedImportBugWorkaround.jsonschema.strict.bundle.json @@ -0,0 +1,48 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedRulesProto3UnusedImportBugWorkaround.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "This is a workaround for https://github.com/bufbuild/buf/issues/3306.\n TODO(jchadwick-buf): Remove this when bufbuild/buf#3306 is fixed.", + "properties": { + "dummy1": { + "$ref": "#/$defs/buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto2.jsonschema.strict.json" + }, + "dummy2": { + "$ref": "#/$defs/buf.validate.conformance.cases.StandardPredefinedAndCustomRuleEdition2023.jsonschema.strict.json" + } + }, + "title": "Predefined Rules Proto3 Unused Import Bug Workaround", + "type": "object" + }, + "buf.validate.conformance.cases.StandardPredefinedAndCustomRuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "exclusiveMaximum": 28, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Standard Predefined And Custom Rule Edition2023", + "type": "object" + }, + "buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "exclusiveMaximum": 28, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Standard Predefined And Custom Rule Proto2", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedRulesProto3UnusedImportBugWorkaround.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedRulesProto3UnusedImportBugWorkaround.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRulesProto3UnusedImportBugWorkaround.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRulesProto3UnusedImportBugWorkaround.schema.json new file mode 100644 index 00000000..4f594c9b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedRulesProto3UnusedImportBugWorkaround.schema.json @@ -0,0 +1,24 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedRulesProto3UnusedImportBugWorkaround.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "This is a workaround for https://github.com/bufbuild/buf/issues/3306.\n TODO(jchadwick-buf): Remove this when bufbuild/buf#3306 is fixed.", + "patternProperties": { + "^(dummy1)$": { + "$ref": "buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto2.schema.json" + }, + "^(dummy2)$": { + "$ref": "buf.validate.conformance.cases.StandardPredefinedAndCustomRuleEdition2023.schema.json" + } + }, + "properties": { + "dummy_1": { + "$ref": "buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto2.schema.json" + }, + "dummy_2": { + "$ref": "buf.validate.conformance.cases.StandardPredefinedAndCustomRuleEdition2023.schema.json" + } + }, + "title": "Predefined Rules Proto3 Unused Import Bug Workaround", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed32RuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed32RuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..dc1d8492 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed32RuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedSFixed32RuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "PredefinedS Fixed32 Rule Edition2023", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedSFixed32RuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedSFixed32RuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed32RuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed32RuleEdition2023.schema.json new file mode 100644 index 00000000..9b11c9ea --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed32RuleEdition2023.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedSFixed32RuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "PredefinedS Fixed32 Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed32RuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed32RuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..47ca2227 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed32RuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedSFixed32RuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "PredefinedS Fixed32 Rule Proto2", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedSFixed32RuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedSFixed32RuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed32RuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed32RuleProto2.schema.json new file mode 100644 index 00000000..bcdb3343 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed32RuleProto2.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedSFixed32RuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "PredefinedS Fixed32 Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed32RuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed32RuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..33062ac9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed32RuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedSFixed32RuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "PredefinedS Fixed32 Rule Proto3", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedSFixed32RuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedSFixed32RuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed32RuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed32RuleProto3.schema.json new file mode 100644 index 00000000..2badd39b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed32RuleProto3.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedSFixed32RuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "PredefinedS Fixed32 Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed64RuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed64RuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..908adb66 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed64RuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,18 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedSFixed64RuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "integer" + } + }, + "title": "PredefinedS Fixed64 Rule Edition2023", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedSFixed64RuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedSFixed64RuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed64RuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed64RuleEdition2023.schema.json new file mode 100644 index 00000000..b1dd509b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed64RuleEdition2023.schema.json @@ -0,0 +1,20 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedSFixed64RuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "PredefinedS Fixed64 Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed64RuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed64RuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..5c365768 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed64RuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,18 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedSFixed64RuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "integer" + } + }, + "title": "PredefinedS Fixed64 Rule Proto2", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedSFixed64RuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedSFixed64RuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed64RuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed64RuleProto2.schema.json new file mode 100644 index 00000000..75f4b84a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed64RuleProto2.schema.json @@ -0,0 +1,20 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedSFixed64RuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "PredefinedS Fixed64 Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed64RuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed64RuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..cf0eedad --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed64RuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedSFixed64RuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "PredefinedS Fixed64 Rule Proto3", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedSFixed64RuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedSFixed64RuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed64RuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed64RuleProto3.schema.json new file mode 100644 index 00000000..99f2a008 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSFixed64RuleProto3.schema.json @@ -0,0 +1,21 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedSFixed64RuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "PredefinedS Fixed64 Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt32RuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt32RuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f79dd50f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt32RuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedSInt32RuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "PredefinedS Int32 Rule Edition2023", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedSInt32RuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedSInt32RuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt32RuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt32RuleEdition2023.schema.json new file mode 100644 index 00000000..0a6a4441 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt32RuleEdition2023.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedSInt32RuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "PredefinedS Int32 Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt32RuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt32RuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a0e09dec --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt32RuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedSInt32RuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "PredefinedS Int32 Rule Proto2", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedSInt32RuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedSInt32RuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt32RuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt32RuleProto2.schema.json new file mode 100644 index 00000000..784a47eb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt32RuleProto2.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedSInt32RuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "PredefinedS Int32 Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt32RuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt32RuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f9c476c2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt32RuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedSInt32RuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "PredefinedS Int32 Rule Proto3", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedSInt32RuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedSInt32RuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt32RuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt32RuleProto3.schema.json new file mode 100644 index 00000000..827ba34b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt32RuleProto3.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedSInt32RuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "PredefinedS Int32 Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt64RuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt64RuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2d034919 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt64RuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,18 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedSInt64RuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "integer" + } + }, + "title": "PredefinedS Int64 Rule Edition2023", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedSInt64RuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedSInt64RuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt64RuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt64RuleEdition2023.schema.json new file mode 100644 index 00000000..1b1fc4c5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt64RuleEdition2023.schema.json @@ -0,0 +1,20 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedSInt64RuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "PredefinedS Int64 Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt64RuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt64RuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..9c53a087 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt64RuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,18 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedSInt64RuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "integer" + } + }, + "title": "PredefinedS Int64 Rule Proto2", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedSInt64RuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedSInt64RuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt64RuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt64RuleProto2.schema.json new file mode 100644 index 00000000..0f9cc296 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt64RuleProto2.schema.json @@ -0,0 +1,20 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedSInt64RuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "PredefinedS Int64 Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt64RuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt64RuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..46c7aa0a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt64RuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedSInt64RuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "PredefinedS Int64 Rule Proto3", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedSInt64RuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedSInt64RuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt64RuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt64RuleProto3.schema.json new file mode 100644 index 00000000..0e801435 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedSInt64RuleProto3.schema.json @@ -0,0 +1,21 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedSInt64RuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "PredefinedS Int64 Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedStringRuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedStringRuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..692d04e2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedStringRuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,18 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedStringRuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Predefined String Rule Edition2023", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedStringRuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedStringRuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedStringRuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedStringRuleEdition2023.schema.json new file mode 100644 index 00000000..a326ddb9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedStringRuleEdition2023.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedStringRuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Predefined String Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedStringRuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedStringRuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2b558ca5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedStringRuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,18 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedStringRuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Predefined String Rule Proto2", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedStringRuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedStringRuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedStringRuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedStringRuleProto2.schema.json new file mode 100644 index 00000000..b0d3a69d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedStringRuleProto2.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedStringRuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Predefined String Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedStringRuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedStringRuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..744a8dc3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedStringRuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedStringRuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Predefined String Rule Proto3", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedStringRuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedStringRuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedStringRuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedStringRuleProto3.schema.json new file mode 100644 index 00000000..4eac5297 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedStringRuleProto3.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedStringRuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "Predefined String Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedTimestampRuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedTimestampRuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6c6e004f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedTimestampRuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedTimestampRuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + } + }, + "title": "Predefined Timestamp Rule Edition2023", + "type": "object" + }, + "google.protobuf.Timestamp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date-time", + "title": "Timestamp", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedTimestampRuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedTimestampRuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedTimestampRuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedTimestampRuleEdition2023.schema.json new file mode 100644 index 00000000..32f30d5b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedTimestampRuleEdition2023.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedTimestampRuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Timestamp.schema.json" + } + }, + "title": "Predefined Timestamp Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedTimestampRuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedTimestampRuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..111c7367 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedTimestampRuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedTimestampRuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + } + }, + "title": "Predefined Timestamp Rule Proto2", + "type": "object" + }, + "google.protobuf.Timestamp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date-time", + "title": "Timestamp", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedTimestampRuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedTimestampRuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedTimestampRuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedTimestampRuleProto2.schema.json new file mode 100644 index 00000000..1ecbde3f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedTimestampRuleProto2.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedTimestampRuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Timestamp.schema.json" + } + }, + "title": "Predefined Timestamp Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedTimestampRuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedTimestampRuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..81242628 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedTimestampRuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedTimestampRuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + } + }, + "title": "Predefined Timestamp Rule Proto3", + "type": "object" + }, + "google.protobuf.Timestamp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date-time", + "title": "Timestamp", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedTimestampRuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedTimestampRuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedTimestampRuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedTimestampRuleProto3.schema.json new file mode 100644 index 00000000..96a2e51c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedTimestampRuleProto3.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedTimestampRuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Timestamp.schema.json" + } + }, + "title": "Predefined Timestamp Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt32RuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt32RuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7e495d63 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt32RuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedUInt32RuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + } + }, + "title": "PredefinedU Int32 Rule Edition2023", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedUInt32RuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedUInt32RuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt32RuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt32RuleEdition2023.schema.json new file mode 100644 index 00000000..30b98dd1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt32RuleEdition2023.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedUInt32RuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "PredefinedU Int32 Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt32RuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt32RuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7c56f10e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt32RuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedUInt32RuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + } + }, + "title": "PredefinedU Int32 Rule Proto2", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedUInt32RuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedUInt32RuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt32RuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt32RuleProto2.schema.json new file mode 100644 index 00000000..db614aa5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt32RuleProto2.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedUInt32RuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "PredefinedU Int32 Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt32RuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt32RuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..de3ce1de --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt32RuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedUInt32RuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "PredefinedU Int32 Rule Proto3", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedUInt32RuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedUInt32RuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt32RuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt32RuleProto3.schema.json new file mode 100644 index 00000000..eab4090b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt32RuleProto3.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedUInt32RuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "PredefinedU Int32 Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt64RuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt64RuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b303a14c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt64RuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,19 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedUInt64RuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "minimum": 0, + "type": "integer" + } + }, + "title": "PredefinedU Int64 Rule Edition2023", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedUInt64RuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedUInt64RuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt64RuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt64RuleEdition2023.schema.json new file mode 100644 index 00000000..79168f18 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt64RuleEdition2023.schema.json @@ -0,0 +1,21 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedUInt64RuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "PredefinedU Int64 Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt64RuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt64RuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..1eda07b6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt64RuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,19 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedUInt64RuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "minimum": 0, + "type": "integer" + } + }, + "title": "PredefinedU Int64 Rule Proto2", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedUInt64RuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedUInt64RuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt64RuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt64RuleProto2.schema.json new file mode 100644 index 00000000..9621d6c5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt64RuleProto2.schema.json @@ -0,0 +1,21 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedUInt64RuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "PredefinedU Int64 Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt64RuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt64RuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..98b79ea9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt64RuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedUInt64RuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "PredefinedU Int64 Rule Proto3", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedUInt64RuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedUInt64RuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt64RuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt64RuleProto3.schema.json new file mode 100644 index 00000000..f6f7869a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedUInt64RuleProto3.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedUInt64RuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "PredefinedU Int64 Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBoolRuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBoolRuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..bd130d07 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBoolRuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedBoolRuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.BoolValue.jsonschema.strict.json" + } + }, + "title": "Predefined Wrapped Bool Rule Edition2023", + "type": "object" + }, + "google.protobuf.BoolValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The bool value.", + "title": "Bool Value", + "type": "boolean" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedBoolRuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedBoolRuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBoolRuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBoolRuleEdition2023.schema.json new file mode 100644 index 00000000..caf82475 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBoolRuleEdition2023.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedBoolRuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.BoolValue.schema.json" + } + }, + "title": "Predefined Wrapped Bool Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBoolRuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBoolRuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6342039d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBoolRuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedBoolRuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.BoolValue.jsonschema.strict.json" + } + }, + "title": "Predefined Wrapped Bool Rule Proto2", + "type": "object" + }, + "google.protobuf.BoolValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The bool value.", + "title": "Bool Value", + "type": "boolean" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedBoolRuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedBoolRuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBoolRuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBoolRuleProto2.schema.json new file mode 100644 index 00000000..ea0dac5f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBoolRuleProto2.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedBoolRuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.BoolValue.schema.json" + } + }, + "title": "Predefined Wrapped Bool Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBoolRuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBoolRuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a32dabad --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBoolRuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedBoolRuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.BoolValue.jsonschema.strict.json" + } + }, + "title": "Predefined Wrapped Bool Rule Proto3", + "type": "object" + }, + "google.protobuf.BoolValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The bool value.", + "title": "Bool Value", + "type": "boolean" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedBoolRuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedBoolRuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBoolRuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBoolRuleProto3.schema.json new file mode 100644 index 00000000..74dc6b07 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBoolRuleProto3.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedBoolRuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.BoolValue.schema.json" + } + }, + "title": "Predefined Wrapped Bool Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBytesRuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBytesRuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..669357ef --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBytesRuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedBytesRuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.BytesValue.jsonschema.strict.json" + } + }, + "title": "Predefined Wrapped Bytes Rule Edition2023", + "type": "object" + }, + "google.protobuf.BytesValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The bytes value.", + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "title": "Bytes Value", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedBytesRuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedBytesRuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBytesRuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBytesRuleEdition2023.schema.json new file mode 100644 index 00000000..0c2b3737 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBytesRuleEdition2023.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedBytesRuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.BytesValue.schema.json" + } + }, + "title": "Predefined Wrapped Bytes Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBytesRuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBytesRuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..160390e6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBytesRuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedBytesRuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.BytesValue.jsonschema.strict.json" + } + }, + "title": "Predefined Wrapped Bytes Rule Proto2", + "type": "object" + }, + "google.protobuf.BytesValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The bytes value.", + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "title": "Bytes Value", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedBytesRuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedBytesRuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBytesRuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBytesRuleProto2.schema.json new file mode 100644 index 00000000..ed8103b7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBytesRuleProto2.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedBytesRuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.BytesValue.schema.json" + } + }, + "title": "Predefined Wrapped Bytes Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBytesRuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBytesRuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6ddb31a3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBytesRuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedBytesRuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.BytesValue.jsonschema.strict.json" + } + }, + "title": "Predefined Wrapped Bytes Rule Proto3", + "type": "object" + }, + "google.protobuf.BytesValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The bytes value.", + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "title": "Bytes Value", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedBytesRuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedBytesRuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBytesRuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBytesRuleProto3.schema.json new file mode 100644 index 00000000..3019dae4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedBytesRuleProto3.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedBytesRuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.BytesValue.schema.json" + } + }, + "title": "Predefined Wrapped Bytes Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedDoubleRuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedDoubleRuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f8aa6033 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedDoubleRuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,36 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedDoubleRuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.DoubleValue.jsonschema.strict.json" + } + }, + "title": "Predefined Wrapped Double Rule Edition2023", + "type": "object" + }, + "google.protobuf.DoubleValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ], + "description": "The double value.", + "title": "Double Value" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedDoubleRuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedDoubleRuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedDoubleRuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedDoubleRuleEdition2023.schema.json new file mode 100644 index 00000000..f7cc47b7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedDoubleRuleEdition2023.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedDoubleRuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.DoubleValue.schema.json" + } + }, + "title": "Predefined Wrapped Double Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedDoubleRuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedDoubleRuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..5cf89bd8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedDoubleRuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,36 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedDoubleRuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.DoubleValue.jsonschema.strict.json" + } + }, + "title": "Predefined Wrapped Double Rule Proto2", + "type": "object" + }, + "google.protobuf.DoubleValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ], + "description": "The double value.", + "title": "Double Value" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedDoubleRuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedDoubleRuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedDoubleRuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedDoubleRuleProto2.schema.json new file mode 100644 index 00000000..e9308adf --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedDoubleRuleProto2.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedDoubleRuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.DoubleValue.schema.json" + } + }, + "title": "Predefined Wrapped Double Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedDoubleRuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedDoubleRuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..82e5a2dc --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedDoubleRuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,36 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedDoubleRuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.DoubleValue.jsonschema.strict.json" + } + }, + "title": "Predefined Wrapped Double Rule Proto3", + "type": "object" + }, + "google.protobuf.DoubleValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ], + "description": "The double value.", + "title": "Double Value" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedDoubleRuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedDoubleRuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedDoubleRuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedDoubleRuleProto3.schema.json new file mode 100644 index 00000000..5f58995c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedDoubleRuleProto3.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedDoubleRuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.DoubleValue.schema.json" + } + }, + "title": "Predefined Wrapped Double Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedFloatRuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedFloatRuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..beabd9b7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedFloatRuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,38 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedFloatRuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.FloatValue.jsonschema.strict.json" + } + }, + "title": "Predefined Wrapped Float Rule Edition2023", + "type": "object" + }, + "google.protobuf.FloatValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ], + "description": "The float value.", + "title": "Float Value" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedFloatRuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedFloatRuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedFloatRuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedFloatRuleEdition2023.schema.json new file mode 100644 index 00000000..c72c48de --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedFloatRuleEdition2023.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedFloatRuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.FloatValue.schema.json" + } + }, + "title": "Predefined Wrapped Float Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedFloatRuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedFloatRuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..df6b1fd5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedFloatRuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,38 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedFloatRuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.FloatValue.jsonschema.strict.json" + } + }, + "title": "Predefined Wrapped Float Rule Proto2", + "type": "object" + }, + "google.protobuf.FloatValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ], + "description": "The float value.", + "title": "Float Value" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedFloatRuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedFloatRuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedFloatRuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedFloatRuleProto2.schema.json new file mode 100644 index 00000000..6e4db024 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedFloatRuleProto2.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedFloatRuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.FloatValue.schema.json" + } + }, + "title": "Predefined Wrapped Float Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedFloatRuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedFloatRuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..fc3d27a5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedFloatRuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,38 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedFloatRuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.FloatValue.jsonschema.strict.json" + } + }, + "title": "Predefined Wrapped Float Rule Proto3", + "type": "object" + }, + "google.protobuf.FloatValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ], + "description": "The float value.", + "title": "Float Value" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedFloatRuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedFloatRuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedFloatRuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedFloatRuleProto3.schema.json new file mode 100644 index 00000000..43f0d211 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedFloatRuleProto3.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedFloatRuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.FloatValue.schema.json" + } + }, + "title": "Predefined Wrapped Float Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt32RuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt32RuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..cf5157bd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt32RuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedInt32RuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Int32Value.jsonschema.strict.json" + } + }, + "title": "Predefined Wrapped Int32 Rule Edition2023", + "type": "object" + }, + "google.protobuf.Int32Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The int32 value.", + "maximum": 2147483647, + "minimum": -2147483648, + "title": "Int32 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedInt32RuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedInt32RuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt32RuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt32RuleEdition2023.schema.json new file mode 100644 index 00000000..d48bd827 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt32RuleEdition2023.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedInt32RuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Int32Value.schema.json" + } + }, + "title": "Predefined Wrapped Int32 Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt32RuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt32RuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..5deba087 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt32RuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedInt32RuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Int32Value.jsonschema.strict.json" + } + }, + "title": "Predefined Wrapped Int32 Rule Proto2", + "type": "object" + }, + "google.protobuf.Int32Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The int32 value.", + "maximum": 2147483647, + "minimum": -2147483648, + "title": "Int32 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedInt32RuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedInt32RuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt32RuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt32RuleProto2.schema.json new file mode 100644 index 00000000..2327b55c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt32RuleProto2.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedInt32RuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Int32Value.schema.json" + } + }, + "title": "Predefined Wrapped Int32 Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt32RuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt32RuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..927c3c0e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt32RuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedInt32RuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Int32Value.jsonschema.strict.json" + } + }, + "title": "Predefined Wrapped Int32 Rule Proto3", + "type": "object" + }, + "google.protobuf.Int32Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The int32 value.", + "maximum": 2147483647, + "minimum": -2147483648, + "title": "Int32 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedInt32RuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedInt32RuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt32RuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt32RuleProto3.schema.json new file mode 100644 index 00000000..008bf00a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt32RuleProto3.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedInt32RuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Int32Value.schema.json" + } + }, + "title": "Predefined Wrapped Int32 Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt64RuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt64RuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b2e92311 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt64RuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedInt64RuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Int64Value.jsonschema.strict.json" + } + }, + "title": "Predefined Wrapped Int64 Rule Edition2023", + "type": "object" + }, + "google.protobuf.Int64Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The int64 value.", + "title": "Int64 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedInt64RuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedInt64RuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt64RuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt64RuleEdition2023.schema.json new file mode 100644 index 00000000..82d44c1a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt64RuleEdition2023.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedInt64RuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Int64Value.schema.json" + } + }, + "title": "Predefined Wrapped Int64 Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt64RuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt64RuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a8daab37 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt64RuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedInt64RuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Int64Value.jsonschema.strict.json" + } + }, + "title": "Predefined Wrapped Int64 Rule Proto2", + "type": "object" + }, + "google.protobuf.Int64Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The int64 value.", + "title": "Int64 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedInt64RuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedInt64RuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt64RuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt64RuleProto2.schema.json new file mode 100644 index 00000000..b5a9a546 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt64RuleProto2.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedInt64RuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Int64Value.schema.json" + } + }, + "title": "Predefined Wrapped Int64 Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt64RuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt64RuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..5abcf419 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt64RuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedInt64RuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Int64Value.jsonschema.strict.json" + } + }, + "title": "Predefined Wrapped Int64 Rule Proto3", + "type": "object" + }, + "google.protobuf.Int64Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The int64 value.", + "title": "Int64 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedInt64RuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedInt64RuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt64RuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt64RuleProto3.schema.json new file mode 100644 index 00000000..ac155685 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedInt64RuleProto3.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedInt64RuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Int64Value.schema.json" + } + }, + "title": "Predefined Wrapped Int64 Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedStringRuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedStringRuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..30f4e370 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedStringRuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedStringRuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.StringValue.jsonschema.strict.json" + } + }, + "title": "Predefined Wrapped String Rule Edition2023", + "type": "object" + }, + "google.protobuf.StringValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The string value.", + "title": "String Value", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedStringRuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedStringRuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedStringRuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedStringRuleEdition2023.schema.json new file mode 100644 index 00000000..2e27bfd7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedStringRuleEdition2023.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedStringRuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.StringValue.schema.json" + } + }, + "title": "Predefined Wrapped String Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedStringRuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedStringRuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..8bbc89ff --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedStringRuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedStringRuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.StringValue.jsonschema.strict.json" + } + }, + "title": "Predefined Wrapped String Rule Proto2", + "type": "object" + }, + "google.protobuf.StringValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The string value.", + "title": "String Value", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedStringRuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedStringRuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedStringRuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedStringRuleProto2.schema.json new file mode 100644 index 00000000..34e7770a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedStringRuleProto2.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedStringRuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.StringValue.schema.json" + } + }, + "title": "Predefined Wrapped String Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedStringRuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedStringRuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..cdb79a63 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedStringRuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedStringRuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.StringValue.jsonschema.strict.json" + } + }, + "title": "Predefined Wrapped String Rule Proto3", + "type": "object" + }, + "google.protobuf.StringValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The string value.", + "title": "String Value", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedStringRuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedStringRuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedStringRuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedStringRuleProto3.schema.json new file mode 100644 index 00000000..cfd4cbe9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedStringRuleProto3.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedStringRuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.StringValue.schema.json" + } + }, + "title": "Predefined Wrapped String Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt32RuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt32RuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..1fb3d503 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt32RuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedUInt32RuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.UInt32Value.jsonschema.strict.json" + } + }, + "title": "Predefined WrappedU Int32 Rule Edition2023", + "type": "object" + }, + "google.protobuf.UInt32Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The uint32 value.", + "maximum": 4294967295, + "minimum": 0, + "title": "U Int32 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedUInt32RuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedUInt32RuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt32RuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt32RuleEdition2023.schema.json new file mode 100644 index 00000000..4aa8cd2b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt32RuleEdition2023.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedUInt32RuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.UInt32Value.schema.json" + } + }, + "title": "Predefined WrappedU Int32 Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt32RuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt32RuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2e8bd1ba --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt32RuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedUInt32RuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.UInt32Value.jsonschema.strict.json" + } + }, + "title": "Predefined WrappedU Int32 Rule Proto2", + "type": "object" + }, + "google.protobuf.UInt32Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The uint32 value.", + "maximum": 4294967295, + "minimum": 0, + "title": "U Int32 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedUInt32RuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedUInt32RuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt32RuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt32RuleProto2.schema.json new file mode 100644 index 00000000..debbdfad --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt32RuleProto2.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedUInt32RuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.UInt32Value.schema.json" + } + }, + "title": "Predefined WrappedU Int32 Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt32RuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt32RuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e148e985 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt32RuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedUInt32RuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.UInt32Value.jsonschema.strict.json" + } + }, + "title": "Predefined WrappedU Int32 Rule Proto3", + "type": "object" + }, + "google.protobuf.UInt32Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The uint32 value.", + "maximum": 4294967295, + "minimum": 0, + "title": "U Int32 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedUInt32RuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedUInt32RuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt32RuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt32RuleProto3.schema.json new file mode 100644 index 00000000..10f127be --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt32RuleProto3.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedUInt32RuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.UInt32Value.schema.json" + } + }, + "title": "Predefined WrappedU Int32 Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt64RuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt64RuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6763ed7c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt64RuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedUInt64RuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.UInt64Value.jsonschema.strict.json" + } + }, + "title": "Predefined WrappedU Int64 Rule Edition2023", + "type": "object" + }, + "google.protobuf.UInt64Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The uint64 value.", + "minimum": 0, + "title": "U Int64 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedUInt64RuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedUInt64RuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt64RuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt64RuleEdition2023.schema.json new file mode 100644 index 00000000..11b34713 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt64RuleEdition2023.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedUInt64RuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.UInt64Value.schema.json" + } + }, + "title": "Predefined WrappedU Int64 Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt64RuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt64RuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..4aaff65c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt64RuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedUInt64RuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.UInt64Value.jsonschema.strict.json" + } + }, + "title": "Predefined WrappedU Int64 Rule Proto2", + "type": "object" + }, + "google.protobuf.UInt64Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The uint64 value.", + "minimum": 0, + "title": "U Int64 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedUInt64RuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedUInt64RuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt64RuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt64RuleProto2.schema.json new file mode 100644 index 00000000..62b1cf0b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt64RuleProto2.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedUInt64RuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.UInt64Value.schema.json" + } + }, + "title": "Predefined WrappedU Int64 Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt64RuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt64RuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..18cb6846 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt64RuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.PredefinedWrappedUInt64RuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.UInt64Value.jsonschema.strict.json" + } + }, + "title": "Predefined WrappedU Int64 Rule Proto3", + "type": "object" + }, + "google.protobuf.UInt64Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The uint64 value.", + "minimum": 0, + "title": "U Int64 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.PredefinedWrappedUInt64RuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.PredefinedWrappedUInt64RuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt64RuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt64RuleProto3.schema.json new file mode 100644 index 00000000..88d86467 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.PredefinedWrappedUInt64RuleProto3.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.PredefinedWrappedUInt64RuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.UInt64Value.schema.json" + } + }, + "title": "Predefined WrappedU Int64 Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..bec0f336 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2MapIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Proto2 Map Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2MapIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2MapIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapIgnoreAlways.schema.json new file mode 100644 index 00000000..c44aff64 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapIgnoreAlways.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2MapIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Proto2 Map Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..05276a87 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2MapIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Proto2 Map Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2MapIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2MapIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapIgnoreEmpty.schema.json new file mode 100644 index 00000000..048809b2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapIgnoreEmpty.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2MapIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Proto2 Map Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2bd2de38 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2MapIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Proto2 Map Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2MapIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2MapIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapIgnoreUnspecified.schema.json new file mode 100644 index 00000000..46b0a775 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapIgnoreUnspecified.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2MapIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Proto2 Map Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapKeyIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapKeyIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..afad0b2c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapKeyIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2MapKeyIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "propertyNames": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Proto2 Map Key Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2MapKeyIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2MapKeyIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapKeyIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapKeyIgnoreAlways.schema.json new file mode 100644 index 00000000..fb4da73c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapKeyIgnoreAlways.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2MapKeyIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Proto2 Map Key Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapKeyIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapKeyIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..c51962ec --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapKeyIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2MapKeyIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "propertyNames": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Proto2 Map Key Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2MapKeyIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2MapKeyIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapKeyIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapKeyIgnoreEmpty.schema.json new file mode 100644 index 00000000..a9cc360e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapKeyIgnoreEmpty.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2MapKeyIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Proto2 Map Key Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapKeyIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapKeyIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..14590b9f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapKeyIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2MapKeyIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "propertyNames": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Proto2 Map Key Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2MapKeyIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2MapKeyIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapKeyIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapKeyIgnoreUnspecified.schema.json new file mode 100644 index 00000000..e8147744 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapKeyIgnoreUnspecified.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2MapKeyIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Proto2 Map Key Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapValueIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapValueIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..fe72355f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapValueIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2MapValueIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Proto2 Map Value Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2MapValueIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2MapValueIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapValueIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapValueIgnoreAlways.schema.json new file mode 100644 index 00000000..4af0f21b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapValueIgnoreAlways.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2MapValueIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Proto2 Map Value Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapValueIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapValueIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..dc742844 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapValueIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2MapValueIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Proto2 Map Value Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2MapValueIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2MapValueIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapValueIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapValueIgnoreEmpty.schema.json new file mode 100644 index 00000000..8e2530be --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapValueIgnoreEmpty.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2MapValueIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Proto2 Map Value Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapValueIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapValueIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..98136145 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapValueIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2MapValueIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Proto2 Map Value Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2MapValueIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2MapValueIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapValueIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapValueIgnoreUnspecified.schema.json new file mode 100644 index 00000000..b3e48810 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MapValueIgnoreUnspecified.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2MapValueIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Proto2 Map Value Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreAlways.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreAlways.Msg.schema.json new file mode 100644 index 00000000..90c9f758 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreAlways.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2MessageOptionalIgnoreAlways.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a65a09b1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2MessageOptionalIgnoreAlways.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.Proto2MessageOptionalIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreAlways.Msg.jsonschema.strict.json" + } + }, + "title": "Proto2 Message Optional Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2MessageOptionalIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreAlways.schema.json new file mode 100644 index 00000000..28c29fe6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreAlways.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2MessageOptionalIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.Proto2MessageOptionalIgnoreAlways.Msg.schema.json" + } + }, + "title": "Proto2 Message Optional Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreEmpty.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreEmpty.Msg.schema.json new file mode 100644 index 00000000..418e57e1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreEmpty.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2MessageOptionalIgnoreEmpty.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..813e59bc --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2MessageOptionalIgnoreEmpty.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.Proto2MessageOptionalIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreEmpty.Msg.jsonschema.strict.json" + } + }, + "title": "Proto2 Message Optional Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2MessageOptionalIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreEmpty.schema.json new file mode 100644 index 00000000..b0a4905a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreEmpty.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2MessageOptionalIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.Proto2MessageOptionalIgnoreEmpty.Msg.schema.json" + } + }, + "title": "Proto2 Message Optional Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreUnspecified.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreUnspecified.Msg.schema.json new file mode 100644 index 00000000..617181f9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreUnspecified.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2MessageOptionalIgnoreUnspecified.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..8e16ffc0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2MessageOptionalIgnoreUnspecified.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.Proto2MessageOptionalIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreUnspecified.Msg.jsonschema.strict.json" + } + }, + "title": "Proto2 Message Optional Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2MessageOptionalIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreUnspecified.schema.json new file mode 100644 index 00000000..0d7b9255 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageOptionalIgnoreUnspecified.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2MessageOptionalIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.Proto2MessageOptionalIgnoreUnspecified.Msg.schema.json" + } + }, + "title": "Proto2 Message Optional Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreAlways.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreAlways.Msg.schema.json new file mode 100644 index 00000000..fdb87eb5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreAlways.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2MessageRequiredIgnoreAlways.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6c2a648b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2MessageRequiredIgnoreAlways.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.Proto2MessageRequiredIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreAlways.Msg.jsonschema.strict.json" + } + }, + "title": "Proto2 Message Required Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2MessageRequiredIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreAlways.schema.json new file mode 100644 index 00000000..b18c5720 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreAlways.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2MessageRequiredIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.Proto2MessageRequiredIgnoreAlways.Msg.schema.json" + } + }, + "title": "Proto2 Message Required Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreEmpty.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreEmpty.Msg.schema.json new file mode 100644 index 00000000..82a0a125 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreEmpty.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2MessageRequiredIgnoreEmpty.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..bbf517da --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2MessageRequiredIgnoreEmpty.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.Proto2MessageRequiredIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreEmpty.Msg.jsonschema.strict.json" + } + }, + "title": "Proto2 Message Required Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2MessageRequiredIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreEmpty.schema.json new file mode 100644 index 00000000..3a8e39b7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreEmpty.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2MessageRequiredIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.Proto2MessageRequiredIgnoreEmpty.Msg.schema.json" + } + }, + "title": "Proto2 Message Required Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreUnspecified.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreUnspecified.Msg.schema.json new file mode 100644 index 00000000..909c685a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreUnspecified.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2MessageRequiredIgnoreUnspecified.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ddf7c265 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2MessageRequiredIgnoreUnspecified.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.Proto2MessageRequiredIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreUnspecified.Msg.jsonschema.strict.json" + } + }, + "title": "Proto2 Message Required Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2MessageRequiredIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreUnspecified.schema.json new file mode 100644 index 00000000..4bb39fbb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2MessageRequiredIgnoreUnspecified.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2MessageRequiredIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.Proto2MessageRequiredIgnoreUnspecified.Msg.schema.json" + } + }, + "title": "Proto2 Message Required Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d0b18124 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2OneofIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Proto2 Oneof Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2OneofIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2OneofIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreAlways.schema.json new file mode 100644 index 00000000..fc989fad --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreAlways.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2OneofIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Proto2 Oneof Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreAlwaysWithDefault.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreAlwaysWithDefault.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b8244ef5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreAlwaysWithDefault.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2OneofIgnoreAlwaysWithDefault.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Proto2 Oneof Ignore Always With Default", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2OneofIgnoreAlwaysWithDefault.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2OneofIgnoreAlwaysWithDefault.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreAlwaysWithDefault.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreAlwaysWithDefault.schema.json new file mode 100644 index 00000000..6431187d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreAlwaysWithDefault.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2OneofIgnoreAlwaysWithDefault.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Proto2 Oneof Ignore Always With Default", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..55fb85d0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2OneofIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Proto2 Oneof Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2OneofIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2OneofIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreEmpty.schema.json new file mode 100644 index 00000000..aaf1f7b1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreEmpty.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2OneofIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Proto2 Oneof Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreEmptyWithDefault.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreEmptyWithDefault.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ef976568 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreEmptyWithDefault.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2OneofIgnoreEmptyWithDefault.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Proto2 Oneof Ignore Empty With Default", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2OneofIgnoreEmptyWithDefault.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2OneofIgnoreEmptyWithDefault.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreEmptyWithDefault.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreEmptyWithDefault.schema.json new file mode 100644 index 00000000..d200b138 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreEmptyWithDefault.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2OneofIgnoreEmptyWithDefault.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Proto2 Oneof Ignore Empty With Default", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..c888ae9b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2OneofIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Proto2 Oneof Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2OneofIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2OneofIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreUnspecified.schema.json new file mode 100644 index 00000000..56e35b7d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreUnspecified.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2OneofIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Proto2 Oneof Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreUnspecifiedWithDefault.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreUnspecifiedWithDefault.jsonschema.strict.bundle.json new file mode 100644 index 00000000..3dfca17b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreUnspecifiedWithDefault.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2OneofIgnoreUnspecifiedWithDefault.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Proto2 Oneof Ignore Unspecified With Default", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2OneofIgnoreUnspecifiedWithDefault.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2OneofIgnoreUnspecifiedWithDefault.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreUnspecifiedWithDefault.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreUnspecifiedWithDefault.schema.json new file mode 100644 index 00000000..958c323a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2OneofIgnoreUnspecifiedWithDefault.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2OneofIgnoreUnspecifiedWithDefault.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Proto2 Oneof Ignore Unspecified With Default", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e1691726 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2RepeatedIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Proto2 Repeated Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2RepeatedIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2RepeatedIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedIgnoreAlways.schema.json new file mode 100644 index 00000000..035581fc --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedIgnoreAlways.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2RepeatedIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Proto2 Repeated Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..39cb60e5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2RepeatedIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Proto2 Repeated Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2RepeatedIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2RepeatedIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedIgnoreEmpty.schema.json new file mode 100644 index 00000000..1a79fc40 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedIgnoreEmpty.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2RepeatedIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Proto2 Repeated Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..38668739 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2RepeatedIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Proto2 Repeated Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2RepeatedIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2RepeatedIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedIgnoreUnspecified.schema.json new file mode 100644 index 00000000..d7c03245 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedIgnoreUnspecified.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2RepeatedIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Proto2 Repeated Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedItemIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedItemIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a0cb2772 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedItemIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2RepeatedItemIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Proto2 Repeated Item Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2RepeatedItemIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2RepeatedItemIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedItemIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedItemIgnoreAlways.schema.json new file mode 100644 index 00000000..e541047c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedItemIgnoreAlways.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2RepeatedItemIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Proto2 Repeated Item Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedItemIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedItemIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d76d3ee8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedItemIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2RepeatedItemIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Proto2 Repeated Item Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2RepeatedItemIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2RepeatedItemIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedItemIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedItemIgnoreEmpty.schema.json new file mode 100644 index 00000000..537aff34 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedItemIgnoreEmpty.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2RepeatedItemIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Proto2 Repeated Item Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedItemIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedItemIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..8b7508d2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedItemIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2RepeatedItemIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Proto2 Repeated Item Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2RepeatedItemIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2RepeatedItemIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedItemIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedItemIgnoreUnspecified.schema.json new file mode 100644 index 00000000..1351a3be --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2RepeatedItemIgnoreUnspecified.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2RepeatedItemIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Proto2 Repeated Item Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..33fa153b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Proto2 Scalar Optional Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreAlways.schema.json new file mode 100644 index 00000000..06c451dc --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreAlways.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Proto2 Scalar Optional Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreAlwaysWithDefault.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreAlwaysWithDefault.jsonschema.strict.bundle.json new file mode 100644 index 00000000..99b05f7b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreAlwaysWithDefault.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreAlwaysWithDefault.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Proto2 Scalar Optional Ignore Always With Default", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreAlwaysWithDefault.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreAlwaysWithDefault.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreAlwaysWithDefault.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreAlwaysWithDefault.schema.json new file mode 100644 index 00000000..26db9256 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreAlwaysWithDefault.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreAlwaysWithDefault.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Proto2 Scalar Optional Ignore Always With Default", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2787c0eb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Proto2 Scalar Optional Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreEmpty.schema.json new file mode 100644 index 00000000..788a7329 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreEmpty.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Proto2 Scalar Optional Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreEmptyWithDefault.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreEmptyWithDefault.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7a143e70 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreEmptyWithDefault.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreEmptyWithDefault.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Proto2 Scalar Optional Ignore Empty With Default", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreEmptyWithDefault.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreEmptyWithDefault.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreEmptyWithDefault.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreEmptyWithDefault.schema.json new file mode 100644 index 00000000..e245e139 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreEmptyWithDefault.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreEmptyWithDefault.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Proto2 Scalar Optional Ignore Empty With Default", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..663e866d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Proto2 Scalar Optional Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreUnspecified.schema.json new file mode 100644 index 00000000..b8916ebc --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreUnspecified.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Proto2 Scalar Optional Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreUnspecifiedWithDefault.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreUnspecifiedWithDefault.jsonschema.strict.bundle.json new file mode 100644 index 00000000..60f03141 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreUnspecifiedWithDefault.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreUnspecifiedWithDefault.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Proto2 Scalar Optional Ignore Unspecified With Default", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreUnspecifiedWithDefault.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreUnspecifiedWithDefault.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreUnspecifiedWithDefault.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreUnspecifiedWithDefault.schema.json new file mode 100644 index 00000000..b8621291 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreUnspecifiedWithDefault.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreUnspecifiedWithDefault.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Proto2 Scalar Optional Ignore Unspecified With Default", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..0a9f1742 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Proto2 Scalar Required Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreAlways.schema.json new file mode 100644 index 00000000..9fb2e240 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreAlways.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Proto2 Scalar Required Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreAlwaysWithDefault.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreAlwaysWithDefault.jsonschema.strict.bundle.json new file mode 100644 index 00000000..5b772567 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreAlwaysWithDefault.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreAlwaysWithDefault.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Proto2 Scalar Required Ignore Always With Default", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreAlwaysWithDefault.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreAlwaysWithDefault.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreAlwaysWithDefault.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreAlwaysWithDefault.schema.json new file mode 100644 index 00000000..7c78f69f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreAlwaysWithDefault.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreAlwaysWithDefault.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Proto2 Scalar Required Ignore Always With Default", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..778577fd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Proto2 Scalar Required Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreEmpty.schema.json new file mode 100644 index 00000000..f0ace1fa --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreEmpty.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Proto2 Scalar Required Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreEmptyWithDefault.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreEmptyWithDefault.jsonschema.strict.bundle.json new file mode 100644 index 00000000..1e998472 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreEmptyWithDefault.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreEmptyWithDefault.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Proto2 Scalar Required Ignore Empty With Default", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreEmptyWithDefault.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreEmptyWithDefault.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreEmptyWithDefault.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreEmptyWithDefault.schema.json new file mode 100644 index 00000000..67c1ac4d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreEmptyWithDefault.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreEmptyWithDefault.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Proto2 Scalar Required Ignore Empty With Default", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f7b5e358 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Proto2 Scalar Required Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreUnspecified.schema.json new file mode 100644 index 00000000..29198e06 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreUnspecified.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Proto2 Scalar Required Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreUnspecifiedWithDefault.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreUnspecifiedWithDefault.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6b4ad8da --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreUnspecifiedWithDefault.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreUnspecifiedWithDefault.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Proto2 Scalar Required Ignore Unspecified With Default", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreUnspecifiedWithDefault.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreUnspecifiedWithDefault.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreUnspecifiedWithDefault.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreUnspecifiedWithDefault.schema.json new file mode 100644 index 00000000..fde8054a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreUnspecifiedWithDefault.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreUnspecifiedWithDefault.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Proto2 Scalar Required Ignore Unspecified With Default", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e67e5401 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3MapIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Proto3 Map Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3MapIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3MapIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapIgnoreAlways.schema.json new file mode 100644 index 00000000..58fa1ebb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapIgnoreAlways.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3MapIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Proto3 Map Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6cea029b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3MapIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Proto3 Map Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3MapIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3MapIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapIgnoreEmpty.schema.json new file mode 100644 index 00000000..f0ca8675 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapIgnoreEmpty.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3MapIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Proto3 Map Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..da66a7d6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3MapIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Proto3 Map Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3MapIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3MapIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapIgnoreUnspecified.schema.json new file mode 100644 index 00000000..4a6f2168 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapIgnoreUnspecified.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3MapIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Proto3 Map Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapKeyIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapKeyIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..77f1dee4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapKeyIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3MapKeyIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "propertyNames": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Proto3 Map Key Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3MapKeyIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3MapKeyIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapKeyIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapKeyIgnoreAlways.schema.json new file mode 100644 index 00000000..11252f1a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapKeyIgnoreAlways.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3MapKeyIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Proto3 Map Key Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapKeyIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapKeyIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..3e92c3d6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapKeyIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3MapKeyIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "propertyNames": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Proto3 Map Key Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3MapKeyIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3MapKeyIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapKeyIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapKeyIgnoreEmpty.schema.json new file mode 100644 index 00000000..0cb251db --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapKeyIgnoreEmpty.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3MapKeyIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Proto3 Map Key Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapKeyIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapKeyIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..06b2591a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapKeyIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3MapKeyIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "propertyNames": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Proto3 Map Key Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3MapKeyIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3MapKeyIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapKeyIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapKeyIgnoreUnspecified.schema.json new file mode 100644 index 00000000..c8121a12 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapKeyIgnoreUnspecified.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3MapKeyIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Proto3 Map Key Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapValueIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapValueIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..822ee55e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapValueIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3MapValueIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Proto3 Map Value Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3MapValueIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3MapValueIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapValueIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapValueIgnoreAlways.schema.json new file mode 100644 index 00000000..1698b665 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapValueIgnoreAlways.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3MapValueIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Proto3 Map Value Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapValueIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapValueIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..818cf7bf --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapValueIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3MapValueIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Proto3 Map Value Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3MapValueIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3MapValueIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapValueIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapValueIgnoreEmpty.schema.json new file mode 100644 index 00000000..823ec57e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapValueIgnoreEmpty.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3MapValueIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Proto3 Map Value Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapValueIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapValueIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ac7c1513 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapValueIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3MapValueIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Proto3 Map Value Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3MapValueIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3MapValueIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapValueIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapValueIgnoreUnspecified.schema.json new file mode 100644 index 00000000..8367e822 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MapValueIgnoreUnspecified.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3MapValueIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Proto3 Map Value Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageIgnoreEmpty.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageIgnoreEmpty.Msg.schema.json new file mode 100644 index 00000000..c5d4faa6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageIgnoreEmpty.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3MessageIgnoreEmpty.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..fd132969 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3MessageIgnoreEmpty.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.Proto3MessageIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3MessageIgnoreEmpty.Msg.jsonschema.strict.json" + } + }, + "title": "Proto3 Message Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3MessageIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3MessageIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageIgnoreEmpty.schema.json new file mode 100644 index 00000000..015fa4ce --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageIgnoreEmpty.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3MessageIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.Proto3MessageIgnoreEmpty.Msg.schema.json" + } + }, + "title": "Proto3 Message Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageIgnoreUnspecified.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageIgnoreUnspecified.Msg.schema.json new file mode 100644 index 00000000..f99207f8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageIgnoreUnspecified.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3MessageIgnoreUnspecified.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..93bed7a9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3MessageIgnoreUnspecified.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.Proto3MessageIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3MessageIgnoreUnspecified.Msg.jsonschema.strict.json" + } + }, + "title": "Proto3 Message Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3MessageIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3MessageIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageIgnoreUnspecified.schema.json new file mode 100644 index 00000000..71e88220 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageIgnoreUnspecified.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3MessageIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.Proto3MessageIgnoreUnspecified.Msg.schema.json" + } + }, + "title": "Proto3 Message Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreAlways.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreAlways.Msg.schema.json new file mode 100644 index 00000000..99d95b37 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreAlways.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3MessageOptionalIgnoreAlways.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b192f97a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3MessageOptionalIgnoreAlways.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.Proto3MessageOptionalIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreAlways.Msg.jsonschema.strict.json" + } + }, + "title": "Proto3 Message Optional Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3MessageOptionalIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreAlways.schema.json new file mode 100644 index 00000000..83b1ade1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreAlways.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3MessageOptionalIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.Proto3MessageOptionalIgnoreAlways.Msg.schema.json" + } + }, + "title": "Proto3 Message Optional Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreEmpty.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreEmpty.Msg.schema.json new file mode 100644 index 00000000..eca27890 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreEmpty.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3MessageOptionalIgnoreEmpty.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..64ed148c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3MessageOptionalIgnoreEmpty.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.Proto3MessageOptionalIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreEmpty.Msg.jsonschema.strict.json" + } + }, + "title": "Proto3 Message Optional Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3MessageOptionalIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreEmpty.schema.json new file mode 100644 index 00000000..2032362a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreEmpty.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3MessageOptionalIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.Proto3MessageOptionalIgnoreEmpty.Msg.schema.json" + } + }, + "title": "Proto3 Message Optional Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreUnspecified.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreUnspecified.Msg.schema.json new file mode 100644 index 00000000..f12dbea9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreUnspecified.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3MessageOptionalIgnoreUnspecified.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b15d3395 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3MessageOptionalIgnoreUnspecified.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.Proto3MessageOptionalIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreUnspecified.Msg.jsonschema.strict.json" + } + }, + "title": "Proto3 Message Optional Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3MessageOptionalIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreUnspecified.schema.json new file mode 100644 index 00000000..b729471a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3MessageOptionalIgnoreUnspecified.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3MessageOptionalIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.Proto3MessageOptionalIgnoreUnspecified.Msg.schema.json" + } + }, + "title": "Proto3 Message Optional Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3OneofIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3OneofIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..4e700dbc --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3OneofIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3OneofIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Proto3 Oneof Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3OneofIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3OneofIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3OneofIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3OneofIgnoreAlways.schema.json new file mode 100644 index 00000000..b3c675af --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3OneofIgnoreAlways.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3OneofIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Proto3 Oneof Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3OneofIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3OneofIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..1dccfe73 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3OneofIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3OneofIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Proto3 Oneof Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3OneofIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3OneofIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3OneofIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3OneofIgnoreEmpty.schema.json new file mode 100644 index 00000000..ff638ee3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3OneofIgnoreEmpty.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3OneofIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Proto3 Oneof Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3OneofIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3OneofIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..8437fdd5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3OneofIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3OneofIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Proto3 Oneof Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3OneofIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3OneofIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3OneofIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3OneofIgnoreUnspecified.schema.json new file mode 100644 index 00000000..0686b69e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3OneofIgnoreUnspecified.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3OneofIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Proto3 Oneof Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a69d7a4c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3RepeatedIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Proto3 Repeated Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3RepeatedIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3RepeatedIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedIgnoreAlways.schema.json new file mode 100644 index 00000000..3e1bb97f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedIgnoreAlways.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3RepeatedIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Proto3 Repeated Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..c7ee5c2e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3RepeatedIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Proto3 Repeated Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3RepeatedIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3RepeatedIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedIgnoreEmpty.schema.json new file mode 100644 index 00000000..38c1c872 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedIgnoreEmpty.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3RepeatedIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Proto3 Repeated Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..9a86a202 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3RepeatedIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Proto3 Repeated Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3RepeatedIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3RepeatedIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedIgnoreUnspecified.schema.json new file mode 100644 index 00000000..dc04b183 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedIgnoreUnspecified.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3RepeatedIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Proto3 Repeated Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedItemIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedItemIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..be313394 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedItemIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3RepeatedItemIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Proto3 Repeated Item Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3RepeatedItemIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3RepeatedItemIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedItemIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedItemIgnoreAlways.schema.json new file mode 100644 index 00000000..15a41884 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedItemIgnoreAlways.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3RepeatedItemIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Proto3 Repeated Item Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedItemIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedItemIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..30c61a5f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedItemIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3RepeatedItemIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Proto3 Repeated Item Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3RepeatedItemIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3RepeatedItemIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedItemIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedItemIgnoreEmpty.schema.json new file mode 100644 index 00000000..8d53d1f6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedItemIgnoreEmpty.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3RepeatedItemIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Proto3 Repeated Item Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedItemIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedItemIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..39cce53c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedItemIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3RepeatedItemIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Proto3 Repeated Item Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3RepeatedItemIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3RepeatedItemIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedItemIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedItemIgnoreUnspecified.schema.json new file mode 100644 index 00000000..c3d983ba --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3RepeatedItemIgnoreUnspecified.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3RepeatedItemIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Proto3 Repeated Item Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..336047af --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3ScalarIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Proto3 Scalar Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3ScalarIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3ScalarIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarIgnoreAlways.schema.json new file mode 100644 index 00000000..32e92d09 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarIgnoreAlways.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3ScalarIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Proto3 Scalar Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..53b3e7d2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3ScalarIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Proto3 Scalar Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3ScalarIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3ScalarIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarIgnoreEmpty.schema.json new file mode 100644 index 00000000..14409176 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarIgnoreEmpty.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3ScalarIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Proto3 Scalar Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..3cd4356b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3ScalarIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Proto3 Scalar Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3ScalarIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3ScalarIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarIgnoreUnspecified.schema.json new file mode 100644 index 00000000..40afeaa1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarIgnoreUnspecified.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3ScalarIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Proto3 Scalar Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..1d0af325 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Proto3 Scalar Optional Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreAlways.schema.json new file mode 100644 index 00000000..55fa22c7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreAlways.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Proto3 Scalar Optional Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreEmpty.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreEmpty.jsonschema.strict.bundle.json new file mode 100644 index 00000000..499b312e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreEmpty.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreEmpty.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Proto3 Scalar Optional Ignore Empty", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreEmpty.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreEmpty.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreEmpty.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreEmpty.schema.json new file mode 100644 index 00000000..1ee45c02 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreEmpty.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreEmpty.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Proto3 Scalar Optional Ignore Empty", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreUnspecified.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreUnspecified.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e2311494 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreUnspecified.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreUnspecified.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "title": "Proto3 Scalar Optional Ignore Unspecified", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreUnspecified.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreUnspecified.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreUnspecified.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreUnspecified.schema.json new file mode 100644 index 00000000..aa858af9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreUnspecified.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreUnspecified.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Proto3 Scalar Optional Ignore Unspecified", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedAnyIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedAnyIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ef543163 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedAnyIn.jsonschema.strict.bundle.json @@ -0,0 +1,31 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RepeatedAnyIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.Any.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Repeated Any In", + "type": "object" + }, + "google.protobuf.Any.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "properties": { + "@type": { + "type": "string" + } + }, + "title": "Any", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedAnyIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedAnyIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedAnyIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedAnyIn.schema.json new file mode 100644 index 00000000..7d872663 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedAnyIn.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedAnyIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.Any.schema.json" + }, + "type": "array" + } + }, + "title": "Repeated Any In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedAnyNotIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedAnyNotIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f1b7eeb0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedAnyNotIn.jsonschema.strict.bundle.json @@ -0,0 +1,31 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RepeatedAnyNotIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.Any.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Repeated Any Not In", + "type": "object" + }, + "google.protobuf.Any.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "properties": { + "@type": { + "type": "string" + } + }, + "title": "Any", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedAnyNotIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedAnyNotIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedAnyNotIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedAnyNotIn.schema.json new file mode 100644 index 00000000..2c0fd780 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedAnyNotIn.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedAnyNotIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.Any.schema.json" + }, + "type": "array" + } + }, + "title": "Repeated Any Not In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedDuration.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedDuration.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b6549e84 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedDuration.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RepeatedDuration.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/google.protobuf.Duration.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Repeated Duration", + "type": "object" + }, + "google.protobuf.Duration.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "duration", + "title": "Duration", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedDuration.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedDuration.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedDuration.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedDuration.schema.json new file mode 100644 index 00000000..48d874bc --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedDuration.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedDuration.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "google.protobuf.Duration.schema.json" + }, + "type": "array" + } + }, + "title": "Repeated Duration", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbedCrossPackageNone.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbedCrossPackageNone.jsonschema.strict.bundle.json new file mode 100644 index 00000000..1c6d1efc --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbedCrossPackageNone.jsonschema.strict.bundle.json @@ -0,0 +1,37 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RepeatedEmbedCrossPackageNone.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/buf.validate.conformance.cases.other_package.Embed.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Repeated Embed Cross Package None", + "type": "object" + }, + "buf.validate.conformance.cases.other_package.Embed.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Validate message embedding across packages.", + "properties": { + "val": { + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Embed", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedEmbedCrossPackageNone.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedEmbedCrossPackageNone.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbedCrossPackageNone.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbedCrossPackageNone.schema.json new file mode 100644 index 00000000..37bcd80d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbedCrossPackageNone.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedEmbedCrossPackageNone.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "buf.validate.conformance.cases.other_package.Embed.schema.json" + }, + "type": "array" + } + }, + "title": "Repeated Embed Cross Package None", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbedNone.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbedNone.jsonschema.strict.bundle.json new file mode 100644 index 00000000..3482b139 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbedNone.jsonschema.strict.bundle.json @@ -0,0 +1,36 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Embed.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Embed", + "type": "object" + }, + "buf.validate.conformance.cases.RepeatedEmbedNone.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/buf.validate.conformance.cases.Embed.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Repeated Embed None", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedEmbedNone.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedEmbedNone.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbedNone.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbedNone.schema.json new file mode 100644 index 00000000..d6991aff --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbedNone.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedEmbedNone.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "buf.validate.conformance.cases.Embed.schema.json" + }, + "type": "array" + } + }, + "title": "Repeated Embed None", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbedSkip.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbedSkip.jsonschema.strict.bundle.json new file mode 100644 index 00000000..854f911c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbedSkip.jsonschema.strict.bundle.json @@ -0,0 +1,36 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Embed.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Embed", + "type": "object" + }, + "buf.validate.conformance.cases.RepeatedEmbedSkip.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/buf.validate.conformance.cases.Embed.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Repeated Embed Skip", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedEmbedSkip.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedEmbedSkip.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbedSkip.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbedSkip.schema.json new file mode 100644 index 00000000..04c18cdc --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbedSkip.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedEmbedSkip.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "buf.validate.conformance.cases.Embed.schema.json" + }, + "type": "array" + } + }, + "title": "Repeated Embed Skip", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbeddedEnumIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbeddedEnumIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2c89ebcd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbeddedEnumIn.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RepeatedEmbeddedEnumIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "enum": [ + "ANOTHER_IN_ENUM_UNSPECIFIED" + ], + "title": "Another In Enum", + "type": "string" + }, + "type": "array" + } + }, + "title": "Repeated Embedded Enum In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedEmbeddedEnumIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedEmbeddedEnumIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbeddedEnumIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbeddedEnumIn.schema.json new file mode 100644 index 00000000..325c4e77 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbeddedEnumIn.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedEmbeddedEnumIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "enum": [ + "ANOTHER_IN_ENUM_UNSPECIFIED" + ], + "type": "string" + }, + { + "maximum": 0, + "minimum": 0, + "type": "integer" + } + ], + "title": "Another In Enum" + }, + "type": "array" + } + }, + "title": "Repeated Embedded Enum In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbeddedEnumNotIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbeddedEnumNotIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..395b89a8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbeddedEnumNotIn.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RepeatedEmbeddedEnumNotIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "enum": [ + "ANOTHER_NOT_IN_ENUM_A", + "ANOTHER_NOT_IN_ENUM_B" + ], + "title": "Another Not In Enum", + "type": "string" + }, + "type": "array" + } + }, + "title": "Repeated Embedded Enum Not In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedEmbeddedEnumNotIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedEmbeddedEnumNotIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbeddedEnumNotIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbeddedEnumNotIn.schema.json new file mode 100644 index 00000000..f15adbc0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEmbeddedEnumNotIn.schema.json @@ -0,0 +1,29 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedEmbeddedEnumNotIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "enum": [ + "ANOTHER_NOT_IN_ENUM_A", + "ANOTHER_NOT_IN_ENUM_B" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Another Not In Enum" + }, + "type": "array" + } + }, + "title": "Repeated Embedded Enum Not In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEnumDefined.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEnumDefined.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a80fa60f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEnumDefined.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RepeatedEnumDefined.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "enum": [ + "TEST_ENUM_UNSPECIFIED", + "TEST_ENUM_ONE", + "TEST_ENUM_TWO" + ], + "title": "Test Enum", + "type": "string" + }, + "type": "array" + } + }, + "title": "Repeated Enum Defined", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedEnumDefined.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedEnumDefined.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEnumDefined.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEnumDefined.schema.json new file mode 100644 index 00000000..d7a3d9af --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEnumDefined.schema.json @@ -0,0 +1,30 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedEnumDefined.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "enum": [ + "TEST_ENUM_UNSPECIFIED", + "TEST_ENUM_ONE", + "TEST_ENUM_TWO" + ], + "type": "string" + }, + { + "maximum": 2, + "minimum": 0, + "type": "integer" + } + ], + "title": "Test Enum" + }, + "type": "array" + } + }, + "title": "Repeated Enum Defined", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEnumIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEnumIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..dd379970 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEnumIn.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RepeatedEnumIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "enum": [ + "AN_ENUM_UNSPECIFIED" + ], + "title": "An Enum", + "type": "string" + }, + "type": "array" + } + }, + "title": "Repeated Enum In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedEnumIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedEnumIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEnumIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEnumIn.schema.json new file mode 100644 index 00000000..8d83ea1f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEnumIn.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedEnumIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "enum": [ + "AN_ENUM_UNSPECIFIED" + ], + "type": "string" + }, + { + "maximum": 0, + "minimum": 0, + "type": "integer" + } + ], + "title": "An Enum" + }, + "type": "array" + } + }, + "title": "Repeated Enum In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEnumNotIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEnumNotIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ea617ad7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEnumNotIn.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RepeatedEnumNotIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "enum": [ + "AN_ENUM_X", + "AN_ENUM_Y" + ], + "title": "An Enum", + "type": "string" + }, + "type": "array" + } + }, + "title": "Repeated Enum Not In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedEnumNotIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedEnumNotIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEnumNotIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEnumNotIn.schema.json new file mode 100644 index 00000000..c1281f4e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedEnumNotIn.schema.json @@ -0,0 +1,29 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedEnumNotIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "enum": [ + "AN_ENUM_X", + "AN_ENUM_Y" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "An Enum" + }, + "type": "array" + } + }, + "title": "Repeated Enum Not In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedExact.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedExact.jsonschema.strict.bundle.json new file mode 100644 index 00000000..fad77971 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedExact.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RepeatedExact.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "maximum": 4294967295, + "minimum": 0, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Repeated Exact", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedExact.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedExact.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedExact.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedExact.schema.json new file mode 100644 index 00000000..d2cac4da --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedExact.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedExact.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "maximum": 4294967295, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Repeated Exact", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedExactIgnore.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedExactIgnore.jsonschema.strict.bundle.json new file mode 100644 index 00000000..19010b4d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedExactIgnore.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RepeatedExactIgnore.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "maximum": 4294967295, + "minimum": 0, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Repeated Exact Ignore", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedExactIgnore.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedExactIgnore.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedExactIgnore.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedExactIgnore.schema.json new file mode 100644 index 00000000..94a6373b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedExactIgnore.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedExactIgnore.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "maximum": 4294967295, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Repeated Exact Ignore", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedExternalEnumDefined.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedExternalEnumDefined.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f11d7a9a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedExternalEnumDefined.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RepeatedExternalEnumDefined.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "enum": [ + "ENUMERATED_UNSPECIFIED", + "ENUMERATED_VALUE" + ], + "title": "Enumerated", + "type": "string" + }, + "type": "array" + } + }, + "title": "Repeated External Enum Defined", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedExternalEnumDefined.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedExternalEnumDefined.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedExternalEnumDefined.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedExternalEnumDefined.schema.json new file mode 100644 index 00000000..5ee4f3fd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedExternalEnumDefined.schema.json @@ -0,0 +1,29 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedExternalEnumDefined.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "enum": [ + "ENUMERATED_UNSPECIFIED", + "ENUMERATED_VALUE" + ], + "type": "string" + }, + { + "maximum": 1, + "minimum": 0, + "type": "integer" + } + ], + "title": "Enumerated" + }, + "type": "array" + } + }, + "title": "Repeated External Enum Defined", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedItemIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedItemIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..90dbe3a6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedItemIn.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RepeatedItemIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "enum": [ + "foo", + "bar" + ], + "type": "string" + }, + "type": "array" + } + }, + "title": "Repeated Item In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedItemIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedItemIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedItemIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedItemIn.schema.json new file mode 100644 index 00000000..0f94399c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedItemIn.schema.json @@ -0,0 +1,19 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedItemIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "enum": [ + "foo", + "bar" + ], + "type": "string" + }, + "type": "array" + } + }, + "title": "Repeated Item In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedItemNotIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedItemNotIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..76cc72f2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedItemNotIn.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RepeatedItemNotIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "title": "Repeated Item Not In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedItemNotIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedItemNotIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedItemNotIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedItemNotIn.schema.json new file mode 100644 index 00000000..ff7fe083 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedItemNotIn.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedItemNotIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "title": "Repeated Item Not In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedItemPattern.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedItemPattern.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7658be61 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedItemPattern.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RepeatedItemPattern.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "pattern": "(?i)^[a-z0-9]+$", + "type": "string" + }, + "type": "array" + } + }, + "title": "Repeated Item Pattern", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedItemPattern.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedItemPattern.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedItemPattern.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedItemPattern.schema.json new file mode 100644 index 00000000..1b66c157 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedItemPattern.schema.json @@ -0,0 +1,16 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedItemPattern.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "pattern": "(?i)^[a-z0-9]+$", + "type": "string" + }, + "type": "array" + } + }, + "title": "Repeated Item Pattern", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedItemRule.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedItemRule.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6c27cfbe --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedItemRule.jsonschema.strict.bundle.json @@ -0,0 +1,33 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RepeatedItemRule.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "maximum": 3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity" + ], + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Repeated Item Rule", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedItemRule.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedItemRule.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedItemRule.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedItemRule.schema.json new file mode 100644 index 00000000..858c1e96 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedItemRule.schema.json @@ -0,0 +1,30 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedItemRule.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "maximum": 3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity" + ], + "type": "string" + }, + { + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Repeated Item Rule", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMax.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMax.jsonschema.strict.bundle.json new file mode 100644 index 00000000..841e5d6c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMax.jsonschema.strict.bundle.json @@ -0,0 +1,33 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RepeatedMax.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Repeated Max", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedMax.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedMax.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMax.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMax.schema.json new file mode 100644 index 00000000..c43c8ca3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMax.schema.json @@ -0,0 +1,30 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedMax.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + }, + { + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Repeated Max", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMin.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMin.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7589fddd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMin.jsonschema.strict.bundle.json @@ -0,0 +1,36 @@ +{ + "$defs": { + "buf.validate.conformance.cases.Embed.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Embed", + "type": "object" + }, + "buf.validate.conformance.cases.RepeatedMin.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/buf.validate.conformance.cases.Embed.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Repeated Min", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedMin.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedMin.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMin.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMin.schema.json new file mode 100644 index 00000000..88550de2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMin.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedMin.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "buf.validate.conformance.cases.Embed.schema.json" + }, + "type": "array" + } + }, + "title": "Repeated Min", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMinAndItemLen.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMinAndItemLen.jsonschema.strict.bundle.json new file mode 100644 index 00000000..85d54d77 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMinAndItemLen.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RepeatedMinAndItemLen.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "maxLength": 3, + "minLength": 3, + "type": "string" + }, + "type": "array" + } + }, + "title": "Repeated Min And Item Len", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedMinAndItemLen.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedMinAndItemLen.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMinAndItemLen.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMinAndItemLen.schema.json new file mode 100644 index 00000000..51c2123c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMinAndItemLen.schema.json @@ -0,0 +1,17 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedMinAndItemLen.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "maxLength": 3, + "minLength": 3, + "type": "string" + }, + "type": "array" + } + }, + "title": "Repeated Min And Item Len", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMinAndMaxItemLen.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMinAndMaxItemLen.jsonschema.strict.bundle.json new file mode 100644 index 00000000..1f823614 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMinAndMaxItemLen.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RepeatedMinAndMaxItemLen.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "title": "Repeated Min And Max Item Len", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedMinAndMaxItemLen.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedMinAndMaxItemLen.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMinAndMaxItemLen.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMinAndMaxItemLen.schema.json new file mode 100644 index 00000000..b707a7ef --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMinAndMaxItemLen.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedMinAndMaxItemLen.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "title": "Repeated Min And Max Item Len", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMinMax.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMinMax.jsonschema.strict.bundle.json new file mode 100644 index 00000000..8ef13834 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMinMax.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RepeatedMinMax.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Repeated Min Max", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedMinMax.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedMinMax.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMinMax.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMinMax.schema.json new file mode 100644 index 00000000..95d60b43 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMinMax.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedMinMax.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Repeated Min Max", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMultipleUnique.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMultipleUnique.jsonschema.strict.bundle.json new file mode 100644 index 00000000..abba5098 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMultipleUnique.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RepeatedMultipleUnique.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "items": { + "type": "string" + }, + "type": "array" + }, + "b": { + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Repeated Multiple Unique", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedMultipleUnique.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedMultipleUnique.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMultipleUnique.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMultipleUnique.schema.json new file mode 100644 index 00000000..9e71e543 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedMultipleUnique.schema.json @@ -0,0 +1,31 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedMultipleUnique.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "items": { + "type": "string" + }, + "type": "array" + }, + "b": { + "items": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Repeated Multiple Unique", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedNone.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedNone.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ee062b20 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedNone.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RepeatedNone.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "integer" + }, + "type": "array" + } + }, + "title": "Repeated None", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedNone.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedNone.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedNone.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedNone.schema.json new file mode 100644 index 00000000..df7d4b80 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedNone.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedNone.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Repeated None", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedNotUnique.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedNotUnique.jsonschema.strict.bundle.json new file mode 100644 index 00000000..cd62c6eb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedNotUnique.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RepeatedNotUnique.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "title": "Repeated Not Unique", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedNotUnique.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedNotUnique.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedNotUnique.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedNotUnique.schema.json new file mode 100644 index 00000000..8b6e18e0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedNotUnique.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedNotUnique.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "title": "Repeated Not Unique", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedUnique.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedUnique.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e9c2cef8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedUnique.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RepeatedUnique.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "title": "Repeated Unique", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedUnique.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedUnique.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedUnique.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedUnique.schema.json new file mode 100644 index 00000000..94653ac1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedUnique.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedUnique.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "title": "Repeated Unique", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedYetAnotherExternalEnumDefined.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedYetAnotherExternalEnumDefined.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6d38ce7c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedYetAnotherExternalEnumDefined.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RepeatedYetAnotherExternalEnumDefined.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "enum": [ + "ENUMERATED_UNSPECIFIED", + "ENUMERATED_VALUE" + ], + "title": "Enumerated", + "type": "string" + }, + "type": "array" + } + }, + "title": "Repeated Yet Another External Enum Defined", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RepeatedYetAnotherExternalEnumDefined.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RepeatedYetAnotherExternalEnumDefined.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedYetAnotherExternalEnumDefined.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedYetAnotherExternalEnumDefined.schema.json new file mode 100644 index 00000000..2db9d91a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RepeatedYetAnotherExternalEnumDefined.schema.json @@ -0,0 +1,29 @@ +{ + "$id": "buf.validate.conformance.cases.RepeatedYetAnotherExternalEnumDefined.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "enum": [ + "ENUMERATED_UNSPECIFIED", + "ENUMERATED_VALUE" + ], + "type": "string" + }, + { + "maximum": 1, + "minimum": 0, + "type": "integer" + } + ], + "title": "Enumerated" + }, + "type": "array" + } + }, + "title": "Repeated Yet Another External Enum Defined", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMap.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMap.jsonschema.strict.bundle.json new file mode 100644 index 00000000..5e8fdc91 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMap.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredEditionsMap.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "val" + ], + "title": "Required Editions Map", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredEditionsMap.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsMap.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMap.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMap.schema.json new file mode 100644 index 00000000..2a97c843 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMap.schema.json @@ -0,0 +1,21 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsMap.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "val" + ], + "title": "Required Editions Map", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMapIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMapIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..0cf29c33 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMapIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredEditionsMapIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "title": "Required Editions Map Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredEditionsMapIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsMapIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMapIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMapIgnoreAlways.schema.json new file mode 100644 index 00000000..627c459e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMapIgnoreAlways.schema.json @@ -0,0 +1,18 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsMapIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "title": "Required Editions Map Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresence.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresence.Msg.schema.json new file mode 100644 index 00000000..6d8b5e9d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresence.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresence.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresence.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresence.jsonschema.strict.bundle.json new file mode 100644 index 00000000..61d55407 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresence.jsonschema.strict.bundle.json @@ -0,0 +1,32 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresence.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresence.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresence.Msg.jsonschema.strict.json" + } + }, + "required": [ + "val" + ], + "title": "Required Editions Message Explicit Presence", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresence.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresence.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresence.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresence.schema.json new file mode 100644 index 00000000..381b5a69 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresence.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresence.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresence.Msg.schema.json" + } + }, + "required": [ + "val" + ], + "title": "Required Editions Message Explicit Presence", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimited.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimited.Msg.schema.json new file mode 100644 index 00000000..f4f255e1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimited.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimited.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimited.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimited.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b83822d2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimited.jsonschema.strict.bundle.json @@ -0,0 +1,32 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimited.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimited.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimited.Msg.jsonschema.strict.json" + } + }, + "required": [ + "val" + ], + "title": "Required Editions Message Explicit Presence Delimited", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimited.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimited.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimited.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimited.schema.json new file mode 100644 index 00000000..974de9b5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimited.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimited.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimited.Msg.schema.json" + } + }, + "required": [ + "val" + ], + "title": "Required Editions Message Explicit Presence Delimited", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways.Msg.schema.json new file mode 100644 index 00000000..0b4b6d05 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..5f151eea --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways.Msg.jsonschema.strict.json" + } + }, + "title": "Required Editions Message Explicit Presence Delimited Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways.schema.json new file mode 100644 index 00000000..7c74168e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways.Msg.schema.json" + } + }, + "title": "Required Editions Message Explicit Presence Delimited Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceIgnoreAlways.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceIgnoreAlways.Msg.schema.json new file mode 100644 index 00000000..e536bf30 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceIgnoreAlways.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceIgnoreAlways.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d31b8df2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceIgnoreAlways.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceIgnoreAlways.Msg.jsonschema.strict.json" + } + }, + "title": "Required Editions Message Explicit Presence Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceIgnoreAlways.schema.json new file mode 100644 index 00000000..2f4fc50e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceIgnoreAlways.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceIgnoreAlways.Msg.schema.json" + } + }, + "title": "Required Editions Message Explicit Presence Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequired.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequired.Msg.schema.json new file mode 100644 index 00000000..8a5ecfc5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequired.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequired.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequired.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequired.jsonschema.strict.bundle.json new file mode 100644 index 00000000..922f562c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequired.jsonschema.strict.bundle.json @@ -0,0 +1,32 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequired.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequired.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequired.Msg.jsonschema.strict.json" + } + }, + "required": [ + "val" + ], + "title": "Required Editions Message Legacy Required", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequired.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequired.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequired.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequired.schema.json new file mode 100644 index 00000000..bf13b87c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequired.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequired.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequired.Msg.schema.json" + } + }, + "required": [ + "val" + ], + "title": "Required Editions Message Legacy Required", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequiredDelimited.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequiredDelimited.Msg.schema.json new file mode 100644 index 00000000..fdf925ae --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequiredDelimited.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequiredDelimited.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequiredDelimited.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequiredDelimited.jsonschema.strict.bundle.json new file mode 100644 index 00000000..5e9b1b57 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequiredDelimited.jsonschema.strict.bundle.json @@ -0,0 +1,32 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequiredDelimited.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequiredDelimited.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequiredDelimited.Msg.jsonschema.strict.json" + } + }, + "required": [ + "val" + ], + "title": "Required Editions Message Legacy Required Delimited", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequiredDelimited.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequiredDelimited.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequiredDelimited.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequiredDelimited.schema.json new file mode 100644 index 00000000..582d9030 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequiredDelimited.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequiredDelimited.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequiredDelimited.Msg.schema.json" + } + }, + "required": [ + "val" + ], + "title": "Required Editions Message Legacy Required Delimited", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsOneof.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsOneof.jsonschema.strict.bundle.json new file mode 100644 index 00000000..99eaccac --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsOneof.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredEditionsOneof.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "type": "string" + }, + "b": { + "type": "string" + } + }, + "required": [ + "a" + ], + "title": "Required Editions Oneof", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredEditionsOneof.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsOneof.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsOneof.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsOneof.schema.json new file mode 100644 index 00000000..edbe86d9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsOneof.schema.json @@ -0,0 +1,18 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsOneof.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "type": "string" + }, + "b": { + "type": "string" + } + }, + "required": [ + "a" + ], + "title": "Required Editions Oneof", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsOneofIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsOneofIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ccf8fc9f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsOneofIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredEditionsOneofIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "type": "string" + }, + "b": { + "type": "string" + } + }, + "title": "Required Editions Oneof Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredEditionsOneofIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsOneofIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsOneofIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsOneofIgnoreAlways.schema.json new file mode 100644 index 00000000..0cc303d6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsOneofIgnoreAlways.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsOneofIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "type": "string" + }, + "b": { + "type": "string" + } + }, + "title": "Required Editions Oneof Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsRepeated.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsRepeated.jsonschema.strict.bundle.json new file mode 100644 index 00000000..880acf13 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsRepeated.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredEditionsRepeated.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "val" + ], + "title": "Required Editions Repeated", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredEditionsRepeated.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsRepeated.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsRepeated.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsRepeated.schema.json new file mode 100644 index 00000000..da53222b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsRepeated.schema.json @@ -0,0 +1,18 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsRepeated.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "val" + ], + "title": "Required Editions Repeated", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsRepeatedExpanded.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsRepeatedExpanded.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b68f31bf --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsRepeatedExpanded.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredEditionsRepeatedExpanded.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "val" + ], + "title": "Required Editions Repeated Expanded", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredEditionsRepeatedExpanded.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsRepeatedExpanded.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsRepeatedExpanded.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsRepeatedExpanded.schema.json new file mode 100644 index 00000000..ac3870de --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsRepeatedExpanded.schema.json @@ -0,0 +1,18 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsRepeatedExpanded.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "val" + ], + "title": "Required Editions Repeated Expanded", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsRepeatedExpandedIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsRepeatedExpandedIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f7b94e23 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsRepeatedExpandedIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredEditionsRepeatedExpandedIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "title": "Required Editions Repeated Expanded Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredEditionsRepeatedExpandedIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsRepeatedExpandedIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsRepeatedExpandedIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsRepeatedExpandedIgnoreAlways.schema.json new file mode 100644 index 00000000..d7894821 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsRepeatedExpandedIgnoreAlways.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsRepeatedExpandedIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "title": "Required Editions Repeated Expanded Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsRepeatedIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsRepeatedIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..eb629f74 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsRepeatedIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredEditionsRepeatedIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "title": "Required Editions Repeated Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredEditionsRepeatedIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsRepeatedIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsRepeatedIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsRepeatedIgnoreAlways.schema.json new file mode 100644 index 00000000..c79bede4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsRepeatedIgnoreAlways.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsRepeatedIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "title": "Required Editions Repeated Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresence.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresence.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6205795a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresence.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresence.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Required Editions Scalar Explicit Presence", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresence.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresence.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresence.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresence.schema.json new file mode 100644 index 00000000..aabb87d2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresence.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresence.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Required Editions Scalar Explicit Presence", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceDefault.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceDefault.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d68c353b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceDefault.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceDefault.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Required Editions Scalar Explicit Presence Default", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceDefault.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceDefault.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceDefault.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceDefault.schema.json new file mode 100644 index 00000000..bb8c4e1e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceDefault.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceDefault.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Required Editions Scalar Explicit Presence Default", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceDefaultIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceDefaultIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..5efa753a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceDefaultIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,18 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceDefaultIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Required Editions Scalar Explicit Presence Default Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceDefaultIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceDefaultIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceDefaultIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceDefaultIgnoreAlways.schema.json new file mode 100644 index 00000000..4fe0e597 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceDefaultIgnoreAlways.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceDefaultIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Required Editions Scalar Explicit Presence Default Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..91e7ba41 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,18 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Required Editions Scalar Explicit Presence Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceIgnoreAlways.schema.json new file mode 100644 index 00000000..7086846e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceIgnoreAlways.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsScalarExplicitPresenceIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Required Editions Scalar Explicit Presence Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarImplicitPresence.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarImplicitPresence.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f84b604a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarImplicitPresence.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredEditionsScalarImplicitPresence.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Required Editions Scalar Implicit Presence", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredEditionsScalarImplicitPresence.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsScalarImplicitPresence.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarImplicitPresence.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarImplicitPresence.schema.json new file mode 100644 index 00000000..a797681b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarImplicitPresence.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsScalarImplicitPresence.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Required Editions Scalar Implicit Presence", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarImplicitPresenceIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarImplicitPresenceIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7ce3e5d9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarImplicitPresenceIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredEditionsScalarImplicitPresenceIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Required Editions Scalar Implicit Presence Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredEditionsScalarImplicitPresenceIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsScalarImplicitPresenceIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarImplicitPresenceIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarImplicitPresenceIgnoreAlways.schema.json new file mode 100644 index 00000000..2d02f75e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarImplicitPresenceIgnoreAlways.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsScalarImplicitPresenceIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "Required Editions Scalar Implicit Presence Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarLegacyRequired.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarLegacyRequired.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d4e4d2e3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarLegacyRequired.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredEditionsScalarLegacyRequired.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Required Editions Scalar Legacy Required", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredEditionsScalarLegacyRequired.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredEditionsScalarLegacyRequired.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarLegacyRequired.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarLegacyRequired.schema.json new file mode 100644 index 00000000..6de11790 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredEditionsScalarLegacyRequired.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredEditionsScalarLegacyRequired.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Required Editions Scalar Legacy Required", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Map.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Map.jsonschema.strict.bundle.json new file mode 100644 index 00000000..5898e11b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Map.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto2Map.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "val" + ], + "title": "Required Proto2 Map", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto2Map.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto2Map.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Map.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Map.schema.json new file mode 100644 index 00000000..ac8940c2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Map.schema.json @@ -0,0 +1,21 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto2Map.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "val" + ], + "title": "Required Proto2 Map", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2MapIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2MapIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..0cb9c4e3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2MapIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto2MapIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "title": "Required Proto2 Map Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto2MapIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto2MapIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2MapIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2MapIgnoreAlways.schema.json new file mode 100644 index 00000000..c7f616c3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2MapIgnoreAlways.schema.json @@ -0,0 +1,18 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto2MapIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "title": "Required Proto2 Map Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Message.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Message.Msg.schema.json new file mode 100644 index 00000000..dfdd14f6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Message.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto2Message.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Message.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Message.jsonschema.strict.bundle.json new file mode 100644 index 00000000..52651780 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Message.jsonschema.strict.bundle.json @@ -0,0 +1,32 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto2Message.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.RequiredProto2Message.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto2Message.Msg.jsonschema.strict.json" + } + }, + "required": [ + "val" + ], + "title": "Required Proto2 Message", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto2Message.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto2Message.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Message.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Message.schema.json new file mode 100644 index 00000000..15ed9b79 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Message.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto2Message.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.RequiredProto2Message.Msg.schema.json" + } + }, + "required": [ + "val" + ], + "title": "Required Proto2 Message", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2MessageIgnoreAlways.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2MessageIgnoreAlways.Msg.schema.json new file mode 100644 index 00000000..875807c0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2MessageIgnoreAlways.Msg.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto2MessageIgnoreAlways.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2MessageIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2MessageIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..df966908 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2MessageIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,29 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto2MessageIgnoreAlways.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.RequiredProto2MessageIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto2MessageIgnoreAlways.Msg.jsonschema.strict.json" + } + }, + "title": "Required Proto2 Message Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto2MessageIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto2MessageIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2MessageIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2MessageIgnoreAlways.schema.json new file mode 100644 index 00000000..8ef1c920 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2MessageIgnoreAlways.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto2MessageIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.RequiredProto2MessageIgnoreAlways.Msg.schema.json" + } + }, + "title": "Required Proto2 Message Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Oneof.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Oneof.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6a6aac43 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Oneof.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto2Oneof.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "type": "string" + }, + "b": { + "type": "string" + } + }, + "required": [ + "a" + ], + "title": "Required Proto2 Oneof", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto2Oneof.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto2Oneof.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Oneof.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Oneof.schema.json new file mode 100644 index 00000000..edb5d08e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Oneof.schema.json @@ -0,0 +1,18 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto2Oneof.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "type": "string" + }, + "b": { + "type": "string" + } + }, + "required": [ + "a" + ], + "title": "Required Proto2 Oneof", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2OneofIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2OneofIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..86ad353b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2OneofIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto2OneofIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "type": "string" + }, + "b": { + "type": "string" + } + }, + "title": "Required Proto2 Oneof Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto2OneofIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto2OneofIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2OneofIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2OneofIgnoreAlways.schema.json new file mode 100644 index 00000000..b2a9d04a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2OneofIgnoreAlways.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto2OneofIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "type": "string" + }, + "b": { + "type": "string" + } + }, + "title": "Required Proto2 Oneof Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Repeated.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Repeated.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ff180065 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Repeated.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto2Repeated.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "val" + ], + "title": "Required Proto2 Repeated", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto2Repeated.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto2Repeated.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Repeated.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Repeated.schema.json new file mode 100644 index 00000000..3c479bb0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2Repeated.schema.json @@ -0,0 +1,18 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto2Repeated.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "val" + ], + "title": "Required Proto2 Repeated", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2RepeatedIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2RepeatedIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..1441f420 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2RepeatedIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto2RepeatedIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "title": "Required Proto2 Repeated Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto2RepeatedIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto2RepeatedIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2RepeatedIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2RepeatedIgnoreAlways.schema.json new file mode 100644 index 00000000..3a89d327 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2RepeatedIgnoreAlways.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto2RepeatedIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "title": "Required Proto2 Repeated Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarOptional.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarOptional.jsonschema.strict.bundle.json new file mode 100644 index 00000000..5200e42c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarOptional.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto2ScalarOptional.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Required Proto2 Scalar Optional", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto2ScalarOptional.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto2ScalarOptional.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarOptional.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarOptional.schema.json new file mode 100644 index 00000000..e58d96ae --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarOptional.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto2ScalarOptional.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Required Proto2 Scalar Optional", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarOptionalDefault.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarOptionalDefault.jsonschema.strict.bundle.json new file mode 100644 index 00000000..86d21828 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarOptionalDefault.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto2ScalarOptionalDefault.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Required Proto2 Scalar Optional Default", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto2ScalarOptionalDefault.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto2ScalarOptionalDefault.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarOptionalDefault.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarOptionalDefault.schema.json new file mode 100644 index 00000000..72afea38 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarOptionalDefault.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto2ScalarOptionalDefault.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Required Proto2 Scalar Optional Default", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarOptionalDefaultIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarOptionalDefaultIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a5a9bf08 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarOptionalDefaultIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,18 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto2ScalarOptionalDefaultIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Required Proto2 Scalar Optional Default Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto2ScalarOptionalDefaultIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto2ScalarOptionalDefaultIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarOptionalDefaultIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarOptionalDefaultIgnoreAlways.schema.json new file mode 100644 index 00000000..3873c5ed --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarOptionalDefaultIgnoreAlways.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto2ScalarOptionalDefaultIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Required Proto2 Scalar Optional Default Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarOptionalIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarOptionalIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d47fc06a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarOptionalIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,18 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto2ScalarOptionalIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Required Proto2 Scalar Optional Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto2ScalarOptionalIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto2ScalarOptionalIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarOptionalIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarOptionalIgnoreAlways.schema.json new file mode 100644 index 00000000..4607cd50 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarOptionalIgnoreAlways.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto2ScalarOptionalIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Required Proto2 Scalar Optional Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarRequired.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarRequired.jsonschema.strict.bundle.json new file mode 100644 index 00000000..05de99fc --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarRequired.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto2ScalarRequired.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Required Proto2 Scalar Required", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto2ScalarRequired.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto2ScalarRequired.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarRequired.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarRequired.schema.json new file mode 100644 index 00000000..83bb7408 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto2ScalarRequired.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto2ScalarRequired.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Required Proto2 Scalar Required", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Map.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Map.jsonschema.strict.bundle.json new file mode 100644 index 00000000..56c37660 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Map.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto3Map.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "val" + ], + "title": "Required Proto3 Map", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto3Map.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto3Map.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Map.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Map.schema.json new file mode 100644 index 00000000..dd2ef58d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Map.schema.json @@ -0,0 +1,21 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto3Map.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "required": [ + "val" + ], + "title": "Required Proto3 Map", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MapIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MapIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..dd57dbd0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MapIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto3MapIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "title": "Required Proto3 Map Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto3MapIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto3MapIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MapIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MapIgnoreAlways.schema.json new file mode 100644 index 00000000..4124f5a3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MapIgnoreAlways.schema.json @@ -0,0 +1,18 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto3MapIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "title": "Required Proto3 Map Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MapKey.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MapKey.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a54d7995 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MapKey.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto3MapKey.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "title": "Required Proto3 Map Key", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto3MapKey.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto3MapKey.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MapKey.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MapKey.schema.json new file mode 100644 index 00000000..7a0cfd30 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MapKey.schema.json @@ -0,0 +1,18 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto3MapKey.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "title": "Required Proto3 Map Key", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MapValue.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MapValue.jsonschema.strict.bundle.json new file mode 100644 index 00000000..1e7c13f0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MapValue.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto3MapValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "title": "Required Proto3 Map Value", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto3MapValue.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto3MapValue.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MapValue.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MapValue.schema.json new file mode 100644 index 00000000..1c35a54f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MapValue.schema.json @@ -0,0 +1,18 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto3MapValue.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "title": "Required Proto3 Map Value", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Message.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Message.Msg.schema.json new file mode 100644 index 00000000..a580d792 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Message.Msg.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto3Message.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Message.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Message.jsonschema.strict.bundle.json new file mode 100644 index 00000000..66040f18 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Message.jsonschema.strict.bundle.json @@ -0,0 +1,35 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto3Message.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.RequiredProto3Message.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto3Message.Msg.jsonschema.strict.json" + } + }, + "required": [ + "val" + ], + "title": "Required Proto3 Message", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto3Message.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto3Message.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Message.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Message.schema.json new file mode 100644 index 00000000..84ac02e5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Message.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto3Message.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.RequiredProto3Message.Msg.schema.json" + } + }, + "required": [ + "val" + ], + "title": "Required Proto3 Message", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MessageIgnoreAlways.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MessageIgnoreAlways.Msg.schema.json new file mode 100644 index 00000000..af531266 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MessageIgnoreAlways.Msg.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto3MessageIgnoreAlways.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MessageIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MessageIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..379c6963 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MessageIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,32 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto3MessageIgnoreAlways.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.RequiredProto3MessageIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto3MessageIgnoreAlways.Msg.jsonschema.strict.json" + } + }, + "title": "Required Proto3 Message Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto3MessageIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto3MessageIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MessageIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MessageIgnoreAlways.schema.json new file mode 100644 index 00000000..c5b26122 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3MessageIgnoreAlways.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto3MessageIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.RequiredProto3MessageIgnoreAlways.Msg.schema.json" + } + }, + "title": "Required Proto3 Message Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3OneOf.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3OneOf.jsonschema.strict.bundle.json new file mode 100644 index 00000000..fc530375 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3OneOf.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto3OneOf.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "type": "string" + }, + "b": { + "type": "string" + } + }, + "required": [ + "a" + ], + "title": "Required Proto3 One Of", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto3OneOf.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto3OneOf.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3OneOf.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3OneOf.schema.json new file mode 100644 index 00000000..b650aeb0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3OneOf.schema.json @@ -0,0 +1,18 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto3OneOf.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "type": "string" + }, + "b": { + "type": "string" + } + }, + "required": [ + "a" + ], + "title": "Required Proto3 One Of", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3OneOfIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3OneOfIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..4e530f82 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3OneOfIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto3OneOfIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "type": "string" + }, + "b": { + "type": "string" + } + }, + "title": "Required Proto3 One Of Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto3OneOfIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto3OneOfIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3OneOfIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3OneOfIgnoreAlways.schema.json new file mode 100644 index 00000000..f475b7b8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3OneOfIgnoreAlways.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto3OneOfIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "type": "string" + }, + "b": { + "type": "string" + } + }, + "title": "Required Proto3 One Of Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3OptionalScalar.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3OptionalScalar.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b393bf47 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3OptionalScalar.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto3OptionalScalar.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Required Proto3 Optional Scalar", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto3OptionalScalar.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto3OptionalScalar.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3OptionalScalar.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3OptionalScalar.schema.json new file mode 100644 index 00000000..21b2b4dd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3OptionalScalar.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto3OptionalScalar.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Required Proto3 Optional Scalar", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3OptionalScalarIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3OptionalScalarIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b1cdd128 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3OptionalScalarIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,18 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto3OptionalScalarIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Required Proto3 Optional Scalar Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto3OptionalScalarIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto3OptionalScalarIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3OptionalScalarIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3OptionalScalarIgnoreAlways.schema.json new file mode 100644 index 00000000..ad825bcc --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3OptionalScalarIgnoreAlways.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto3OptionalScalarIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "title": "Required Proto3 Optional Scalar Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Repeated.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Repeated.jsonschema.strict.bundle.json new file mode 100644 index 00000000..937ee348 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Repeated.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto3Repeated.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "val" + ], + "title": "Required Proto3 Repeated", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto3Repeated.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto3Repeated.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Repeated.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Repeated.schema.json new file mode 100644 index 00000000..1ca559e8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Repeated.schema.json @@ -0,0 +1,18 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto3Repeated.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "val" + ], + "title": "Required Proto3 Repeated", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3RepeatedIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3RepeatedIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..9b9dfa9e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3RepeatedIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto3RepeatedIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "title": "Required Proto3 Repeated Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto3RepeatedIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto3RepeatedIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3RepeatedIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3RepeatedIgnoreAlways.schema.json new file mode 100644 index 00000000..2211fb8e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3RepeatedIgnoreAlways.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto3RepeatedIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "title": "Required Proto3 Repeated Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3RepeatedItem.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3RepeatedItem.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a9387bce --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3RepeatedItem.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto3RepeatedItem.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "title": "Required Proto3 Repeated Item", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto3RepeatedItem.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto3RepeatedItem.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3RepeatedItem.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3RepeatedItem.schema.json new file mode 100644 index 00000000..4edc1252 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3RepeatedItem.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto3RepeatedItem.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "title": "Required Proto3 Repeated Item", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Scalar.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Scalar.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7e71f56b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Scalar.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto3Scalar.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Required Proto3 Scalar", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto3Scalar.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto3Scalar.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Scalar.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Scalar.schema.json new file mode 100644 index 00000000..18dd953d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3Scalar.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto3Scalar.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Required Proto3 Scalar", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3ScalarIgnoreAlways.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3ScalarIgnoreAlways.jsonschema.strict.bundle.json new file mode 100644 index 00000000..4d4cae8c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3ScalarIgnoreAlways.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.RequiredProto3ScalarIgnoreAlways.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Required Proto3 Scalar Ignore Always", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.RequiredProto3ScalarIgnoreAlways.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.RequiredProto3ScalarIgnoreAlways.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3ScalarIgnoreAlways.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3ScalarIgnoreAlways.schema.json new file mode 100644 index 00000000..7d97f415 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.RequiredProto3ScalarIgnoreAlways.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.RequiredProto3ScalarIgnoreAlways.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "Required Proto3 Scalar Ignore Always", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32Const.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32Const.jsonschema.strict.bundle.json new file mode 100644 index 00000000..884564e2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32Const.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed32Const.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + 1 + ], + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Fixed32 Const", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed32Const.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed32Const.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32Const.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32Const.schema.json new file mode 100644 index 00000000..7aabc36c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32Const.schema.json @@ -0,0 +1,26 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed32Const.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + 1 + ], + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed32 Const", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32ExGTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32ExGTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..c0941c5f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32ExGTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,32 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed32ExGTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 128, + "minimum": -2147483648, + "type": "integer" + }, + { + "exclusiveMaximum": 2147483648, + "minimum": 256, + "type": "integer" + } + ] + } + }, + "required": [ + "val" + ], + "title": "S Fixed32 ExGTELTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed32ExGTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed32ExGTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32ExGTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32ExGTELTE.schema.json new file mode 100644 index 00000000..46dd95fa --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32ExGTELTE.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed32ExGTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 128, + "minimum": -2147483648, + "type": "integer" + }, + { + "exclusiveMaximum": 2147483648, + "minimum": 256, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed32 ExGTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32ExLTGT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32ExLTGT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2cb331b1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32ExLTGT.jsonschema.strict.bundle.json @@ -0,0 +1,32 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed32ExLTGT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "minimum": -2147483648, + "type": "integer" + }, + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 10, + "type": "integer" + } + ] + } + }, + "required": [ + "val" + ], + "title": "S Fixed32 ExLTGT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed32ExLTGT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed32ExLTGT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32ExLTGT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32ExLTGT.schema.json new file mode 100644 index 00000000..6159a828 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32ExLTGT.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed32ExLTGT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "minimum": -2147483648, + "type": "integer" + }, + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 10, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed32 ExLTGT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32Example.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32Example.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d9782ef5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32Example.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed32Example.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Fixed32 Example", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed32Example.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed32Example.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32Example.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32Example.schema.json new file mode 100644 index 00000000..f7c2133f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32Example.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed32Example.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed32 Example", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32GT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32GT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..bda07485 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32GT.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed32GT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 16, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Fixed32GT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed32GT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed32GT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32GT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32GT.schema.json new file mode 100644 index 00000000..004eb8ee --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32GT.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed32GT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 16, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed32GT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32GTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32GTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ed7b0209 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32GTE.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed32GTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "minimum": 8, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Fixed32GTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed32GTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed32GTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32GTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32GTE.schema.json new file mode 100644 index 00000000..2c21b8f1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32GTE.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed32GTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "minimum": 8, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed32GTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32GTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32GTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..cbe3aaa1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32GTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed32GTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 256, + "minimum": 128, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Fixed32GTELTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed32GTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed32GTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32GTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32GTELTE.schema.json new file mode 100644 index 00000000..326c2624 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32GTELTE.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed32GTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 256, + "minimum": 128, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed32GTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32GTLT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32GTLT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..0f6805ee --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32GTLT.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed32GTLT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 10, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Fixed32GTLT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed32GTLT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed32GTLT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32GTLT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32GTLT.schema.json new file mode 100644 index 00000000..eb13f91e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32GTLT.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed32GTLT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 10, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed32GTLT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32Ignore.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32Ignore.jsonschema.strict.bundle.json new file mode 100644 index 00000000..4300b638 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32Ignore.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed32Ignore.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 256, + "minimum": 128, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Fixed32 Ignore", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed32Ignore.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed32Ignore.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32Ignore.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32Ignore.schema.json new file mode 100644 index 00000000..093fe49a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32Ignore.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed32Ignore.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 256, + "minimum": 128, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed32 Ignore", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32In.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32In.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2d55ea90 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32In.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed32In.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + 2, + 3 + ], + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Fixed32 In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed32In.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed32In.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32In.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32In.schema.json new file mode 100644 index 00000000..43e4ecf3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32In.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed32In.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + 2, + 3 + ], + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed32 In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32IncorrectType.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32IncorrectType.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6176d290 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32IncorrectType.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed32IncorrectType.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Fixed32 Incorrect Type", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed32IncorrectType.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed32IncorrectType.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32IncorrectType.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32IncorrectType.schema.json new file mode 100644 index 00000000..f82bcae6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32IncorrectType.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed32IncorrectType.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed32 Incorrect Type", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32LT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32LT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..9a4b16b6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32LT.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed32LT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 0, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Fixed32LT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed32LT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed32LT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32LT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32LT.schema.json new file mode 100644 index 00000000..881a1845 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32LT.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed32LT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed32LT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32LTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32LTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..9baf0e5e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32LTE.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed32LTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 64, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Fixed32LTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed32LTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed32LTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32LTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32LTE.schema.json new file mode 100644 index 00000000..0faad76d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32LTE.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed32LTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 64, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed32LTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32None.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32None.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d44a6627 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32None.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed32None.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Fixed32 None", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed32None.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed32None.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32None.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32None.schema.json new file mode 100644 index 00000000..04b8febf --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32None.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed32None.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed32 None", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32NotIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32NotIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..949a3c3d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32NotIn.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed32NotIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Fixed32 Not In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed32NotIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed32NotIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32NotIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32NotIn.schema.json new file mode 100644 index 00000000..7240ccb7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed32NotIn.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed32NotIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed32 Not In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64Const.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64Const.jsonschema.strict.bundle.json new file mode 100644 index 00000000..529484bb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64Const.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed64Const.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + 1 + ], + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Fixed64 Const", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed64Const.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed64Const.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64Const.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64Const.schema.json new file mode 100644 index 00000000..206cbb1d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64Const.schema.json @@ -0,0 +1,24 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed64Const.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + 1 + ], + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed64 Const", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64ExGTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64ExGTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..8871fb3d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64ExGTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,30 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed64ExGTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 128, + "type": "integer" + }, + { + "minimum": 256, + "type": "integer" + } + ] + } + }, + "required": [ + "val" + ], + "title": "S Fixed64 ExGTELTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed64ExGTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed64ExGTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64ExGTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64ExGTELTE.schema.json new file mode 100644 index 00000000..44478b93 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64ExGTELTE.schema.json @@ -0,0 +1,26 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed64ExGTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 128, + "type": "integer" + }, + { + "minimum": 256, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed64 ExGTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64ExLTGT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64ExLTGT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..62d083fe --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64ExLTGT.jsonschema.strict.bundle.json @@ -0,0 +1,30 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed64ExLTGT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "type": "integer" + }, + { + "exclusiveMinimum": 10, + "type": "integer" + } + ] + } + }, + "required": [ + "val" + ], + "title": "S Fixed64 ExLTGT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed64ExLTGT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed64ExLTGT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64ExLTGT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64ExLTGT.schema.json new file mode 100644 index 00000000..d6e0e6de --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64ExLTGT.schema.json @@ -0,0 +1,26 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed64ExLTGT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "type": "integer" + }, + { + "exclusiveMinimum": 10, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed64 ExLTGT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64Example.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64Example.jsonschema.strict.bundle.json new file mode 100644 index 00000000..bf38c4ff --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64Example.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed64Example.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Fixed64 Example", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed64Example.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed64Example.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64Example.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64Example.schema.json new file mode 100644 index 00000000..071c3290 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64Example.schema.json @@ -0,0 +1,21 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed64Example.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed64 Example", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64GT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64GT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b0a6aabd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64GT.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed64GT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMinimum": 16, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Fixed64GT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed64GT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed64GT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64GT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64GT.schema.json new file mode 100644 index 00000000..84480195 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64GT.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed64GT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMinimum": 16, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed64GT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64GTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64GTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..9141b3a7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64GTE.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed64GTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "minimum": 8, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Fixed64GTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed64GTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed64GTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64GTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64GTE.schema.json new file mode 100644 index 00000000..f75103d0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64GTE.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed64GTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "minimum": 8, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed64GTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64GTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64GTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b6fc917e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64GTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed64GTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 256, + "minimum": 128, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Fixed64GTELTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed64GTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed64GTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64GTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64GTELTE.schema.json new file mode 100644 index 00000000..65b0f072 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64GTELTE.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed64GTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 256, + "minimum": 128, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed64GTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64GTLT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64GTLT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..abc21d1b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64GTLT.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed64GTLT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 10, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Fixed64GTLT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed64GTLT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed64GTLT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64GTLT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64GTLT.schema.json new file mode 100644 index 00000000..5ebdf689 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64GTLT.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed64GTLT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 10, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed64GTLT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64Ignore.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64Ignore.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e6b1dc0d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64Ignore.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed64Ignore.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 256, + "minimum": 128, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Fixed64 Ignore", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed64Ignore.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed64Ignore.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64Ignore.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64Ignore.schema.json new file mode 100644 index 00000000..290d6ef3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64Ignore.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed64Ignore.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 256, + "minimum": 128, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed64 Ignore", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64In.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64In.jsonschema.strict.bundle.json new file mode 100644 index 00000000..94427a2f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64In.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed64In.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + 2, + 3 + ], + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Fixed64 In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed64In.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed64In.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64In.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64In.schema.json new file mode 100644 index 00000000..6660eb9f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64In.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed64In.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + 2, + 3 + ], + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed64 In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64IncorrectType.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64IncorrectType.jsonschema.strict.bundle.json new file mode 100644 index 00000000..4576311a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64IncorrectType.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed64IncorrectType.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Fixed64 Incorrect Type", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed64IncorrectType.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed64IncorrectType.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64IncorrectType.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64IncorrectType.schema.json new file mode 100644 index 00000000..2938a6df --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64IncorrectType.schema.json @@ -0,0 +1,21 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed64IncorrectType.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed64 Incorrect Type", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64LT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64LT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..dbb23b73 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64LT.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed64LT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Fixed64LT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed64LT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed64LT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64LT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64LT.schema.json new file mode 100644 index 00000000..180f2411 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64LT.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed64LT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed64LT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64LTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64LTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..bb6882ec --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64LTE.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed64LTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 64, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Fixed64LTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed64LTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed64LTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64LTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64LTE.schema.json new file mode 100644 index 00000000..234c8967 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64LTE.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed64LTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 64, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed64LTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64None.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64None.jsonschema.strict.bundle.json new file mode 100644 index 00000000..379f41fc --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64None.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed64None.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Fixed64 None", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed64None.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed64None.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64None.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64None.schema.json new file mode 100644 index 00000000..a8e84d83 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64None.schema.json @@ -0,0 +1,21 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed64None.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed64 None", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64NotIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64NotIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6c8825b3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64NotIn.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SFixed64NotIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Fixed64 Not In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SFixed64NotIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SFixed64NotIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64NotIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64NotIn.schema.json new file mode 100644 index 00000000..8ff5decf --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SFixed64NotIn.schema.json @@ -0,0 +1,21 @@ +{ + "$id": "buf.validate.conformance.cases.SFixed64NotIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Fixed64 Not In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32Const.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32Const.jsonschema.strict.bundle.json new file mode 100644 index 00000000..df957e0b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32Const.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt32Const.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + 1 + ], + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Int32 Const", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt32Const.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt32Const.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32Const.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32Const.schema.json new file mode 100644 index 00000000..14331eed --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32Const.schema.json @@ -0,0 +1,26 @@ +{ + "$id": "buf.validate.conformance.cases.SInt32Const.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + 1 + ], + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int32 Const", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32ExGTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32ExGTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..023cc8a7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32ExGTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,32 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt32ExGTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 128, + "minimum": -2147483648, + "type": "integer" + }, + { + "exclusiveMaximum": 2147483648, + "minimum": 256, + "type": "integer" + } + ] + } + }, + "required": [ + "val" + ], + "title": "S Int32 ExGTELTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt32ExGTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt32ExGTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32ExGTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32ExGTELTE.schema.json new file mode 100644 index 00000000..47d35518 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32ExGTELTE.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "buf.validate.conformance.cases.SInt32ExGTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 128, + "minimum": -2147483648, + "type": "integer" + }, + { + "exclusiveMaximum": 2147483648, + "minimum": 256, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int32 ExGTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32ExLTGT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32ExLTGT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..10701b48 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32ExLTGT.jsonschema.strict.bundle.json @@ -0,0 +1,32 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt32ExLTGT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "minimum": -2147483648, + "type": "integer" + }, + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 10, + "type": "integer" + } + ] + } + }, + "required": [ + "val" + ], + "title": "S Int32 ExLTGT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt32ExLTGT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt32ExLTGT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32ExLTGT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32ExLTGT.schema.json new file mode 100644 index 00000000..148b27cd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32ExLTGT.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "buf.validate.conformance.cases.SInt32ExLTGT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "minimum": -2147483648, + "type": "integer" + }, + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 10, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int32 ExLTGT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32Example.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32Example.jsonschema.strict.bundle.json new file mode 100644 index 00000000..83b4713e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32Example.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt32Example.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Int32 Example", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt32Example.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt32Example.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32Example.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32Example.schema.json new file mode 100644 index 00000000..d3bab6bb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32Example.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SInt32Example.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int32 Example", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32GT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32GT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..90a5485a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32GT.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt32GT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 16, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Int32GT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt32GT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt32GT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32GT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32GT.schema.json new file mode 100644 index 00000000..03c8a2eb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32GT.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SInt32GT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "exclusiveMinimum": 16, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int32GT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32GTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32GTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..dc68d049 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32GTE.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt32GTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "minimum": 8, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Int32GTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt32GTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt32GTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32GTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32GTE.schema.json new file mode 100644 index 00000000..10084a76 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32GTE.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SInt32GTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "minimum": 8, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int32GTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32GTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32GTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..c3dd227d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32GTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt32GTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 256, + "minimum": 128, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Int32GTELTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt32GTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt32GTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32GTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32GTELTE.schema.json new file mode 100644 index 00000000..3b591af6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32GTELTE.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SInt32GTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 256, + "minimum": 128, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int32GTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32GTLT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32GTLT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..428c8d8f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32GTLT.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt32GTLT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 10, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Int32GTLT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt32GTLT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt32GTLT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32GTLT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32GTLT.schema.json new file mode 100644 index 00000000..3a7c9384 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32GTLT.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SInt32GTLT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 10, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int32GTLT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32Ignore.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32Ignore.jsonschema.strict.bundle.json new file mode 100644 index 00000000..4ff263b3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32Ignore.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt32Ignore.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 256, + "minimum": 128, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Int32 Ignore", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt32Ignore.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt32Ignore.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32Ignore.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32Ignore.schema.json new file mode 100644 index 00000000..f9fe8901 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32Ignore.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SInt32Ignore.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 256, + "minimum": 128, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int32 Ignore", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32In.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32In.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ef4d4071 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32In.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt32In.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + 2, + 3 + ], + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Int32 In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt32In.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt32In.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32In.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32In.schema.json new file mode 100644 index 00000000..032f8885 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32In.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.SInt32In.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + 2, + 3 + ], + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int32 In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32IncorrectType.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32IncorrectType.jsonschema.strict.bundle.json new file mode 100644 index 00000000..078189e7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32IncorrectType.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt32IncorrectType.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Int32 Incorrect Type", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt32IncorrectType.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt32IncorrectType.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32IncorrectType.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32IncorrectType.schema.json new file mode 100644 index 00000000..2daec762 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32IncorrectType.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SInt32IncorrectType.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int32 Incorrect Type", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32LT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32LT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a01ce2f8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32LT.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt32LT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 0, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Int32LT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt32LT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt32LT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32LT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32LT.schema.json new file mode 100644 index 00000000..95ce8372 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32LT.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SInt32LT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int32LT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32LTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32LTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..66046756 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32LTE.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt32LTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 64, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Int32LTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt32LTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt32LTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32LTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32LTE.schema.json new file mode 100644 index 00000000..631527ee --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32LTE.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SInt32LTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 64, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int32LTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32None.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32None.jsonschema.strict.bundle.json new file mode 100644 index 00000000..0756a6b6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32None.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt32None.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Int32 None", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt32None.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt32None.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32None.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32None.schema.json new file mode 100644 index 00000000..e6da273b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32None.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SInt32None.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int32 None", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32NotIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32NotIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e8fee30d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32NotIn.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt32NotIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Int32 Not In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt32NotIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt32NotIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32NotIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32NotIn.schema.json new file mode 100644 index 00000000..5d98f4fb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt32NotIn.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SInt32NotIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 2147483648, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int32 Not In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64Const.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64Const.jsonschema.strict.bundle.json new file mode 100644 index 00000000..595b4310 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64Const.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt64Const.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + 1 + ], + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Int64 Const", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt64Const.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt64Const.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64Const.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64Const.schema.json new file mode 100644 index 00000000..f3c8254d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64Const.schema.json @@ -0,0 +1,24 @@ +{ + "$id": "buf.validate.conformance.cases.SInt64Const.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + 1 + ], + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int64 Const", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64ExGTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64ExGTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6d8e7f41 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64ExGTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,30 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt64ExGTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 128, + "type": "integer" + }, + { + "minimum": 256, + "type": "integer" + } + ] + } + }, + "required": [ + "val" + ], + "title": "S Int64 ExGTELTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt64ExGTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt64ExGTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64ExGTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64ExGTELTE.schema.json new file mode 100644 index 00000000..faf0aef6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64ExGTELTE.schema.json @@ -0,0 +1,26 @@ +{ + "$id": "buf.validate.conformance.cases.SInt64ExGTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 128, + "type": "integer" + }, + { + "minimum": 256, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int64 ExGTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64ExLTGT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64ExLTGT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..4e43d1b5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64ExLTGT.jsonschema.strict.bundle.json @@ -0,0 +1,30 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt64ExLTGT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "type": "integer" + }, + { + "exclusiveMinimum": 10, + "type": "integer" + } + ] + } + }, + "required": [ + "val" + ], + "title": "S Int64 ExLTGT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt64ExLTGT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt64ExLTGT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64ExLTGT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64ExLTGT.schema.json new file mode 100644 index 00000000..98dc9548 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64ExLTGT.schema.json @@ -0,0 +1,26 @@ +{ + "$id": "buf.validate.conformance.cases.SInt64ExLTGT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "type": "integer" + }, + { + "exclusiveMinimum": 10, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int64 ExLTGT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64Example.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64Example.jsonschema.strict.bundle.json new file mode 100644 index 00000000..57645bc5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64Example.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt64Example.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Int64 Example", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt64Example.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt64Example.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64Example.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64Example.schema.json new file mode 100644 index 00000000..c0c35729 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64Example.schema.json @@ -0,0 +1,21 @@ +{ + "$id": "buf.validate.conformance.cases.SInt64Example.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int64 Example", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64GT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64GT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2362a5ec --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64GT.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt64GT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMinimum": 16, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Int64GT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt64GT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt64GT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64GT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64GT.schema.json new file mode 100644 index 00000000..17466103 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64GT.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.SInt64GT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMinimum": 16, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int64GT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64GTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64GTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..bf03e8a4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64GTE.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt64GTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "minimum": 8, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Int64GTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt64GTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt64GTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64GTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64GTE.schema.json new file mode 100644 index 00000000..c35d005d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64GTE.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.SInt64GTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "minimum": 8, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int64GTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64GTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64GTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6fd4b55a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64GTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt64GTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 256, + "minimum": 128, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Int64GTELTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt64GTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt64GTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64GTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64GTELTE.schema.json new file mode 100644 index 00000000..4603ac3b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64GTELTE.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SInt64GTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 256, + "minimum": 128, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int64GTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64GTLT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64GTLT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e7262744 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64GTLT.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt64GTLT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 10, + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Int64GTLT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt64GTLT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt64GTLT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64GTLT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64GTLT.schema.json new file mode 100644 index 00000000..d996edc9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64GTLT.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SInt64GTLT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 10, + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int64GTLT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64Ignore.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64Ignore.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a90a6b7f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64Ignore.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt64Ignore.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 256, + "minimum": 128, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Int64 Ignore", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt64Ignore.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt64Ignore.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64Ignore.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64Ignore.schema.json new file mode 100644 index 00000000..1a36d839 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64Ignore.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.SInt64Ignore.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 256, + "minimum": 128, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int64 Ignore", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64In.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64In.jsonschema.strict.bundle.json new file mode 100644 index 00000000..8a438aaa --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64In.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt64In.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + 2, + 3 + ], + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Int64 In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt64In.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt64In.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64In.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64In.schema.json new file mode 100644 index 00000000..1e5f790c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64In.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.SInt64In.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + 2, + 3 + ], + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int64 In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64IncorrectType.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64IncorrectType.jsonschema.strict.bundle.json new file mode 100644 index 00000000..1cd49087 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64IncorrectType.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt64IncorrectType.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Int64 Incorrect Type", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt64IncorrectType.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt64IncorrectType.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64IncorrectType.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64IncorrectType.schema.json new file mode 100644 index 00000000..6317ac7c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64IncorrectType.schema.json @@ -0,0 +1,21 @@ +{ + "$id": "buf.validate.conformance.cases.SInt64IncorrectType.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int64 Incorrect Type", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64LT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64LT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..3983b76b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64LT.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt64LT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Int64LT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt64LT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt64LT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64LT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64LT.schema.json new file mode 100644 index 00000000..1a515b70 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64LT.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.SInt64LT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int64LT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64LTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64LTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..42ce2e67 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64LTE.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt64LTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 64, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Int64LTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt64LTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt64LTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64LTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64LTE.schema.json new file mode 100644 index 00000000..2c6337e7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64LTE.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.SInt64LTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 64, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int64LTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64None.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64None.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ce66c2fe --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64None.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt64None.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Int64 None", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt64None.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt64None.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64None.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64None.schema.json new file mode 100644 index 00000000..11aac2eb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64None.schema.json @@ -0,0 +1,21 @@ +{ + "$id": "buf.validate.conformance.cases.SInt64None.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int64 None", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64NotIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64NotIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..87f9acf4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64NotIn.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.SInt64NotIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "S Int64 Not In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.SInt64NotIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.SInt64NotIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64NotIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64NotIn.schema.json new file mode 100644 index 00000000..0d6ae491 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.SInt64NotIn.schema.json @@ -0,0 +1,21 @@ +{ + "$id": "buf.validate.conformance.cases.SInt64NotIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "S Int64 Not In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StandardPredefinedAndCustomRuleEdition2023.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StandardPredefinedAndCustomRuleEdition2023.jsonschema.strict.bundle.json new file mode 100644 index 00000000..38b562f6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StandardPredefinedAndCustomRuleEdition2023.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StandardPredefinedAndCustomRuleEdition2023.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "exclusiveMaximum": 28, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Standard Predefined And Custom Rule Edition2023", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StandardPredefinedAndCustomRuleEdition2023.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StandardPredefinedAndCustomRuleEdition2023.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StandardPredefinedAndCustomRuleEdition2023.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StandardPredefinedAndCustomRuleEdition2023.schema.json new file mode 100644 index 00000000..3da3f0f5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StandardPredefinedAndCustomRuleEdition2023.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.StandardPredefinedAndCustomRuleEdition2023.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "anyOf": [ + { + "exclusiveMaximum": 28, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Standard Predefined And Custom Rule Edition2023", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto2.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto2.jsonschema.strict.bundle.json new file mode 100644 index 00000000..bc98123f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto2.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto2.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "exclusiveMaximum": 28, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Standard Predefined And Custom Rule Proto2", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto2.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto2.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto2.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto2.schema.json new file mode 100644 index 00000000..0a0d82aa --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto2.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto2.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "anyOf": [ + { + "exclusiveMaximum": 28, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Standard Predefined And Custom Rule Proto2", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto3.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto3.jsonschema.strict.bundle.json new file mode 100644 index 00000000..601176ae --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto3.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto3.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "exclusiveMaximum": 28, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "a" + ], + "title": "Standard Predefined And Custom Rule Proto3", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto3.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto3.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto3.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto3.schema.json new file mode 100644 index 00000000..c26f7a37 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto3.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto3.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "anyOf": [ + { + "exclusiveMaximum": 28, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Standard Predefined And Custom Rule Proto3", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringAddress.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringAddress.jsonschema.strict.bundle.json new file mode 100644 index 00000000..492d9261 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringAddress.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringAddress.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$|^(([0-9a-fA-F]{1,4}::?){1,7}([0-9a-fA-F]{1,4})|([0-9a-fA-F]{1,4}:){1,7}:|:((([0-9a-fA-F]{1,4}:){1,6})?[0-9a-fA-F]{1,4})?|::)$|^[A-Za-z0-9][A-Za-z0-9-]{0,63}(\\.[A-Za-z0-9-][A-Za-z0-9-]{0,63})*$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Address", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringAddress.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringAddress.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringAddress.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringAddress.schema.json new file mode 100644 index 00000000..163c46a0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringAddress.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringAddress.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$|^(([0-9a-fA-F]{1,4}::?){1,7}([0-9a-fA-F]{1,4})|([0-9a-fA-F]{1,4}:){1,7}:|:((([0-9a-fA-F]{1,4}:){1,6})?[0-9a-fA-F]{1,4})?|::)$|^[A-Za-z0-9][A-Za-z0-9-]{0,63}(\\.[A-Za-z0-9-][A-Za-z0-9-]{0,63})*$", + "type": "string" + } + }, + "title": "String Address", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringConst.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringConst.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e2147076 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringConst.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringConst.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + "foo" + ], + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Const", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringConst.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringConst.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringConst.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringConst.schema.json new file mode 100644 index 00000000..8778fd91 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringConst.schema.json @@ -0,0 +1,16 @@ +{ + "$id": "buf.validate.conformance.cases.StringConst.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "enum": [ + "foo" + ], + "type": "string" + } + }, + "title": "String Const", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringContains.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringContains.jsonschema.strict.bundle.json new file mode 100644 index 00000000..15e7c467 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringContains.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringContains.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": ".*bar.*", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Contains", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringContains.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringContains.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringContains.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringContains.schema.json new file mode 100644 index 00000000..541b39fa --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringContains.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringContains.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "pattern": ".*bar.*", + "type": "string" + } + }, + "title": "String Contains", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringEmail.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringEmail.jsonschema.strict.bundle.json new file mode 100644 index 00000000..fe3f98a4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringEmail.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringEmail.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "format": "email", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Email", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringEmail.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringEmail.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringEmail.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringEmail.schema.json new file mode 100644 index 00000000..c62f3d25 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringEmail.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringEmail.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "format": "email", + "type": "string" + } + }, + "title": "String Email", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringEqualMinMaxBytes.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringEqualMinMaxBytes.jsonschema.strict.bundle.json new file mode 100644 index 00000000..87316338 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringEqualMinMaxBytes.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringEqualMinMaxBytes.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maxLength": 4, + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Equal Min Max Bytes", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringEqualMinMaxBytes.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringEqualMinMaxBytes.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringEqualMinMaxBytes.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringEqualMinMaxBytes.schema.json new file mode 100644 index 00000000..bd925d05 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringEqualMinMaxBytes.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringEqualMinMaxBytes.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "maxLength": 4, + "type": "string" + } + }, + "title": "String Equal Min Max Bytes", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringEqualMinMaxLen.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringEqualMinMaxLen.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7c536d7c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringEqualMinMaxLen.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringEqualMinMaxLen.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maxLength": 5, + "minLength": 5, + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Equal Min Max Len", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringEqualMinMaxLen.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringEqualMinMaxLen.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringEqualMinMaxLen.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringEqualMinMaxLen.schema.json new file mode 100644 index 00000000..6842bf23 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringEqualMinMaxLen.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.StringEqualMinMaxLen.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "maxLength": 5, + "minLength": 5, + "type": "string" + } + }, + "title": "String Equal Min Max Len", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringExample.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringExample.jsonschema.strict.bundle.json new file mode 100644 index 00000000..fffa3ccd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringExample.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringExample.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Example", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringExample.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringExample.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringExample.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringExample.schema.json new file mode 100644 index 00000000..2a87abf2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringExample.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.StringExample.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "String Example", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringHostAndOptionalPort.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHostAndOptionalPort.jsonschema.strict.bundle.json new file mode 100644 index 00000000..1750f873 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHostAndOptionalPort.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringHostAndOptionalPort.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Host And Optional Port", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringHostAndOptionalPort.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringHostAndOptionalPort.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringHostAndOptionalPort.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHostAndOptionalPort.schema.json new file mode 100644 index 00000000..14c23b3b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHostAndOptionalPort.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.StringHostAndOptionalPort.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "String Host And Optional Port", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringHostAndPort.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHostAndPort.jsonschema.strict.bundle.json new file mode 100644 index 00000000..3c13fe01 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHostAndPort.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringHostAndPort.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^([A-Za-z0-9][A-Za-z0-9-]{0,63}(\\.[A-Za-z0-9-][A-Za-z0-9-]{0,63})*|((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)|\\[(([0-9a-fA-F]{1,4}::?){1,7}([0-9a-fA-F]{1,4})|([0-9a-fA-F]{1,4}:){1,7}:|:((([0-9a-fA-F]{1,4}:){1,6})?[0-9a-fA-F]{1,4})?|::)\\]):([1-9][0-9]{0,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Host And Port", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringHostAndPort.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringHostAndPort.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringHostAndPort.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHostAndPort.schema.json new file mode 100644 index 00000000..44ed6144 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHostAndPort.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringHostAndPort.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "pattern": "^([A-Za-z0-9][A-Za-z0-9-]{0,63}(\\.[A-Za-z0-9-][A-Za-z0-9-]{0,63})*|((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)|\\[(([0-9a-fA-F]{1,4}::?){1,7}([0-9a-fA-F]{1,4})|([0-9a-fA-F]{1,4}:){1,7}:|:((([0-9a-fA-F]{1,4}:){1,6})?[0-9a-fA-F]{1,4})?|::)\\]):([1-9][0-9]{0,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$", + "type": "string" + } + }, + "title": "String Host And Port", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringHostname.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHostname.jsonschema.strict.bundle.json new file mode 100644 index 00000000..4162c6d1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHostname.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringHostname.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^[A-Za-z0-9][A-Za-z0-9-]{0,63}(\\.[A-Za-z0-9-][A-Za-z0-9-]{0,63})*$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Hostname", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringHostname.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringHostname.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringHostname.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHostname.schema.json new file mode 100644 index 00000000..e8243714 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHostname.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringHostname.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "pattern": "^[A-Za-z0-9][A-Za-z0-9-]{0,63}(\\.[A-Za-z0-9-][A-Za-z0-9-]{0,63})*$", + "type": "string" + } + }, + "title": "String Hostname", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringHttpHeaderName.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHttpHeaderName.jsonschema.strict.bundle.json new file mode 100644 index 00000000..76f3de11 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHttpHeaderName.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringHttpHeaderName.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Http Header Name", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringHttpHeaderName.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringHttpHeaderName.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringHttpHeaderName.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHttpHeaderName.schema.json new file mode 100644 index 00000000..f5bdd5e6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHttpHeaderName.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.StringHttpHeaderName.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "String Http Header Name", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringHttpHeaderNameLoose.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHttpHeaderNameLoose.jsonschema.strict.bundle.json new file mode 100644 index 00000000..03e2f248 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHttpHeaderNameLoose.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringHttpHeaderNameLoose.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Http Header Name Loose", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringHttpHeaderNameLoose.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringHttpHeaderNameLoose.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringHttpHeaderNameLoose.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHttpHeaderNameLoose.schema.json new file mode 100644 index 00000000..2d209250 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHttpHeaderNameLoose.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.StringHttpHeaderNameLoose.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "String Http Header Name Loose", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringHttpHeaderValue.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHttpHeaderValue.jsonschema.strict.bundle.json new file mode 100644 index 00000000..edce98b4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHttpHeaderValue.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringHttpHeaderValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Http Header Value", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringHttpHeaderValue.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringHttpHeaderValue.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringHttpHeaderValue.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHttpHeaderValue.schema.json new file mode 100644 index 00000000..49e640e9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHttpHeaderValue.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.StringHttpHeaderValue.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "String Http Header Value", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringHttpHeaderValueLoose.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHttpHeaderValueLoose.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2e7bc5f5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHttpHeaderValueLoose.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringHttpHeaderValueLoose.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Http Header Value Loose", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringHttpHeaderValueLoose.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringHttpHeaderValueLoose.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringHttpHeaderValueLoose.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHttpHeaderValueLoose.schema.json new file mode 100644 index 00000000..16153871 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringHttpHeaderValueLoose.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.StringHttpHeaderValueLoose.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "String Http Header Value Loose", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringIP.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIP.jsonschema.strict.bundle.json new file mode 100644 index 00000000..30af122f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIP.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringIP.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$|^(([0-9a-fA-F]{1,4}::?){1,7}([0-9a-fA-F]{1,4})|([0-9a-fA-F]{1,4}:){1,7}:|:((([0-9a-fA-F]{1,4}:){1,6})?[0-9a-fA-F]{1,4})?|::)$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "StringIP", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringIP.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringIP.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringIP.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIP.schema.json new file mode 100644 index 00000000..474e87de --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIP.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringIP.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$|^(([0-9a-fA-F]{1,4}::?){1,7}([0-9a-fA-F]{1,4})|([0-9a-fA-F]{1,4}:){1,7}:|:((([0-9a-fA-F]{1,4}:){1,6})?[0-9a-fA-F]{1,4})?|::)$", + "type": "string" + } + }, + "title": "StringIP", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPPrefix.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPPrefix.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7a9487bd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPPrefix.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringIPPrefix.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}0/([0-9]|[12][0-9]|3[0-2])$|^(([0-9a-fA-F]{1,4}:){1,7}:|::)/([0-9]|[1-9][0-9]|1[0-1][0-9]|12[0-8])$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "StringIP Prefix", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringIPPrefix.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringIPPrefix.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPPrefix.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPPrefix.schema.json new file mode 100644 index 00000000..333e1364 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPPrefix.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringIPPrefix.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}0/([0-9]|[12][0-9]|3[0-2])$|^(([0-9a-fA-F]{1,4}:){1,7}:|::)/([0-9]|[1-9][0-9]|1[0-1][0-9]|12[0-8])$", + "type": "string" + } + }, + "title": "StringIP Prefix", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPWithPrefixLen.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPWithPrefixLen.jsonschema.strict.bundle.json new file mode 100644 index 00000000..bb193d6f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPWithPrefixLen.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringIPWithPrefixLen.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)/([0-9]|[12][0-9]|3[0-2])$|^(([0-9a-fA-F]{1,4}::?){1,7}([0-9a-fA-F]{1,4})|([0-9a-fA-F]{1,4}:){1,7}:|:((([0-9a-fA-F]{1,4}:){1,6})?[0-9a-fA-F]{1,4})?|::)/([0-9]|[1-9][0-9]|1[0-1][0-9]|12[0-8])$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "StringIP With Prefix Len", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringIPWithPrefixLen.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringIPWithPrefixLen.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPWithPrefixLen.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPWithPrefixLen.schema.json new file mode 100644 index 00000000..eddbcd1e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPWithPrefixLen.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringIPWithPrefixLen.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)/([0-9]|[12][0-9]|3[0-2])$|^(([0-9a-fA-F]{1,4}::?){1,7}([0-9a-fA-F]{1,4})|([0-9a-fA-F]{1,4}:){1,7}:|:((([0-9a-fA-F]{1,4}:){1,6})?[0-9a-fA-F]{1,4})?|::)/([0-9]|[1-9][0-9]|1[0-1][0-9]|12[0-8])$", + "type": "string" + } + }, + "title": "StringIP With Prefix Len", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv4.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv4.jsonschema.strict.bundle.json new file mode 100644 index 00000000..9c587cb7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv4.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringIPv4.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "format": "ipv4", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "StringI Pv4", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringIPv4.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringIPv4.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv4.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv4.schema.json new file mode 100644 index 00000000..66435f48 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv4.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringIPv4.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "format": "ipv4", + "type": "string" + } + }, + "title": "StringI Pv4", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv4Prefix.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv4Prefix.jsonschema.strict.bundle.json new file mode 100644 index 00000000..0f3a4d7f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv4Prefix.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringIPv4Prefix.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}0/([0-9]|[12][0-9]|3[0-2])$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "StringI Pv4 Prefix", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringIPv4Prefix.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringIPv4Prefix.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv4Prefix.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv4Prefix.schema.json new file mode 100644 index 00000000..216ebd7d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv4Prefix.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringIPv4Prefix.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}0/([0-9]|[12][0-9]|3[0-2])$", + "type": "string" + } + }, + "title": "StringI Pv4 Prefix", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv4WithPrefixLen.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv4WithPrefixLen.jsonschema.strict.bundle.json new file mode 100644 index 00000000..246f36b1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv4WithPrefixLen.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringIPv4WithPrefixLen.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)/([0-9]|[12][0-9]|3[0-2])$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "StringI Pv4 With Prefix Len", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringIPv4WithPrefixLen.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringIPv4WithPrefixLen.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv4WithPrefixLen.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv4WithPrefixLen.schema.json new file mode 100644 index 00000000..60749229 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv4WithPrefixLen.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringIPv4WithPrefixLen.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)/([0-9]|[12][0-9]|3[0-2])$", + "type": "string" + } + }, + "title": "StringI Pv4 With Prefix Len", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv6.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv6.jsonschema.strict.bundle.json new file mode 100644 index 00000000..c80364b9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv6.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringIPv6.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "format": "ipv6", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "StringI Pv6", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringIPv6.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringIPv6.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv6.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv6.schema.json new file mode 100644 index 00000000..6f7d577d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv6.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringIPv6.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "format": "ipv6", + "type": "string" + } + }, + "title": "StringI Pv6", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv6Prefix.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv6Prefix.jsonschema.strict.bundle.json new file mode 100644 index 00000000..92764594 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv6Prefix.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringIPv6Prefix.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^(([0-9a-fA-F]{1,4}:){1,7}:|::)/([0-9]|[1-9][0-9]|1[0-1][0-9]|12[0-8])$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "StringI Pv6 Prefix", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringIPv6Prefix.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringIPv6Prefix.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv6Prefix.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv6Prefix.schema.json new file mode 100644 index 00000000..81af61c6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv6Prefix.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringIPv6Prefix.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "pattern": "^(([0-9a-fA-F]{1,4}:){1,7}:|::)/([0-9]|[1-9][0-9]|1[0-1][0-9]|12[0-8])$", + "type": "string" + } + }, + "title": "StringI Pv6 Prefix", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv6WithPrefixLen.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv6WithPrefixLen.jsonschema.strict.bundle.json new file mode 100644 index 00000000..9cdc6d13 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv6WithPrefixLen.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringIPv6WithPrefixLen.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^(([0-9a-fA-F]{1,4}::?){1,7}([0-9a-fA-F]{1,4})|([0-9a-fA-F]{1,4}:){1,7}:|:((([0-9a-fA-F]{1,4}:){1,6})?[0-9a-fA-F]{1,4})?|::)/([0-9]|[1-9][0-9]|1[0-1][0-9]|12[0-8])$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "StringI Pv6 With Prefix Len", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringIPv6WithPrefixLen.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringIPv6WithPrefixLen.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv6WithPrefixLen.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv6WithPrefixLen.schema.json new file mode 100644 index 00000000..e214a5ef --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIPv6WithPrefixLen.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringIPv6WithPrefixLen.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "pattern": "^(([0-9a-fA-F]{1,4}::?){1,7}([0-9a-fA-F]{1,4})|([0-9a-fA-F]{1,4}:){1,7}:|:((([0-9a-fA-F]{1,4}:){1,6})?[0-9a-fA-F]{1,4})?|::)/([0-9]|[1-9][0-9]|1[0-1][0-9]|12[0-8])$", + "type": "string" + } + }, + "title": "StringI Pv6 With Prefix Len", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..71f81f6e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIn.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + "bar", + "baz" + ], + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIn.schema.json new file mode 100644 index 00000000..c47e9958 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringIn.schema.json @@ -0,0 +1,17 @@ +{ + "$id": "buf.validate.conformance.cases.StringIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "enum": [ + "bar", + "baz" + ], + "type": "string" + } + }, + "title": "String In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringInOneof.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringInOneof.jsonschema.strict.bundle.json new file mode 100644 index 00000000..cbb432e6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringInOneof.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringInOneof.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "bar": { + "enum": [ + "a", + "b" + ], + "type": "string" + } + }, + "title": "String In Oneof", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringInOneof.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringInOneof.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringInOneof.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringInOneof.schema.json new file mode 100644 index 00000000..a4cfaf95 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringInOneof.schema.json @@ -0,0 +1,16 @@ +{ + "$id": "buf.validate.conformance.cases.StringInOneof.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "bar": { + "enum": [ + "a", + "b" + ], + "type": "string" + } + }, + "title": "String In Oneof", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringLen.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringLen.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b2f56daa --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringLen.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringLen.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maxLength": 3, + "minLength": 3, + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Len", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringLen.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringLen.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringLen.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringLen.schema.json new file mode 100644 index 00000000..4668e0f8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringLen.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.StringLen.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "maxLength": 3, + "minLength": 3, + "type": "string" + } + }, + "title": "String Len", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringLenBytes.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringLenBytes.jsonschema.strict.bundle.json new file mode 100644 index 00000000..839179e4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringLenBytes.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringLenBytes.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maxLength": 0, + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Len Bytes", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringLenBytes.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringLenBytes.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringLenBytes.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringLenBytes.schema.json new file mode 100644 index 00000000..705da8a2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringLenBytes.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringLenBytes.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "maxLength": 0, + "type": "string" + } + }, + "title": "String Len Bytes", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringMaxBytes.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringMaxBytes.jsonschema.strict.bundle.json new file mode 100644 index 00000000..3796e5d1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringMaxBytes.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringMaxBytes.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maxLength": 8, + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Max Bytes", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringMaxBytes.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringMaxBytes.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringMaxBytes.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringMaxBytes.schema.json new file mode 100644 index 00000000..d39cd9e4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringMaxBytes.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringMaxBytes.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "maxLength": 8, + "type": "string" + } + }, + "title": "String Max Bytes", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringMaxLen.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringMaxLen.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ae130a6f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringMaxLen.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringMaxLen.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maxLength": 5, + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Max Len", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringMaxLen.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringMaxLen.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringMaxLen.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringMaxLen.schema.json new file mode 100644 index 00000000..e5f2f189 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringMaxLen.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringMaxLen.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "maxLength": 5, + "type": "string" + } + }, + "title": "String Max Len", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringMinBytes.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringMinBytes.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7ee8a90c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringMinBytes.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringMinBytes.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Min Bytes", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringMinBytes.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringMinBytes.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringMinBytes.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringMinBytes.schema.json new file mode 100644 index 00000000..c6436320 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringMinBytes.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.StringMinBytes.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "String Min Bytes", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringMinLen.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringMinLen.jsonschema.strict.bundle.json new file mode 100644 index 00000000..8782663d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringMinLen.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringMinLen.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "minLength": 3, + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Min Len", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringMinLen.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringMinLen.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringMinLen.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringMinLen.schema.json new file mode 100644 index 00000000..24363fd3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringMinLen.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringMinLen.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "minLength": 3, + "type": "string" + } + }, + "title": "String Min Len", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringMinMaxBytes.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringMinMaxBytes.jsonschema.strict.bundle.json new file mode 100644 index 00000000..fbdf8af4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringMinMaxBytes.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringMinMaxBytes.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maxLength": 8, + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Min Max Bytes", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringMinMaxBytes.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringMinMaxBytes.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringMinMaxBytes.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringMinMaxBytes.schema.json new file mode 100644 index 00000000..1eb5c5ec --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringMinMaxBytes.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringMinMaxBytes.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "maxLength": 8, + "type": "string" + } + }, + "title": "String Min Max Bytes", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringMinMaxLen.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringMinMaxLen.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f529328a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringMinMaxLen.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringMinMaxLen.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maxLength": 5, + "minLength": 3, + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Min Max Len", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringMinMaxLen.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringMinMaxLen.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringMinMaxLen.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringMinMaxLen.schema.json new file mode 100644 index 00000000..5dee5fb4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringMinMaxLen.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.StringMinMaxLen.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "maxLength": 5, + "minLength": 3, + "type": "string" + } + }, + "title": "String Min Max Len", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNone.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNone.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6459468e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNone.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringNone.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String None", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringNone.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringNone.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNone.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNone.schema.json new file mode 100644 index 00000000..22a9a3fe --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNone.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.StringNone.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "String None", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotAddress.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotAddress.jsonschema.strict.bundle.json new file mode 100644 index 00000000..4c85e5c9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotAddress.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringNotAddress.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Not Address", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringNotAddress.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringNotAddress.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotAddress.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotAddress.schema.json new file mode 100644 index 00000000..10469d73 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotAddress.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.StringNotAddress.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "String Not Address", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotContains.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotContains.jsonschema.strict.bundle.json new file mode 100644 index 00000000..9fc04599 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotContains.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringNotContains.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Not Contains", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringNotContains.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringNotContains.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotContains.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotContains.schema.json new file mode 100644 index 00000000..f20a129f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotContains.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.StringNotContains.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "String Not Contains", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotEmail.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotEmail.jsonschema.strict.bundle.json new file mode 100644 index 00000000..837fad81 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotEmail.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringNotEmail.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Not Email", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringNotEmail.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringNotEmail.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotEmail.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotEmail.schema.json new file mode 100644 index 00000000..830e06b5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotEmail.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.StringNotEmail.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "String Not Email", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotHostname.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotHostname.jsonschema.strict.bundle.json new file mode 100644 index 00000000..fffc79b4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotHostname.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringNotHostname.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Not Hostname", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringNotHostname.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringNotHostname.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotHostname.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotHostname.schema.json new file mode 100644 index 00000000..601fe78c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotHostname.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.StringNotHostname.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "String Not Hostname", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIP.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIP.jsonschema.strict.bundle.json new file mode 100644 index 00000000..82d2aa43 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIP.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringNotIP.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String NotIP", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringNotIP.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringNotIP.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIP.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIP.schema.json new file mode 100644 index 00000000..401565e4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIP.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.StringNotIP.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "String NotIP", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPPrefix.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPPrefix.jsonschema.strict.bundle.json new file mode 100644 index 00000000..96f6f8a3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPPrefix.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringNotIPPrefix.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String NotIP Prefix", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringNotIPPrefix.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringNotIPPrefix.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPPrefix.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPPrefix.schema.json new file mode 100644 index 00000000..c7b9d960 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPPrefix.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.StringNotIPPrefix.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "String NotIP Prefix", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPWithPrefixLen.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPWithPrefixLen.jsonschema.strict.bundle.json new file mode 100644 index 00000000..0f1ee594 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPWithPrefixLen.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringNotIPWithPrefixLen.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String NotIP With Prefix Len", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringNotIPWithPrefixLen.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringNotIPWithPrefixLen.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPWithPrefixLen.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPWithPrefixLen.schema.json new file mode 100644 index 00000000..515e7dbe --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPWithPrefixLen.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.StringNotIPWithPrefixLen.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "String NotIP With Prefix Len", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv4.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv4.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ae107f69 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv4.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringNotIPv4.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String NotI Pv4", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringNotIPv4.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringNotIPv4.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv4.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv4.schema.json new file mode 100644 index 00000000..47a15c72 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv4.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.StringNotIPv4.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "String NotI Pv4", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv4Prefix.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv4Prefix.jsonschema.strict.bundle.json new file mode 100644 index 00000000..70a28638 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv4Prefix.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringNotIPv4Prefix.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String NotI Pv4 Prefix", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringNotIPv4Prefix.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringNotIPv4Prefix.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv4Prefix.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv4Prefix.schema.json new file mode 100644 index 00000000..8cf6f9b8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv4Prefix.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.StringNotIPv4Prefix.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "String NotI Pv4 Prefix", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv4WithPrefixLen.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv4WithPrefixLen.jsonschema.strict.bundle.json new file mode 100644 index 00000000..74cdf010 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv4WithPrefixLen.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringNotIPv4WithPrefixLen.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String NotI Pv4 With Prefix Len", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringNotIPv4WithPrefixLen.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringNotIPv4WithPrefixLen.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv4WithPrefixLen.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv4WithPrefixLen.schema.json new file mode 100644 index 00000000..428de973 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv4WithPrefixLen.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.StringNotIPv4WithPrefixLen.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "String NotI Pv4 With Prefix Len", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv6.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv6.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a2fe5e42 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv6.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringNotIPv6.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String NotI Pv6", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringNotIPv6.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringNotIPv6.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv6.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv6.schema.json new file mode 100644 index 00000000..17dc5d8e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv6.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.StringNotIPv6.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "String NotI Pv6", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv6Prefix.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv6Prefix.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7173df35 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv6Prefix.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringNotIPv6Prefix.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String NotI Pv6 Prefix", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringNotIPv6Prefix.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringNotIPv6Prefix.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv6Prefix.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv6Prefix.schema.json new file mode 100644 index 00000000..d589d3ef --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv6Prefix.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.StringNotIPv6Prefix.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "String NotI Pv6 Prefix", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv6WithPrefixLen.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv6WithPrefixLen.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7d765686 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv6WithPrefixLen.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringNotIPv6WithPrefixLen.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String NotI Pv6 With Prefix Len", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringNotIPv6WithPrefixLen.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringNotIPv6WithPrefixLen.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv6WithPrefixLen.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv6WithPrefixLen.schema.json new file mode 100644 index 00000000..42dc52f2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIPv6WithPrefixLen.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.StringNotIPv6WithPrefixLen.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "String NotI Pv6 With Prefix Len", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..93d97dc7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIn.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringNotIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Not In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringNotIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringNotIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIn.schema.json new file mode 100644 index 00000000..df1a4c11 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotIn.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.StringNotIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "String Not In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotTUUID.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotTUUID.jsonschema.strict.bundle.json new file mode 100644 index 00000000..eb00e526 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotTUUID.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringNotTUUID.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String NotTUUID", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringNotTUUID.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringNotTUUID.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotTUUID.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotTUUID.schema.json new file mode 100644 index 00000000..852b302c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotTUUID.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.StringNotTUUID.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "String NotTUUID", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotURI.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotURI.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d5f3b8cd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotURI.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringNotURI.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String NotURI", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringNotURI.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringNotURI.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotURI.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotURI.schema.json new file mode 100644 index 00000000..9a9f8a34 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotURI.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.StringNotURI.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "String NotURI", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotURIRef.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotURIRef.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d9d13e68 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotURIRef.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringNotURIRef.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String NotURI Ref", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringNotURIRef.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringNotURIRef.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotURIRef.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotURIRef.schema.json new file mode 100644 index 00000000..b9784a9d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotURIRef.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.StringNotURIRef.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "String NotURI Ref", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotUUID.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotUUID.jsonschema.strict.bundle.json new file mode 100644 index 00000000..c2111d1b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotUUID.jsonschema.strict.bundle.json @@ -0,0 +1,21 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringNotUUID.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String NotUUID", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringNotUUID.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringNotUUID.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotUUID.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotUUID.schema.json new file mode 100644 index 00000000..19e681b7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringNotUUID.schema.json @@ -0,0 +1,13 @@ +{ + "$id": "buf.validate.conformance.cases.StringNotUUID.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "type": "string" + } + }, + "title": "String NotUUID", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringPattern.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringPattern.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6d251567 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringPattern.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringPattern.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "(?i)^[a-z0-9]+$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Pattern", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringPattern.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringPattern.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringPattern.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringPattern.schema.json new file mode 100644 index 00000000..770af326 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringPattern.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringPattern.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "pattern": "(?i)^[a-z0-9]+$", + "type": "string" + } + }, + "title": "String Pattern", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringPatternEscapes.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringPatternEscapes.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d6628583 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringPatternEscapes.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringPatternEscapes.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "\\* \\\\ \\w", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Pattern Escapes", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringPatternEscapes.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringPatternEscapes.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringPatternEscapes.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringPatternEscapes.schema.json new file mode 100644 index 00000000..1eefb3a4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringPatternEscapes.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringPatternEscapes.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "pattern": "\\* \\\\ \\w", + "type": "string" + } + }, + "title": "String Pattern Escapes", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringPrefix.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringPrefix.jsonschema.strict.bundle.json new file mode 100644 index 00000000..720a7518 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringPrefix.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringPrefix.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^foo.*", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Prefix", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringPrefix.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringPrefix.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringPrefix.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringPrefix.schema.json new file mode 100644 index 00000000..5b793163 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringPrefix.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringPrefix.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "pattern": "^foo.*", + "type": "string" + } + }, + "title": "String Prefix", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringSuffix.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringSuffix.jsonschema.strict.bundle.json new file mode 100644 index 00000000..45a3f57a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringSuffix.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringSuffix.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": ".*baz$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "String Suffix", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringSuffix.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringSuffix.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringSuffix.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringSuffix.schema.json new file mode 100644 index 00000000..588a1298 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringSuffix.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringSuffix.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "pattern": ".*baz$", + "type": "string" + } + }, + "title": "String Suffix", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringTUUID.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringTUUID.jsonschema.strict.bundle.json new file mode 100644 index 00000000..22f2e5c5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringTUUID.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringTUUID.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^[0-9a-fA-F]{32}$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "StringTUUID", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringTUUID.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringTUUID.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringTUUID.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringTUUID.schema.json new file mode 100644 index 00000000..d27fbef3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringTUUID.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringTUUID.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "pattern": "^[0-9a-fA-F]{32}$", + "type": "string" + } + }, + "title": "StringTUUID", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringURI.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringURI.jsonschema.strict.bundle.json new file mode 100644 index 00000000..5372591d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringURI.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringURI.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^(?:(?:[a-zA-Z][a-zA-Z\\d+\\-.]*):)?(?://(?:[A-Za-z0-9\\-\\.]+(?::\\d+)?))?(/[^\\?#]*)?(?:\\?([^\\#]*))?(?:\\#(.*))?$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "StringURI", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringURI.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringURI.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringURI.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringURI.schema.json new file mode 100644 index 00000000..bba8289b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringURI.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringURI.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "pattern": "^(?:(?:[a-zA-Z][a-zA-Z\\d+\\-.]*):)?(?://(?:[A-Za-z0-9\\-\\.]+(?::\\d+)?))?(/[^\\?#]*)?(?:\\?([^\\#]*))?(?:\\#(.*))?$", + "type": "string" + } + }, + "title": "StringURI", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringURIRef.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringURIRef.jsonschema.strict.bundle.json new file mode 100644 index 00000000..dde407cd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringURIRef.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringURIRef.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^(?:(?:[a-zA-Z][a-zA-Z\\d+\\-.]*):)?(?:\\/\\/(?:[A-Za-z0-9\\-\\.]+(?::\\d+)?))?(/[^\\?#]*)?(?:\\?([^\\#]*))?(?:\\#(.*))?$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "StringURI Ref", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringURIRef.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringURIRef.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringURIRef.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringURIRef.schema.json new file mode 100644 index 00000000..772a1ae7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringURIRef.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringURIRef.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "pattern": "^(?:(?:[a-zA-Z][a-zA-Z\\d+\\-.]*):)?(?:\\/\\/(?:[A-Za-z0-9\\-\\.]+(?::\\d+)?))?(/[^\\?#]*)?(?:\\?([^\\#]*))?(?:\\#(.*))?$", + "type": "string" + } + }, + "title": "StringURI Ref", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringUUID.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringUUID.jsonschema.strict.bundle.json new file mode 100644 index 00000000..16859b5d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringUUID.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringUUID.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "StringUUID", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringUUID.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringUUID.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringUUID.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringUUID.schema.json new file mode 100644 index 00000000..07d8ebbd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringUUID.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringUUID.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string" + } + }, + "title": "StringUUID", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringUUIDIgnore.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringUUIDIgnore.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ca308ddf --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringUUIDIgnore.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.StringUUIDIgnore.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "StringUUID Ignore", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.StringUUIDIgnore.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.StringUUIDIgnore.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.StringUUIDIgnore.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.StringUUIDIgnore.schema.json new file mode 100644 index 00000000..6a2576f3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.StringUUIDIgnore.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.StringUUIDIgnore.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": "", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string" + } + }, + "title": "StringUUID Ignore", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TestMsg.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TestMsg.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e469772e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TestMsg.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.TestMsg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "const": { + "enum": [ + "foo" + ], + "type": "string" + }, + "nested": { + "$ref": "#/$defs/buf.validate.conformance.cases.TestMsg.jsonschema.strict.json" + } + }, + "required": [ + "const" + ], + "title": "Test Msg", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.TestMsg.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.TestMsg.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TestMsg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TestMsg.schema.json new file mode 100644 index 00000000..5d6beb90 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TestMsg.schema.json @@ -0,0 +1,19 @@ +{ + "$id": "buf.validate.conformance.cases.TestMsg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "const": { + "default": "", + "enum": [ + "foo" + ], + "type": "string" + }, + "nested": { + "$ref": "#" + } + }, + "title": "Test Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TestOneofMsg.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TestOneofMsg.jsonschema.strict.bundle.json new file mode 100644 index 00000000..5426c930 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TestOneofMsg.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.TestOneofMsg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "val" + ], + "title": "Test Oneof Msg", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.TestOneofMsg.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.TestOneofMsg.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TestOneofMsg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TestOneofMsg.schema.json new file mode 100644 index 00000000..f850cac2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TestOneofMsg.schema.json @@ -0,0 +1,16 @@ +{ + "$id": "buf.validate.conformance.cases.TestOneofMsg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "default": false, + "enum": [ + true + ], + "type": "boolean" + } + }, + "title": "Test Oneof Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampConst.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampConst.jsonschema.strict.bundle.json new file mode 100644 index 00000000..603f498b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampConst.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.TimestampConst.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + } + }, + "title": "Timestamp Const", + "type": "object" + }, + "google.protobuf.Timestamp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date-time", + "title": "Timestamp", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.TimestampConst.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.TimestampConst.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampConst.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampConst.schema.json new file mode 100644 index 00000000..9b304d18 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampConst.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.TimestampConst.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Timestamp.schema.json" + } + }, + "title": "Timestamp Const", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampExGTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampExGTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6e402f3c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampExGTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.TimestampExGTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + } + }, + "title": "Timestamp ExGTELTE", + "type": "object" + }, + "google.protobuf.Timestamp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date-time", + "title": "Timestamp", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.TimestampExGTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.TimestampExGTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampExGTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampExGTELTE.schema.json new file mode 100644 index 00000000..0e087d1f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampExGTELTE.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.TimestampExGTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Timestamp.schema.json" + } + }, + "title": "Timestamp ExGTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampExLTGT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampExLTGT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d5cdac81 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampExLTGT.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.TimestampExLTGT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + } + }, + "title": "Timestamp ExLTGT", + "type": "object" + }, + "google.protobuf.Timestamp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date-time", + "title": "Timestamp", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.TimestampExLTGT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.TimestampExLTGT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampExLTGT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampExLTGT.schema.json new file mode 100644 index 00000000..b20a7db2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampExLTGT.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.TimestampExLTGT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Timestamp.schema.json" + } + }, + "title": "Timestamp ExLTGT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampExample.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampExample.jsonschema.strict.bundle.json new file mode 100644 index 00000000..0c97fddf --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampExample.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.TimestampExample.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + } + }, + "title": "Timestamp Example", + "type": "object" + }, + "google.protobuf.Timestamp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date-time", + "title": "Timestamp", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.TimestampExample.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.TimestampExample.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampExample.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampExample.schema.json new file mode 100644 index 00000000..5a81a995 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampExample.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.TimestampExample.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Timestamp.schema.json" + } + }, + "title": "Timestamp Example", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a29e2129 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGT.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.TimestampGT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + } + }, + "title": "TimestampGT", + "type": "object" + }, + "google.protobuf.Timestamp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date-time", + "title": "Timestamp", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.TimestampGT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.TimestampGT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGT.schema.json new file mode 100644 index 00000000..6f7f2591 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGT.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.TimestampGT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Timestamp.schema.json" + } + }, + "title": "TimestampGT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..50b4adb0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTE.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.TimestampGTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + } + }, + "title": "TimestampGTE", + "type": "object" + }, + "google.protobuf.Timestamp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date-time", + "title": "Timestamp", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.TimestampGTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.TimestampGTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTE.schema.json new file mode 100644 index 00000000..11563a21 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTE.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.TimestampGTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Timestamp.schema.json" + } + }, + "title": "TimestampGTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2cc7ad47 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.TimestampGTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + } + }, + "title": "TimestampGTELTE", + "type": "object" + }, + "google.protobuf.Timestamp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date-time", + "title": "Timestamp", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.TimestampGTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.TimestampGTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTELTE.schema.json new file mode 100644 index 00000000..262084bc --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTELTE.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.TimestampGTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Timestamp.schema.json" + } + }, + "title": "TimestampGTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTLT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTLT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..3935d20f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTLT.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.TimestampGTLT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + } + }, + "title": "TimestampGTLT", + "type": "object" + }, + "google.protobuf.Timestamp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date-time", + "title": "Timestamp", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.TimestampGTLT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.TimestampGTLT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTLT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTLT.schema.json new file mode 100644 index 00000000..ae85e51e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTLT.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.TimestampGTLT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Timestamp.schema.json" + } + }, + "title": "TimestampGTLT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTNow.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTNow.jsonschema.strict.bundle.json new file mode 100644 index 00000000..611450b1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTNow.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.TimestampGTNow.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + } + }, + "title": "TimestampGT Now", + "type": "object" + }, + "google.protobuf.Timestamp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date-time", + "title": "Timestamp", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.TimestampGTNow.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.TimestampGTNow.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTNow.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTNow.schema.json new file mode 100644 index 00000000..78b671e9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTNow.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.TimestampGTNow.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Timestamp.schema.json" + } + }, + "title": "TimestampGT Now", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTNowWithin.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTNowWithin.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e37bfaf8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTNowWithin.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.TimestampGTNowWithin.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + } + }, + "title": "TimestampGT Now Within", + "type": "object" + }, + "google.protobuf.Timestamp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date-time", + "title": "Timestamp", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.TimestampGTNowWithin.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.TimestampGTNowWithin.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTNowWithin.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTNowWithin.schema.json new file mode 100644 index 00000000..909a4c12 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampGTNowWithin.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.TimestampGTNowWithin.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Timestamp.schema.json" + } + }, + "title": "TimestampGT Now Within", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampLT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampLT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..9f31a0c4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampLT.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.TimestampLT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + } + }, + "title": "TimestampLT", + "type": "object" + }, + "google.protobuf.Timestamp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date-time", + "title": "Timestamp", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.TimestampLT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.TimestampLT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampLT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampLT.schema.json new file mode 100644 index 00000000..40e36e56 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampLT.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.TimestampLT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Timestamp.schema.json" + } + }, + "title": "TimestampLT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampLTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampLTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..0cf09024 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampLTE.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.TimestampLTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + } + }, + "title": "TimestampLTE", + "type": "object" + }, + "google.protobuf.Timestamp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date-time", + "title": "Timestamp", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.TimestampLTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.TimestampLTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampLTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampLTE.schema.json new file mode 100644 index 00000000..4750db7e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampLTE.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.TimestampLTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Timestamp.schema.json" + } + }, + "title": "TimestampLTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampLTNow.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampLTNow.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a440938c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampLTNow.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.TimestampLTNow.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + } + }, + "title": "TimestampLT Now", + "type": "object" + }, + "google.protobuf.Timestamp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date-time", + "title": "Timestamp", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.TimestampLTNow.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.TimestampLTNow.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampLTNow.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampLTNow.schema.json new file mode 100644 index 00000000..29226c17 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampLTNow.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.TimestampLTNow.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Timestamp.schema.json" + } + }, + "title": "TimestampLT Now", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampLTNowWithin.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampLTNowWithin.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e6400d2b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampLTNowWithin.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.TimestampLTNowWithin.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + } + }, + "title": "TimestampLT Now Within", + "type": "object" + }, + "google.protobuf.Timestamp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date-time", + "title": "Timestamp", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.TimestampLTNowWithin.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.TimestampLTNowWithin.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampLTNowWithin.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampLTNowWithin.schema.json new file mode 100644 index 00000000..6fbf9cd3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampLTNowWithin.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.TimestampLTNowWithin.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Timestamp.schema.json" + } + }, + "title": "TimestampLT Now Within", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampNone.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampNone.jsonschema.strict.bundle.json new file mode 100644 index 00000000..c4fca68b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampNone.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.TimestampNone.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + } + }, + "title": "Timestamp None", + "type": "object" + }, + "google.protobuf.Timestamp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date-time", + "title": "Timestamp", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.TimestampNone.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.TimestampNone.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampNone.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampNone.schema.json new file mode 100644 index 00000000..c5d5768a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampNone.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.TimestampNone.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Timestamp.schema.json" + } + }, + "title": "Timestamp None", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampNotGTNow.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampNotGTNow.jsonschema.strict.bundle.json new file mode 100644 index 00000000..360f28ef --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampNotGTNow.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.TimestampNotGTNow.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + } + }, + "title": "Timestamp NotGT Now", + "type": "object" + }, + "google.protobuf.Timestamp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date-time", + "title": "Timestamp", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.TimestampNotGTNow.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.TimestampNotGTNow.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampNotGTNow.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampNotGTNow.schema.json new file mode 100644 index 00000000..825c8c93 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampNotGTNow.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.TimestampNotGTNow.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Timestamp.schema.json" + } + }, + "title": "Timestamp NotGT Now", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampNotLTNow.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampNotLTNow.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a48f1bda --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampNotLTNow.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.TimestampNotLTNow.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + } + }, + "title": "Timestamp NotLT Now", + "type": "object" + }, + "google.protobuf.Timestamp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date-time", + "title": "Timestamp", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.TimestampNotLTNow.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.TimestampNotLTNow.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampNotLTNow.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampNotLTNow.schema.json new file mode 100644 index 00000000..cffb7aa4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampNotLTNow.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.TimestampNotLTNow.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Timestamp.schema.json" + } + }, + "title": "Timestamp NotLT Now", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampRequired.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampRequired.jsonschema.strict.bundle.json new file mode 100644 index 00000000..06cb5184 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampRequired.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.TimestampRequired.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + } + }, + "required": [ + "val" + ], + "title": "Timestamp Required", + "type": "object" + }, + "google.protobuf.Timestamp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date-time", + "title": "Timestamp", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.TimestampRequired.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.TimestampRequired.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampRequired.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampRequired.schema.json new file mode 100644 index 00000000..8c12af61 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampRequired.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.TimestampRequired.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Timestamp.schema.json" + } + }, + "required": [ + "val" + ], + "title": "Timestamp Required", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWithin.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWithin.jsonschema.strict.bundle.json new file mode 100644 index 00000000..57bc4f42 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWithin.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.TimestampWithin.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Timestamp.jsonschema.strict.json" + } + }, + "title": "Timestamp Within", + "type": "object" + }, + "google.protobuf.Timestamp.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date-time", + "title": "Timestamp", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.TimestampWithin.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.TimestampWithin.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWithin.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWithin.schema.json new file mode 100644 index 00000000..96e2d53c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWithin.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.TimestampWithin.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Timestamp.schema.json" + } + }, + "title": "Timestamp Within", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeMessage.WrongType.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeMessage.WrongType.schema.json new file mode 100644 index 00000000..895aff13 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeMessage.WrongType.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.TimestampWrongTypeMessage.WrongType.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Wrong Type", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeMessage.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeMessage.jsonschema.strict.bundle.json new file mode 100644 index 00000000..bb8d246b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeMessage.jsonschema.strict.bundle.json @@ -0,0 +1,34 @@ +{ + "$defs": { + "buf.validate.conformance.cases.TimestampWrongTypeMessage.WrongType.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Wrong Type", + "type": "object" + }, + "buf.validate.conformance.cases.TimestampWrongTypeMessage.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.TimestampWrongTypeMessage.WrongType.jsonschema.strict.json" + } + }, + "title": "Timestamp Wrong Type Message", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.TimestampWrongTypeMessage.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.TimestampWrongTypeMessage.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeMessage.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeMessage.schema.json new file mode 100644 index 00000000..c45272de --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeMessage.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.TimestampWrongTypeMessage.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.TimestampWrongTypeMessage.WrongType.schema.json" + } + }, + "title": "Timestamp Wrong Type Message", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeScalar.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeScalar.jsonschema.strict.bundle.json new file mode 100644 index 00000000..0e90fb46 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeScalar.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.TimestampWrongTypeScalar.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "The below messages should throw compilation errors due to rules being applied toincorrect types.", + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Timestamp Wrong Type Scalar", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.TimestampWrongTypeScalar.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.TimestampWrongTypeScalar.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeScalar.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeScalar.schema.json new file mode 100644 index 00000000..76e87281 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeScalar.schema.json @@ -0,0 +1,24 @@ +{ + "$id": "buf.validate.conformance.cases.TimestampWrongTypeScalar.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "The below messages should throw compilation errors due to rules being applied toincorrect types.", + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Timestamp Wrong Type Scalar", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeWKT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeWKT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b12f622e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeWKT.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.TimestampWrongTypeWKT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Duration.jsonschema.strict.json" + } + }, + "title": "Timestamp Wrong TypeWKT", + "type": "object" + }, + "google.protobuf.Duration.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "duration", + "title": "Duration", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.TimestampWrongTypeWKT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.TimestampWrongTypeWKT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeWKT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeWKT.schema.json new file mode 100644 index 00000000..6b41f64f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeWKT.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.TimestampWrongTypeWKT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Duration.schema.json" + } + }, + "title": "Timestamp Wrong TypeWKT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeWrapper.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeWrapper.jsonschema.strict.bundle.json new file mode 100644 index 00000000..47629690 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeWrapper.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.TimestampWrongTypeWrapper.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Int32Value.jsonschema.strict.json" + } + }, + "title": "Timestamp Wrong Type Wrapper", + "type": "object" + }, + "google.protobuf.Int32Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The int32 value.", + "maximum": 2147483647, + "minimum": -2147483648, + "title": "Int32 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.TimestampWrongTypeWrapper.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.TimestampWrongTypeWrapper.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeWrapper.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeWrapper.schema.json new file mode 100644 index 00000000..011477ca --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.TimestampWrongTypeWrapper.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.TimestampWrongTypeWrapper.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Int32Value.schema.json" + } + }, + "title": "Timestamp Wrong Type Wrapper", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32Const.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32Const.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ab6c70dd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32Const.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt32Const.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + 1 + ], + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "U Int32 Const", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt32Const.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt32Const.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32Const.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32Const.schema.json new file mode 100644 index 00000000..a4d8c07a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32Const.schema.json @@ -0,0 +1,26 @@ +{ + "$id": "buf.validate.conformance.cases.UInt32Const.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + 1 + ], + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int32 Const", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32ExGTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32ExGTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..aa7aa8a7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32ExGTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,32 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt32ExGTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 128, + "minimum": 0, + "type": "integer" + }, + { + "exclusiveMaximum": 4294967296, + "minimum": 256, + "type": "integer" + } + ] + } + }, + "required": [ + "val" + ], + "title": "U Int32 ExGTELTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt32ExGTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt32ExGTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32ExGTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32ExGTELTE.schema.json new file mode 100644 index 00000000..5d1bd597 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32ExGTELTE.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "buf.validate.conformance.cases.UInt32ExGTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 128, + "minimum": 0, + "type": "integer" + }, + { + "exclusiveMaximum": 4294967296, + "minimum": 256, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int32 ExGTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32ExLTGT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32ExLTGT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..02072c99 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32ExLTGT.jsonschema.strict.bundle.json @@ -0,0 +1,32 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt32ExLTGT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 5, + "minimum": 0, + "type": "integer" + }, + { + "exclusiveMaximum": 4294967296, + "exclusiveMinimum": 10, + "type": "integer" + } + ] + } + }, + "required": [ + "val" + ], + "title": "U Int32 ExLTGT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt32ExLTGT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt32ExLTGT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32ExLTGT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32ExLTGT.schema.json new file mode 100644 index 00000000..e617e881 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32ExLTGT.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "buf.validate.conformance.cases.UInt32ExLTGT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 5, + "minimum": 0, + "type": "integer" + }, + { + "exclusiveMaximum": 4294967296, + "exclusiveMinimum": 10, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int32 ExLTGT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32Example.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32Example.jsonschema.strict.bundle.json new file mode 100644 index 00000000..88458d55 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32Example.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt32Example.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "U Int32 Example", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt32Example.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt32Example.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32Example.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32Example.schema.json new file mode 100644 index 00000000..d182c24f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32Example.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.UInt32Example.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int32 Example", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32GT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32GT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6802cab9 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32GT.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt32GT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 4294967296, + "exclusiveMinimum": 16, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "U Int32GT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt32GT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt32GT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32GT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32GT.schema.json new file mode 100644 index 00000000..fb66910c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32GT.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.UInt32GT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 4294967296, + "exclusiveMinimum": 16, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int32GT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32GTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32GTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ba74e77c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32GTE.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt32GTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 4294967296, + "minimum": 8, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "U Int32GTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt32GTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt32GTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32GTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32GTE.schema.json new file mode 100644 index 00000000..28e5ce6b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32GTE.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.UInt32GTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 4294967296, + "minimum": 8, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int32GTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32GTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32GTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..71903cdb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32GTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt32GTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 256, + "minimum": 128, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "U Int32GTELTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt32GTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt32GTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32GTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32GTELTE.schema.json new file mode 100644 index 00000000..445bcc12 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32GTELTE.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.UInt32GTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 256, + "minimum": 128, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int32GTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32GTLT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32GTLT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..88fcb851 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32GTLT.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt32GTLT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 10, + "exclusiveMinimum": 5, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "U Int32GTLT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt32GTLT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt32GTLT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32GTLT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32GTLT.schema.json new file mode 100644 index 00000000..84b22436 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32GTLT.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.UInt32GTLT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 10, + "exclusiveMinimum": 5, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int32GTLT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32Ignore.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32Ignore.jsonschema.strict.bundle.json new file mode 100644 index 00000000..03cebec8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32Ignore.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt32Ignore.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 256, + "minimum": 128, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "U Int32 Ignore", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt32Ignore.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt32Ignore.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32Ignore.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32Ignore.schema.json new file mode 100644 index 00000000..5d74926e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32Ignore.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.UInt32Ignore.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 256, + "minimum": 128, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int32 Ignore", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32In.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32In.jsonschema.strict.bundle.json new file mode 100644 index 00000000..3b53158e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32In.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt32In.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + 2, + 3 + ], + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "U Int32 In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt32In.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt32In.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32In.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32In.schema.json new file mode 100644 index 00000000..0b1663b7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32In.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.UInt32In.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + 2, + 3 + ], + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int32 In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32IncorrectType.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32IncorrectType.jsonschema.strict.bundle.json new file mode 100644 index 00000000..0eb28fb8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32IncorrectType.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt32IncorrectType.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 4294967295, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "U Int32 Incorrect Type", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt32IncorrectType.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt32IncorrectType.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32IncorrectType.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32IncorrectType.schema.json new file mode 100644 index 00000000..f1536ec3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32IncorrectType.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.UInt32IncorrectType.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 4294967295, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int32 Incorrect Type", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32LT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32LT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..5fbbee64 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32LT.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt32LT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 5, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "U Int32LT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt32LT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt32LT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32LT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32LT.schema.json new file mode 100644 index 00000000..cbcceb8f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32LT.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.UInt32LT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 5, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int32LT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32LTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32LTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..1382d3ab --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32LTE.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt32LTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 64, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "U Int32LTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt32LTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt32LTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32LTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32LTE.schema.json new file mode 100644 index 00000000..07b63e12 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32LTE.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.UInt32LTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 64, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int32LTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32None.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32None.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f499eb0d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32None.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt32None.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 4294967295, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "U Int32 None", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt32None.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt32None.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32None.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32None.schema.json new file mode 100644 index 00000000..1634a45a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32None.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.UInt32None.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 4294967295, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int32 None", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32NotIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32NotIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..dde8e7d6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32NotIn.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt32NotIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "U Int32 Not In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt32NotIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt32NotIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32NotIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32NotIn.schema.json new file mode 100644 index 00000000..e94f0b73 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt32NotIn.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.UInt32NotIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 4294967296, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int32 Not In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64Const.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64Const.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a618084d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64Const.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt64Const.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + 1 + ], + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "U Int64 Const", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt64Const.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt64Const.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64Const.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64Const.schema.json new file mode 100644 index 00000000..ba689625 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64Const.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.UInt64Const.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + 1 + ], + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int64 Const", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64ExGTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64ExGTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..66ca20e1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64ExGTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,31 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt64ExGTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 128, + "minimum": 0, + "type": "integer" + }, + { + "minimum": 256, + "type": "integer" + } + ] + } + }, + "required": [ + "val" + ], + "title": "U Int64 ExGTELTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt64ExGTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt64ExGTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64ExGTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64ExGTELTE.schema.json new file mode 100644 index 00000000..7a9b1eee --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64ExGTELTE.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.UInt64ExGTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 128, + "minimum": 0, + "type": "integer" + }, + { + "minimum": 256, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int64 ExGTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64ExLTGT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64ExLTGT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..19b7816e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64ExLTGT.jsonschema.strict.bundle.json @@ -0,0 +1,31 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt64ExLTGT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 5, + "minimum": 0, + "type": "integer" + }, + { + "exclusiveMinimum": 10, + "type": "integer" + } + ] + } + }, + "required": [ + "val" + ], + "title": "U Int64 ExLTGT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt64ExLTGT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt64ExLTGT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64ExLTGT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64ExLTGT.schema.json new file mode 100644 index 00000000..ae2d6d73 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64ExLTGT.schema.json @@ -0,0 +1,27 @@ +{ + "$id": "buf.validate.conformance.cases.UInt64ExLTGT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 5, + "minimum": 0, + "type": "integer" + }, + { + "exclusiveMinimum": 10, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int64 ExLTGT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64Example.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64Example.jsonschema.strict.bundle.json new file mode 100644 index 00000000..dba18a58 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64Example.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt64Example.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "U Int64 Example", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt64Example.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt64Example.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64Example.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64Example.schema.json new file mode 100644 index 00000000..24d88507 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64Example.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.UInt64Example.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int64 Example", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64GT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64GT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..fd9fd5f7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64GT.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt64GT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMinimum": 16, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "U Int64GT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt64GT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt64GT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64GT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64GT.schema.json new file mode 100644 index 00000000..43c70ba8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64GT.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.UInt64GT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMinimum": 16, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int64GT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64GTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64GTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e7aa2032 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64GTE.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt64GTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "minimum": 8, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "U Int64GTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt64GTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt64GTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64GTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64GTE.schema.json new file mode 100644 index 00000000..1d58e022 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64GTE.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.UInt64GTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "minimum": 8, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int64GTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64GTELTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64GTELTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..0ef7d77f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64GTELTE.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt64GTELTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 256, + "minimum": 128, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "U Int64GTELTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt64GTELTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt64GTELTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64GTELTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64GTELTE.schema.json new file mode 100644 index 00000000..250180b4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64GTELTE.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.UInt64GTELTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 256, + "minimum": 128, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int64GTELTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64GTLT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64GTLT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b505ede6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64GTLT.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt64GTLT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 10, + "exclusiveMinimum": 5, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "U Int64GTLT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt64GTLT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt64GTLT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64GTLT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64GTLT.schema.json new file mode 100644 index 00000000..048cc9c4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64GTLT.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.UInt64GTLT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 10, + "exclusiveMinimum": 5, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int64GTLT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64Ignore.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64Ignore.jsonschema.strict.bundle.json new file mode 100644 index 00000000..181683b7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64Ignore.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt64Ignore.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 256, + "minimum": 128, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "U Int64 Ignore", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt64Ignore.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt64Ignore.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64Ignore.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64Ignore.schema.json new file mode 100644 index 00000000..0fbfa029 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64Ignore.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.UInt64Ignore.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 256, + "minimum": 128, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int64 Ignore", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64In.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64In.jsonschema.strict.bundle.json new file mode 100644 index 00000000..efe53ec7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64In.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt64In.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + 2, + 3 + ], + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "U Int64 In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt64In.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt64In.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64In.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64In.schema.json new file mode 100644 index 00000000..776a1f6a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64In.schema.json @@ -0,0 +1,26 @@ +{ + "$id": "buf.validate.conformance.cases.UInt64In.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "enum": [ + 2, + 3 + ], + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int64 In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64IncorrectType.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64IncorrectType.jsonschema.strict.bundle.json new file mode 100644 index 00000000..2c2c46ef --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64IncorrectType.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt64IncorrectType.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "U Int64 Incorrect Type", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt64IncorrectType.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt64IncorrectType.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64IncorrectType.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64IncorrectType.schema.json new file mode 100644 index 00000000..f8440f2d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64IncorrectType.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.UInt64IncorrectType.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int64 Incorrect Type", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64LT.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64LT.jsonschema.strict.bundle.json new file mode 100644 index 00000000..bacc62db --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64LT.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt64LT.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "exclusiveMaximum": 5, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "U Int64LT", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt64LT.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt64LT.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64LT.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64LT.schema.json new file mode 100644 index 00000000..374c0eb3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64LT.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.UInt64LT.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMaximum": 5, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int64LT", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64LTE.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64LTE.jsonschema.strict.bundle.json new file mode 100644 index 00000000..c8aefdfd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64LTE.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt64LTE.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 64, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "U Int64LTE", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt64LTE.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt64LTE.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64LTE.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64LTE.schema.json new file mode 100644 index 00000000..94a4f602 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64LTE.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.UInt64LTE.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 64, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int64LTE", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64None.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64None.jsonschema.strict.bundle.json new file mode 100644 index 00000000..0d3a2bae --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64None.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt64None.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "U Int64 None", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt64None.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt64None.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64None.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64None.schema.json new file mode 100644 index 00000000..06eb0ca0 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64None.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.UInt64None.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int64 None", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64NotIn.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64NotIn.jsonschema.strict.bundle.json new file mode 100644 index 00000000..bb419f86 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64NotIn.jsonschema.strict.bundle.json @@ -0,0 +1,22 @@ +{ + "$defs": { + "buf.validate.conformance.cases.UInt64NotIn.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "U Int64 Not In", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.UInt64NotIn.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.UInt64NotIn.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64NotIn.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64NotIn.schema.json new file mode 100644 index 00000000..b287eab5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.UInt64NotIn.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.UInt64NotIn.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "U Int64 Not In", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WktLevelOne.WktLevelTwo.WktLevelThree.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WktLevelOne.WktLevelTwo.WktLevelThree.schema.json new file mode 100644 index 00000000..62e11610 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WktLevelOne.WktLevelTwo.WktLevelThree.schema.json @@ -0,0 +1,14 @@ +{ + "$id": "buf.validate.conformance.cases.WktLevelOne.WktLevelTwo.WktLevelThree.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "uuid": { + "default": "", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string" + } + }, + "title": "Wkt Level Three", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WktLevelOne.WktLevelTwo.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WktLevelOne.WktLevelTwo.schema.json new file mode 100644 index 00000000..e7c2db6d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WktLevelOne.WktLevelTwo.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.WktLevelOne.WktLevelTwo.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "three": { + "$ref": "buf.validate.conformance.cases.WktLevelOne.WktLevelTwo.WktLevelThree.schema.json" + } + }, + "required": [ + "three" + ], + "title": "Wkt Level Two", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WktLevelOne.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WktLevelOne.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e476fb3d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WktLevelOne.jsonschema.strict.bundle.json @@ -0,0 +1,50 @@ +{ + "$defs": { + "buf.validate.conformance.cases.WktLevelOne.WktLevelTwo.WktLevelThree.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "uuid": { + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string" + } + }, + "required": [ + "uuid" + ], + "title": "Wkt Level Three", + "type": "object" + }, + "buf.validate.conformance.cases.WktLevelOne.WktLevelTwo.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "three": { + "$ref": "#/$defs/buf.validate.conformance.cases.WktLevelOne.WktLevelTwo.WktLevelThree.jsonschema.strict.json" + } + }, + "required": [ + "three" + ], + "title": "Wkt Level Two", + "type": "object" + }, + "buf.validate.conformance.cases.WktLevelOne.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "two": { + "$ref": "#/$defs/buf.validate.conformance.cases.WktLevelOne.WktLevelTwo.jsonschema.strict.json" + } + }, + "required": [ + "two" + ], + "title": "Wkt Level One", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.WktLevelOne.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.WktLevelOne.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WktLevelOne.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WktLevelOne.schema.json new file mode 100644 index 00000000..76df86ec --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WktLevelOne.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.WktLevelOne.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "two": { + "$ref": "buf.validate.conformance.cases.WktLevelOne.WktLevelTwo.schema.json" + } + }, + "required": [ + "two" + ], + "title": "Wkt Level One", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperBool.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperBool.jsonschema.strict.bundle.json new file mode 100644 index 00000000..c6e09e12 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperBool.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.WrapperBool.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.BoolValue.jsonschema.strict.json" + } + }, + "title": "Wrapper Bool", + "type": "object" + }, + "google.protobuf.BoolValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The bool value.", + "title": "Bool Value", + "type": "boolean" + } + }, + "$id": "buf.validate.conformance.cases.WrapperBool.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.WrapperBool.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperBool.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperBool.schema.json new file mode 100644 index 00000000..f562440a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperBool.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.WrapperBool.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.BoolValue.schema.json" + } + }, + "title": "Wrapper Bool", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperBytes.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperBytes.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d55d647a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperBytes.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.WrapperBytes.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.BytesValue.jsonschema.strict.json" + } + }, + "title": "Wrapper Bytes", + "type": "object" + }, + "google.protobuf.BytesValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The bytes value.", + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "title": "Bytes Value", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.WrapperBytes.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.WrapperBytes.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperBytes.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperBytes.schema.json new file mode 100644 index 00000000..910d25d8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperBytes.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.WrapperBytes.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.BytesValue.schema.json" + } + }, + "title": "Wrapper Bytes", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperDouble.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperDouble.jsonschema.strict.bundle.json new file mode 100644 index 00000000..c4d0bd08 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperDouble.jsonschema.strict.bundle.json @@ -0,0 +1,36 @@ +{ + "$defs": { + "buf.validate.conformance.cases.WrapperDouble.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.DoubleValue.jsonschema.strict.json" + } + }, + "title": "Wrapper Double", + "type": "object" + }, + "google.protobuf.DoubleValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ], + "description": "The double value.", + "title": "Double Value" + } + }, + "$id": "buf.validate.conformance.cases.WrapperDouble.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.WrapperDouble.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperDouble.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperDouble.schema.json new file mode 100644 index 00000000..e91f4123 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperDouble.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.WrapperDouble.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.DoubleValue.schema.json" + } + }, + "title": "Wrapper Double", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperFloat.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperFloat.jsonschema.strict.bundle.json new file mode 100644 index 00000000..81e90f1f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperFloat.jsonschema.strict.bundle.json @@ -0,0 +1,38 @@ +{ + "$defs": { + "buf.validate.conformance.cases.WrapperFloat.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.FloatValue.jsonschema.strict.json" + } + }, + "title": "Wrapper Float", + "type": "object" + }, + "google.protobuf.FloatValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ], + "description": "The float value.", + "title": "Float Value" + } + }, + "$id": "buf.validate.conformance.cases.WrapperFloat.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.WrapperFloat.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperFloat.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperFloat.schema.json new file mode 100644 index 00000000..51676266 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperFloat.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.WrapperFloat.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.FloatValue.schema.json" + } + }, + "title": "Wrapper Float", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperInt32.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperInt32.jsonschema.strict.bundle.json new file mode 100644 index 00000000..64e7343c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperInt32.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.WrapperInt32.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Int32Value.jsonschema.strict.json" + } + }, + "title": "Wrapper Int32", + "type": "object" + }, + "google.protobuf.Int32Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The int32 value.", + "maximum": 2147483647, + "minimum": -2147483648, + "title": "Int32 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.WrapperInt32.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.WrapperInt32.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperInt32.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperInt32.schema.json new file mode 100644 index 00000000..f7503791 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperInt32.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.WrapperInt32.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Int32Value.schema.json" + } + }, + "title": "Wrapper Int32", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperInt64.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperInt64.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7c396561 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperInt64.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.WrapperInt64.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Int64Value.jsonschema.strict.json" + } + }, + "title": "Wrapper Int64", + "type": "object" + }, + "google.protobuf.Int64Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The int64 value.", + "title": "Int64 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.WrapperInt64.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.WrapperInt64.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperInt64.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperInt64.schema.json new file mode 100644 index 00000000..6073f974 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperInt64.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.WrapperInt64.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Int64Value.schema.json" + } + }, + "title": "Wrapper Int64", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperNone.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperNone.jsonschema.strict.bundle.json new file mode 100644 index 00000000..14fadc52 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperNone.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.WrapperNone.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.Int32Value.jsonschema.strict.json" + } + }, + "title": "Wrapper None", + "type": "object" + }, + "google.protobuf.Int32Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The int32 value.", + "maximum": 2147483647, + "minimum": -2147483648, + "title": "Int32 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.WrapperNone.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.WrapperNone.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperNone.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperNone.schema.json new file mode 100644 index 00000000..96accf95 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperNone.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.WrapperNone.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.Int32Value.schema.json" + } + }, + "title": "Wrapper None", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperOptionalUuidString.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperOptionalUuidString.jsonschema.strict.bundle.json new file mode 100644 index 00000000..12d61671 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperOptionalUuidString.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.WrapperOptionalUuidString.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.StringValue.jsonschema.strict.json" + } + }, + "title": "Wrapper Optional Uuid String", + "type": "object" + }, + "google.protobuf.StringValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The string value.", + "title": "String Value", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.WrapperOptionalUuidString.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.WrapperOptionalUuidString.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperOptionalUuidString.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperOptionalUuidString.schema.json new file mode 100644 index 00000000..6149c440 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperOptionalUuidString.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.WrapperOptionalUuidString.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.StringValue.schema.json" + } + }, + "title": "Wrapper Optional Uuid String", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperRequiredEmptyString.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperRequiredEmptyString.jsonschema.strict.bundle.json new file mode 100644 index 00000000..32a19417 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperRequiredEmptyString.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.WrapperRequiredEmptyString.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.StringValue.jsonschema.strict.json" + } + }, + "required": [ + "val" + ], + "title": "Wrapper Required Empty String", + "type": "object" + }, + "google.protobuf.StringValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The string value.", + "title": "String Value", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.WrapperRequiredEmptyString.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.WrapperRequiredEmptyString.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperRequiredEmptyString.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperRequiredEmptyString.schema.json new file mode 100644 index 00000000..ed4acb10 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperRequiredEmptyString.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.WrapperRequiredEmptyString.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.StringValue.schema.json" + } + }, + "required": [ + "val" + ], + "title": "Wrapper Required Empty String", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperRequiredFloat.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperRequiredFloat.jsonschema.strict.bundle.json new file mode 100644 index 00000000..cdd67345 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperRequiredFloat.jsonschema.strict.bundle.json @@ -0,0 +1,41 @@ +{ + "$defs": { + "buf.validate.conformance.cases.WrapperRequiredFloat.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.FloatValue.jsonschema.strict.json" + } + }, + "required": [ + "val" + ], + "title": "Wrapper Required Float", + "type": "object" + }, + "google.protobuf.FloatValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "anyOf": [ + { + "maximum": 3.4028234663852886e+38, + "minimum": -3.4028234663852886e+38, + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ], + "description": "The float value.", + "title": "Float Value" + } + }, + "$id": "buf.validate.conformance.cases.WrapperRequiredFloat.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.WrapperRequiredFloat.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperRequiredFloat.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperRequiredFloat.schema.json new file mode 100644 index 00000000..c709087f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperRequiredFloat.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.WrapperRequiredFloat.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.FloatValue.schema.json" + } + }, + "required": [ + "val" + ], + "title": "Wrapper Required Float", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperRequiredString.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperRequiredString.jsonschema.strict.bundle.json new file mode 100644 index 00000000..cb524cb5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperRequiredString.jsonschema.strict.bundle.json @@ -0,0 +1,27 @@ +{ + "$defs": { + "buf.validate.conformance.cases.WrapperRequiredString.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.StringValue.jsonschema.strict.json" + } + }, + "required": [ + "val" + ], + "title": "Wrapper Required String", + "type": "object" + }, + "google.protobuf.StringValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The string value.", + "title": "String Value", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.WrapperRequiredString.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.WrapperRequiredString.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperRequiredString.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperRequiredString.schema.json new file mode 100644 index 00000000..5e6b45ad --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperRequiredString.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.WrapperRequiredString.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.StringValue.schema.json" + } + }, + "required": [ + "val" + ], + "title": "Wrapper Required String", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperString.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperString.jsonschema.strict.bundle.json new file mode 100644 index 00000000..256d57f5 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperString.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.WrapperString.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.StringValue.jsonschema.strict.json" + } + }, + "title": "Wrapper String", + "type": "object" + }, + "google.protobuf.StringValue.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The string value.", + "title": "String Value", + "type": "string" + } + }, + "$id": "buf.validate.conformance.cases.WrapperString.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.WrapperString.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperString.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperString.schema.json new file mode 100644 index 00000000..05e675b8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperString.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.WrapperString.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.StringValue.schema.json" + } + }, + "title": "Wrapper String", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperUInt32.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperUInt32.jsonschema.strict.bundle.json new file mode 100644 index 00000000..ef8d1f3f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperUInt32.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.WrapperUInt32.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.UInt32Value.jsonschema.strict.json" + } + }, + "title": "WrapperU Int32", + "type": "object" + }, + "google.protobuf.UInt32Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The uint32 value.", + "maximum": 4294967295, + "minimum": 0, + "title": "U Int32 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.WrapperUInt32.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.WrapperUInt32.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperUInt32.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperUInt32.schema.json new file mode 100644 index 00000000..7b147ce6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperUInt32.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.WrapperUInt32.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.UInt32Value.schema.json" + } + }, + "title": "WrapperU Int32", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperUInt64.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperUInt64.jsonschema.strict.bundle.json new file mode 100644 index 00000000..585c8380 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperUInt64.jsonschema.strict.bundle.json @@ -0,0 +1,25 @@ +{ + "$defs": { + "buf.validate.conformance.cases.WrapperUInt64.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/google.protobuf.UInt64Value.jsonschema.strict.json" + } + }, + "title": "WrapperU Int64", + "type": "object" + }, + "google.protobuf.UInt64Value.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "description": "The uint64 value.", + "minimum": 0, + "title": "U Int64 Value", + "type": "integer" + } + }, + "$id": "buf.validate.conformance.cases.WrapperUInt64.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.WrapperUInt64.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperUInt64.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperUInt64.schema.json new file mode 100644 index 00000000..94e8ec79 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.WrapperUInt64.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.WrapperUInt64.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "google.protobuf.UInt64Value.schema.json" + } + }, + "title": "WrapperU Int64", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.DynRuntimeError.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.DynRuntimeError.jsonschema.strict.bundle.json new file mode 100644 index 00000000..bff14a2a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.DynRuntimeError.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.DynRuntimeError.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "a" + ], + "title": "Dyn Runtime Error", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.DynRuntimeError.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.DynRuntimeError.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.DynRuntimeError.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.DynRuntimeError.schema.json new file mode 100644 index 00000000..bd9a77eb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.DynRuntimeError.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.DynRuntimeError.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Dyn Runtime Error", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionEnum.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionEnum.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e56767ef --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionEnum.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.FieldExpressionEnum.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "enum": [ + "ENUM_UNSPECIFIED", + "ENUM_ONE" + ], + "title": "Enum", + "type": "string" + } + }, + "required": [ + "val" + ], + "title": "Field Expression Enum", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionEnum.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionEnum.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionEnum.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionEnum.schema.json new file mode 100644 index 00000000..955f7165 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionEnum.schema.json @@ -0,0 +1,30 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionEnum.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "pattern": "^ENUM_UNSPECIFIED$", + "type": "string" + }, + { + "enum": [ + "ENUM_ONE" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "default": 0, + "title": "Enum" + } + }, + "title": "Field Expression Enum", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapBool.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapBool.jsonschema.strict.bundle.json new file mode 100644 index 00000000..6575c413 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapBool.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.FieldExpressionMapBool.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "boolean" + }, + "propertyNames": { + "type": "boolean" + }, + "type": "object" + } + }, + "title": "Field Expression Map Bool", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapBool.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionMapBool.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapBool.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapBool.schema.json new file mode 100644 index 00000000..f6100c05 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapBool.schema.json @@ -0,0 +1,18 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapBool.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "boolean" + }, + "propertyNames": { + "type": "boolean" + }, + "type": "object" + } + }, + "title": "Field Expression Map Bool", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnum.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnum.jsonschema.strict.bundle.json new file mode 100644 index 00000000..28796c58 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnum.jsonschema.strict.bundle.json @@ -0,0 +1,31 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnum.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "enum": [ + "ENUM_UNSPECIFIED", + "ENUM_ONE" + ], + "title": "Enum", + "type": "string" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Field Expression Map Enum", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnum.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnum.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnum.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnum.schema.json new file mode 100644 index 00000000..b529aed3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnum.schema.json @@ -0,0 +1,42 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnum.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "enum": [ + "ENUM_UNSPECIFIED", + "ENUM_ONE" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Enum" + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Field Expression Map Enum", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnumValues.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnumValues.jsonschema.strict.bundle.json new file mode 100644 index 00000000..3bccd700 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnumValues.jsonschema.strict.bundle.json @@ -0,0 +1,31 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnumValues.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "enum": [ + "ENUM_UNSPECIFIED", + "ENUM_ONE" + ], + "title": "Enum", + "type": "string" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Field Expression Map Enum Values", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnumValues.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnumValues.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnumValues.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnumValues.schema.json new file mode 100644 index 00000000..96772e93 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnumValues.schema.json @@ -0,0 +1,42 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnumValues.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "enum": [ + "ENUM_UNSPECIFIED", + "ENUM_ONE" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Enum" + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Field Expression Map Enum Values", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt32.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt32.jsonschema.strict.bundle.json new file mode 100644 index 00000000..24471da7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt32.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt32.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Field Expression Map Int32", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt32.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt32.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt32.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt32.schema.json new file mode 100644 index 00000000..e4451a12 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt32.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt32.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Field Expression Map Int32", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt64.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt64.jsonschema.strict.bundle.json new file mode 100644 index 00000000..877338d3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt64.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt64.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "integer" + }, + "propertyNames": { + "type": "integer" + }, + "type": "object" + } + }, + "title": "Field Expression Map Int64", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt64.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt64.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt64.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt64.schema.json new file mode 100644 index 00000000..9aafe2a6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt64.schema.json @@ -0,0 +1,34 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt64.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Field Expression Map Int64", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapKeys.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapKeys.jsonschema.strict.bundle.json new file mode 100644 index 00000000..dc565445 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapKeys.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.FieldExpressionMapKeys.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Field Expression Map Keys", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapKeys.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionMapKeys.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapKeys.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapKeys.schema.json new file mode 100644 index 00000000..cb9b3dd7 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapKeys.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapKeys.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Field Expression Map Keys", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessage.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessage.Msg.schema.json new file mode 100644 index 00000000..ba12f03d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessage.Msg.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessage.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessage.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessage.jsonschema.strict.bundle.json new file mode 100644 index 00000000..db1b28ed --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessage.jsonschema.strict.bundle.json @@ -0,0 +1,42 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessage.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "a" + ], + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessage.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessage.Msg.jsonschema.strict.json" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Field Expression Map Message", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessage.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessage.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessage.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessage.schema.json new file mode 100644 index 00000000..0aa4f1ef --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessage.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessage.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "$ref": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessage.Msg.schema.json" + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Field Expression Map Message", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessageValues.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessageValues.Msg.schema.json new file mode 100644 index 00000000..82ee5cd8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessageValues.Msg.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessageValues.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessageValues.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessageValues.jsonschema.strict.bundle.json new file mode 100644 index 00000000..40d2d4cf --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessageValues.jsonschema.strict.bundle.json @@ -0,0 +1,42 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessageValues.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "a" + ], + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessageValues.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessageValues.Msg.jsonschema.strict.json" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Field Expression Map Message Values", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessageValues.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessageValues.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessageValues.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessageValues.schema.json new file mode 100644 index 00000000..12463172 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessageValues.schema.json @@ -0,0 +1,28 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessageValues.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "$ref": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessageValues.Msg.schema.json" + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Field Expression Map Message Values", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapScalarValues.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapScalarValues.jsonschema.strict.bundle.json new file mode 100644 index 00000000..1f2494a4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapScalarValues.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.FieldExpressionMapScalarValues.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "propertyNames": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Field Expression Map Scalar Values", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapScalarValues.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionMapScalarValues.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapScalarValues.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapScalarValues.schema.json new file mode 100644 index 00000000..67e39e4f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapScalarValues.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapScalarValues.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Field Expression Map Scalar Values", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapString.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapString.jsonschema.strict.bundle.json new file mode 100644 index 00000000..9332a572 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapString.jsonschema.strict.bundle.json @@ -0,0 +1,24 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.FieldExpressionMapString.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "title": "Field Expression Map String", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapString.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionMapString.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapString.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapString.schema.json new file mode 100644 index 00000000..42ed46c3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapString.schema.json @@ -0,0 +1,18 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapString.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "title": "Field Expression Map String", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint32.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint32.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e10bdae4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint32.jsonschema.strict.bundle.json @@ -0,0 +1,28 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint32.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "maximum": 4294967295, + "minimum": 0, + "type": "integer" + }, + "propertyNames": { + "maximum": 4294967295, + "minimum": 0, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Field Expression Map Uint32", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint32.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint32.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint32.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint32.schema.json new file mode 100644 index 00000000..6f42bf0a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint32.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint32.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "maximum": 4294967295, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "maximum": 4294967295, + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Field Expression Map Uint32", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint64.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint64.jsonschema.strict.bundle.json new file mode 100644 index 00000000..44fffe58 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint64.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint64.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "minimum": 0, + "type": "integer" + }, + "propertyNames": { + "minimum": 0, + "type": "integer" + }, + "type": "object" + } + }, + "title": "Field Expression Map Uint64", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint64.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint64.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint64.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint64.schema.json new file mode 100644 index 00000000..c7496f73 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint64.schema.json @@ -0,0 +1,36 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint64.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "additionalProperties": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + }, + "propertyNames": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + }, + "type": "object" + } + }, + "title": "Field Expression Map Uint64", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMessage.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMessage.Msg.schema.json new file mode 100644 index 00000000..8c7c71a6 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMessage.Msg.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMessage.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMessage.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMessage.jsonschema.strict.bundle.json new file mode 100644 index 00000000..0f655e89 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMessage.jsonschema.strict.bundle.json @@ -0,0 +1,34 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.FieldExpressionMessage.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "a" + ], + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.custom_rules.FieldExpressionMessage.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionMessage.Msg.jsonschema.strict.json" + } + }, + "title": "Field Expression Message", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMessage.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionMessage.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMessage.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMessage.schema.json new file mode 100644 index 00000000..bd0cc836 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMessage.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMessage.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "$ref": "buf.validate.conformance.cases.custom_rules.FieldExpressionMessage.Msg.schema.json" + } + }, + "title": "Field Expression Message", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMultipleScalar.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMultipleScalar.jsonschema.strict.bundle.json new file mode 100644 index 00000000..739e99f8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMultipleScalar.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.FieldExpressionMultipleScalar.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Field Expression Multiple Scalar", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMultipleScalar.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionMultipleScalar.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMultipleScalar.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMultipleScalar.schema.json new file mode 100644 index 00000000..eb1b5a33 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionMultipleScalar.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionMultipleScalar.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Field Expression Multiple Scalar", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionNestedScalar.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionNestedScalar.jsonschema.strict.bundle.json new file mode 100644 index 00000000..e11cea8e --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionNestedScalar.jsonschema.strict.bundle.json @@ -0,0 +1,34 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.FieldExpressionNestedScalar.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "nested": { + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionScalar.jsonschema.strict.json" + } + }, + "title": "Field Expression Nested Scalar", + "type": "object" + }, + "buf.validate.conformance.cases.custom_rules.FieldExpressionScalar.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Field Expression Scalar", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionNestedScalar.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionNestedScalar.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionNestedScalar.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionNestedScalar.schema.json new file mode 100644 index 00000000..630b8a6d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionNestedScalar.schema.json @@ -0,0 +1,12 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionNestedScalar.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "nested": { + "$ref": "buf.validate.conformance.cases.custom_rules.FieldExpressionScalar.schema.json" + } + }, + "title": "Field Expression Nested Scalar", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionOptionalScalar.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionOptionalScalar.jsonschema.strict.bundle.json new file mode 100644 index 00000000..01f4efdb --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionOptionalScalar.jsonschema.strict.bundle.json @@ -0,0 +1,20 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.FieldExpressionOptionalScalar.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Field Expression Optional Scalar", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionOptionalScalar.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionOptionalScalar.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionOptionalScalar.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionOptionalScalar.schema.json new file mode 100644 index 00000000..4debf16a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionOptionalScalar.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionOptionalScalar.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Field Expression Optional Scalar", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedEnum.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedEnum.jsonschema.strict.bundle.json new file mode 100644 index 00000000..b87a2413 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedEnum.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedEnum.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "enum": [ + "ENUM_UNSPECIFIED", + "ENUM_ONE" + ], + "title": "Enum", + "type": "string" + }, + "type": "array" + } + }, + "title": "Field Expression Repeated Enum", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedEnum.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedEnum.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedEnum.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedEnum.schema.json new file mode 100644 index 00000000..bed30388 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedEnum.schema.json @@ -0,0 +1,29 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedEnum.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "enum": [ + "ENUM_UNSPECIFIED", + "ENUM_ONE" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Enum" + }, + "type": "array" + } + }, + "title": "Field Expression Repeated Enum", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedEnumItems.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedEnumItems.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a540ae4f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedEnumItems.jsonschema.strict.bundle.json @@ -0,0 +1,26 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedEnumItems.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "enum": [ + "ENUM_UNSPECIFIED", + "ENUM_ONE" + ], + "title": "Enum", + "type": "string" + }, + "type": "array" + } + }, + "title": "Field Expression Repeated Enum Items", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedEnumItems.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedEnumItems.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedEnumItems.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedEnumItems.schema.json new file mode 100644 index 00000000..d0316e96 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedEnumItems.schema.json @@ -0,0 +1,29 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedEnumItems.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "enum": [ + "ENUM_UNSPECIFIED", + "ENUM_ONE" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Enum" + }, + "type": "array" + } + }, + "title": "Field Expression Repeated Enum Items", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessage.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessage.Msg.schema.json new file mode 100644 index 00000000..c35431d8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessage.Msg.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessage.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessage.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessage.jsonschema.strict.bundle.json new file mode 100644 index 00000000..8b2c4600 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessage.jsonschema.strict.bundle.json @@ -0,0 +1,37 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessage.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "a" + ], + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessage.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessage.Msg.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Field Expression Repeated Message", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessage.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessage.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessage.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessage.schema.json new file mode 100644 index 00000000..cb89cd06 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessage.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessage.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessage.Msg.schema.json" + }, + "type": "array" + } + }, + "title": "Field Expression Repeated Message", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessageItems.Msg.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessageItems.Msg.schema.json new file mode 100644 index 00000000..edcd0b1d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessageItems.Msg.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessageItems.Msg.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Msg", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessageItems.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessageItems.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d93145a8 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessageItems.jsonschema.strict.bundle.json @@ -0,0 +1,37 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessageItems.Msg.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "a" + ], + "title": "Msg", + "type": "object" + }, + "buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessageItems.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessageItems.Msg.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Field Expression Repeated Message Items", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessageItems.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessageItems.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessageItems.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessageItems.schema.json new file mode 100644 index 00000000..83e298b2 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessageItems.schema.json @@ -0,0 +1,15 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessageItems.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "$ref": "buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessageItems.Msg.schema.json" + }, + "type": "array" + } + }, + "title": "Field Expression Repeated Message Items", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedScalar.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedScalar.jsonschema.strict.bundle.json new file mode 100644 index 00000000..131f7efc --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedScalar.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedScalar.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Field Expression Repeated Scalar", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedScalar.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedScalar.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedScalar.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedScalar.schema.json new file mode 100644 index 00000000..4fe5468a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedScalar.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedScalar.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Field Expression Repeated Scalar", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedScalarItems.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedScalarItems.jsonschema.strict.bundle.json new file mode 100644 index 00000000..f4d4771b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedScalarItems.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedScalarItems.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + } + }, + "title": "Field Expression Repeated Scalar Items", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedScalarItems.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedScalarItems.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedScalarItems.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedScalarItems.schema.json new file mode 100644 index 00000000..1a17de21 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedScalarItems.schema.json @@ -0,0 +1,25 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedScalarItems.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "items": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "Field Expression Repeated Scalar Items", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionScalar.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionScalar.jsonschema.strict.bundle.json new file mode 100644 index 00000000..58a54d8c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionScalar.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.FieldExpressionScalar.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Field Expression Scalar", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionScalar.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.FieldExpressionScalar.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionScalar.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionScalar.schema.json new file mode 100644 index 00000000..dc20cb92 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.FieldExpressionScalar.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.FieldExpressionScalar.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "val": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Field Expression Scalar", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.IncorrectType.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.IncorrectType.jsonschema.strict.bundle.json new file mode 100644 index 00000000..a44db6c3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.IncorrectType.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.IncorrectType.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "a" + ], + "title": "Incorrect Type", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.IncorrectType.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.IncorrectType.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.IncorrectType.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.IncorrectType.schema.json new file mode 100644 index 00000000..37ae723d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.IncorrectType.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.IncorrectType.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Incorrect Type", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.MessageExpressions.Nested.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.MessageExpressions.Nested.schema.json new file mode 100644 index 00000000..36b64861 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.MessageExpressions.Nested.schema.json @@ -0,0 +1,37 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.MessageExpressions.Nested.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "b": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Nested", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.MessageExpressions.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.MessageExpressions.jsonschema.strict.bundle.json new file mode 100644 index 00000000..de8dfaa1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.MessageExpressions.jsonschema.strict.bundle.json @@ -0,0 +1,76 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.MessageExpressions.Nested.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "b": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "a", + "b" + ], + "title": "Nested", + "type": "object" + }, + "buf.validate.conformance.cases.custom_rules.MessageExpressions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "A message with message-level custom expressions", + "properties": { + "a": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "b": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "c": { + "enum": [ + "ENUM_UNSPECIFIED", + "ENUM_ONE" + ], + "title": "Enum", + "type": "string" + }, + "d": { + "enum": [ + "ENUM_UNSPECIFIED", + "ENUM_ONE" + ], + "title": "Enum", + "type": "string" + }, + "e": { + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.MessageExpressions.Nested.jsonschema.strict.json" + }, + "f": { + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.MessageExpressions.Nested.jsonschema.strict.json" + } + }, + "required": [ + "a", + "b", + "c", + "d" + ], + "title": "Message Expressions", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.MessageExpressions.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.MessageExpressions.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.MessageExpressions.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.MessageExpressions.schema.json new file mode 100644 index 00000000..c79afa9a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.MessageExpressions.schema.json @@ -0,0 +1,86 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.MessageExpressions.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "A message with message-level custom expressions", + "properties": { + "a": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "b": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "c": { + "anyOf": [ + { + "pattern": "^ENUM_UNSPECIFIED$", + "type": "string" + }, + { + "enum": [ + "ENUM_ONE" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "default": 0, + "title": "Enum" + }, + "d": { + "anyOf": [ + { + "pattern": "^ENUM_UNSPECIFIED$", + "type": "string" + }, + { + "enum": [ + "ENUM_ONE" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "default": 0, + "title": "Enum" + }, + "e": { + "$ref": "buf.validate.conformance.cases.custom_rules.MessageExpressions.Nested.schema.json" + }, + "f": { + "$ref": "buf.validate.conformance.cases.custom_rules.MessageExpressions.Nested.schema.json" + } + }, + "title": "Message Expressions", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.MissingField.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.MissingField.jsonschema.strict.bundle.json new file mode 100644 index 00000000..1bc1ae3d --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.MissingField.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.MissingField.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "a" + ], + "title": "Missing Field", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.MissingField.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.MissingField.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.MissingField.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.MissingField.schema.json new file mode 100644 index 00000000..b5609578 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.MissingField.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.MissingField.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "a": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Missing Field", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.NoExpressions.Nested.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.NoExpressions.Nested.schema.json new file mode 100644 index 00000000..cbfc7b78 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.NoExpressions.Nested.schema.json @@ -0,0 +1,8 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.NoExpressions.Nested.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": {}, + "title": "Nested", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.NoExpressions.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.NoExpressions.jsonschema.strict.bundle.json new file mode 100644 index 00000000..24e264cf --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.NoExpressions.jsonschema.strict.bundle.json @@ -0,0 +1,43 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.NoExpressions.Nested.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": {}, + "title": "Nested", + "type": "object" + }, + "buf.validate.conformance.cases.custom_rules.NoExpressions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "A message that does not contain any expressions", + "properties": { + "a": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "b": { + "enum": [ + "ENUM_UNSPECIFIED", + "ENUM_ONE" + ], + "title": "Enum", + "type": "string" + }, + "c": { + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.NoExpressions.Nested.jsonschema.strict.json" + } + }, + "required": [ + "a", + "b" + ], + "title": "No Expressions", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.NoExpressions.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.NoExpressions.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.NoExpressions.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.NoExpressions.schema.json new file mode 100644 index 00000000..c3a6dd5b --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.NoExpressions.schema.json @@ -0,0 +1,48 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.NoExpressions.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "A message that does not contain any expressions", + "properties": { + "a": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + }, + "b": { + "anyOf": [ + { + "pattern": "^ENUM_UNSPECIFIED$", + "type": "string" + }, + { + "enum": [ + "ENUM_ONE" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "default": 0, + "title": "Enum" + }, + "c": { + "$ref": "buf.validate.conformance.cases.custom_rules.NoExpressions.Nested.schema.json" + } + }, + "title": "No Expressions", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.NowEqualsNow.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.NowEqualsNow.jsonschema.strict.bundle.json new file mode 100644 index 00000000..c55c2c58 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.NowEqualsNow.jsonschema.strict.bundle.json @@ -0,0 +1,14 @@ +{ + "$defs": { + "buf.validate.conformance.cases.custom_rules.NowEqualsNow.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": {}, + "title": "Now Equals Now", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.custom_rules.NowEqualsNow.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.custom_rules.NowEqualsNow.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.NowEqualsNow.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.NowEqualsNow.schema.json new file mode 100644 index 00000000..9d51319c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.custom_rules.NowEqualsNow.schema.json @@ -0,0 +1,8 @@ +{ + "$id": "buf.validate.conformance.cases.custom_rules.NowEqualsNow.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": {}, + "title": "Now Equals Now", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.other_package.Embed.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.other_package.Embed.jsonschema.strict.bundle.json new file mode 100644 index 00000000..8d88a594 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.other_package.Embed.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.other_package.Embed.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Validate message embedding across packages.", + "properties": { + "val": { + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Embed", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.other_package.Embed.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.other_package.Embed.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.other_package.Embed.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.other_package.Embed.schema.json new file mode 100644 index 00000000..d6073ab3 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.other_package.Embed.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.other_package.Embed.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Validate message embedding across packages.", + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Embed", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.yet_another_package.Embed.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.cases.yet_another_package.Embed.jsonschema.strict.bundle.json new file mode 100644 index 00000000..aae19197 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.yet_another_package.Embed.jsonschema.strict.bundle.json @@ -0,0 +1,23 @@ +{ + "$defs": { + "buf.validate.conformance.cases.yet_another_package.Embed.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Validate message embedding across packages.", + "properties": { + "val": { + "exclusiveMinimum": 0, + "type": "integer" + } + }, + "required": [ + "val" + ], + "title": "Embed", + "type": "object" + } + }, + "$id": "buf.validate.conformance.cases.yet_another_package.Embed.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.cases.yet_another_package.Embed.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.cases.yet_another_package.Embed.schema.json b/internal/gen/jsonschema/buf.validate.conformance.cases.yet_another_package.Embed.schema.json new file mode 100644 index 00000000..4b29a1ed --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.cases.yet_another_package.Embed.schema.json @@ -0,0 +1,23 @@ +{ + "$id": "buf.validate.conformance.cases.yet_another_package.Embed.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Validate message embedding across packages.", + "properties": { + "val": { + "anyOf": [ + { + "exclusiveMinimum": 0, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0 + } + }, + "title": "Embed", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.harness.CaseResult.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.harness.CaseResult.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7439d999 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.harness.CaseResult.jsonschema.strict.bundle.json @@ -0,0 +1,263 @@ +{ + "$defs": { + "buf.validate.FieldPath.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "This message provides enough information to render a dotted field path even without protobuf descriptors.\n It also provides enough information to resolve a nested field through unknown wire data.", + "properties": { + "elements": { + "description": "`elements` contains each element of the path, starting from the root and recursing downward.", + "items": { + "$ref": "#/$defs/buf.validate.FieldPathElement.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "`FieldPath` provides a path to a nested protobuf field.", + "type": "object" + }, + "buf.validate.FieldPathElement.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "If the selected field is a map or repeated field, the `subscript` value selects a specific element from it.\n A path that refers to a value nested under a map key or repeated field index will have a `subscript` value.\n The `field_type` field allows unambiguous resolution of a field even if descriptors are not available.", + "properties": { + "boolKey": { + "description": "`bool_key` specifies a map key of type bool.", + "type": "boolean" + }, + "fieldName": { + "description": "`field_name` contains the field name this path element refers to.\n This can be used to display a human-readable path even if the field number is unknown.", + "type": "string" + }, + "fieldNumber": { + "description": "`field_number` is the field number this path element refers to.", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "fieldType": { + "description": "This value is provided to make it possible to traverse unknown fields through wire data.\n When traversing wire data, be mindful of both packed[1] and delimited[2] encoding schemes.\n\n [1]: https://protobuf.dev/programming-guides/encoding/#packed\n [2]: https://protobuf.dev/programming-guides/encoding/#groups\n\n N.B.: Although groups are deprecated, the corresponding delimited encoding scheme is not, and\n can be explicitly used in Protocol Buffers 2023 Edition.", + "enum": [ + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "title": "Type", + "type": "string" + }, + "index": { + "description": "`index` specifies a 0-based index into a repeated field.", + "minimum": 0, + "type": "integer" + }, + "intKey": { + "description": "`int_key` specifies a map key of type int32, int64, sint32, sint64, sfixed32 or sfixed64.", + "type": "integer" + }, + "keyType": { + "description": "`key_type` specifies the map key type of this field. This value is useful when traversing\n unknown fields through wire data: specifically, it allows handling the differences between\n different integer encodings.", + "enum": [ + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "title": "Type", + "type": "string" + }, + "stringKey": { + "description": "`string_key` specifies a map key of type string.", + "type": "string" + }, + "uintKey": { + "description": "`uint_key` specifies a map key of type uint32, uint64, fixed32 or fixed64.", + "minimum": 0, + "type": "integer" + }, + "valueType": { + "description": "`value_type` specifies map value type of this field. This is useful if you want to display a\n value inside unknown fields through wire data.", + "enum": [ + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "title": "Type", + "type": "string" + } + }, + "title": "`FieldPathElement` provides enough information to nest through a single protobuf field.", + "type": "object" + }, + "buf.validate.Violation.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "For example, consider the following message:\n\n ```proto\n message User {\n int32 age = 1 [(buf.validate.field).cel = {\n id: \"user.age\",\n expression: \"this \u003c 18 ? 'User must be at least 18 years old' : ''\",\n }];\n }\n ```\n\n It could produce the following violation:\n\n ```json\n {\n \"ruleId\": \"user.age\",\n \"message\": \"User must be at least 18 years old\",\n \"field\": {\n \"elements\": [\n {\n \"fieldNumber\": 1,\n \"fieldName\": \"age\",\n \"fieldType\": \"TYPE_INT32\"\n }\n ]\n },\n \"rule\": {\n \"elements\": [\n {\n \"fieldNumber\": 23,\n \"fieldName\": \"cel\",\n \"fieldType\": \"TYPE_MESSAGE\",\n \"index\": \"0\"\n }\n ]\n }\n }\n ```", + "properties": { + "field": { + "$ref": "#/$defs/buf.validate.FieldPath.jsonschema.strict.json", + "description": "For example, consider the following message:\n\n ```proto\n message Message {\n bool a = 1 [(buf.validate.field).required = true];\n }\n ```\n\n It could produce the following violation:\n\n ```textproto\n violation {\n field { element { field_number: 1, field_name: \"a\", field_type: 8 } }\n ...\n }\n ```", + "title": "`field` is a machine-readable path to the field that failed validation.\n This could be a nested field, in which case the path will include all the parent fields leading to the actual field that caused the violation." + }, + "forKey": { + "description": "`for_key` indicates whether the violation was caused by a map key, rather than a value.", + "type": "boolean" + }, + "message": { + "description": "`message` is a human-readable error message that describes the nature of the violation.\n This can be the default error message from the violated `Rule`, or it can be a custom message that gives more context about the violation.", + "type": "string" + }, + "rule": { + "$ref": "#/$defs/buf.validate.FieldPath.jsonschema.strict.json", + "description": "For example, consider the following message:\n\n ```proto\n message Message {\n bool a = 1 [(buf.validate.field).required = true];\n bool b = 2 [(buf.validate.field).cel = {\n id: \"custom_rule\",\n expression: \"!this ? 'b must be true': ''\"\n }]\n }\n ```\n\n It could produce the following violations:\n\n ```textproto\n violation {\n rule { element { field_number: 25, field_name: \"required\", field_type: 8 } }\n ...\n }\n violation {\n rule { element { field_number: 23, field_name: \"cel\", field_type: 11, index: 0 } }\n ...\n }\n ```", + "title": "`rule` is a machine-readable path that points to the specific rule that failed validation.\n This will be a nested field starting from the FieldRules of the field that failed validation.\n For custom rules, this will provide the path of the rule, e.g. `cel[0]`." + }, + "ruleId": { + "description": "`rule_id` is the unique identifier of the `Rule` that was not fulfilled.\n This is the same `id` that was specified in the `Rule` message, allowing easy tracing of which rule was violated.", + "type": "string" + } + }, + "title": "`Violation` represents a single instance where a validation rule, expressed\n as a `Rule`, was not met. It provides information about the field that\n caused the violation, the specific rule that wasn't fulfilled, and a\n human-readable error message.", + "type": "object" + }, + "buf.validate.Violations.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "`Violations` is a collection of `Violation` messages. This message type is returned by\n Protovalidate when a proto message fails to meet the requirements set by the `Rule` validation rules.\n Each individual violation is represented by a `Violation` message.", + "properties": { + "violations": { + "description": "`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.", + "items": { + "$ref": "#/$defs/buf.validate.Violation.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Violations", + "type": "object" + }, + "buf.validate.conformance.harness.CaseResult.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "A case result is a single test case result.", + "properties": { + "expectedFailure": { + "description": "Denotes if the test is expected to fail. True, if the test case was expected to fail.", + "type": "boolean" + }, + "got": { + "$ref": "#/$defs/buf.validate.conformance.harness.TestResult.jsonschema.strict.json", + "description": "The actual result." + }, + "input": { + "$ref": "#/$defs/google.protobuf.Any.jsonschema.strict.json", + "description": "The input used to invoke the test case." + }, + "name": { + "description": "The case name.", + "type": "string" + }, + "success": { + "description": "Success state of the test case. True if the test case succeeded.", + "type": "boolean" + }, + "wanted": { + "$ref": "#/$defs/buf.validate.conformance.harness.TestResult.jsonschema.strict.json", + "description": "The expected result." + } + }, + "required": [ + "name", + "success", + "expectedFailure" + ], + "title": "Case Result", + "type": "object" + }, + "buf.validate.conformance.harness.TestResult.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "TestResult is the result of a single test. Only one of the fields will be set.", + "properties": { + "compilationError": { + "description": "compilation_error is the error if the test failed due to compilation errors.", + "type": "string" + }, + "runtimeError": { + "description": "runtime_error is the error if the test failed due to runtime errors.", + "type": "string" + }, + "success": { + "description": "success is true if the test succeeded.", + "type": "boolean" + }, + "unexpectedError": { + "description": "unexpected_error is any other error that may have occurred.", + "type": "string" + }, + "validationError": { + "$ref": "#/$defs/buf.validate.Violations.jsonschema.strict.json", + "description": "validation_error is the error if the test failed due to validation errors." + } + }, + "title": "Test Result", + "type": "object" + }, + "google.protobuf.Any.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "properties": { + "@type": { + "type": "string" + } + }, + "title": "Any", + "type": "object" + } + }, + "$id": "buf.validate.conformance.harness.CaseResult.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.harness.CaseResult.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.harness.CaseResult.schema.json b/internal/gen/jsonschema/buf.validate.conformance.harness.CaseResult.schema.json new file mode 100644 index 00000000..b5017592 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.harness.CaseResult.schema.json @@ -0,0 +1,44 @@ +{ + "$id": "buf.validate.conformance.harness.CaseResult.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "A case result is a single test case result.", + "patternProperties": { + "^(expectedFailure)$": { + "default": false, + "description": "Denotes if the test is expected to fail. True, if the test case was expected to fail.", + "type": "boolean" + } + }, + "properties": { + "expected_failure": { + "default": false, + "description": "Denotes if the test is expected to fail. True, if the test case was expected to fail.", + "type": "boolean" + }, + "got": { + "$ref": "buf.validate.conformance.harness.TestResult.schema.json", + "description": "The actual result." + }, + "input": { + "$ref": "google.protobuf.Any.schema.json", + "description": "The input used to invoke the test case." + }, + "name": { + "default": "", + "description": "The case name.", + "type": "string" + }, + "success": { + "default": false, + "description": "Success state of the test case. True if the test case succeeded.", + "type": "boolean" + }, + "wanted": { + "$ref": "buf.validate.conformance.harness.TestResult.schema.json", + "description": "The expected result." + } + }, + "title": "Case Result", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.harness.ResultOptions.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.harness.ResultOptions.jsonschema.strict.bundle.json new file mode 100644 index 00000000..aecee57f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.harness.ResultOptions.jsonschema.strict.bundle.json @@ -0,0 +1,43 @@ +{ + "$defs": { + "buf.validate.conformance.harness.ResultOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "ResultOptions are the options passed to the test runner to configure the\n test run.", + "properties": { + "caseFilter": { + "description": "The case filter is a regex that matches against the case name.", + "type": "string" + }, + "strictError": { + "description": "If the distinction between runtime and compile time errors must be exact.", + "type": "boolean" + }, + "strictMessage": { + "description": "If the violation message must be an exact match.", + "type": "boolean" + }, + "suiteFilter": { + "description": "The suite filter is a regex that matches against the suite name.", + "type": "string" + }, + "verbose": { + "description": "If the test runner should print verbose output.", + "type": "boolean" + } + }, + "required": [ + "suiteFilter", + "caseFilter", + "verbose", + "strictMessage", + "strictError" + ], + "title": "Result Options", + "type": "object" + } + }, + "$id": "buf.validate.conformance.harness.ResultOptions.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.harness.ResultOptions.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.harness.ResultOptions.schema.json b/internal/gen/jsonschema/buf.validate.conformance.harness.ResultOptions.schema.json new file mode 100644 index 00000000..353d97e1 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.harness.ResultOptions.schema.json @@ -0,0 +1,57 @@ +{ + "$id": "buf.validate.conformance.harness.ResultOptions.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "ResultOptions are the options passed to the test runner to configure the\n test run.", + "patternProperties": { + "^(caseFilter)$": { + "default": "", + "description": "The case filter is a regex that matches against the case name.", + "type": "string" + }, + "^(strictError)$": { + "default": false, + "description": "If the distinction between runtime and compile time errors must be exact.", + "type": "boolean" + }, + "^(strictMessage)$": { + "default": false, + "description": "If the violation message must be an exact match.", + "type": "boolean" + }, + "^(suiteFilter)$": { + "default": "", + "description": "The suite filter is a regex that matches against the suite name.", + "type": "string" + } + }, + "properties": { + "case_filter": { + "default": "", + "description": "The case filter is a regex that matches against the case name.", + "type": "string" + }, + "strict_error": { + "default": false, + "description": "If the distinction between runtime and compile time errors must be exact.", + "type": "boolean" + }, + "strict_message": { + "default": false, + "description": "If the violation message must be an exact match.", + "type": "boolean" + }, + "suite_filter": { + "default": "", + "description": "The suite filter is a regex that matches against the suite name.", + "type": "string" + }, + "verbose": { + "default": false, + "description": "If the test runner should print verbose output.", + "type": "boolean" + } + }, + "title": "Result Options", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.harness.ResultSet.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.harness.ResultSet.jsonschema.strict.bundle.json new file mode 100644 index 00000000..45999543 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.harness.ResultSet.jsonschema.strict.bundle.json @@ -0,0 +1,1601 @@ +{ + "$defs": { + "buf.validate.FieldPath.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "This message provides enough information to render a dotted field path even without protobuf descriptors.\n It also provides enough information to resolve a nested field through unknown wire data.", + "properties": { + "elements": { + "description": "`elements` contains each element of the path, starting from the root and recursing downward.", + "items": { + "$ref": "#/$defs/buf.validate.FieldPathElement.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "`FieldPath` provides a path to a nested protobuf field.", + "type": "object" + }, + "buf.validate.FieldPathElement.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "If the selected field is a map or repeated field, the `subscript` value selects a specific element from it.\n A path that refers to a value nested under a map key or repeated field index will have a `subscript` value.\n The `field_type` field allows unambiguous resolution of a field even if descriptors are not available.", + "properties": { + "boolKey": { + "description": "`bool_key` specifies a map key of type bool.", + "type": "boolean" + }, + "fieldName": { + "description": "`field_name` contains the field name this path element refers to.\n This can be used to display a human-readable path even if the field number is unknown.", + "type": "string" + }, + "fieldNumber": { + "description": "`field_number` is the field number this path element refers to.", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "fieldType": { + "description": "This value is provided to make it possible to traverse unknown fields through wire data.\n When traversing wire data, be mindful of both packed[1] and delimited[2] encoding schemes.\n\n [1]: https://protobuf.dev/programming-guides/encoding/#packed\n [2]: https://protobuf.dev/programming-guides/encoding/#groups\n\n N.B.: Although groups are deprecated, the corresponding delimited encoding scheme is not, and\n can be explicitly used in Protocol Buffers 2023 Edition.", + "enum": [ + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "title": "Type", + "type": "string" + }, + "index": { + "description": "`index` specifies a 0-based index into a repeated field.", + "minimum": 0, + "type": "integer" + }, + "intKey": { + "description": "`int_key` specifies a map key of type int32, int64, sint32, sint64, sfixed32 or sfixed64.", + "type": "integer" + }, + "keyType": { + "description": "`key_type` specifies the map key type of this field. This value is useful when traversing\n unknown fields through wire data: specifically, it allows handling the differences between\n different integer encodings.", + "enum": [ + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "title": "Type", + "type": "string" + }, + "stringKey": { + "description": "`string_key` specifies a map key of type string.", + "type": "string" + }, + "uintKey": { + "description": "`uint_key` specifies a map key of type uint32, uint64, fixed32 or fixed64.", + "minimum": 0, + "type": "integer" + }, + "valueType": { + "description": "`value_type` specifies map value type of this field. This is useful if you want to display a\n value inside unknown fields through wire data.", + "enum": [ + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "title": "Type", + "type": "string" + } + }, + "title": "`FieldPathElement` provides enough information to nest through a single protobuf field.", + "type": "object" + }, + "buf.validate.Violation.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "For example, consider the following message:\n\n ```proto\n message User {\n int32 age = 1 [(buf.validate.field).cel = {\n id: \"user.age\",\n expression: \"this \u003c 18 ? 'User must be at least 18 years old' : ''\",\n }];\n }\n ```\n\n It could produce the following violation:\n\n ```json\n {\n \"ruleId\": \"user.age\",\n \"message\": \"User must be at least 18 years old\",\n \"field\": {\n \"elements\": [\n {\n \"fieldNumber\": 1,\n \"fieldName\": \"age\",\n \"fieldType\": \"TYPE_INT32\"\n }\n ]\n },\n \"rule\": {\n \"elements\": [\n {\n \"fieldNumber\": 23,\n \"fieldName\": \"cel\",\n \"fieldType\": \"TYPE_MESSAGE\",\n \"index\": \"0\"\n }\n ]\n }\n }\n ```", + "properties": { + "field": { + "$ref": "#/$defs/buf.validate.FieldPath.jsonschema.strict.json", + "description": "For example, consider the following message:\n\n ```proto\n message Message {\n bool a = 1 [(buf.validate.field).required = true];\n }\n ```\n\n It could produce the following violation:\n\n ```textproto\n violation {\n field { element { field_number: 1, field_name: \"a\", field_type: 8 } }\n ...\n }\n ```", + "title": "`field` is a machine-readable path to the field that failed validation.\n This could be a nested field, in which case the path will include all the parent fields leading to the actual field that caused the violation." + }, + "forKey": { + "description": "`for_key` indicates whether the violation was caused by a map key, rather than a value.", + "type": "boolean" + }, + "message": { + "description": "`message` is a human-readable error message that describes the nature of the violation.\n This can be the default error message from the violated `Rule`, or it can be a custom message that gives more context about the violation.", + "type": "string" + }, + "rule": { + "$ref": "#/$defs/buf.validate.FieldPath.jsonschema.strict.json", + "description": "For example, consider the following message:\n\n ```proto\n message Message {\n bool a = 1 [(buf.validate.field).required = true];\n bool b = 2 [(buf.validate.field).cel = {\n id: \"custom_rule\",\n expression: \"!this ? 'b must be true': ''\"\n }]\n }\n ```\n\n It could produce the following violations:\n\n ```textproto\n violation {\n rule { element { field_number: 25, field_name: \"required\", field_type: 8 } }\n ...\n }\n violation {\n rule { element { field_number: 23, field_name: \"cel\", field_type: 11, index: 0 } }\n ...\n }\n ```", + "title": "`rule` is a machine-readable path that points to the specific rule that failed validation.\n This will be a nested field starting from the FieldRules of the field that failed validation.\n For custom rules, this will provide the path of the rule, e.g. `cel[0]`." + }, + "ruleId": { + "description": "`rule_id` is the unique identifier of the `Rule` that was not fulfilled.\n This is the same `id` that was specified in the `Rule` message, allowing easy tracing of which rule was violated.", + "type": "string" + } + }, + "title": "`Violation` represents a single instance where a validation rule, expressed\n as a `Rule`, was not met. It provides information about the field that\n caused the violation, the specific rule that wasn't fulfilled, and a\n human-readable error message.", + "type": "object" + }, + "buf.validate.Violations.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "`Violations` is a collection of `Violation` messages. This message type is returned by\n Protovalidate when a proto message fails to meet the requirements set by the `Rule` validation rules.\n Each individual violation is represented by a `Violation` message.", + "properties": { + "violations": { + "description": "`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.", + "items": { + "$ref": "#/$defs/buf.validate.Violation.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Violations", + "type": "object" + }, + "buf.validate.conformance.harness.CaseResult.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "A case result is a single test case result.", + "properties": { + "expectedFailure": { + "description": "Denotes if the test is expected to fail. True, if the test case was expected to fail.", + "type": "boolean" + }, + "got": { + "$ref": "#/$defs/buf.validate.conformance.harness.TestResult.jsonschema.strict.json", + "description": "The actual result." + }, + "input": { + "$ref": "#/$defs/google.protobuf.Any.jsonschema.strict.json", + "description": "The input used to invoke the test case." + }, + "name": { + "description": "The case name.", + "type": "string" + }, + "success": { + "description": "Success state of the test case. True if the test case succeeded.", + "type": "boolean" + }, + "wanted": { + "$ref": "#/$defs/buf.validate.conformance.harness.TestResult.jsonschema.strict.json", + "description": "The expected result." + } + }, + "required": [ + "name", + "success", + "expectedFailure" + ], + "title": "Case Result", + "type": "object" + }, + "buf.validate.conformance.harness.ResultOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "ResultOptions are the options passed to the test runner to configure the\n test run.", + "properties": { + "caseFilter": { + "description": "The case filter is a regex that matches against the case name.", + "type": "string" + }, + "strictError": { + "description": "If the distinction between runtime and compile time errors must be exact.", + "type": "boolean" + }, + "strictMessage": { + "description": "If the violation message must be an exact match.", + "type": "boolean" + }, + "suiteFilter": { + "description": "The suite filter is a regex that matches against the suite name.", + "type": "string" + }, + "verbose": { + "description": "If the test runner should print verbose output.", + "type": "boolean" + } + }, + "required": [ + "suiteFilter", + "caseFilter", + "verbose", + "strictMessage", + "strictError" + ], + "title": "Result Options", + "type": "object" + }, + "buf.validate.conformance.harness.ResultSet.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "A result is the result of a test run.", + "properties": { + "expectedFailures": { + "description": "Count of expected failures.", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "failures": { + "description": "Count of failures.", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "options": { + "$ref": "#/$defs/buf.validate.conformance.harness.ResultOptions.jsonschema.strict.json", + "description": "Options used to generate this result." + }, + "successes": { + "description": "Count of successes.", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "suites": { + "description": "List of suite results.", + "items": { + "$ref": "#/$defs/buf.validate.conformance.harness.SuiteResults.jsonschema.strict.json" + }, + "type": "array" + } + }, + "required": [ + "successes", + "failures", + "expectedFailures" + ], + "title": "Result Set", + "type": "object" + }, + "buf.validate.conformance.harness.SuiteResults.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "A suite result is a single test suite result.", + "properties": { + "cases": { + "description": "List of case results.", + "items": { + "$ref": "#/$defs/buf.validate.conformance.harness.CaseResult.jsonschema.strict.json" + }, + "type": "array" + }, + "expectedFailures": { + "description": "Count of expected failures.", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "failures": { + "description": "Count of failures.", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "fdset": { + "$ref": "#/$defs/google.protobuf.FileDescriptorSet.jsonschema.strict.json", + "description": "The file descriptor set used to generate this result." + }, + "name": { + "description": "The suite name.", + "type": "string" + }, + "successes": { + "description": "Count of successes.", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "name", + "successes", + "failures", + "expectedFailures" + ], + "title": "Suite Results", + "type": "object" + }, + "buf.validate.conformance.harness.TestResult.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "TestResult is the result of a single test. Only one of the fields will be set.", + "properties": { + "compilationError": { + "description": "compilation_error is the error if the test failed due to compilation errors.", + "type": "string" + }, + "runtimeError": { + "description": "runtime_error is the error if the test failed due to runtime errors.", + "type": "string" + }, + "success": { + "description": "success is true if the test succeeded.", + "type": "boolean" + }, + "unexpectedError": { + "description": "unexpected_error is any other error that may have occurred.", + "type": "string" + }, + "validationError": { + "$ref": "#/$defs/buf.validate.Violations.jsonschema.strict.json", + "description": "validation_error is the error if the test failed due to validation errors." + } + }, + "title": "Test Result", + "type": "object" + }, + "google.protobuf.Any.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "properties": { + "@type": { + "type": "string" + } + }, + "title": "Any", + "type": "object" + }, + "google.protobuf.DescriptorProto.ExtensionRange.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "end": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "options": { + "$ref": "#/$defs/google.protobuf.ExtensionRangeOptions.jsonschema.strict.json" + }, + "start": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Extension Range", + "type": "object" + }, + "google.protobuf.DescriptorProto.ReservedRange.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Range of reserved tag numbers. Reserved tag numbers may not be used by\n fields or extension ranges in the same message. Reserved ranges may\n not overlap.", + "properties": { + "end": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "start": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Reserved Range", + "type": "object" + }, + "google.protobuf.DescriptorProto.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a message type.", + "properties": { + "enumType": { + "items": { + "$ref": "#/$defs/google.protobuf.EnumDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "extension": { + "items": { + "$ref": "#/$defs/google.protobuf.FieldDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "extensionRange": { + "items": { + "$ref": "#/$defs/google.protobuf.DescriptorProto.ExtensionRange.jsonschema.strict.json" + }, + "type": "array" + }, + "field": { + "items": { + "$ref": "#/$defs/google.protobuf.FieldDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "nestedType": { + "items": { + "$ref": "#/$defs/google.protobuf.DescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "oneofDecl": { + "items": { + "$ref": "#/$defs/google.protobuf.OneofDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "options": { + "$ref": "#/$defs/google.protobuf.MessageOptions.jsonschema.strict.json" + }, + "reservedName": { + "description": "Reserved field names, which may not be used by fields in the same message.\n A given name may only be reserved once.", + "items": { + "type": "string" + }, + "type": "array" + }, + "reservedRange": { + "items": { + "$ref": "#/$defs/google.protobuf.DescriptorProto.ReservedRange.jsonschema.strict.json" + }, + "type": "array" + }, + "visibility": { + "description": "Support for `export` and `local` keywords on enums.", + "enum": [ + "VISIBILITY_UNSET", + "VISIBILITY_LOCAL", + "VISIBILITY_EXPORT" + ], + "title": "Symbol Visibility", + "type": "string" + } + }, + "title": "Descriptor Proto", + "type": "object" + }, + "google.protobuf.EnumDescriptorProto.EnumReservedRange.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Note that this is distinct from DescriptorProto.ReservedRange in that it\n is inclusive such that it can appropriately represent the entire int32\n domain.", + "properties": { + "end": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "start": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Range of reserved numeric values. Reserved values may not be used by\n entries in the same enum. Reserved ranges may not overlap.", + "type": "object" + }, + "google.protobuf.EnumDescriptorProto.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes an enum type.", + "properties": { + "name": { + "type": "string" + }, + "options": { + "$ref": "#/$defs/google.protobuf.EnumOptions.jsonschema.strict.json" + }, + "reservedName": { + "description": "Reserved enum value names, which may not be reused. A given name may only\n be reserved once.", + "items": { + "type": "string" + }, + "type": "array" + }, + "reservedRange": { + "description": "Range of reserved numeric values. Reserved numeric values may not be used\n by enum values in the same enum declaration. Reserved ranges may not\n overlap.", + "items": { + "$ref": "#/$defs/google.protobuf.EnumDescriptorProto.EnumReservedRange.jsonschema.strict.json" + }, + "type": "array" + }, + "value": { + "items": { + "$ref": "#/$defs/google.protobuf.EnumValueDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "visibility": { + "description": "Support for `export` and `local` keywords on enums.", + "enum": [ + "VISIBILITY_UNSET", + "VISIBILITY_LOCAL", + "VISIBILITY_EXPORT" + ], + "title": "Symbol Visibility", + "type": "string" + } + }, + "title": "Enum Descriptor Proto", + "type": "object" + }, + "google.protobuf.EnumOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "allowAlias": { + "description": "Set this option to true to allow mapping different tag names to the same\n value.", + "type": "boolean" + }, + "deprecated": { + "description": "Is this enum deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for the enum, or it will be completely ignored; in the very least, this\n is a formalization for deprecating enums.", + "type": "boolean" + }, + "deprecatedLegacyJsonFieldConflicts": { + "description": "Enable the legacy handling of JSON field name conflicts. This lowercases\n and strips underscored from the fields before comparison in proto3 only.\n The new behavior takes `json_name` into account and applies to proto2 as\n well.\n TODO Remove this legacy behavior once downstream teams have\n had time to migrate.", + "type": "boolean" + }, + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Enum Options", + "type": "object" + }, + "google.protobuf.EnumValueDescriptorProto.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a value within an enum.", + "properties": { + "name": { + "type": "string" + }, + "number": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "options": { + "$ref": "#/$defs/google.protobuf.EnumValueOptions.jsonschema.strict.json" + } + }, + "title": "Enum Value Descriptor Proto", + "type": "object" + }, + "google.protobuf.EnumValueOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "debugRedact": { + "description": "Indicate that fields annotated with this enum value should not be printed\n out when using debug formats, e.g. when the field contains sensitive\n credentials.", + "type": "boolean" + }, + "deprecated": { + "description": "Is this enum value deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for the enum value, or it will be completely ignored; in the very least,\n this is a formalization for deprecating enum values.", + "type": "boolean" + }, + "featureSupport": { + "$ref": "#/$defs/google.protobuf.FieldOptions.FeatureSupport.jsonschema.strict.json", + "description": "Information about the support window of a feature value." + }, + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Enum Value Options", + "type": "object" + }, + "google.protobuf.ExtensionRangeOptions.Declaration.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "fullName": { + "description": "The fully-qualified name of the extension field. There must be a leading\n dot in front of the full name.", + "type": "string" + }, + "number": { + "description": "The extension number declared within the extension range.", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "repeated": { + "description": "If true, indicates that the extension must be defined as repeated.\n Otherwise the extension must be defined as optional.", + "type": "boolean" + }, + "reserved": { + "description": "If true, indicates that the number is reserved in the extension range,\n and any extension field with the number will fail to compile. Set this\n when a declared extension field is deleted.", + "type": "boolean" + }, + "type": { + "description": "The fully-qualified type name of the extension field. Unlike\n Metadata.type, Declaration.type must have a leading dot for messages\n and enums.", + "type": "string" + } + }, + "title": "Declaration", + "type": "object" + }, + "google.protobuf.ExtensionRangeOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "declaration": { + "description": "For external users: DO NOT USE. We are in the process of open sourcing\n extension declaration and executing internal cleanups before it can be\n used externally.", + "items": { + "$ref": "#/$defs/google.protobuf.ExtensionRangeOptions.Declaration.jsonschema.strict.json" + }, + "type": "array" + }, + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition." + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + }, + "verification": { + "description": "The verification state of the range.\n TODO: flip the default to DECLARATION once all empty ranges\n are marked as UNVERIFIED.", + "enum": [ + "DECLARATION", + "UNVERIFIED" + ], + "title": "Verification State", + "type": "string" + } + }, + "title": "Extension Range Options", + "type": "object" + }, + "google.protobuf.FeatureSet.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "TODO Enums in C++ gencode (and potentially other languages) are\n not well scoped. This means that each of the feature enums below can clash\n with each other. The short names we've chosen maximize call-site\n readability, but leave us very open to this scenario. A future feature will\n be designed and implemented to handle this, hopefully before we ever hit a\n conflict here.", + "properties": { + "defaultSymbolVisibility": { + "enum": [ + "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN", + "EXPORT_ALL", + "EXPORT_TOP_LEVEL", + "LOCAL_ALL", + "STRICT" + ], + "title": "Default Symbol Visibility", + "type": "string" + }, + "enforceNamingStyle": { + "enum": [ + "ENFORCE_NAMING_STYLE_UNKNOWN", + "STYLE2024", + "STYLE_LEGACY" + ], + "title": "Enforce Naming Style", + "type": "string" + }, + "enumType": { + "enum": [ + "ENUM_TYPE_UNKNOWN", + "OPEN", + "CLOSED" + ], + "title": "Enum Type", + "type": "string" + }, + "fieldPresence": { + "enum": [ + "FIELD_PRESENCE_UNKNOWN", + "EXPLICIT", + "IMPLICIT", + "LEGACY_REQUIRED" + ], + "title": "Field Presence", + "type": "string" + }, + "jsonFormat": { + "enum": [ + "JSON_FORMAT_UNKNOWN", + "ALLOW", + "LEGACY_BEST_EFFORT" + ], + "title": "Json Format", + "type": "string" + }, + "messageEncoding": { + "enum": [ + "MESSAGE_ENCODING_UNKNOWN", + "LENGTH_PREFIXED", + "DELIMITED" + ], + "title": "Message Encoding", + "type": "string" + }, + "repeatedFieldEncoding": { + "enum": [ + "REPEATED_FIELD_ENCODING_UNKNOWN", + "PACKED", + "EXPANDED" + ], + "title": "Repeated Field Encoding", + "type": "string" + }, + "utf8Validation": { + "enum": [ + "UTF8_VALIDATION_UNKNOWN", + "VERIFY", + "NONE" + ], + "title": "Utf8 Validation", + "type": "string" + } + }, + "title": "Feature Set", + "type": "object" + }, + "google.protobuf.FieldDescriptorProto.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a field within a message.", + "properties": { + "defaultValue": { + "description": "For numeric types, contains the original text representation of the value.\n For booleans, \"true\" or \"false\".\n For strings, contains the default text contents (not escaped in any way).\n For bytes, contains the C escaped value. All bytes \u003e= 128 are escaped.", + "type": "string" + }, + "extendee": { + "description": "For extensions, this is the name of the type being extended. It is\n resolved in the same manner as type_name.", + "type": "string" + }, + "jsonName": { + "description": "JSON name of this field. The value is set by protocol compiler. If the\n user has set a \"json_name\" option on this field, that option's value\n will be used. Otherwise, it's deduced from the field's name by converting\n it to camelCase.", + "type": "string" + }, + "label": { + "enum": [ + "LABEL_OPTIONAL", + "LABEL_REPEATED", + "LABEL_REQUIRED" + ], + "title": "Label", + "type": "string" + }, + "name": { + "type": "string" + }, + "number": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "oneofIndex": { + "description": "If set, gives the index of a oneof in the containing type's oneof_decl\n list. This field is a member of that oneof.", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "options": { + "$ref": "#/$defs/google.protobuf.FieldOptions.jsonschema.strict.json" + }, + "proto3Optional": { + "description": "When proto3_optional is true, this field must belong to a oneof to signal\n to old proto3 clients that presence is tracked for this field. This oneof\n is known as a \"synthetic\" oneof, and this field must be its sole member\n (each proto3 optional field gets its own synthetic oneof). Synthetic oneofs\n exist in the descriptor only, and do not generate any API. Synthetic oneofs\n must be ordered after all \"real\" oneofs.\n\n For message fields, proto3_optional doesn't create any semantic change,\n since non-repeated message fields always track presence. However it still\n indicates the semantic detail of whether the user wrote \"optional\" or not.\n This can be useful for round-tripping the .proto file. For consistency we\n give message fields a synthetic oneof also, even though it is not required\n to track presence. This is especially important because the parser can't\n tell if a field is a message or an enum, so it must always create a\n synthetic oneof.\n\n Proto2 optional fields do not set this flag, because they already indicate\n optional with `LABEL_OPTIONAL`.", + "title": "If true, this is a proto3 \"optional\". When a proto3 field is optional, it\n tracks presence regardless of field type.", + "type": "boolean" + }, + "type": { + "description": "If type_name is set, this need not be set. If both this and type_name\n are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.", + "enum": [ + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "title": "Type", + "type": "string" + }, + "typeName": { + "description": "For message and enum types, this is the name of the type. If the name\n starts with a '.', it is fully-qualified. Otherwise, C++-like scoping\n rules are used to find the type (i.e. first the nested types within this\n message are searched, then within the parent, on up to the root\n namespace).", + "type": "string" + } + }, + "title": "Field Descriptor Proto", + "type": "object" + }, + "google.protobuf.FieldOptions.EditionDefault.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "edition": { + "enum": [ + "EDITION_UNKNOWN", + "EDITION_LEGACY", + "EDITION_PROTO2", + "EDITION_PROTO3", + "EDITION_2023", + "EDITION_2024", + "EDITION_1_TEST_ONLY", + "EDITION_2_TEST_ONLY", + "EDITION_99997_TEST_ONLY", + "EDITION_99998_TEST_ONLY", + "EDITION_99999_TEST_ONLY", + "EDITION_MAX" + ], + "title": "Edition", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "title": "Edition Default", + "type": "object" + }, + "google.protobuf.FieldOptions.FeatureSupport.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Information about the support window of a feature.", + "properties": { + "deprecationWarning": { + "description": "The deprecation warning text if this feature is used after the edition it\n was marked deprecated in.", + "type": "string" + }, + "editionDeprecated": { + "description": "The edition this feature becomes deprecated in. Using this after this\n edition may trigger warnings.", + "enum": [ + "EDITION_UNKNOWN", + "EDITION_LEGACY", + "EDITION_PROTO2", + "EDITION_PROTO3", + "EDITION_2023", + "EDITION_2024", + "EDITION_1_TEST_ONLY", + "EDITION_2_TEST_ONLY", + "EDITION_99997_TEST_ONLY", + "EDITION_99998_TEST_ONLY", + "EDITION_99999_TEST_ONLY", + "EDITION_MAX" + ], + "title": "Edition", + "type": "string" + }, + "editionIntroduced": { + "description": "The edition that this feature was first available in. In editions\n earlier than this one, the default assigned to EDITION_LEGACY will be\n used, and proto files will not be able to override it.", + "enum": [ + "EDITION_UNKNOWN", + "EDITION_LEGACY", + "EDITION_PROTO2", + "EDITION_PROTO3", + "EDITION_2023", + "EDITION_2024", + "EDITION_1_TEST_ONLY", + "EDITION_2_TEST_ONLY", + "EDITION_99997_TEST_ONLY", + "EDITION_99998_TEST_ONLY", + "EDITION_99999_TEST_ONLY", + "EDITION_MAX" + ], + "title": "Edition", + "type": "string" + }, + "editionRemoved": { + "description": "The edition this feature is no longer available in. In editions after\n this one, the last default assigned will be used, and proto files will\n not be able to override it.", + "enum": [ + "EDITION_UNKNOWN", + "EDITION_LEGACY", + "EDITION_PROTO2", + "EDITION_PROTO3", + "EDITION_2023", + "EDITION_2024", + "EDITION_1_TEST_ONLY", + "EDITION_2_TEST_ONLY", + "EDITION_99997_TEST_ONLY", + "EDITION_99998_TEST_ONLY", + "EDITION_99999_TEST_ONLY", + "EDITION_MAX" + ], + "title": "Edition", + "type": "string" + } + }, + "title": "Feature Support", + "type": "object" + }, + "google.protobuf.FieldOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "ctype": { + "description": "NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead.\n The ctype option instructs the C++ code generator to use a different\n representation of the field than it normally would. See the specific\n options below. This option is only implemented to support use of\n [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of\n type \"bytes\" in the open source release.\n TODO: make ctype actually deprecated.", + "enum": [ + "STRING", + "CORD", + "STRING_PIECE" + ], + "title": "C Type", + "type": "string" + }, + "debugRedact": { + "description": "Indicate that the field value should not be printed out when using debug\n formats, e.g. when the field contains sensitive credentials.", + "type": "boolean" + }, + "deprecated": { + "description": "Is this field deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for accessors, or it will be completely ignored; in the very least, this\n is a formalization for deprecating fields.", + "type": "boolean" + }, + "editionDefaults": { + "items": { + "$ref": "#/$defs/google.protobuf.FieldOptions.EditionDefault.jsonschema.strict.json" + }, + "type": "array" + }, + "featureSupport": { + "$ref": "#/$defs/google.protobuf.FieldOptions.FeatureSupport.jsonschema.strict.json" + }, + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "jstype": { + "description": "This option is an enum to permit additional types to be added, e.g.\n goog.math.Integer.", + "enum": [ + "JS_NORMAL", + "JS_STRING", + "JS_NUMBER" + ], + "title": "JS Type", + "type": "string" + }, + "lazy": { + "description": "This is only a hint. Implementations are free to choose whether to use\n eager or lazy parsing regardless of the value of this option. However,\n setting this option true suggests that the protocol author believes that\n using lazy parsing on this field is worth the additional bookkeeping\n overhead typically needed to implement it.\n\n This option does not affect the public interface of any generated code;\n all method signatures remain the same. Furthermore, thread-safety of the\n interface is not affected by this option; const methods remain safe to\n call from multiple threads concurrently, while non-const methods continue\n to require exclusive access.\n\n Note that lazy message fields are still eagerly verified to check\n ill-formed wireformat or missing required fields. Calling IsInitialized()\n on the outer message would fail if the inner message has missing required\n fields. Failed verification would result in parsing failure (except when\n uninitialized messages are acceptable).", + "title": "Should this field be parsed lazily? Lazy applies only to message-type\n fields. It means that when the outer message is initially parsed, the\n inner message's contents will not be parsed but instead stored in encoded\n form. The inner message will actually be parsed when it is first accessed.", + "type": "boolean" + }, + "packed": { + "description": "The packed option can be enabled for repeated primitive fields to enable\n a more efficient representation on the wire. Rather than repeatedly\n writing the tag and type for each element, the entire array is encoded as\n a single length-delimited blob. In proto3, only explicit setting it to\n false will avoid using packed encoding. This option is prohibited in\n Editions, but the `repeated_field_encoding` feature can be used to control\n the behavior.", + "type": "boolean" + }, + "retention": { + "enum": [ + "RETENTION_UNKNOWN", + "RETENTION_RUNTIME", + "RETENTION_SOURCE" + ], + "title": "Option Retention", + "type": "string" + }, + "targets": { + "items": { + "enum": [ + "TARGET_TYPE_UNKNOWN", + "TARGET_TYPE_FILE", + "TARGET_TYPE_EXTENSION_RANGE", + "TARGET_TYPE_MESSAGE", + "TARGET_TYPE_FIELD", + "TARGET_TYPE_ONEOF", + "TARGET_TYPE_ENUM", + "TARGET_TYPE_ENUM_ENTRY", + "TARGET_TYPE_SERVICE", + "TARGET_TYPE_METHOD" + ], + "title": "Option Target Type", + "type": "string" + }, + "type": "array" + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + }, + "unverifiedLazy": { + "description": "unverified_lazy does no correctness checks on the byte stream. This should\n only be used where lazy with verification is prohibitive for performance\n reasons.", + "type": "boolean" + }, + "weak": { + "description": "For Google-internal migration only. Do not use.", + "type": "boolean" + } + }, + "title": "Field Options", + "type": "object" + }, + "google.protobuf.FileDescriptorProto.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a complete .proto file.", + "properties": { + "dependency": { + "description": "Names of files imported by this file.", + "items": { + "type": "string" + }, + "type": "array" + }, + "edition": { + "description": "The edition of the proto file.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language.", + "enum": [ + "EDITION_UNKNOWN", + "EDITION_LEGACY", + "EDITION_PROTO2", + "EDITION_PROTO3", + "EDITION_2023", + "EDITION_2024", + "EDITION_1_TEST_ONLY", + "EDITION_2_TEST_ONLY", + "EDITION_99997_TEST_ONLY", + "EDITION_99998_TEST_ONLY", + "EDITION_99999_TEST_ONLY", + "EDITION_MAX" + ], + "title": "Edition", + "type": "string" + }, + "enumType": { + "items": { + "$ref": "#/$defs/google.protobuf.EnumDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "extension": { + "items": { + "$ref": "#/$defs/google.protobuf.FieldDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "messageType": { + "description": "All top-level definitions in this file.", + "items": { + "$ref": "#/$defs/google.protobuf.DescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "optionDependency": { + "description": "Names of files imported by this file purely for the purpose of providing\n option extensions. These are excluded from the dependency list above.", + "items": { + "type": "string" + }, + "type": "array" + }, + "options": { + "$ref": "#/$defs/google.protobuf.FileOptions.jsonschema.strict.json" + }, + "package": { + "type": "string" + }, + "publicDependency": { + "description": "Indexes of the public imported files in the dependency list above.", + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + }, + "service": { + "items": { + "$ref": "#/$defs/google.protobuf.ServiceDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "sourceCodeInfo": { + "$ref": "#/$defs/google.protobuf.SourceCodeInfo.jsonschema.strict.json", + "description": "This field contains optional information about the original source code.\n You may safely remove this entire field without harming runtime\n functionality of the descriptors -- the information is needed only by\n development tools." + }, + "syntax": { + "description": "If `edition` is present, this value must be \"editions\".\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language.", + "title": "The syntax of the proto file.\n The supported values are \"proto2\", \"proto3\", and \"editions\".", + "type": "string" + }, + "weakDependency": { + "description": "Indexes of the weak imported files in the dependency list.\n For Google-internal migration only. Do not use.", + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + } + }, + "title": "File Descriptor Proto", + "type": "object" + }, + "google.protobuf.FileDescriptorSet.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "The protocol compiler can output a FileDescriptorSet containing the .proto\n files it parses.", + "properties": { + "file": { + "items": { + "$ref": "#/$defs/google.protobuf.FileDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "File Descriptor Set", + "type": "object" + }, + "google.protobuf.FileOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "ccEnableArenas": { + "description": "Enables the use of arenas for the proto messages in this file. This applies\n only to generated classes for C++.", + "type": "boolean" + }, + "ccGenericServices": { + "description": "Generic services are now considered deprecated in favor of using plugins\n that generate code specific to your particular RPC system. Therefore,\n these default to false. Old code which depends on generic services should\n explicitly set them to true.", + "title": "Should generic services be generated in each language? \"Generic\" services\n are not specific to any particular RPC system. They are generated by the\n main code generators in each language (without additional plugins).\n Generic services were the only kind of service generation supported by\n early versions of google.protobuf.", + "type": "boolean" + }, + "csharpNamespace": { + "description": "Namespace for generated classes; defaults to the package.", + "type": "string" + }, + "deprecated": { + "description": "Is this file deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for everything in the file, or it will be completely ignored; in the very\n least, this is a formalization for deprecating files.", + "type": "boolean" + }, + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "goPackage": { + "description": "Sets the Go package where structs generated from this .proto will be\n placed. If omitted, the Go package will be derived from the following:\n - The basename of the package import path, if provided.\n - Otherwise, the package statement in the .proto file, if present.\n - Otherwise, the basename of the .proto file, without extension.", + "type": "string" + }, + "javaGenerateEqualsAndHash": { + "description": "This option does nothing.", + "type": "boolean" + }, + "javaGenericServices": { + "type": "boolean" + }, + "javaMultipleFiles": { + "description": "If enabled, then the Java code generator will generate a separate .java\n file for each top-level message, enum, and service defined in the .proto\n file. Thus, these types will *not* be nested inside the wrapper class\n named by java_outer_classname. However, the wrapper class will still be\n generated to contain the file's getDescriptor() method as well as any\n top-level extensions defined in the file.", + "type": "boolean" + }, + "javaOuterClassname": { + "description": "Controls the name of the wrapper Java class generated for the .proto file.\n That class will always contain the .proto file's getDescriptor() method as\n well as any top-level extensions defined in the .proto file.\n If java_multiple_files is disabled, then all the other classes from the\n .proto file will be nested inside the single wrapper outer class.", + "type": "string" + }, + "javaPackage": { + "description": "Sets the Java package where classes generated from this .proto will be\n placed. By default, the proto package is used, but this is often\n inappropriate because proto packages do not normally start with backwards\n domain names.", + "type": "string" + }, + "javaStringCheckUtf8": { + "description": "TODO: clarify exactly what kinds of field types this option\n applies to, and update these docs accordingly.\n\n Proto3 files already perform these checks. Setting the option explicitly to\n false has no effect: it cannot be used to opt proto3 files out of UTF-8\n checks.", + "title": "A proto2 file can set this to true to opt in to UTF-8 checking for Java,\n which will throw an exception if invalid UTF-8 is parsed from the wire or\n assigned to a string field.", + "type": "boolean" + }, + "objcClassPrefix": { + "description": "Sets the objective c class prefix which is prepended to all objective c\n generated classes from this .proto. There is no default.", + "type": "string" + }, + "optimizeFor": { + "enum": [ + "SPEED", + "CODE_SIZE", + "LITE_RUNTIME" + ], + "title": "Optimize Mode", + "type": "string" + }, + "phpClassPrefix": { + "description": "Sets the php class prefix which is prepended to all php generated classes\n from this .proto. Default is empty.", + "type": "string" + }, + "phpMetadataNamespace": { + "description": "Use this option to change the namespace of php generated metadata classes.\n Default is empty. When this option is empty, the proto file name will be\n used for determining the namespace.", + "type": "string" + }, + "phpNamespace": { + "description": "Use this option to change the namespace of php generated classes. Default\n is empty. When this option is empty, the package name will be used for\n determining the namespace.", + "type": "string" + }, + "pyGenericServices": { + "type": "boolean" + }, + "rubyPackage": { + "description": "Use this option to change the package of ruby generated classes. Default\n is empty. When this option is not set, the package name will be used for\n determining the ruby package.", + "type": "string" + }, + "swiftPrefix": { + "description": "By default Swift generators will take the proto package and CamelCase it\n replacing '.' with underscore and use that to prefix the types/symbols\n defined. When this options is provided, they will use this value instead\n to prefix the types/symbols defined.", + "type": "string" + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here.\n See the documentation for the \"Options\" section above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "File Options", + "type": "object" + }, + "google.protobuf.MessageOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "deprecated": { + "description": "Is this message deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for the message, or it will be completely ignored; in the very least,\n this is a formalization for deprecating messages.", + "type": "boolean" + }, + "deprecatedLegacyJsonFieldConflicts": { + "description": "This should only be used as a temporary measure against broken builds due\n to the change in behavior for JSON field name conflicts.\n\n TODO This is legacy behavior we plan to remove once downstream\n teams have had time to migrate.", + "title": "Enable the legacy handling of JSON field name conflicts. This lowercases\n and strips underscored from the fields before comparison in proto3 only.\n The new behavior takes `json_name` into account and applies to proto2 as\n well.", + "type": "boolean" + }, + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "mapEntry": { + "description": "For maps fields:\n map\u003cKeyType, ValueType\u003e map_field = 1;\n The parsed descriptor looks like:\n message MapFieldEntry {\n option map_entry = true;\n optional KeyType key = 1;\n optional ValueType value = 2;\n }\n repeated MapFieldEntry map_field = 1;\n\n Implementations may choose not to generate the map_entry=true message, but\n use a native map in the target language to hold the keys and values.\n The reflection APIs in such implementations still need to work as\n if the field is a repeated message field.\n\n NOTE: Do not set the option in .proto files. Always use the maps syntax\n instead. The option should only be implicitly set by the proto compiler\n parser.", + "title": "Whether the message is an automatically generated map entry type for the\n maps field.", + "type": "boolean" + }, + "messageSetWireFormat": { + "description": "The message must be defined exactly as follows:\n message Foo {\n option message_set_wire_format = true;\n extensions 4 to max;\n }\n Note that the message cannot have any defined fields; MessageSets only\n have extensions.\n\n All extensions of your type must be singular messages; e.g. they cannot\n be int32s, enums, or repeated messages.\n\n Because this is an option, the above two restrictions are not enforced by\n the protocol compiler.", + "title": "Set true to use the old proto1 MessageSet wire format for extensions.\n This is provided for backwards-compatibility with the MessageSet wire\n format. You should not use this for any other reason: It's less\n efficient, has fewer features, and is more complicated.", + "type": "boolean" + }, + "noStandardDescriptorAccessor": { + "description": "Disables the generation of the standard \"descriptor()\" accessor, which can\n conflict with a field of the same name. This is meant to make migration\n from proto1 easier; new code should avoid fields named \"descriptor\".", + "type": "boolean" + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Message Options", + "type": "object" + }, + "google.protobuf.MethodDescriptorProto.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a method of a service.", + "properties": { + "clientStreaming": { + "description": "Identifies if client streams multiple client messages", + "type": "boolean" + }, + "inputType": { + "description": "Input and output type names. These are resolved in the same way as\n FieldDescriptorProto.type_name, but must refer to a message type.", + "type": "string" + }, + "name": { + "type": "string" + }, + "options": { + "$ref": "#/$defs/google.protobuf.MethodOptions.jsonschema.strict.json" + }, + "outputType": { + "type": "string" + }, + "serverStreaming": { + "description": "Identifies if server streams multiple server messages", + "type": "boolean" + } + }, + "title": "Method Descriptor Proto", + "type": "object" + }, + "google.protobuf.MethodOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "deprecated": { + "description": "Is this method deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for the method, or it will be completely ignored; in the very least,\n this is a formalization for deprecating methods.", + "type": "boolean" + }, + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "idempotencyLevel": { + "enum": [ + "IDEMPOTENCY_UNKNOWN", + "NO_SIDE_EFFECTS", + "IDEMPOTENT" + ], + "title": "Idempotency Level", + "type": "string" + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Method Options", + "type": "object" + }, + "google.protobuf.OneofDescriptorProto.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a oneof.", + "properties": { + "name": { + "type": "string" + }, + "options": { + "$ref": "#/$defs/google.protobuf.OneofOptions.jsonschema.strict.json" + } + }, + "title": "Oneof Descriptor Proto", + "type": "object" + }, + "google.protobuf.OneofOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Oneof Options", + "type": "object" + }, + "google.protobuf.ServiceDescriptorProto.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a service.", + "properties": { + "method": { + "items": { + "$ref": "#/$defs/google.protobuf.MethodDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "options": { + "$ref": "#/$defs/google.protobuf.ServiceOptions.jsonschema.strict.json" + } + }, + "title": "Service Descriptor Proto", + "type": "object" + }, + "google.protobuf.ServiceOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "deprecated": { + "description": "Is this service deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for the service, or it will be completely ignored; in the very least,\n this is a formalization for deprecating services.", + "type": "boolean" + }, + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Service Options", + "type": "object" + }, + "google.protobuf.SourceCodeInfo.Location.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "leadingComments": { + "description": "A series of line comments appearing on consecutive lines, with no other\n tokens appearing on those lines, will be treated as a single comment.\n\n leading_detached_comments will keep paragraphs of comments that appear\n before (but not connected to) the current element. Each paragraph,\n separated by empty lines, will be one comment element in the repeated\n field.\n\n Only the comment content is provided; comment markers (e.g. //) are\n stripped out. For block comments, leading whitespace and an asterisk\n will be stripped from the beginning of each line other than the first.\n Newlines are included in the output.\n\n Examples:\n\n optional int32 foo = 1; // Comment attached to foo.\n // Comment attached to bar.\n optional int32 bar = 2;\n\n optional string baz = 3;\n // Comment attached to baz.\n // Another line attached to baz.\n\n // Comment attached to moo.\n //\n // Another line attached to moo.\n optional double moo = 4;\n\n // Detached comment for corge. This is not leading or trailing comments\n // to moo or corge because there are blank lines separating it from\n // both.\n\n // Detached comment for corge paragraph 2.\n\n optional string corge = 5;\n /* Block comment attached\n * to corge. Leading asterisks\n * will be removed. */\n /* Block comment attached to\n * grault. */\n optional int32 grault = 6;\n\n // ignored detached comments.", + "title": "If this SourceCodeInfo represents a complete declaration, these are any\n comments appearing before and after the declaration which appear to be\n attached to the declaration.", + "type": "string" + }, + "leadingDetachedComments": { + "items": { + "type": "string" + }, + "type": "array" + }, + "path": { + "description": "Each element is a field number or an index. They form a path from\n the root FileDescriptorProto to the place where the definition appears.\n For example, this path:\n [ 4, 3, 2, 7, 1 ]\n refers to:\n file.message_type(3) // 4, 3\n .field(7) // 2, 7\n .name() // 1\n This is because FileDescriptorProto.message_type has field number 4:\n repeated DescriptorProto message_type = 4;\n and DescriptorProto.field has field number 2:\n repeated FieldDescriptorProto field = 2;\n and FieldDescriptorProto.name has field number 1:\n optional string name = 1;\n\n Thus, the above path gives the location of a field name. If we removed\n the last element:\n [ 4, 3, 2, 7 ]\n this path refers to the whole field declaration (from the beginning\n of the label to the terminating semicolon).", + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "title": "Identifies which part of the FileDescriptorProto was defined at this\n location.", + "type": "array" + }, + "span": { + "description": "Always has exactly three or four elements: start line, start column,\n end line (optional, otherwise assumed same as start line), end column.\n These are packed into a single field for efficiency. Note that line\n and column numbers are zero-based -- typically you will want to add\n 1 to each before displaying to a user.", + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + }, + "trailingComments": { + "type": "string" + } + }, + "title": "Location", + "type": "object" + }, + "google.protobuf.SourceCodeInfo.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Encapsulates information about the original source file from which a\n FileDescriptorProto was generated.", + "properties": { + "location": { + "description": "For example, say we have a file like:\n message Foo {\n optional string foo = 1;\n }\n Let's look at just the field definition:\n optional string foo = 1;\n ^ ^^ ^^ ^ ^^^\n a bc de f ghi\n We have the following locations:\n span path represents\n [a,i) [ 4, 0, 2, 0 ] The whole field definition.\n [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).\n [c,d) [ 4, 0, 2, 0, 5 ] The type (string).\n [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).\n [g,h) [ 4, 0, 2, 0, 3 ] The number (1).\n\n Notes:\n - A location may refer to a repeated field itself (i.e. not to any\n particular index within it). This is used whenever a set of elements are\n logically enclosed in a single code segment. For example, an entire\n extend block (possibly containing multiple extension definitions) will\n have an outer location whose path refers to the \"extensions\" repeated\n field without an index.\n - Multiple locations may have the same path. This happens when a single\n logical declaration is spread out across multiple places. The most\n obvious example is the \"extend\" block again -- there may be multiple\n extend blocks in the same scope, each of which will have the same path.\n - A location's span is not always a subset of its parent's span. For\n example, the \"extendee\" of an extension declaration appears at the\n beginning of the \"extend\" block and is shared by all extensions within\n the block.\n - Just because a location's span is a subset of some other location's span\n does not mean that it is a descendant. For example, a \"group\" defines\n both a type and a field in a single declaration. Thus, the locations\n corresponding to the type and field and their components will overlap.\n - Code which tries to interpret locations should probably be designed to\n ignore those that it doesn't understand, as more types of locations could\n be recorded in the future.", + "items": { + "$ref": "#/$defs/google.protobuf.SourceCodeInfo.Location.jsonschema.strict.json" + }, + "title": "A Location identifies a piece of source code in a .proto file which\n corresponds to a particular definition. This information is intended\n to be useful to IDEs, code indexers, documentation generators, and similar\n tools.", + "type": "array" + } + }, + "title": "Source Code Info", + "type": "object" + }, + "google.protobuf.UninterpretedOption.NamePart.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "The name of the uninterpreted option. Each string represents a segment in\n a dot-separated name. is_extension is true iff a segment represents an\n extension (denoted with parentheses in options specs in .proto files).\n E.g.,{ [\"foo\", false], [\"bar.baz\", true], [\"moo\", false] } represents\n \"foo.(bar.baz).moo\".", + "properties": { + "isExtension": { + "type": "boolean" + }, + "namePart": { + "type": "string" + } + }, + "title": "Name Part", + "type": "object" + }, + "google.protobuf.UninterpretedOption.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "A message representing a option the parser does not recognize. This only\n appears in options protos created by the compiler::Parser class.\n DescriptorPool resolves these when building Descriptor objects. Therefore,\n options protos in descriptor objects (e.g. returned by Descriptor::options(),\n or produced by Descriptor::CopyTo()) will never have UninterpretedOptions\n in them.", + "properties": { + "aggregateValue": { + "type": "string" + }, + "doubleValue": { + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ] + }, + "identifierValue": { + "description": "The value of the uninterpreted option, in whatever type the tokenizer\n identified it as during parsing. Exactly one of these should be set.", + "type": "string" + }, + "name": { + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.NamePart.jsonschema.strict.json" + }, + "type": "array" + }, + "negativeIntValue": { + "type": "integer" + }, + "positiveIntValue": { + "minimum": 0, + "type": "integer" + }, + "stringValue": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "Uninterpreted Option", + "type": "object" + } + }, + "$id": "buf.validate.conformance.harness.ResultSet.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.harness.ResultSet.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.harness.ResultSet.schema.json b/internal/gen/jsonschema/buf.validate.conformance.harness.ResultSet.schema.json new file mode 100644 index 00000000..ed8bfdd4 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.harness.ResultSet.schema.json @@ -0,0 +1,83 @@ +{ + "$id": "buf.validate.conformance.harness.ResultSet.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "A result is the result of a test run.", + "patternProperties": { + "^(expectedFailures)$": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0, + "description": "Count of expected failures." + } + }, + "properties": { + "expected_failures": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0, + "description": "Count of expected failures." + }, + "failures": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0, + "description": "Count of failures." + }, + "options": { + "$ref": "buf.validate.conformance.harness.ResultOptions.schema.json", + "description": "Options used to generate this result." + }, + "successes": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0, + "description": "Count of successes." + }, + "suites": { + "description": "List of suite results.", + "items": { + "$ref": "buf.validate.conformance.harness.SuiteResults.schema.json" + }, + "type": "array" + } + }, + "title": "Result Set", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.harness.SuiteResults.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.harness.SuiteResults.jsonschema.strict.bundle.json new file mode 100644 index 00000000..7ab6e25c --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.harness.SuiteResults.jsonschema.strict.bundle.json @@ -0,0 +1,1522 @@ +{ + "$defs": { + "buf.validate.FieldPath.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "This message provides enough information to render a dotted field path even without protobuf descriptors.\n It also provides enough information to resolve a nested field through unknown wire data.", + "properties": { + "elements": { + "description": "`elements` contains each element of the path, starting from the root and recursing downward.", + "items": { + "$ref": "#/$defs/buf.validate.FieldPathElement.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "`FieldPath` provides a path to a nested protobuf field.", + "type": "object" + }, + "buf.validate.FieldPathElement.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "If the selected field is a map or repeated field, the `subscript` value selects a specific element from it.\n A path that refers to a value nested under a map key or repeated field index will have a `subscript` value.\n The `field_type` field allows unambiguous resolution of a field even if descriptors are not available.", + "properties": { + "boolKey": { + "description": "`bool_key` specifies a map key of type bool.", + "type": "boolean" + }, + "fieldName": { + "description": "`field_name` contains the field name this path element refers to.\n This can be used to display a human-readable path even if the field number is unknown.", + "type": "string" + }, + "fieldNumber": { + "description": "`field_number` is the field number this path element refers to.", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "fieldType": { + "description": "This value is provided to make it possible to traverse unknown fields through wire data.\n When traversing wire data, be mindful of both packed[1] and delimited[2] encoding schemes.\n\n [1]: https://protobuf.dev/programming-guides/encoding/#packed\n [2]: https://protobuf.dev/programming-guides/encoding/#groups\n\n N.B.: Although groups are deprecated, the corresponding delimited encoding scheme is not, and\n can be explicitly used in Protocol Buffers 2023 Edition.", + "enum": [ + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "title": "Type", + "type": "string" + }, + "index": { + "description": "`index` specifies a 0-based index into a repeated field.", + "minimum": 0, + "type": "integer" + }, + "intKey": { + "description": "`int_key` specifies a map key of type int32, int64, sint32, sint64, sfixed32 or sfixed64.", + "type": "integer" + }, + "keyType": { + "description": "`key_type` specifies the map key type of this field. This value is useful when traversing\n unknown fields through wire data: specifically, it allows handling the differences between\n different integer encodings.", + "enum": [ + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "title": "Type", + "type": "string" + }, + "stringKey": { + "description": "`string_key` specifies a map key of type string.", + "type": "string" + }, + "uintKey": { + "description": "`uint_key` specifies a map key of type uint32, uint64, fixed32 or fixed64.", + "minimum": 0, + "type": "integer" + }, + "valueType": { + "description": "`value_type` specifies map value type of this field. This is useful if you want to display a\n value inside unknown fields through wire data.", + "enum": [ + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "title": "Type", + "type": "string" + } + }, + "title": "`FieldPathElement` provides enough information to nest through a single protobuf field.", + "type": "object" + }, + "buf.validate.Violation.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "For example, consider the following message:\n\n ```proto\n message User {\n int32 age = 1 [(buf.validate.field).cel = {\n id: \"user.age\",\n expression: \"this \u003c 18 ? 'User must be at least 18 years old' : ''\",\n }];\n }\n ```\n\n It could produce the following violation:\n\n ```json\n {\n \"ruleId\": \"user.age\",\n \"message\": \"User must be at least 18 years old\",\n \"field\": {\n \"elements\": [\n {\n \"fieldNumber\": 1,\n \"fieldName\": \"age\",\n \"fieldType\": \"TYPE_INT32\"\n }\n ]\n },\n \"rule\": {\n \"elements\": [\n {\n \"fieldNumber\": 23,\n \"fieldName\": \"cel\",\n \"fieldType\": \"TYPE_MESSAGE\",\n \"index\": \"0\"\n }\n ]\n }\n }\n ```", + "properties": { + "field": { + "$ref": "#/$defs/buf.validate.FieldPath.jsonschema.strict.json", + "description": "For example, consider the following message:\n\n ```proto\n message Message {\n bool a = 1 [(buf.validate.field).required = true];\n }\n ```\n\n It could produce the following violation:\n\n ```textproto\n violation {\n field { element { field_number: 1, field_name: \"a\", field_type: 8 } }\n ...\n }\n ```", + "title": "`field` is a machine-readable path to the field that failed validation.\n This could be a nested field, in which case the path will include all the parent fields leading to the actual field that caused the violation." + }, + "forKey": { + "description": "`for_key` indicates whether the violation was caused by a map key, rather than a value.", + "type": "boolean" + }, + "message": { + "description": "`message` is a human-readable error message that describes the nature of the violation.\n This can be the default error message from the violated `Rule`, or it can be a custom message that gives more context about the violation.", + "type": "string" + }, + "rule": { + "$ref": "#/$defs/buf.validate.FieldPath.jsonschema.strict.json", + "description": "For example, consider the following message:\n\n ```proto\n message Message {\n bool a = 1 [(buf.validate.field).required = true];\n bool b = 2 [(buf.validate.field).cel = {\n id: \"custom_rule\",\n expression: \"!this ? 'b must be true': ''\"\n }]\n }\n ```\n\n It could produce the following violations:\n\n ```textproto\n violation {\n rule { element { field_number: 25, field_name: \"required\", field_type: 8 } }\n ...\n }\n violation {\n rule { element { field_number: 23, field_name: \"cel\", field_type: 11, index: 0 } }\n ...\n }\n ```", + "title": "`rule` is a machine-readable path that points to the specific rule that failed validation.\n This will be a nested field starting from the FieldRules of the field that failed validation.\n For custom rules, this will provide the path of the rule, e.g. `cel[0]`." + }, + "ruleId": { + "description": "`rule_id` is the unique identifier of the `Rule` that was not fulfilled.\n This is the same `id` that was specified in the `Rule` message, allowing easy tracing of which rule was violated.", + "type": "string" + } + }, + "title": "`Violation` represents a single instance where a validation rule, expressed\n as a `Rule`, was not met. It provides information about the field that\n caused the violation, the specific rule that wasn't fulfilled, and a\n human-readable error message.", + "type": "object" + }, + "buf.validate.Violations.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "`Violations` is a collection of `Violation` messages. This message type is returned by\n Protovalidate when a proto message fails to meet the requirements set by the `Rule` validation rules.\n Each individual violation is represented by a `Violation` message.", + "properties": { + "violations": { + "description": "`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.", + "items": { + "$ref": "#/$defs/buf.validate.Violation.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Violations", + "type": "object" + }, + "buf.validate.conformance.harness.CaseResult.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "A case result is a single test case result.", + "properties": { + "expectedFailure": { + "description": "Denotes if the test is expected to fail. True, if the test case was expected to fail.", + "type": "boolean" + }, + "got": { + "$ref": "#/$defs/buf.validate.conformance.harness.TestResult.jsonschema.strict.json", + "description": "The actual result." + }, + "input": { + "$ref": "#/$defs/google.protobuf.Any.jsonschema.strict.json", + "description": "The input used to invoke the test case." + }, + "name": { + "description": "The case name.", + "type": "string" + }, + "success": { + "description": "Success state of the test case. True if the test case succeeded.", + "type": "boolean" + }, + "wanted": { + "$ref": "#/$defs/buf.validate.conformance.harness.TestResult.jsonschema.strict.json", + "description": "The expected result." + } + }, + "required": [ + "name", + "success", + "expectedFailure" + ], + "title": "Case Result", + "type": "object" + }, + "buf.validate.conformance.harness.SuiteResults.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "A suite result is a single test suite result.", + "properties": { + "cases": { + "description": "List of case results.", + "items": { + "$ref": "#/$defs/buf.validate.conformance.harness.CaseResult.jsonschema.strict.json" + }, + "type": "array" + }, + "expectedFailures": { + "description": "Count of expected failures.", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "failures": { + "description": "Count of failures.", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "fdset": { + "$ref": "#/$defs/google.protobuf.FileDescriptorSet.jsonschema.strict.json", + "description": "The file descriptor set used to generate this result." + }, + "name": { + "description": "The suite name.", + "type": "string" + }, + "successes": { + "description": "Count of successes.", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "required": [ + "name", + "successes", + "failures", + "expectedFailures" + ], + "title": "Suite Results", + "type": "object" + }, + "buf.validate.conformance.harness.TestResult.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "TestResult is the result of a single test. Only one of the fields will be set.", + "properties": { + "compilationError": { + "description": "compilation_error is the error if the test failed due to compilation errors.", + "type": "string" + }, + "runtimeError": { + "description": "runtime_error is the error if the test failed due to runtime errors.", + "type": "string" + }, + "success": { + "description": "success is true if the test succeeded.", + "type": "boolean" + }, + "unexpectedError": { + "description": "unexpected_error is any other error that may have occurred.", + "type": "string" + }, + "validationError": { + "$ref": "#/$defs/buf.validate.Violations.jsonschema.strict.json", + "description": "validation_error is the error if the test failed due to validation errors." + } + }, + "title": "Test Result", + "type": "object" + }, + "google.protobuf.Any.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "properties": { + "@type": { + "type": "string" + } + }, + "title": "Any", + "type": "object" + }, + "google.protobuf.DescriptorProto.ExtensionRange.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "end": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "options": { + "$ref": "#/$defs/google.protobuf.ExtensionRangeOptions.jsonschema.strict.json" + }, + "start": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Extension Range", + "type": "object" + }, + "google.protobuf.DescriptorProto.ReservedRange.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Range of reserved tag numbers. Reserved tag numbers may not be used by\n fields or extension ranges in the same message. Reserved ranges may\n not overlap.", + "properties": { + "end": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "start": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Reserved Range", + "type": "object" + }, + "google.protobuf.DescriptorProto.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a message type.", + "properties": { + "enumType": { + "items": { + "$ref": "#/$defs/google.protobuf.EnumDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "extension": { + "items": { + "$ref": "#/$defs/google.protobuf.FieldDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "extensionRange": { + "items": { + "$ref": "#/$defs/google.protobuf.DescriptorProto.ExtensionRange.jsonschema.strict.json" + }, + "type": "array" + }, + "field": { + "items": { + "$ref": "#/$defs/google.protobuf.FieldDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "nestedType": { + "items": { + "$ref": "#/$defs/google.protobuf.DescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "oneofDecl": { + "items": { + "$ref": "#/$defs/google.protobuf.OneofDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "options": { + "$ref": "#/$defs/google.protobuf.MessageOptions.jsonschema.strict.json" + }, + "reservedName": { + "description": "Reserved field names, which may not be used by fields in the same message.\n A given name may only be reserved once.", + "items": { + "type": "string" + }, + "type": "array" + }, + "reservedRange": { + "items": { + "$ref": "#/$defs/google.protobuf.DescriptorProto.ReservedRange.jsonschema.strict.json" + }, + "type": "array" + }, + "visibility": { + "description": "Support for `export` and `local` keywords on enums.", + "enum": [ + "VISIBILITY_UNSET", + "VISIBILITY_LOCAL", + "VISIBILITY_EXPORT" + ], + "title": "Symbol Visibility", + "type": "string" + } + }, + "title": "Descriptor Proto", + "type": "object" + }, + "google.protobuf.EnumDescriptorProto.EnumReservedRange.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Note that this is distinct from DescriptorProto.ReservedRange in that it\n is inclusive such that it can appropriately represent the entire int32\n domain.", + "properties": { + "end": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "start": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Range of reserved numeric values. Reserved values may not be used by\n entries in the same enum. Reserved ranges may not overlap.", + "type": "object" + }, + "google.protobuf.EnumDescriptorProto.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes an enum type.", + "properties": { + "name": { + "type": "string" + }, + "options": { + "$ref": "#/$defs/google.protobuf.EnumOptions.jsonschema.strict.json" + }, + "reservedName": { + "description": "Reserved enum value names, which may not be reused. A given name may only\n be reserved once.", + "items": { + "type": "string" + }, + "type": "array" + }, + "reservedRange": { + "description": "Range of reserved numeric values. Reserved numeric values may not be used\n by enum values in the same enum declaration. Reserved ranges may not\n overlap.", + "items": { + "$ref": "#/$defs/google.protobuf.EnumDescriptorProto.EnumReservedRange.jsonschema.strict.json" + }, + "type": "array" + }, + "value": { + "items": { + "$ref": "#/$defs/google.protobuf.EnumValueDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "visibility": { + "description": "Support for `export` and `local` keywords on enums.", + "enum": [ + "VISIBILITY_UNSET", + "VISIBILITY_LOCAL", + "VISIBILITY_EXPORT" + ], + "title": "Symbol Visibility", + "type": "string" + } + }, + "title": "Enum Descriptor Proto", + "type": "object" + }, + "google.protobuf.EnumOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "allowAlias": { + "description": "Set this option to true to allow mapping different tag names to the same\n value.", + "type": "boolean" + }, + "deprecated": { + "description": "Is this enum deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for the enum, or it will be completely ignored; in the very least, this\n is a formalization for deprecating enums.", + "type": "boolean" + }, + "deprecatedLegacyJsonFieldConflicts": { + "description": "Enable the legacy handling of JSON field name conflicts. This lowercases\n and strips underscored from the fields before comparison in proto3 only.\n The new behavior takes `json_name` into account and applies to proto2 as\n well.\n TODO Remove this legacy behavior once downstream teams have\n had time to migrate.", + "type": "boolean" + }, + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Enum Options", + "type": "object" + }, + "google.protobuf.EnumValueDescriptorProto.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a value within an enum.", + "properties": { + "name": { + "type": "string" + }, + "number": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "options": { + "$ref": "#/$defs/google.protobuf.EnumValueOptions.jsonschema.strict.json" + } + }, + "title": "Enum Value Descriptor Proto", + "type": "object" + }, + "google.protobuf.EnumValueOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "debugRedact": { + "description": "Indicate that fields annotated with this enum value should not be printed\n out when using debug formats, e.g. when the field contains sensitive\n credentials.", + "type": "boolean" + }, + "deprecated": { + "description": "Is this enum value deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for the enum value, or it will be completely ignored; in the very least,\n this is a formalization for deprecating enum values.", + "type": "boolean" + }, + "featureSupport": { + "$ref": "#/$defs/google.protobuf.FieldOptions.FeatureSupport.jsonschema.strict.json", + "description": "Information about the support window of a feature value." + }, + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Enum Value Options", + "type": "object" + }, + "google.protobuf.ExtensionRangeOptions.Declaration.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "fullName": { + "description": "The fully-qualified name of the extension field. There must be a leading\n dot in front of the full name.", + "type": "string" + }, + "number": { + "description": "The extension number declared within the extension range.", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "repeated": { + "description": "If true, indicates that the extension must be defined as repeated.\n Otherwise the extension must be defined as optional.", + "type": "boolean" + }, + "reserved": { + "description": "If true, indicates that the number is reserved in the extension range,\n and any extension field with the number will fail to compile. Set this\n when a declared extension field is deleted.", + "type": "boolean" + }, + "type": { + "description": "The fully-qualified type name of the extension field. Unlike\n Metadata.type, Declaration.type must have a leading dot for messages\n and enums.", + "type": "string" + } + }, + "title": "Declaration", + "type": "object" + }, + "google.protobuf.ExtensionRangeOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "declaration": { + "description": "For external users: DO NOT USE. We are in the process of open sourcing\n extension declaration and executing internal cleanups before it can be\n used externally.", + "items": { + "$ref": "#/$defs/google.protobuf.ExtensionRangeOptions.Declaration.jsonschema.strict.json" + }, + "type": "array" + }, + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition." + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + }, + "verification": { + "description": "The verification state of the range.\n TODO: flip the default to DECLARATION once all empty ranges\n are marked as UNVERIFIED.", + "enum": [ + "DECLARATION", + "UNVERIFIED" + ], + "title": "Verification State", + "type": "string" + } + }, + "title": "Extension Range Options", + "type": "object" + }, + "google.protobuf.FeatureSet.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "TODO Enums in C++ gencode (and potentially other languages) are\n not well scoped. This means that each of the feature enums below can clash\n with each other. The short names we've chosen maximize call-site\n readability, but leave us very open to this scenario. A future feature will\n be designed and implemented to handle this, hopefully before we ever hit a\n conflict here.", + "properties": { + "defaultSymbolVisibility": { + "enum": [ + "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN", + "EXPORT_ALL", + "EXPORT_TOP_LEVEL", + "LOCAL_ALL", + "STRICT" + ], + "title": "Default Symbol Visibility", + "type": "string" + }, + "enforceNamingStyle": { + "enum": [ + "ENFORCE_NAMING_STYLE_UNKNOWN", + "STYLE2024", + "STYLE_LEGACY" + ], + "title": "Enforce Naming Style", + "type": "string" + }, + "enumType": { + "enum": [ + "ENUM_TYPE_UNKNOWN", + "OPEN", + "CLOSED" + ], + "title": "Enum Type", + "type": "string" + }, + "fieldPresence": { + "enum": [ + "FIELD_PRESENCE_UNKNOWN", + "EXPLICIT", + "IMPLICIT", + "LEGACY_REQUIRED" + ], + "title": "Field Presence", + "type": "string" + }, + "jsonFormat": { + "enum": [ + "JSON_FORMAT_UNKNOWN", + "ALLOW", + "LEGACY_BEST_EFFORT" + ], + "title": "Json Format", + "type": "string" + }, + "messageEncoding": { + "enum": [ + "MESSAGE_ENCODING_UNKNOWN", + "LENGTH_PREFIXED", + "DELIMITED" + ], + "title": "Message Encoding", + "type": "string" + }, + "repeatedFieldEncoding": { + "enum": [ + "REPEATED_FIELD_ENCODING_UNKNOWN", + "PACKED", + "EXPANDED" + ], + "title": "Repeated Field Encoding", + "type": "string" + }, + "utf8Validation": { + "enum": [ + "UTF8_VALIDATION_UNKNOWN", + "VERIFY", + "NONE" + ], + "title": "Utf8 Validation", + "type": "string" + } + }, + "title": "Feature Set", + "type": "object" + }, + "google.protobuf.FieldDescriptorProto.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a field within a message.", + "properties": { + "defaultValue": { + "description": "For numeric types, contains the original text representation of the value.\n For booleans, \"true\" or \"false\".\n For strings, contains the default text contents (not escaped in any way).\n For bytes, contains the C escaped value. All bytes \u003e= 128 are escaped.", + "type": "string" + }, + "extendee": { + "description": "For extensions, this is the name of the type being extended. It is\n resolved in the same manner as type_name.", + "type": "string" + }, + "jsonName": { + "description": "JSON name of this field. The value is set by protocol compiler. If the\n user has set a \"json_name\" option on this field, that option's value\n will be used. Otherwise, it's deduced from the field's name by converting\n it to camelCase.", + "type": "string" + }, + "label": { + "enum": [ + "LABEL_OPTIONAL", + "LABEL_REPEATED", + "LABEL_REQUIRED" + ], + "title": "Label", + "type": "string" + }, + "name": { + "type": "string" + }, + "number": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "oneofIndex": { + "description": "If set, gives the index of a oneof in the containing type's oneof_decl\n list. This field is a member of that oneof.", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "options": { + "$ref": "#/$defs/google.protobuf.FieldOptions.jsonschema.strict.json" + }, + "proto3Optional": { + "description": "When proto3_optional is true, this field must belong to a oneof to signal\n to old proto3 clients that presence is tracked for this field. This oneof\n is known as a \"synthetic\" oneof, and this field must be its sole member\n (each proto3 optional field gets its own synthetic oneof). Synthetic oneofs\n exist in the descriptor only, and do not generate any API. Synthetic oneofs\n must be ordered after all \"real\" oneofs.\n\n For message fields, proto3_optional doesn't create any semantic change,\n since non-repeated message fields always track presence. However it still\n indicates the semantic detail of whether the user wrote \"optional\" or not.\n This can be useful for round-tripping the .proto file. For consistency we\n give message fields a synthetic oneof also, even though it is not required\n to track presence. This is especially important because the parser can't\n tell if a field is a message or an enum, so it must always create a\n synthetic oneof.\n\n Proto2 optional fields do not set this flag, because they already indicate\n optional with `LABEL_OPTIONAL`.", + "title": "If true, this is a proto3 \"optional\". When a proto3 field is optional, it\n tracks presence regardless of field type.", + "type": "boolean" + }, + "type": { + "description": "If type_name is set, this need not be set. If both this and type_name\n are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.", + "enum": [ + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "title": "Type", + "type": "string" + }, + "typeName": { + "description": "For message and enum types, this is the name of the type. If the name\n starts with a '.', it is fully-qualified. Otherwise, C++-like scoping\n rules are used to find the type (i.e. first the nested types within this\n message are searched, then within the parent, on up to the root\n namespace).", + "type": "string" + } + }, + "title": "Field Descriptor Proto", + "type": "object" + }, + "google.protobuf.FieldOptions.EditionDefault.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "edition": { + "enum": [ + "EDITION_UNKNOWN", + "EDITION_LEGACY", + "EDITION_PROTO2", + "EDITION_PROTO3", + "EDITION_2023", + "EDITION_2024", + "EDITION_1_TEST_ONLY", + "EDITION_2_TEST_ONLY", + "EDITION_99997_TEST_ONLY", + "EDITION_99998_TEST_ONLY", + "EDITION_99999_TEST_ONLY", + "EDITION_MAX" + ], + "title": "Edition", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "title": "Edition Default", + "type": "object" + }, + "google.protobuf.FieldOptions.FeatureSupport.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Information about the support window of a feature.", + "properties": { + "deprecationWarning": { + "description": "The deprecation warning text if this feature is used after the edition it\n was marked deprecated in.", + "type": "string" + }, + "editionDeprecated": { + "description": "The edition this feature becomes deprecated in. Using this after this\n edition may trigger warnings.", + "enum": [ + "EDITION_UNKNOWN", + "EDITION_LEGACY", + "EDITION_PROTO2", + "EDITION_PROTO3", + "EDITION_2023", + "EDITION_2024", + "EDITION_1_TEST_ONLY", + "EDITION_2_TEST_ONLY", + "EDITION_99997_TEST_ONLY", + "EDITION_99998_TEST_ONLY", + "EDITION_99999_TEST_ONLY", + "EDITION_MAX" + ], + "title": "Edition", + "type": "string" + }, + "editionIntroduced": { + "description": "The edition that this feature was first available in. In editions\n earlier than this one, the default assigned to EDITION_LEGACY will be\n used, and proto files will not be able to override it.", + "enum": [ + "EDITION_UNKNOWN", + "EDITION_LEGACY", + "EDITION_PROTO2", + "EDITION_PROTO3", + "EDITION_2023", + "EDITION_2024", + "EDITION_1_TEST_ONLY", + "EDITION_2_TEST_ONLY", + "EDITION_99997_TEST_ONLY", + "EDITION_99998_TEST_ONLY", + "EDITION_99999_TEST_ONLY", + "EDITION_MAX" + ], + "title": "Edition", + "type": "string" + }, + "editionRemoved": { + "description": "The edition this feature is no longer available in. In editions after\n this one, the last default assigned will be used, and proto files will\n not be able to override it.", + "enum": [ + "EDITION_UNKNOWN", + "EDITION_LEGACY", + "EDITION_PROTO2", + "EDITION_PROTO3", + "EDITION_2023", + "EDITION_2024", + "EDITION_1_TEST_ONLY", + "EDITION_2_TEST_ONLY", + "EDITION_99997_TEST_ONLY", + "EDITION_99998_TEST_ONLY", + "EDITION_99999_TEST_ONLY", + "EDITION_MAX" + ], + "title": "Edition", + "type": "string" + } + }, + "title": "Feature Support", + "type": "object" + }, + "google.protobuf.FieldOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "ctype": { + "description": "NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead.\n The ctype option instructs the C++ code generator to use a different\n representation of the field than it normally would. See the specific\n options below. This option is only implemented to support use of\n [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of\n type \"bytes\" in the open source release.\n TODO: make ctype actually deprecated.", + "enum": [ + "STRING", + "CORD", + "STRING_PIECE" + ], + "title": "C Type", + "type": "string" + }, + "debugRedact": { + "description": "Indicate that the field value should not be printed out when using debug\n formats, e.g. when the field contains sensitive credentials.", + "type": "boolean" + }, + "deprecated": { + "description": "Is this field deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for accessors, or it will be completely ignored; in the very least, this\n is a formalization for deprecating fields.", + "type": "boolean" + }, + "editionDefaults": { + "items": { + "$ref": "#/$defs/google.protobuf.FieldOptions.EditionDefault.jsonschema.strict.json" + }, + "type": "array" + }, + "featureSupport": { + "$ref": "#/$defs/google.protobuf.FieldOptions.FeatureSupport.jsonschema.strict.json" + }, + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "jstype": { + "description": "This option is an enum to permit additional types to be added, e.g.\n goog.math.Integer.", + "enum": [ + "JS_NORMAL", + "JS_STRING", + "JS_NUMBER" + ], + "title": "JS Type", + "type": "string" + }, + "lazy": { + "description": "This is only a hint. Implementations are free to choose whether to use\n eager or lazy parsing regardless of the value of this option. However,\n setting this option true suggests that the protocol author believes that\n using lazy parsing on this field is worth the additional bookkeeping\n overhead typically needed to implement it.\n\n This option does not affect the public interface of any generated code;\n all method signatures remain the same. Furthermore, thread-safety of the\n interface is not affected by this option; const methods remain safe to\n call from multiple threads concurrently, while non-const methods continue\n to require exclusive access.\n\n Note that lazy message fields are still eagerly verified to check\n ill-formed wireformat or missing required fields. Calling IsInitialized()\n on the outer message would fail if the inner message has missing required\n fields. Failed verification would result in parsing failure (except when\n uninitialized messages are acceptable).", + "title": "Should this field be parsed lazily? Lazy applies only to message-type\n fields. It means that when the outer message is initially parsed, the\n inner message's contents will not be parsed but instead stored in encoded\n form. The inner message will actually be parsed when it is first accessed.", + "type": "boolean" + }, + "packed": { + "description": "The packed option can be enabled for repeated primitive fields to enable\n a more efficient representation on the wire. Rather than repeatedly\n writing the tag and type for each element, the entire array is encoded as\n a single length-delimited blob. In proto3, only explicit setting it to\n false will avoid using packed encoding. This option is prohibited in\n Editions, but the `repeated_field_encoding` feature can be used to control\n the behavior.", + "type": "boolean" + }, + "retention": { + "enum": [ + "RETENTION_UNKNOWN", + "RETENTION_RUNTIME", + "RETENTION_SOURCE" + ], + "title": "Option Retention", + "type": "string" + }, + "targets": { + "items": { + "enum": [ + "TARGET_TYPE_UNKNOWN", + "TARGET_TYPE_FILE", + "TARGET_TYPE_EXTENSION_RANGE", + "TARGET_TYPE_MESSAGE", + "TARGET_TYPE_FIELD", + "TARGET_TYPE_ONEOF", + "TARGET_TYPE_ENUM", + "TARGET_TYPE_ENUM_ENTRY", + "TARGET_TYPE_SERVICE", + "TARGET_TYPE_METHOD" + ], + "title": "Option Target Type", + "type": "string" + }, + "type": "array" + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + }, + "unverifiedLazy": { + "description": "unverified_lazy does no correctness checks on the byte stream. This should\n only be used where lazy with verification is prohibitive for performance\n reasons.", + "type": "boolean" + }, + "weak": { + "description": "For Google-internal migration only. Do not use.", + "type": "boolean" + } + }, + "title": "Field Options", + "type": "object" + }, + "google.protobuf.FileDescriptorProto.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a complete .proto file.", + "properties": { + "dependency": { + "description": "Names of files imported by this file.", + "items": { + "type": "string" + }, + "type": "array" + }, + "edition": { + "description": "The edition of the proto file.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language.", + "enum": [ + "EDITION_UNKNOWN", + "EDITION_LEGACY", + "EDITION_PROTO2", + "EDITION_PROTO3", + "EDITION_2023", + "EDITION_2024", + "EDITION_1_TEST_ONLY", + "EDITION_2_TEST_ONLY", + "EDITION_99997_TEST_ONLY", + "EDITION_99998_TEST_ONLY", + "EDITION_99999_TEST_ONLY", + "EDITION_MAX" + ], + "title": "Edition", + "type": "string" + }, + "enumType": { + "items": { + "$ref": "#/$defs/google.protobuf.EnumDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "extension": { + "items": { + "$ref": "#/$defs/google.protobuf.FieldDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "messageType": { + "description": "All top-level definitions in this file.", + "items": { + "$ref": "#/$defs/google.protobuf.DescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "optionDependency": { + "description": "Names of files imported by this file purely for the purpose of providing\n option extensions. These are excluded from the dependency list above.", + "items": { + "type": "string" + }, + "type": "array" + }, + "options": { + "$ref": "#/$defs/google.protobuf.FileOptions.jsonschema.strict.json" + }, + "package": { + "type": "string" + }, + "publicDependency": { + "description": "Indexes of the public imported files in the dependency list above.", + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + }, + "service": { + "items": { + "$ref": "#/$defs/google.protobuf.ServiceDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "sourceCodeInfo": { + "$ref": "#/$defs/google.protobuf.SourceCodeInfo.jsonschema.strict.json", + "description": "This field contains optional information about the original source code.\n You may safely remove this entire field without harming runtime\n functionality of the descriptors -- the information is needed only by\n development tools." + }, + "syntax": { + "description": "If `edition` is present, this value must be \"editions\".\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language.", + "title": "The syntax of the proto file.\n The supported values are \"proto2\", \"proto3\", and \"editions\".", + "type": "string" + }, + "weakDependency": { + "description": "Indexes of the weak imported files in the dependency list.\n For Google-internal migration only. Do not use.", + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + } + }, + "title": "File Descriptor Proto", + "type": "object" + }, + "google.protobuf.FileDescriptorSet.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "The protocol compiler can output a FileDescriptorSet containing the .proto\n files it parses.", + "properties": { + "file": { + "items": { + "$ref": "#/$defs/google.protobuf.FileDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "File Descriptor Set", + "type": "object" + }, + "google.protobuf.FileOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "ccEnableArenas": { + "description": "Enables the use of arenas for the proto messages in this file. This applies\n only to generated classes for C++.", + "type": "boolean" + }, + "ccGenericServices": { + "description": "Generic services are now considered deprecated in favor of using plugins\n that generate code specific to your particular RPC system. Therefore,\n these default to false. Old code which depends on generic services should\n explicitly set them to true.", + "title": "Should generic services be generated in each language? \"Generic\" services\n are not specific to any particular RPC system. They are generated by the\n main code generators in each language (without additional plugins).\n Generic services were the only kind of service generation supported by\n early versions of google.protobuf.", + "type": "boolean" + }, + "csharpNamespace": { + "description": "Namespace for generated classes; defaults to the package.", + "type": "string" + }, + "deprecated": { + "description": "Is this file deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for everything in the file, or it will be completely ignored; in the very\n least, this is a formalization for deprecating files.", + "type": "boolean" + }, + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "goPackage": { + "description": "Sets the Go package where structs generated from this .proto will be\n placed. If omitted, the Go package will be derived from the following:\n - The basename of the package import path, if provided.\n - Otherwise, the package statement in the .proto file, if present.\n - Otherwise, the basename of the .proto file, without extension.", + "type": "string" + }, + "javaGenerateEqualsAndHash": { + "description": "This option does nothing.", + "type": "boolean" + }, + "javaGenericServices": { + "type": "boolean" + }, + "javaMultipleFiles": { + "description": "If enabled, then the Java code generator will generate a separate .java\n file for each top-level message, enum, and service defined in the .proto\n file. Thus, these types will *not* be nested inside the wrapper class\n named by java_outer_classname. However, the wrapper class will still be\n generated to contain the file's getDescriptor() method as well as any\n top-level extensions defined in the file.", + "type": "boolean" + }, + "javaOuterClassname": { + "description": "Controls the name of the wrapper Java class generated for the .proto file.\n That class will always contain the .proto file's getDescriptor() method as\n well as any top-level extensions defined in the .proto file.\n If java_multiple_files is disabled, then all the other classes from the\n .proto file will be nested inside the single wrapper outer class.", + "type": "string" + }, + "javaPackage": { + "description": "Sets the Java package where classes generated from this .proto will be\n placed. By default, the proto package is used, but this is often\n inappropriate because proto packages do not normally start with backwards\n domain names.", + "type": "string" + }, + "javaStringCheckUtf8": { + "description": "TODO: clarify exactly what kinds of field types this option\n applies to, and update these docs accordingly.\n\n Proto3 files already perform these checks. Setting the option explicitly to\n false has no effect: it cannot be used to opt proto3 files out of UTF-8\n checks.", + "title": "A proto2 file can set this to true to opt in to UTF-8 checking for Java,\n which will throw an exception if invalid UTF-8 is parsed from the wire or\n assigned to a string field.", + "type": "boolean" + }, + "objcClassPrefix": { + "description": "Sets the objective c class prefix which is prepended to all objective c\n generated classes from this .proto. There is no default.", + "type": "string" + }, + "optimizeFor": { + "enum": [ + "SPEED", + "CODE_SIZE", + "LITE_RUNTIME" + ], + "title": "Optimize Mode", + "type": "string" + }, + "phpClassPrefix": { + "description": "Sets the php class prefix which is prepended to all php generated classes\n from this .proto. Default is empty.", + "type": "string" + }, + "phpMetadataNamespace": { + "description": "Use this option to change the namespace of php generated metadata classes.\n Default is empty. When this option is empty, the proto file name will be\n used for determining the namespace.", + "type": "string" + }, + "phpNamespace": { + "description": "Use this option to change the namespace of php generated classes. Default\n is empty. When this option is empty, the package name will be used for\n determining the namespace.", + "type": "string" + }, + "pyGenericServices": { + "type": "boolean" + }, + "rubyPackage": { + "description": "Use this option to change the package of ruby generated classes. Default\n is empty. When this option is not set, the package name will be used for\n determining the ruby package.", + "type": "string" + }, + "swiftPrefix": { + "description": "By default Swift generators will take the proto package and CamelCase it\n replacing '.' with underscore and use that to prefix the types/symbols\n defined. When this options is provided, they will use this value instead\n to prefix the types/symbols defined.", + "type": "string" + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here.\n See the documentation for the \"Options\" section above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "File Options", + "type": "object" + }, + "google.protobuf.MessageOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "deprecated": { + "description": "Is this message deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for the message, or it will be completely ignored; in the very least,\n this is a formalization for deprecating messages.", + "type": "boolean" + }, + "deprecatedLegacyJsonFieldConflicts": { + "description": "This should only be used as a temporary measure against broken builds due\n to the change in behavior for JSON field name conflicts.\n\n TODO This is legacy behavior we plan to remove once downstream\n teams have had time to migrate.", + "title": "Enable the legacy handling of JSON field name conflicts. This lowercases\n and strips underscored from the fields before comparison in proto3 only.\n The new behavior takes `json_name` into account and applies to proto2 as\n well.", + "type": "boolean" + }, + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "mapEntry": { + "description": "For maps fields:\n map\u003cKeyType, ValueType\u003e map_field = 1;\n The parsed descriptor looks like:\n message MapFieldEntry {\n option map_entry = true;\n optional KeyType key = 1;\n optional ValueType value = 2;\n }\n repeated MapFieldEntry map_field = 1;\n\n Implementations may choose not to generate the map_entry=true message, but\n use a native map in the target language to hold the keys and values.\n The reflection APIs in such implementations still need to work as\n if the field is a repeated message field.\n\n NOTE: Do not set the option in .proto files. Always use the maps syntax\n instead. The option should only be implicitly set by the proto compiler\n parser.", + "title": "Whether the message is an automatically generated map entry type for the\n maps field.", + "type": "boolean" + }, + "messageSetWireFormat": { + "description": "The message must be defined exactly as follows:\n message Foo {\n option message_set_wire_format = true;\n extensions 4 to max;\n }\n Note that the message cannot have any defined fields; MessageSets only\n have extensions.\n\n All extensions of your type must be singular messages; e.g. they cannot\n be int32s, enums, or repeated messages.\n\n Because this is an option, the above two restrictions are not enforced by\n the protocol compiler.", + "title": "Set true to use the old proto1 MessageSet wire format for extensions.\n This is provided for backwards-compatibility with the MessageSet wire\n format. You should not use this for any other reason: It's less\n efficient, has fewer features, and is more complicated.", + "type": "boolean" + }, + "noStandardDescriptorAccessor": { + "description": "Disables the generation of the standard \"descriptor()\" accessor, which can\n conflict with a field of the same name. This is meant to make migration\n from proto1 easier; new code should avoid fields named \"descriptor\".", + "type": "boolean" + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Message Options", + "type": "object" + }, + "google.protobuf.MethodDescriptorProto.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a method of a service.", + "properties": { + "clientStreaming": { + "description": "Identifies if client streams multiple client messages", + "type": "boolean" + }, + "inputType": { + "description": "Input and output type names. These are resolved in the same way as\n FieldDescriptorProto.type_name, but must refer to a message type.", + "type": "string" + }, + "name": { + "type": "string" + }, + "options": { + "$ref": "#/$defs/google.protobuf.MethodOptions.jsonschema.strict.json" + }, + "outputType": { + "type": "string" + }, + "serverStreaming": { + "description": "Identifies if server streams multiple server messages", + "type": "boolean" + } + }, + "title": "Method Descriptor Proto", + "type": "object" + }, + "google.protobuf.MethodOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "deprecated": { + "description": "Is this method deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for the method, or it will be completely ignored; in the very least,\n this is a formalization for deprecating methods.", + "type": "boolean" + }, + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "idempotencyLevel": { + "enum": [ + "IDEMPOTENCY_UNKNOWN", + "NO_SIDE_EFFECTS", + "IDEMPOTENT" + ], + "title": "Idempotency Level", + "type": "string" + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Method Options", + "type": "object" + }, + "google.protobuf.OneofDescriptorProto.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a oneof.", + "properties": { + "name": { + "type": "string" + }, + "options": { + "$ref": "#/$defs/google.protobuf.OneofOptions.jsonschema.strict.json" + } + }, + "title": "Oneof Descriptor Proto", + "type": "object" + }, + "google.protobuf.OneofOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Oneof Options", + "type": "object" + }, + "google.protobuf.ServiceDescriptorProto.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a service.", + "properties": { + "method": { + "items": { + "$ref": "#/$defs/google.protobuf.MethodDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "options": { + "$ref": "#/$defs/google.protobuf.ServiceOptions.jsonschema.strict.json" + } + }, + "title": "Service Descriptor Proto", + "type": "object" + }, + "google.protobuf.ServiceOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "deprecated": { + "description": "Is this service deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for the service, or it will be completely ignored; in the very least,\n this is a formalization for deprecating services.", + "type": "boolean" + }, + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Service Options", + "type": "object" + }, + "google.protobuf.SourceCodeInfo.Location.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "leadingComments": { + "description": "A series of line comments appearing on consecutive lines, with no other\n tokens appearing on those lines, will be treated as a single comment.\n\n leading_detached_comments will keep paragraphs of comments that appear\n before (but not connected to) the current element. Each paragraph,\n separated by empty lines, will be one comment element in the repeated\n field.\n\n Only the comment content is provided; comment markers (e.g. //) are\n stripped out. For block comments, leading whitespace and an asterisk\n will be stripped from the beginning of each line other than the first.\n Newlines are included in the output.\n\n Examples:\n\n optional int32 foo = 1; // Comment attached to foo.\n // Comment attached to bar.\n optional int32 bar = 2;\n\n optional string baz = 3;\n // Comment attached to baz.\n // Another line attached to baz.\n\n // Comment attached to moo.\n //\n // Another line attached to moo.\n optional double moo = 4;\n\n // Detached comment for corge. This is not leading or trailing comments\n // to moo or corge because there are blank lines separating it from\n // both.\n\n // Detached comment for corge paragraph 2.\n\n optional string corge = 5;\n /* Block comment attached\n * to corge. Leading asterisks\n * will be removed. */\n /* Block comment attached to\n * grault. */\n optional int32 grault = 6;\n\n // ignored detached comments.", + "title": "If this SourceCodeInfo represents a complete declaration, these are any\n comments appearing before and after the declaration which appear to be\n attached to the declaration.", + "type": "string" + }, + "leadingDetachedComments": { + "items": { + "type": "string" + }, + "type": "array" + }, + "path": { + "description": "Each element is a field number or an index. They form a path from\n the root FileDescriptorProto to the place where the definition appears.\n For example, this path:\n [ 4, 3, 2, 7, 1 ]\n refers to:\n file.message_type(3) // 4, 3\n .field(7) // 2, 7\n .name() // 1\n This is because FileDescriptorProto.message_type has field number 4:\n repeated DescriptorProto message_type = 4;\n and DescriptorProto.field has field number 2:\n repeated FieldDescriptorProto field = 2;\n and FieldDescriptorProto.name has field number 1:\n optional string name = 1;\n\n Thus, the above path gives the location of a field name. If we removed\n the last element:\n [ 4, 3, 2, 7 ]\n this path refers to the whole field declaration (from the beginning\n of the label to the terminating semicolon).", + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "title": "Identifies which part of the FileDescriptorProto was defined at this\n location.", + "type": "array" + }, + "span": { + "description": "Always has exactly three or four elements: start line, start column,\n end line (optional, otherwise assumed same as start line), end column.\n These are packed into a single field for efficiency. Note that line\n and column numbers are zero-based -- typically you will want to add\n 1 to each before displaying to a user.", + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + }, + "trailingComments": { + "type": "string" + } + }, + "title": "Location", + "type": "object" + }, + "google.protobuf.SourceCodeInfo.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Encapsulates information about the original source file from which a\n FileDescriptorProto was generated.", + "properties": { + "location": { + "description": "For example, say we have a file like:\n message Foo {\n optional string foo = 1;\n }\n Let's look at just the field definition:\n optional string foo = 1;\n ^ ^^ ^^ ^ ^^^\n a bc de f ghi\n We have the following locations:\n span path represents\n [a,i) [ 4, 0, 2, 0 ] The whole field definition.\n [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).\n [c,d) [ 4, 0, 2, 0, 5 ] The type (string).\n [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).\n [g,h) [ 4, 0, 2, 0, 3 ] The number (1).\n\n Notes:\n - A location may refer to a repeated field itself (i.e. not to any\n particular index within it). This is used whenever a set of elements are\n logically enclosed in a single code segment. For example, an entire\n extend block (possibly containing multiple extension definitions) will\n have an outer location whose path refers to the \"extensions\" repeated\n field without an index.\n - Multiple locations may have the same path. This happens when a single\n logical declaration is spread out across multiple places. The most\n obvious example is the \"extend\" block again -- there may be multiple\n extend blocks in the same scope, each of which will have the same path.\n - A location's span is not always a subset of its parent's span. For\n example, the \"extendee\" of an extension declaration appears at the\n beginning of the \"extend\" block and is shared by all extensions within\n the block.\n - Just because a location's span is a subset of some other location's span\n does not mean that it is a descendant. For example, a \"group\" defines\n both a type and a field in a single declaration. Thus, the locations\n corresponding to the type and field and their components will overlap.\n - Code which tries to interpret locations should probably be designed to\n ignore those that it doesn't understand, as more types of locations could\n be recorded in the future.", + "items": { + "$ref": "#/$defs/google.protobuf.SourceCodeInfo.Location.jsonschema.strict.json" + }, + "title": "A Location identifies a piece of source code in a .proto file which\n corresponds to a particular definition. This information is intended\n to be useful to IDEs, code indexers, documentation generators, and similar\n tools.", + "type": "array" + } + }, + "title": "Source Code Info", + "type": "object" + }, + "google.protobuf.UninterpretedOption.NamePart.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "The name of the uninterpreted option. Each string represents a segment in\n a dot-separated name. is_extension is true iff a segment represents an\n extension (denoted with parentheses in options specs in .proto files).\n E.g.,{ [\"foo\", false], [\"bar.baz\", true], [\"moo\", false] } represents\n \"foo.(bar.baz).moo\".", + "properties": { + "isExtension": { + "type": "boolean" + }, + "namePart": { + "type": "string" + } + }, + "title": "Name Part", + "type": "object" + }, + "google.protobuf.UninterpretedOption.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "A message representing a option the parser does not recognize. This only\n appears in options protos created by the compiler::Parser class.\n DescriptorPool resolves these when building Descriptor objects. Therefore,\n options protos in descriptor objects (e.g. returned by Descriptor::options(),\n or produced by Descriptor::CopyTo()) will never have UninterpretedOptions\n in them.", + "properties": { + "aggregateValue": { + "type": "string" + }, + "doubleValue": { + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ] + }, + "identifierValue": { + "description": "The value of the uninterpreted option, in whatever type the tokenizer\n identified it as during parsing. Exactly one of these should be set.", + "type": "string" + }, + "name": { + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.NamePart.jsonschema.strict.json" + }, + "type": "array" + }, + "negativeIntValue": { + "type": "integer" + }, + "positiveIntValue": { + "minimum": 0, + "type": "integer" + }, + "stringValue": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "Uninterpreted Option", + "type": "object" + } + }, + "$id": "buf.validate.conformance.harness.SuiteResults.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.harness.SuiteResults.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.harness.SuiteResults.schema.json b/internal/gen/jsonschema/buf.validate.conformance.harness.SuiteResults.schema.json new file mode 100644 index 00000000..bb4356bd --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.harness.SuiteResults.schema.json @@ -0,0 +1,88 @@ +{ + "$id": "buf.validate.conformance.harness.SuiteResults.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "A suite result is a single test suite result.", + "patternProperties": { + "^(expectedFailures)$": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0, + "description": "Count of expected failures." + } + }, + "properties": { + "cases": { + "description": "List of case results.", + "items": { + "$ref": "buf.validate.conformance.harness.CaseResult.schema.json" + }, + "type": "array" + }, + "expected_failures": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0, + "description": "Count of expected failures." + }, + "failures": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0, + "description": "Count of failures." + }, + "fdset": { + "$ref": "google.protobuf.FileDescriptorSet.schema.json", + "description": "The file descriptor set used to generate this result." + }, + "name": { + "default": "", + "description": "The suite name.", + "type": "string" + }, + "successes": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "default": 0, + "description": "Count of successes." + } + }, + "title": "Suite Results", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.harness.TestConformanceRequest.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.harness.TestConformanceRequest.jsonschema.strict.bundle.json new file mode 100644 index 00000000..aadb1c9f --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.harness.TestConformanceRequest.jsonschema.strict.bundle.json @@ -0,0 +1,1249 @@ +{ + "$defs": { + "buf.validate.conformance.harness.TestConformanceRequest.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "TestConformanceRequest is the request for Conformance Tests.\n The FileDescriptorSet is the FileDescriptorSet to test against.\n The cases map is a map of case name to the Any message that represents the case.", + "properties": { + "cases": { + "additionalProperties": { + "$ref": "#/$defs/google.protobuf.Any.jsonschema.strict.json" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + }, + "fdset": { + "$ref": "#/$defs/google.protobuf.FileDescriptorSet.jsonschema.strict.json" + } + }, + "title": "Test Conformance Request", + "type": "object" + }, + "google.protobuf.Any.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "properties": { + "@type": { + "type": "string" + } + }, + "title": "Any", + "type": "object" + }, + "google.protobuf.DescriptorProto.ExtensionRange.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "end": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "options": { + "$ref": "#/$defs/google.protobuf.ExtensionRangeOptions.jsonschema.strict.json" + }, + "start": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Extension Range", + "type": "object" + }, + "google.protobuf.DescriptorProto.ReservedRange.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Range of reserved tag numbers. Reserved tag numbers may not be used by\n fields or extension ranges in the same message. Reserved ranges may\n not overlap.", + "properties": { + "end": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "start": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Reserved Range", + "type": "object" + }, + "google.protobuf.DescriptorProto.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a message type.", + "properties": { + "enumType": { + "items": { + "$ref": "#/$defs/google.protobuf.EnumDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "extension": { + "items": { + "$ref": "#/$defs/google.protobuf.FieldDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "extensionRange": { + "items": { + "$ref": "#/$defs/google.protobuf.DescriptorProto.ExtensionRange.jsonschema.strict.json" + }, + "type": "array" + }, + "field": { + "items": { + "$ref": "#/$defs/google.protobuf.FieldDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "nestedType": { + "items": { + "$ref": "#/$defs/google.protobuf.DescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "oneofDecl": { + "items": { + "$ref": "#/$defs/google.protobuf.OneofDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "options": { + "$ref": "#/$defs/google.protobuf.MessageOptions.jsonschema.strict.json" + }, + "reservedName": { + "description": "Reserved field names, which may not be used by fields in the same message.\n A given name may only be reserved once.", + "items": { + "type": "string" + }, + "type": "array" + }, + "reservedRange": { + "items": { + "$ref": "#/$defs/google.protobuf.DescriptorProto.ReservedRange.jsonschema.strict.json" + }, + "type": "array" + }, + "visibility": { + "description": "Support for `export` and `local` keywords on enums.", + "enum": [ + "VISIBILITY_UNSET", + "VISIBILITY_LOCAL", + "VISIBILITY_EXPORT" + ], + "title": "Symbol Visibility", + "type": "string" + } + }, + "title": "Descriptor Proto", + "type": "object" + }, + "google.protobuf.EnumDescriptorProto.EnumReservedRange.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Note that this is distinct from DescriptorProto.ReservedRange in that it\n is inclusive such that it can appropriately represent the entire int32\n domain.", + "properties": { + "end": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "start": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + }, + "title": "Range of reserved numeric values. Reserved values may not be used by\n entries in the same enum. Reserved ranges may not overlap.", + "type": "object" + }, + "google.protobuf.EnumDescriptorProto.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes an enum type.", + "properties": { + "name": { + "type": "string" + }, + "options": { + "$ref": "#/$defs/google.protobuf.EnumOptions.jsonschema.strict.json" + }, + "reservedName": { + "description": "Reserved enum value names, which may not be reused. A given name may only\n be reserved once.", + "items": { + "type": "string" + }, + "type": "array" + }, + "reservedRange": { + "description": "Range of reserved numeric values. Reserved numeric values may not be used\n by enum values in the same enum declaration. Reserved ranges may not\n overlap.", + "items": { + "$ref": "#/$defs/google.protobuf.EnumDescriptorProto.EnumReservedRange.jsonschema.strict.json" + }, + "type": "array" + }, + "value": { + "items": { + "$ref": "#/$defs/google.protobuf.EnumValueDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "visibility": { + "description": "Support for `export` and `local` keywords on enums.", + "enum": [ + "VISIBILITY_UNSET", + "VISIBILITY_LOCAL", + "VISIBILITY_EXPORT" + ], + "title": "Symbol Visibility", + "type": "string" + } + }, + "title": "Enum Descriptor Proto", + "type": "object" + }, + "google.protobuf.EnumOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "allowAlias": { + "description": "Set this option to true to allow mapping different tag names to the same\n value.", + "type": "boolean" + }, + "deprecated": { + "description": "Is this enum deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for the enum, or it will be completely ignored; in the very least, this\n is a formalization for deprecating enums.", + "type": "boolean" + }, + "deprecatedLegacyJsonFieldConflicts": { + "description": "Enable the legacy handling of JSON field name conflicts. This lowercases\n and strips underscored from the fields before comparison in proto3 only.\n The new behavior takes `json_name` into account and applies to proto2 as\n well.\n TODO Remove this legacy behavior once downstream teams have\n had time to migrate.", + "type": "boolean" + }, + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Enum Options", + "type": "object" + }, + "google.protobuf.EnumValueDescriptorProto.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a value within an enum.", + "properties": { + "name": { + "type": "string" + }, + "number": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "options": { + "$ref": "#/$defs/google.protobuf.EnumValueOptions.jsonschema.strict.json" + } + }, + "title": "Enum Value Descriptor Proto", + "type": "object" + }, + "google.protobuf.EnumValueOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "debugRedact": { + "description": "Indicate that fields annotated with this enum value should not be printed\n out when using debug formats, e.g. when the field contains sensitive\n credentials.", + "type": "boolean" + }, + "deprecated": { + "description": "Is this enum value deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for the enum value, or it will be completely ignored; in the very least,\n this is a formalization for deprecating enum values.", + "type": "boolean" + }, + "featureSupport": { + "$ref": "#/$defs/google.protobuf.FieldOptions.FeatureSupport.jsonschema.strict.json", + "description": "Information about the support window of a feature value." + }, + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Enum Value Options", + "type": "object" + }, + "google.protobuf.ExtensionRangeOptions.Declaration.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "fullName": { + "description": "The fully-qualified name of the extension field. There must be a leading\n dot in front of the full name.", + "type": "string" + }, + "number": { + "description": "The extension number declared within the extension range.", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "repeated": { + "description": "If true, indicates that the extension must be defined as repeated.\n Otherwise the extension must be defined as optional.", + "type": "boolean" + }, + "reserved": { + "description": "If true, indicates that the number is reserved in the extension range,\n and any extension field with the number will fail to compile. Set this\n when a declared extension field is deleted.", + "type": "boolean" + }, + "type": { + "description": "The fully-qualified type name of the extension field. Unlike\n Metadata.type, Declaration.type must have a leading dot for messages\n and enums.", + "type": "string" + } + }, + "title": "Declaration", + "type": "object" + }, + "google.protobuf.ExtensionRangeOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "declaration": { + "description": "For external users: DO NOT USE. We are in the process of open sourcing\n extension declaration and executing internal cleanups before it can be\n used externally.", + "items": { + "$ref": "#/$defs/google.protobuf.ExtensionRangeOptions.Declaration.jsonschema.strict.json" + }, + "type": "array" + }, + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition." + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + }, + "verification": { + "description": "The verification state of the range.\n TODO: flip the default to DECLARATION once all empty ranges\n are marked as UNVERIFIED.", + "enum": [ + "DECLARATION", + "UNVERIFIED" + ], + "title": "Verification State", + "type": "string" + } + }, + "title": "Extension Range Options", + "type": "object" + }, + "google.protobuf.FeatureSet.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "TODO Enums in C++ gencode (and potentially other languages) are\n not well scoped. This means that each of the feature enums below can clash\n with each other. The short names we've chosen maximize call-site\n readability, but leave us very open to this scenario. A future feature will\n be designed and implemented to handle this, hopefully before we ever hit a\n conflict here.", + "properties": { + "defaultSymbolVisibility": { + "enum": [ + "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN", + "EXPORT_ALL", + "EXPORT_TOP_LEVEL", + "LOCAL_ALL", + "STRICT" + ], + "title": "Default Symbol Visibility", + "type": "string" + }, + "enforceNamingStyle": { + "enum": [ + "ENFORCE_NAMING_STYLE_UNKNOWN", + "STYLE2024", + "STYLE_LEGACY" + ], + "title": "Enforce Naming Style", + "type": "string" + }, + "enumType": { + "enum": [ + "ENUM_TYPE_UNKNOWN", + "OPEN", + "CLOSED" + ], + "title": "Enum Type", + "type": "string" + }, + "fieldPresence": { + "enum": [ + "FIELD_PRESENCE_UNKNOWN", + "EXPLICIT", + "IMPLICIT", + "LEGACY_REQUIRED" + ], + "title": "Field Presence", + "type": "string" + }, + "jsonFormat": { + "enum": [ + "JSON_FORMAT_UNKNOWN", + "ALLOW", + "LEGACY_BEST_EFFORT" + ], + "title": "Json Format", + "type": "string" + }, + "messageEncoding": { + "enum": [ + "MESSAGE_ENCODING_UNKNOWN", + "LENGTH_PREFIXED", + "DELIMITED" + ], + "title": "Message Encoding", + "type": "string" + }, + "repeatedFieldEncoding": { + "enum": [ + "REPEATED_FIELD_ENCODING_UNKNOWN", + "PACKED", + "EXPANDED" + ], + "title": "Repeated Field Encoding", + "type": "string" + }, + "utf8Validation": { + "enum": [ + "UTF8_VALIDATION_UNKNOWN", + "VERIFY", + "NONE" + ], + "title": "Utf8 Validation", + "type": "string" + } + }, + "title": "Feature Set", + "type": "object" + }, + "google.protobuf.FieldDescriptorProto.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a field within a message.", + "properties": { + "defaultValue": { + "description": "For numeric types, contains the original text representation of the value.\n For booleans, \"true\" or \"false\".\n For strings, contains the default text contents (not escaped in any way).\n For bytes, contains the C escaped value. All bytes \u003e= 128 are escaped.", + "type": "string" + }, + "extendee": { + "description": "For extensions, this is the name of the type being extended. It is\n resolved in the same manner as type_name.", + "type": "string" + }, + "jsonName": { + "description": "JSON name of this field. The value is set by protocol compiler. If the\n user has set a \"json_name\" option on this field, that option's value\n will be used. Otherwise, it's deduced from the field's name by converting\n it to camelCase.", + "type": "string" + }, + "label": { + "enum": [ + "LABEL_OPTIONAL", + "LABEL_REPEATED", + "LABEL_REQUIRED" + ], + "title": "Label", + "type": "string" + }, + "name": { + "type": "string" + }, + "number": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "oneofIndex": { + "description": "If set, gives the index of a oneof in the containing type's oneof_decl\n list. This field is a member of that oneof.", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "options": { + "$ref": "#/$defs/google.protobuf.FieldOptions.jsonschema.strict.json" + }, + "proto3Optional": { + "description": "When proto3_optional is true, this field must belong to a oneof to signal\n to old proto3 clients that presence is tracked for this field. This oneof\n is known as a \"synthetic\" oneof, and this field must be its sole member\n (each proto3 optional field gets its own synthetic oneof). Synthetic oneofs\n exist in the descriptor only, and do not generate any API. Synthetic oneofs\n must be ordered after all \"real\" oneofs.\n\n For message fields, proto3_optional doesn't create any semantic change,\n since non-repeated message fields always track presence. However it still\n indicates the semantic detail of whether the user wrote \"optional\" or not.\n This can be useful for round-tripping the .proto file. For consistency we\n give message fields a synthetic oneof also, even though it is not required\n to track presence. This is especially important because the parser can't\n tell if a field is a message or an enum, so it must always create a\n synthetic oneof.\n\n Proto2 optional fields do not set this flag, because they already indicate\n optional with `LABEL_OPTIONAL`.", + "title": "If true, this is a proto3 \"optional\". When a proto3 field is optional, it\n tracks presence regardless of field type.", + "type": "boolean" + }, + "type": { + "description": "If type_name is set, this need not be set. If both this and type_name\n are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.", + "enum": [ + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "title": "Type", + "type": "string" + }, + "typeName": { + "description": "For message and enum types, this is the name of the type. If the name\n starts with a '.', it is fully-qualified. Otherwise, C++-like scoping\n rules are used to find the type (i.e. first the nested types within this\n message are searched, then within the parent, on up to the root\n namespace).", + "type": "string" + } + }, + "title": "Field Descriptor Proto", + "type": "object" + }, + "google.protobuf.FieldOptions.EditionDefault.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "edition": { + "enum": [ + "EDITION_UNKNOWN", + "EDITION_LEGACY", + "EDITION_PROTO2", + "EDITION_PROTO3", + "EDITION_2023", + "EDITION_2024", + "EDITION_1_TEST_ONLY", + "EDITION_2_TEST_ONLY", + "EDITION_99997_TEST_ONLY", + "EDITION_99998_TEST_ONLY", + "EDITION_99999_TEST_ONLY", + "EDITION_MAX" + ], + "title": "Edition", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "title": "Edition Default", + "type": "object" + }, + "google.protobuf.FieldOptions.FeatureSupport.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Information about the support window of a feature.", + "properties": { + "deprecationWarning": { + "description": "The deprecation warning text if this feature is used after the edition it\n was marked deprecated in.", + "type": "string" + }, + "editionDeprecated": { + "description": "The edition this feature becomes deprecated in. Using this after this\n edition may trigger warnings.", + "enum": [ + "EDITION_UNKNOWN", + "EDITION_LEGACY", + "EDITION_PROTO2", + "EDITION_PROTO3", + "EDITION_2023", + "EDITION_2024", + "EDITION_1_TEST_ONLY", + "EDITION_2_TEST_ONLY", + "EDITION_99997_TEST_ONLY", + "EDITION_99998_TEST_ONLY", + "EDITION_99999_TEST_ONLY", + "EDITION_MAX" + ], + "title": "Edition", + "type": "string" + }, + "editionIntroduced": { + "description": "The edition that this feature was first available in. In editions\n earlier than this one, the default assigned to EDITION_LEGACY will be\n used, and proto files will not be able to override it.", + "enum": [ + "EDITION_UNKNOWN", + "EDITION_LEGACY", + "EDITION_PROTO2", + "EDITION_PROTO3", + "EDITION_2023", + "EDITION_2024", + "EDITION_1_TEST_ONLY", + "EDITION_2_TEST_ONLY", + "EDITION_99997_TEST_ONLY", + "EDITION_99998_TEST_ONLY", + "EDITION_99999_TEST_ONLY", + "EDITION_MAX" + ], + "title": "Edition", + "type": "string" + }, + "editionRemoved": { + "description": "The edition this feature is no longer available in. In editions after\n this one, the last default assigned will be used, and proto files will\n not be able to override it.", + "enum": [ + "EDITION_UNKNOWN", + "EDITION_LEGACY", + "EDITION_PROTO2", + "EDITION_PROTO3", + "EDITION_2023", + "EDITION_2024", + "EDITION_1_TEST_ONLY", + "EDITION_2_TEST_ONLY", + "EDITION_99997_TEST_ONLY", + "EDITION_99998_TEST_ONLY", + "EDITION_99999_TEST_ONLY", + "EDITION_MAX" + ], + "title": "Edition", + "type": "string" + } + }, + "title": "Feature Support", + "type": "object" + }, + "google.protobuf.FieldOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "ctype": { + "description": "NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead.\n The ctype option instructs the C++ code generator to use a different\n representation of the field than it normally would. See the specific\n options below. This option is only implemented to support use of\n [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of\n type \"bytes\" in the open source release.\n TODO: make ctype actually deprecated.", + "enum": [ + "STRING", + "CORD", + "STRING_PIECE" + ], + "title": "C Type", + "type": "string" + }, + "debugRedact": { + "description": "Indicate that the field value should not be printed out when using debug\n formats, e.g. when the field contains sensitive credentials.", + "type": "boolean" + }, + "deprecated": { + "description": "Is this field deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for accessors, or it will be completely ignored; in the very least, this\n is a formalization for deprecating fields.", + "type": "boolean" + }, + "editionDefaults": { + "items": { + "$ref": "#/$defs/google.protobuf.FieldOptions.EditionDefault.jsonschema.strict.json" + }, + "type": "array" + }, + "featureSupport": { + "$ref": "#/$defs/google.protobuf.FieldOptions.FeatureSupport.jsonschema.strict.json" + }, + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "jstype": { + "description": "This option is an enum to permit additional types to be added, e.g.\n goog.math.Integer.", + "enum": [ + "JS_NORMAL", + "JS_STRING", + "JS_NUMBER" + ], + "title": "JS Type", + "type": "string" + }, + "lazy": { + "description": "This is only a hint. Implementations are free to choose whether to use\n eager or lazy parsing regardless of the value of this option. However,\n setting this option true suggests that the protocol author believes that\n using lazy parsing on this field is worth the additional bookkeeping\n overhead typically needed to implement it.\n\n This option does not affect the public interface of any generated code;\n all method signatures remain the same. Furthermore, thread-safety of the\n interface is not affected by this option; const methods remain safe to\n call from multiple threads concurrently, while non-const methods continue\n to require exclusive access.\n\n Note that lazy message fields are still eagerly verified to check\n ill-formed wireformat or missing required fields. Calling IsInitialized()\n on the outer message would fail if the inner message has missing required\n fields. Failed verification would result in parsing failure (except when\n uninitialized messages are acceptable).", + "title": "Should this field be parsed lazily? Lazy applies only to message-type\n fields. It means that when the outer message is initially parsed, the\n inner message's contents will not be parsed but instead stored in encoded\n form. The inner message will actually be parsed when it is first accessed.", + "type": "boolean" + }, + "packed": { + "description": "The packed option can be enabled for repeated primitive fields to enable\n a more efficient representation on the wire. Rather than repeatedly\n writing the tag and type for each element, the entire array is encoded as\n a single length-delimited blob. In proto3, only explicit setting it to\n false will avoid using packed encoding. This option is prohibited in\n Editions, but the `repeated_field_encoding` feature can be used to control\n the behavior.", + "type": "boolean" + }, + "retention": { + "enum": [ + "RETENTION_UNKNOWN", + "RETENTION_RUNTIME", + "RETENTION_SOURCE" + ], + "title": "Option Retention", + "type": "string" + }, + "targets": { + "items": { + "enum": [ + "TARGET_TYPE_UNKNOWN", + "TARGET_TYPE_FILE", + "TARGET_TYPE_EXTENSION_RANGE", + "TARGET_TYPE_MESSAGE", + "TARGET_TYPE_FIELD", + "TARGET_TYPE_ONEOF", + "TARGET_TYPE_ENUM", + "TARGET_TYPE_ENUM_ENTRY", + "TARGET_TYPE_SERVICE", + "TARGET_TYPE_METHOD" + ], + "title": "Option Target Type", + "type": "string" + }, + "type": "array" + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + }, + "unverifiedLazy": { + "description": "unverified_lazy does no correctness checks on the byte stream. This should\n only be used where lazy with verification is prohibitive for performance\n reasons.", + "type": "boolean" + }, + "weak": { + "description": "For Google-internal migration only. Do not use.", + "type": "boolean" + } + }, + "title": "Field Options", + "type": "object" + }, + "google.protobuf.FileDescriptorProto.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a complete .proto file.", + "properties": { + "dependency": { + "description": "Names of files imported by this file.", + "items": { + "type": "string" + }, + "type": "array" + }, + "edition": { + "description": "The edition of the proto file.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language.", + "enum": [ + "EDITION_UNKNOWN", + "EDITION_LEGACY", + "EDITION_PROTO2", + "EDITION_PROTO3", + "EDITION_2023", + "EDITION_2024", + "EDITION_1_TEST_ONLY", + "EDITION_2_TEST_ONLY", + "EDITION_99997_TEST_ONLY", + "EDITION_99998_TEST_ONLY", + "EDITION_99999_TEST_ONLY", + "EDITION_MAX" + ], + "title": "Edition", + "type": "string" + }, + "enumType": { + "items": { + "$ref": "#/$defs/google.protobuf.EnumDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "extension": { + "items": { + "$ref": "#/$defs/google.protobuf.FieldDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "messageType": { + "description": "All top-level definitions in this file.", + "items": { + "$ref": "#/$defs/google.protobuf.DescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "optionDependency": { + "description": "Names of files imported by this file purely for the purpose of providing\n option extensions. These are excluded from the dependency list above.", + "items": { + "type": "string" + }, + "type": "array" + }, + "options": { + "$ref": "#/$defs/google.protobuf.FileOptions.jsonschema.strict.json" + }, + "package": { + "type": "string" + }, + "publicDependency": { + "description": "Indexes of the public imported files in the dependency list above.", + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + }, + "service": { + "items": { + "$ref": "#/$defs/google.protobuf.ServiceDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "sourceCodeInfo": { + "$ref": "#/$defs/google.protobuf.SourceCodeInfo.jsonschema.strict.json", + "description": "This field contains optional information about the original source code.\n You may safely remove this entire field without harming runtime\n functionality of the descriptors -- the information is needed only by\n development tools." + }, + "syntax": { + "description": "If `edition` is present, this value must be \"editions\".\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language.", + "title": "The syntax of the proto file.\n The supported values are \"proto2\", \"proto3\", and \"editions\".", + "type": "string" + }, + "weakDependency": { + "description": "Indexes of the weak imported files in the dependency list.\n For Google-internal migration only. Do not use.", + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + } + }, + "title": "File Descriptor Proto", + "type": "object" + }, + "google.protobuf.FileDescriptorSet.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "The protocol compiler can output a FileDescriptorSet containing the .proto\n files it parses.", + "properties": { + "file": { + "items": { + "$ref": "#/$defs/google.protobuf.FileDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "File Descriptor Set", + "type": "object" + }, + "google.protobuf.FileOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "ccEnableArenas": { + "description": "Enables the use of arenas for the proto messages in this file. This applies\n only to generated classes for C++.", + "type": "boolean" + }, + "ccGenericServices": { + "description": "Generic services are now considered deprecated in favor of using plugins\n that generate code specific to your particular RPC system. Therefore,\n these default to false. Old code which depends on generic services should\n explicitly set them to true.", + "title": "Should generic services be generated in each language? \"Generic\" services\n are not specific to any particular RPC system. They are generated by the\n main code generators in each language (without additional plugins).\n Generic services were the only kind of service generation supported by\n early versions of google.protobuf.", + "type": "boolean" + }, + "csharpNamespace": { + "description": "Namespace for generated classes; defaults to the package.", + "type": "string" + }, + "deprecated": { + "description": "Is this file deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for everything in the file, or it will be completely ignored; in the very\n least, this is a formalization for deprecating files.", + "type": "boolean" + }, + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "goPackage": { + "description": "Sets the Go package where structs generated from this .proto will be\n placed. If omitted, the Go package will be derived from the following:\n - The basename of the package import path, if provided.\n - Otherwise, the package statement in the .proto file, if present.\n - Otherwise, the basename of the .proto file, without extension.", + "type": "string" + }, + "javaGenerateEqualsAndHash": { + "description": "This option does nothing.", + "type": "boolean" + }, + "javaGenericServices": { + "type": "boolean" + }, + "javaMultipleFiles": { + "description": "If enabled, then the Java code generator will generate a separate .java\n file for each top-level message, enum, and service defined in the .proto\n file. Thus, these types will *not* be nested inside the wrapper class\n named by java_outer_classname. However, the wrapper class will still be\n generated to contain the file's getDescriptor() method as well as any\n top-level extensions defined in the file.", + "type": "boolean" + }, + "javaOuterClassname": { + "description": "Controls the name of the wrapper Java class generated for the .proto file.\n That class will always contain the .proto file's getDescriptor() method as\n well as any top-level extensions defined in the .proto file.\n If java_multiple_files is disabled, then all the other classes from the\n .proto file will be nested inside the single wrapper outer class.", + "type": "string" + }, + "javaPackage": { + "description": "Sets the Java package where classes generated from this .proto will be\n placed. By default, the proto package is used, but this is often\n inappropriate because proto packages do not normally start with backwards\n domain names.", + "type": "string" + }, + "javaStringCheckUtf8": { + "description": "TODO: clarify exactly what kinds of field types this option\n applies to, and update these docs accordingly.\n\n Proto3 files already perform these checks. Setting the option explicitly to\n false has no effect: it cannot be used to opt proto3 files out of UTF-8\n checks.", + "title": "A proto2 file can set this to true to opt in to UTF-8 checking for Java,\n which will throw an exception if invalid UTF-8 is parsed from the wire or\n assigned to a string field.", + "type": "boolean" + }, + "objcClassPrefix": { + "description": "Sets the objective c class prefix which is prepended to all objective c\n generated classes from this .proto. There is no default.", + "type": "string" + }, + "optimizeFor": { + "enum": [ + "SPEED", + "CODE_SIZE", + "LITE_RUNTIME" + ], + "title": "Optimize Mode", + "type": "string" + }, + "phpClassPrefix": { + "description": "Sets the php class prefix which is prepended to all php generated classes\n from this .proto. Default is empty.", + "type": "string" + }, + "phpMetadataNamespace": { + "description": "Use this option to change the namespace of php generated metadata classes.\n Default is empty. When this option is empty, the proto file name will be\n used for determining the namespace.", + "type": "string" + }, + "phpNamespace": { + "description": "Use this option to change the namespace of php generated classes. Default\n is empty. When this option is empty, the package name will be used for\n determining the namespace.", + "type": "string" + }, + "pyGenericServices": { + "type": "boolean" + }, + "rubyPackage": { + "description": "Use this option to change the package of ruby generated classes. Default\n is empty. When this option is not set, the package name will be used for\n determining the ruby package.", + "type": "string" + }, + "swiftPrefix": { + "description": "By default Swift generators will take the proto package and CamelCase it\n replacing '.' with underscore and use that to prefix the types/symbols\n defined. When this options is provided, they will use this value instead\n to prefix the types/symbols defined.", + "type": "string" + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here.\n See the documentation for the \"Options\" section above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "File Options", + "type": "object" + }, + "google.protobuf.MessageOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "deprecated": { + "description": "Is this message deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for the message, or it will be completely ignored; in the very least,\n this is a formalization for deprecating messages.", + "type": "boolean" + }, + "deprecatedLegacyJsonFieldConflicts": { + "description": "This should only be used as a temporary measure against broken builds due\n to the change in behavior for JSON field name conflicts.\n\n TODO This is legacy behavior we plan to remove once downstream\n teams have had time to migrate.", + "title": "Enable the legacy handling of JSON field name conflicts. This lowercases\n and strips underscored from the fields before comparison in proto3 only.\n The new behavior takes `json_name` into account and applies to proto2 as\n well.", + "type": "boolean" + }, + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "mapEntry": { + "description": "For maps fields:\n map\u003cKeyType, ValueType\u003e map_field = 1;\n The parsed descriptor looks like:\n message MapFieldEntry {\n option map_entry = true;\n optional KeyType key = 1;\n optional ValueType value = 2;\n }\n repeated MapFieldEntry map_field = 1;\n\n Implementations may choose not to generate the map_entry=true message, but\n use a native map in the target language to hold the keys and values.\n The reflection APIs in such implementations still need to work as\n if the field is a repeated message field.\n\n NOTE: Do not set the option in .proto files. Always use the maps syntax\n instead. The option should only be implicitly set by the proto compiler\n parser.", + "title": "Whether the message is an automatically generated map entry type for the\n maps field.", + "type": "boolean" + }, + "messageSetWireFormat": { + "description": "The message must be defined exactly as follows:\n message Foo {\n option message_set_wire_format = true;\n extensions 4 to max;\n }\n Note that the message cannot have any defined fields; MessageSets only\n have extensions.\n\n All extensions of your type must be singular messages; e.g. they cannot\n be int32s, enums, or repeated messages.\n\n Because this is an option, the above two restrictions are not enforced by\n the protocol compiler.", + "title": "Set true to use the old proto1 MessageSet wire format for extensions.\n This is provided for backwards-compatibility with the MessageSet wire\n format. You should not use this for any other reason: It's less\n efficient, has fewer features, and is more complicated.", + "type": "boolean" + }, + "noStandardDescriptorAccessor": { + "description": "Disables the generation of the standard \"descriptor()\" accessor, which can\n conflict with a field of the same name. This is meant to make migration\n from proto1 easier; new code should avoid fields named \"descriptor\".", + "type": "boolean" + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Message Options", + "type": "object" + }, + "google.protobuf.MethodDescriptorProto.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a method of a service.", + "properties": { + "clientStreaming": { + "description": "Identifies if client streams multiple client messages", + "type": "boolean" + }, + "inputType": { + "description": "Input and output type names. These are resolved in the same way as\n FieldDescriptorProto.type_name, but must refer to a message type.", + "type": "string" + }, + "name": { + "type": "string" + }, + "options": { + "$ref": "#/$defs/google.protobuf.MethodOptions.jsonschema.strict.json" + }, + "outputType": { + "type": "string" + }, + "serverStreaming": { + "description": "Identifies if server streams multiple server messages", + "type": "boolean" + } + }, + "title": "Method Descriptor Proto", + "type": "object" + }, + "google.protobuf.MethodOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "deprecated": { + "description": "Is this method deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for the method, or it will be completely ignored; in the very least,\n this is a formalization for deprecating methods.", + "type": "boolean" + }, + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "idempotencyLevel": { + "enum": [ + "IDEMPOTENCY_UNKNOWN", + "NO_SIDE_EFFECTS", + "IDEMPOTENT" + ], + "title": "Idempotency Level", + "type": "string" + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Method Options", + "type": "object" + }, + "google.protobuf.OneofDescriptorProto.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a oneof.", + "properties": { + "name": { + "type": "string" + }, + "options": { + "$ref": "#/$defs/google.protobuf.OneofOptions.jsonschema.strict.json" + } + }, + "title": "Oneof Descriptor Proto", + "type": "object" + }, + "google.protobuf.OneofOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Oneof Options", + "type": "object" + }, + "google.protobuf.ServiceDescriptorProto.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a service.", + "properties": { + "method": { + "items": { + "$ref": "#/$defs/google.protobuf.MethodDescriptorProto.jsonschema.strict.json" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "options": { + "$ref": "#/$defs/google.protobuf.ServiceOptions.jsonschema.strict.json" + } + }, + "title": "Service Descriptor Proto", + "type": "object" + }, + "google.protobuf.ServiceOptions.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "deprecated": { + "description": "Is this service deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for the service, or it will be completely ignored; in the very least,\n this is a formalization for deprecating services.", + "type": "boolean" + }, + "features": { + "$ref": "#/$defs/google.protobuf.FeatureSet.jsonschema.strict.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "uninterpretedOption": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Service Options", + "type": "object" + }, + "google.protobuf.SourceCodeInfo.Location.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "leadingComments": { + "description": "A series of line comments appearing on consecutive lines, with no other\n tokens appearing on those lines, will be treated as a single comment.\n\n leading_detached_comments will keep paragraphs of comments that appear\n before (but not connected to) the current element. Each paragraph,\n separated by empty lines, will be one comment element in the repeated\n field.\n\n Only the comment content is provided; comment markers (e.g. //) are\n stripped out. For block comments, leading whitespace and an asterisk\n will be stripped from the beginning of each line other than the first.\n Newlines are included in the output.\n\n Examples:\n\n optional int32 foo = 1; // Comment attached to foo.\n // Comment attached to bar.\n optional int32 bar = 2;\n\n optional string baz = 3;\n // Comment attached to baz.\n // Another line attached to baz.\n\n // Comment attached to moo.\n //\n // Another line attached to moo.\n optional double moo = 4;\n\n // Detached comment for corge. This is not leading or trailing comments\n // to moo or corge because there are blank lines separating it from\n // both.\n\n // Detached comment for corge paragraph 2.\n\n optional string corge = 5;\n /* Block comment attached\n * to corge. Leading asterisks\n * will be removed. */\n /* Block comment attached to\n * grault. */\n optional int32 grault = 6;\n\n // ignored detached comments.", + "title": "If this SourceCodeInfo represents a complete declaration, these are any\n comments appearing before and after the declaration which appear to be\n attached to the declaration.", + "type": "string" + }, + "leadingDetachedComments": { + "items": { + "type": "string" + }, + "type": "array" + }, + "path": { + "description": "Each element is a field number or an index. They form a path from\n the root FileDescriptorProto to the place where the definition appears.\n For example, this path:\n [ 4, 3, 2, 7, 1 ]\n refers to:\n file.message_type(3) // 4, 3\n .field(7) // 2, 7\n .name() // 1\n This is because FileDescriptorProto.message_type has field number 4:\n repeated DescriptorProto message_type = 4;\n and DescriptorProto.field has field number 2:\n repeated FieldDescriptorProto field = 2;\n and FieldDescriptorProto.name has field number 1:\n optional string name = 1;\n\n Thus, the above path gives the location of a field name. If we removed\n the last element:\n [ 4, 3, 2, 7 ]\n this path refers to the whole field declaration (from the beginning\n of the label to the terminating semicolon).", + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "title": "Identifies which part of the FileDescriptorProto was defined at this\n location.", + "type": "array" + }, + "span": { + "description": "Always has exactly three or four elements: start line, start column,\n end line (optional, otherwise assumed same as start line), end column.\n These are packed into a single field for efficiency. Note that line\n and column numbers are zero-based -- typically you will want to add\n 1 to each before displaying to a user.", + "items": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "type": "array" + }, + "trailingComments": { + "type": "string" + } + }, + "title": "Location", + "type": "object" + }, + "google.protobuf.SourceCodeInfo.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Encapsulates information about the original source file from which a\n FileDescriptorProto was generated.", + "properties": { + "location": { + "description": "For example, say we have a file like:\n message Foo {\n optional string foo = 1;\n }\n Let's look at just the field definition:\n optional string foo = 1;\n ^ ^^ ^^ ^ ^^^\n a bc de f ghi\n We have the following locations:\n span path represents\n [a,i) [ 4, 0, 2, 0 ] The whole field definition.\n [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).\n [c,d) [ 4, 0, 2, 0, 5 ] The type (string).\n [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).\n [g,h) [ 4, 0, 2, 0, 3 ] The number (1).\n\n Notes:\n - A location may refer to a repeated field itself (i.e. not to any\n particular index within it). This is used whenever a set of elements are\n logically enclosed in a single code segment. For example, an entire\n extend block (possibly containing multiple extension definitions) will\n have an outer location whose path refers to the \"extensions\" repeated\n field without an index.\n - Multiple locations may have the same path. This happens when a single\n logical declaration is spread out across multiple places. The most\n obvious example is the \"extend\" block again -- there may be multiple\n extend blocks in the same scope, each of which will have the same path.\n - A location's span is not always a subset of its parent's span. For\n example, the \"extendee\" of an extension declaration appears at the\n beginning of the \"extend\" block and is shared by all extensions within\n the block.\n - Just because a location's span is a subset of some other location's span\n does not mean that it is a descendant. For example, a \"group\" defines\n both a type and a field in a single declaration. Thus, the locations\n corresponding to the type and field and their components will overlap.\n - Code which tries to interpret locations should probably be designed to\n ignore those that it doesn't understand, as more types of locations could\n be recorded in the future.", + "items": { + "$ref": "#/$defs/google.protobuf.SourceCodeInfo.Location.jsonschema.strict.json" + }, + "title": "A Location identifies a piece of source code in a .proto file which\n corresponds to a particular definition. This information is intended\n to be useful to IDEs, code indexers, documentation generators, and similar\n tools.", + "type": "array" + } + }, + "title": "Source Code Info", + "type": "object" + }, + "google.protobuf.UninterpretedOption.NamePart.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "The name of the uninterpreted option. Each string represents a segment in\n a dot-separated name. is_extension is true iff a segment represents an\n extension (denoted with parentheses in options specs in .proto files).\n E.g.,{ [\"foo\", false], [\"bar.baz\", true], [\"moo\", false] } represents\n \"foo.(bar.baz).moo\".", + "properties": { + "isExtension": { + "type": "boolean" + }, + "namePart": { + "type": "string" + } + }, + "title": "Name Part", + "type": "object" + }, + "google.protobuf.UninterpretedOption.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "A message representing a option the parser does not recognize. This only\n appears in options protos created by the compiler::Parser class.\n DescriptorPool resolves these when building Descriptor objects. Therefore,\n options protos in descriptor objects (e.g. returned by Descriptor::options(),\n or produced by Descriptor::CopyTo()) will never have UninterpretedOptions\n in them.", + "properties": { + "aggregateValue": { + "type": "string" + }, + "doubleValue": { + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + } + ] + }, + "identifierValue": { + "description": "The value of the uninterpreted option, in whatever type the tokenizer\n identified it as during parsing. Exactly one of these should be set.", + "type": "string" + }, + "name": { + "items": { + "$ref": "#/$defs/google.protobuf.UninterpretedOption.NamePart.jsonschema.strict.json" + }, + "type": "array" + }, + "negativeIntValue": { + "type": "integer" + }, + "positiveIntValue": { + "minimum": 0, + "type": "integer" + }, + "stringValue": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "Uninterpreted Option", + "type": "object" + } + }, + "$id": "buf.validate.conformance.harness.TestConformanceRequest.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.harness.TestConformanceRequest.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.harness.TestConformanceRequest.schema.json b/internal/gen/jsonschema/buf.validate.conformance.harness.TestConformanceRequest.schema.json new file mode 100644 index 00000000..64f07b7a --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.harness.TestConformanceRequest.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "buf.validate.conformance.harness.TestConformanceRequest.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "TestConformanceRequest is the request for Conformance Tests.\n The FileDescriptorSet is the FileDescriptorSet to test against.\n The cases map is a map of case name to the Any message that represents the case.", + "properties": { + "cases": { + "additionalProperties": { + "$ref": "google.protobuf.Any.schema.json" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + }, + "fdset": { + "$ref": "google.protobuf.FileDescriptorSet.schema.json" + } + }, + "title": "Test Conformance Request", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.harness.TestConformanceResponse.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.harness.TestConformanceResponse.jsonschema.strict.bundle.json new file mode 100644 index 00000000..d0d04764 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.harness.TestConformanceResponse.jsonschema.strict.bundle.json @@ -0,0 +1,233 @@ +{ + "$defs": { + "buf.validate.FieldPath.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "This message provides enough information to render a dotted field path even without protobuf descriptors.\n It also provides enough information to resolve a nested field through unknown wire data.", + "properties": { + "elements": { + "description": "`elements` contains each element of the path, starting from the root and recursing downward.", + "items": { + "$ref": "#/$defs/buf.validate.FieldPathElement.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "`FieldPath` provides a path to a nested protobuf field.", + "type": "object" + }, + "buf.validate.FieldPathElement.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "If the selected field is a map or repeated field, the `subscript` value selects a specific element from it.\n A path that refers to a value nested under a map key or repeated field index will have a `subscript` value.\n The `field_type` field allows unambiguous resolution of a field even if descriptors are not available.", + "properties": { + "boolKey": { + "description": "`bool_key` specifies a map key of type bool.", + "type": "boolean" + }, + "fieldName": { + "description": "`field_name` contains the field name this path element refers to.\n This can be used to display a human-readable path even if the field number is unknown.", + "type": "string" + }, + "fieldNumber": { + "description": "`field_number` is the field number this path element refers to.", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "fieldType": { + "description": "This value is provided to make it possible to traverse unknown fields through wire data.\n When traversing wire data, be mindful of both packed[1] and delimited[2] encoding schemes.\n\n [1]: https://protobuf.dev/programming-guides/encoding/#packed\n [2]: https://protobuf.dev/programming-guides/encoding/#groups\n\n N.B.: Although groups are deprecated, the corresponding delimited encoding scheme is not, and\n can be explicitly used in Protocol Buffers 2023 Edition.", + "enum": [ + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "title": "Type", + "type": "string" + }, + "index": { + "description": "`index` specifies a 0-based index into a repeated field.", + "minimum": 0, + "type": "integer" + }, + "intKey": { + "description": "`int_key` specifies a map key of type int32, int64, sint32, sint64, sfixed32 or sfixed64.", + "type": "integer" + }, + "keyType": { + "description": "`key_type` specifies the map key type of this field. This value is useful when traversing\n unknown fields through wire data: specifically, it allows handling the differences between\n different integer encodings.", + "enum": [ + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "title": "Type", + "type": "string" + }, + "stringKey": { + "description": "`string_key` specifies a map key of type string.", + "type": "string" + }, + "uintKey": { + "description": "`uint_key` specifies a map key of type uint32, uint64, fixed32 or fixed64.", + "minimum": 0, + "type": "integer" + }, + "valueType": { + "description": "`value_type` specifies map value type of this field. This is useful if you want to display a\n value inside unknown fields through wire data.", + "enum": [ + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "title": "Type", + "type": "string" + } + }, + "title": "`FieldPathElement` provides enough information to nest through a single protobuf field.", + "type": "object" + }, + "buf.validate.Violation.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "For example, consider the following message:\n\n ```proto\n message User {\n int32 age = 1 [(buf.validate.field).cel = {\n id: \"user.age\",\n expression: \"this \u003c 18 ? 'User must be at least 18 years old' : ''\",\n }];\n }\n ```\n\n It could produce the following violation:\n\n ```json\n {\n \"ruleId\": \"user.age\",\n \"message\": \"User must be at least 18 years old\",\n \"field\": {\n \"elements\": [\n {\n \"fieldNumber\": 1,\n \"fieldName\": \"age\",\n \"fieldType\": \"TYPE_INT32\"\n }\n ]\n },\n \"rule\": {\n \"elements\": [\n {\n \"fieldNumber\": 23,\n \"fieldName\": \"cel\",\n \"fieldType\": \"TYPE_MESSAGE\",\n \"index\": \"0\"\n }\n ]\n }\n }\n ```", + "properties": { + "field": { + "$ref": "#/$defs/buf.validate.FieldPath.jsonschema.strict.json", + "description": "For example, consider the following message:\n\n ```proto\n message Message {\n bool a = 1 [(buf.validate.field).required = true];\n }\n ```\n\n It could produce the following violation:\n\n ```textproto\n violation {\n field { element { field_number: 1, field_name: \"a\", field_type: 8 } }\n ...\n }\n ```", + "title": "`field` is a machine-readable path to the field that failed validation.\n This could be a nested field, in which case the path will include all the parent fields leading to the actual field that caused the violation." + }, + "forKey": { + "description": "`for_key` indicates whether the violation was caused by a map key, rather than a value.", + "type": "boolean" + }, + "message": { + "description": "`message` is a human-readable error message that describes the nature of the violation.\n This can be the default error message from the violated `Rule`, or it can be a custom message that gives more context about the violation.", + "type": "string" + }, + "rule": { + "$ref": "#/$defs/buf.validate.FieldPath.jsonschema.strict.json", + "description": "For example, consider the following message:\n\n ```proto\n message Message {\n bool a = 1 [(buf.validate.field).required = true];\n bool b = 2 [(buf.validate.field).cel = {\n id: \"custom_rule\",\n expression: \"!this ? 'b must be true': ''\"\n }]\n }\n ```\n\n It could produce the following violations:\n\n ```textproto\n violation {\n rule { element { field_number: 25, field_name: \"required\", field_type: 8 } }\n ...\n }\n violation {\n rule { element { field_number: 23, field_name: \"cel\", field_type: 11, index: 0 } }\n ...\n }\n ```", + "title": "`rule` is a machine-readable path that points to the specific rule that failed validation.\n This will be a nested field starting from the FieldRules of the field that failed validation.\n For custom rules, this will provide the path of the rule, e.g. `cel[0]`." + }, + "ruleId": { + "description": "`rule_id` is the unique identifier of the `Rule` that was not fulfilled.\n This is the same `id` that was specified in the `Rule` message, allowing easy tracing of which rule was violated.", + "type": "string" + } + }, + "title": "`Violation` represents a single instance where a validation rule, expressed\n as a `Rule`, was not met. It provides information about the field that\n caused the violation, the specific rule that wasn't fulfilled, and a\n human-readable error message.", + "type": "object" + }, + "buf.validate.Violations.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "`Violations` is a collection of `Violation` messages. This message type is returned by\n Protovalidate when a proto message fails to meet the requirements set by the `Rule` validation rules.\n Each individual violation is represented by a `Violation` message.", + "properties": { + "violations": { + "description": "`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.", + "items": { + "$ref": "#/$defs/buf.validate.Violation.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Violations", + "type": "object" + }, + "buf.validate.conformance.harness.TestConformanceResponse.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "TestConformanceResponse is the response for Conformance Tests.\n The results map is a map of case name to the TestResult.", + "properties": { + "results": { + "additionalProperties": { + "$ref": "#/$defs/buf.validate.conformance.harness.TestResult.jsonschema.strict.json" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "title": "Test Conformance Response", + "type": "object" + }, + "buf.validate.conformance.harness.TestResult.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "TestResult is the result of a single test. Only one of the fields will be set.", + "properties": { + "compilationError": { + "description": "compilation_error is the error if the test failed due to compilation errors.", + "type": "string" + }, + "runtimeError": { + "description": "runtime_error is the error if the test failed due to runtime errors.", + "type": "string" + }, + "success": { + "description": "success is true if the test succeeded.", + "type": "boolean" + }, + "unexpectedError": { + "description": "unexpected_error is any other error that may have occurred.", + "type": "string" + }, + "validationError": { + "$ref": "#/$defs/buf.validate.Violations.jsonschema.strict.json", + "description": "validation_error is the error if the test failed due to validation errors." + } + }, + "title": "Test Result", + "type": "object" + } + }, + "$id": "buf.validate.conformance.harness.TestConformanceResponse.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.harness.TestConformanceResponse.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.harness.TestConformanceResponse.schema.json b/internal/gen/jsonschema/buf.validate.conformance.harness.TestConformanceResponse.schema.json new file mode 100644 index 00000000..362b4645 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.harness.TestConformanceResponse.schema.json @@ -0,0 +1,19 @@ +{ + "$id": "buf.validate.conformance.harness.TestConformanceResponse.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "TestConformanceResponse is the response for Conformance Tests.\n The results map is a map of case name to the TestResult.", + "properties": { + "results": { + "additionalProperties": { + "$ref": "buf.validate.conformance.harness.TestResult.schema.json" + }, + "propertyNames": { + "type": "string" + }, + "type": "object" + } + }, + "title": "Test Conformance Response", + "type": "object" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.harness.TestResult.jsonschema.strict.bundle.json b/internal/gen/jsonschema/buf.validate.conformance.harness.TestResult.jsonschema.strict.bundle.json new file mode 100644 index 00000000..766a4877 --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.harness.TestResult.jsonschema.strict.bundle.json @@ -0,0 +1,215 @@ +{ + "$defs": { + "buf.validate.FieldPath.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "This message provides enough information to render a dotted field path even without protobuf descriptors.\n It also provides enough information to resolve a nested field through unknown wire data.", + "properties": { + "elements": { + "description": "`elements` contains each element of the path, starting from the root and recursing downward.", + "items": { + "$ref": "#/$defs/buf.validate.FieldPathElement.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "`FieldPath` provides a path to a nested protobuf field.", + "type": "object" + }, + "buf.validate.FieldPathElement.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "If the selected field is a map or repeated field, the `subscript` value selects a specific element from it.\n A path that refers to a value nested under a map key or repeated field index will have a `subscript` value.\n The `field_type` field allows unambiguous resolution of a field even if descriptors are not available.", + "properties": { + "boolKey": { + "description": "`bool_key` specifies a map key of type bool.", + "type": "boolean" + }, + "fieldName": { + "description": "`field_name` contains the field name this path element refers to.\n This can be used to display a human-readable path even if the field number is unknown.", + "type": "string" + }, + "fieldNumber": { + "description": "`field_number` is the field number this path element refers to.", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + "fieldType": { + "description": "This value is provided to make it possible to traverse unknown fields through wire data.\n When traversing wire data, be mindful of both packed[1] and delimited[2] encoding schemes.\n\n [1]: https://protobuf.dev/programming-guides/encoding/#packed\n [2]: https://protobuf.dev/programming-guides/encoding/#groups\n\n N.B.: Although groups are deprecated, the corresponding delimited encoding scheme is not, and\n can be explicitly used in Protocol Buffers 2023 Edition.", + "enum": [ + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "title": "Type", + "type": "string" + }, + "index": { + "description": "`index` specifies a 0-based index into a repeated field.", + "minimum": 0, + "type": "integer" + }, + "intKey": { + "description": "`int_key` specifies a map key of type int32, int64, sint32, sint64, sfixed32 or sfixed64.", + "type": "integer" + }, + "keyType": { + "description": "`key_type` specifies the map key type of this field. This value is useful when traversing\n unknown fields through wire data: specifically, it allows handling the differences between\n different integer encodings.", + "enum": [ + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "title": "Type", + "type": "string" + }, + "stringKey": { + "description": "`string_key` specifies a map key of type string.", + "type": "string" + }, + "uintKey": { + "description": "`uint_key` specifies a map key of type uint32, uint64, fixed32 or fixed64.", + "minimum": 0, + "type": "integer" + }, + "valueType": { + "description": "`value_type` specifies map value type of this field. This is useful if you want to display a\n value inside unknown fields through wire data.", + "enum": [ + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "title": "Type", + "type": "string" + } + }, + "title": "`FieldPathElement` provides enough information to nest through a single protobuf field.", + "type": "object" + }, + "buf.validate.Violation.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "For example, consider the following message:\n\n ```proto\n message User {\n int32 age = 1 [(buf.validate.field).cel = {\n id: \"user.age\",\n expression: \"this \u003c 18 ? 'User must be at least 18 years old' : ''\",\n }];\n }\n ```\n\n It could produce the following violation:\n\n ```json\n {\n \"ruleId\": \"user.age\",\n \"message\": \"User must be at least 18 years old\",\n \"field\": {\n \"elements\": [\n {\n \"fieldNumber\": 1,\n \"fieldName\": \"age\",\n \"fieldType\": \"TYPE_INT32\"\n }\n ]\n },\n \"rule\": {\n \"elements\": [\n {\n \"fieldNumber\": 23,\n \"fieldName\": \"cel\",\n \"fieldType\": \"TYPE_MESSAGE\",\n \"index\": \"0\"\n }\n ]\n }\n }\n ```", + "properties": { + "field": { + "$ref": "#/$defs/buf.validate.FieldPath.jsonschema.strict.json", + "description": "For example, consider the following message:\n\n ```proto\n message Message {\n bool a = 1 [(buf.validate.field).required = true];\n }\n ```\n\n It could produce the following violation:\n\n ```textproto\n violation {\n field { element { field_number: 1, field_name: \"a\", field_type: 8 } }\n ...\n }\n ```", + "title": "`field` is a machine-readable path to the field that failed validation.\n This could be a nested field, in which case the path will include all the parent fields leading to the actual field that caused the violation." + }, + "forKey": { + "description": "`for_key` indicates whether the violation was caused by a map key, rather than a value.", + "type": "boolean" + }, + "message": { + "description": "`message` is a human-readable error message that describes the nature of the violation.\n This can be the default error message from the violated `Rule`, or it can be a custom message that gives more context about the violation.", + "type": "string" + }, + "rule": { + "$ref": "#/$defs/buf.validate.FieldPath.jsonschema.strict.json", + "description": "For example, consider the following message:\n\n ```proto\n message Message {\n bool a = 1 [(buf.validate.field).required = true];\n bool b = 2 [(buf.validate.field).cel = {\n id: \"custom_rule\",\n expression: \"!this ? 'b must be true': ''\"\n }]\n }\n ```\n\n It could produce the following violations:\n\n ```textproto\n violation {\n rule { element { field_number: 25, field_name: \"required\", field_type: 8 } }\n ...\n }\n violation {\n rule { element { field_number: 23, field_name: \"cel\", field_type: 11, index: 0 } }\n ...\n }\n ```", + "title": "`rule` is a machine-readable path that points to the specific rule that failed validation.\n This will be a nested field starting from the FieldRules of the field that failed validation.\n For custom rules, this will provide the path of the rule, e.g. `cel[0]`." + }, + "ruleId": { + "description": "`rule_id` is the unique identifier of the `Rule` that was not fulfilled.\n This is the same `id` that was specified in the `Rule` message, allowing easy tracing of which rule was violated.", + "type": "string" + } + }, + "title": "`Violation` represents a single instance where a validation rule, expressed\n as a `Rule`, was not met. It provides information about the field that\n caused the violation, the specific rule that wasn't fulfilled, and a\n human-readable error message.", + "type": "object" + }, + "buf.validate.Violations.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "`Violations` is a collection of `Violation` messages. This message type is returned by\n Protovalidate when a proto message fails to meet the requirements set by the `Rule` validation rules.\n Each individual violation is represented by a `Violation` message.", + "properties": { + "violations": { + "description": "`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.", + "items": { + "$ref": "#/$defs/buf.validate.Violation.jsonschema.strict.json" + }, + "type": "array" + } + }, + "title": "Violations", + "type": "object" + }, + "buf.validate.conformance.harness.TestResult.jsonschema.strict.json": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "TestResult is the result of a single test. Only one of the fields will be set.", + "properties": { + "compilationError": { + "description": "compilation_error is the error if the test failed due to compilation errors.", + "type": "string" + }, + "runtimeError": { + "description": "runtime_error is the error if the test failed due to runtime errors.", + "type": "string" + }, + "success": { + "description": "success is true if the test succeeded.", + "type": "boolean" + }, + "unexpectedError": { + "description": "unexpected_error is any other error that may have occurred.", + "type": "string" + }, + "validationError": { + "$ref": "#/$defs/buf.validate.Violations.jsonschema.strict.json", + "description": "validation_error is the error if the test failed due to validation errors." + } + }, + "title": "Test Result", + "type": "object" + } + }, + "$id": "buf.validate.conformance.harness.TestResult.jsonschema.strict.bundle.json", + "$ref": "#/$defs/buf.validate.conformance.harness.TestResult.jsonschema.strict.json", + "$schema": "https://json-schema.org/draft/2020-12/schema" +} diff --git a/internal/gen/jsonschema/buf.validate.conformance.harness.TestResult.schema.json b/internal/gen/jsonschema/buf.validate.conformance.harness.TestResult.schema.json new file mode 100644 index 00000000..da9922dc --- /dev/null +++ b/internal/gen/jsonschema/buf.validate.conformance.harness.TestResult.schema.json @@ -0,0 +1,48 @@ +{ + "$id": "buf.validate.conformance.harness.TestResult.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "TestResult is the result of a single test. Only one of the fields will be set.", + "patternProperties": { + "^(compilationError)$": { + "description": "compilation_error is the error if the test failed due to compilation errors.", + "type": "string" + }, + "^(runtimeError)$": { + "description": "runtime_error is the error if the test failed due to runtime errors.", + "type": "string" + }, + "^(unexpectedError)$": { + "description": "unexpected_error is any other error that may have occurred.", + "type": "string" + }, + "^(validationError)$": { + "$ref": "buf.validate.Violations.schema.json", + "description": "validation_error is the error if the test failed due to validation errors." + } + }, + "properties": { + "compilation_error": { + "description": "compilation_error is the error if the test failed due to compilation errors.", + "type": "string" + }, + "runtime_error": { + "description": "runtime_error is the error if the test failed due to runtime errors.", + "type": "string" + }, + "success": { + "description": "success is true if the test succeeded.", + "type": "boolean" + }, + "unexpected_error": { + "description": "unexpected_error is any other error that may have occurred.", + "type": "string" + }, + "validation_error": { + "$ref": "buf.validate.Violations.schema.json", + "description": "validation_error is the error if the test failed due to validation errors." + } + }, + "title": "Test Result", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.DescriptorProto.ExtensionRange.schema.json b/internal/gen/jsonschema/google.protobuf.DescriptorProto.ExtensionRange.schema.json new file mode 100644 index 00000000..86caea86 --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.DescriptorProto.ExtensionRange.schema.json @@ -0,0 +1,38 @@ +{ + "$id": "google.protobuf.DescriptorProto.ExtensionRange.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "end": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "options": { + "$ref": "google.protobuf.ExtensionRangeOptions.schema.json" + }, + "start": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Extension Range", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.DescriptorProto.ReservedRange.schema.json b/internal/gen/jsonschema/google.protobuf.DescriptorProto.ReservedRange.schema.json new file mode 100644 index 00000000..f6a54afe --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.DescriptorProto.ReservedRange.schema.json @@ -0,0 +1,36 @@ +{ + "$id": "google.protobuf.DescriptorProto.ReservedRange.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Range of reserved tag numbers. Reserved tag numbers may not be used by\n fields or extension ranges in the same message. Reserved ranges may\n not overlap.", + "properties": { + "end": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "start": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Reserved Range", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.DescriptorProto.schema.json b/internal/gen/jsonschema/google.protobuf.DescriptorProto.schema.json new file mode 100644 index 00000000..5ca9f4e7 --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.DescriptorProto.schema.json @@ -0,0 +1,123 @@ +{ + "$id": "google.protobuf.DescriptorProto.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a message type.", + "patternProperties": { + "^(enumType)$": { + "items": { + "$ref": "google.protobuf.EnumDescriptorProto.schema.json" + }, + "type": "array" + }, + "^(extensionRange)$": { + "items": { + "$ref": "google.protobuf.DescriptorProto.ExtensionRange.schema.json" + }, + "type": "array" + }, + "^(nestedType)$": { + "items": { + "$ref": "#" + }, + "type": "array" + }, + "^(oneofDecl)$": { + "items": { + "$ref": "google.protobuf.OneofDescriptorProto.schema.json" + }, + "type": "array" + }, + "^(reservedName)$": { + "description": "Reserved field names, which may not be used by fields in the same message.\n A given name may only be reserved once.", + "items": { + "type": "string" + }, + "type": "array" + }, + "^(reservedRange)$": { + "items": { + "$ref": "google.protobuf.DescriptorProto.ReservedRange.schema.json" + }, + "type": "array" + } + }, + "properties": { + "enum_type": { + "items": { + "$ref": "google.protobuf.EnumDescriptorProto.schema.json" + }, + "type": "array" + }, + "extension": { + "items": { + "$ref": "google.protobuf.FieldDescriptorProto.schema.json" + }, + "type": "array" + }, + "extension_range": { + "items": { + "$ref": "google.protobuf.DescriptorProto.ExtensionRange.schema.json" + }, + "type": "array" + }, + "field": { + "items": { + "$ref": "google.protobuf.FieldDescriptorProto.schema.json" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "nested_type": { + "items": { + "$ref": "#" + }, + "type": "array" + }, + "oneof_decl": { + "items": { + "$ref": "google.protobuf.OneofDescriptorProto.schema.json" + }, + "type": "array" + }, + "options": { + "$ref": "google.protobuf.MessageOptions.schema.json" + }, + "reserved_name": { + "description": "Reserved field names, which may not be used by fields in the same message.\n A given name may only be reserved once.", + "items": { + "type": "string" + }, + "type": "array" + }, + "reserved_range": { + "items": { + "$ref": "google.protobuf.DescriptorProto.ReservedRange.schema.json" + }, + "type": "array" + }, + "visibility": { + "anyOf": [ + { + "enum": [ + "VISIBILITY_UNSET", + "VISIBILITY_LOCAL", + "VISIBILITY_EXPORT" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "description": "Support for `export` and `local` keywords on enums.", + "title": "Symbol Visibility" + } + }, + "title": "Descriptor Proto", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.EnumDescriptorProto.EnumReservedRange.schema.json b/internal/gen/jsonschema/google.protobuf.EnumDescriptorProto.EnumReservedRange.schema.json new file mode 100644 index 00000000..f7ff1d3a --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.EnumDescriptorProto.EnumReservedRange.schema.json @@ -0,0 +1,36 @@ +{ + "$id": "google.protobuf.EnumDescriptorProto.EnumReservedRange.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Note that this is distinct from DescriptorProto.ReservedRange in that it\n is inclusive such that it can appropriately represent the entire int32\n domain.", + "properties": { + "end": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "start": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + } + }, + "title": "Range of reserved numeric values. Reserved values may not be used by\n entries in the same enum. Reserved ranges may not overlap.", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.EnumDescriptorProto.schema.json b/internal/gen/jsonschema/google.protobuf.EnumDescriptorProto.schema.json new file mode 100644 index 00000000..1f17a3f0 --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.EnumDescriptorProto.schema.json @@ -0,0 +1,71 @@ +{ + "$id": "google.protobuf.EnumDescriptorProto.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes an enum type.", + "patternProperties": { + "^(reservedName)$": { + "description": "Reserved enum value names, which may not be reused. A given name may only\n be reserved once.", + "items": { + "type": "string" + }, + "type": "array" + }, + "^(reservedRange)$": { + "description": "Range of reserved numeric values. Reserved numeric values may not be used\n by enum values in the same enum declaration. Reserved ranges may not\n overlap.", + "items": { + "$ref": "google.protobuf.EnumDescriptorProto.EnumReservedRange.schema.json" + }, + "type": "array" + } + }, + "properties": { + "name": { + "type": "string" + }, + "options": { + "$ref": "google.protobuf.EnumOptions.schema.json" + }, + "reserved_name": { + "description": "Reserved enum value names, which may not be reused. A given name may only\n be reserved once.", + "items": { + "type": "string" + }, + "type": "array" + }, + "reserved_range": { + "description": "Range of reserved numeric values. Reserved numeric values may not be used\n by enum values in the same enum declaration. Reserved ranges may not\n overlap.", + "items": { + "$ref": "google.protobuf.EnumDescriptorProto.EnumReservedRange.schema.json" + }, + "type": "array" + }, + "value": { + "items": { + "$ref": "google.protobuf.EnumValueDescriptorProto.schema.json" + }, + "type": "array" + }, + "visibility": { + "anyOf": [ + { + "enum": [ + "VISIBILITY_UNSET", + "VISIBILITY_LOCAL", + "VISIBILITY_EXPORT" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "description": "Support for `export` and `local` keywords on enums.", + "title": "Symbol Visibility" + } + }, + "title": "Enum Descriptor Proto", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.EnumOptions.schema.json b/internal/gen/jsonschema/google.protobuf.EnumOptions.schema.json new file mode 100644 index 00000000..88cf734f --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.EnumOptions.schema.json @@ -0,0 +1,49 @@ +{ + "$id": "google.protobuf.EnumOptions.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "patternProperties": { + "^(allowAlias)$": { + "description": "Set this option to true to allow mapping different tag names to the same\n value.", + "type": "boolean" + }, + "^(deprecatedLegacyJsonFieldConflicts)$": { + "description": "Enable the legacy handling of JSON field name conflicts. This lowercases\n and strips underscored from the fields before comparison in proto3 only.\n The new behavior takes `json_name` into account and applies to proto2 as\n well.\n TODO Remove this legacy behavior once downstream teams have\n had time to migrate.", + "type": "boolean" + }, + "^(uninterpretedOption)$": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "google.protobuf.UninterpretedOption.schema.json" + }, + "type": "array" + } + }, + "properties": { + "allow_alias": { + "description": "Set this option to true to allow mapping different tag names to the same\n value.", + "type": "boolean" + }, + "deprecated": { + "description": "Is this enum deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for the enum, or it will be completely ignored; in the very least, this\n is a formalization for deprecating enums.", + "type": "boolean" + }, + "deprecated_legacy_json_field_conflicts": { + "description": "Enable the legacy handling of JSON field name conflicts. This lowercases\n and strips underscored from the fields before comparison in proto3 only.\n The new behavior takes `json_name` into account and applies to proto2 as\n well.\n TODO Remove this legacy behavior once downstream teams have\n had time to migrate.", + "type": "boolean" + }, + "features": { + "$ref": "google.protobuf.FeatureSet.schema.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "uninterpreted_option": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "google.protobuf.UninterpretedOption.schema.json" + }, + "type": "array" + } + }, + "title": "Enum Options", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.EnumValueDescriptorProto.schema.json b/internal/gen/jsonschema/google.protobuf.EnumValueDescriptorProto.schema.json new file mode 100644 index 00000000..fb94d388 --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.EnumValueDescriptorProto.schema.json @@ -0,0 +1,29 @@ +{ + "$id": "google.protobuf.EnumValueDescriptorProto.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a value within an enum.", + "properties": { + "name": { + "type": "string" + }, + "number": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "options": { + "$ref": "google.protobuf.EnumValueOptions.schema.json" + } + }, + "title": "Enum Value Descriptor Proto", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.EnumValueOptions.schema.json b/internal/gen/jsonschema/google.protobuf.EnumValueOptions.schema.json new file mode 100644 index 00000000..2b7a3a99 --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.EnumValueOptions.schema.json @@ -0,0 +1,49 @@ +{ + "$id": "google.protobuf.EnumValueOptions.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "patternProperties": { + "^(debugRedact)$": { + "description": "Indicate that fields annotated with this enum value should not be printed\n out when using debug formats, e.g. when the field contains sensitive\n credentials.", + "type": "boolean" + }, + "^(featureSupport)$": { + "$ref": "google.protobuf.FieldOptions.FeatureSupport.schema.json", + "description": "Information about the support window of a feature value." + }, + "^(uninterpretedOption)$": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "google.protobuf.UninterpretedOption.schema.json" + }, + "type": "array" + } + }, + "properties": { + "debug_redact": { + "description": "Indicate that fields annotated with this enum value should not be printed\n out when using debug formats, e.g. when the field contains sensitive\n credentials.", + "type": "boolean" + }, + "deprecated": { + "description": "Is this enum value deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for the enum value, or it will be completely ignored; in the very least,\n this is a formalization for deprecating enum values.", + "type": "boolean" + }, + "feature_support": { + "$ref": "google.protobuf.FieldOptions.FeatureSupport.schema.json", + "description": "Information about the support window of a feature value." + }, + "features": { + "$ref": "google.protobuf.FeatureSet.schema.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "uninterpreted_option": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "google.protobuf.UninterpretedOption.schema.json" + }, + "type": "array" + } + }, + "title": "Enum Value Options", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.ExtensionRangeOptions.Declaration.schema.json b/internal/gen/jsonschema/google.protobuf.ExtensionRangeOptions.Declaration.schema.json new file mode 100644 index 00000000..f3bae60a --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.ExtensionRangeOptions.Declaration.schema.json @@ -0,0 +1,45 @@ +{ + "$id": "google.protobuf.ExtensionRangeOptions.Declaration.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "patternProperties": { + "^(fullName)$": { + "description": "The fully-qualified name of the extension field. There must be a leading\n dot in front of the full name.", + "type": "string" + } + }, + "properties": { + "full_name": { + "description": "The fully-qualified name of the extension field. There must be a leading\n dot in front of the full name.", + "type": "string" + }, + "number": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "description": "The extension number declared within the extension range." + }, + "repeated": { + "description": "If true, indicates that the extension must be defined as repeated.\n Otherwise the extension must be defined as optional.", + "type": "boolean" + }, + "reserved": { + "description": "If true, indicates that the number is reserved in the extension range,\n and any extension field with the number will fail to compile. Set this\n when a declared extension field is deleted.", + "type": "boolean" + }, + "type": { + "description": "The fully-qualified type name of the extension field. Unlike\n Metadata.type, Declaration.type must have a leading dot for messages\n and enums.", + "type": "string" + } + }, + "title": "Declaration", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.ExtensionRangeOptions.schema.json b/internal/gen/jsonschema/google.protobuf.ExtensionRangeOptions.schema.json new file mode 100644 index 00000000..3512940c --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.ExtensionRangeOptions.schema.json @@ -0,0 +1,54 @@ +{ + "$id": "google.protobuf.ExtensionRangeOptions.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "patternProperties": { + "^(uninterpretedOption)$": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "google.protobuf.UninterpretedOption.schema.json" + }, + "type": "array" + } + }, + "properties": { + "declaration": { + "description": "For external users: DO NOT USE. We are in the process of open sourcing\n extension declaration and executing internal cleanups before it can be\n used externally.", + "items": { + "$ref": "google.protobuf.ExtensionRangeOptions.Declaration.schema.json" + }, + "type": "array" + }, + "features": { + "$ref": "google.protobuf.FeatureSet.schema.json", + "description": "Any features defined in the specific edition." + }, + "uninterpreted_option": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "google.protobuf.UninterpretedOption.schema.json" + }, + "type": "array" + }, + "verification": { + "anyOf": [ + { + "enum": [ + "DECLARATION", + "UNVERIFIED" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "description": "The verification state of the range.\n TODO: flip the default to DECLARATION once all empty ranges\n are marked as UNVERIFIED.", + "title": "Verification State" + } + }, + "title": "Extension Range Options", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.FeatureSet.schema.json b/internal/gen/jsonschema/google.protobuf.FeatureSet.schema.json new file mode 100644 index 00000000..4065f524 --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.FeatureSet.schema.json @@ -0,0 +1,306 @@ +{ + "$id": "google.protobuf.FeatureSet.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "TODO Enums in C++ gencode (and potentially other languages) are\n not well scoped. This means that each of the feature enums below can clash\n with each other. The short names we've chosen maximize call-site\n readability, but leave us very open to this scenario. A future feature will\n be designed and implemented to handle this, hopefully before we ever hit a\n conflict here.", + "patternProperties": { + "^(defaultSymbolVisibility)$": { + "anyOf": [ + { + "enum": [ + "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN", + "EXPORT_ALL", + "EXPORT_TOP_LEVEL", + "LOCAL_ALL", + "STRICT" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Default Symbol Visibility" + }, + "^(enforceNamingStyle)$": { + "anyOf": [ + { + "enum": [ + "ENFORCE_NAMING_STYLE_UNKNOWN", + "STYLE2024", + "STYLE_LEGACY" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Enforce Naming Style" + }, + "^(enumType)$": { + "anyOf": [ + { + "enum": [ + "ENUM_TYPE_UNKNOWN", + "OPEN", + "CLOSED" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Enum Type" + }, + "^(fieldPresence)$": { + "anyOf": [ + { + "enum": [ + "FIELD_PRESENCE_UNKNOWN", + "EXPLICIT", + "IMPLICIT", + "LEGACY_REQUIRED" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Field Presence" + }, + "^(jsonFormat)$": { + "anyOf": [ + { + "enum": [ + "JSON_FORMAT_UNKNOWN", + "ALLOW", + "LEGACY_BEST_EFFORT" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Json Format" + }, + "^(messageEncoding)$": { + "anyOf": [ + { + "enum": [ + "MESSAGE_ENCODING_UNKNOWN", + "LENGTH_PREFIXED", + "DELIMITED" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Message Encoding" + }, + "^(repeatedFieldEncoding)$": { + "anyOf": [ + { + "enum": [ + "REPEATED_FIELD_ENCODING_UNKNOWN", + "PACKED", + "EXPANDED" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Repeated Field Encoding" + }, + "^(utf8Validation)$": { + "anyOf": [ + { + "enum": [ + "UTF8_VALIDATION_UNKNOWN", + "VERIFY", + "NONE" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Utf8 Validation" + } + }, + "properties": { + "default_symbol_visibility": { + "anyOf": [ + { + "enum": [ + "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN", + "EXPORT_ALL", + "EXPORT_TOP_LEVEL", + "LOCAL_ALL", + "STRICT" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Default Symbol Visibility" + }, + "enforce_naming_style": { + "anyOf": [ + { + "enum": [ + "ENFORCE_NAMING_STYLE_UNKNOWN", + "STYLE2024", + "STYLE_LEGACY" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Enforce Naming Style" + }, + "enum_type": { + "anyOf": [ + { + "enum": [ + "ENUM_TYPE_UNKNOWN", + "OPEN", + "CLOSED" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Enum Type" + }, + "field_presence": { + "anyOf": [ + { + "enum": [ + "FIELD_PRESENCE_UNKNOWN", + "EXPLICIT", + "IMPLICIT", + "LEGACY_REQUIRED" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Field Presence" + }, + "json_format": { + "anyOf": [ + { + "enum": [ + "JSON_FORMAT_UNKNOWN", + "ALLOW", + "LEGACY_BEST_EFFORT" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Json Format" + }, + "message_encoding": { + "anyOf": [ + { + "enum": [ + "MESSAGE_ENCODING_UNKNOWN", + "LENGTH_PREFIXED", + "DELIMITED" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Message Encoding" + }, + "repeated_field_encoding": { + "anyOf": [ + { + "enum": [ + "REPEATED_FIELD_ENCODING_UNKNOWN", + "PACKED", + "EXPANDED" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Repeated Field Encoding" + }, + "utf8_validation": { + "anyOf": [ + { + "enum": [ + "UTF8_VALIDATION_UNKNOWN", + "VERIFY", + "NONE" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Utf8 Validation" + } + }, + "title": "Feature Set", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.FieldDescriptorProto.schema.json b/internal/gen/jsonschema/google.protobuf.FieldDescriptorProto.schema.json new file mode 100644 index 00000000..8b5f70b0 --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.FieldDescriptorProto.schema.json @@ -0,0 +1,149 @@ +{ + "$id": "google.protobuf.FieldDescriptorProto.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a field within a message.", + "patternProperties": { + "^(defaultValue)$": { + "description": "For numeric types, contains the original text representation of the value.\n For booleans, \"true\" or \"false\".\n For strings, contains the default text contents (not escaped in any way).\n For bytes, contains the C escaped value. All bytes \u003e= 128 are escaped.", + "type": "string" + }, + "^(jsonName)$": { + "description": "JSON name of this field. The value is set by protocol compiler. If the\n user has set a \"json_name\" option on this field, that option's value\n will be used. Otherwise, it's deduced from the field's name by converting\n it to camelCase.", + "type": "string" + }, + "^(oneofIndex)$": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "description": "If set, gives the index of a oneof in the containing type's oneof_decl\n list. This field is a member of that oneof." + }, + "^(proto3Optional)$": { + "description": "When proto3_optional is true, this field must belong to a oneof to signal\n to old proto3 clients that presence is tracked for this field. This oneof\n is known as a \"synthetic\" oneof, and this field must be its sole member\n (each proto3 optional field gets its own synthetic oneof). Synthetic oneofs\n exist in the descriptor only, and do not generate any API. Synthetic oneofs\n must be ordered after all \"real\" oneofs.\n\n For message fields, proto3_optional doesn't create any semantic change,\n since non-repeated message fields always track presence. However it still\n indicates the semantic detail of whether the user wrote \"optional\" or not.\n This can be useful for round-tripping the .proto file. For consistency we\n give message fields a synthetic oneof also, even though it is not required\n to track presence. This is especially important because the parser can't\n tell if a field is a message or an enum, so it must always create a\n synthetic oneof.\n\n Proto2 optional fields do not set this flag, because they already indicate\n optional with `LABEL_OPTIONAL`.", + "title": "If true, this is a proto3 \"optional\". When a proto3 field is optional, it\n tracks presence regardless of field type.", + "type": "boolean" + }, + "^(typeName)$": { + "description": "For message and enum types, this is the name of the type. If the name\n starts with a '.', it is fully-qualified. Otherwise, C++-like scoping\n rules are used to find the type (i.e. first the nested types within this\n message are searched, then within the parent, on up to the root\n namespace).", + "type": "string" + } + }, + "properties": { + "default_value": { + "description": "For numeric types, contains the original text representation of the value.\n For booleans, \"true\" or \"false\".\n For strings, contains the default text contents (not escaped in any way).\n For bytes, contains the C escaped value. All bytes \u003e= 128 are escaped.", + "type": "string" + }, + "extendee": { + "description": "For extensions, this is the name of the type being extended. It is\n resolved in the same manner as type_name.", + "type": "string" + }, + "json_name": { + "description": "JSON name of this field. The value is set by protocol compiler. If the\n user has set a \"json_name\" option on this field, that option's value\n will be used. Otherwise, it's deduced from the field's name by converting\n it to camelCase.", + "type": "string" + }, + "label": { + "anyOf": [ + { + "enum": [ + "LABEL_OPTIONAL", + "LABEL_REPEATED", + "LABEL_REQUIRED" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Label" + }, + "name": { + "type": "string" + }, + "number": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "oneof_index": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ], + "description": "If set, gives the index of a oneof in the containing type's oneof_decl\n list. This field is a member of that oneof." + }, + "options": { + "$ref": "google.protobuf.FieldOptions.schema.json" + }, + "proto3_optional": { + "description": "When proto3_optional is true, this field must belong to a oneof to signal\n to old proto3 clients that presence is tracked for this field. This oneof\n is known as a \"synthetic\" oneof, and this field must be its sole member\n (each proto3 optional field gets its own synthetic oneof). Synthetic oneofs\n exist in the descriptor only, and do not generate any API. Synthetic oneofs\n must be ordered after all \"real\" oneofs.\n\n For message fields, proto3_optional doesn't create any semantic change,\n since non-repeated message fields always track presence. However it still\n indicates the semantic detail of whether the user wrote \"optional\" or not.\n This can be useful for round-tripping the .proto file. For consistency we\n give message fields a synthetic oneof also, even though it is not required\n to track presence. This is especially important because the parser can't\n tell if a field is a message or an enum, so it must always create a\n synthetic oneof.\n\n Proto2 optional fields do not set this flag, because they already indicate\n optional with `LABEL_OPTIONAL`.", + "title": "If true, this is a proto3 \"optional\". When a proto3 field is optional, it\n tracks presence regardless of field type.", + "type": "boolean" + }, + "type": { + "anyOf": [ + { + "enum": [ + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "description": "If type_name is set, this need not be set. If both this and type_name\n are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.", + "title": "Type" + }, + "type_name": { + "description": "For message and enum types, this is the name of the type. If the name\n starts with a '.', it is fully-qualified. Otherwise, C++-like scoping\n rules are used to find the type (i.e. first the nested types within this\n message are searched, then within the parent, on up to the root\n namespace).", + "type": "string" + } + }, + "title": "Field Descriptor Proto", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.FieldOptions.EditionDefault.schema.json b/internal/gen/jsonschema/google.protobuf.FieldOptions.EditionDefault.schema.json new file mode 100644 index 00000000..067309a7 --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.FieldOptions.EditionDefault.schema.json @@ -0,0 +1,39 @@ +{ + "$id": "google.protobuf.FieldOptions.EditionDefault.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "properties": { + "edition": { + "anyOf": [ + { + "enum": [ + "EDITION_UNKNOWN", + "EDITION_LEGACY", + "EDITION_PROTO2", + "EDITION_PROTO3", + "EDITION_2023", + "EDITION_2024", + "EDITION_1_TEST_ONLY", + "EDITION_2_TEST_ONLY", + "EDITION_99997_TEST_ONLY", + "EDITION_99998_TEST_ONLY", + "EDITION_99999_TEST_ONLY", + "EDITION_MAX" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Edition" + }, + "value": { + "type": "string" + } + }, + "title": "Edition Default", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.FieldOptions.FeatureSupport.schema.json b/internal/gen/jsonschema/google.protobuf.FieldOptions.FeatureSupport.schema.json new file mode 100644 index 00000000..37263bc3 --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.FieldOptions.FeatureSupport.schema.json @@ -0,0 +1,188 @@ +{ + "$id": "google.protobuf.FieldOptions.FeatureSupport.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Information about the support window of a feature.", + "patternProperties": { + "^(deprecationWarning)$": { + "description": "The deprecation warning text if this feature is used after the edition it\n was marked deprecated in.", + "type": "string" + }, + "^(editionDeprecated)$": { + "anyOf": [ + { + "enum": [ + "EDITION_UNKNOWN", + "EDITION_LEGACY", + "EDITION_PROTO2", + "EDITION_PROTO3", + "EDITION_2023", + "EDITION_2024", + "EDITION_1_TEST_ONLY", + "EDITION_2_TEST_ONLY", + "EDITION_99997_TEST_ONLY", + "EDITION_99998_TEST_ONLY", + "EDITION_99999_TEST_ONLY", + "EDITION_MAX" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "description": "The edition this feature becomes deprecated in. Using this after this\n edition may trigger warnings.", + "title": "Edition" + }, + "^(editionIntroduced)$": { + "anyOf": [ + { + "enum": [ + "EDITION_UNKNOWN", + "EDITION_LEGACY", + "EDITION_PROTO2", + "EDITION_PROTO3", + "EDITION_2023", + "EDITION_2024", + "EDITION_1_TEST_ONLY", + "EDITION_2_TEST_ONLY", + "EDITION_99997_TEST_ONLY", + "EDITION_99998_TEST_ONLY", + "EDITION_99999_TEST_ONLY", + "EDITION_MAX" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "description": "The edition that this feature was first available in. In editions\n earlier than this one, the default assigned to EDITION_LEGACY will be\n used, and proto files will not be able to override it.", + "title": "Edition" + }, + "^(editionRemoved)$": { + "anyOf": [ + { + "enum": [ + "EDITION_UNKNOWN", + "EDITION_LEGACY", + "EDITION_PROTO2", + "EDITION_PROTO3", + "EDITION_2023", + "EDITION_2024", + "EDITION_1_TEST_ONLY", + "EDITION_2_TEST_ONLY", + "EDITION_99997_TEST_ONLY", + "EDITION_99998_TEST_ONLY", + "EDITION_99999_TEST_ONLY", + "EDITION_MAX" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "description": "The edition this feature is no longer available in. In editions after\n this one, the last default assigned will be used, and proto files will\n not be able to override it.", + "title": "Edition" + } + }, + "properties": { + "deprecation_warning": { + "description": "The deprecation warning text if this feature is used after the edition it\n was marked deprecated in.", + "type": "string" + }, + "edition_deprecated": { + "anyOf": [ + { + "enum": [ + "EDITION_UNKNOWN", + "EDITION_LEGACY", + "EDITION_PROTO2", + "EDITION_PROTO3", + "EDITION_2023", + "EDITION_2024", + "EDITION_1_TEST_ONLY", + "EDITION_2_TEST_ONLY", + "EDITION_99997_TEST_ONLY", + "EDITION_99998_TEST_ONLY", + "EDITION_99999_TEST_ONLY", + "EDITION_MAX" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "description": "The edition this feature becomes deprecated in. Using this after this\n edition may trigger warnings.", + "title": "Edition" + }, + "edition_introduced": { + "anyOf": [ + { + "enum": [ + "EDITION_UNKNOWN", + "EDITION_LEGACY", + "EDITION_PROTO2", + "EDITION_PROTO3", + "EDITION_2023", + "EDITION_2024", + "EDITION_1_TEST_ONLY", + "EDITION_2_TEST_ONLY", + "EDITION_99997_TEST_ONLY", + "EDITION_99998_TEST_ONLY", + "EDITION_99999_TEST_ONLY", + "EDITION_MAX" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "description": "The edition that this feature was first available in. In editions\n earlier than this one, the default assigned to EDITION_LEGACY will be\n used, and proto files will not be able to override it.", + "title": "Edition" + }, + "edition_removed": { + "anyOf": [ + { + "enum": [ + "EDITION_UNKNOWN", + "EDITION_LEGACY", + "EDITION_PROTO2", + "EDITION_PROTO3", + "EDITION_2023", + "EDITION_2024", + "EDITION_1_TEST_ONLY", + "EDITION_2_TEST_ONLY", + "EDITION_99997_TEST_ONLY", + "EDITION_99998_TEST_ONLY", + "EDITION_99999_TEST_ONLY", + "EDITION_MAX" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "description": "The edition this feature is no longer available in. In editions after\n this one, the last default assigned will be used, and proto files will\n not be able to override it.", + "title": "Edition" + } + }, + "title": "Feature Support", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.FieldOptions.schema.json b/internal/gen/jsonschema/google.protobuf.FieldOptions.schema.json new file mode 100644 index 00000000..a2320705 --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.FieldOptions.schema.json @@ -0,0 +1,164 @@ +{ + "$id": "google.protobuf.FieldOptions.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "patternProperties": { + "^(debugRedact)$": { + "description": "Indicate that the field value should not be printed out when using debug\n formats, e.g. when the field contains sensitive credentials.", + "type": "boolean" + }, + "^(editionDefaults)$": { + "items": { + "$ref": "google.protobuf.FieldOptions.EditionDefault.schema.json" + }, + "type": "array" + }, + "^(featureSupport)$": { + "$ref": "google.protobuf.FieldOptions.FeatureSupport.schema.json" + }, + "^(uninterpretedOption)$": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "google.protobuf.UninterpretedOption.schema.json" + }, + "type": "array" + }, + "^(unverifiedLazy)$": { + "description": "unverified_lazy does no correctness checks on the byte stream. This should\n only be used where lazy with verification is prohibitive for performance\n reasons.", + "type": "boolean" + } + }, + "properties": { + "ctype": { + "anyOf": [ + { + "enum": [ + "STRING", + "CORD", + "STRING_PIECE" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "description": "NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead.\n The ctype option instructs the C++ code generator to use a different\n representation of the field than it normally would. See the specific\n options below. This option is only implemented to support use of\n [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of\n type \"bytes\" in the open source release.\n TODO: make ctype actually deprecated.", + "title": "C Type" + }, + "debug_redact": { + "description": "Indicate that the field value should not be printed out when using debug\n formats, e.g. when the field contains sensitive credentials.", + "type": "boolean" + }, + "deprecated": { + "description": "Is this field deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for accessors, or it will be completely ignored; in the very least, this\n is a formalization for deprecating fields.", + "type": "boolean" + }, + "edition_defaults": { + "items": { + "$ref": "google.protobuf.FieldOptions.EditionDefault.schema.json" + }, + "type": "array" + }, + "feature_support": { + "$ref": "google.protobuf.FieldOptions.FeatureSupport.schema.json" + }, + "features": { + "$ref": "google.protobuf.FeatureSet.schema.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "jstype": { + "anyOf": [ + { + "enum": [ + "JS_NORMAL", + "JS_STRING", + "JS_NUMBER" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "description": "This option is an enum to permit additional types to be added, e.g.\n goog.math.Integer.", + "title": "JS Type" + }, + "lazy": { + "description": "This is only a hint. Implementations are free to choose whether to use\n eager or lazy parsing regardless of the value of this option. However,\n setting this option true suggests that the protocol author believes that\n using lazy parsing on this field is worth the additional bookkeeping\n overhead typically needed to implement it.\n\n This option does not affect the public interface of any generated code;\n all method signatures remain the same. Furthermore, thread-safety of the\n interface is not affected by this option; const methods remain safe to\n call from multiple threads concurrently, while non-const methods continue\n to require exclusive access.\n\n Note that lazy message fields are still eagerly verified to check\n ill-formed wireformat or missing required fields. Calling IsInitialized()\n on the outer message would fail if the inner message has missing required\n fields. Failed verification would result in parsing failure (except when\n uninitialized messages are acceptable).", + "title": "Should this field be parsed lazily? Lazy applies only to message-type\n fields. It means that when the outer message is initially parsed, the\n inner message's contents will not be parsed but instead stored in encoded\n form. The inner message will actually be parsed when it is first accessed.", + "type": "boolean" + }, + "packed": { + "description": "The packed option can be enabled for repeated primitive fields to enable\n a more efficient representation on the wire. Rather than repeatedly\n writing the tag and type for each element, the entire array is encoded as\n a single length-delimited blob. In proto3, only explicit setting it to\n false will avoid using packed encoding. This option is prohibited in\n Editions, but the `repeated_field_encoding` feature can be used to control\n the behavior.", + "type": "boolean" + }, + "retention": { + "anyOf": [ + { + "enum": [ + "RETENTION_UNKNOWN", + "RETENTION_RUNTIME", + "RETENTION_SOURCE" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Option Retention" + }, + "targets": { + "items": { + "anyOf": [ + { + "enum": [ + "TARGET_TYPE_UNKNOWN", + "TARGET_TYPE_FILE", + "TARGET_TYPE_EXTENSION_RANGE", + "TARGET_TYPE_MESSAGE", + "TARGET_TYPE_FIELD", + "TARGET_TYPE_ONEOF", + "TARGET_TYPE_ENUM", + "TARGET_TYPE_ENUM_ENTRY", + "TARGET_TYPE_SERVICE", + "TARGET_TYPE_METHOD" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Option Target Type" + }, + "type": "array" + }, + "uninterpreted_option": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "google.protobuf.UninterpretedOption.schema.json" + }, + "type": "array" + }, + "unverified_lazy": { + "description": "unverified_lazy does no correctness checks on the byte stream. This should\n only be used where lazy with verification is prohibitive for performance\n reasons.", + "type": "boolean" + }, + "weak": { + "description": "For Google-internal migration only. Do not use.", + "type": "boolean" + } + }, + "title": "Field Options", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.FileDescriptorProto.schema.json b/internal/gen/jsonschema/google.protobuf.FileDescriptorProto.schema.json new file mode 100644 index 00000000..76fc1e63 --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.FileDescriptorProto.schema.json @@ -0,0 +1,189 @@ +{ + "$id": "google.protobuf.FileDescriptorProto.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a complete .proto file.", + "patternProperties": { + "^(enumType)$": { + "items": { + "$ref": "google.protobuf.EnumDescriptorProto.schema.json" + }, + "type": "array" + }, + "^(messageType)$": { + "description": "All top-level definitions in this file.", + "items": { + "$ref": "google.protobuf.DescriptorProto.schema.json" + }, + "type": "array" + }, + "^(optionDependency)$": { + "description": "Names of files imported by this file purely for the purpose of providing\n option extensions. These are excluded from the dependency list above.", + "items": { + "type": "string" + }, + "type": "array" + }, + "^(publicDependency)$": { + "description": "Indexes of the public imported files in the dependency list above.", + "items": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + }, + "^(sourceCodeInfo)$": { + "$ref": "google.protobuf.SourceCodeInfo.schema.json", + "description": "This field contains optional information about the original source code.\n You may safely remove this entire field without harming runtime\n functionality of the descriptors -- the information is needed only by\n development tools." + }, + "^(weakDependency)$": { + "description": "Indexes of the weak imported files in the dependency list.\n For Google-internal migration only. Do not use.", + "items": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "properties": { + "dependency": { + "description": "Names of files imported by this file.", + "items": { + "type": "string" + }, + "type": "array" + }, + "edition": { + "anyOf": [ + { + "enum": [ + "EDITION_UNKNOWN", + "EDITION_LEGACY", + "EDITION_PROTO2", + "EDITION_PROTO3", + "EDITION_2023", + "EDITION_2024", + "EDITION_1_TEST_ONLY", + "EDITION_2_TEST_ONLY", + "EDITION_99997_TEST_ONLY", + "EDITION_99998_TEST_ONLY", + "EDITION_99999_TEST_ONLY", + "EDITION_MAX" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "description": "The edition of the proto file.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language.", + "title": "Edition" + }, + "enum_type": { + "items": { + "$ref": "google.protobuf.EnumDescriptorProto.schema.json" + }, + "type": "array" + }, + "extension": { + "items": { + "$ref": "google.protobuf.FieldDescriptorProto.schema.json" + }, + "type": "array" + }, + "message_type": { + "description": "All top-level definitions in this file.", + "items": { + "$ref": "google.protobuf.DescriptorProto.schema.json" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "option_dependency": { + "description": "Names of files imported by this file purely for the purpose of providing\n option extensions. These are excluded from the dependency list above.", + "items": { + "type": "string" + }, + "type": "array" + }, + "options": { + "$ref": "google.protobuf.FileOptions.schema.json" + }, + "package": { + "type": "string" + }, + "public_dependency": { + "description": "Indexes of the public imported files in the dependency list above.", + "items": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + }, + "service": { + "items": { + "$ref": "google.protobuf.ServiceDescriptorProto.schema.json" + }, + "type": "array" + }, + "source_code_info": { + "$ref": "google.protobuf.SourceCodeInfo.schema.json", + "description": "This field contains optional information about the original source code.\n You may safely remove this entire field without harming runtime\n functionality of the descriptors -- the information is needed only by\n development tools." + }, + "syntax": { + "description": "If `edition` is present, this value must be \"editions\".\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language.", + "title": "The syntax of the proto file.\n The supported values are \"proto2\", \"proto3\", and \"editions\".", + "type": "string" + }, + "weak_dependency": { + "description": "Indexes of the weak imported files in the dependency list.\n For Google-internal migration only. Do not use.", + "items": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + } + }, + "title": "File Descriptor Proto", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.FileDescriptorSet.schema.json b/internal/gen/jsonschema/google.protobuf.FileDescriptorSet.schema.json new file mode 100644 index 00000000..87d1df02 --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.FileDescriptorSet.schema.json @@ -0,0 +1,16 @@ +{ + "$id": "google.protobuf.FileDescriptorSet.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "The protocol compiler can output a FileDescriptorSet containing the .proto\n files it parses.", + "properties": { + "file": { + "items": { + "$ref": "google.protobuf.FileDescriptorProto.schema.json" + }, + "type": "array" + } + }, + "title": "File Descriptor Set", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.FileOptions.schema.json b/internal/gen/jsonschema/google.protobuf.FileOptions.schema.json new file mode 100644 index 00000000..ec987a98 --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.FileOptions.schema.json @@ -0,0 +1,205 @@ +{ + "$id": "google.protobuf.FileOptions.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "patternProperties": { + "^(ccEnableArenas)$": { + "description": "Enables the use of arenas for the proto messages in this file. This applies\n only to generated classes for C++.", + "type": "boolean" + }, + "^(ccGenericServices)$": { + "description": "Generic services are now considered deprecated in favor of using plugins\n that generate code specific to your particular RPC system. Therefore,\n these default to false. Old code which depends on generic services should\n explicitly set them to true.", + "title": "Should generic services be generated in each language? \"Generic\" services\n are not specific to any particular RPC system. They are generated by the\n main code generators in each language (without additional plugins).\n Generic services were the only kind of service generation supported by\n early versions of google.protobuf.", + "type": "boolean" + }, + "^(csharpNamespace)$": { + "description": "Namespace for generated classes; defaults to the package.", + "type": "string" + }, + "^(goPackage)$": { + "description": "Sets the Go package where structs generated from this .proto will be\n placed. If omitted, the Go package will be derived from the following:\n - The basename of the package import path, if provided.\n - Otherwise, the package statement in the .proto file, if present.\n - Otherwise, the basename of the .proto file, without extension.", + "type": "string" + }, + "^(javaGenerateEqualsAndHash)$": { + "description": "This option does nothing.", + "type": "boolean" + }, + "^(javaGenericServices)$": { + "type": "boolean" + }, + "^(javaMultipleFiles)$": { + "description": "If enabled, then the Java code generator will generate a separate .java\n file for each top-level message, enum, and service defined in the .proto\n file. Thus, these types will *not* be nested inside the wrapper class\n named by java_outer_classname. However, the wrapper class will still be\n generated to contain the file's getDescriptor() method as well as any\n top-level extensions defined in the file.", + "type": "boolean" + }, + "^(javaOuterClassname)$": { + "description": "Controls the name of the wrapper Java class generated for the .proto file.\n That class will always contain the .proto file's getDescriptor() method as\n well as any top-level extensions defined in the .proto file.\n If java_multiple_files is disabled, then all the other classes from the\n .proto file will be nested inside the single wrapper outer class.", + "type": "string" + }, + "^(javaPackage)$": { + "description": "Sets the Java package where classes generated from this .proto will be\n placed. By default, the proto package is used, but this is often\n inappropriate because proto packages do not normally start with backwards\n domain names.", + "type": "string" + }, + "^(javaStringCheckUtf8)$": { + "description": "TODO: clarify exactly what kinds of field types this option\n applies to, and update these docs accordingly.\n\n Proto3 files already perform these checks. Setting the option explicitly to\n false has no effect: it cannot be used to opt proto3 files out of UTF-8\n checks.", + "title": "A proto2 file can set this to true to opt in to UTF-8 checking for Java,\n which will throw an exception if invalid UTF-8 is parsed from the wire or\n assigned to a string field.", + "type": "boolean" + }, + "^(objcClassPrefix)$": { + "description": "Sets the objective c class prefix which is prepended to all objective c\n generated classes from this .proto. There is no default.", + "type": "string" + }, + "^(optimizeFor)$": { + "anyOf": [ + { + "enum": [ + "SPEED", + "CODE_SIZE", + "LITE_RUNTIME" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Optimize Mode" + }, + "^(phpClassPrefix)$": { + "description": "Sets the php class prefix which is prepended to all php generated classes\n from this .proto. Default is empty.", + "type": "string" + }, + "^(phpMetadataNamespace)$": { + "description": "Use this option to change the namespace of php generated metadata classes.\n Default is empty. When this option is empty, the proto file name will be\n used for determining the namespace.", + "type": "string" + }, + "^(phpNamespace)$": { + "description": "Use this option to change the namespace of php generated classes. Default\n is empty. When this option is empty, the package name will be used for\n determining the namespace.", + "type": "string" + }, + "^(pyGenericServices)$": { + "type": "boolean" + }, + "^(rubyPackage)$": { + "description": "Use this option to change the package of ruby generated classes. Default\n is empty. When this option is not set, the package name will be used for\n determining the ruby package.", + "type": "string" + }, + "^(swiftPrefix)$": { + "description": "By default Swift generators will take the proto package and CamelCase it\n replacing '.' with underscore and use that to prefix the types/symbols\n defined. When this options is provided, they will use this value instead\n to prefix the types/symbols defined.", + "type": "string" + }, + "^(uninterpretedOption)$": { + "description": "The parser stores options it doesn't recognize here.\n See the documentation for the \"Options\" section above.", + "items": { + "$ref": "google.protobuf.UninterpretedOption.schema.json" + }, + "type": "array" + } + }, + "properties": { + "cc_enable_arenas": { + "description": "Enables the use of arenas for the proto messages in this file. This applies\n only to generated classes for C++.", + "type": "boolean" + }, + "cc_generic_services": { + "description": "Generic services are now considered deprecated in favor of using plugins\n that generate code specific to your particular RPC system. Therefore,\n these default to false. Old code which depends on generic services should\n explicitly set them to true.", + "title": "Should generic services be generated in each language? \"Generic\" services\n are not specific to any particular RPC system. They are generated by the\n main code generators in each language (without additional plugins).\n Generic services were the only kind of service generation supported by\n early versions of google.protobuf.", + "type": "boolean" + }, + "csharp_namespace": { + "description": "Namespace for generated classes; defaults to the package.", + "type": "string" + }, + "deprecated": { + "description": "Is this file deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for everything in the file, or it will be completely ignored; in the very\n least, this is a formalization for deprecating files.", + "type": "boolean" + }, + "features": { + "$ref": "google.protobuf.FeatureSet.schema.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "go_package": { + "description": "Sets the Go package where structs generated from this .proto will be\n placed. If omitted, the Go package will be derived from the following:\n - The basename of the package import path, if provided.\n - Otherwise, the package statement in the .proto file, if present.\n - Otherwise, the basename of the .proto file, without extension.", + "type": "string" + }, + "java_generate_equals_and_hash": { + "description": "This option does nothing.", + "type": "boolean" + }, + "java_generic_services": { + "type": "boolean" + }, + "java_multiple_files": { + "description": "If enabled, then the Java code generator will generate a separate .java\n file for each top-level message, enum, and service defined in the .proto\n file. Thus, these types will *not* be nested inside the wrapper class\n named by java_outer_classname. However, the wrapper class will still be\n generated to contain the file's getDescriptor() method as well as any\n top-level extensions defined in the file.", + "type": "boolean" + }, + "java_outer_classname": { + "description": "Controls the name of the wrapper Java class generated for the .proto file.\n That class will always contain the .proto file's getDescriptor() method as\n well as any top-level extensions defined in the .proto file.\n If java_multiple_files is disabled, then all the other classes from the\n .proto file will be nested inside the single wrapper outer class.", + "type": "string" + }, + "java_package": { + "description": "Sets the Java package where classes generated from this .proto will be\n placed. By default, the proto package is used, but this is often\n inappropriate because proto packages do not normally start with backwards\n domain names.", + "type": "string" + }, + "java_string_check_utf8": { + "description": "TODO: clarify exactly what kinds of field types this option\n applies to, and update these docs accordingly.\n\n Proto3 files already perform these checks. Setting the option explicitly to\n false has no effect: it cannot be used to opt proto3 files out of UTF-8\n checks.", + "title": "A proto2 file can set this to true to opt in to UTF-8 checking for Java,\n which will throw an exception if invalid UTF-8 is parsed from the wire or\n assigned to a string field.", + "type": "boolean" + }, + "objc_class_prefix": { + "description": "Sets the objective c class prefix which is prepended to all objective c\n generated classes from this .proto. There is no default.", + "type": "string" + }, + "optimize_for": { + "anyOf": [ + { + "enum": [ + "SPEED", + "CODE_SIZE", + "LITE_RUNTIME" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Optimize Mode" + }, + "php_class_prefix": { + "description": "Sets the php class prefix which is prepended to all php generated classes\n from this .proto. Default is empty.", + "type": "string" + }, + "php_metadata_namespace": { + "description": "Use this option to change the namespace of php generated metadata classes.\n Default is empty. When this option is empty, the proto file name will be\n used for determining the namespace.", + "type": "string" + }, + "php_namespace": { + "description": "Use this option to change the namespace of php generated classes. Default\n is empty. When this option is empty, the package name will be used for\n determining the namespace.", + "type": "string" + }, + "py_generic_services": { + "type": "boolean" + }, + "ruby_package": { + "description": "Use this option to change the package of ruby generated classes. Default\n is empty. When this option is not set, the package name will be used for\n determining the ruby package.", + "type": "string" + }, + "swift_prefix": { + "description": "By default Swift generators will take the proto package and CamelCase it\n replacing '.' with underscore and use that to prefix the types/symbols\n defined. When this options is provided, they will use this value instead\n to prefix the types/symbols defined.", + "type": "string" + }, + "uninterpreted_option": { + "description": "The parser stores options it doesn't recognize here.\n See the documentation for the \"Options\" section above.", + "items": { + "$ref": "google.protobuf.UninterpretedOption.schema.json" + }, + "type": "array" + } + }, + "title": "File Options", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.MessageOptions.schema.json b/internal/gen/jsonschema/google.protobuf.MessageOptions.schema.json new file mode 100644 index 00000000..b103ef4d --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.MessageOptions.schema.json @@ -0,0 +1,71 @@ +{ + "$id": "google.protobuf.MessageOptions.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "patternProperties": { + "^(deprecatedLegacyJsonFieldConflicts)$": { + "description": "This should only be used as a temporary measure against broken builds due\n to the change in behavior for JSON field name conflicts.\n\n TODO This is legacy behavior we plan to remove once downstream\n teams have had time to migrate.", + "title": "Enable the legacy handling of JSON field name conflicts. This lowercases\n and strips underscored from the fields before comparison in proto3 only.\n The new behavior takes `json_name` into account and applies to proto2 as\n well.", + "type": "boolean" + }, + "^(mapEntry)$": { + "description": "For maps fields:\n map\u003cKeyType, ValueType\u003e map_field = 1;\n The parsed descriptor looks like:\n message MapFieldEntry {\n option map_entry = true;\n optional KeyType key = 1;\n optional ValueType value = 2;\n }\n repeated MapFieldEntry map_field = 1;\n\n Implementations may choose not to generate the map_entry=true message, but\n use a native map in the target language to hold the keys and values.\n The reflection APIs in such implementations still need to work as\n if the field is a repeated message field.\n\n NOTE: Do not set the option in .proto files. Always use the maps syntax\n instead. The option should only be implicitly set by the proto compiler\n parser.", + "title": "Whether the message is an automatically generated map entry type for the\n maps field.", + "type": "boolean" + }, + "^(messageSetWireFormat)$": { + "description": "The message must be defined exactly as follows:\n message Foo {\n option message_set_wire_format = true;\n extensions 4 to max;\n }\n Note that the message cannot have any defined fields; MessageSets only\n have extensions.\n\n All extensions of your type must be singular messages; e.g. they cannot\n be int32s, enums, or repeated messages.\n\n Because this is an option, the above two restrictions are not enforced by\n the protocol compiler.", + "title": "Set true to use the old proto1 MessageSet wire format for extensions.\n This is provided for backwards-compatibility with the MessageSet wire\n format. You should not use this for any other reason: It's less\n efficient, has fewer features, and is more complicated.", + "type": "boolean" + }, + "^(noStandardDescriptorAccessor)$": { + "description": "Disables the generation of the standard \"descriptor()\" accessor, which can\n conflict with a field of the same name. This is meant to make migration\n from proto1 easier; new code should avoid fields named \"descriptor\".", + "type": "boolean" + }, + "^(uninterpretedOption)$": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "google.protobuf.UninterpretedOption.schema.json" + }, + "type": "array" + } + }, + "properties": { + "deprecated": { + "description": "Is this message deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for the message, or it will be completely ignored; in the very least,\n this is a formalization for deprecating messages.", + "type": "boolean" + }, + "deprecated_legacy_json_field_conflicts": { + "description": "This should only be used as a temporary measure against broken builds due\n to the change in behavior for JSON field name conflicts.\n\n TODO This is legacy behavior we plan to remove once downstream\n teams have had time to migrate.", + "title": "Enable the legacy handling of JSON field name conflicts. This lowercases\n and strips underscored from the fields before comparison in proto3 only.\n The new behavior takes `json_name` into account and applies to proto2 as\n well.", + "type": "boolean" + }, + "features": { + "$ref": "google.protobuf.FeatureSet.schema.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "map_entry": { + "description": "For maps fields:\n map\u003cKeyType, ValueType\u003e map_field = 1;\n The parsed descriptor looks like:\n message MapFieldEntry {\n option map_entry = true;\n optional KeyType key = 1;\n optional ValueType value = 2;\n }\n repeated MapFieldEntry map_field = 1;\n\n Implementations may choose not to generate the map_entry=true message, but\n use a native map in the target language to hold the keys and values.\n The reflection APIs in such implementations still need to work as\n if the field is a repeated message field.\n\n NOTE: Do not set the option in .proto files. Always use the maps syntax\n instead. The option should only be implicitly set by the proto compiler\n parser.", + "title": "Whether the message is an automatically generated map entry type for the\n maps field.", + "type": "boolean" + }, + "message_set_wire_format": { + "description": "The message must be defined exactly as follows:\n message Foo {\n option message_set_wire_format = true;\n extensions 4 to max;\n }\n Note that the message cannot have any defined fields; MessageSets only\n have extensions.\n\n All extensions of your type must be singular messages; e.g. they cannot\n be int32s, enums, or repeated messages.\n\n Because this is an option, the above two restrictions are not enforced by\n the protocol compiler.", + "title": "Set true to use the old proto1 MessageSet wire format for extensions.\n This is provided for backwards-compatibility with the MessageSet wire\n format. You should not use this for any other reason: It's less\n efficient, has fewer features, and is more complicated.", + "type": "boolean" + }, + "no_standard_descriptor_accessor": { + "description": "Disables the generation of the standard \"descriptor()\" accessor, which can\n conflict with a field of the same name. This is meant to make migration\n from proto1 easier; new code should avoid fields named \"descriptor\".", + "type": "boolean" + }, + "uninterpreted_option": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "google.protobuf.UninterpretedOption.schema.json" + }, + "type": "array" + } + }, + "title": "Message Options", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.MethodDescriptorProto.schema.json b/internal/gen/jsonschema/google.protobuf.MethodDescriptorProto.schema.json new file mode 100644 index 00000000..9da2f77a --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.MethodDescriptorProto.schema.json @@ -0,0 +1,48 @@ +{ + "$id": "google.protobuf.MethodDescriptorProto.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a method of a service.", + "patternProperties": { + "^(clientStreaming)$": { + "description": "Identifies if client streams multiple client messages", + "type": "boolean" + }, + "^(inputType)$": { + "description": "Input and output type names. These are resolved in the same way as\n FieldDescriptorProto.type_name, but must refer to a message type.", + "type": "string" + }, + "^(outputType)$": { + "type": "string" + }, + "^(serverStreaming)$": { + "description": "Identifies if server streams multiple server messages", + "type": "boolean" + } + }, + "properties": { + "client_streaming": { + "description": "Identifies if client streams multiple client messages", + "type": "boolean" + }, + "input_type": { + "description": "Input and output type names. These are resolved in the same way as\n FieldDescriptorProto.type_name, but must refer to a message type.", + "type": "string" + }, + "name": { + "type": "string" + }, + "options": { + "$ref": "google.protobuf.MethodOptions.schema.json" + }, + "output_type": { + "type": "string" + }, + "server_streaming": { + "description": "Identifies if server streams multiple server messages", + "type": "boolean" + } + }, + "title": "Method Descriptor Proto", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.MethodOptions.schema.json b/internal/gen/jsonschema/google.protobuf.MethodOptions.schema.json new file mode 100644 index 00000000..e41d79dd --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.MethodOptions.schema.json @@ -0,0 +1,69 @@ +{ + "$id": "google.protobuf.MethodOptions.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "patternProperties": { + "^(idempotencyLevel)$": { + "anyOf": [ + { + "enum": [ + "IDEMPOTENCY_UNKNOWN", + "NO_SIDE_EFFECTS", + "IDEMPOTENT" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Idempotency Level" + }, + "^(uninterpretedOption)$": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "google.protobuf.UninterpretedOption.schema.json" + }, + "type": "array" + } + }, + "properties": { + "deprecated": { + "description": "Is this method deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for the method, or it will be completely ignored; in the very least,\n this is a formalization for deprecating methods.", + "type": "boolean" + }, + "features": { + "$ref": "google.protobuf.FeatureSet.schema.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "idempotency_level": { + "anyOf": [ + { + "enum": [ + "IDEMPOTENCY_UNKNOWN", + "NO_SIDE_EFFECTS", + "IDEMPOTENT" + ], + "type": "string" + }, + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + ], + "title": "Idempotency Level" + }, + "uninterpreted_option": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "google.protobuf.UninterpretedOption.schema.json" + }, + "type": "array" + } + }, + "title": "Method Options", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.OneofDescriptorProto.schema.json b/internal/gen/jsonschema/google.protobuf.OneofDescriptorProto.schema.json new file mode 100644 index 00000000..8fed5678 --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.OneofDescriptorProto.schema.json @@ -0,0 +1,16 @@ +{ + "$id": "google.protobuf.OneofDescriptorProto.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a oneof.", + "properties": { + "name": { + "type": "string" + }, + "options": { + "$ref": "google.protobuf.OneofOptions.schema.json" + } + }, + "title": "Oneof Descriptor Proto", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.OneofOptions.schema.json b/internal/gen/jsonschema/google.protobuf.OneofOptions.schema.json new file mode 100644 index 00000000..14e3e675 --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.OneofOptions.schema.json @@ -0,0 +1,29 @@ +{ + "$id": "google.protobuf.OneofOptions.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "patternProperties": { + "^(uninterpretedOption)$": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "google.protobuf.UninterpretedOption.schema.json" + }, + "type": "array" + } + }, + "properties": { + "features": { + "$ref": "google.protobuf.FeatureSet.schema.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "uninterpreted_option": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "google.protobuf.UninterpretedOption.schema.json" + }, + "type": "array" + } + }, + "title": "Oneof Options", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.ServiceDescriptorProto.schema.json b/internal/gen/jsonschema/google.protobuf.ServiceDescriptorProto.schema.json new file mode 100644 index 00000000..8f3be46d --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.ServiceDescriptorProto.schema.json @@ -0,0 +1,22 @@ +{ + "$id": "google.protobuf.ServiceDescriptorProto.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Describes a service.", + "properties": { + "method": { + "items": { + "$ref": "google.protobuf.MethodDescriptorProto.schema.json" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "options": { + "$ref": "google.protobuf.ServiceOptions.schema.json" + } + }, + "title": "Service Descriptor Proto", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.ServiceOptions.schema.json b/internal/gen/jsonschema/google.protobuf.ServiceOptions.schema.json new file mode 100644 index 00000000..daa9fab0 --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.ServiceOptions.schema.json @@ -0,0 +1,33 @@ +{ + "$id": "google.protobuf.ServiceOptions.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "patternProperties": { + "^(uninterpretedOption)$": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "google.protobuf.UninterpretedOption.schema.json" + }, + "type": "array" + } + }, + "properties": { + "deprecated": { + "description": "Is this service deprecated?\n Depending on the target platform, this can emit Deprecated annotations\n for the service, or it will be completely ignored; in the very least,\n this is a formalization for deprecating services.", + "type": "boolean" + }, + "features": { + "$ref": "google.protobuf.FeatureSet.schema.json", + "description": "Any features defined in the specific edition.\n WARNING: This field should only be used by protobuf plugins or special\n cases like the proto compiler. Other uses are discouraged and\n developers should rely on the protoreflect APIs for their client language." + }, + "uninterpreted_option": { + "description": "The parser stores options it doesn't recognize here. See above.", + "items": { + "$ref": "google.protobuf.UninterpretedOption.schema.json" + }, + "type": "array" + } + }, + "title": "Service Options", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.SourceCodeInfo.Location.schema.json b/internal/gen/jsonschema/google.protobuf.SourceCodeInfo.Location.schema.json new file mode 100644 index 00000000..2671aa9d --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.SourceCodeInfo.Location.schema.json @@ -0,0 +1,74 @@ +{ + "$id": "google.protobuf.SourceCodeInfo.Location.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "patternProperties": { + "^(leadingComments)$": { + "description": "A series of line comments appearing on consecutive lines, with no other\n tokens appearing on those lines, will be treated as a single comment.\n\n leading_detached_comments will keep paragraphs of comments that appear\n before (but not connected to) the current element. Each paragraph,\n separated by empty lines, will be one comment element in the repeated\n field.\n\n Only the comment content is provided; comment markers (e.g. //) are\n stripped out. For block comments, leading whitespace and an asterisk\n will be stripped from the beginning of each line other than the first.\n Newlines are included in the output.\n\n Examples:\n\n optional int32 foo = 1; // Comment attached to foo.\n // Comment attached to bar.\n optional int32 bar = 2;\n\n optional string baz = 3;\n // Comment attached to baz.\n // Another line attached to baz.\n\n // Comment attached to moo.\n //\n // Another line attached to moo.\n optional double moo = 4;\n\n // Detached comment for corge. This is not leading or trailing comments\n // to moo or corge because there are blank lines separating it from\n // both.\n\n // Detached comment for corge paragraph 2.\n\n optional string corge = 5;\n /* Block comment attached\n * to corge. Leading asterisks\n * will be removed. */\n /* Block comment attached to\n * grault. */\n optional int32 grault = 6;\n\n // ignored detached comments.", + "title": "If this SourceCodeInfo represents a complete declaration, these are any\n comments appearing before and after the declaration which appear to be\n attached to the declaration.", + "type": "string" + }, + "^(leadingDetachedComments)$": { + "items": { + "type": "string" + }, + "type": "array" + }, + "^(trailingComments)$": { + "type": "string" + } + }, + "properties": { + "leading_comments": { + "description": "A series of line comments appearing on consecutive lines, with no other\n tokens appearing on those lines, will be treated as a single comment.\n\n leading_detached_comments will keep paragraphs of comments that appear\n before (but not connected to) the current element. Each paragraph,\n separated by empty lines, will be one comment element in the repeated\n field.\n\n Only the comment content is provided; comment markers (e.g. //) are\n stripped out. For block comments, leading whitespace and an asterisk\n will be stripped from the beginning of each line other than the first.\n Newlines are included in the output.\n\n Examples:\n\n optional int32 foo = 1; // Comment attached to foo.\n // Comment attached to bar.\n optional int32 bar = 2;\n\n optional string baz = 3;\n // Comment attached to baz.\n // Another line attached to baz.\n\n // Comment attached to moo.\n //\n // Another line attached to moo.\n optional double moo = 4;\n\n // Detached comment for corge. This is not leading or trailing comments\n // to moo or corge because there are blank lines separating it from\n // both.\n\n // Detached comment for corge paragraph 2.\n\n optional string corge = 5;\n /* Block comment attached\n * to corge. Leading asterisks\n * will be removed. */\n /* Block comment attached to\n * grault. */\n optional int32 grault = 6;\n\n // ignored detached comments.", + "title": "If this SourceCodeInfo represents a complete declaration, these are any\n comments appearing before and after the declaration which appear to be\n attached to the declaration.", + "type": "string" + }, + "leading_detached_comments": { + "items": { + "type": "string" + }, + "type": "array" + }, + "path": { + "description": "Each element is a field number or an index. They form a path from\n the root FileDescriptorProto to the place where the definition appears.\n For example, this path:\n [ 4, 3, 2, 7, 1 ]\n refers to:\n file.message_type(3) // 4, 3\n .field(7) // 2, 7\n .name() // 1\n This is because FileDescriptorProto.message_type has field number 4:\n repeated DescriptorProto message_type = 4;\n and DescriptorProto.field has field number 2:\n repeated FieldDescriptorProto field = 2;\n and FieldDescriptorProto.name has field number 1:\n optional string name = 1;\n\n Thus, the above path gives the location of a field name. If we removed\n the last element:\n [ 4, 3, 2, 7 ]\n this path refers to the whole field declaration (from the beginning\n of the label to the terminating semicolon).", + "items": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "title": "Identifies which part of the FileDescriptorProto was defined at this\n location.", + "type": "array" + }, + "span": { + "description": "Always has exactly three or four elements: start line, start column,\n end line (optional, otherwise assumed same as start line), end column.\n These are packed into a single field for efficiency. Note that line\n and column numbers are zero-based -- typically you will want to add\n 1 to each before displaying to a user.", + "items": { + "anyOf": [ + { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "type": "array" + }, + "trailing_comments": { + "type": "string" + } + }, + "title": "Location", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.SourceCodeInfo.schema.json b/internal/gen/jsonschema/google.protobuf.SourceCodeInfo.schema.json new file mode 100644 index 00000000..d1499625 --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.SourceCodeInfo.schema.json @@ -0,0 +1,18 @@ +{ + "$id": "google.protobuf.SourceCodeInfo.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "Encapsulates information about the original source file from which a\n FileDescriptorProto was generated.", + "properties": { + "location": { + "description": "For example, say we have a file like:\n message Foo {\n optional string foo = 1;\n }\n Let's look at just the field definition:\n optional string foo = 1;\n ^ ^^ ^^ ^ ^^^\n a bc de f ghi\n We have the following locations:\n span path represents\n [a,i) [ 4, 0, 2, 0 ] The whole field definition.\n [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).\n [c,d) [ 4, 0, 2, 0, 5 ] The type (string).\n [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).\n [g,h) [ 4, 0, 2, 0, 3 ] The number (1).\n\n Notes:\n - A location may refer to a repeated field itself (i.e. not to any\n particular index within it). This is used whenever a set of elements are\n logically enclosed in a single code segment. For example, an entire\n extend block (possibly containing multiple extension definitions) will\n have an outer location whose path refers to the \"extensions\" repeated\n field without an index.\n - Multiple locations may have the same path. This happens when a single\n logical declaration is spread out across multiple places. The most\n obvious example is the \"extend\" block again -- there may be multiple\n extend blocks in the same scope, each of which will have the same path.\n - A location's span is not always a subset of its parent's span. For\n example, the \"extendee\" of an extension declaration appears at the\n beginning of the \"extend\" block and is shared by all extensions within\n the block.\n - Just because a location's span is a subset of some other location's span\n does not mean that it is a descendant. For example, a \"group\" defines\n both a type and a field in a single declaration. Thus, the locations\n corresponding to the type and field and their components will overlap.\n - Code which tries to interpret locations should probably be designed to\n ignore those that it doesn't understand, as more types of locations could\n be recorded in the future.", + "items": { + "$ref": "google.protobuf.SourceCodeInfo.Location.schema.json" + }, + "title": "A Location identifies a piece of source code in a .proto file which\n corresponds to a particular definition. This information is intended\n to be useful to IDEs, code indexers, documentation generators, and similar\n tools.", + "type": "array" + } + }, + "title": "Source Code Info", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.UninterpretedOption.NamePart.schema.json b/internal/gen/jsonschema/google.protobuf.UninterpretedOption.NamePart.schema.json new file mode 100644 index 00000000..9cef5ef2 --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.UninterpretedOption.NamePart.schema.json @@ -0,0 +1,24 @@ +{ + "$id": "google.protobuf.UninterpretedOption.NamePart.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "The name of the uninterpreted option. Each string represents a segment in\n a dot-separated name. is_extension is true iff a segment represents an\n extension (denoted with parentheses in options specs in .proto files).\n E.g.,{ [\"foo\", false], [\"bar.baz\", true], [\"moo\", false] } represents\n \"foo.(bar.baz).moo\".", + "patternProperties": { + "^(isExtension)$": { + "type": "boolean" + }, + "^(namePart)$": { + "type": "string" + } + }, + "properties": { + "is_extension": { + "type": "boolean" + }, + "name_part": { + "type": "string" + } + }, + "title": "Name Part", + "type": "object" +} diff --git a/internal/gen/jsonschema/google.protobuf.UninterpretedOption.schema.json b/internal/gen/jsonschema/google.protobuf.UninterpretedOption.schema.json new file mode 100644 index 00000000..2ee6a119 --- /dev/null +++ b/internal/gen/jsonschema/google.protobuf.UninterpretedOption.schema.json @@ -0,0 +1,122 @@ +{ + "$id": "google.protobuf.UninterpretedOption.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "additionalProperties": true, + "description": "A message representing a option the parser does not recognize. This only\n appears in options protos created by the compiler::Parser class.\n DescriptorPool resolves these when building Descriptor objects. Therefore,\n options protos in descriptor objects (e.g. returned by Descriptor::options(),\n or produced by Descriptor::CopyTo()) will never have UninterpretedOptions\n in them.", + "patternProperties": { + "^(aggregateValue)$": { + "type": "string" + }, + "^(doubleValue)$": { + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + }, + { + "type": "string" + } + ] + }, + "^(identifierValue)$": { + "description": "The value of the uninterpreted option, in whatever type the tokenizer\n identified it as during parsing. Exactly one of these should be set.", + "type": "string" + }, + "^(negativeIntValue)$": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "^(positiveIntValue)$": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + }, + "^(stringValue)$": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "properties": { + "aggregate_value": { + "type": "string" + }, + "double_value": { + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + "Infinity", + "-Infinity", + "NaN" + ], + "type": "string" + }, + { + "type": "string" + } + ] + }, + "identifier_value": { + "description": "The value of the uninterpreted option, in whatever type the tokenizer\n identified it as during parsing. Exactly one of these should be set.", + "type": "string" + }, + "name": { + "items": { + "$ref": "google.protobuf.UninterpretedOption.NamePart.schema.json" + }, + "type": "array" + }, + "negative_int_value": { + "anyOf": [ + { + "type": "integer" + }, + { + "pattern": "^-?[0-9]+$", + "type": "string" + } + ] + }, + "positive_int_value": { + "anyOf": [ + { + "minimum": 0, + "type": "integer" + }, + { + "pattern": "^[0-9]+$", + "type": "string" + } + ] + }, + "string_value": { + "pattern": "^[A-Za-z0-9+/]*={0,2}$", + "type": "string" + } + }, + "title": "Uninterpreted Option", + "type": "object" +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/bool.pb.go b/internal/gen/proto/buf/validate/conformance/cases/bool.pb.go new file mode 100644 index 00000000..aefab0e4 --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/bool.pb.go @@ -0,0 +1,279 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/bool.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BoolNone struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val bool `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BoolNone) Reset() { + *x = BoolNone{} + mi := &file_buf_validate_conformance_cases_bool_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BoolNone) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BoolNone) ProtoMessage() {} + +func (x *BoolNone) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_bool_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BoolNone.ProtoReflect.Descriptor instead. +func (*BoolNone) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_bool_proto_rawDescGZIP(), []int{0} +} + +func (x *BoolNone) GetVal() bool { + if x != nil { + return x.Val + } + return false +} + +type BoolConstTrue struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val bool `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BoolConstTrue) Reset() { + *x = BoolConstTrue{} + mi := &file_buf_validate_conformance_cases_bool_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BoolConstTrue) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BoolConstTrue) ProtoMessage() {} + +func (x *BoolConstTrue) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_bool_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BoolConstTrue.ProtoReflect.Descriptor instead. +func (*BoolConstTrue) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_bool_proto_rawDescGZIP(), []int{1} +} + +func (x *BoolConstTrue) GetVal() bool { + if x != nil { + return x.Val + } + return false +} + +type BoolConstFalse struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val bool `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BoolConstFalse) Reset() { + *x = BoolConstFalse{} + mi := &file_buf_validate_conformance_cases_bool_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BoolConstFalse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BoolConstFalse) ProtoMessage() {} + +func (x *BoolConstFalse) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_bool_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BoolConstFalse.ProtoReflect.Descriptor instead. +func (*BoolConstFalse) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_bool_proto_rawDescGZIP(), []int{2} +} + +func (x *BoolConstFalse) GetVal() bool { + if x != nil { + return x.Val + } + return false +} + +type BoolExample struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val bool `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BoolExample) Reset() { + *x = BoolExample{} + mi := &file_buf_validate_conformance_cases_bool_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BoolExample) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BoolExample) ProtoMessage() {} + +func (x *BoolExample) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_bool_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BoolExample.ProtoReflect.Descriptor instead. +func (*BoolExample) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_bool_proto_rawDescGZIP(), []int{3} +} + +func (x *BoolExample) GetVal() bool { + if x != nil { + return x.Val + } + return false +} + +var File_buf_validate_conformance_cases_bool_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_bool_proto_rawDesc = "" + + "\n" + + ")buf/validate/conformance/cases/bool.proto\x12\x1ebuf.validate.conformance.cases\x1a\x1bbuf/validate/validate.proto\"\x1c\n" + + "\bBoolNone\x12\x10\n" + + "\x03val\x18\x01 \x01(\bR\x03val\"*\n" + + "\rBoolConstTrue\x12\x19\n" + + "\x03val\x18\x01 \x01(\bB\a\xbaH\x04j\x02\b\x01R\x03val\"+\n" + + "\x0eBoolConstFalse\x12\x19\n" + + "\x03val\x18\x01 \x01(\bB\a\xbaH\x04j\x02\b\x00R\x03val\"(\n" + + "\vBoolExample\x12\x19\n" + + "\x03val\x18\x01 \x01(\bB\a\xbaH\x04j\x02\x10\x01R\x03valB\xa6\x02\n" + + "\"com.buf.validate.conformance.casesB\tBoolProtoP\x01ZYgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Casesb\x06proto3" + +var ( + file_buf_validate_conformance_cases_bool_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_bool_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_bool_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_bool_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_bool_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_bool_proto_rawDesc), len(file_buf_validate_conformance_cases_bool_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_bool_proto_rawDescData +} + +var file_buf_validate_conformance_cases_bool_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_buf_validate_conformance_cases_bool_proto_goTypes = []any{ + (*BoolNone)(nil), // 0: buf.validate.conformance.cases.BoolNone + (*BoolConstTrue)(nil), // 1: buf.validate.conformance.cases.BoolConstTrue + (*BoolConstFalse)(nil), // 2: buf.validate.conformance.cases.BoolConstFalse + (*BoolExample)(nil), // 3: buf.validate.conformance.cases.BoolExample +} +var file_buf_validate_conformance_cases_bool_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_bool_proto_init() } +func file_buf_validate_conformance_cases_bool_proto_init() { + if File_buf_validate_conformance_cases_bool_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_bool_proto_rawDesc), len(file_buf_validate_conformance_cases_bool_proto_rawDesc)), + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_bool_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_bool_proto_depIdxs, + MessageInfos: file_buf_validate_conformance_cases_bool_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_bool_proto = out.File + file_buf_validate_conformance_cases_bool_proto_goTypes = nil + file_buf_validate_conformance_cases_bool_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/bytes.pb.go b/internal/gen/proto/buf/validate/conformance/cases/bytes.pb.go new file mode 100644 index 00000000..f7d67bd2 --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/bytes.pb.go @@ -0,0 +1,1087 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/bytes.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BytesNone struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BytesNone) Reset() { + *x = BytesNone{} + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BytesNone) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BytesNone) ProtoMessage() {} + +func (x *BytesNone) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BytesNone.ProtoReflect.Descriptor instead. +func (*BytesNone) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_bytes_proto_rawDescGZIP(), []int{0} +} + +func (x *BytesNone) GetVal() []byte { + if x != nil { + return x.Val + } + return nil +} + +type BytesConst struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BytesConst) Reset() { + *x = BytesConst{} + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BytesConst) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BytesConst) ProtoMessage() {} + +func (x *BytesConst) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BytesConst.ProtoReflect.Descriptor instead. +func (*BytesConst) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_bytes_proto_rawDescGZIP(), []int{1} +} + +func (x *BytesConst) GetVal() []byte { + if x != nil { + return x.Val + } + return nil +} + +type BytesIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BytesIn) Reset() { + *x = BytesIn{} + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BytesIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BytesIn) ProtoMessage() {} + +func (x *BytesIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BytesIn.ProtoReflect.Descriptor instead. +func (*BytesIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_bytes_proto_rawDescGZIP(), []int{2} +} + +func (x *BytesIn) GetVal() []byte { + if x != nil { + return x.Val + } + return nil +} + +type BytesNotIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BytesNotIn) Reset() { + *x = BytesNotIn{} + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BytesNotIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BytesNotIn) ProtoMessage() {} + +func (x *BytesNotIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BytesNotIn.ProtoReflect.Descriptor instead. +func (*BytesNotIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_bytes_proto_rawDescGZIP(), []int{3} +} + +func (x *BytesNotIn) GetVal() []byte { + if x != nil { + return x.Val + } + return nil +} + +type BytesLen struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BytesLen) Reset() { + *x = BytesLen{} + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BytesLen) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BytesLen) ProtoMessage() {} + +func (x *BytesLen) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BytesLen.ProtoReflect.Descriptor instead. +func (*BytesLen) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_bytes_proto_rawDescGZIP(), []int{4} +} + +func (x *BytesLen) GetVal() []byte { + if x != nil { + return x.Val + } + return nil +} + +type BytesMinLen struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BytesMinLen) Reset() { + *x = BytesMinLen{} + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BytesMinLen) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BytesMinLen) ProtoMessage() {} + +func (x *BytesMinLen) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BytesMinLen.ProtoReflect.Descriptor instead. +func (*BytesMinLen) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_bytes_proto_rawDescGZIP(), []int{5} +} + +func (x *BytesMinLen) GetVal() []byte { + if x != nil { + return x.Val + } + return nil +} + +type BytesMaxLen struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BytesMaxLen) Reset() { + *x = BytesMaxLen{} + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BytesMaxLen) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BytesMaxLen) ProtoMessage() {} + +func (x *BytesMaxLen) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BytesMaxLen.ProtoReflect.Descriptor instead. +func (*BytesMaxLen) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_bytes_proto_rawDescGZIP(), []int{6} +} + +func (x *BytesMaxLen) GetVal() []byte { + if x != nil { + return x.Val + } + return nil +} + +type BytesMinMaxLen struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BytesMinMaxLen) Reset() { + *x = BytesMinMaxLen{} + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BytesMinMaxLen) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BytesMinMaxLen) ProtoMessage() {} + +func (x *BytesMinMaxLen) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BytesMinMaxLen.ProtoReflect.Descriptor instead. +func (*BytesMinMaxLen) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_bytes_proto_rawDescGZIP(), []int{7} +} + +func (x *BytesMinMaxLen) GetVal() []byte { + if x != nil { + return x.Val + } + return nil +} + +type BytesEqualMinMaxLen struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BytesEqualMinMaxLen) Reset() { + *x = BytesEqualMinMaxLen{} + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BytesEqualMinMaxLen) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BytesEqualMinMaxLen) ProtoMessage() {} + +func (x *BytesEqualMinMaxLen) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BytesEqualMinMaxLen.ProtoReflect.Descriptor instead. +func (*BytesEqualMinMaxLen) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_bytes_proto_rawDescGZIP(), []int{8} +} + +func (x *BytesEqualMinMaxLen) GetVal() []byte { + if x != nil { + return x.Val + } + return nil +} + +type BytesPattern struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BytesPattern) Reset() { + *x = BytesPattern{} + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BytesPattern) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BytesPattern) ProtoMessage() {} + +func (x *BytesPattern) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BytesPattern.ProtoReflect.Descriptor instead. +func (*BytesPattern) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_bytes_proto_rawDescGZIP(), []int{9} +} + +func (x *BytesPattern) GetVal() []byte { + if x != nil { + return x.Val + } + return nil +} + +type BytesPrefix struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BytesPrefix) Reset() { + *x = BytesPrefix{} + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BytesPrefix) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BytesPrefix) ProtoMessage() {} + +func (x *BytesPrefix) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BytesPrefix.ProtoReflect.Descriptor instead. +func (*BytesPrefix) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_bytes_proto_rawDescGZIP(), []int{10} +} + +func (x *BytesPrefix) GetVal() []byte { + if x != nil { + return x.Val + } + return nil +} + +type BytesContains struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BytesContains) Reset() { + *x = BytesContains{} + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BytesContains) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BytesContains) ProtoMessage() {} + +func (x *BytesContains) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BytesContains.ProtoReflect.Descriptor instead. +func (*BytesContains) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_bytes_proto_rawDescGZIP(), []int{11} +} + +func (x *BytesContains) GetVal() []byte { + if x != nil { + return x.Val + } + return nil +} + +type BytesSuffix struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BytesSuffix) Reset() { + *x = BytesSuffix{} + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BytesSuffix) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BytesSuffix) ProtoMessage() {} + +func (x *BytesSuffix) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BytesSuffix.ProtoReflect.Descriptor instead. +func (*BytesSuffix) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_bytes_proto_rawDescGZIP(), []int{12} +} + +func (x *BytesSuffix) GetVal() []byte { + if x != nil { + return x.Val + } + return nil +} + +type BytesIP struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BytesIP) Reset() { + *x = BytesIP{} + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BytesIP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BytesIP) ProtoMessage() {} + +func (x *BytesIP) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BytesIP.ProtoReflect.Descriptor instead. +func (*BytesIP) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_bytes_proto_rawDescGZIP(), []int{13} +} + +func (x *BytesIP) GetVal() []byte { + if x != nil { + return x.Val + } + return nil +} + +type BytesNotIP struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BytesNotIP) Reset() { + *x = BytesNotIP{} + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BytesNotIP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BytesNotIP) ProtoMessage() {} + +func (x *BytesNotIP) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BytesNotIP.ProtoReflect.Descriptor instead. +func (*BytesNotIP) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_bytes_proto_rawDescGZIP(), []int{14} +} + +func (x *BytesNotIP) GetVal() []byte { + if x != nil { + return x.Val + } + return nil +} + +type BytesIPv4 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BytesIPv4) Reset() { + *x = BytesIPv4{} + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BytesIPv4) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BytesIPv4) ProtoMessage() {} + +func (x *BytesIPv4) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[15] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BytesIPv4.ProtoReflect.Descriptor instead. +func (*BytesIPv4) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_bytes_proto_rawDescGZIP(), []int{15} +} + +func (x *BytesIPv4) GetVal() []byte { + if x != nil { + return x.Val + } + return nil +} + +type BytesNotIPv4 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BytesNotIPv4) Reset() { + *x = BytesNotIPv4{} + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BytesNotIPv4) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BytesNotIPv4) ProtoMessage() {} + +func (x *BytesNotIPv4) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[16] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BytesNotIPv4.ProtoReflect.Descriptor instead. +func (*BytesNotIPv4) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_bytes_proto_rawDescGZIP(), []int{16} +} + +func (x *BytesNotIPv4) GetVal() []byte { + if x != nil { + return x.Val + } + return nil +} + +type BytesIPv6 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BytesIPv6) Reset() { + *x = BytesIPv6{} + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BytesIPv6) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BytesIPv6) ProtoMessage() {} + +func (x *BytesIPv6) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[17] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BytesIPv6.ProtoReflect.Descriptor instead. +func (*BytesIPv6) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_bytes_proto_rawDescGZIP(), []int{17} +} + +func (x *BytesIPv6) GetVal() []byte { + if x != nil { + return x.Val + } + return nil +} + +type BytesNotIPv6 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BytesNotIPv6) Reset() { + *x = BytesNotIPv6{} + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BytesNotIPv6) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BytesNotIPv6) ProtoMessage() {} + +func (x *BytesNotIPv6) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[18] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BytesNotIPv6.ProtoReflect.Descriptor instead. +func (*BytesNotIPv6) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_bytes_proto_rawDescGZIP(), []int{18} +} + +func (x *BytesNotIPv6) GetVal() []byte { + if x != nil { + return x.Val + } + return nil +} + +type BytesIPv6Ignore struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BytesIPv6Ignore) Reset() { + *x = BytesIPv6Ignore{} + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BytesIPv6Ignore) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BytesIPv6Ignore) ProtoMessage() {} + +func (x *BytesIPv6Ignore) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[19] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BytesIPv6Ignore.ProtoReflect.Descriptor instead. +func (*BytesIPv6Ignore) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_bytes_proto_rawDescGZIP(), []int{19} +} + +func (x *BytesIPv6Ignore) GetVal() []byte { + if x != nil { + return x.Val + } + return nil +} + +type BytesExample struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BytesExample) Reset() { + *x = BytesExample{} + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BytesExample) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BytesExample) ProtoMessage() {} + +func (x *BytesExample) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_bytes_proto_msgTypes[20] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BytesExample.ProtoReflect.Descriptor instead. +func (*BytesExample) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_bytes_proto_rawDescGZIP(), []int{20} +} + +func (x *BytesExample) GetVal() []byte { + if x != nil { + return x.Val + } + return nil +} + +var File_buf_validate_conformance_cases_bytes_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_bytes_proto_rawDesc = "" + + "\n" + + "*buf/validate/conformance/cases/bytes.proto\x12\x1ebuf.validate.conformance.cases\x1a\x1bbuf/validate/validate.proto\"\x1d\n" + + "\tBytesNone\x12\x10\n" + + "\x03val\x18\x01 \x01(\fR\x03val\"*\n" + + "\n" + + "BytesConst\x12\x1c\n" + + "\x03val\x18\x01 \x01(\fB\n" + + "\xbaH\az\x05\n" + + "\x03fooR\x03val\",\n" + + "\aBytesIn\x12!\n" + + "\x03val\x18\x01 \x01(\fB\x0f\xbaH\fz\n" + + "B\x03barB\x03bazR\x03val\"1\n" + + "\n" + + "BytesNotIn\x12#\n" + + "\x03val\x18\x01 \x01(\fB\x11\xbaH\x0ez\fJ\x04fizzJ\x04buzzR\x03val\"%\n" + + "\bBytesLen\x12\x19\n" + + "\x03val\x18\x01 \x01(\fB\a\xbaH\x04z\x02h\x03R\x03val\"(\n" + + "\vBytesMinLen\x12\x19\n" + + "\x03val\x18\x01 \x01(\fB\a\xbaH\x04z\x02\x10\x03R\x03val\"(\n" + + "\vBytesMaxLen\x12\x19\n" + + "\x03val\x18\x01 \x01(\fB\a\xbaH\x04z\x02\x18\x05R\x03val\"-\n" + + "\x0eBytesMinMaxLen\x12\x1b\n" + + "\x03val\x18\x01 \x01(\fB\t\xbaH\x06z\x04\x10\x03\x18\x05R\x03val\"2\n" + + "\x13BytesEqualMinMaxLen\x12\x1b\n" + + "\x03val\x18\x01 \x01(\fB\t\xbaH\x06z\x04\x10\x05\x18\x05R\x03val\"7\n" + + "\fBytesPattern\x12'\n" + + "\x03val\x18\x01 \x01(\fB\x15\xbaH\x12z\x10\"\x0e^[\\x00-\\x7F]+$R\x03val\")\n" + + "\vBytesPrefix\x12\x1a\n" + + "\x03val\x18\x01 \x01(\fB\b\xbaH\x05z\x03*\x01\x99R\x03val\"-\n" + + "\rBytesContains\x12\x1c\n" + + "\x03val\x18\x01 \x01(\fB\n" + + "\xbaH\az\x05:\x03barR\x03val\",\n" + + "\vBytesSuffix\x12\x1d\n" + + "\x03val\x18\x01 \x01(\fB\v\xbaH\bz\x062\x04buzzR\x03val\"$\n" + + "\aBytesIP\x12\x19\n" + + "\x03val\x18\x01 \x01(\fB\a\xbaH\x04z\x02P\x01R\x03val\"'\n" + + "\n" + + "BytesNotIP\x12\x19\n" + + "\x03val\x18\x01 \x01(\fB\a\xbaH\x04z\x02P\x00R\x03val\"&\n" + + "\tBytesIPv4\x12\x19\n" + + "\x03val\x18\x01 \x01(\fB\a\xbaH\x04z\x02X\x01R\x03val\")\n" + + "\fBytesNotIPv4\x12\x19\n" + + "\x03val\x18\x01 \x01(\fB\a\xbaH\x04z\x02X\x00R\x03val\"&\n" + + "\tBytesIPv6\x12\x19\n" + + "\x03val\x18\x01 \x01(\fB\a\xbaH\x04z\x02`\x01R\x03val\")\n" + + "\fBytesNotIPv6\x12\x19\n" + + "\x03val\x18\x01 \x01(\fB\a\xbaH\x04z\x02`\x00R\x03val\"/\n" + + "\x0fBytesIPv6Ignore\x12\x1c\n" + + "\x03val\x18\x01 \x01(\fB\n" + + "\xbaH\a\xd8\x01\x01z\x02`\x01R\x03val\"*\n" + + "\fBytesExample\x12\x1a\n" + + "\x03val\x18\x01 \x01(\fB\b\xbaH\x05z\x03r\x01\x99R\x03valB\xa7\x02\n" + + "\"com.buf.validate.conformance.casesB\n" + + "BytesProtoP\x01ZYgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Casesb\x06proto3" + +var ( + file_buf_validate_conformance_cases_bytes_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_bytes_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_bytes_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_bytes_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_bytes_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_bytes_proto_rawDesc), len(file_buf_validate_conformance_cases_bytes_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_bytes_proto_rawDescData +} + +var file_buf_validate_conformance_cases_bytes_proto_msgTypes = make([]protoimpl.MessageInfo, 21) +var file_buf_validate_conformance_cases_bytes_proto_goTypes = []any{ + (*BytesNone)(nil), // 0: buf.validate.conformance.cases.BytesNone + (*BytesConst)(nil), // 1: buf.validate.conformance.cases.BytesConst + (*BytesIn)(nil), // 2: buf.validate.conformance.cases.BytesIn + (*BytesNotIn)(nil), // 3: buf.validate.conformance.cases.BytesNotIn + (*BytesLen)(nil), // 4: buf.validate.conformance.cases.BytesLen + (*BytesMinLen)(nil), // 5: buf.validate.conformance.cases.BytesMinLen + (*BytesMaxLen)(nil), // 6: buf.validate.conformance.cases.BytesMaxLen + (*BytesMinMaxLen)(nil), // 7: buf.validate.conformance.cases.BytesMinMaxLen + (*BytesEqualMinMaxLen)(nil), // 8: buf.validate.conformance.cases.BytesEqualMinMaxLen + (*BytesPattern)(nil), // 9: buf.validate.conformance.cases.BytesPattern + (*BytesPrefix)(nil), // 10: buf.validate.conformance.cases.BytesPrefix + (*BytesContains)(nil), // 11: buf.validate.conformance.cases.BytesContains + (*BytesSuffix)(nil), // 12: buf.validate.conformance.cases.BytesSuffix + (*BytesIP)(nil), // 13: buf.validate.conformance.cases.BytesIP + (*BytesNotIP)(nil), // 14: buf.validate.conformance.cases.BytesNotIP + (*BytesIPv4)(nil), // 15: buf.validate.conformance.cases.BytesIPv4 + (*BytesNotIPv4)(nil), // 16: buf.validate.conformance.cases.BytesNotIPv4 + (*BytesIPv6)(nil), // 17: buf.validate.conformance.cases.BytesIPv6 + (*BytesNotIPv6)(nil), // 18: buf.validate.conformance.cases.BytesNotIPv6 + (*BytesIPv6Ignore)(nil), // 19: buf.validate.conformance.cases.BytesIPv6Ignore + (*BytesExample)(nil), // 20: buf.validate.conformance.cases.BytesExample +} +var file_buf_validate_conformance_cases_bytes_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_bytes_proto_init() } +func file_buf_validate_conformance_cases_bytes_proto_init() { + if File_buf_validate_conformance_cases_bytes_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_bytes_proto_rawDesc), len(file_buf_validate_conformance_cases_bytes_proto_rawDesc)), + NumEnums: 0, + NumMessages: 21, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_bytes_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_bytes_proto_depIdxs, + MessageInfos: file_buf_validate_conformance_cases_bytes_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_bytes_proto = out.File + file_buf_validate_conformance_cases_bytes_proto_goTypes = nil + file_buf_validate_conformance_cases_bytes_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/custom_rules/custom_rules.pb.go b/internal/gen/proto/buf/validate/conformance/cases/custom_rules/custom_rules.pb.go new file mode 100644 index 00000000..56003995 --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/custom_rules/custom_rules.pb.go @@ -0,0 +1,2052 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/custom_rules/custom_rules.proto + +package custom_rules + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Enum int32 + +const ( + Enum_ENUM_UNSPECIFIED Enum = 0 + Enum_ENUM_ONE Enum = 1 +) + +// Enum value maps for Enum. +var ( + Enum_name = map[int32]string{ + 0: "ENUM_UNSPECIFIED", + 1: "ENUM_ONE", + } + Enum_value = map[string]int32{ + "ENUM_UNSPECIFIED": 0, + "ENUM_ONE": 1, + } +) + +func (x Enum) Enum() *Enum { + p := new(Enum) + *p = x + return p +} + +func (x Enum) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Enum) Descriptor() protoreflect.EnumDescriptor { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_enumTypes[0].Descriptor() +} + +func (Enum) Type() protoreflect.EnumType { + return &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_enumTypes[0] +} + +func (x Enum) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Enum.Descriptor instead. +func (Enum) EnumDescriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{0} +} + +// A message that does not contain any expressions +type NoExpressions struct { + state protoimpl.MessageState `protogen:"open.v1"` + A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` + B Enum `protobuf:"varint,2,opt,name=b,proto3,enum=buf.validate.conformance.cases.custom_rules.Enum" json:"b,omitempty"` + C *NoExpressions_Nested `protobuf:"bytes,3,opt,name=c,proto3" json:"c,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *NoExpressions) Reset() { + *x = NoExpressions{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *NoExpressions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NoExpressions) ProtoMessage() {} + +func (x *NoExpressions) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NoExpressions.ProtoReflect.Descriptor instead. +func (*NoExpressions) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{0} +} + +func (x *NoExpressions) GetA() int32 { + if x != nil { + return x.A + } + return 0 +} + +func (x *NoExpressions) GetB() Enum { + if x != nil { + return x.B + } + return Enum_ENUM_UNSPECIFIED +} + +func (x *NoExpressions) GetC() *NoExpressions_Nested { + if x != nil { + return x.C + } + return nil +} + +// A message with message-level custom expressions +type MessageExpressions struct { + state protoimpl.MessageState `protogen:"open.v1"` + A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` + B int32 `protobuf:"varint,2,opt,name=b,proto3" json:"b,omitempty"` + C Enum `protobuf:"varint,3,opt,name=c,proto3,enum=buf.validate.conformance.cases.custom_rules.Enum" json:"c,omitempty"` + D Enum `protobuf:"varint,4,opt,name=d,proto3,enum=buf.validate.conformance.cases.custom_rules.Enum" json:"d,omitempty"` + E *MessageExpressions_Nested `protobuf:"bytes,5,opt,name=e,proto3" json:"e,omitempty"` + F *MessageExpressions_Nested `protobuf:"bytes,6,opt,name=f,proto3" json:"f,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MessageExpressions) Reset() { + *x = MessageExpressions{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MessageExpressions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageExpressions) ProtoMessage() {} + +func (x *MessageExpressions) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageExpressions.ProtoReflect.Descriptor instead. +func (*MessageExpressions) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{1} +} + +func (x *MessageExpressions) GetA() int32 { + if x != nil { + return x.A + } + return 0 +} + +func (x *MessageExpressions) GetB() int32 { + if x != nil { + return x.B + } + return 0 +} + +func (x *MessageExpressions) GetC() Enum { + if x != nil { + return x.C + } + return Enum_ENUM_UNSPECIFIED +} + +func (x *MessageExpressions) GetD() Enum { + if x != nil { + return x.D + } + return Enum_ENUM_UNSPECIFIED +} + +func (x *MessageExpressions) GetE() *MessageExpressions_Nested { + if x != nil { + return x.E + } + return nil +} + +func (x *MessageExpressions) GetF() *MessageExpressions_Nested { + if x != nil { + return x.F + } + return nil +} + +type MissingField struct { + state protoimpl.MessageState `protogen:"open.v1"` + A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MissingField) Reset() { + *x = MissingField{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MissingField) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MissingField) ProtoMessage() {} + +func (x *MissingField) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MissingField.ProtoReflect.Descriptor instead. +func (*MissingField) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{2} +} + +func (x *MissingField) GetA() int32 { + if x != nil { + return x.A + } + return 0 +} + +type IncorrectType struct { + state protoimpl.MessageState `protogen:"open.v1"` + A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IncorrectType) Reset() { + *x = IncorrectType{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IncorrectType) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IncorrectType) ProtoMessage() {} + +func (x *IncorrectType) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IncorrectType.ProtoReflect.Descriptor instead. +func (*IncorrectType) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{3} +} + +func (x *IncorrectType) GetA() int32 { + if x != nil { + return x.A + } + return 0 +} + +type DynRuntimeError struct { + state protoimpl.MessageState `protogen:"open.v1"` + A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DynRuntimeError) Reset() { + *x = DynRuntimeError{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DynRuntimeError) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DynRuntimeError) ProtoMessage() {} + +func (x *DynRuntimeError) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DynRuntimeError.ProtoReflect.Descriptor instead. +func (*DynRuntimeError) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{4} +} + +func (x *DynRuntimeError) GetA() int32 { + if x != nil { + return x.A + } + return 0 +} + +type NowEqualsNow struct { + state protoimpl.MessageState `protogen:"open.v1"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *NowEqualsNow) Reset() { + *x = NowEqualsNow{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *NowEqualsNow) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NowEqualsNow) ProtoMessage() {} + +func (x *NowEqualsNow) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NowEqualsNow.ProtoReflect.Descriptor instead. +func (*NowEqualsNow) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{5} +} + +type FieldExpressionMultipleScalar struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionMultipleScalar) Reset() { + *x = FieldExpressionMultipleScalar{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionMultipleScalar) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionMultipleScalar) ProtoMessage() {} + +func (x *FieldExpressionMultipleScalar) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionMultipleScalar.ProtoReflect.Descriptor instead. +func (*FieldExpressionMultipleScalar) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{6} +} + +func (x *FieldExpressionMultipleScalar) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type FieldExpressionNestedScalar struct { + state protoimpl.MessageState `protogen:"open.v1"` + Nested *FieldExpressionScalar `protobuf:"bytes,1,opt,name=nested,proto3" json:"nested,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionNestedScalar) Reset() { + *x = FieldExpressionNestedScalar{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionNestedScalar) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionNestedScalar) ProtoMessage() {} + +func (x *FieldExpressionNestedScalar) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionNestedScalar.ProtoReflect.Descriptor instead. +func (*FieldExpressionNestedScalar) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{7} +} + +func (x *FieldExpressionNestedScalar) GetNested() *FieldExpressionScalar { + if x != nil { + return x.Nested + } + return nil +} + +type FieldExpressionOptionalScalar struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionOptionalScalar) Reset() { + *x = FieldExpressionOptionalScalar{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionOptionalScalar) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionOptionalScalar) ProtoMessage() {} + +func (x *FieldExpressionOptionalScalar) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionOptionalScalar.ProtoReflect.Descriptor instead. +func (*FieldExpressionOptionalScalar) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{8} +} + +func (x *FieldExpressionOptionalScalar) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type FieldExpressionScalar struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionScalar) Reset() { + *x = FieldExpressionScalar{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionScalar) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionScalar) ProtoMessage() {} + +func (x *FieldExpressionScalar) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionScalar.ProtoReflect.Descriptor instead. +func (*FieldExpressionScalar) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{9} +} + +func (x *FieldExpressionScalar) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type FieldExpressionEnum struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val Enum `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.custom_rules.Enum" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionEnum) Reset() { + *x = FieldExpressionEnum{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionEnum) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionEnum) ProtoMessage() {} + +func (x *FieldExpressionEnum) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionEnum.ProtoReflect.Descriptor instead. +func (*FieldExpressionEnum) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{10} +} + +func (x *FieldExpressionEnum) GetVal() Enum { + if x != nil { + return x.Val + } + return Enum_ENUM_UNSPECIFIED +} + +type FieldExpressionMessage struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *FieldExpressionMessage_Msg `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionMessage) Reset() { + *x = FieldExpressionMessage{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionMessage) ProtoMessage() {} + +func (x *FieldExpressionMessage) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionMessage.ProtoReflect.Descriptor instead. +func (*FieldExpressionMessage) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{11} +} + +func (x *FieldExpressionMessage) GetVal() *FieldExpressionMessage_Msg { + if x != nil { + return x.Val + } + return nil +} + +type FieldExpressionMapInt32 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionMapInt32) Reset() { + *x = FieldExpressionMapInt32{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionMapInt32) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionMapInt32) ProtoMessage() {} + +func (x *FieldExpressionMapInt32) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionMapInt32.ProtoReflect.Descriptor instead. +func (*FieldExpressionMapInt32) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{12} +} + +func (x *FieldExpressionMapInt32) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type FieldExpressionMapInt64 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int64]int64 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionMapInt64) Reset() { + *x = FieldExpressionMapInt64{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionMapInt64) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionMapInt64) ProtoMessage() {} + +func (x *FieldExpressionMapInt64) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionMapInt64.ProtoReflect.Descriptor instead. +func (*FieldExpressionMapInt64) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{13} +} + +func (x *FieldExpressionMapInt64) GetVal() map[int64]int64 { + if x != nil { + return x.Val + } + return nil +} + +type FieldExpressionMapUint32 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[uint32]uint32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionMapUint32) Reset() { + *x = FieldExpressionMapUint32{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionMapUint32) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionMapUint32) ProtoMessage() {} + +func (x *FieldExpressionMapUint32) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionMapUint32.ProtoReflect.Descriptor instead. +func (*FieldExpressionMapUint32) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{14} +} + +func (x *FieldExpressionMapUint32) GetVal() map[uint32]uint32 { + if x != nil { + return x.Val + } + return nil +} + +type FieldExpressionMapUint64 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[uint64]uint64 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionMapUint64) Reset() { + *x = FieldExpressionMapUint64{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionMapUint64) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionMapUint64) ProtoMessage() {} + +func (x *FieldExpressionMapUint64) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[15] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionMapUint64.ProtoReflect.Descriptor instead. +func (*FieldExpressionMapUint64) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{15} +} + +func (x *FieldExpressionMapUint64) GetVal() map[uint64]uint64 { + if x != nil { + return x.Val + } + return nil +} + +type FieldExpressionMapBool struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[bool]bool `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionMapBool) Reset() { + *x = FieldExpressionMapBool{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionMapBool) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionMapBool) ProtoMessage() {} + +func (x *FieldExpressionMapBool) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[16] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionMapBool.ProtoReflect.Descriptor instead. +func (*FieldExpressionMapBool) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{16} +} + +func (x *FieldExpressionMapBool) GetVal() map[bool]bool { + if x != nil { + return x.Val + } + return nil +} + +type FieldExpressionMapString struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[string]string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionMapString) Reset() { + *x = FieldExpressionMapString{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionMapString) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionMapString) ProtoMessage() {} + +func (x *FieldExpressionMapString) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[17] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionMapString.ProtoReflect.Descriptor instead. +func (*FieldExpressionMapString) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{17} +} + +func (x *FieldExpressionMapString) GetVal() map[string]string { + if x != nil { + return x.Val + } + return nil +} + +type FieldExpressionMapEnum struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]Enum `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=buf.validate.conformance.cases.custom_rules.Enum"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionMapEnum) Reset() { + *x = FieldExpressionMapEnum{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionMapEnum) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionMapEnum) ProtoMessage() {} + +func (x *FieldExpressionMapEnum) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[18] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionMapEnum.ProtoReflect.Descriptor instead. +func (*FieldExpressionMapEnum) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{18} +} + +func (x *FieldExpressionMapEnum) GetVal() map[int32]Enum { + if x != nil { + return x.Val + } + return nil +} + +type FieldExpressionMapMessage struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]*FieldExpressionMapMessage_Msg `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionMapMessage) Reset() { + *x = FieldExpressionMapMessage{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionMapMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionMapMessage) ProtoMessage() {} + +func (x *FieldExpressionMapMessage) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[19] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionMapMessage.ProtoReflect.Descriptor instead. +func (*FieldExpressionMapMessage) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{19} +} + +func (x *FieldExpressionMapMessage) GetVal() map[int32]*FieldExpressionMapMessage_Msg { + if x != nil { + return x.Val + } + return nil +} + +type FieldExpressionMapKeys struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionMapKeys) Reset() { + *x = FieldExpressionMapKeys{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionMapKeys) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionMapKeys) ProtoMessage() {} + +func (x *FieldExpressionMapKeys) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[20] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionMapKeys.ProtoReflect.Descriptor instead. +func (*FieldExpressionMapKeys) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{20} +} + +func (x *FieldExpressionMapKeys) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type FieldExpressionMapScalarValues struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionMapScalarValues) Reset() { + *x = FieldExpressionMapScalarValues{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionMapScalarValues) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionMapScalarValues) ProtoMessage() {} + +func (x *FieldExpressionMapScalarValues) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[21] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionMapScalarValues.ProtoReflect.Descriptor instead. +func (*FieldExpressionMapScalarValues) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{21} +} + +func (x *FieldExpressionMapScalarValues) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type FieldExpressionMapEnumValues struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]Enum `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=buf.validate.conformance.cases.custom_rules.Enum"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionMapEnumValues) Reset() { + *x = FieldExpressionMapEnumValues{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionMapEnumValues) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionMapEnumValues) ProtoMessage() {} + +func (x *FieldExpressionMapEnumValues) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[22] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionMapEnumValues.ProtoReflect.Descriptor instead. +func (*FieldExpressionMapEnumValues) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{22} +} + +func (x *FieldExpressionMapEnumValues) GetVal() map[int32]Enum { + if x != nil { + return x.Val + } + return nil +} + +type FieldExpressionMapMessageValues struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]*FieldExpressionMapMessageValues_Msg `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionMapMessageValues) Reset() { + *x = FieldExpressionMapMessageValues{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionMapMessageValues) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionMapMessageValues) ProtoMessage() {} + +func (x *FieldExpressionMapMessageValues) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[23] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionMapMessageValues.ProtoReflect.Descriptor instead. +func (*FieldExpressionMapMessageValues) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{23} +} + +func (x *FieldExpressionMapMessageValues) GetVal() map[int32]*FieldExpressionMapMessageValues_Msg { + if x != nil { + return x.Val + } + return nil +} + +type FieldExpressionRepeatedScalar struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionRepeatedScalar) Reset() { + *x = FieldExpressionRepeatedScalar{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionRepeatedScalar) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionRepeatedScalar) ProtoMessage() {} + +func (x *FieldExpressionRepeatedScalar) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[24] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionRepeatedScalar.ProtoReflect.Descriptor instead. +func (*FieldExpressionRepeatedScalar) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{24} +} + +func (x *FieldExpressionRepeatedScalar) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type FieldExpressionRepeatedEnum struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []Enum `protobuf:"varint,1,rep,packed,name=val,proto3,enum=buf.validate.conformance.cases.custom_rules.Enum" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionRepeatedEnum) Reset() { + *x = FieldExpressionRepeatedEnum{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionRepeatedEnum) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionRepeatedEnum) ProtoMessage() {} + +func (x *FieldExpressionRepeatedEnum) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[25] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionRepeatedEnum.ProtoReflect.Descriptor instead. +func (*FieldExpressionRepeatedEnum) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{25} +} + +func (x *FieldExpressionRepeatedEnum) GetVal() []Enum { + if x != nil { + return x.Val + } + return nil +} + +type FieldExpressionRepeatedMessage struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*FieldExpressionRepeatedMessage_Msg `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionRepeatedMessage) Reset() { + *x = FieldExpressionRepeatedMessage{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionRepeatedMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionRepeatedMessage) ProtoMessage() {} + +func (x *FieldExpressionRepeatedMessage) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[26] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionRepeatedMessage.ProtoReflect.Descriptor instead. +func (*FieldExpressionRepeatedMessage) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{26} +} + +func (x *FieldExpressionRepeatedMessage) GetVal() []*FieldExpressionRepeatedMessage_Msg { + if x != nil { + return x.Val + } + return nil +} + +type FieldExpressionRepeatedScalarItems struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionRepeatedScalarItems) Reset() { + *x = FieldExpressionRepeatedScalarItems{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionRepeatedScalarItems) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionRepeatedScalarItems) ProtoMessage() {} + +func (x *FieldExpressionRepeatedScalarItems) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[27] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionRepeatedScalarItems.ProtoReflect.Descriptor instead. +func (*FieldExpressionRepeatedScalarItems) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{27} +} + +func (x *FieldExpressionRepeatedScalarItems) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type FieldExpressionRepeatedEnumItems struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []Enum `protobuf:"varint,1,rep,packed,name=val,proto3,enum=buf.validate.conformance.cases.custom_rules.Enum" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionRepeatedEnumItems) Reset() { + *x = FieldExpressionRepeatedEnumItems{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionRepeatedEnumItems) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionRepeatedEnumItems) ProtoMessage() {} + +func (x *FieldExpressionRepeatedEnumItems) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[28] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionRepeatedEnumItems.ProtoReflect.Descriptor instead. +func (*FieldExpressionRepeatedEnumItems) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{28} +} + +func (x *FieldExpressionRepeatedEnumItems) GetVal() []Enum { + if x != nil { + return x.Val + } + return nil +} + +type FieldExpressionRepeatedMessageItems struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*FieldExpressionRepeatedMessageItems_Msg `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionRepeatedMessageItems) Reset() { + *x = FieldExpressionRepeatedMessageItems{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionRepeatedMessageItems) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionRepeatedMessageItems) ProtoMessage() {} + +func (x *FieldExpressionRepeatedMessageItems) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[29] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionRepeatedMessageItems.ProtoReflect.Descriptor instead. +func (*FieldExpressionRepeatedMessageItems) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{29} +} + +func (x *FieldExpressionRepeatedMessageItems) GetVal() []*FieldExpressionRepeatedMessageItems_Msg { + if x != nil { + return x.Val + } + return nil +} + +type NoExpressions_Nested struct { + state protoimpl.MessageState `protogen:"open.v1"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *NoExpressions_Nested) Reset() { + *x = NoExpressions_Nested{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *NoExpressions_Nested) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NoExpressions_Nested) ProtoMessage() {} + +func (x *NoExpressions_Nested) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[30] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NoExpressions_Nested.ProtoReflect.Descriptor instead. +func (*NoExpressions_Nested) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{0, 0} +} + +type MessageExpressions_Nested struct { + state protoimpl.MessageState `protogen:"open.v1"` + A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` + B int32 `protobuf:"varint,2,opt,name=b,proto3" json:"b,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MessageExpressions_Nested) Reset() { + *x = MessageExpressions_Nested{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MessageExpressions_Nested) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageExpressions_Nested) ProtoMessage() {} + +func (x *MessageExpressions_Nested) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[31] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageExpressions_Nested.ProtoReflect.Descriptor instead. +func (*MessageExpressions_Nested) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{1, 0} +} + +func (x *MessageExpressions_Nested) GetA() int32 { + if x != nil { + return x.A + } + return 0 +} + +func (x *MessageExpressions_Nested) GetB() int32 { + if x != nil { + return x.B + } + return 0 +} + +type FieldExpressionMessage_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionMessage_Msg) Reset() { + *x = FieldExpressionMessage_Msg{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionMessage_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionMessage_Msg) ProtoMessage() {} + +func (x *FieldExpressionMessage_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[32] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionMessage_Msg.ProtoReflect.Descriptor instead. +func (*FieldExpressionMessage_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{11, 0} +} + +func (x *FieldExpressionMessage_Msg) GetA() int32 { + if x != nil { + return x.A + } + return 0 +} + +type FieldExpressionMapMessage_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionMapMessage_Msg) Reset() { + *x = FieldExpressionMapMessage_Msg{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionMapMessage_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionMapMessage_Msg) ProtoMessage() {} + +func (x *FieldExpressionMapMessage_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[41] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionMapMessage_Msg.ProtoReflect.Descriptor instead. +func (*FieldExpressionMapMessage_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{19, 1} +} + +func (x *FieldExpressionMapMessage_Msg) GetA() int32 { + if x != nil { + return x.A + } + return 0 +} + +type FieldExpressionMapMessageValues_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionMapMessageValues_Msg) Reset() { + *x = FieldExpressionMapMessageValues_Msg{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionMapMessageValues_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionMapMessageValues_Msg) ProtoMessage() {} + +func (x *FieldExpressionMapMessageValues_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[46] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionMapMessageValues_Msg.ProtoReflect.Descriptor instead. +func (*FieldExpressionMapMessageValues_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{23, 1} +} + +func (x *FieldExpressionMapMessageValues_Msg) GetA() int32 { + if x != nil { + return x.A + } + return 0 +} + +type FieldExpressionRepeatedMessage_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionRepeatedMessage_Msg) Reset() { + *x = FieldExpressionRepeatedMessage_Msg{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionRepeatedMessage_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionRepeatedMessage_Msg) ProtoMessage() {} + +func (x *FieldExpressionRepeatedMessage_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[47] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionRepeatedMessage_Msg.ProtoReflect.Descriptor instead. +func (*FieldExpressionRepeatedMessage_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{26, 0} +} + +func (x *FieldExpressionRepeatedMessage_Msg) GetA() int32 { + if x != nil { + return x.A + } + return 0 +} + +type FieldExpressionRepeatedMessageItems_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FieldExpressionRepeatedMessageItems_Msg) Reset() { + *x = FieldExpressionRepeatedMessageItems_Msg{} + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FieldExpressionRepeatedMessageItems_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldExpressionRepeatedMessageItems_Msg) ProtoMessage() {} + +func (x *FieldExpressionRepeatedMessageItems_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[48] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldExpressionRepeatedMessageItems_Msg.ProtoReflect.Descriptor instead. +func (*FieldExpressionRepeatedMessageItems_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP(), []int{29, 0} +} + +func (x *FieldExpressionRepeatedMessageItems_Msg) GetA() int32 { + if x != nil { + return x.A + } + return 0 +} + +var File_buf_validate_conformance_cases_custom_rules_custom_rules_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDesc = "" + + "\n" + + ">buf/validate/conformance/cases/custom_rules/custom_rules.proto\x12+buf.validate.conformance.cases.custom_rules\x1a\x1bbuf/validate/validate.proto\"\xb9\x01\n" + + "\rNoExpressions\x12\f\n" + + "\x01a\x18\x01 \x01(\x05R\x01a\x12?\n" + + "\x01b\x18\x02 \x01(\x0e21.buf.validate.conformance.cases.custom_rules.EnumR\x01b\x12O\n" + + "\x01c\x18\x03 \x01(\v2A.buf.validate.conformance.cases.custom_rules.NoExpressions.NestedR\x01c\x1a\b\n" + + "\x06Nested\"\xab\x05\n" + + "\x12MessageExpressions\x12\f\n" + + "\x01a\x18\x01 \x01(\x05R\x01a\x12\f\n" + + "\x01b\x18\x02 \x01(\x05R\x01b\x12?\n" + + "\x01c\x18\x03 \x01(\x0e21.buf.validate.conformance.cases.custom_rules.EnumR\x01c\x12?\n" + + "\x01d\x18\x04 \x01(\x0e21.buf.validate.conformance.cases.custom_rules.EnumR\x01d\x12T\n" + + "\x01e\x18\x05 \x01(\v2F.buf.validate.conformance.cases.custom_rules.MessageExpressions.NestedR\x01e\x12T\n" + + "\x01f\x18\x06 \x01(\v2F.buf.validate.conformance.cases.custom_rules.MessageExpressions.NestedR\x01f\x1ax\n" + + "\x06Nested\x12\f\n" + + "\x01a\x18\x01 \x01(\x05R\x01a\x12\f\n" + + "\x01b\x18\x02 \x01(\x05R\x01b:R\xbaHO\x1aM\n" + + "\x19message_expression_nested\x1a0this.a > this.b ? '': 'a must be greater than b':\xd0\x01\xbaH\xcc\x01\x1aC\n" + + "\x19message_expression_scalar\x12\x15a must be less than b\x1a\x0fthis.a < this.b\x1a?\n" + + "\x17message_expression_enum\x12\x12c must not equal d\x1a\x10this.c != this.d\x1aD\n" + + "\x18message_expression_embed\x12\x12e.a must equal f.a\x1a\x14this.e.a == this.f.a\"R\n" + + "\fMissingField\x12\f\n" + + "\x01a\x18\x01 \x01(\x05R\x01a:4\xbaH1\x1a/\n" + + "\rmissing_field\x12\x12b must be positive\x1a\n" + + "this.b > 0\"g\n" + + "\rIncorrectType\x12\f\n" + + "\x01a\x18\x01 \x01(\x05R\x01a:H\xbaHE\x1aC\n" + + "\x0eincorrect_type\x12\x17a must start with 'foo'\x1a\x18this.a.startsWith('foo')\"}\n" + + "\x0fDynRuntimeError\x12\f\n" + + "\x01a\x18\x01 \x01(\x05R\x01a:\\\xbaHY\x1aW\n" + + "\x0fdyn_runtime_err\x12.dynamic type tries to use a non-existent field\x1a\x14dyn(this).b == 'foo'\"\\\n" + + "\fNowEqualsNow:L\xbaHI\x1aG\n" + + "\x0enow_equals_now\x12)now should equal now within an expression\x1a\n" + + "now == now\"\xdf\x02\n" + + "\x1dFieldExpressionMultipleScalar\x12\xbd\x02\n" + + "\x03val\x18\x01 \x01(\x05B\xaa\x02\xbaH\xa6\x02\xba\x01_\n" + + "\"field_expression.multiple.scalar.1\x12/test message field_expression.multiple.scalar.1\x1a\bthis > 0\xba\x01_\n" + + "\"field_expression.multiple.scalar.2\x12/test message field_expression.multiple.scalar.2\x1a\bthis > 1\xba\x01_\n" + + "\"field_expression.multiple.scalar.3\x12/test message field_expression.multiple.scalar.3\x1a\bthis > 2R\x03val\"y\n" + + "\x1bFieldExpressionNestedScalar\x12Z\n" + + "\x06nested\x18\x01 \x01(\v2B.buf.validate.conformance.cases.custom_rules.FieldExpressionScalarR\x06nested\"\xa2\x01\n" + + "\x1dFieldExpressionOptionalScalar\x12y\n" + + "\x03val\x18\x01 \x01(\x05Bb\xbaH_\xba\x01\\\n" + + " field_expression.optional.scalar\x12-test message field_expression.optional.scalar\x1a\tthis == 1H\x00R\x03val\x88\x01\x01B\x06\n" + + "\x04_val\"{\n" + + "\x15FieldExpressionScalar\x12b\n" + + "\x03val\x18\x01 \x01(\x05BP\xbaHM\xba\x01J\n" + + "\x17field_expression.scalar\x12$test message field_expression.scalar\x1a\tthis == 1R\x03val\"\xa9\x01\n" + + "\x13FieldExpressionEnum\x12\x91\x01\n" + + "\x03val\x18\x01 \x01(\x0e21.buf.validate.conformance.cases.custom_rules.EnumBL\xbaHI\xba\x01F\n" + + "\x15field_expression.enum\x12\"test message field_expression.enum\x1a\tthis == 1R\x03val\"\xdf\x01\n" + + "\x16FieldExpressionMessage\x12\xaf\x01\n" + + "\x03val\x18\x01 \x01(\v2G.buf.validate.conformance.cases.custom_rules.FieldExpressionMessage.MsgBT\xbaHQ\xba\x01N\n" + + "\x18field_expression.message\x12%test message field_expression.message\x1a\vthis.a == 1R\x03val\x1a\x13\n" + + "\x03Msg\x12\f\n" + + "\x01a\x18\x01 \x01(\x05R\x01a\"\x8f\x02\n" + + "\x17FieldExpressionMapInt32\x12\xbb\x01\n" + + "\x03val\x18\x01 \x03(\v2M.buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt32.ValEntryBZ\xbaHW\xba\x01T\n" + + "\x1afield_expression.map.int32\x12\x1ball map values must equal 1\x1a\x19this.all(k, this[k] == 1)R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\x8f\x02\n" + + "\x17FieldExpressionMapInt64\x12\xbb\x01\n" + + "\x03val\x18\x01 \x03(\v2M.buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt64.ValEntryBZ\xbaHW\xba\x01T\n" + + "\x1afield_expression.map.int64\x12\x1ball map values must equal 1\x1a\x19this.all(k, this[k] == 1)R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x03R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\"\x98\x02\n" + + "\x18FieldExpressionMapUint32\x12\xc3\x01\n" + + "\x03val\x18\x01 \x03(\v2N.buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint32.ValEntryBa\xbaH^\xba\x01[\n" + + "\x1bfield_expression.map.uint32\x12\x1ball map values must equal 1\x1a\x1fthis.all(k, this[k] == uint(1))R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\rR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\rR\x05value:\x028\x01\"\x98\x02\n" + + "\x18FieldExpressionMapUint64\x12\xc3\x01\n" + + "\x03val\x18\x01 \x03(\v2N.buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint64.ValEntryBa\xbaH^\xba\x01[\n" + + "\x1bfield_expression.map.uint64\x12\x1ball map values must equal 1\x1a\x1fthis.all(k, this[k] == uint(1))R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x04R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x04R\x05value:\x028\x01\"\x94\x02\n" + + "\x16FieldExpressionMapBool\x12\xc1\x01\n" + + "\x03val\x18\x01 \x03(\v2L.buf.validate.conformance.cases.custom_rules.FieldExpressionMapBool.ValEntryBa\xbaH^\xba\x01[\n" + + "\x19field_expression.map.bool\x12\x1fall map values must equal false\x1a\x1dthis.all(k, this[k] == false)R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\bR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\bR\x05value:\x028\x01\"\x9a\x02\n" + + "\x18FieldExpressionMapString\x12\xc5\x01\n" + + "\x03val\x18\x01 \x03(\v2N.buf.validate.conformance.cases.custom_rules.FieldExpressionMapString.ValEntryBc\xbaH`\xba\x01]\n" + + "\x1bfield_expression.map.string\x12\x1fall map values must equal 'foo'\x1a\x1dthis.all(k, this[k] == 'foo')R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xca\x02\n" + + "\x16FieldExpressionMapEnum\x12\xc4\x01\n" + + "\x03val\x18\x01 \x03(\v2L.buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnum.ValEntryBd\xbaHa\xba\x01^\n" + + "\x19field_expression.map.enum\x12&test message field_expression.map.enum\x1a\x19this.all(k, this[k] == 1)R\x03val\x1ai\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12G\n" + + "\x05value\x18\x02 \x01(\x0e21.buf.validate.conformance.cases.custom_rules.EnumR\x05value:\x028\x01\"\x87\x03\n" + + "\x19FieldExpressionMapMessage\x12\xcf\x01\n" + + "\x03val\x18\x01 \x03(\v2O.buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessage.ValEntryBl\xbaHi\xba\x01f\n" + + "\x1cfield_expression.map.message\x12)test message field_expression.map.message\x1a\x1bthis.all(k, this[k].a == 1)R\x03val\x1a\x82\x01\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12`\n" + + "\x05value\x18\x02 \x01(\v2J.buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessage.MsgR\x05value:\x028\x01\x1a\x13\n" + + "\x03Msg\x12\f\n" + + "\x01a\x18\x01 \x01(\x05R\x01a\"\x99\x02\n" + + "\x16FieldExpressionMapKeys\x12\xc6\x01\n" + + "\x03val\x18\x01 \x03(\v2L.buf.validate.conformance.cases.custom_rules.FieldExpressionMapKeys.ValEntryBf\xbaHc\x9a\x01`\"^\xba\x01[\n" + + "\x19field_expression.map.keys\x12&test message field_expression.map.keys\x1a\x16this == 4 || this == 8R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\xae\x02\n" + + "\x1eFieldExpressionMapScalarValues\x12\xd3\x01\n" + + "\x03val\x18\x01 \x03(\v2T.buf.validate.conformance.cases.custom_rules.FieldExpressionMapScalarValues.ValEntryBk\xbaHh\x9a\x01e*c\xba\x01`\n" + + "\"field_expression.map.scalar.values\x12/test message field_expression.map.scalar.values\x1a\tthis == 1R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\xd9\x02\n" + + "\x1cFieldExpressionMapEnumValues\x12\xcd\x01\n" + + "\x03val\x18\x01 \x03(\v2R.buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnumValues.ValEntryBg\xbaHd\x9a\x01a*_\xba\x01\\\n" + + " field_expression.map.enum.values\x12-test message field_expression.map.enum.values\x1a\tthis == 1R\x03val\x1ai\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12G\n" + + "\x05value\x18\x02 \x01(\x0e21.buf.validate.conformance.cases.custom_rules.EnumR\x05value:\x028\x01\"\x9c\x03\n" + + "\x1fFieldExpressionMapMessageValues\x12\xd8\x01\n" + + "\x03val\x18\x01 \x03(\v2U.buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessageValues.ValEntryBo\xbaHl\x9a\x01i*g\xba\x01d\n" + + "#field_expression.map.message.values\x120test message field_expression.map.message.values\x1a\vthis.a == 1R\x03val\x1a\x88\x01\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12f\n" + + "\x05value\x18\x02 \x01(\v2P.buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessageValues.MsgR\x05value:\x028\x01\x1a\x13\n" + + "\x03Msg\x12\f\n" + + "\x01a\x18\x01 \x01(\x05R\x01a\"\x9f\x01\n" + + "\x1dFieldExpressionRepeatedScalar\x12~\n" + + "\x03val\x18\x01 \x03(\x05Bl\xbaHi\xba\x01f\n" + + " field_expression.repeated.scalar\x12-test message field_expression.repeated.scalar\x1a\x13this.all(e, e == 1)R\x03val\"\xcd\x01\n" + + "\x1bFieldExpressionRepeatedEnum\x12\xad\x01\n" + + "\x03val\x18\x01 \x03(\x0e21.buf.validate.conformance.cases.custom_rules.EnumBh\xbaHe\xba\x01b\n" + + "\x1efield_expression.repeated.enum\x12+test message field_expression.repeated.enum\x1a\x13this.all(e, e == 1)R\x03val\"\x8b\x02\n" + + "\x1eFieldExpressionRepeatedMessage\x12\xd3\x01\n" + + "\x03val\x18\x01 \x03(\v2O.buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessage.MsgBp\xbaHm\xba\x01j\n" + + "!field_expression.repeated.message\x12.test message field_expression.repeated.message\x1a\x15this.all(e, e.a == 1)R\x03val\x1a\x13\n" + + "\x03Msg\x12\f\n" + + "\x01a\x18\x01 \x01(\x05R\x01a\"\xac\x01\n" + + "\"FieldExpressionRepeatedScalarItems\x12\x85\x01\n" + + "\x03val\x18\x01 \x03(\x05Bs\xbaHp\x92\x01m\"k\xba\x01h\n" + + "&field_expression.repeated.scalar.items\x123test message field_expression.repeated.scalar.items\x1a\tthis == 1R\x03val\"\xd9\x01\n" + + " FieldExpressionRepeatedEnumItems\x12\xb4\x01\n" + + "\x03val\x18\x01 \x03(\x0e21.buf.validate.conformance.cases.custom_rules.EnumBo\xbaHl\x92\x01i\"g\xba\x01d\n" + + "$field_expression.repeated.enum.items\x121test message field_expression.repeated.enum.items\x1a\tthis == 1R\x03val\"\x9c\x02\n" + + "#FieldExpressionRepeatedMessageItems\x12\xdf\x01\n" + + "\x03val\x18\x01 \x03(\v2T.buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessageItems.MsgBw\xbaHt\x92\x01q\"o\xba\x01l\n" + + "'field_expression.repeated.message.items\x124test message field_expression.repeated.message.items\x1a\vthis.a == 1R\x03val\x1a\x13\n" + + "\x03Msg\x12\f\n" + + "\x01a\x18\x01 \x01(\x05R\x01a**\n" + + "\x04Enum\x12\x14\n" + + "\x10ENUM_UNSPECIFIED\x10\x00\x12\f\n" + + "\bENUM_ONE\x10\x01B\xf9\x02\n" + + "/com.buf.validate.conformance.cases.custom_rulesB\x10CustomRulesProtoP\x01Zfgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases/custom_rules\xa2\x02\x05BVCCC\xaa\x02*Buf.Validate.Conformance.Cases.CustomRules\xca\x02*Buf\\Validate\\Conformance\\Cases\\CustomRules\xe2\x026Buf\\Validate\\Conformance\\Cases\\CustomRules\\GPBMetadata\xea\x02.Buf::Validate::Conformance::Cases::CustomRulesb\x06proto3" + +var ( + file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDesc), len(file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDescData +} + +var file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes = make([]protoimpl.MessageInfo, 49) +var file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_goTypes = []any{ + (Enum)(0), // 0: buf.validate.conformance.cases.custom_rules.Enum + (*NoExpressions)(nil), // 1: buf.validate.conformance.cases.custom_rules.NoExpressions + (*MessageExpressions)(nil), // 2: buf.validate.conformance.cases.custom_rules.MessageExpressions + (*MissingField)(nil), // 3: buf.validate.conformance.cases.custom_rules.MissingField + (*IncorrectType)(nil), // 4: buf.validate.conformance.cases.custom_rules.IncorrectType + (*DynRuntimeError)(nil), // 5: buf.validate.conformance.cases.custom_rules.DynRuntimeError + (*NowEqualsNow)(nil), // 6: buf.validate.conformance.cases.custom_rules.NowEqualsNow + (*FieldExpressionMultipleScalar)(nil), // 7: buf.validate.conformance.cases.custom_rules.FieldExpressionMultipleScalar + (*FieldExpressionNestedScalar)(nil), // 8: buf.validate.conformance.cases.custom_rules.FieldExpressionNestedScalar + (*FieldExpressionOptionalScalar)(nil), // 9: buf.validate.conformance.cases.custom_rules.FieldExpressionOptionalScalar + (*FieldExpressionScalar)(nil), // 10: buf.validate.conformance.cases.custom_rules.FieldExpressionScalar + (*FieldExpressionEnum)(nil), // 11: buf.validate.conformance.cases.custom_rules.FieldExpressionEnum + (*FieldExpressionMessage)(nil), // 12: buf.validate.conformance.cases.custom_rules.FieldExpressionMessage + (*FieldExpressionMapInt32)(nil), // 13: buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt32 + (*FieldExpressionMapInt64)(nil), // 14: buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt64 + (*FieldExpressionMapUint32)(nil), // 15: buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint32 + (*FieldExpressionMapUint64)(nil), // 16: buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint64 + (*FieldExpressionMapBool)(nil), // 17: buf.validate.conformance.cases.custom_rules.FieldExpressionMapBool + (*FieldExpressionMapString)(nil), // 18: buf.validate.conformance.cases.custom_rules.FieldExpressionMapString + (*FieldExpressionMapEnum)(nil), // 19: buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnum + (*FieldExpressionMapMessage)(nil), // 20: buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessage + (*FieldExpressionMapKeys)(nil), // 21: buf.validate.conformance.cases.custom_rules.FieldExpressionMapKeys + (*FieldExpressionMapScalarValues)(nil), // 22: buf.validate.conformance.cases.custom_rules.FieldExpressionMapScalarValues + (*FieldExpressionMapEnumValues)(nil), // 23: buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnumValues + (*FieldExpressionMapMessageValues)(nil), // 24: buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessageValues + (*FieldExpressionRepeatedScalar)(nil), // 25: buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedScalar + (*FieldExpressionRepeatedEnum)(nil), // 26: buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedEnum + (*FieldExpressionRepeatedMessage)(nil), // 27: buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessage + (*FieldExpressionRepeatedScalarItems)(nil), // 28: buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedScalarItems + (*FieldExpressionRepeatedEnumItems)(nil), // 29: buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedEnumItems + (*FieldExpressionRepeatedMessageItems)(nil), // 30: buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessageItems + (*NoExpressions_Nested)(nil), // 31: buf.validate.conformance.cases.custom_rules.NoExpressions.Nested + (*MessageExpressions_Nested)(nil), // 32: buf.validate.conformance.cases.custom_rules.MessageExpressions.Nested + (*FieldExpressionMessage_Msg)(nil), // 33: buf.validate.conformance.cases.custom_rules.FieldExpressionMessage.Msg + nil, // 34: buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt32.ValEntry + nil, // 35: buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt64.ValEntry + nil, // 36: buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint32.ValEntry + nil, // 37: buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint64.ValEntry + nil, // 38: buf.validate.conformance.cases.custom_rules.FieldExpressionMapBool.ValEntry + nil, // 39: buf.validate.conformance.cases.custom_rules.FieldExpressionMapString.ValEntry + nil, // 40: buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnum.ValEntry + nil, // 41: buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessage.ValEntry + (*FieldExpressionMapMessage_Msg)(nil), // 42: buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessage.Msg + nil, // 43: buf.validate.conformance.cases.custom_rules.FieldExpressionMapKeys.ValEntry + nil, // 44: buf.validate.conformance.cases.custom_rules.FieldExpressionMapScalarValues.ValEntry + nil, // 45: buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnumValues.ValEntry + nil, // 46: buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessageValues.ValEntry + (*FieldExpressionMapMessageValues_Msg)(nil), // 47: buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessageValues.Msg + (*FieldExpressionRepeatedMessage_Msg)(nil), // 48: buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessage.Msg + (*FieldExpressionRepeatedMessageItems_Msg)(nil), // 49: buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessageItems.Msg +} +var file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_depIdxs = []int32{ + 0, // 0: buf.validate.conformance.cases.custom_rules.NoExpressions.b:type_name -> buf.validate.conformance.cases.custom_rules.Enum + 31, // 1: buf.validate.conformance.cases.custom_rules.NoExpressions.c:type_name -> buf.validate.conformance.cases.custom_rules.NoExpressions.Nested + 0, // 2: buf.validate.conformance.cases.custom_rules.MessageExpressions.c:type_name -> buf.validate.conformance.cases.custom_rules.Enum + 0, // 3: buf.validate.conformance.cases.custom_rules.MessageExpressions.d:type_name -> buf.validate.conformance.cases.custom_rules.Enum + 32, // 4: buf.validate.conformance.cases.custom_rules.MessageExpressions.e:type_name -> buf.validate.conformance.cases.custom_rules.MessageExpressions.Nested + 32, // 5: buf.validate.conformance.cases.custom_rules.MessageExpressions.f:type_name -> buf.validate.conformance.cases.custom_rules.MessageExpressions.Nested + 10, // 6: buf.validate.conformance.cases.custom_rules.FieldExpressionNestedScalar.nested:type_name -> buf.validate.conformance.cases.custom_rules.FieldExpressionScalar + 0, // 7: buf.validate.conformance.cases.custom_rules.FieldExpressionEnum.val:type_name -> buf.validate.conformance.cases.custom_rules.Enum + 33, // 8: buf.validate.conformance.cases.custom_rules.FieldExpressionMessage.val:type_name -> buf.validate.conformance.cases.custom_rules.FieldExpressionMessage.Msg + 34, // 9: buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt32.val:type_name -> buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt32.ValEntry + 35, // 10: buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt64.val:type_name -> buf.validate.conformance.cases.custom_rules.FieldExpressionMapInt64.ValEntry + 36, // 11: buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint32.val:type_name -> buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint32.ValEntry + 37, // 12: buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint64.val:type_name -> buf.validate.conformance.cases.custom_rules.FieldExpressionMapUint64.ValEntry + 38, // 13: buf.validate.conformance.cases.custom_rules.FieldExpressionMapBool.val:type_name -> buf.validate.conformance.cases.custom_rules.FieldExpressionMapBool.ValEntry + 39, // 14: buf.validate.conformance.cases.custom_rules.FieldExpressionMapString.val:type_name -> buf.validate.conformance.cases.custom_rules.FieldExpressionMapString.ValEntry + 40, // 15: buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnum.val:type_name -> buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnum.ValEntry + 41, // 16: buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessage.val:type_name -> buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessage.ValEntry + 43, // 17: buf.validate.conformance.cases.custom_rules.FieldExpressionMapKeys.val:type_name -> buf.validate.conformance.cases.custom_rules.FieldExpressionMapKeys.ValEntry + 44, // 18: buf.validate.conformance.cases.custom_rules.FieldExpressionMapScalarValues.val:type_name -> buf.validate.conformance.cases.custom_rules.FieldExpressionMapScalarValues.ValEntry + 45, // 19: buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnumValues.val:type_name -> buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnumValues.ValEntry + 46, // 20: buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessageValues.val:type_name -> buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessageValues.ValEntry + 0, // 21: buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedEnum.val:type_name -> buf.validate.conformance.cases.custom_rules.Enum + 48, // 22: buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessage.val:type_name -> buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessage.Msg + 0, // 23: buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedEnumItems.val:type_name -> buf.validate.conformance.cases.custom_rules.Enum + 49, // 24: buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessageItems.val:type_name -> buf.validate.conformance.cases.custom_rules.FieldExpressionRepeatedMessageItems.Msg + 0, // 25: buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnum.ValEntry.value:type_name -> buf.validate.conformance.cases.custom_rules.Enum + 42, // 26: buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessage.ValEntry.value:type_name -> buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessage.Msg + 0, // 27: buf.validate.conformance.cases.custom_rules.FieldExpressionMapEnumValues.ValEntry.value:type_name -> buf.validate.conformance.cases.custom_rules.Enum + 47, // 28: buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessageValues.ValEntry.value:type_name -> buf.validate.conformance.cases.custom_rules.FieldExpressionMapMessageValues.Msg + 29, // [29:29] is the sub-list for method output_type + 29, // [29:29] is the sub-list for method input_type + 29, // [29:29] is the sub-list for extension type_name + 29, // [29:29] is the sub-list for extension extendee + 0, // [0:29] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_init() } +func file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_init() { + if File_buf_validate_conformance_cases_custom_rules_custom_rules_proto != nil { + return + } + file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes[8].OneofWrappers = []any{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDesc), len(file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_rawDesc)), + NumEnums: 1, + NumMessages: 49, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_depIdxs, + EnumInfos: file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_enumTypes, + MessageInfos: file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_custom_rules_custom_rules_proto = out.File + file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_goTypes = nil + file_buf_validate_conformance_cases_custom_rules_custom_rules_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/enums.pb.go b/internal/gen/proto/buf/validate/conformance/cases/enums.pb.go new file mode 100644 index 00000000..43454421 --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/enums.pb.go @@ -0,0 +1,1165 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/enums.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + other_package "github.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases/other_package" + yet_another_package "github.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases/yet_another_package" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TestEnum int32 + +const ( + TestEnum_TEST_ENUM_UNSPECIFIED TestEnum = 0 + TestEnum_TEST_ENUM_ONE TestEnum = 1 + TestEnum_TEST_ENUM_TWO TestEnum = 2 +) + +// Enum value maps for TestEnum. +var ( + TestEnum_name = map[int32]string{ + 0: "TEST_ENUM_UNSPECIFIED", + 1: "TEST_ENUM_ONE", + 2: "TEST_ENUM_TWO", + } + TestEnum_value = map[string]int32{ + "TEST_ENUM_UNSPECIFIED": 0, + "TEST_ENUM_ONE": 1, + "TEST_ENUM_TWO": 2, + } +) + +func (x TestEnum) Enum() *TestEnum { + p := new(TestEnum) + *p = x + return p +} + +func (x TestEnum) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (TestEnum) Descriptor() protoreflect.EnumDescriptor { + return file_buf_validate_conformance_cases_enums_proto_enumTypes[0].Descriptor() +} + +func (TestEnum) Type() protoreflect.EnumType { + return &file_buf_validate_conformance_cases_enums_proto_enumTypes[0] +} + +func (x TestEnum) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use TestEnum.Descriptor instead. +func (TestEnum) EnumDescriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_enums_proto_rawDescGZIP(), []int{0} +} + +type TestEnumAlias int32 + +const ( + TestEnumAlias_TEST_ENUM_ALIAS_UNSPECIFIED TestEnumAlias = 0 + TestEnumAlias_TEST_ENUM_ALIAS_A TestEnumAlias = 1 + TestEnumAlias_TEST_ENUM_ALIAS_B TestEnumAlias = 2 + TestEnumAlias_TEST_ENUM_ALIAS_C TestEnumAlias = 3 + TestEnumAlias_TEST_ENUM_ALIAS_ALPHA TestEnumAlias = 1 + TestEnumAlias_TEST_ENUM_ALIAS_BETA TestEnumAlias = 2 + TestEnumAlias_TEST_ENUM_ALIAS_GAMMA TestEnumAlias = 3 +) + +// Enum value maps for TestEnumAlias. +var ( + TestEnumAlias_name = map[int32]string{ + 0: "TEST_ENUM_ALIAS_UNSPECIFIED", + 1: "TEST_ENUM_ALIAS_A", + 2: "TEST_ENUM_ALIAS_B", + 3: "TEST_ENUM_ALIAS_C", + // Duplicate value: 1: "TEST_ENUM_ALIAS_ALPHA", + // Duplicate value: 2: "TEST_ENUM_ALIAS_BETA", + // Duplicate value: 3: "TEST_ENUM_ALIAS_GAMMA", + } + TestEnumAlias_value = map[string]int32{ + "TEST_ENUM_ALIAS_UNSPECIFIED": 0, + "TEST_ENUM_ALIAS_A": 1, + "TEST_ENUM_ALIAS_B": 2, + "TEST_ENUM_ALIAS_C": 3, + "TEST_ENUM_ALIAS_ALPHA": 1, + "TEST_ENUM_ALIAS_BETA": 2, + "TEST_ENUM_ALIAS_GAMMA": 3, + } +) + +func (x TestEnumAlias) Enum() *TestEnumAlias { + p := new(TestEnumAlias) + *p = x + return p +} + +func (x TestEnumAlias) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (TestEnumAlias) Descriptor() protoreflect.EnumDescriptor { + return file_buf_validate_conformance_cases_enums_proto_enumTypes[1].Descriptor() +} + +func (TestEnumAlias) Type() protoreflect.EnumType { + return &file_buf_validate_conformance_cases_enums_proto_enumTypes[1] +} + +func (x TestEnumAlias) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use TestEnumAlias.Descriptor instead. +func (TestEnumAlias) EnumDescriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_enums_proto_rawDescGZIP(), []int{1} +} + +type EnumNone struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val TestEnum `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnum" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EnumNone) Reset() { + *x = EnumNone{} + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EnumNone) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnumNone) ProtoMessage() {} + +func (x *EnumNone) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnumNone.ProtoReflect.Descriptor instead. +func (*EnumNone) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_enums_proto_rawDescGZIP(), []int{0} +} + +func (x *EnumNone) GetVal() TestEnum { + if x != nil { + return x.Val + } + return TestEnum_TEST_ENUM_UNSPECIFIED +} + +type EnumConst struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val TestEnum `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnum" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EnumConst) Reset() { + *x = EnumConst{} + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EnumConst) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnumConst) ProtoMessage() {} + +func (x *EnumConst) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnumConst.ProtoReflect.Descriptor instead. +func (*EnumConst) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_enums_proto_rawDescGZIP(), []int{1} +} + +func (x *EnumConst) GetVal() TestEnum { + if x != nil { + return x.Val + } + return TestEnum_TEST_ENUM_UNSPECIFIED +} + +type EnumAliasConst struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val TestEnumAlias `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnumAlias" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EnumAliasConst) Reset() { + *x = EnumAliasConst{} + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EnumAliasConst) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnumAliasConst) ProtoMessage() {} + +func (x *EnumAliasConst) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnumAliasConst.ProtoReflect.Descriptor instead. +func (*EnumAliasConst) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_enums_proto_rawDescGZIP(), []int{2} +} + +func (x *EnumAliasConst) GetVal() TestEnumAlias { + if x != nil { + return x.Val + } + return TestEnumAlias_TEST_ENUM_ALIAS_UNSPECIFIED +} + +type EnumDefined struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val TestEnum `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnum" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EnumDefined) Reset() { + *x = EnumDefined{} + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EnumDefined) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnumDefined) ProtoMessage() {} + +func (x *EnumDefined) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnumDefined.ProtoReflect.Descriptor instead. +func (*EnumDefined) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_enums_proto_rawDescGZIP(), []int{3} +} + +func (x *EnumDefined) GetVal() TestEnum { + if x != nil { + return x.Val + } + return TestEnum_TEST_ENUM_UNSPECIFIED +} + +type EnumAliasDefined struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val TestEnumAlias `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnumAlias" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EnumAliasDefined) Reset() { + *x = EnumAliasDefined{} + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EnumAliasDefined) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnumAliasDefined) ProtoMessage() {} + +func (x *EnumAliasDefined) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnumAliasDefined.ProtoReflect.Descriptor instead. +func (*EnumAliasDefined) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_enums_proto_rawDescGZIP(), []int{4} +} + +func (x *EnumAliasDefined) GetVal() TestEnumAlias { + if x != nil { + return x.Val + } + return TestEnumAlias_TEST_ENUM_ALIAS_UNSPECIFIED +} + +type EnumIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val TestEnum `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnum" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EnumIn) Reset() { + *x = EnumIn{} + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EnumIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnumIn) ProtoMessage() {} + +func (x *EnumIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnumIn.ProtoReflect.Descriptor instead. +func (*EnumIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_enums_proto_rawDescGZIP(), []int{5} +} + +func (x *EnumIn) GetVal() TestEnum { + if x != nil { + return x.Val + } + return TestEnum_TEST_ENUM_UNSPECIFIED +} + +type EnumAliasIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val TestEnumAlias `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnumAlias" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EnumAliasIn) Reset() { + *x = EnumAliasIn{} + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EnumAliasIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnumAliasIn) ProtoMessage() {} + +func (x *EnumAliasIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnumAliasIn.ProtoReflect.Descriptor instead. +func (*EnumAliasIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_enums_proto_rawDescGZIP(), []int{6} +} + +func (x *EnumAliasIn) GetVal() TestEnumAlias { + if x != nil { + return x.Val + } + return TestEnumAlias_TEST_ENUM_ALIAS_UNSPECIFIED +} + +type EnumNotIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val TestEnum `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnum" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EnumNotIn) Reset() { + *x = EnumNotIn{} + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EnumNotIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnumNotIn) ProtoMessage() {} + +func (x *EnumNotIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnumNotIn.ProtoReflect.Descriptor instead. +func (*EnumNotIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_enums_proto_rawDescGZIP(), []int{7} +} + +func (x *EnumNotIn) GetVal() TestEnum { + if x != nil { + return x.Val + } + return TestEnum_TEST_ENUM_UNSPECIFIED +} + +type EnumAliasNotIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val TestEnumAlias `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnumAlias" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EnumAliasNotIn) Reset() { + *x = EnumAliasNotIn{} + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EnumAliasNotIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnumAliasNotIn) ProtoMessage() {} + +func (x *EnumAliasNotIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnumAliasNotIn.ProtoReflect.Descriptor instead. +func (*EnumAliasNotIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_enums_proto_rawDescGZIP(), []int{8} +} + +func (x *EnumAliasNotIn) GetVal() TestEnumAlias { + if x != nil { + return x.Val + } + return TestEnumAlias_TEST_ENUM_ALIAS_UNSPECIFIED +} + +type EnumExternal struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val other_package.Embed_Enumerated `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.other_package.Embed_Enumerated" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EnumExternal) Reset() { + *x = EnumExternal{} + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EnumExternal) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnumExternal) ProtoMessage() {} + +func (x *EnumExternal) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnumExternal.ProtoReflect.Descriptor instead. +func (*EnumExternal) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_enums_proto_rawDescGZIP(), []int{9} +} + +func (x *EnumExternal) GetVal() other_package.Embed_Enumerated { + if x != nil { + return x.Val + } + return other_package.Embed_Enumerated(0) +} + +type EnumExternal2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val other_package.Embed_DoubleEmbed_DoubleEnumerated `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.other_package.Embed_DoubleEmbed_DoubleEnumerated" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EnumExternal2) Reset() { + *x = EnumExternal2{} + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EnumExternal2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnumExternal2) ProtoMessage() {} + +func (x *EnumExternal2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnumExternal2.ProtoReflect.Descriptor instead. +func (*EnumExternal2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_enums_proto_rawDescGZIP(), []int{10} +} + +func (x *EnumExternal2) GetVal() other_package.Embed_DoubleEmbed_DoubleEnumerated { + if x != nil { + return x.Val + } + return other_package.Embed_DoubleEmbed_DoubleEnumerated(0) +} + +type RepeatedEnumDefined struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []TestEnum `protobuf:"varint,1,rep,packed,name=val,proto3,enum=buf.validate.conformance.cases.TestEnum" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedEnumDefined) Reset() { + *x = RepeatedEnumDefined{} + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedEnumDefined) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedEnumDefined) ProtoMessage() {} + +func (x *RepeatedEnumDefined) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedEnumDefined.ProtoReflect.Descriptor instead. +func (*RepeatedEnumDefined) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_enums_proto_rawDescGZIP(), []int{11} +} + +func (x *RepeatedEnumDefined) GetVal() []TestEnum { + if x != nil { + return x.Val + } + return nil +} + +type RepeatedExternalEnumDefined struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []other_package.Embed_Enumerated `protobuf:"varint,1,rep,packed,name=val,proto3,enum=buf.validate.conformance.cases.other_package.Embed_Enumerated" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedExternalEnumDefined) Reset() { + *x = RepeatedExternalEnumDefined{} + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedExternalEnumDefined) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedExternalEnumDefined) ProtoMessage() {} + +func (x *RepeatedExternalEnumDefined) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedExternalEnumDefined.ProtoReflect.Descriptor instead. +func (*RepeatedExternalEnumDefined) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_enums_proto_rawDescGZIP(), []int{12} +} + +func (x *RepeatedExternalEnumDefined) GetVal() []other_package.Embed_Enumerated { + if x != nil { + return x.Val + } + return nil +} + +type RepeatedYetAnotherExternalEnumDefined struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []yet_another_package.Embed_Enumerated `protobuf:"varint,1,rep,packed,name=val,proto3,enum=buf.validate.conformance.cases.yet_another_package.Embed_Enumerated" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedYetAnotherExternalEnumDefined) Reset() { + *x = RepeatedYetAnotherExternalEnumDefined{} + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedYetAnotherExternalEnumDefined) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedYetAnotherExternalEnumDefined) ProtoMessage() {} + +func (x *RepeatedYetAnotherExternalEnumDefined) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedYetAnotherExternalEnumDefined.ProtoReflect.Descriptor instead. +func (*RepeatedYetAnotherExternalEnumDefined) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_enums_proto_rawDescGZIP(), []int{13} +} + +func (x *RepeatedYetAnotherExternalEnumDefined) GetVal() []yet_another_package.Embed_Enumerated { + if x != nil { + return x.Val + } + return nil +} + +type MapEnumDefined struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[string]TestEnum `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=buf.validate.conformance.cases.TestEnum"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MapEnumDefined) Reset() { + *x = MapEnumDefined{} + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MapEnumDefined) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MapEnumDefined) ProtoMessage() {} + +func (x *MapEnumDefined) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MapEnumDefined.ProtoReflect.Descriptor instead. +func (*MapEnumDefined) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_enums_proto_rawDescGZIP(), []int{14} +} + +func (x *MapEnumDefined) GetVal() map[string]TestEnum { + if x != nil { + return x.Val + } + return nil +} + +type MapExternalEnumDefined struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[string]other_package.Embed_Enumerated `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=buf.validate.conformance.cases.other_package.Embed_Enumerated"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MapExternalEnumDefined) Reset() { + *x = MapExternalEnumDefined{} + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MapExternalEnumDefined) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MapExternalEnumDefined) ProtoMessage() {} + +func (x *MapExternalEnumDefined) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[15] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MapExternalEnumDefined.ProtoReflect.Descriptor instead. +func (*MapExternalEnumDefined) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_enums_proto_rawDescGZIP(), []int{15} +} + +func (x *MapExternalEnumDefined) GetVal() map[string]other_package.Embed_Enumerated { + if x != nil { + return x.Val + } + return nil +} + +type EnumInsideOneof struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Foo: + // + // *EnumInsideOneof_Val + Foo isEnumInsideOneof_Foo `protobuf_oneof:"foo"` + // Types that are valid to be assigned to Bar: + // + // *EnumInsideOneof_Val2 + Bar isEnumInsideOneof_Bar `protobuf_oneof:"bar"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EnumInsideOneof) Reset() { + *x = EnumInsideOneof{} + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EnumInsideOneof) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnumInsideOneof) ProtoMessage() {} + +func (x *EnumInsideOneof) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[16] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnumInsideOneof.ProtoReflect.Descriptor instead. +func (*EnumInsideOneof) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_enums_proto_rawDescGZIP(), []int{16} +} + +func (x *EnumInsideOneof) GetFoo() isEnumInsideOneof_Foo { + if x != nil { + return x.Foo + } + return nil +} + +func (x *EnumInsideOneof) GetVal() TestEnum { + if x != nil { + if x, ok := x.Foo.(*EnumInsideOneof_Val); ok { + return x.Val + } + } + return TestEnum_TEST_ENUM_UNSPECIFIED +} + +func (x *EnumInsideOneof) GetBar() isEnumInsideOneof_Bar { + if x != nil { + return x.Bar + } + return nil +} + +func (x *EnumInsideOneof) GetVal2() TestEnum { + if x != nil { + if x, ok := x.Bar.(*EnumInsideOneof_Val2); ok { + return x.Val2 + } + } + return TestEnum_TEST_ENUM_UNSPECIFIED +} + +type isEnumInsideOneof_Foo interface { + isEnumInsideOneof_Foo() +} + +type EnumInsideOneof_Val struct { + Val TestEnum `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnum,oneof"` +} + +func (*EnumInsideOneof_Val) isEnumInsideOneof_Foo() {} + +type isEnumInsideOneof_Bar interface { + isEnumInsideOneof_Bar() +} + +type EnumInsideOneof_Val2 struct { + Val2 TestEnum `protobuf:"varint,2,opt,name=val2,proto3,enum=buf.validate.conformance.cases.TestEnum,oneof"` +} + +func (*EnumInsideOneof_Val2) isEnumInsideOneof_Bar() {} + +type EnumExample struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val TestEnum `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.TestEnum" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EnumExample) Reset() { + *x = EnumExample{} + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EnumExample) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnumExample) ProtoMessage() {} + +func (x *EnumExample) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_enums_proto_msgTypes[17] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnumExample.ProtoReflect.Descriptor instead. +func (*EnumExample) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_enums_proto_rawDescGZIP(), []int{17} +} + +func (x *EnumExample) GetVal() TestEnum { + if x != nil { + return x.Val + } + return TestEnum_TEST_ENUM_UNSPECIFIED +} + +var File_buf_validate_conformance_cases_enums_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_enums_proto_rawDesc = "" + + "\n" + + "*buf/validate/conformance/cases/enums.proto\x12\x1ebuf.validate.conformance.cases\x1a8buf/validate/conformance/cases/other_package/embed.proto\x1a?buf/validate/conformance/cases/yet_another_package/embed2.proto\x1a\x1bbuf/validate/validate.proto\"F\n" + + "\bEnumNone\x12:\n" + + "\x03val\x18\x01 \x01(\x0e2(.buf.validate.conformance.cases.TestEnumR\x03val\"Q\n" + + "\tEnumConst\x12D\n" + + "\x03val\x18\x01 \x01(\x0e2(.buf.validate.conformance.cases.TestEnumB\b\xbaH\x05\x82\x01\x02\b\x02R\x03val\"[\n" + + "\x0eEnumAliasConst\x12I\n" + + "\x03val\x18\x01 \x01(\x0e2-.buf.validate.conformance.cases.TestEnumAliasB\b\xbaH\x05\x82\x01\x02\b\x02R\x03val\"S\n" + + "\vEnumDefined\x12D\n" + + "\x03val\x18\x01 \x01(\x0e2(.buf.validate.conformance.cases.TestEnumB\b\xbaH\x05\x82\x01\x02\x10\x01R\x03val\"]\n" + + "\x10EnumAliasDefined\x12I\n" + + "\x03val\x18\x01 \x01(\x0e2-.buf.validate.conformance.cases.TestEnumAliasB\b\xbaH\x05\x82\x01\x02\x10\x01R\x03val\"P\n" + + "\x06EnumIn\x12F\n" + + "\x03val\x18\x01 \x01(\x0e2(.buf.validate.conformance.cases.TestEnumB\n" + + "\xbaH\a\x82\x01\x04\x18\x00\x18\x02R\x03val\"Z\n" + + "\vEnumAliasIn\x12K\n" + + "\x03val\x18\x01 \x01(\x0e2-.buf.validate.conformance.cases.TestEnumAliasB\n" + + "\xbaH\a\x82\x01\x04\x18\x00\x18\x02R\x03val\"Q\n" + + "\tEnumNotIn\x12D\n" + + "\x03val\x18\x01 \x01(\x0e2(.buf.validate.conformance.cases.TestEnumB\b\xbaH\x05\x82\x01\x02 \x01R\x03val\"[\n" + + "\x0eEnumAliasNotIn\x12I\n" + + "\x03val\x18\x01 \x01(\x0e2-.buf.validate.conformance.cases.TestEnumAliasB\b\xbaH\x05\x82\x01\x02 \x01R\x03val\"j\n" + + "\fEnumExternal\x12Z\n" + + "\x03val\x18\x01 \x01(\x0e2>.buf.validate.conformance.cases.other_package.Embed.EnumeratedB\b\xbaH\x05\x82\x01\x02\x10\x01R\x03val\"}\n" + + "\rEnumExternal2\x12l\n" + + "\x03val\x18\x01 \x01(\x0e2P.buf.validate.conformance.cases.other_package.Embed.DoubleEmbed.DoubleEnumeratedB\b\xbaH\x05\x82\x01\x02\x10\x01R\x03val\"`\n" + + "\x13RepeatedEnumDefined\x12I\n" + + "\x03val\x18\x01 \x03(\x0e2(.buf.validate.conformance.cases.TestEnumB\r\xbaH\n" + + "\x92\x01\a\"\x05\x82\x01\x02\x10\x01R\x03val\"~\n" + + "\x1bRepeatedExternalEnumDefined\x12_\n" + + "\x03val\x18\x01 \x03(\x0e2>.buf.validate.conformance.cases.other_package.Embed.EnumeratedB\r\xbaH\n" + + "\x92\x01\a\"\x05\x82\x01\x02\x10\x01R\x03val\"\x8e\x01\n" + + "%RepeatedYetAnotherExternalEnumDefined\x12e\n" + + "\x03val\x18\x01 \x03(\x0e2D.buf.validate.conformance.cases.yet_another_package.Embed.EnumeratedB\r\xbaH\n" + + "\x92\x01\a\"\x05\x82\x01\x02\x10\x01R\x03val\"\xcc\x01\n" + + "\x0eMapEnumDefined\x12X\n" + + "\x03val\x18\x01 \x03(\v27.buf.validate.conformance.cases.MapEnumDefined.ValEntryB\r\xbaH\n" + + "\x9a\x01\a*\x05\x82\x01\x02\x10\x01R\x03val\x1a`\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12>\n" + + "\x05value\x18\x02 \x01(\x0e2(.buf.validate.conformance.cases.TestEnumR\x05value:\x028\x01\"\xf2\x01\n" + + "\x16MapExternalEnumDefined\x12`\n" + + "\x03val\x18\x01 \x03(\v2?.buf.validate.conformance.cases.MapExternalEnumDefined.ValEntryB\r\xbaH\n" + + "\x9a\x01\a*\x05\x82\x01\x02\x10\x01R\x03val\x1av\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12T\n" + + "\x05value\x18\x02 \x01(\x0e2>.buf.validate.conformance.cases.other_package.Embed.EnumeratedR\x05value:\x028\x01\"\xb3\x01\n" + + "\x0fEnumInsideOneof\x12F\n" + + "\x03val\x18\x01 \x01(\x0e2(.buf.validate.conformance.cases.TestEnumB\b\xbaH\x05\x82\x01\x02\x10\x01H\x00R\x03val\x12J\n" + + "\x04val2\x18\x02 \x01(\x0e2(.buf.validate.conformance.cases.TestEnumB\n" + + "\xbaH\a\x82\x01\x04\x10\x01 \x00H\x01R\x04val2B\x05\n" + + "\x03fooB\x05\n" + + "\x03bar\"S\n" + + "\vEnumExample\x12D\n" + + "\x03val\x18\x01 \x01(\x0e2(.buf.validate.conformance.cases.TestEnumB\b\xbaH\x05\x82\x01\x02(\x02R\x03val*K\n" + + "\bTestEnum\x12\x19\n" + + "\x15TEST_ENUM_UNSPECIFIED\x10\x00\x12\x11\n" + + "\rTEST_ENUM_ONE\x10\x01\x12\x11\n" + + "\rTEST_ENUM_TWO\x10\x02*\xc9\x01\n" + + "\rTestEnumAlias\x12\x1f\n" + + "\x1bTEST_ENUM_ALIAS_UNSPECIFIED\x10\x00\x12\x15\n" + + "\x11TEST_ENUM_ALIAS_A\x10\x01\x12\x15\n" + + "\x11TEST_ENUM_ALIAS_B\x10\x02\x12\x15\n" + + "\x11TEST_ENUM_ALIAS_C\x10\x03\x12\x19\n" + + "\x15TEST_ENUM_ALIAS_ALPHA\x10\x01\x12\x18\n" + + "\x14TEST_ENUM_ALIAS_BETA\x10\x02\x12\x19\n" + + "\x15TEST_ENUM_ALIAS_GAMMA\x10\x03\x1a\x02\x10\x01B\xa7\x02\n" + + "\"com.buf.validate.conformance.casesB\n" + + "EnumsProtoP\x01ZYgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Casesb\x06proto3" + +var ( + file_buf_validate_conformance_cases_enums_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_enums_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_enums_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_enums_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_enums_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_enums_proto_rawDesc), len(file_buf_validate_conformance_cases_enums_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_enums_proto_rawDescData +} + +var file_buf_validate_conformance_cases_enums_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_buf_validate_conformance_cases_enums_proto_msgTypes = make([]protoimpl.MessageInfo, 20) +var file_buf_validate_conformance_cases_enums_proto_goTypes = []any{ + (TestEnum)(0), // 0: buf.validate.conformance.cases.TestEnum + (TestEnumAlias)(0), // 1: buf.validate.conformance.cases.TestEnumAlias + (*EnumNone)(nil), // 2: buf.validate.conformance.cases.EnumNone + (*EnumConst)(nil), // 3: buf.validate.conformance.cases.EnumConst + (*EnumAliasConst)(nil), // 4: buf.validate.conformance.cases.EnumAliasConst + (*EnumDefined)(nil), // 5: buf.validate.conformance.cases.EnumDefined + (*EnumAliasDefined)(nil), // 6: buf.validate.conformance.cases.EnumAliasDefined + (*EnumIn)(nil), // 7: buf.validate.conformance.cases.EnumIn + (*EnumAliasIn)(nil), // 8: buf.validate.conformance.cases.EnumAliasIn + (*EnumNotIn)(nil), // 9: buf.validate.conformance.cases.EnumNotIn + (*EnumAliasNotIn)(nil), // 10: buf.validate.conformance.cases.EnumAliasNotIn + (*EnumExternal)(nil), // 11: buf.validate.conformance.cases.EnumExternal + (*EnumExternal2)(nil), // 12: buf.validate.conformance.cases.EnumExternal2 + (*RepeatedEnumDefined)(nil), // 13: buf.validate.conformance.cases.RepeatedEnumDefined + (*RepeatedExternalEnumDefined)(nil), // 14: buf.validate.conformance.cases.RepeatedExternalEnumDefined + (*RepeatedYetAnotherExternalEnumDefined)(nil), // 15: buf.validate.conformance.cases.RepeatedYetAnotherExternalEnumDefined + (*MapEnumDefined)(nil), // 16: buf.validate.conformance.cases.MapEnumDefined + (*MapExternalEnumDefined)(nil), // 17: buf.validate.conformance.cases.MapExternalEnumDefined + (*EnumInsideOneof)(nil), // 18: buf.validate.conformance.cases.EnumInsideOneof + (*EnumExample)(nil), // 19: buf.validate.conformance.cases.EnumExample + nil, // 20: buf.validate.conformance.cases.MapEnumDefined.ValEntry + nil, // 21: buf.validate.conformance.cases.MapExternalEnumDefined.ValEntry + (other_package.Embed_Enumerated)(0), // 22: buf.validate.conformance.cases.other_package.Embed.Enumerated + (other_package.Embed_DoubleEmbed_DoubleEnumerated)(0), // 23: buf.validate.conformance.cases.other_package.Embed.DoubleEmbed.DoubleEnumerated + (yet_another_package.Embed_Enumerated)(0), // 24: buf.validate.conformance.cases.yet_another_package.Embed.Enumerated +} +var file_buf_validate_conformance_cases_enums_proto_depIdxs = []int32{ + 0, // 0: buf.validate.conformance.cases.EnumNone.val:type_name -> buf.validate.conformance.cases.TestEnum + 0, // 1: buf.validate.conformance.cases.EnumConst.val:type_name -> buf.validate.conformance.cases.TestEnum + 1, // 2: buf.validate.conformance.cases.EnumAliasConst.val:type_name -> buf.validate.conformance.cases.TestEnumAlias + 0, // 3: buf.validate.conformance.cases.EnumDefined.val:type_name -> buf.validate.conformance.cases.TestEnum + 1, // 4: buf.validate.conformance.cases.EnumAliasDefined.val:type_name -> buf.validate.conformance.cases.TestEnumAlias + 0, // 5: buf.validate.conformance.cases.EnumIn.val:type_name -> buf.validate.conformance.cases.TestEnum + 1, // 6: buf.validate.conformance.cases.EnumAliasIn.val:type_name -> buf.validate.conformance.cases.TestEnumAlias + 0, // 7: buf.validate.conformance.cases.EnumNotIn.val:type_name -> buf.validate.conformance.cases.TestEnum + 1, // 8: buf.validate.conformance.cases.EnumAliasNotIn.val:type_name -> buf.validate.conformance.cases.TestEnumAlias + 22, // 9: buf.validate.conformance.cases.EnumExternal.val:type_name -> buf.validate.conformance.cases.other_package.Embed.Enumerated + 23, // 10: buf.validate.conformance.cases.EnumExternal2.val:type_name -> buf.validate.conformance.cases.other_package.Embed.DoubleEmbed.DoubleEnumerated + 0, // 11: buf.validate.conformance.cases.RepeatedEnumDefined.val:type_name -> buf.validate.conformance.cases.TestEnum + 22, // 12: buf.validate.conformance.cases.RepeatedExternalEnumDefined.val:type_name -> buf.validate.conformance.cases.other_package.Embed.Enumerated + 24, // 13: buf.validate.conformance.cases.RepeatedYetAnotherExternalEnumDefined.val:type_name -> buf.validate.conformance.cases.yet_another_package.Embed.Enumerated + 20, // 14: buf.validate.conformance.cases.MapEnumDefined.val:type_name -> buf.validate.conformance.cases.MapEnumDefined.ValEntry + 21, // 15: buf.validate.conformance.cases.MapExternalEnumDefined.val:type_name -> buf.validate.conformance.cases.MapExternalEnumDefined.ValEntry + 0, // 16: buf.validate.conformance.cases.EnumInsideOneof.val:type_name -> buf.validate.conformance.cases.TestEnum + 0, // 17: buf.validate.conformance.cases.EnumInsideOneof.val2:type_name -> buf.validate.conformance.cases.TestEnum + 0, // 18: buf.validate.conformance.cases.EnumExample.val:type_name -> buf.validate.conformance.cases.TestEnum + 0, // 19: buf.validate.conformance.cases.MapEnumDefined.ValEntry.value:type_name -> buf.validate.conformance.cases.TestEnum + 22, // 20: buf.validate.conformance.cases.MapExternalEnumDefined.ValEntry.value:type_name -> buf.validate.conformance.cases.other_package.Embed.Enumerated + 21, // [21:21] is the sub-list for method output_type + 21, // [21:21] is the sub-list for method input_type + 21, // [21:21] is the sub-list for extension type_name + 21, // [21:21] is the sub-list for extension extendee + 0, // [0:21] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_enums_proto_init() } +func file_buf_validate_conformance_cases_enums_proto_init() { + if File_buf_validate_conformance_cases_enums_proto != nil { + return + } + file_buf_validate_conformance_cases_enums_proto_msgTypes[16].OneofWrappers = []any{ + (*EnumInsideOneof_Val)(nil), + (*EnumInsideOneof_Val2)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_enums_proto_rawDesc), len(file_buf_validate_conformance_cases_enums_proto_rawDesc)), + NumEnums: 2, + NumMessages: 20, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_enums_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_enums_proto_depIdxs, + EnumInfos: file_buf_validate_conformance_cases_enums_proto_enumTypes, + MessageInfos: file_buf_validate_conformance_cases_enums_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_enums_proto = out.File + file_buf_validate_conformance_cases_enums_proto_goTypes = nil + file_buf_validate_conformance_cases_enums_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/filename-with-dash.pb.go b/internal/gen/proto/buf/validate/conformance/cases/filename-with-dash.pb.go new file mode 100644 index 00000000..34f415a7 --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/filename-with-dash.pb.go @@ -0,0 +1,75 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/filename-with-dash.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +var File_buf_validate_conformance_cases_filename_with_dash_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_filename_with_dash_proto_rawDesc = "" + + "\n" + + "7buf/validate/conformance/cases/filename-with-dash.proto\x12\x1ebuf.validate.conformance.cases\x1a\x1bbuf/validate/validate.protoB\xb2\x02\n" + + "\"com.buf.validate.conformance.casesB\x15FilenameWithDashProtoP\x01ZYgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Casesb\x06proto3" + +var file_buf_validate_conformance_cases_filename_with_dash_proto_goTypes = []any{} +var file_buf_validate_conformance_cases_filename_with_dash_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_filename_with_dash_proto_init() } +func file_buf_validate_conformance_cases_filename_with_dash_proto_init() { + if File_buf_validate_conformance_cases_filename_with_dash_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_filename_with_dash_proto_rawDesc), len(file_buf_validate_conformance_cases_filename_with_dash_proto_rawDesc)), + NumEnums: 0, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_filename_with_dash_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_filename_with_dash_proto_depIdxs, + }.Build() + File_buf_validate_conformance_cases_filename_with_dash_proto = out.File + file_buf_validate_conformance_cases_filename_with_dash_proto_goTypes = nil + file_buf_validate_conformance_cases_filename_with_dash_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/ignore_empty_proto2.pb.go b/internal/gen/proto/buf/validate/conformance/cases/ignore_empty_proto2.pb.go new file mode 100644 index 00000000..eed8294f --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/ignore_empty_proto2.pb.go @@ -0,0 +1,509 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/ignore_empty_proto2.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type IgnoreEmptyProto2ScalarOptional struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyProto2ScalarOptional) Reset() { + *x = IgnoreEmptyProto2ScalarOptional{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyProto2ScalarOptional) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyProto2ScalarOptional) ProtoMessage() {} + +func (x *IgnoreEmptyProto2ScalarOptional) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyProto2ScalarOptional.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyProto2ScalarOptional) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDescGZIP(), []int{0} +} + +func (x *IgnoreEmptyProto2ScalarOptional) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type IgnoreEmptyProto2ScalarOptionalWithDefault struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,opt,name=val,def=42" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +// Default values for IgnoreEmptyProto2ScalarOptionalWithDefault fields. +const ( + Default_IgnoreEmptyProto2ScalarOptionalWithDefault_Val = int32(42) +) + +func (x *IgnoreEmptyProto2ScalarOptionalWithDefault) Reset() { + *x = IgnoreEmptyProto2ScalarOptionalWithDefault{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyProto2ScalarOptionalWithDefault) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyProto2ScalarOptionalWithDefault) ProtoMessage() {} + +func (x *IgnoreEmptyProto2ScalarOptionalWithDefault) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyProto2ScalarOptionalWithDefault.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyProto2ScalarOptionalWithDefault) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDescGZIP(), []int{1} +} + +func (x *IgnoreEmptyProto2ScalarOptionalWithDefault) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return Default_IgnoreEmptyProto2ScalarOptionalWithDefault_Val +} + +type IgnoreEmptyProto2ScalarRequired struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,req,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyProto2ScalarRequired) Reset() { + *x = IgnoreEmptyProto2ScalarRequired{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyProto2ScalarRequired) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyProto2ScalarRequired) ProtoMessage() {} + +func (x *IgnoreEmptyProto2ScalarRequired) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyProto2ScalarRequired.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyProto2ScalarRequired) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDescGZIP(), []int{2} +} + +func (x *IgnoreEmptyProto2ScalarRequired) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type IgnoreEmptyProto2Message struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *IgnoreEmptyProto2Message_Msg `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyProto2Message) Reset() { + *x = IgnoreEmptyProto2Message{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyProto2Message) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyProto2Message) ProtoMessage() {} + +func (x *IgnoreEmptyProto2Message) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyProto2Message.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyProto2Message) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDescGZIP(), []int{3} +} + +func (x *IgnoreEmptyProto2Message) GetVal() *IgnoreEmptyProto2Message_Msg { + if x != nil { + return x.Val + } + return nil +} + +type IgnoreEmptyProto2Oneof struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to O: + // + // *IgnoreEmptyProto2Oneof_Val + O isIgnoreEmptyProto2Oneof_O `protobuf_oneof:"o"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyProto2Oneof) Reset() { + *x = IgnoreEmptyProto2Oneof{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyProto2Oneof) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyProto2Oneof) ProtoMessage() {} + +func (x *IgnoreEmptyProto2Oneof) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyProto2Oneof.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyProto2Oneof) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDescGZIP(), []int{4} +} + +func (x *IgnoreEmptyProto2Oneof) GetO() isIgnoreEmptyProto2Oneof_O { + if x != nil { + return x.O + } + return nil +} + +func (x *IgnoreEmptyProto2Oneof) GetVal() int32 { + if x != nil { + if x, ok := x.O.(*IgnoreEmptyProto2Oneof_Val); ok { + return x.Val + } + } + return 0 +} + +type isIgnoreEmptyProto2Oneof_O interface { + isIgnoreEmptyProto2Oneof_O() +} + +type IgnoreEmptyProto2Oneof_Val struct { + Val int32 `protobuf:"varint,1,opt,name=val,oneof"` +} + +func (*IgnoreEmptyProto2Oneof_Val) isIgnoreEmptyProto2Oneof_O() {} + +type IgnoreEmptyProto2Repeated struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyProto2Repeated) Reset() { + *x = IgnoreEmptyProto2Repeated{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyProto2Repeated) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyProto2Repeated) ProtoMessage() {} + +func (x *IgnoreEmptyProto2Repeated) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyProto2Repeated.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyProto2Repeated) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDescGZIP(), []int{5} +} + +func (x *IgnoreEmptyProto2Repeated) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type IgnoreEmptyProto2Map struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyProto2Map) Reset() { + *x = IgnoreEmptyProto2Map{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyProto2Map) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyProto2Map) ProtoMessage() {} + +func (x *IgnoreEmptyProto2Map) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyProto2Map.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyProto2Map) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDescGZIP(), []int{6} +} + +func (x *IgnoreEmptyProto2Map) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type IgnoreEmptyProto2Message_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyProto2Message_Msg) Reset() { + *x = IgnoreEmptyProto2Message_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyProto2Message_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyProto2Message_Msg) ProtoMessage() {} + +func (x *IgnoreEmptyProto2Message_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyProto2Message_Msg.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyProto2Message_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDescGZIP(), []int{3, 0} +} + +func (x *IgnoreEmptyProto2Message_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +var File_buf_validate_conformance_cases_ignore_empty_proto2_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDesc = "" + + "\n" + + "8buf/validate/conformance/cases/ignore_empty_proto2.proto\x12\x1ebuf.validate.conformance.cases\x1a\x1bbuf/validate/validate.proto\"?\n" + + "\x1fIgnoreEmptyProto2ScalarOptional\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x05B\n" + + "\xbaH\a\xd8\x01\x01\x1a\x02 \x00R\x03val\"N\n" + + "*IgnoreEmptyProto2ScalarOptionalWithDefault\x12 \n" + + "\x03val\x18\x01 \x01(\x05:\x0242B\n" + + "\xbaH\a\xd8\x01\x01\x1a\x02 \x00R\x03val\"?\n" + + "\x1fIgnoreEmptyProto2ScalarRequired\x12\x1c\n" + + "\x03val\x18\x01 \x02(\x05B\n" + + "\xbaH\a\xd8\x01\x01\x1a\x02 \x00R\x03val\"\xc7\x01\n" + + "\x18IgnoreEmptyProto2Message\x12\x91\x01\n" + + "\x03val\x18\x01 \x01(\v2<.buf.validate.conformance.cases.IgnoreEmptyProto2Message.MsgBA\xbaH>\xba\x018\n" + + "\x1bignore_empty.proto2.message\x12\x06foobar\x1a\x11this.val == 'foo'\xd8\x01\x01R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"=\n" + + "\x16IgnoreEmptyProto2Oneof\x12\x1e\n" + + "\x03val\x18\x01 \x01(\x05B\n" + + "\xbaH\a\xd8\x01\x01\x1a\x02 \x00H\x00R\x03valB\x03\n" + + "\x01o\":\n" + + "\x19IgnoreEmptyProto2Repeated\x12\x1d\n" + + "\x03val\x18\x01 \x03(\x05B\v\xbaH\b\xd8\x01\x01\x92\x01\x02\b\x03R\x03val\"\xac\x01\n" + + "\x14IgnoreEmptyProto2Map\x12\\\n" + + "\x03val\x18\x01 \x03(\v2=.buf.validate.conformance.cases.IgnoreEmptyProto2Map.ValEntryB\v\xbaH\b\xd8\x01\x01\x9a\x01\x02\b\x03R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01B\xb3\x02\n" + + "\"com.buf.validate.conformance.casesB\x16IgnoreEmptyProto2ProtoP\x01ZYgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Cases" + +var ( + file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDesc), len(file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDescData +} + +var file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes = make([]protoimpl.MessageInfo, 9) +var file_buf_validate_conformance_cases_ignore_empty_proto2_proto_goTypes = []any{ + (*IgnoreEmptyProto2ScalarOptional)(nil), // 0: buf.validate.conformance.cases.IgnoreEmptyProto2ScalarOptional + (*IgnoreEmptyProto2ScalarOptionalWithDefault)(nil), // 1: buf.validate.conformance.cases.IgnoreEmptyProto2ScalarOptionalWithDefault + (*IgnoreEmptyProto2ScalarRequired)(nil), // 2: buf.validate.conformance.cases.IgnoreEmptyProto2ScalarRequired + (*IgnoreEmptyProto2Message)(nil), // 3: buf.validate.conformance.cases.IgnoreEmptyProto2Message + (*IgnoreEmptyProto2Oneof)(nil), // 4: buf.validate.conformance.cases.IgnoreEmptyProto2Oneof + (*IgnoreEmptyProto2Repeated)(nil), // 5: buf.validate.conformance.cases.IgnoreEmptyProto2Repeated + (*IgnoreEmptyProto2Map)(nil), // 6: buf.validate.conformance.cases.IgnoreEmptyProto2Map + (*IgnoreEmptyProto2Message_Msg)(nil), // 7: buf.validate.conformance.cases.IgnoreEmptyProto2Message.Msg + nil, // 8: buf.validate.conformance.cases.IgnoreEmptyProto2Map.ValEntry +} +var file_buf_validate_conformance_cases_ignore_empty_proto2_proto_depIdxs = []int32{ + 7, // 0: buf.validate.conformance.cases.IgnoreEmptyProto2Message.val:type_name -> buf.validate.conformance.cases.IgnoreEmptyProto2Message.Msg + 8, // 1: buf.validate.conformance.cases.IgnoreEmptyProto2Map.val:type_name -> buf.validate.conformance.cases.IgnoreEmptyProto2Map.ValEntry + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_ignore_empty_proto2_proto_init() } +func file_buf_validate_conformance_cases_ignore_empty_proto2_proto_init() { + if File_buf_validate_conformance_cases_ignore_empty_proto2_proto != nil { + return + } + file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes[4].OneofWrappers = []any{ + (*IgnoreEmptyProto2Oneof_Val)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDesc), len(file_buf_validate_conformance_cases_ignore_empty_proto2_proto_rawDesc)), + NumEnums: 0, + NumMessages: 9, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_ignore_empty_proto2_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_ignore_empty_proto2_proto_depIdxs, + MessageInfos: file_buf_validate_conformance_cases_ignore_empty_proto2_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_ignore_empty_proto2_proto = out.File + file_buf_validate_conformance_cases_ignore_empty_proto2_proto_goTypes = nil + file_buf_validate_conformance_cases_ignore_empty_proto2_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/ignore_empty_proto3.pb.go b/internal/gen/proto/buf/validate/conformance/cases/ignore_empty_proto3.pb.go new file mode 100644 index 00000000..57173d52 --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/ignore_empty_proto3.pb.go @@ -0,0 +1,559 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/ignore_empty_proto3.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type IgnoreEmptyProto3Scalar struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyProto3Scalar) Reset() { + *x = IgnoreEmptyProto3Scalar{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyProto3Scalar) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyProto3Scalar) ProtoMessage() {} + +func (x *IgnoreEmptyProto3Scalar) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyProto3Scalar.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyProto3Scalar) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDescGZIP(), []int{0} +} + +func (x *IgnoreEmptyProto3Scalar) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type IgnoreEmptyProto3OptionalScalar struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyProto3OptionalScalar) Reset() { + *x = IgnoreEmptyProto3OptionalScalar{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyProto3OptionalScalar) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyProto3OptionalScalar) ProtoMessage() {} + +func (x *IgnoreEmptyProto3OptionalScalar) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyProto3OptionalScalar.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyProto3OptionalScalar) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDescGZIP(), []int{1} +} + +func (x *IgnoreEmptyProto3OptionalScalar) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type IgnoreEmptyProto3Message struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *IgnoreEmptyProto3Message_Msg `protobuf:"bytes,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyProto3Message) Reset() { + *x = IgnoreEmptyProto3Message{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyProto3Message) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyProto3Message) ProtoMessage() {} + +func (x *IgnoreEmptyProto3Message) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyProto3Message.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyProto3Message) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDescGZIP(), []int{2} +} + +func (x *IgnoreEmptyProto3Message) GetVal() *IgnoreEmptyProto3Message_Msg { + if x != nil { + return x.Val + } + return nil +} + +type IgnoreEmptyProto3Oneof struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to O: + // + // *IgnoreEmptyProto3Oneof_Val + O isIgnoreEmptyProto3Oneof_O `protobuf_oneof:"o"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyProto3Oneof) Reset() { + *x = IgnoreEmptyProto3Oneof{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyProto3Oneof) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyProto3Oneof) ProtoMessage() {} + +func (x *IgnoreEmptyProto3Oneof) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyProto3Oneof.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyProto3Oneof) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDescGZIP(), []int{3} +} + +func (x *IgnoreEmptyProto3Oneof) GetO() isIgnoreEmptyProto3Oneof_O { + if x != nil { + return x.O + } + return nil +} + +func (x *IgnoreEmptyProto3Oneof) GetVal() int32 { + if x != nil { + if x, ok := x.O.(*IgnoreEmptyProto3Oneof_Val); ok { + return x.Val + } + } + return 0 +} + +type isIgnoreEmptyProto3Oneof_O interface { + isIgnoreEmptyProto3Oneof_O() +} + +type IgnoreEmptyProto3Oneof_Val struct { + Val int32 `protobuf:"varint,1,opt,name=val,proto3,oneof"` +} + +func (*IgnoreEmptyProto3Oneof_Val) isIgnoreEmptyProto3Oneof_O() {} + +type IgnoreEmptyProto3Repeated struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyProto3Repeated) Reset() { + *x = IgnoreEmptyProto3Repeated{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyProto3Repeated) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyProto3Repeated) ProtoMessage() {} + +func (x *IgnoreEmptyProto3Repeated) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyProto3Repeated.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyProto3Repeated) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDescGZIP(), []int{4} +} + +func (x *IgnoreEmptyProto3Repeated) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type IgnoreEmptyProto3Map struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyProto3Map) Reset() { + *x = IgnoreEmptyProto3Map{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyProto3Map) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyProto3Map) ProtoMessage() {} + +func (x *IgnoreEmptyProto3Map) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyProto3Map.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyProto3Map) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDescGZIP(), []int{5} +} + +func (x *IgnoreEmptyProto3Map) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type IgnoreEmptyRepeatedItems struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyRepeatedItems) Reset() { + *x = IgnoreEmptyRepeatedItems{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyRepeatedItems) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyRepeatedItems) ProtoMessage() {} + +func (x *IgnoreEmptyRepeatedItems) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyRepeatedItems.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyRepeatedItems) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDescGZIP(), []int{6} +} + +func (x *IgnoreEmptyRepeatedItems) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type IgnoreEmptyMapPairs struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[string]int32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyMapPairs) Reset() { + *x = IgnoreEmptyMapPairs{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyMapPairs) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyMapPairs) ProtoMessage() {} + +func (x *IgnoreEmptyMapPairs) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyMapPairs.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyMapPairs) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDescGZIP(), []int{7} +} + +func (x *IgnoreEmptyMapPairs) GetVal() map[string]int32 { + if x != nil { + return x.Val + } + return nil +} + +type IgnoreEmptyProto3Message_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyProto3Message_Msg) Reset() { + *x = IgnoreEmptyProto3Message_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyProto3Message_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyProto3Message_Msg) ProtoMessage() {} + +func (x *IgnoreEmptyProto3Message_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyProto3Message_Msg.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyProto3Message_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDescGZIP(), []int{2, 0} +} + +func (x *IgnoreEmptyProto3Message_Msg) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +var File_buf_validate_conformance_cases_ignore_empty_proto3_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDesc = "" + + "\n" + + "8buf/validate/conformance/cases/ignore_empty_proto3.proto\x12\x1ebuf.validate.conformance.cases\x1a\x1bbuf/validate/validate.proto\"7\n" + + "\x17IgnoreEmptyProto3Scalar\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x05B\n" + + "\xbaH\a\xd8\x01\x01\x1a\x02 \x00R\x03val\"L\n" + + "\x1fIgnoreEmptyProto3OptionalScalar\x12!\n" + + "\x03val\x18\x01 \x01(\x05B\n" + + "\xbaH\a\xd8\x01\x01\x1a\x02 \x00H\x00R\x03val\x88\x01\x01B\x06\n" + + "\x04_val\"\xd4\x01\n" + + "\x18IgnoreEmptyProto3Message\x12\x96\x01\n" + + "\x03val\x18\x01 \x01(\v2<.buf.validate.conformance.cases.IgnoreEmptyProto3Message.MsgBA\xbaH>\xba\x018\n" + + "\x1bignore_empty.proto3.message\x12\x06foobar\x1a\x11this.val == 'foo'\xd8\x01\x01H\x00R\x03val\x88\x01\x01\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03valB\x06\n" + + "\x04_val\"=\n" + + "\x16IgnoreEmptyProto3Oneof\x12\x1e\n" + + "\x03val\x18\x01 \x01(\x05B\n" + + "\xbaH\a\xd8\x01\x01\x1a\x02 \x00H\x00R\x03valB\x03\n" + + "\x01o\":\n" + + "\x19IgnoreEmptyProto3Repeated\x12\x1d\n" + + "\x03val\x18\x01 \x03(\x05B\v\xbaH\b\xd8\x01\x01\x92\x01\x02\b\x03R\x03val\"\xac\x01\n" + + "\x14IgnoreEmptyProto3Map\x12\\\n" + + "\x03val\x18\x01 \x03(\v2=.buf.validate.conformance.cases.IgnoreEmptyProto3Map.ValEntryB\v\xbaH\b\xd8\x01\x01\x9a\x01\x02\b\x03R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"=\n" + + "\x18IgnoreEmptyRepeatedItems\x12!\n" + + "\x03val\x18\x01 \x03(\x05B\x0f\xbaH\f\x92\x01\t\"\a\xd8\x01\x01\x1a\x02 \x00R\x03val\"\xb7\x01\n" + + "\x13IgnoreEmptyMapPairs\x12h\n" + + "\x03val\x18\x01 \x03(\v2<.buf.validate.conformance.cases.IgnoreEmptyMapPairs.ValEntryB\x18\xbaH\x15\x9a\x01\x12\"\a\xd8\x01\x01r\x02\x10\x03*\a\xd8\x01\x01\x1a\x02 \x00R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01B\xb3\x02\n" + + "\"com.buf.validate.conformance.casesB\x16IgnoreEmptyProto3ProtoP\x01ZYgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Casesb\x06proto3" + +var ( + file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDesc), len(file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDescData +} + +var file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes = make([]protoimpl.MessageInfo, 11) +var file_buf_validate_conformance_cases_ignore_empty_proto3_proto_goTypes = []any{ + (*IgnoreEmptyProto3Scalar)(nil), // 0: buf.validate.conformance.cases.IgnoreEmptyProto3Scalar + (*IgnoreEmptyProto3OptionalScalar)(nil), // 1: buf.validate.conformance.cases.IgnoreEmptyProto3OptionalScalar + (*IgnoreEmptyProto3Message)(nil), // 2: buf.validate.conformance.cases.IgnoreEmptyProto3Message + (*IgnoreEmptyProto3Oneof)(nil), // 3: buf.validate.conformance.cases.IgnoreEmptyProto3Oneof + (*IgnoreEmptyProto3Repeated)(nil), // 4: buf.validate.conformance.cases.IgnoreEmptyProto3Repeated + (*IgnoreEmptyProto3Map)(nil), // 5: buf.validate.conformance.cases.IgnoreEmptyProto3Map + (*IgnoreEmptyRepeatedItems)(nil), // 6: buf.validate.conformance.cases.IgnoreEmptyRepeatedItems + (*IgnoreEmptyMapPairs)(nil), // 7: buf.validate.conformance.cases.IgnoreEmptyMapPairs + (*IgnoreEmptyProto3Message_Msg)(nil), // 8: buf.validate.conformance.cases.IgnoreEmptyProto3Message.Msg + nil, // 9: buf.validate.conformance.cases.IgnoreEmptyProto3Map.ValEntry + nil, // 10: buf.validate.conformance.cases.IgnoreEmptyMapPairs.ValEntry +} +var file_buf_validate_conformance_cases_ignore_empty_proto3_proto_depIdxs = []int32{ + 8, // 0: buf.validate.conformance.cases.IgnoreEmptyProto3Message.val:type_name -> buf.validate.conformance.cases.IgnoreEmptyProto3Message.Msg + 9, // 1: buf.validate.conformance.cases.IgnoreEmptyProto3Map.val:type_name -> buf.validate.conformance.cases.IgnoreEmptyProto3Map.ValEntry + 10, // 2: buf.validate.conformance.cases.IgnoreEmptyMapPairs.val:type_name -> buf.validate.conformance.cases.IgnoreEmptyMapPairs.ValEntry + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_ignore_empty_proto3_proto_init() } +func file_buf_validate_conformance_cases_ignore_empty_proto3_proto_init() { + if File_buf_validate_conformance_cases_ignore_empty_proto3_proto != nil { + return + } + file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[1].OneofWrappers = []any{} + file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[2].OneofWrappers = []any{} + file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes[3].OneofWrappers = []any{ + (*IgnoreEmptyProto3Oneof_Val)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDesc), len(file_buf_validate_conformance_cases_ignore_empty_proto3_proto_rawDesc)), + NumEnums: 0, + NumMessages: 11, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_ignore_empty_proto3_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_ignore_empty_proto3_proto_depIdxs, + MessageInfos: file_buf_validate_conformance_cases_ignore_empty_proto3_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_ignore_empty_proto3_proto = out.File + file_buf_validate_conformance_cases_ignore_empty_proto3_proto_goTypes = nil + file_buf_validate_conformance_cases_ignore_empty_proto3_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/ignore_empty_proto_editions.pb.go b/internal/gen/proto/buf/validate/conformance/cases/ignore_empty_proto_editions.pb.go new file mode 100644 index 00000000..743eac78 --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/ignore_empty_proto_editions.pb.go @@ -0,0 +1,942 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/ignore_empty_proto_editions.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type IgnoreEmptyEditionsScalarExplicitPresence struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyEditionsScalarExplicitPresence) Reset() { + *x = IgnoreEmptyEditionsScalarExplicitPresence{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyEditionsScalarExplicitPresence) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyEditionsScalarExplicitPresence) ProtoMessage() {} + +func (x *IgnoreEmptyEditionsScalarExplicitPresence) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyEditionsScalarExplicitPresence.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyEditionsScalarExplicitPresence) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDescGZIP(), []int{0} +} + +func (x *IgnoreEmptyEditionsScalarExplicitPresence) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type IgnoreEmptyEditionsScalarExplicitPresenceWithDefault struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,opt,name=val,def=42" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +// Default values for IgnoreEmptyEditionsScalarExplicitPresenceWithDefault fields. +const ( + Default_IgnoreEmptyEditionsScalarExplicitPresenceWithDefault_Val = int32(42) +) + +func (x *IgnoreEmptyEditionsScalarExplicitPresenceWithDefault) Reset() { + *x = IgnoreEmptyEditionsScalarExplicitPresenceWithDefault{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyEditionsScalarExplicitPresenceWithDefault) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyEditionsScalarExplicitPresenceWithDefault) ProtoMessage() {} + +func (x *IgnoreEmptyEditionsScalarExplicitPresenceWithDefault) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyEditionsScalarExplicitPresenceWithDefault.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyEditionsScalarExplicitPresenceWithDefault) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDescGZIP(), []int{1} +} + +func (x *IgnoreEmptyEditionsScalarExplicitPresenceWithDefault) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return Default_IgnoreEmptyEditionsScalarExplicitPresenceWithDefault_Val +} + +type IgnoreEmptyEditionsScalarImplicitPresence struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyEditionsScalarImplicitPresence) Reset() { + *x = IgnoreEmptyEditionsScalarImplicitPresence{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyEditionsScalarImplicitPresence) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyEditionsScalarImplicitPresence) ProtoMessage() {} + +func (x *IgnoreEmptyEditionsScalarImplicitPresence) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyEditionsScalarImplicitPresence.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyEditionsScalarImplicitPresence) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDescGZIP(), []int{2} +} + +func (x *IgnoreEmptyEditionsScalarImplicitPresence) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type IgnoreEmptyEditionsScalarLegacyRequired struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,req,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyEditionsScalarLegacyRequired) Reset() { + *x = IgnoreEmptyEditionsScalarLegacyRequired{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyEditionsScalarLegacyRequired) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyEditionsScalarLegacyRequired) ProtoMessage() {} + +func (x *IgnoreEmptyEditionsScalarLegacyRequired) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyEditionsScalarLegacyRequired.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyEditionsScalarLegacyRequired) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDescGZIP(), []int{3} +} + +func (x *IgnoreEmptyEditionsScalarLegacyRequired) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type IgnoreEmptyEditionsScalarLegacyRequiredWithDefault struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,req,name=val,def=42" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +// Default values for IgnoreEmptyEditionsScalarLegacyRequiredWithDefault fields. +const ( + Default_IgnoreEmptyEditionsScalarLegacyRequiredWithDefault_Val = int32(42) +) + +func (x *IgnoreEmptyEditionsScalarLegacyRequiredWithDefault) Reset() { + *x = IgnoreEmptyEditionsScalarLegacyRequiredWithDefault{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyEditionsScalarLegacyRequiredWithDefault) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyEditionsScalarLegacyRequiredWithDefault) ProtoMessage() {} + +func (x *IgnoreEmptyEditionsScalarLegacyRequiredWithDefault) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyEditionsScalarLegacyRequiredWithDefault.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyEditionsScalarLegacyRequiredWithDefault) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDescGZIP(), []int{4} +} + +func (x *IgnoreEmptyEditionsScalarLegacyRequiredWithDefault) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return Default_IgnoreEmptyEditionsScalarLegacyRequiredWithDefault_Val +} + +type IgnoreEmptyEditionsMessageExplicitPresence struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *IgnoreEmptyEditionsMessageExplicitPresence_Msg `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyEditionsMessageExplicitPresence) Reset() { + *x = IgnoreEmptyEditionsMessageExplicitPresence{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyEditionsMessageExplicitPresence) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyEditionsMessageExplicitPresence) ProtoMessage() {} + +func (x *IgnoreEmptyEditionsMessageExplicitPresence) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyEditionsMessageExplicitPresence.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyEditionsMessageExplicitPresence) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDescGZIP(), []int{5} +} + +func (x *IgnoreEmptyEditionsMessageExplicitPresence) GetVal() *IgnoreEmptyEditionsMessageExplicitPresence_Msg { + if x != nil { + return x.Val + } + return nil +} + +type IgnoreEmptyEditionsMessageExplicitPresenceDelimited struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *IgnoreEmptyEditionsMessageExplicitPresenceDelimited_Msg `protobuf:"group,1,opt,name=Msg,json=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyEditionsMessageExplicitPresenceDelimited) Reset() { + *x = IgnoreEmptyEditionsMessageExplicitPresenceDelimited{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyEditionsMessageExplicitPresenceDelimited) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyEditionsMessageExplicitPresenceDelimited) ProtoMessage() {} + +func (x *IgnoreEmptyEditionsMessageExplicitPresenceDelimited) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyEditionsMessageExplicitPresenceDelimited.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyEditionsMessageExplicitPresenceDelimited) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDescGZIP(), []int{6} +} + +func (x *IgnoreEmptyEditionsMessageExplicitPresenceDelimited) GetVal() *IgnoreEmptyEditionsMessageExplicitPresenceDelimited_Msg { + if x != nil { + return x.Val + } + return nil +} + +type IgnoreEmptyEditionsMessageLegacyRequired struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *IgnoreEmptyEditionsMessageLegacyRequired_Msg `protobuf:"bytes,1,req,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyEditionsMessageLegacyRequired) Reset() { + *x = IgnoreEmptyEditionsMessageLegacyRequired{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyEditionsMessageLegacyRequired) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyEditionsMessageLegacyRequired) ProtoMessage() {} + +func (x *IgnoreEmptyEditionsMessageLegacyRequired) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyEditionsMessageLegacyRequired.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyEditionsMessageLegacyRequired) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDescGZIP(), []int{7} +} + +func (x *IgnoreEmptyEditionsMessageLegacyRequired) GetVal() *IgnoreEmptyEditionsMessageLegacyRequired_Msg { + if x != nil { + return x.Val + } + return nil +} + +type IgnoreEmptyEditionsMessageLegacyRequiredDelimited struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *IgnoreEmptyEditionsMessageLegacyRequiredDelimited_Msg `protobuf:"group,1,req,name=Msg,json=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyEditionsMessageLegacyRequiredDelimited) Reset() { + *x = IgnoreEmptyEditionsMessageLegacyRequiredDelimited{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyEditionsMessageLegacyRequiredDelimited) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyEditionsMessageLegacyRequiredDelimited) ProtoMessage() {} + +func (x *IgnoreEmptyEditionsMessageLegacyRequiredDelimited) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyEditionsMessageLegacyRequiredDelimited.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyEditionsMessageLegacyRequiredDelimited) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDescGZIP(), []int{8} +} + +func (x *IgnoreEmptyEditionsMessageLegacyRequiredDelimited) GetVal() *IgnoreEmptyEditionsMessageLegacyRequiredDelimited_Msg { + if x != nil { + return x.Val + } + return nil +} + +type IgnoreEmptyEditionsOneof struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to O: + // + // *IgnoreEmptyEditionsOneof_Val + O isIgnoreEmptyEditionsOneof_O `protobuf_oneof:"o"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyEditionsOneof) Reset() { + *x = IgnoreEmptyEditionsOneof{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyEditionsOneof) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyEditionsOneof) ProtoMessage() {} + +func (x *IgnoreEmptyEditionsOneof) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyEditionsOneof.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyEditionsOneof) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDescGZIP(), []int{9} +} + +func (x *IgnoreEmptyEditionsOneof) GetO() isIgnoreEmptyEditionsOneof_O { + if x != nil { + return x.O + } + return nil +} + +func (x *IgnoreEmptyEditionsOneof) GetVal() int32 { + if x != nil { + if x, ok := x.O.(*IgnoreEmptyEditionsOneof_Val); ok { + return x.Val + } + } + return 0 +} + +type isIgnoreEmptyEditionsOneof_O interface { + isIgnoreEmptyEditionsOneof_O() +} + +type IgnoreEmptyEditionsOneof_Val struct { + Val int32 `protobuf:"varint,1,opt,name=val,oneof"` +} + +func (*IgnoreEmptyEditionsOneof_Val) isIgnoreEmptyEditionsOneof_O() {} + +type IgnoreEmptyEditionsRepeated struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,packed,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyEditionsRepeated) Reset() { + *x = IgnoreEmptyEditionsRepeated{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyEditionsRepeated) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyEditionsRepeated) ProtoMessage() {} + +func (x *IgnoreEmptyEditionsRepeated) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyEditionsRepeated.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyEditionsRepeated) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDescGZIP(), []int{10} +} + +func (x *IgnoreEmptyEditionsRepeated) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type IgnoreEmptyEditionsRepeatedExpanded struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyEditionsRepeatedExpanded) Reset() { + *x = IgnoreEmptyEditionsRepeatedExpanded{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyEditionsRepeatedExpanded) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyEditionsRepeatedExpanded) ProtoMessage() {} + +func (x *IgnoreEmptyEditionsRepeatedExpanded) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyEditionsRepeatedExpanded.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyEditionsRepeatedExpanded) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDescGZIP(), []int{11} +} + +func (x *IgnoreEmptyEditionsRepeatedExpanded) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type IgnoreEmptyEditionsMap struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyEditionsMap) Reset() { + *x = IgnoreEmptyEditionsMap{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyEditionsMap) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyEditionsMap) ProtoMessage() {} + +func (x *IgnoreEmptyEditionsMap) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyEditionsMap.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyEditionsMap) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDescGZIP(), []int{12} +} + +func (x *IgnoreEmptyEditionsMap) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type IgnoreEmptyEditionsMessageExplicitPresence_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyEditionsMessageExplicitPresence_Msg) Reset() { + *x = IgnoreEmptyEditionsMessageExplicitPresence_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyEditionsMessageExplicitPresence_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyEditionsMessageExplicitPresence_Msg) ProtoMessage() {} + +func (x *IgnoreEmptyEditionsMessageExplicitPresence_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyEditionsMessageExplicitPresence_Msg.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyEditionsMessageExplicitPresence_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDescGZIP(), []int{5, 0} +} + +func (x *IgnoreEmptyEditionsMessageExplicitPresence_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type IgnoreEmptyEditionsMessageExplicitPresenceDelimited_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyEditionsMessageExplicitPresenceDelimited_Msg) Reset() { + *x = IgnoreEmptyEditionsMessageExplicitPresenceDelimited_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyEditionsMessageExplicitPresenceDelimited_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyEditionsMessageExplicitPresenceDelimited_Msg) ProtoMessage() {} + +func (x *IgnoreEmptyEditionsMessageExplicitPresenceDelimited_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyEditionsMessageExplicitPresenceDelimited_Msg.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyEditionsMessageExplicitPresenceDelimited_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDescGZIP(), []int{6, 0} +} + +func (x *IgnoreEmptyEditionsMessageExplicitPresenceDelimited_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type IgnoreEmptyEditionsMessageLegacyRequired_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyEditionsMessageLegacyRequired_Msg) Reset() { + *x = IgnoreEmptyEditionsMessageLegacyRequired_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyEditionsMessageLegacyRequired_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyEditionsMessageLegacyRequired_Msg) ProtoMessage() {} + +func (x *IgnoreEmptyEditionsMessageLegacyRequired_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[15] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyEditionsMessageLegacyRequired_Msg.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyEditionsMessageLegacyRequired_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDescGZIP(), []int{7, 0} +} + +func (x *IgnoreEmptyEditionsMessageLegacyRequired_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type IgnoreEmptyEditionsMessageLegacyRequiredDelimited_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IgnoreEmptyEditionsMessageLegacyRequiredDelimited_Msg) Reset() { + *x = IgnoreEmptyEditionsMessageLegacyRequiredDelimited_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IgnoreEmptyEditionsMessageLegacyRequiredDelimited_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IgnoreEmptyEditionsMessageLegacyRequiredDelimited_Msg) ProtoMessage() {} + +func (x *IgnoreEmptyEditionsMessageLegacyRequiredDelimited_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[16] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IgnoreEmptyEditionsMessageLegacyRequiredDelimited_Msg.ProtoReflect.Descriptor instead. +func (*IgnoreEmptyEditionsMessageLegacyRequiredDelimited_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDescGZIP(), []int{8, 0} +} + +func (x *IgnoreEmptyEditionsMessageLegacyRequiredDelimited_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +var File_buf_validate_conformance_cases_ignore_empty_proto_editions_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDesc = "" + + "\n" + + "@buf/validate/conformance/cases/ignore_empty_proto_editions.proto\x12\x1ebuf.validate.conformance.cases\x1a\x1bbuf/validate/validate.proto\"I\n" + + ")IgnoreEmptyEditionsScalarExplicitPresence\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x05B\n" + + "\xbaH\a\xd8\x01\x01\x1a\x02 \x00R\x03val\"X\n" + + "4IgnoreEmptyEditionsScalarExplicitPresenceWithDefault\x12 \n" + + "\x03val\x18\x01 \x01(\x05:\x0242B\n" + + "\xbaH\a\xd8\x01\x01\x1a\x02 \x00R\x03val\"N\n" + + ")IgnoreEmptyEditionsScalarImplicitPresence\x12!\n" + + "\x03val\x18\x01 \x01(\x05B\x0f\xbaH\a\xd8\x01\x01\x1a\x02 \x00\xaa\x01\x02\b\x02R\x03val\"L\n" + + "'IgnoreEmptyEditionsScalarLegacyRequired\x12!\n" + + "\x03val\x18\x01 \x01(\x05B\x0f\xbaH\a\xd8\x01\x01\x1a\x02 \x00\xaa\x01\x02\b\x03R\x03val\"[\n" + + "2IgnoreEmptyEditionsScalarLegacyRequiredWithDefault\x12%\n" + + "\x03val\x18\x01 \x01(\x05:\x0242B\x0f\xbaH\a\xd8\x01\x01\x1a\x02 \x00\xaa\x01\x02\b\x03R\x03val\"\xed\x01\n" + + "*IgnoreEmptyEditionsMessageExplicitPresence\x12\xa5\x01\n" + + "\x03val\x18\x01 \x01(\v2N.buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresence.MsgBC\xbaH@\xba\x01:\n" + + "\x1dignore_empty.editions.message\x12\x06foobar\x1a\x11this.val == 'foo'\xd8\x01\x01R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"\x84\x02\n" + + "3IgnoreEmptyEditionsMessageExplicitPresenceDelimited\x12\xb3\x01\n" + + "\x03val\x18\x01 \x01(\v2W.buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresenceDelimited.MsgBH\xbaH@\xba\x01:\n" + + "\x1dignore_empty.editions.message\x12\x06foobar\x1a\x11this.val == 'foo'\xd8\x01\x01\xaa\x01\x02(\x02R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"\xee\x01\n" + + "(IgnoreEmptyEditionsMessageLegacyRequired\x12\xa8\x01\n" + + "\x03val\x18\x01 \x01(\v2L.buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequired.MsgBH\xbaH@\xba\x01:\n" + + "\x1dignore_empty.editions.message\x12\x06foobar\x1a\x11this.val == 'foo'\xd8\x01\x01\xaa\x01\x02\b\x03R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"\x82\x02\n" + + "1IgnoreEmptyEditionsMessageLegacyRequiredDelimited\x12\xb3\x01\n" + + "\x03val\x18\x01 \x01(\v2U.buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequiredDelimited.MsgBJ\xbaH@\xba\x01:\n" + + "\x1dignore_empty.editions.message\x12\x06foobar\x1a\x11this.val == 'foo'\xd8\x01\x01\xaa\x01\x04\b\x03(\x02R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"?\n" + + "\x18IgnoreEmptyEditionsOneof\x12\x1e\n" + + "\x03val\x18\x01 \x01(\x05B\n" + + "\xbaH\a\xd8\x01\x01\x1a\x02 \x00H\x00R\x03valB\x03\n" + + "\x01o\"<\n" + + "\x1bIgnoreEmptyEditionsRepeated\x12\x1d\n" + + "\x03val\x18\x01 \x03(\x05B\v\xbaH\b\xd8\x01\x01\x92\x01\x02\b\x03R\x03val\"I\n" + + "#IgnoreEmptyEditionsRepeatedExpanded\x12\"\n" + + "\x03val\x18\x01 \x03(\x05B\x10\xbaH\b\xd8\x01\x01\x92\x01\x02\b\x03\xaa\x01\x02\x18\x02R\x03val\"\xb0\x01\n" + + "\x16IgnoreEmptyEditionsMap\x12^\n" + + "\x03val\x18\x01 \x03(\v2?.buf.validate.conformance.cases.IgnoreEmptyEditionsMap.ValEntryB\v\xbaH\b\xd8\x01\x01\x9a\x01\x02\b\x03R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01B\xba\x02\n" + + "\"com.buf.validate.conformance.casesB\x1dIgnoreEmptyProtoEditionsProtoP\x01ZYgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Casesb\beditionsp\xe8\a" + +var ( + file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDesc), len(file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDescData +} + +var file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes = make([]protoimpl.MessageInfo, 18) +var file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_goTypes = []any{ + (*IgnoreEmptyEditionsScalarExplicitPresence)(nil), // 0: buf.validate.conformance.cases.IgnoreEmptyEditionsScalarExplicitPresence + (*IgnoreEmptyEditionsScalarExplicitPresenceWithDefault)(nil), // 1: buf.validate.conformance.cases.IgnoreEmptyEditionsScalarExplicitPresenceWithDefault + (*IgnoreEmptyEditionsScalarImplicitPresence)(nil), // 2: buf.validate.conformance.cases.IgnoreEmptyEditionsScalarImplicitPresence + (*IgnoreEmptyEditionsScalarLegacyRequired)(nil), // 3: buf.validate.conformance.cases.IgnoreEmptyEditionsScalarLegacyRequired + (*IgnoreEmptyEditionsScalarLegacyRequiredWithDefault)(nil), // 4: buf.validate.conformance.cases.IgnoreEmptyEditionsScalarLegacyRequiredWithDefault + (*IgnoreEmptyEditionsMessageExplicitPresence)(nil), // 5: buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresence + (*IgnoreEmptyEditionsMessageExplicitPresenceDelimited)(nil), // 6: buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresenceDelimited + (*IgnoreEmptyEditionsMessageLegacyRequired)(nil), // 7: buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequired + (*IgnoreEmptyEditionsMessageLegacyRequiredDelimited)(nil), // 8: buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequiredDelimited + (*IgnoreEmptyEditionsOneof)(nil), // 9: buf.validate.conformance.cases.IgnoreEmptyEditionsOneof + (*IgnoreEmptyEditionsRepeated)(nil), // 10: buf.validate.conformance.cases.IgnoreEmptyEditionsRepeated + (*IgnoreEmptyEditionsRepeatedExpanded)(nil), // 11: buf.validate.conformance.cases.IgnoreEmptyEditionsRepeatedExpanded + (*IgnoreEmptyEditionsMap)(nil), // 12: buf.validate.conformance.cases.IgnoreEmptyEditionsMap + (*IgnoreEmptyEditionsMessageExplicitPresence_Msg)(nil), // 13: buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresence.Msg + (*IgnoreEmptyEditionsMessageExplicitPresenceDelimited_Msg)(nil), // 14: buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresenceDelimited.Msg + (*IgnoreEmptyEditionsMessageLegacyRequired_Msg)(nil), // 15: buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequired.Msg + (*IgnoreEmptyEditionsMessageLegacyRequiredDelimited_Msg)(nil), // 16: buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequiredDelimited.Msg + nil, // 17: buf.validate.conformance.cases.IgnoreEmptyEditionsMap.ValEntry +} +var file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_depIdxs = []int32{ + 13, // 0: buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresence.val:type_name -> buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresence.Msg + 14, // 1: buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresenceDelimited.val:type_name -> buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresenceDelimited.Msg + 15, // 2: buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequired.val:type_name -> buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequired.Msg + 16, // 3: buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequiredDelimited.val:type_name -> buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequiredDelimited.Msg + 17, // 4: buf.validate.conformance.cases.IgnoreEmptyEditionsMap.val:type_name -> buf.validate.conformance.cases.IgnoreEmptyEditionsMap.ValEntry + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_init() } +func file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_init() { + if File_buf_validate_conformance_cases_ignore_empty_proto_editions_proto != nil { + return + } + file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes[9].OneofWrappers = []any{ + (*IgnoreEmptyEditionsOneof_Val)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDesc), len(file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_rawDesc)), + NumEnums: 0, + NumMessages: 18, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_depIdxs, + MessageInfos: file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_ignore_empty_proto_editions_proto = out.File + file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_goTypes = nil + file_buf_validate_conformance_cases_ignore_empty_proto_editions_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/ignore_proto2.pb.go b/internal/gen/proto/buf/validate/conformance/cases/ignore_proto2.pb.go new file mode 100644 index 00000000..1e2f01bf --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/ignore_proto2.pb.go @@ -0,0 +1,2476 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/ignore_proto2.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Proto2ScalarOptionalIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2ScalarOptionalIgnoreUnspecified) Reset() { + *x = Proto2ScalarOptionalIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2ScalarOptionalIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2ScalarOptionalIgnoreUnspecified) ProtoMessage() {} + +func (x *Proto2ScalarOptionalIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2ScalarOptionalIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*Proto2ScalarOptionalIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{0} +} + +func (x *Proto2ScalarOptionalIgnoreUnspecified) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type Proto2ScalarOptionalIgnoreUnspecifiedWithDefault struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,opt,name=val,def=-42" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +// Default values for Proto2ScalarOptionalIgnoreUnspecifiedWithDefault fields. +const ( + Default_Proto2ScalarOptionalIgnoreUnspecifiedWithDefault_Val = int32(-42) +) + +func (x *Proto2ScalarOptionalIgnoreUnspecifiedWithDefault) Reset() { + *x = Proto2ScalarOptionalIgnoreUnspecifiedWithDefault{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2ScalarOptionalIgnoreUnspecifiedWithDefault) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2ScalarOptionalIgnoreUnspecifiedWithDefault) ProtoMessage() {} + +func (x *Proto2ScalarOptionalIgnoreUnspecifiedWithDefault) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2ScalarOptionalIgnoreUnspecifiedWithDefault.ProtoReflect.Descriptor instead. +func (*Proto2ScalarOptionalIgnoreUnspecifiedWithDefault) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{1} +} + +func (x *Proto2ScalarOptionalIgnoreUnspecifiedWithDefault) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return Default_Proto2ScalarOptionalIgnoreUnspecifiedWithDefault_Val +} + +type Proto2ScalarOptionalIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2ScalarOptionalIgnoreEmpty) Reset() { + *x = Proto2ScalarOptionalIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2ScalarOptionalIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2ScalarOptionalIgnoreEmpty) ProtoMessage() {} + +func (x *Proto2ScalarOptionalIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2ScalarOptionalIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*Proto2ScalarOptionalIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{2} +} + +func (x *Proto2ScalarOptionalIgnoreEmpty) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type Proto2ScalarOptionalIgnoreEmptyWithDefault struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,opt,name=val,def=-42" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +// Default values for Proto2ScalarOptionalIgnoreEmptyWithDefault fields. +const ( + Default_Proto2ScalarOptionalIgnoreEmptyWithDefault_Val = int32(-42) +) + +func (x *Proto2ScalarOptionalIgnoreEmptyWithDefault) Reset() { + *x = Proto2ScalarOptionalIgnoreEmptyWithDefault{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2ScalarOptionalIgnoreEmptyWithDefault) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2ScalarOptionalIgnoreEmptyWithDefault) ProtoMessage() {} + +func (x *Proto2ScalarOptionalIgnoreEmptyWithDefault) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2ScalarOptionalIgnoreEmptyWithDefault.ProtoReflect.Descriptor instead. +func (*Proto2ScalarOptionalIgnoreEmptyWithDefault) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{3} +} + +func (x *Proto2ScalarOptionalIgnoreEmptyWithDefault) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return Default_Proto2ScalarOptionalIgnoreEmptyWithDefault_Val +} + +type Proto2ScalarOptionalIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2ScalarOptionalIgnoreAlways) Reset() { + *x = Proto2ScalarOptionalIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2ScalarOptionalIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2ScalarOptionalIgnoreAlways) ProtoMessage() {} + +func (x *Proto2ScalarOptionalIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2ScalarOptionalIgnoreAlways.ProtoReflect.Descriptor instead. +func (*Proto2ScalarOptionalIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{4} +} + +func (x *Proto2ScalarOptionalIgnoreAlways) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type Proto2ScalarOptionalIgnoreAlwaysWithDefault struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,opt,name=val,def=-42" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +// Default values for Proto2ScalarOptionalIgnoreAlwaysWithDefault fields. +const ( + Default_Proto2ScalarOptionalIgnoreAlwaysWithDefault_Val = int32(-42) +) + +func (x *Proto2ScalarOptionalIgnoreAlwaysWithDefault) Reset() { + *x = Proto2ScalarOptionalIgnoreAlwaysWithDefault{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2ScalarOptionalIgnoreAlwaysWithDefault) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2ScalarOptionalIgnoreAlwaysWithDefault) ProtoMessage() {} + +func (x *Proto2ScalarOptionalIgnoreAlwaysWithDefault) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2ScalarOptionalIgnoreAlwaysWithDefault.ProtoReflect.Descriptor instead. +func (*Proto2ScalarOptionalIgnoreAlwaysWithDefault) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{5} +} + +func (x *Proto2ScalarOptionalIgnoreAlwaysWithDefault) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return Default_Proto2ScalarOptionalIgnoreAlwaysWithDefault_Val +} + +type Proto2ScalarRequiredIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,req,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2ScalarRequiredIgnoreUnspecified) Reset() { + *x = Proto2ScalarRequiredIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2ScalarRequiredIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2ScalarRequiredIgnoreUnspecified) ProtoMessage() {} + +func (x *Proto2ScalarRequiredIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2ScalarRequiredIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*Proto2ScalarRequiredIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{6} +} + +func (x *Proto2ScalarRequiredIgnoreUnspecified) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type Proto2ScalarRequiredIgnoreUnspecifiedWithDefault struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,req,name=val,def=-42" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +// Default values for Proto2ScalarRequiredIgnoreUnspecifiedWithDefault fields. +const ( + Default_Proto2ScalarRequiredIgnoreUnspecifiedWithDefault_Val = int32(-42) +) + +func (x *Proto2ScalarRequiredIgnoreUnspecifiedWithDefault) Reset() { + *x = Proto2ScalarRequiredIgnoreUnspecifiedWithDefault{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2ScalarRequiredIgnoreUnspecifiedWithDefault) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2ScalarRequiredIgnoreUnspecifiedWithDefault) ProtoMessage() {} + +func (x *Proto2ScalarRequiredIgnoreUnspecifiedWithDefault) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2ScalarRequiredIgnoreUnspecifiedWithDefault.ProtoReflect.Descriptor instead. +func (*Proto2ScalarRequiredIgnoreUnspecifiedWithDefault) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{7} +} + +func (x *Proto2ScalarRequiredIgnoreUnspecifiedWithDefault) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return Default_Proto2ScalarRequiredIgnoreUnspecifiedWithDefault_Val +} + +type Proto2ScalarRequiredIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,req,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2ScalarRequiredIgnoreEmpty) Reset() { + *x = Proto2ScalarRequiredIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2ScalarRequiredIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2ScalarRequiredIgnoreEmpty) ProtoMessage() {} + +func (x *Proto2ScalarRequiredIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2ScalarRequiredIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*Proto2ScalarRequiredIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{8} +} + +func (x *Proto2ScalarRequiredIgnoreEmpty) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type Proto2ScalarRequiredIgnoreEmptyWithDefault struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,req,name=val,def=-42" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +// Default values for Proto2ScalarRequiredIgnoreEmptyWithDefault fields. +const ( + Default_Proto2ScalarRequiredIgnoreEmptyWithDefault_Val = int32(-42) +) + +func (x *Proto2ScalarRequiredIgnoreEmptyWithDefault) Reset() { + *x = Proto2ScalarRequiredIgnoreEmptyWithDefault{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2ScalarRequiredIgnoreEmptyWithDefault) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2ScalarRequiredIgnoreEmptyWithDefault) ProtoMessage() {} + +func (x *Proto2ScalarRequiredIgnoreEmptyWithDefault) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2ScalarRequiredIgnoreEmptyWithDefault.ProtoReflect.Descriptor instead. +func (*Proto2ScalarRequiredIgnoreEmptyWithDefault) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{9} +} + +func (x *Proto2ScalarRequiredIgnoreEmptyWithDefault) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return Default_Proto2ScalarRequiredIgnoreEmptyWithDefault_Val +} + +type Proto2ScalarRequiredIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,req,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2ScalarRequiredIgnoreAlways) Reset() { + *x = Proto2ScalarRequiredIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2ScalarRequiredIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2ScalarRequiredIgnoreAlways) ProtoMessage() {} + +func (x *Proto2ScalarRequiredIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2ScalarRequiredIgnoreAlways.ProtoReflect.Descriptor instead. +func (*Proto2ScalarRequiredIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{10} +} + +func (x *Proto2ScalarRequiredIgnoreAlways) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type Proto2ScalarRequiredIgnoreAlwaysWithDefault struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,req,name=val,def=-42" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +// Default values for Proto2ScalarRequiredIgnoreAlwaysWithDefault fields. +const ( + Default_Proto2ScalarRequiredIgnoreAlwaysWithDefault_Val = int32(-42) +) + +func (x *Proto2ScalarRequiredIgnoreAlwaysWithDefault) Reset() { + *x = Proto2ScalarRequiredIgnoreAlwaysWithDefault{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2ScalarRequiredIgnoreAlwaysWithDefault) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2ScalarRequiredIgnoreAlwaysWithDefault) ProtoMessage() {} + +func (x *Proto2ScalarRequiredIgnoreAlwaysWithDefault) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2ScalarRequiredIgnoreAlwaysWithDefault.ProtoReflect.Descriptor instead. +func (*Proto2ScalarRequiredIgnoreAlwaysWithDefault) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{11} +} + +func (x *Proto2ScalarRequiredIgnoreAlwaysWithDefault) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return Default_Proto2ScalarRequiredIgnoreAlwaysWithDefault_Val +} + +type Proto2MessageOptionalIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *Proto2MessageOptionalIgnoreUnspecified_Msg `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2MessageOptionalIgnoreUnspecified) Reset() { + *x = Proto2MessageOptionalIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2MessageOptionalIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2MessageOptionalIgnoreUnspecified) ProtoMessage() {} + +func (x *Proto2MessageOptionalIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2MessageOptionalIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*Proto2MessageOptionalIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{12} +} + +func (x *Proto2MessageOptionalIgnoreUnspecified) GetVal() *Proto2MessageOptionalIgnoreUnspecified_Msg { + if x != nil { + return x.Val + } + return nil +} + +type Proto2MessageOptionalIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *Proto2MessageOptionalIgnoreEmpty_Msg `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2MessageOptionalIgnoreEmpty) Reset() { + *x = Proto2MessageOptionalIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2MessageOptionalIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2MessageOptionalIgnoreEmpty) ProtoMessage() {} + +func (x *Proto2MessageOptionalIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2MessageOptionalIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*Proto2MessageOptionalIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{13} +} + +func (x *Proto2MessageOptionalIgnoreEmpty) GetVal() *Proto2MessageOptionalIgnoreEmpty_Msg { + if x != nil { + return x.Val + } + return nil +} + +type Proto2MessageOptionalIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *Proto2MessageOptionalIgnoreAlways_Msg `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2MessageOptionalIgnoreAlways) Reset() { + *x = Proto2MessageOptionalIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2MessageOptionalIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2MessageOptionalIgnoreAlways) ProtoMessage() {} + +func (x *Proto2MessageOptionalIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2MessageOptionalIgnoreAlways.ProtoReflect.Descriptor instead. +func (*Proto2MessageOptionalIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{14} +} + +func (x *Proto2MessageOptionalIgnoreAlways) GetVal() *Proto2MessageOptionalIgnoreAlways_Msg { + if x != nil { + return x.Val + } + return nil +} + +type Proto2MessageRequiredIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *Proto2MessageRequiredIgnoreUnspecified_Msg `protobuf:"bytes,1,req,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2MessageRequiredIgnoreUnspecified) Reset() { + *x = Proto2MessageRequiredIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2MessageRequiredIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2MessageRequiredIgnoreUnspecified) ProtoMessage() {} + +func (x *Proto2MessageRequiredIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[15] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2MessageRequiredIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*Proto2MessageRequiredIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{15} +} + +func (x *Proto2MessageRequiredIgnoreUnspecified) GetVal() *Proto2MessageRequiredIgnoreUnspecified_Msg { + if x != nil { + return x.Val + } + return nil +} + +type Proto2MessageRequiredIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *Proto2MessageRequiredIgnoreEmpty_Msg `protobuf:"bytes,1,req,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2MessageRequiredIgnoreEmpty) Reset() { + *x = Proto2MessageRequiredIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2MessageRequiredIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2MessageRequiredIgnoreEmpty) ProtoMessage() {} + +func (x *Proto2MessageRequiredIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[16] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2MessageRequiredIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*Proto2MessageRequiredIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{16} +} + +func (x *Proto2MessageRequiredIgnoreEmpty) GetVal() *Proto2MessageRequiredIgnoreEmpty_Msg { + if x != nil { + return x.Val + } + return nil +} + +type Proto2MessageRequiredIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *Proto2MessageRequiredIgnoreAlways_Msg `protobuf:"bytes,1,req,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2MessageRequiredIgnoreAlways) Reset() { + *x = Proto2MessageRequiredIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2MessageRequiredIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2MessageRequiredIgnoreAlways) ProtoMessage() {} + +func (x *Proto2MessageRequiredIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[17] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2MessageRequiredIgnoreAlways.ProtoReflect.Descriptor instead. +func (*Proto2MessageRequiredIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{17} +} + +func (x *Proto2MessageRequiredIgnoreAlways) GetVal() *Proto2MessageRequiredIgnoreAlways_Msg { + if x != nil { + return x.Val + } + return nil +} + +type Proto2OneofIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to O: + // + // *Proto2OneofIgnoreUnspecified_Val + O isProto2OneofIgnoreUnspecified_O `protobuf_oneof:"o"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2OneofIgnoreUnspecified) Reset() { + *x = Proto2OneofIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2OneofIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2OneofIgnoreUnspecified) ProtoMessage() {} + +func (x *Proto2OneofIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[18] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2OneofIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*Proto2OneofIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{18} +} + +func (x *Proto2OneofIgnoreUnspecified) GetO() isProto2OneofIgnoreUnspecified_O { + if x != nil { + return x.O + } + return nil +} + +func (x *Proto2OneofIgnoreUnspecified) GetVal() int32 { + if x != nil { + if x, ok := x.O.(*Proto2OneofIgnoreUnspecified_Val); ok { + return x.Val + } + } + return 0 +} + +type isProto2OneofIgnoreUnspecified_O interface { + isProto2OneofIgnoreUnspecified_O() +} + +type Proto2OneofIgnoreUnspecified_Val struct { + Val int32 `protobuf:"varint,1,opt,name=val,oneof"` +} + +func (*Proto2OneofIgnoreUnspecified_Val) isProto2OneofIgnoreUnspecified_O() {} + +type Proto2OneofIgnoreUnspecifiedWithDefault struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to O: + // + // *Proto2OneofIgnoreUnspecifiedWithDefault_Val + O isProto2OneofIgnoreUnspecifiedWithDefault_O `protobuf_oneof:"o"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +// Default values for Proto2OneofIgnoreUnspecifiedWithDefault fields. +const ( + Default_Proto2OneofIgnoreUnspecifiedWithDefault_Val = int32(-42) +) + +func (x *Proto2OneofIgnoreUnspecifiedWithDefault) Reset() { + *x = Proto2OneofIgnoreUnspecifiedWithDefault{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2OneofIgnoreUnspecifiedWithDefault) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2OneofIgnoreUnspecifiedWithDefault) ProtoMessage() {} + +func (x *Proto2OneofIgnoreUnspecifiedWithDefault) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[19] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2OneofIgnoreUnspecifiedWithDefault.ProtoReflect.Descriptor instead. +func (*Proto2OneofIgnoreUnspecifiedWithDefault) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{19} +} + +func (x *Proto2OneofIgnoreUnspecifiedWithDefault) GetO() isProto2OneofIgnoreUnspecifiedWithDefault_O { + if x != nil { + return x.O + } + return nil +} + +func (x *Proto2OneofIgnoreUnspecifiedWithDefault) GetVal() int32 { + if x != nil { + if x, ok := x.O.(*Proto2OneofIgnoreUnspecifiedWithDefault_Val); ok { + return x.Val + } + } + return Default_Proto2OneofIgnoreUnspecifiedWithDefault_Val +} + +type isProto2OneofIgnoreUnspecifiedWithDefault_O interface { + isProto2OneofIgnoreUnspecifiedWithDefault_O() +} + +type Proto2OneofIgnoreUnspecifiedWithDefault_Val struct { + Val int32 `protobuf:"varint,1,opt,name=val,oneof,def=-42"` +} + +func (*Proto2OneofIgnoreUnspecifiedWithDefault_Val) isProto2OneofIgnoreUnspecifiedWithDefault_O() {} + +type Proto2OneofIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to O: + // + // *Proto2OneofIgnoreEmpty_Val + O isProto2OneofIgnoreEmpty_O `protobuf_oneof:"o"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2OneofIgnoreEmpty) Reset() { + *x = Proto2OneofIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2OneofIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2OneofIgnoreEmpty) ProtoMessage() {} + +func (x *Proto2OneofIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[20] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2OneofIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*Proto2OneofIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{20} +} + +func (x *Proto2OneofIgnoreEmpty) GetO() isProto2OneofIgnoreEmpty_O { + if x != nil { + return x.O + } + return nil +} + +func (x *Proto2OneofIgnoreEmpty) GetVal() int32 { + if x != nil { + if x, ok := x.O.(*Proto2OneofIgnoreEmpty_Val); ok { + return x.Val + } + } + return 0 +} + +type isProto2OneofIgnoreEmpty_O interface { + isProto2OneofIgnoreEmpty_O() +} + +type Proto2OneofIgnoreEmpty_Val struct { + Val int32 `protobuf:"varint,1,opt,name=val,oneof"` +} + +func (*Proto2OneofIgnoreEmpty_Val) isProto2OneofIgnoreEmpty_O() {} + +type Proto2OneofIgnoreEmptyWithDefault struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to O: + // + // *Proto2OneofIgnoreEmptyWithDefault_Val + O isProto2OneofIgnoreEmptyWithDefault_O `protobuf_oneof:"o"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +// Default values for Proto2OneofIgnoreEmptyWithDefault fields. +const ( + Default_Proto2OneofIgnoreEmptyWithDefault_Val = int32(-42) +) + +func (x *Proto2OneofIgnoreEmptyWithDefault) Reset() { + *x = Proto2OneofIgnoreEmptyWithDefault{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2OneofIgnoreEmptyWithDefault) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2OneofIgnoreEmptyWithDefault) ProtoMessage() {} + +func (x *Proto2OneofIgnoreEmptyWithDefault) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[21] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2OneofIgnoreEmptyWithDefault.ProtoReflect.Descriptor instead. +func (*Proto2OneofIgnoreEmptyWithDefault) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{21} +} + +func (x *Proto2OneofIgnoreEmptyWithDefault) GetO() isProto2OneofIgnoreEmptyWithDefault_O { + if x != nil { + return x.O + } + return nil +} + +func (x *Proto2OneofIgnoreEmptyWithDefault) GetVal() int32 { + if x != nil { + if x, ok := x.O.(*Proto2OneofIgnoreEmptyWithDefault_Val); ok { + return x.Val + } + } + return Default_Proto2OneofIgnoreEmptyWithDefault_Val +} + +type isProto2OneofIgnoreEmptyWithDefault_O interface { + isProto2OneofIgnoreEmptyWithDefault_O() +} + +type Proto2OneofIgnoreEmptyWithDefault_Val struct { + Val int32 `protobuf:"varint,1,opt,name=val,oneof,def=-42"` +} + +func (*Proto2OneofIgnoreEmptyWithDefault_Val) isProto2OneofIgnoreEmptyWithDefault_O() {} + +type Proto2OneofIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to O: + // + // *Proto2OneofIgnoreAlways_Val + O isProto2OneofIgnoreAlways_O `protobuf_oneof:"o"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2OneofIgnoreAlways) Reset() { + *x = Proto2OneofIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2OneofIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2OneofIgnoreAlways) ProtoMessage() {} + +func (x *Proto2OneofIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[22] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2OneofIgnoreAlways.ProtoReflect.Descriptor instead. +func (*Proto2OneofIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{22} +} + +func (x *Proto2OneofIgnoreAlways) GetO() isProto2OneofIgnoreAlways_O { + if x != nil { + return x.O + } + return nil +} + +func (x *Proto2OneofIgnoreAlways) GetVal() int32 { + if x != nil { + if x, ok := x.O.(*Proto2OneofIgnoreAlways_Val); ok { + return x.Val + } + } + return 0 +} + +type isProto2OneofIgnoreAlways_O interface { + isProto2OneofIgnoreAlways_O() +} + +type Proto2OneofIgnoreAlways_Val struct { + Val int32 `protobuf:"varint,1,opt,name=val,oneof"` +} + +func (*Proto2OneofIgnoreAlways_Val) isProto2OneofIgnoreAlways_O() {} + +type Proto2OneofIgnoreAlwaysWithDefault struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to O: + // + // *Proto2OneofIgnoreAlwaysWithDefault_Val + O isProto2OneofIgnoreAlwaysWithDefault_O `protobuf_oneof:"o"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +// Default values for Proto2OneofIgnoreAlwaysWithDefault fields. +const ( + Default_Proto2OneofIgnoreAlwaysWithDefault_Val = int32(-42) +) + +func (x *Proto2OneofIgnoreAlwaysWithDefault) Reset() { + *x = Proto2OneofIgnoreAlwaysWithDefault{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2OneofIgnoreAlwaysWithDefault) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2OneofIgnoreAlwaysWithDefault) ProtoMessage() {} + +func (x *Proto2OneofIgnoreAlwaysWithDefault) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[23] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2OneofIgnoreAlwaysWithDefault.ProtoReflect.Descriptor instead. +func (*Proto2OneofIgnoreAlwaysWithDefault) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{23} +} + +func (x *Proto2OneofIgnoreAlwaysWithDefault) GetO() isProto2OneofIgnoreAlwaysWithDefault_O { + if x != nil { + return x.O + } + return nil +} + +func (x *Proto2OneofIgnoreAlwaysWithDefault) GetVal() int32 { + if x != nil { + if x, ok := x.O.(*Proto2OneofIgnoreAlwaysWithDefault_Val); ok { + return x.Val + } + } + return Default_Proto2OneofIgnoreAlwaysWithDefault_Val +} + +type isProto2OneofIgnoreAlwaysWithDefault_O interface { + isProto2OneofIgnoreAlwaysWithDefault_O() +} + +type Proto2OneofIgnoreAlwaysWithDefault_Val struct { + Val int32 `protobuf:"varint,1,opt,name=val,oneof,def=-42"` +} + +func (*Proto2OneofIgnoreAlwaysWithDefault_Val) isProto2OneofIgnoreAlwaysWithDefault_O() {} + +type Proto2RepeatedIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2RepeatedIgnoreUnspecified) Reset() { + *x = Proto2RepeatedIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2RepeatedIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2RepeatedIgnoreUnspecified) ProtoMessage() {} + +func (x *Proto2RepeatedIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[24] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2RepeatedIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*Proto2RepeatedIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{24} +} + +func (x *Proto2RepeatedIgnoreUnspecified) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto2RepeatedIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2RepeatedIgnoreEmpty) Reset() { + *x = Proto2RepeatedIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2RepeatedIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2RepeatedIgnoreEmpty) ProtoMessage() {} + +func (x *Proto2RepeatedIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[25] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2RepeatedIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*Proto2RepeatedIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{25} +} + +func (x *Proto2RepeatedIgnoreEmpty) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto2RepeatedIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2RepeatedIgnoreAlways) Reset() { + *x = Proto2RepeatedIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2RepeatedIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2RepeatedIgnoreAlways) ProtoMessage() {} + +func (x *Proto2RepeatedIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[26] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2RepeatedIgnoreAlways.ProtoReflect.Descriptor instead. +func (*Proto2RepeatedIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{26} +} + +func (x *Proto2RepeatedIgnoreAlways) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto2MapIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2MapIgnoreUnspecified) Reset() { + *x = Proto2MapIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2MapIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2MapIgnoreUnspecified) ProtoMessage() {} + +func (x *Proto2MapIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[27] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2MapIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*Proto2MapIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{27} +} + +func (x *Proto2MapIgnoreUnspecified) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto2MapIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2MapIgnoreEmpty) Reset() { + *x = Proto2MapIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2MapIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2MapIgnoreEmpty) ProtoMessage() {} + +func (x *Proto2MapIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[28] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2MapIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*Proto2MapIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{28} +} + +func (x *Proto2MapIgnoreEmpty) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto2MapIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2MapIgnoreAlways) Reset() { + *x = Proto2MapIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2MapIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2MapIgnoreAlways) ProtoMessage() {} + +func (x *Proto2MapIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[29] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2MapIgnoreAlways.ProtoReflect.Descriptor instead. +func (*Proto2MapIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{29} +} + +func (x *Proto2MapIgnoreAlways) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto2RepeatedItemIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2RepeatedItemIgnoreUnspecified) Reset() { + *x = Proto2RepeatedItemIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2RepeatedItemIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2RepeatedItemIgnoreUnspecified) ProtoMessage() {} + +func (x *Proto2RepeatedItemIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[30] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2RepeatedItemIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*Proto2RepeatedItemIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{30} +} + +func (x *Proto2RepeatedItemIgnoreUnspecified) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto2RepeatedItemIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2RepeatedItemIgnoreEmpty) Reset() { + *x = Proto2RepeatedItemIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2RepeatedItemIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2RepeatedItemIgnoreEmpty) ProtoMessage() {} + +func (x *Proto2RepeatedItemIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[31] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2RepeatedItemIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*Proto2RepeatedItemIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{31} +} + +func (x *Proto2RepeatedItemIgnoreEmpty) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto2RepeatedItemIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2RepeatedItemIgnoreAlways) Reset() { + *x = Proto2RepeatedItemIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2RepeatedItemIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2RepeatedItemIgnoreAlways) ProtoMessage() {} + +func (x *Proto2RepeatedItemIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[32] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2RepeatedItemIgnoreAlways.ProtoReflect.Descriptor instead. +func (*Proto2RepeatedItemIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{32} +} + +func (x *Proto2RepeatedItemIgnoreAlways) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto2MapKeyIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2MapKeyIgnoreUnspecified) Reset() { + *x = Proto2MapKeyIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2MapKeyIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2MapKeyIgnoreUnspecified) ProtoMessage() {} + +func (x *Proto2MapKeyIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[33] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2MapKeyIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*Proto2MapKeyIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{33} +} + +func (x *Proto2MapKeyIgnoreUnspecified) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto2MapKeyIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2MapKeyIgnoreEmpty) Reset() { + *x = Proto2MapKeyIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2MapKeyIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2MapKeyIgnoreEmpty) ProtoMessage() {} + +func (x *Proto2MapKeyIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[34] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2MapKeyIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*Proto2MapKeyIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{34} +} + +func (x *Proto2MapKeyIgnoreEmpty) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto2MapKeyIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2MapKeyIgnoreAlways) Reset() { + *x = Proto2MapKeyIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2MapKeyIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2MapKeyIgnoreAlways) ProtoMessage() {} + +func (x *Proto2MapKeyIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[35] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2MapKeyIgnoreAlways.ProtoReflect.Descriptor instead. +func (*Proto2MapKeyIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{35} +} + +func (x *Proto2MapKeyIgnoreAlways) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto2MapValueIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2MapValueIgnoreUnspecified) Reset() { + *x = Proto2MapValueIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2MapValueIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2MapValueIgnoreUnspecified) ProtoMessage() {} + +func (x *Proto2MapValueIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[36] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2MapValueIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*Proto2MapValueIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{36} +} + +func (x *Proto2MapValueIgnoreUnspecified) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto2MapValueIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2MapValueIgnoreEmpty) Reset() { + *x = Proto2MapValueIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2MapValueIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2MapValueIgnoreEmpty) ProtoMessage() {} + +func (x *Proto2MapValueIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[37] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2MapValueIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*Proto2MapValueIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{37} +} + +func (x *Proto2MapValueIgnoreEmpty) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto2MapValueIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2MapValueIgnoreAlways) Reset() { + *x = Proto2MapValueIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2MapValueIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2MapValueIgnoreAlways) ProtoMessage() {} + +func (x *Proto2MapValueIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[38] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2MapValueIgnoreAlways.ProtoReflect.Descriptor instead. +func (*Proto2MapValueIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{38} +} + +func (x *Proto2MapValueIgnoreAlways) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto2MessageOptionalIgnoreUnspecified_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2MessageOptionalIgnoreUnspecified_Msg) Reset() { + *x = Proto2MessageOptionalIgnoreUnspecified_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2MessageOptionalIgnoreUnspecified_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2MessageOptionalIgnoreUnspecified_Msg) ProtoMessage() {} + +func (x *Proto2MessageOptionalIgnoreUnspecified_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[39] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2MessageOptionalIgnoreUnspecified_Msg.ProtoReflect.Descriptor instead. +func (*Proto2MessageOptionalIgnoreUnspecified_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{12, 0} +} + +func (x *Proto2MessageOptionalIgnoreUnspecified_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type Proto2MessageOptionalIgnoreEmpty_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2MessageOptionalIgnoreEmpty_Msg) Reset() { + *x = Proto2MessageOptionalIgnoreEmpty_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2MessageOptionalIgnoreEmpty_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2MessageOptionalIgnoreEmpty_Msg) ProtoMessage() {} + +func (x *Proto2MessageOptionalIgnoreEmpty_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[40] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2MessageOptionalIgnoreEmpty_Msg.ProtoReflect.Descriptor instead. +func (*Proto2MessageOptionalIgnoreEmpty_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{13, 0} +} + +func (x *Proto2MessageOptionalIgnoreEmpty_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type Proto2MessageOptionalIgnoreAlways_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2MessageOptionalIgnoreAlways_Msg) Reset() { + *x = Proto2MessageOptionalIgnoreAlways_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2MessageOptionalIgnoreAlways_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2MessageOptionalIgnoreAlways_Msg) ProtoMessage() {} + +func (x *Proto2MessageOptionalIgnoreAlways_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[41] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2MessageOptionalIgnoreAlways_Msg.ProtoReflect.Descriptor instead. +func (*Proto2MessageOptionalIgnoreAlways_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{14, 0} +} + +func (x *Proto2MessageOptionalIgnoreAlways_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type Proto2MessageRequiredIgnoreUnspecified_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2MessageRequiredIgnoreUnspecified_Msg) Reset() { + *x = Proto2MessageRequiredIgnoreUnspecified_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2MessageRequiredIgnoreUnspecified_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2MessageRequiredIgnoreUnspecified_Msg) ProtoMessage() {} + +func (x *Proto2MessageRequiredIgnoreUnspecified_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[42] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2MessageRequiredIgnoreUnspecified_Msg.ProtoReflect.Descriptor instead. +func (*Proto2MessageRequiredIgnoreUnspecified_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{15, 0} +} + +func (x *Proto2MessageRequiredIgnoreUnspecified_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type Proto2MessageRequiredIgnoreEmpty_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2MessageRequiredIgnoreEmpty_Msg) Reset() { + *x = Proto2MessageRequiredIgnoreEmpty_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2MessageRequiredIgnoreEmpty_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2MessageRequiredIgnoreEmpty_Msg) ProtoMessage() {} + +func (x *Proto2MessageRequiredIgnoreEmpty_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[43] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2MessageRequiredIgnoreEmpty_Msg.ProtoReflect.Descriptor instead. +func (*Proto2MessageRequiredIgnoreEmpty_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{16, 0} +} + +func (x *Proto2MessageRequiredIgnoreEmpty_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type Proto2MessageRequiredIgnoreAlways_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto2MessageRequiredIgnoreAlways_Msg) Reset() { + *x = Proto2MessageRequiredIgnoreAlways_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto2MessageRequiredIgnoreAlways_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto2MessageRequiredIgnoreAlways_Msg) ProtoMessage() {} + +func (x *Proto2MessageRequiredIgnoreAlways_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[44] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto2MessageRequiredIgnoreAlways_Msg.ProtoReflect.Descriptor instead. +func (*Proto2MessageRequiredIgnoreAlways_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP(), []int{17, 0} +} + +func (x *Proto2MessageRequiredIgnoreAlways_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +var File_buf_validate_conformance_cases_ignore_proto2_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_ignore_proto2_proto_rawDesc = "" + + "\n" + + "2buf/validate/conformance/cases/ignore_proto2.proto\x12\x1ebuf.validate.conformance.cases\x1a\x1bbuf/validate/validate.proto\"B\n" + + "%Proto2ScalarOptionalIgnoreUnspecified\x12\x19\n" + + "\x03val\x18\x01 \x01(\x05B\a\xbaH\x04\x1a\x02 \x00R\x03val\"R\n" + + "0Proto2ScalarOptionalIgnoreUnspecifiedWithDefault\x12\x1e\n" + + "\x03val\x18\x01 \x01(\x05:\x03-42B\a\xbaH\x04\x1a\x02 \x00R\x03val\"?\n" + + "\x1fProto2ScalarOptionalIgnoreEmpty\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x05B\n" + + "\xbaH\a\xd8\x01\x01\x1a\x02 \x00R\x03val\"O\n" + + "*Proto2ScalarOptionalIgnoreEmptyWithDefault\x12!\n" + + "\x03val\x18\x01 \x01(\x05:\x03-42B\n" + + "\xbaH\a\xd8\x01\x01\x1a\x02 \x00R\x03val\"@\n" + + " Proto2ScalarOptionalIgnoreAlways\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x05B\n" + + "\xbaH\a\xd8\x01\x03\x1a\x02 \x00R\x03val\"P\n" + + "+Proto2ScalarOptionalIgnoreAlwaysWithDefault\x12!\n" + + "\x03val\x18\x01 \x01(\x05:\x03-42B\n" + + "\xbaH\a\xd8\x01\x03\x1a\x02 \x00R\x03val\"B\n" + + "%Proto2ScalarRequiredIgnoreUnspecified\x12\x19\n" + + "\x03val\x18\x01 \x02(\x05B\a\xbaH\x04\x1a\x02 \x00R\x03val\"R\n" + + "0Proto2ScalarRequiredIgnoreUnspecifiedWithDefault\x12\x1e\n" + + "\x03val\x18\x01 \x02(\x05:\x03-42B\a\xbaH\x04\x1a\x02 \x00R\x03val\"?\n" + + "\x1fProto2ScalarRequiredIgnoreEmpty\x12\x1c\n" + + "\x03val\x18\x01 \x02(\x05B\n" + + "\xbaH\a\xd8\x01\x01\x1a\x02 \x00R\x03val\"O\n" + + "*Proto2ScalarRequiredIgnoreEmptyWithDefault\x12!\n" + + "\x03val\x18\x01 \x02(\x05:\x03-42B\n" + + "\xbaH\a\xd8\x01\x01\x1a\x02 \x00R\x03val\"@\n" + + " Proto2ScalarRequiredIgnoreAlways\x12\x1c\n" + + "\x03val\x18\x01 \x02(\x05B\n" + + "\xbaH\a\xd8\x01\x03\x1a\x02 \x00R\x03val\"P\n" + + "+Proto2ScalarRequiredIgnoreAlwaysWithDefault\x12!\n" + + "\x03val\x18\x01 \x02(\x05:\x03-42B\n" + + "\xbaH\a\xd8\x01\x03\x1a\x02 \x00R\x03val\"\xe0\x01\n" + + "&Proto2MessageOptionalIgnoreUnspecified\x12\x9c\x01\n" + + "\x03val\x18\x01 \x01(\v2J.buf.validate.conformance.cases.Proto2MessageOptionalIgnoreUnspecified.MsgB>\xbaH;\xba\x018\n" + + "\x1bproto2.message.ignore.empty\x12\x06foobar\x1a\x11this.val == 'foo'R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"\xd7\x01\n" + + " Proto2MessageOptionalIgnoreEmpty\x12\x99\x01\n" + + "\x03val\x18\x01 \x01(\v2D.buf.validate.conformance.cases.Proto2MessageOptionalIgnoreEmpty.MsgBA\xbaH>\xba\x018\n" + + "\x1bproto2.message.ignore.empty\x12\x06foobar\x1a\x11this.val == 'foo'\xd8\x01\x01R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"\xda\x01\n" + + "!Proto2MessageOptionalIgnoreAlways\x12\x9b\x01\n" + + "\x03val\x18\x01 \x01(\v2E.buf.validate.conformance.cases.Proto2MessageOptionalIgnoreAlways.MsgBB\xbaH?\xba\x019\n" + + "\x1cproto2.message.ignore.always\x12\x06foobar\x1a\x11this.val == 'foo'\xd8\x01\x03R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"\xe0\x01\n" + + "&Proto2MessageRequiredIgnoreUnspecified\x12\x9c\x01\n" + + "\x03val\x18\x01 \x02(\v2J.buf.validate.conformance.cases.Proto2MessageRequiredIgnoreUnspecified.MsgB>\xbaH;\xba\x018\n" + + "\x1bproto2.message.ignore.empty\x12\x06foobar\x1a\x11this.val == 'foo'R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"\xd7\x01\n" + + " Proto2MessageRequiredIgnoreEmpty\x12\x99\x01\n" + + "\x03val\x18\x01 \x02(\v2D.buf.validate.conformance.cases.Proto2MessageRequiredIgnoreEmpty.MsgBA\xbaH>\xba\x018\n" + + "\x1bproto2.message.ignore.empty\x12\x06foobar\x1a\x11this.val == 'foo'\xd8\x01\x01R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"\xda\x01\n" + + "!Proto2MessageRequiredIgnoreAlways\x12\x9b\x01\n" + + "\x03val\x18\x01 \x02(\v2E.buf.validate.conformance.cases.Proto2MessageRequiredIgnoreAlways.MsgBB\xbaH?\xba\x019\n" + + "\x1cproto2.message.ignore.always\x12\x06foobar\x1a\x11this.val == 'foo'\xd8\x01\x03R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"@\n" + + "\x1cProto2OneofIgnoreUnspecified\x12\x1b\n" + + "\x03val\x18\x01 \x01(\x05B\a\xbaH\x04\x1a\x02 \x00H\x00R\x03valB\x03\n" + + "\x01o\"P\n" + + "'Proto2OneofIgnoreUnspecifiedWithDefault\x12 \n" + + "\x03val\x18\x01 \x01(\x05:\x03-42B\a\xbaH\x04\x1a\x02 \x00H\x00R\x03valB\x03\n" + + "\x01o\"=\n" + + "\x16Proto2OneofIgnoreEmpty\x12\x1e\n" + + "\x03val\x18\x01 \x01(\x05B\n" + + "\xbaH\a\xd8\x01\x01\x1a\x02 \x00H\x00R\x03valB\x03\n" + + "\x01o\"M\n" + + "!Proto2OneofIgnoreEmptyWithDefault\x12#\n" + + "\x03val\x18\x01 \x01(\x05:\x03-42B\n" + + "\xbaH\a\xd8\x01\x01\x1a\x02 \x00H\x00R\x03valB\x03\n" + + "\x01o\">\n" + + "\x17Proto2OneofIgnoreAlways\x12\x1e\n" + + "\x03val\x18\x01 \x01(\x05B\n" + + "\xbaH\a\xd8\x01\x03\x1a\x02 \x00H\x00R\x03valB\x03\n" + + "\x01o\"N\n" + + "\"Proto2OneofIgnoreAlwaysWithDefault\x12#\n" + + "\x03val\x18\x01 \x01(\x05:\x03-42B\n" + + "\xbaH\a\xd8\x01\x03\x1a\x02 \x00H\x00R\x03valB\x03\n" + + "\x01o\"=\n" + + "\x1fProto2RepeatedIgnoreUnspecified\x12\x1a\n" + + "\x03val\x18\x01 \x03(\x05B\b\xbaH\x05\x92\x01\x02\b\x03R\x03val\":\n" + + "\x19Proto2RepeatedIgnoreEmpty\x12\x1d\n" + + "\x03val\x18\x01 \x03(\x05B\v\xbaH\b\xd8\x01\x01\x92\x01\x02\b\x03R\x03val\";\n" + + "\x1aProto2RepeatedIgnoreAlways\x12\x1d\n" + + "\x03val\x18\x01 \x03(\x05B\v\xbaH\b\xd8\x01\x03\x92\x01\x02\b\x03R\x03val\"\xb5\x01\n" + + "\x1aProto2MapIgnoreUnspecified\x12_\n" + + "\x03val\x18\x01 \x03(\v2C.buf.validate.conformance.cases.Proto2MapIgnoreUnspecified.ValEntryB\b\xbaH\x05\x9a\x01\x02\b\x03R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\xac\x01\n" + + "\x14Proto2MapIgnoreEmpty\x12\\\n" + + "\x03val\x18\x01 \x03(\v2=.buf.validate.conformance.cases.Proto2MapIgnoreEmpty.ValEntryB\v\xbaH\b\xd8\x01\x01\x9a\x01\x02\b\x03R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\xae\x01\n" + + "\x15Proto2MapIgnoreAlways\x12]\n" + + "\x03val\x18\x01 \x03(\v2>.buf.validate.conformance.cases.Proto2MapIgnoreAlways.ValEntryB\v\xbaH\b\xd8\x01\x03\x9a\x01\x02\b\x03R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"E\n" + + "#Proto2RepeatedItemIgnoreUnspecified\x12\x1e\n" + + "\x03val\x18\x01 \x03(\x05B\f\xbaH\t\x92\x01\x06\"\x04\x1a\x02 \x00R\x03val\"B\n" + + "\x1dProto2RepeatedItemIgnoreEmpty\x12!\n" + + "\x03val\x18\x01 \x03(\x05B\x0f\xbaH\f\x92\x01\t\"\a\xd8\x01\x01\x1a\x02 \x00R\x03val\"C\n" + + "\x1eProto2RepeatedItemIgnoreAlways\x12!\n" + + "\x03val\x18\x01 \x03(\x05B\x0f\xbaH\f\x92\x01\t\"\a\xd8\x01\x03\x1a\x02 \x00R\x03val\"\xbf\x01\n" + + "\x1dProto2MapKeyIgnoreUnspecified\x12f\n" + + "\x03val\x18\x01 \x03(\v2F.buf.validate.conformance.cases.Proto2MapKeyIgnoreUnspecified.ValEntryB\f\xbaH\t\x9a\x01\x06\"\x04\x1a\x02 \x00R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\xb6\x01\n" + + "\x17Proto2MapKeyIgnoreEmpty\x12c\n" + + "\x03val\x18\x01 \x03(\v2@.buf.validate.conformance.cases.Proto2MapKeyIgnoreEmpty.ValEntryB\x0f\xbaH\f\x9a\x01\t\"\a\xd8\x01\x01\x1a\x02 \x00R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\xb8\x01\n" + + "\x18Proto2MapKeyIgnoreAlways\x12d\n" + + "\x03val\x18\x01 \x03(\v2A.buf.validate.conformance.cases.Proto2MapKeyIgnoreAlways.ValEntryB\x0f\xbaH\f\x9a\x01\t\"\a\xd8\x01\x03\x1a\x02 \x00R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\xc3\x01\n" + + "\x1fProto2MapValueIgnoreUnspecified\x12h\n" + + "\x03val\x18\x01 \x03(\v2H.buf.validate.conformance.cases.Proto2MapValueIgnoreUnspecified.ValEntryB\f\xbaH\t\x9a\x01\x06*\x04\x1a\x02 \x00R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\xba\x01\n" + + "\x19Proto2MapValueIgnoreEmpty\x12e\n" + + "\x03val\x18\x01 \x03(\v2B.buf.validate.conformance.cases.Proto2MapValueIgnoreEmpty.ValEntryB\x0f\xbaH\f\x9a\x01\t*\a\xd8\x01\x01\x1a\x02 \x00R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\xbc\x01\n" + + "\x1aProto2MapValueIgnoreAlways\x12f\n" + + "\x03val\x18\x01 \x03(\v2C.buf.validate.conformance.cases.Proto2MapValueIgnoreAlways.ValEntryB\x0f\xbaH\f\x9a\x01\t*\a\xd8\x01\x03\x1a\x02 \x00R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01B\xae\x02\n" + + "\"com.buf.validate.conformance.casesB\x11IgnoreProto2ProtoP\x01ZYgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Cases" + +var ( + file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_ignore_proto2_proto_rawDesc), len(file_buf_validate_conformance_cases_ignore_proto2_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_ignore_proto2_proto_rawDescData +} + +var file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes = make([]protoimpl.MessageInfo, 54) +var file_buf_validate_conformance_cases_ignore_proto2_proto_goTypes = []any{ + (*Proto2ScalarOptionalIgnoreUnspecified)(nil), // 0: buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreUnspecified + (*Proto2ScalarOptionalIgnoreUnspecifiedWithDefault)(nil), // 1: buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreUnspecifiedWithDefault + (*Proto2ScalarOptionalIgnoreEmpty)(nil), // 2: buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreEmpty + (*Proto2ScalarOptionalIgnoreEmptyWithDefault)(nil), // 3: buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreEmptyWithDefault + (*Proto2ScalarOptionalIgnoreAlways)(nil), // 4: buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreAlways + (*Proto2ScalarOptionalIgnoreAlwaysWithDefault)(nil), // 5: buf.validate.conformance.cases.Proto2ScalarOptionalIgnoreAlwaysWithDefault + (*Proto2ScalarRequiredIgnoreUnspecified)(nil), // 6: buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreUnspecified + (*Proto2ScalarRequiredIgnoreUnspecifiedWithDefault)(nil), // 7: buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreUnspecifiedWithDefault + (*Proto2ScalarRequiredIgnoreEmpty)(nil), // 8: buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreEmpty + (*Proto2ScalarRequiredIgnoreEmptyWithDefault)(nil), // 9: buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreEmptyWithDefault + (*Proto2ScalarRequiredIgnoreAlways)(nil), // 10: buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreAlways + (*Proto2ScalarRequiredIgnoreAlwaysWithDefault)(nil), // 11: buf.validate.conformance.cases.Proto2ScalarRequiredIgnoreAlwaysWithDefault + (*Proto2MessageOptionalIgnoreUnspecified)(nil), // 12: buf.validate.conformance.cases.Proto2MessageOptionalIgnoreUnspecified + (*Proto2MessageOptionalIgnoreEmpty)(nil), // 13: buf.validate.conformance.cases.Proto2MessageOptionalIgnoreEmpty + (*Proto2MessageOptionalIgnoreAlways)(nil), // 14: buf.validate.conformance.cases.Proto2MessageOptionalIgnoreAlways + (*Proto2MessageRequiredIgnoreUnspecified)(nil), // 15: buf.validate.conformance.cases.Proto2MessageRequiredIgnoreUnspecified + (*Proto2MessageRequiredIgnoreEmpty)(nil), // 16: buf.validate.conformance.cases.Proto2MessageRequiredIgnoreEmpty + (*Proto2MessageRequiredIgnoreAlways)(nil), // 17: buf.validate.conformance.cases.Proto2MessageRequiredIgnoreAlways + (*Proto2OneofIgnoreUnspecified)(nil), // 18: buf.validate.conformance.cases.Proto2OneofIgnoreUnspecified + (*Proto2OneofIgnoreUnspecifiedWithDefault)(nil), // 19: buf.validate.conformance.cases.Proto2OneofIgnoreUnspecifiedWithDefault + (*Proto2OneofIgnoreEmpty)(nil), // 20: buf.validate.conformance.cases.Proto2OneofIgnoreEmpty + (*Proto2OneofIgnoreEmptyWithDefault)(nil), // 21: buf.validate.conformance.cases.Proto2OneofIgnoreEmptyWithDefault + (*Proto2OneofIgnoreAlways)(nil), // 22: buf.validate.conformance.cases.Proto2OneofIgnoreAlways + (*Proto2OneofIgnoreAlwaysWithDefault)(nil), // 23: buf.validate.conformance.cases.Proto2OneofIgnoreAlwaysWithDefault + (*Proto2RepeatedIgnoreUnspecified)(nil), // 24: buf.validate.conformance.cases.Proto2RepeatedIgnoreUnspecified + (*Proto2RepeatedIgnoreEmpty)(nil), // 25: buf.validate.conformance.cases.Proto2RepeatedIgnoreEmpty + (*Proto2RepeatedIgnoreAlways)(nil), // 26: buf.validate.conformance.cases.Proto2RepeatedIgnoreAlways + (*Proto2MapIgnoreUnspecified)(nil), // 27: buf.validate.conformance.cases.Proto2MapIgnoreUnspecified + (*Proto2MapIgnoreEmpty)(nil), // 28: buf.validate.conformance.cases.Proto2MapIgnoreEmpty + (*Proto2MapIgnoreAlways)(nil), // 29: buf.validate.conformance.cases.Proto2MapIgnoreAlways + (*Proto2RepeatedItemIgnoreUnspecified)(nil), // 30: buf.validate.conformance.cases.Proto2RepeatedItemIgnoreUnspecified + (*Proto2RepeatedItemIgnoreEmpty)(nil), // 31: buf.validate.conformance.cases.Proto2RepeatedItemIgnoreEmpty + (*Proto2RepeatedItemIgnoreAlways)(nil), // 32: buf.validate.conformance.cases.Proto2RepeatedItemIgnoreAlways + (*Proto2MapKeyIgnoreUnspecified)(nil), // 33: buf.validate.conformance.cases.Proto2MapKeyIgnoreUnspecified + (*Proto2MapKeyIgnoreEmpty)(nil), // 34: buf.validate.conformance.cases.Proto2MapKeyIgnoreEmpty + (*Proto2MapKeyIgnoreAlways)(nil), // 35: buf.validate.conformance.cases.Proto2MapKeyIgnoreAlways + (*Proto2MapValueIgnoreUnspecified)(nil), // 36: buf.validate.conformance.cases.Proto2MapValueIgnoreUnspecified + (*Proto2MapValueIgnoreEmpty)(nil), // 37: buf.validate.conformance.cases.Proto2MapValueIgnoreEmpty + (*Proto2MapValueIgnoreAlways)(nil), // 38: buf.validate.conformance.cases.Proto2MapValueIgnoreAlways + (*Proto2MessageOptionalIgnoreUnspecified_Msg)(nil), // 39: buf.validate.conformance.cases.Proto2MessageOptionalIgnoreUnspecified.Msg + (*Proto2MessageOptionalIgnoreEmpty_Msg)(nil), // 40: buf.validate.conformance.cases.Proto2MessageOptionalIgnoreEmpty.Msg + (*Proto2MessageOptionalIgnoreAlways_Msg)(nil), // 41: buf.validate.conformance.cases.Proto2MessageOptionalIgnoreAlways.Msg + (*Proto2MessageRequiredIgnoreUnspecified_Msg)(nil), // 42: buf.validate.conformance.cases.Proto2MessageRequiredIgnoreUnspecified.Msg + (*Proto2MessageRequiredIgnoreEmpty_Msg)(nil), // 43: buf.validate.conformance.cases.Proto2MessageRequiredIgnoreEmpty.Msg + (*Proto2MessageRequiredIgnoreAlways_Msg)(nil), // 44: buf.validate.conformance.cases.Proto2MessageRequiredIgnoreAlways.Msg + nil, // 45: buf.validate.conformance.cases.Proto2MapIgnoreUnspecified.ValEntry + nil, // 46: buf.validate.conformance.cases.Proto2MapIgnoreEmpty.ValEntry + nil, // 47: buf.validate.conformance.cases.Proto2MapIgnoreAlways.ValEntry + nil, // 48: buf.validate.conformance.cases.Proto2MapKeyIgnoreUnspecified.ValEntry + nil, // 49: buf.validate.conformance.cases.Proto2MapKeyIgnoreEmpty.ValEntry + nil, // 50: buf.validate.conformance.cases.Proto2MapKeyIgnoreAlways.ValEntry + nil, // 51: buf.validate.conformance.cases.Proto2MapValueIgnoreUnspecified.ValEntry + nil, // 52: buf.validate.conformance.cases.Proto2MapValueIgnoreEmpty.ValEntry + nil, // 53: buf.validate.conformance.cases.Proto2MapValueIgnoreAlways.ValEntry +} +var file_buf_validate_conformance_cases_ignore_proto2_proto_depIdxs = []int32{ + 39, // 0: buf.validate.conformance.cases.Proto2MessageOptionalIgnoreUnspecified.val:type_name -> buf.validate.conformance.cases.Proto2MessageOptionalIgnoreUnspecified.Msg + 40, // 1: buf.validate.conformance.cases.Proto2MessageOptionalIgnoreEmpty.val:type_name -> buf.validate.conformance.cases.Proto2MessageOptionalIgnoreEmpty.Msg + 41, // 2: buf.validate.conformance.cases.Proto2MessageOptionalIgnoreAlways.val:type_name -> buf.validate.conformance.cases.Proto2MessageOptionalIgnoreAlways.Msg + 42, // 3: buf.validate.conformance.cases.Proto2MessageRequiredIgnoreUnspecified.val:type_name -> buf.validate.conformance.cases.Proto2MessageRequiredIgnoreUnspecified.Msg + 43, // 4: buf.validate.conformance.cases.Proto2MessageRequiredIgnoreEmpty.val:type_name -> buf.validate.conformance.cases.Proto2MessageRequiredIgnoreEmpty.Msg + 44, // 5: buf.validate.conformance.cases.Proto2MessageRequiredIgnoreAlways.val:type_name -> buf.validate.conformance.cases.Proto2MessageRequiredIgnoreAlways.Msg + 45, // 6: buf.validate.conformance.cases.Proto2MapIgnoreUnspecified.val:type_name -> buf.validate.conformance.cases.Proto2MapIgnoreUnspecified.ValEntry + 46, // 7: buf.validate.conformance.cases.Proto2MapIgnoreEmpty.val:type_name -> buf.validate.conformance.cases.Proto2MapIgnoreEmpty.ValEntry + 47, // 8: buf.validate.conformance.cases.Proto2MapIgnoreAlways.val:type_name -> buf.validate.conformance.cases.Proto2MapIgnoreAlways.ValEntry + 48, // 9: buf.validate.conformance.cases.Proto2MapKeyIgnoreUnspecified.val:type_name -> buf.validate.conformance.cases.Proto2MapKeyIgnoreUnspecified.ValEntry + 49, // 10: buf.validate.conformance.cases.Proto2MapKeyIgnoreEmpty.val:type_name -> buf.validate.conformance.cases.Proto2MapKeyIgnoreEmpty.ValEntry + 50, // 11: buf.validate.conformance.cases.Proto2MapKeyIgnoreAlways.val:type_name -> buf.validate.conformance.cases.Proto2MapKeyIgnoreAlways.ValEntry + 51, // 12: buf.validate.conformance.cases.Proto2MapValueIgnoreUnspecified.val:type_name -> buf.validate.conformance.cases.Proto2MapValueIgnoreUnspecified.ValEntry + 52, // 13: buf.validate.conformance.cases.Proto2MapValueIgnoreEmpty.val:type_name -> buf.validate.conformance.cases.Proto2MapValueIgnoreEmpty.ValEntry + 53, // 14: buf.validate.conformance.cases.Proto2MapValueIgnoreAlways.val:type_name -> buf.validate.conformance.cases.Proto2MapValueIgnoreAlways.ValEntry + 15, // [15:15] is the sub-list for method output_type + 15, // [15:15] is the sub-list for method input_type + 15, // [15:15] is the sub-list for extension type_name + 15, // [15:15] is the sub-list for extension extendee + 0, // [0:15] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_ignore_proto2_proto_init() } +func file_buf_validate_conformance_cases_ignore_proto2_proto_init() { + if File_buf_validate_conformance_cases_ignore_proto2_proto != nil { + return + } + file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[18].OneofWrappers = []any{ + (*Proto2OneofIgnoreUnspecified_Val)(nil), + } + file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[19].OneofWrappers = []any{ + (*Proto2OneofIgnoreUnspecifiedWithDefault_Val)(nil), + } + file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[20].OneofWrappers = []any{ + (*Proto2OneofIgnoreEmpty_Val)(nil), + } + file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[21].OneofWrappers = []any{ + (*Proto2OneofIgnoreEmptyWithDefault_Val)(nil), + } + file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[22].OneofWrappers = []any{ + (*Proto2OneofIgnoreAlways_Val)(nil), + } + file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes[23].OneofWrappers = []any{ + (*Proto2OneofIgnoreAlwaysWithDefault_Val)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_ignore_proto2_proto_rawDesc), len(file_buf_validate_conformance_cases_ignore_proto2_proto_rawDesc)), + NumEnums: 0, + NumMessages: 54, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_ignore_proto2_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_ignore_proto2_proto_depIdxs, + MessageInfos: file_buf_validate_conformance_cases_ignore_proto2_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_ignore_proto2_proto = out.File + file_buf_validate_conformance_cases_ignore_proto2_proto_goTypes = nil + file_buf_validate_conformance_cases_ignore_proto2_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/ignore_proto3.pb.go b/internal/gen/proto/buf/validate/conformance/cases/ignore_proto3.pb.go new file mode 100644 index 00000000..61c7d342 --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/ignore_proto3.pb.go @@ -0,0 +1,1850 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/ignore_proto3.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Proto3ScalarOptionalIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3ScalarOptionalIgnoreUnspecified) Reset() { + *x = Proto3ScalarOptionalIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3ScalarOptionalIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3ScalarOptionalIgnoreUnspecified) ProtoMessage() {} + +func (x *Proto3ScalarOptionalIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3ScalarOptionalIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*Proto3ScalarOptionalIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{0} +} + +func (x *Proto3ScalarOptionalIgnoreUnspecified) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type Proto3ScalarOptionalIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3ScalarOptionalIgnoreEmpty) Reset() { + *x = Proto3ScalarOptionalIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3ScalarOptionalIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3ScalarOptionalIgnoreEmpty) ProtoMessage() {} + +func (x *Proto3ScalarOptionalIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3ScalarOptionalIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*Proto3ScalarOptionalIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{1} +} + +func (x *Proto3ScalarOptionalIgnoreEmpty) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type Proto3ScalarOptionalIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3ScalarOptionalIgnoreAlways) Reset() { + *x = Proto3ScalarOptionalIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3ScalarOptionalIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3ScalarOptionalIgnoreAlways) ProtoMessage() {} + +func (x *Proto3ScalarOptionalIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3ScalarOptionalIgnoreAlways.ProtoReflect.Descriptor instead. +func (*Proto3ScalarOptionalIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{2} +} + +func (x *Proto3ScalarOptionalIgnoreAlways) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type Proto3ScalarIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3ScalarIgnoreUnspecified) Reset() { + *x = Proto3ScalarIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3ScalarIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3ScalarIgnoreUnspecified) ProtoMessage() {} + +func (x *Proto3ScalarIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3ScalarIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*Proto3ScalarIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{3} +} + +func (x *Proto3ScalarIgnoreUnspecified) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type Proto3ScalarIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3ScalarIgnoreEmpty) Reset() { + *x = Proto3ScalarIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3ScalarIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3ScalarIgnoreEmpty) ProtoMessage() {} + +func (x *Proto3ScalarIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3ScalarIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*Proto3ScalarIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{4} +} + +func (x *Proto3ScalarIgnoreEmpty) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type Proto3ScalarIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3ScalarIgnoreAlways) Reset() { + *x = Proto3ScalarIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3ScalarIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3ScalarIgnoreAlways) ProtoMessage() {} + +func (x *Proto3ScalarIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3ScalarIgnoreAlways.ProtoReflect.Descriptor instead. +func (*Proto3ScalarIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{5} +} + +func (x *Proto3ScalarIgnoreAlways) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type Proto3MessageOptionalIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *Proto3MessageOptionalIgnoreUnspecified_Msg `protobuf:"bytes,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3MessageOptionalIgnoreUnspecified) Reset() { + *x = Proto3MessageOptionalIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3MessageOptionalIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3MessageOptionalIgnoreUnspecified) ProtoMessage() {} + +func (x *Proto3MessageOptionalIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3MessageOptionalIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*Proto3MessageOptionalIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{6} +} + +func (x *Proto3MessageOptionalIgnoreUnspecified) GetVal() *Proto3MessageOptionalIgnoreUnspecified_Msg { + if x != nil { + return x.Val + } + return nil +} + +type Proto3MessageOptionalIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *Proto3MessageOptionalIgnoreEmpty_Msg `protobuf:"bytes,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3MessageOptionalIgnoreEmpty) Reset() { + *x = Proto3MessageOptionalIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3MessageOptionalIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3MessageOptionalIgnoreEmpty) ProtoMessage() {} + +func (x *Proto3MessageOptionalIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3MessageOptionalIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*Proto3MessageOptionalIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{7} +} + +func (x *Proto3MessageOptionalIgnoreEmpty) GetVal() *Proto3MessageOptionalIgnoreEmpty_Msg { + if x != nil { + return x.Val + } + return nil +} + +type Proto3MessageOptionalIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *Proto3MessageOptionalIgnoreAlways_Msg `protobuf:"bytes,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3MessageOptionalIgnoreAlways) Reset() { + *x = Proto3MessageOptionalIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3MessageOptionalIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3MessageOptionalIgnoreAlways) ProtoMessage() {} + +func (x *Proto3MessageOptionalIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3MessageOptionalIgnoreAlways.ProtoReflect.Descriptor instead. +func (*Proto3MessageOptionalIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{8} +} + +func (x *Proto3MessageOptionalIgnoreAlways) GetVal() *Proto3MessageOptionalIgnoreAlways_Msg { + if x != nil { + return x.Val + } + return nil +} + +type Proto3MessageIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *Proto3MessageIgnoreUnspecified_Msg `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3MessageIgnoreUnspecified) Reset() { + *x = Proto3MessageIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3MessageIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3MessageIgnoreUnspecified) ProtoMessage() {} + +func (x *Proto3MessageIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3MessageIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*Proto3MessageIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{9} +} + +func (x *Proto3MessageIgnoreUnspecified) GetVal() *Proto3MessageIgnoreUnspecified_Msg { + if x != nil { + return x.Val + } + return nil +} + +type Proto3MessageIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *Proto3MessageIgnoreEmpty_Msg `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3MessageIgnoreEmpty) Reset() { + *x = Proto3MessageIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3MessageIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3MessageIgnoreEmpty) ProtoMessage() {} + +func (x *Proto3MessageIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3MessageIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*Proto3MessageIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{10} +} + +func (x *Proto3MessageIgnoreEmpty) GetVal() *Proto3MessageIgnoreEmpty_Msg { + if x != nil { + return x.Val + } + return nil +} + +type Proto3OneofIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to O: + // + // *Proto3OneofIgnoreUnspecified_Val + O isProto3OneofIgnoreUnspecified_O `protobuf_oneof:"o"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3OneofIgnoreUnspecified) Reset() { + *x = Proto3OneofIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3OneofIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3OneofIgnoreUnspecified) ProtoMessage() {} + +func (x *Proto3OneofIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3OneofIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*Proto3OneofIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{11} +} + +func (x *Proto3OneofIgnoreUnspecified) GetO() isProto3OneofIgnoreUnspecified_O { + if x != nil { + return x.O + } + return nil +} + +func (x *Proto3OneofIgnoreUnspecified) GetVal() int32 { + if x != nil { + if x, ok := x.O.(*Proto3OneofIgnoreUnspecified_Val); ok { + return x.Val + } + } + return 0 +} + +type isProto3OneofIgnoreUnspecified_O interface { + isProto3OneofIgnoreUnspecified_O() +} + +type Proto3OneofIgnoreUnspecified_Val struct { + Val int32 `protobuf:"varint,1,opt,name=val,proto3,oneof"` +} + +func (*Proto3OneofIgnoreUnspecified_Val) isProto3OneofIgnoreUnspecified_O() {} + +type Proto3OneofIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to O: + // + // *Proto3OneofIgnoreEmpty_Val + O isProto3OneofIgnoreEmpty_O `protobuf_oneof:"o"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3OneofIgnoreEmpty) Reset() { + *x = Proto3OneofIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3OneofIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3OneofIgnoreEmpty) ProtoMessage() {} + +func (x *Proto3OneofIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3OneofIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*Proto3OneofIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{12} +} + +func (x *Proto3OneofIgnoreEmpty) GetO() isProto3OneofIgnoreEmpty_O { + if x != nil { + return x.O + } + return nil +} + +func (x *Proto3OneofIgnoreEmpty) GetVal() int32 { + if x != nil { + if x, ok := x.O.(*Proto3OneofIgnoreEmpty_Val); ok { + return x.Val + } + } + return 0 +} + +type isProto3OneofIgnoreEmpty_O interface { + isProto3OneofIgnoreEmpty_O() +} + +type Proto3OneofIgnoreEmpty_Val struct { + Val int32 `protobuf:"varint,1,opt,name=val,proto3,oneof"` +} + +func (*Proto3OneofIgnoreEmpty_Val) isProto3OneofIgnoreEmpty_O() {} + +type Proto3OneofIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to O: + // + // *Proto3OneofIgnoreAlways_Val + O isProto3OneofIgnoreAlways_O `protobuf_oneof:"o"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3OneofIgnoreAlways) Reset() { + *x = Proto3OneofIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3OneofIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3OneofIgnoreAlways) ProtoMessage() {} + +func (x *Proto3OneofIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3OneofIgnoreAlways.ProtoReflect.Descriptor instead. +func (*Proto3OneofIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{13} +} + +func (x *Proto3OneofIgnoreAlways) GetO() isProto3OneofIgnoreAlways_O { + if x != nil { + return x.O + } + return nil +} + +func (x *Proto3OneofIgnoreAlways) GetVal() int32 { + if x != nil { + if x, ok := x.O.(*Proto3OneofIgnoreAlways_Val); ok { + return x.Val + } + } + return 0 +} + +type isProto3OneofIgnoreAlways_O interface { + isProto3OneofIgnoreAlways_O() +} + +type Proto3OneofIgnoreAlways_Val struct { + Val int32 `protobuf:"varint,1,opt,name=val,proto3,oneof"` +} + +func (*Proto3OneofIgnoreAlways_Val) isProto3OneofIgnoreAlways_O() {} + +type Proto3RepeatedIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3RepeatedIgnoreUnspecified) Reset() { + *x = Proto3RepeatedIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3RepeatedIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3RepeatedIgnoreUnspecified) ProtoMessage() {} + +func (x *Proto3RepeatedIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3RepeatedIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*Proto3RepeatedIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{14} +} + +func (x *Proto3RepeatedIgnoreUnspecified) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto3RepeatedIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3RepeatedIgnoreEmpty) Reset() { + *x = Proto3RepeatedIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3RepeatedIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3RepeatedIgnoreEmpty) ProtoMessage() {} + +func (x *Proto3RepeatedIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[15] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3RepeatedIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*Proto3RepeatedIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{15} +} + +func (x *Proto3RepeatedIgnoreEmpty) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto3RepeatedIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3RepeatedIgnoreAlways) Reset() { + *x = Proto3RepeatedIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3RepeatedIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3RepeatedIgnoreAlways) ProtoMessage() {} + +func (x *Proto3RepeatedIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[16] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3RepeatedIgnoreAlways.ProtoReflect.Descriptor instead. +func (*Proto3RepeatedIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{16} +} + +func (x *Proto3RepeatedIgnoreAlways) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto3MapIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3MapIgnoreUnspecified) Reset() { + *x = Proto3MapIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3MapIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3MapIgnoreUnspecified) ProtoMessage() {} + +func (x *Proto3MapIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[17] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3MapIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*Proto3MapIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{17} +} + +func (x *Proto3MapIgnoreUnspecified) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto3MapIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3MapIgnoreEmpty) Reset() { + *x = Proto3MapIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3MapIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3MapIgnoreEmpty) ProtoMessage() {} + +func (x *Proto3MapIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[18] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3MapIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*Proto3MapIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{18} +} + +func (x *Proto3MapIgnoreEmpty) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto3MapIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3MapIgnoreAlways) Reset() { + *x = Proto3MapIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3MapIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3MapIgnoreAlways) ProtoMessage() {} + +func (x *Proto3MapIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[19] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3MapIgnoreAlways.ProtoReflect.Descriptor instead. +func (*Proto3MapIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{19} +} + +func (x *Proto3MapIgnoreAlways) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto3RepeatedItemIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3RepeatedItemIgnoreUnspecified) Reset() { + *x = Proto3RepeatedItemIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3RepeatedItemIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3RepeatedItemIgnoreUnspecified) ProtoMessage() {} + +func (x *Proto3RepeatedItemIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[20] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3RepeatedItemIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*Proto3RepeatedItemIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{20} +} + +func (x *Proto3RepeatedItemIgnoreUnspecified) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto3RepeatedItemIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3RepeatedItemIgnoreEmpty) Reset() { + *x = Proto3RepeatedItemIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3RepeatedItemIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3RepeatedItemIgnoreEmpty) ProtoMessage() {} + +func (x *Proto3RepeatedItemIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[21] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3RepeatedItemIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*Proto3RepeatedItemIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{21} +} + +func (x *Proto3RepeatedItemIgnoreEmpty) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto3RepeatedItemIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3RepeatedItemIgnoreAlways) Reset() { + *x = Proto3RepeatedItemIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3RepeatedItemIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3RepeatedItemIgnoreAlways) ProtoMessage() {} + +func (x *Proto3RepeatedItemIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[22] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3RepeatedItemIgnoreAlways.ProtoReflect.Descriptor instead. +func (*Proto3RepeatedItemIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{22} +} + +func (x *Proto3RepeatedItemIgnoreAlways) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto3MapKeyIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3MapKeyIgnoreUnspecified) Reset() { + *x = Proto3MapKeyIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3MapKeyIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3MapKeyIgnoreUnspecified) ProtoMessage() {} + +func (x *Proto3MapKeyIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[23] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3MapKeyIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*Proto3MapKeyIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{23} +} + +func (x *Proto3MapKeyIgnoreUnspecified) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto3MapKeyIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3MapKeyIgnoreEmpty) Reset() { + *x = Proto3MapKeyIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3MapKeyIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3MapKeyIgnoreEmpty) ProtoMessage() {} + +func (x *Proto3MapKeyIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[24] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3MapKeyIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*Proto3MapKeyIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{24} +} + +func (x *Proto3MapKeyIgnoreEmpty) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto3MapKeyIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3MapKeyIgnoreAlways) Reset() { + *x = Proto3MapKeyIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3MapKeyIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3MapKeyIgnoreAlways) ProtoMessage() {} + +func (x *Proto3MapKeyIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[25] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3MapKeyIgnoreAlways.ProtoReflect.Descriptor instead. +func (*Proto3MapKeyIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{25} +} + +func (x *Proto3MapKeyIgnoreAlways) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto3MapValueIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3MapValueIgnoreUnspecified) Reset() { + *x = Proto3MapValueIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3MapValueIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3MapValueIgnoreUnspecified) ProtoMessage() {} + +func (x *Proto3MapValueIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[26] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3MapValueIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*Proto3MapValueIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{26} +} + +func (x *Proto3MapValueIgnoreUnspecified) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto3MapValueIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3MapValueIgnoreEmpty) Reset() { + *x = Proto3MapValueIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3MapValueIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3MapValueIgnoreEmpty) ProtoMessage() {} + +func (x *Proto3MapValueIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[27] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3MapValueIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*Proto3MapValueIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{27} +} + +func (x *Proto3MapValueIgnoreEmpty) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto3MapValueIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3MapValueIgnoreAlways) Reset() { + *x = Proto3MapValueIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3MapValueIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3MapValueIgnoreAlways) ProtoMessage() {} + +func (x *Proto3MapValueIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[28] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3MapValueIgnoreAlways.ProtoReflect.Descriptor instead. +func (*Proto3MapValueIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{28} +} + +func (x *Proto3MapValueIgnoreAlways) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type Proto3MessageOptionalIgnoreUnspecified_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3MessageOptionalIgnoreUnspecified_Msg) Reset() { + *x = Proto3MessageOptionalIgnoreUnspecified_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3MessageOptionalIgnoreUnspecified_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3MessageOptionalIgnoreUnspecified_Msg) ProtoMessage() {} + +func (x *Proto3MessageOptionalIgnoreUnspecified_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[29] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3MessageOptionalIgnoreUnspecified_Msg.ProtoReflect.Descriptor instead. +func (*Proto3MessageOptionalIgnoreUnspecified_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{6, 0} +} + +func (x *Proto3MessageOptionalIgnoreUnspecified_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type Proto3MessageOptionalIgnoreEmpty_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3MessageOptionalIgnoreEmpty_Msg) Reset() { + *x = Proto3MessageOptionalIgnoreEmpty_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3MessageOptionalIgnoreEmpty_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3MessageOptionalIgnoreEmpty_Msg) ProtoMessage() {} + +func (x *Proto3MessageOptionalIgnoreEmpty_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[30] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3MessageOptionalIgnoreEmpty_Msg.ProtoReflect.Descriptor instead. +func (*Proto3MessageOptionalIgnoreEmpty_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{7, 0} +} + +func (x *Proto3MessageOptionalIgnoreEmpty_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type Proto3MessageOptionalIgnoreAlways_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3MessageOptionalIgnoreAlways_Msg) Reset() { + *x = Proto3MessageOptionalIgnoreAlways_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3MessageOptionalIgnoreAlways_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3MessageOptionalIgnoreAlways_Msg) ProtoMessage() {} + +func (x *Proto3MessageOptionalIgnoreAlways_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[31] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3MessageOptionalIgnoreAlways_Msg.ProtoReflect.Descriptor instead. +func (*Proto3MessageOptionalIgnoreAlways_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{8, 0} +} + +func (x *Proto3MessageOptionalIgnoreAlways_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type Proto3MessageIgnoreUnspecified_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3MessageIgnoreUnspecified_Msg) Reset() { + *x = Proto3MessageIgnoreUnspecified_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3MessageIgnoreUnspecified_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3MessageIgnoreUnspecified_Msg) ProtoMessage() {} + +func (x *Proto3MessageIgnoreUnspecified_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[32] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3MessageIgnoreUnspecified_Msg.ProtoReflect.Descriptor instead. +func (*Proto3MessageIgnoreUnspecified_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{9, 0} +} + +func (x *Proto3MessageIgnoreUnspecified_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type Proto3MessageIgnoreEmpty_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Proto3MessageIgnoreEmpty_Msg) Reset() { + *x = Proto3MessageIgnoreEmpty_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Proto3MessageIgnoreEmpty_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proto3MessageIgnoreEmpty_Msg) ProtoMessage() {} + +func (x *Proto3MessageIgnoreEmpty_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[33] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proto3MessageIgnoreEmpty_Msg.ProtoReflect.Descriptor instead. +func (*Proto3MessageIgnoreEmpty_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP(), []int{10, 0} +} + +func (x *Proto3MessageIgnoreEmpty_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +var File_buf_validate_conformance_cases_ignore_proto3_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_ignore_proto3_proto_rawDesc = "" + + "\n" + + "2buf/validate/conformance/cases/ignore_proto3.proto\x12\x1ebuf.validate.conformance.cases\x1a\x1bbuf/validate/validate.proto\"O\n" + + "%Proto3ScalarOptionalIgnoreUnspecified\x12\x1e\n" + + "\x03val\x18\x01 \x01(\x05B\a\xbaH\x04\x1a\x02 \x00H\x00R\x03val\x88\x01\x01B\x06\n" + + "\x04_val\"L\n" + + "\x1fProto3ScalarOptionalIgnoreEmpty\x12!\n" + + "\x03val\x18\x01 \x01(\x05B\n" + + "\xbaH\a\xd8\x01\x01\x1a\x02 \x00H\x00R\x03val\x88\x01\x01B\x06\n" + + "\x04_val\"M\n" + + " Proto3ScalarOptionalIgnoreAlways\x12!\n" + + "\x03val\x18\x01 \x01(\x05B\n" + + "\xbaH\a\xd8\x01\x03\x1a\x02 \x00H\x00R\x03val\x88\x01\x01B\x06\n" + + "\x04_val\":\n" + + "\x1dProto3ScalarIgnoreUnspecified\x12\x19\n" + + "\x03val\x18\x01 \x01(\x05B\a\xbaH\x04\x1a\x02 \x00R\x03val\"7\n" + + "\x17Proto3ScalarIgnoreEmpty\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x05B\n" + + "\xbaH\a\xd8\x01\x01\x1a\x02 \x00R\x03val\"8\n" + + "\x18Proto3ScalarIgnoreAlways\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x05B\n" + + "\xbaH\a\xd8\x01\x03\x1a\x02 \x00R\x03val\"\xfa\x01\n" + + "&Proto3MessageOptionalIgnoreUnspecified\x12\xa1\x01\n" + + "\x03val\x18\x01 \x01(\v2J.buf.validate.conformance.cases.Proto3MessageOptionalIgnoreUnspecified.MsgB>\xbaH;\xba\x018\n" + + "\x1bproto3.message.ignore.empty\x12\x06foobar\x1a\x11this.val == 'foo'H\x00R\x03val\x88\x01\x01\x1a$\n" + + "\x03Msg\x12\x15\n" + + "\x03val\x18\x01 \x01(\tH\x00R\x03val\x88\x01\x01B\x06\n" + + "\x04_valB\x06\n" + + "\x04_val\"\xf1\x01\n" + + " Proto3MessageOptionalIgnoreEmpty\x12\x9e\x01\n" + + "\x03val\x18\x01 \x01(\v2D.buf.validate.conformance.cases.Proto3MessageOptionalIgnoreEmpty.MsgBA\xbaH>\xba\x018\n" + + "\x1bproto3.message.ignore.empty\x12\x06foobar\x1a\x11this.val == 'foo'\xd8\x01\x01H\x00R\x03val\x88\x01\x01\x1a$\n" + + "\x03Msg\x12\x15\n" + + "\x03val\x18\x01 \x01(\tH\x00R\x03val\x88\x01\x01B\x06\n" + + "\x04_valB\x06\n" + + "\x04_val\"\xf4\x01\n" + + "!Proto3MessageOptionalIgnoreAlways\x12\xa0\x01\n" + + "\x03val\x18\x01 \x01(\v2E.buf.validate.conformance.cases.Proto3MessageOptionalIgnoreAlways.MsgBB\xbaH?\xba\x019\n" + + "\x1cproto3.message.ignore.always\x12\x06foobar\x1a\x11this.val == 'foo'\xd8\x01\x03H\x00R\x03val\x88\x01\x01\x1a$\n" + + "\x03Msg\x12\x15\n" + + "\x03val\x18\x01 \x01(\tH\x00R\x03val\x88\x01\x01B\x06\n" + + "\x04_valB\x06\n" + + "\x04_val\"\xdd\x01\n" + + "\x1eProto3MessageIgnoreUnspecified\x12\x94\x01\n" + + "\x03val\x18\x01 \x01(\v2B.buf.validate.conformance.cases.Proto3MessageIgnoreUnspecified.MsgB>\xbaH;\xba\x018\n" + + "\x1bproto3.message.ignore.empty\x12\x06foobar\x1a\x11this.val == 'foo'R\x03val\x1a$\n" + + "\x03Msg\x12\x15\n" + + "\x03val\x18\x01 \x01(\tH\x00R\x03val\x88\x01\x01B\x06\n" + + "\x04_val\"\xd4\x01\n" + + "\x18Proto3MessageIgnoreEmpty\x12\x91\x01\n" + + "\x03val\x18\x01 \x01(\v2<.buf.validate.conformance.cases.Proto3MessageIgnoreEmpty.MsgBA\xbaH>\xba\x018\n" + + "\x1bproto3.message.ignore.empty\x12\x06foobar\x1a\x11this.val == 'foo'\xd8\x01\x01R\x03val\x1a$\n" + + "\x03Msg\x12\x15\n" + + "\x03val\x18\x01 \x01(\tH\x00R\x03val\x88\x01\x01B\x06\n" + + "\x04_val\"@\n" + + "\x1cProto3OneofIgnoreUnspecified\x12\x1b\n" + + "\x03val\x18\x01 \x01(\x05B\a\xbaH\x04\x1a\x02 \x00H\x00R\x03valB\x03\n" + + "\x01o\"=\n" + + "\x16Proto3OneofIgnoreEmpty\x12\x1e\n" + + "\x03val\x18\x01 \x01(\x05B\n" + + "\xbaH\a\xd8\x01\x01\x1a\x02 \x00H\x00R\x03valB\x03\n" + + "\x01o\">\n" + + "\x17Proto3OneofIgnoreAlways\x12\x1e\n" + + "\x03val\x18\x01 \x01(\x05B\n" + + "\xbaH\a\xd8\x01\x03\x1a\x02 \x00H\x00R\x03valB\x03\n" + + "\x01o\"=\n" + + "\x1fProto3RepeatedIgnoreUnspecified\x12\x1a\n" + + "\x03val\x18\x01 \x03(\x05B\b\xbaH\x05\x92\x01\x02\b\x03R\x03val\":\n" + + "\x19Proto3RepeatedIgnoreEmpty\x12\x1d\n" + + "\x03val\x18\x01 \x03(\x05B\v\xbaH\b\xd8\x01\x01\x92\x01\x02\b\x03R\x03val\";\n" + + "\x1aProto3RepeatedIgnoreAlways\x12\x1d\n" + + "\x03val\x18\x01 \x03(\x05B\v\xbaH\b\xd8\x01\x03\x92\x01\x02\b\x03R\x03val\"\xb5\x01\n" + + "\x1aProto3MapIgnoreUnspecified\x12_\n" + + "\x03val\x18\x01 \x03(\v2C.buf.validate.conformance.cases.Proto3MapIgnoreUnspecified.ValEntryB\b\xbaH\x05\x9a\x01\x02\b\x03R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\xac\x01\n" + + "\x14Proto3MapIgnoreEmpty\x12\\\n" + + "\x03val\x18\x01 \x03(\v2=.buf.validate.conformance.cases.Proto3MapIgnoreEmpty.ValEntryB\v\xbaH\b\xd8\x01\x01\x9a\x01\x02\b\x03R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\xae\x01\n" + + "\x15Proto3MapIgnoreAlways\x12]\n" + + "\x03val\x18\x01 \x03(\v2>.buf.validate.conformance.cases.Proto3MapIgnoreAlways.ValEntryB\v\xbaH\b\xd8\x01\x03\x9a\x01\x02\b\x03R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"E\n" + + "#Proto3RepeatedItemIgnoreUnspecified\x12\x1e\n" + + "\x03val\x18\x01 \x03(\x05B\f\xbaH\t\x92\x01\x06\"\x04\x1a\x02 \x00R\x03val\"B\n" + + "\x1dProto3RepeatedItemIgnoreEmpty\x12!\n" + + "\x03val\x18\x01 \x03(\x05B\x0f\xbaH\f\x92\x01\t\"\a\xd8\x01\x01\x1a\x02 \x00R\x03val\"C\n" + + "\x1eProto3RepeatedItemIgnoreAlways\x12!\n" + + "\x03val\x18\x01 \x03(\x05B\x0f\xbaH\f\x92\x01\t\"\a\xd8\x01\x03\x1a\x02 \x00R\x03val\"\xbf\x01\n" + + "\x1dProto3MapKeyIgnoreUnspecified\x12f\n" + + "\x03val\x18\x01 \x03(\v2F.buf.validate.conformance.cases.Proto3MapKeyIgnoreUnspecified.ValEntryB\f\xbaH\t\x9a\x01\x06\"\x04\x1a\x02 \x00R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\xb6\x01\n" + + "\x17Proto3MapKeyIgnoreEmpty\x12c\n" + + "\x03val\x18\x01 \x03(\v2@.buf.validate.conformance.cases.Proto3MapKeyIgnoreEmpty.ValEntryB\x0f\xbaH\f\x9a\x01\t\"\a\xd8\x01\x01\x1a\x02 \x00R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\xb8\x01\n" + + "\x18Proto3MapKeyIgnoreAlways\x12d\n" + + "\x03val\x18\x01 \x03(\v2A.buf.validate.conformance.cases.Proto3MapKeyIgnoreAlways.ValEntryB\x0f\xbaH\f\x9a\x01\t\"\a\xd8\x01\x03\x1a\x02 \x00R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\xc3\x01\n" + + "\x1fProto3MapValueIgnoreUnspecified\x12h\n" + + "\x03val\x18\x01 \x03(\v2H.buf.validate.conformance.cases.Proto3MapValueIgnoreUnspecified.ValEntryB\f\xbaH\t\x9a\x01\x06*\x04\x1a\x02 \x00R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\xba\x01\n" + + "\x19Proto3MapValueIgnoreEmpty\x12e\n" + + "\x03val\x18\x01 \x03(\v2B.buf.validate.conformance.cases.Proto3MapValueIgnoreEmpty.ValEntryB\x0f\xbaH\f\x9a\x01\t*\a\xd8\x01\x01\x1a\x02 \x00R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\xbc\x01\n" + + "\x1aProto3MapValueIgnoreAlways\x12f\n" + + "\x03val\x18\x01 \x03(\v2C.buf.validate.conformance.cases.Proto3MapValueIgnoreAlways.ValEntryB\x0f\xbaH\f\x9a\x01\t*\a\xd8\x01\x03\x1a\x02 \x00R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01B\xae\x02\n" + + "\"com.buf.validate.conformance.casesB\x11IgnoreProto3ProtoP\x01ZYgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Casesb\x06proto3" + +var ( + file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_ignore_proto3_proto_rawDesc), len(file_buf_validate_conformance_cases_ignore_proto3_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_ignore_proto3_proto_rawDescData +} + +var file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes = make([]protoimpl.MessageInfo, 43) +var file_buf_validate_conformance_cases_ignore_proto3_proto_goTypes = []any{ + (*Proto3ScalarOptionalIgnoreUnspecified)(nil), // 0: buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreUnspecified + (*Proto3ScalarOptionalIgnoreEmpty)(nil), // 1: buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreEmpty + (*Proto3ScalarOptionalIgnoreAlways)(nil), // 2: buf.validate.conformance.cases.Proto3ScalarOptionalIgnoreAlways + (*Proto3ScalarIgnoreUnspecified)(nil), // 3: buf.validate.conformance.cases.Proto3ScalarIgnoreUnspecified + (*Proto3ScalarIgnoreEmpty)(nil), // 4: buf.validate.conformance.cases.Proto3ScalarIgnoreEmpty + (*Proto3ScalarIgnoreAlways)(nil), // 5: buf.validate.conformance.cases.Proto3ScalarIgnoreAlways + (*Proto3MessageOptionalIgnoreUnspecified)(nil), // 6: buf.validate.conformance.cases.Proto3MessageOptionalIgnoreUnspecified + (*Proto3MessageOptionalIgnoreEmpty)(nil), // 7: buf.validate.conformance.cases.Proto3MessageOptionalIgnoreEmpty + (*Proto3MessageOptionalIgnoreAlways)(nil), // 8: buf.validate.conformance.cases.Proto3MessageOptionalIgnoreAlways + (*Proto3MessageIgnoreUnspecified)(nil), // 9: buf.validate.conformance.cases.Proto3MessageIgnoreUnspecified + (*Proto3MessageIgnoreEmpty)(nil), // 10: buf.validate.conformance.cases.Proto3MessageIgnoreEmpty + (*Proto3OneofIgnoreUnspecified)(nil), // 11: buf.validate.conformance.cases.Proto3OneofIgnoreUnspecified + (*Proto3OneofIgnoreEmpty)(nil), // 12: buf.validate.conformance.cases.Proto3OneofIgnoreEmpty + (*Proto3OneofIgnoreAlways)(nil), // 13: buf.validate.conformance.cases.Proto3OneofIgnoreAlways + (*Proto3RepeatedIgnoreUnspecified)(nil), // 14: buf.validate.conformance.cases.Proto3RepeatedIgnoreUnspecified + (*Proto3RepeatedIgnoreEmpty)(nil), // 15: buf.validate.conformance.cases.Proto3RepeatedIgnoreEmpty + (*Proto3RepeatedIgnoreAlways)(nil), // 16: buf.validate.conformance.cases.Proto3RepeatedIgnoreAlways + (*Proto3MapIgnoreUnspecified)(nil), // 17: buf.validate.conformance.cases.Proto3MapIgnoreUnspecified + (*Proto3MapIgnoreEmpty)(nil), // 18: buf.validate.conformance.cases.Proto3MapIgnoreEmpty + (*Proto3MapIgnoreAlways)(nil), // 19: buf.validate.conformance.cases.Proto3MapIgnoreAlways + (*Proto3RepeatedItemIgnoreUnspecified)(nil), // 20: buf.validate.conformance.cases.Proto3RepeatedItemIgnoreUnspecified + (*Proto3RepeatedItemIgnoreEmpty)(nil), // 21: buf.validate.conformance.cases.Proto3RepeatedItemIgnoreEmpty + (*Proto3RepeatedItemIgnoreAlways)(nil), // 22: buf.validate.conformance.cases.Proto3RepeatedItemIgnoreAlways + (*Proto3MapKeyIgnoreUnspecified)(nil), // 23: buf.validate.conformance.cases.Proto3MapKeyIgnoreUnspecified + (*Proto3MapKeyIgnoreEmpty)(nil), // 24: buf.validate.conformance.cases.Proto3MapKeyIgnoreEmpty + (*Proto3MapKeyIgnoreAlways)(nil), // 25: buf.validate.conformance.cases.Proto3MapKeyIgnoreAlways + (*Proto3MapValueIgnoreUnspecified)(nil), // 26: buf.validate.conformance.cases.Proto3MapValueIgnoreUnspecified + (*Proto3MapValueIgnoreEmpty)(nil), // 27: buf.validate.conformance.cases.Proto3MapValueIgnoreEmpty + (*Proto3MapValueIgnoreAlways)(nil), // 28: buf.validate.conformance.cases.Proto3MapValueIgnoreAlways + (*Proto3MessageOptionalIgnoreUnspecified_Msg)(nil), // 29: buf.validate.conformance.cases.Proto3MessageOptionalIgnoreUnspecified.Msg + (*Proto3MessageOptionalIgnoreEmpty_Msg)(nil), // 30: buf.validate.conformance.cases.Proto3MessageOptionalIgnoreEmpty.Msg + (*Proto3MessageOptionalIgnoreAlways_Msg)(nil), // 31: buf.validate.conformance.cases.Proto3MessageOptionalIgnoreAlways.Msg + (*Proto3MessageIgnoreUnspecified_Msg)(nil), // 32: buf.validate.conformance.cases.Proto3MessageIgnoreUnspecified.Msg + (*Proto3MessageIgnoreEmpty_Msg)(nil), // 33: buf.validate.conformance.cases.Proto3MessageIgnoreEmpty.Msg + nil, // 34: buf.validate.conformance.cases.Proto3MapIgnoreUnspecified.ValEntry + nil, // 35: buf.validate.conformance.cases.Proto3MapIgnoreEmpty.ValEntry + nil, // 36: buf.validate.conformance.cases.Proto3MapIgnoreAlways.ValEntry + nil, // 37: buf.validate.conformance.cases.Proto3MapKeyIgnoreUnspecified.ValEntry + nil, // 38: buf.validate.conformance.cases.Proto3MapKeyIgnoreEmpty.ValEntry + nil, // 39: buf.validate.conformance.cases.Proto3MapKeyIgnoreAlways.ValEntry + nil, // 40: buf.validate.conformance.cases.Proto3MapValueIgnoreUnspecified.ValEntry + nil, // 41: buf.validate.conformance.cases.Proto3MapValueIgnoreEmpty.ValEntry + nil, // 42: buf.validate.conformance.cases.Proto3MapValueIgnoreAlways.ValEntry +} +var file_buf_validate_conformance_cases_ignore_proto3_proto_depIdxs = []int32{ + 29, // 0: buf.validate.conformance.cases.Proto3MessageOptionalIgnoreUnspecified.val:type_name -> buf.validate.conformance.cases.Proto3MessageOptionalIgnoreUnspecified.Msg + 30, // 1: buf.validate.conformance.cases.Proto3MessageOptionalIgnoreEmpty.val:type_name -> buf.validate.conformance.cases.Proto3MessageOptionalIgnoreEmpty.Msg + 31, // 2: buf.validate.conformance.cases.Proto3MessageOptionalIgnoreAlways.val:type_name -> buf.validate.conformance.cases.Proto3MessageOptionalIgnoreAlways.Msg + 32, // 3: buf.validate.conformance.cases.Proto3MessageIgnoreUnspecified.val:type_name -> buf.validate.conformance.cases.Proto3MessageIgnoreUnspecified.Msg + 33, // 4: buf.validate.conformance.cases.Proto3MessageIgnoreEmpty.val:type_name -> buf.validate.conformance.cases.Proto3MessageIgnoreEmpty.Msg + 34, // 5: buf.validate.conformance.cases.Proto3MapIgnoreUnspecified.val:type_name -> buf.validate.conformance.cases.Proto3MapIgnoreUnspecified.ValEntry + 35, // 6: buf.validate.conformance.cases.Proto3MapIgnoreEmpty.val:type_name -> buf.validate.conformance.cases.Proto3MapIgnoreEmpty.ValEntry + 36, // 7: buf.validate.conformance.cases.Proto3MapIgnoreAlways.val:type_name -> buf.validate.conformance.cases.Proto3MapIgnoreAlways.ValEntry + 37, // 8: buf.validate.conformance.cases.Proto3MapKeyIgnoreUnspecified.val:type_name -> buf.validate.conformance.cases.Proto3MapKeyIgnoreUnspecified.ValEntry + 38, // 9: buf.validate.conformance.cases.Proto3MapKeyIgnoreEmpty.val:type_name -> buf.validate.conformance.cases.Proto3MapKeyIgnoreEmpty.ValEntry + 39, // 10: buf.validate.conformance.cases.Proto3MapKeyIgnoreAlways.val:type_name -> buf.validate.conformance.cases.Proto3MapKeyIgnoreAlways.ValEntry + 40, // 11: buf.validate.conformance.cases.Proto3MapValueIgnoreUnspecified.val:type_name -> buf.validate.conformance.cases.Proto3MapValueIgnoreUnspecified.ValEntry + 41, // 12: buf.validate.conformance.cases.Proto3MapValueIgnoreEmpty.val:type_name -> buf.validate.conformance.cases.Proto3MapValueIgnoreEmpty.ValEntry + 42, // 13: buf.validate.conformance.cases.Proto3MapValueIgnoreAlways.val:type_name -> buf.validate.conformance.cases.Proto3MapValueIgnoreAlways.ValEntry + 14, // [14:14] is the sub-list for method output_type + 14, // [14:14] is the sub-list for method input_type + 14, // [14:14] is the sub-list for extension type_name + 14, // [14:14] is the sub-list for extension extendee + 0, // [0:14] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_ignore_proto3_proto_init() } +func file_buf_validate_conformance_cases_ignore_proto3_proto_init() { + if File_buf_validate_conformance_cases_ignore_proto3_proto != nil { + return + } + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[0].OneofWrappers = []any{} + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[1].OneofWrappers = []any{} + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[2].OneofWrappers = []any{} + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[6].OneofWrappers = []any{} + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[7].OneofWrappers = []any{} + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[8].OneofWrappers = []any{} + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[11].OneofWrappers = []any{ + (*Proto3OneofIgnoreUnspecified_Val)(nil), + } + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[12].OneofWrappers = []any{ + (*Proto3OneofIgnoreEmpty_Val)(nil), + } + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[13].OneofWrappers = []any{ + (*Proto3OneofIgnoreAlways_Val)(nil), + } + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[29].OneofWrappers = []any{} + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[30].OneofWrappers = []any{} + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[31].OneofWrappers = []any{} + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[32].OneofWrappers = []any{} + file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes[33].OneofWrappers = []any{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_ignore_proto3_proto_rawDesc), len(file_buf_validate_conformance_cases_ignore_proto3_proto_rawDesc)), + NumEnums: 0, + NumMessages: 43, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_ignore_proto3_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_ignore_proto3_proto_depIdxs, + MessageInfos: file_buf_validate_conformance_cases_ignore_proto3_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_ignore_proto3_proto = out.File + file_buf_validate_conformance_cases_ignore_proto3_proto_goTypes = nil + file_buf_validate_conformance_cases_ignore_proto3_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/ignore_proto_editions.pb.go b/internal/gen/proto/buf/validate/conformance/cases/ignore_proto_editions.pb.go new file mode 100644 index 00000000..315eebd7 --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/ignore_proto_editions.pb.go @@ -0,0 +1,3472 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/ignore_proto_editions.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EditionsScalarExplicitPresenceIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsScalarExplicitPresenceIgnoreUnspecified) Reset() { + *x = EditionsScalarExplicitPresenceIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsScalarExplicitPresenceIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsScalarExplicitPresenceIgnoreUnspecified) ProtoMessage() {} + +func (x *EditionsScalarExplicitPresenceIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsScalarExplicitPresenceIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*EditionsScalarExplicitPresenceIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{0} +} + +func (x *EditionsScalarExplicitPresenceIgnoreUnspecified) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,opt,name=val,def=-42" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +// Default values for EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault fields. +const ( + Default_EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault_Val = int32(-42) +) + +func (x *EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault) Reset() { + *x = EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault) ProtoMessage() {} + +func (x *EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault.ProtoReflect.Descriptor instead. +func (*EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{1} +} + +func (x *EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return Default_EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault_Val +} + +type EditionsScalarExplicitPresenceIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsScalarExplicitPresenceIgnoreEmpty) Reset() { + *x = EditionsScalarExplicitPresenceIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsScalarExplicitPresenceIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsScalarExplicitPresenceIgnoreEmpty) ProtoMessage() {} + +func (x *EditionsScalarExplicitPresenceIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsScalarExplicitPresenceIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*EditionsScalarExplicitPresenceIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{2} +} + +func (x *EditionsScalarExplicitPresenceIgnoreEmpty) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type EditionsScalarExplicitPresenceIgnoreEmptyWithDefault struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,opt,name=val,def=-42" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +// Default values for EditionsScalarExplicitPresenceIgnoreEmptyWithDefault fields. +const ( + Default_EditionsScalarExplicitPresenceIgnoreEmptyWithDefault_Val = int32(-42) +) + +func (x *EditionsScalarExplicitPresenceIgnoreEmptyWithDefault) Reset() { + *x = EditionsScalarExplicitPresenceIgnoreEmptyWithDefault{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsScalarExplicitPresenceIgnoreEmptyWithDefault) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsScalarExplicitPresenceIgnoreEmptyWithDefault) ProtoMessage() {} + +func (x *EditionsScalarExplicitPresenceIgnoreEmptyWithDefault) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsScalarExplicitPresenceIgnoreEmptyWithDefault.ProtoReflect.Descriptor instead. +func (*EditionsScalarExplicitPresenceIgnoreEmptyWithDefault) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{3} +} + +func (x *EditionsScalarExplicitPresenceIgnoreEmptyWithDefault) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return Default_EditionsScalarExplicitPresenceIgnoreEmptyWithDefault_Val +} + +type EditionsScalarExplicitPresenceIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsScalarExplicitPresenceIgnoreAlways) Reset() { + *x = EditionsScalarExplicitPresenceIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsScalarExplicitPresenceIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsScalarExplicitPresenceIgnoreAlways) ProtoMessage() {} + +func (x *EditionsScalarExplicitPresenceIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsScalarExplicitPresenceIgnoreAlways.ProtoReflect.Descriptor instead. +func (*EditionsScalarExplicitPresenceIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{4} +} + +func (x *EditionsScalarExplicitPresenceIgnoreAlways) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type EditionsScalarExplicitPresenceIgnoreAlwaysWithDefault struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,opt,name=val,def=-42" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +// Default values for EditionsScalarExplicitPresenceIgnoreAlwaysWithDefault fields. +const ( + Default_EditionsScalarExplicitPresenceIgnoreAlwaysWithDefault_Val = int32(-42) +) + +func (x *EditionsScalarExplicitPresenceIgnoreAlwaysWithDefault) Reset() { + *x = EditionsScalarExplicitPresenceIgnoreAlwaysWithDefault{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsScalarExplicitPresenceIgnoreAlwaysWithDefault) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsScalarExplicitPresenceIgnoreAlwaysWithDefault) ProtoMessage() {} + +func (x *EditionsScalarExplicitPresenceIgnoreAlwaysWithDefault) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsScalarExplicitPresenceIgnoreAlwaysWithDefault.ProtoReflect.Descriptor instead. +func (*EditionsScalarExplicitPresenceIgnoreAlwaysWithDefault) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{5} +} + +func (x *EditionsScalarExplicitPresenceIgnoreAlwaysWithDefault) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return Default_EditionsScalarExplicitPresenceIgnoreAlwaysWithDefault_Val +} + +type EditionsScalarImplicitPresenceIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsScalarImplicitPresenceIgnoreUnspecified) Reset() { + *x = EditionsScalarImplicitPresenceIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsScalarImplicitPresenceIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsScalarImplicitPresenceIgnoreUnspecified) ProtoMessage() {} + +func (x *EditionsScalarImplicitPresenceIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsScalarImplicitPresenceIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*EditionsScalarImplicitPresenceIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{6} +} + +func (x *EditionsScalarImplicitPresenceIgnoreUnspecified) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type EditionsScalarImplicitPresenceIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsScalarImplicitPresenceIgnoreEmpty) Reset() { + *x = EditionsScalarImplicitPresenceIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsScalarImplicitPresenceIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsScalarImplicitPresenceIgnoreEmpty) ProtoMessage() {} + +func (x *EditionsScalarImplicitPresenceIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsScalarImplicitPresenceIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*EditionsScalarImplicitPresenceIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{7} +} + +func (x *EditionsScalarImplicitPresenceIgnoreEmpty) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type EditionsScalarImplicitPresenceIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsScalarImplicitPresenceIgnoreAlways) Reset() { + *x = EditionsScalarImplicitPresenceIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsScalarImplicitPresenceIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsScalarImplicitPresenceIgnoreAlways) ProtoMessage() {} + +func (x *EditionsScalarImplicitPresenceIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsScalarImplicitPresenceIgnoreAlways.ProtoReflect.Descriptor instead. +func (*EditionsScalarImplicitPresenceIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{8} +} + +func (x *EditionsScalarImplicitPresenceIgnoreAlways) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type EditionsScalarLegacyRequiredIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,req,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsScalarLegacyRequiredIgnoreUnspecified) Reset() { + *x = EditionsScalarLegacyRequiredIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsScalarLegacyRequiredIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsScalarLegacyRequiredIgnoreUnspecified) ProtoMessage() {} + +func (x *EditionsScalarLegacyRequiredIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsScalarLegacyRequiredIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*EditionsScalarLegacyRequiredIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{9} +} + +func (x *EditionsScalarLegacyRequiredIgnoreUnspecified) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,req,name=val,def=-42" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +// Default values for EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault fields. +const ( + Default_EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault_Val = int32(-42) +) + +func (x *EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault) Reset() { + *x = EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault) ProtoMessage() {} + +func (x *EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault.ProtoReflect.Descriptor instead. +func (*EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{10} +} + +func (x *EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return Default_EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault_Val +} + +type EditionsScalarLegacyRequiredIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,req,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsScalarLegacyRequiredIgnoreEmpty) Reset() { + *x = EditionsScalarLegacyRequiredIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsScalarLegacyRequiredIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsScalarLegacyRequiredIgnoreEmpty) ProtoMessage() {} + +func (x *EditionsScalarLegacyRequiredIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsScalarLegacyRequiredIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*EditionsScalarLegacyRequiredIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{11} +} + +func (x *EditionsScalarLegacyRequiredIgnoreEmpty) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type EditionsScalarLegacyRequiredIgnoreEmptyWithDefault struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,req,name=val,def=-42" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +// Default values for EditionsScalarLegacyRequiredIgnoreEmptyWithDefault fields. +const ( + Default_EditionsScalarLegacyRequiredIgnoreEmptyWithDefault_Val = int32(-42) +) + +func (x *EditionsScalarLegacyRequiredIgnoreEmptyWithDefault) Reset() { + *x = EditionsScalarLegacyRequiredIgnoreEmptyWithDefault{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsScalarLegacyRequiredIgnoreEmptyWithDefault) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsScalarLegacyRequiredIgnoreEmptyWithDefault) ProtoMessage() {} + +func (x *EditionsScalarLegacyRequiredIgnoreEmptyWithDefault) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsScalarLegacyRequiredIgnoreEmptyWithDefault.ProtoReflect.Descriptor instead. +func (*EditionsScalarLegacyRequiredIgnoreEmptyWithDefault) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{12} +} + +func (x *EditionsScalarLegacyRequiredIgnoreEmptyWithDefault) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return Default_EditionsScalarLegacyRequiredIgnoreEmptyWithDefault_Val +} + +type EditionsScalarLegacyRequiredIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,req,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsScalarLegacyRequiredIgnoreAlways) Reset() { + *x = EditionsScalarLegacyRequiredIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsScalarLegacyRequiredIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsScalarLegacyRequiredIgnoreAlways) ProtoMessage() {} + +func (x *EditionsScalarLegacyRequiredIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsScalarLegacyRequiredIgnoreAlways.ProtoReflect.Descriptor instead. +func (*EditionsScalarLegacyRequiredIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{13} +} + +func (x *EditionsScalarLegacyRequiredIgnoreAlways) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type EditionsScalarLegacyRequiredIgnoreAlwaysWithDefault struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,req,name=val,def=-42" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +// Default values for EditionsScalarLegacyRequiredIgnoreAlwaysWithDefault fields. +const ( + Default_EditionsScalarLegacyRequiredIgnoreAlwaysWithDefault_Val = int32(-42) +) + +func (x *EditionsScalarLegacyRequiredIgnoreAlwaysWithDefault) Reset() { + *x = EditionsScalarLegacyRequiredIgnoreAlwaysWithDefault{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsScalarLegacyRequiredIgnoreAlwaysWithDefault) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsScalarLegacyRequiredIgnoreAlwaysWithDefault) ProtoMessage() {} + +func (x *EditionsScalarLegacyRequiredIgnoreAlwaysWithDefault) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsScalarLegacyRequiredIgnoreAlwaysWithDefault.ProtoReflect.Descriptor instead. +func (*EditionsScalarLegacyRequiredIgnoreAlwaysWithDefault) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{14} +} + +func (x *EditionsScalarLegacyRequiredIgnoreAlwaysWithDefault) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return Default_EditionsScalarLegacyRequiredIgnoreAlwaysWithDefault_Val +} + +type EditionsMessageExplicitPresenceIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *EditionsMessageExplicitPresenceIgnoreUnspecified_Msg `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMessageExplicitPresenceIgnoreUnspecified) Reset() { + *x = EditionsMessageExplicitPresenceIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMessageExplicitPresenceIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMessageExplicitPresenceIgnoreUnspecified) ProtoMessage() {} + +func (x *EditionsMessageExplicitPresenceIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[15] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMessageExplicitPresenceIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*EditionsMessageExplicitPresenceIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{15} +} + +func (x *EditionsMessageExplicitPresenceIgnoreUnspecified) GetVal() *EditionsMessageExplicitPresenceIgnoreUnspecified_Msg { + if x != nil { + return x.Val + } + return nil +} + +type EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified_Msg `protobuf:"group,1,opt,name=Msg,json=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified) Reset() { + *x = EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified) ProtoMessage() {} + +func (x *EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[16] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{16} +} + +func (x *EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified) GetVal() *EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified_Msg { + if x != nil { + return x.Val + } + return nil +} + +type EditionsMessageExplicitPresenceIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *EditionsMessageExplicitPresenceIgnoreEmpty_Msg `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMessageExplicitPresenceIgnoreEmpty) Reset() { + *x = EditionsMessageExplicitPresenceIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMessageExplicitPresenceIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMessageExplicitPresenceIgnoreEmpty) ProtoMessage() {} + +func (x *EditionsMessageExplicitPresenceIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[17] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMessageExplicitPresenceIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*EditionsMessageExplicitPresenceIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{17} +} + +func (x *EditionsMessageExplicitPresenceIgnoreEmpty) GetVal() *EditionsMessageExplicitPresenceIgnoreEmpty_Msg { + if x != nil { + return x.Val + } + return nil +} + +type EditionsMessageExplicitPresenceDelimitedIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *EditionsMessageExplicitPresenceDelimitedIgnoreEmpty_Msg `protobuf:"group,1,opt,name=Msg,json=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMessageExplicitPresenceDelimitedIgnoreEmpty) Reset() { + *x = EditionsMessageExplicitPresenceDelimitedIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMessageExplicitPresenceDelimitedIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMessageExplicitPresenceDelimitedIgnoreEmpty) ProtoMessage() {} + +func (x *EditionsMessageExplicitPresenceDelimitedIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[18] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMessageExplicitPresenceDelimitedIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*EditionsMessageExplicitPresenceDelimitedIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{18} +} + +func (x *EditionsMessageExplicitPresenceDelimitedIgnoreEmpty) GetVal() *EditionsMessageExplicitPresenceDelimitedIgnoreEmpty_Msg { + if x != nil { + return x.Val + } + return nil +} + +type EditionsMessageExplicitPresenceIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *EditionsMessageExplicitPresenceIgnoreAlways_Msg `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMessageExplicitPresenceIgnoreAlways) Reset() { + *x = EditionsMessageExplicitPresenceIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMessageExplicitPresenceIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMessageExplicitPresenceIgnoreAlways) ProtoMessage() {} + +func (x *EditionsMessageExplicitPresenceIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[19] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMessageExplicitPresenceIgnoreAlways.ProtoReflect.Descriptor instead. +func (*EditionsMessageExplicitPresenceIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{19} +} + +func (x *EditionsMessageExplicitPresenceIgnoreAlways) GetVal() *EditionsMessageExplicitPresenceIgnoreAlways_Msg { + if x != nil { + return x.Val + } + return nil +} + +type EditionsMessageExplicitPresenceDelimitedIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *EditionsMessageExplicitPresenceDelimitedIgnoreAlways_Msg `protobuf:"group,1,opt,name=Msg,json=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMessageExplicitPresenceDelimitedIgnoreAlways) Reset() { + *x = EditionsMessageExplicitPresenceDelimitedIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMessageExplicitPresenceDelimitedIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMessageExplicitPresenceDelimitedIgnoreAlways) ProtoMessage() {} + +func (x *EditionsMessageExplicitPresenceDelimitedIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[20] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMessageExplicitPresenceDelimitedIgnoreAlways.ProtoReflect.Descriptor instead. +func (*EditionsMessageExplicitPresenceDelimitedIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{20} +} + +func (x *EditionsMessageExplicitPresenceDelimitedIgnoreAlways) GetVal() *EditionsMessageExplicitPresenceDelimitedIgnoreAlways_Msg { + if x != nil { + return x.Val + } + return nil +} + +type EditionsMessageLegacyRequiredIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *EditionsMessageLegacyRequiredIgnoreUnspecified_Msg `protobuf:"bytes,1,req,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMessageLegacyRequiredIgnoreUnspecified) Reset() { + *x = EditionsMessageLegacyRequiredIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMessageLegacyRequiredIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMessageLegacyRequiredIgnoreUnspecified) ProtoMessage() {} + +func (x *EditionsMessageLegacyRequiredIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[21] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMessageLegacyRequiredIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*EditionsMessageLegacyRequiredIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{21} +} + +func (x *EditionsMessageLegacyRequiredIgnoreUnspecified) GetVal() *EditionsMessageLegacyRequiredIgnoreUnspecified_Msg { + if x != nil { + return x.Val + } + return nil +} + +type EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified_Msg `protobuf:"group,1,req,name=Msg,json=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified) Reset() { + *x = EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified) ProtoMessage() {} + +func (x *EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[22] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{22} +} + +func (x *EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified) GetVal() *EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified_Msg { + if x != nil { + return x.Val + } + return nil +} + +type EditionsMessageLegacyRequiredIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *EditionsMessageLegacyRequiredIgnoreEmpty_Msg `protobuf:"bytes,1,req,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMessageLegacyRequiredIgnoreEmpty) Reset() { + *x = EditionsMessageLegacyRequiredIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMessageLegacyRequiredIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMessageLegacyRequiredIgnoreEmpty) ProtoMessage() {} + +func (x *EditionsMessageLegacyRequiredIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[23] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMessageLegacyRequiredIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*EditionsMessageLegacyRequiredIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{23} +} + +func (x *EditionsMessageLegacyRequiredIgnoreEmpty) GetVal() *EditionsMessageLegacyRequiredIgnoreEmpty_Msg { + if x != nil { + return x.Val + } + return nil +} + +type EditionsMessageLegacyRequiredDelimitedIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *EditionsMessageLegacyRequiredDelimitedIgnoreEmpty_Msg `protobuf:"group,1,req,name=Msg,json=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMessageLegacyRequiredDelimitedIgnoreEmpty) Reset() { + *x = EditionsMessageLegacyRequiredDelimitedIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMessageLegacyRequiredDelimitedIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMessageLegacyRequiredDelimitedIgnoreEmpty) ProtoMessage() {} + +func (x *EditionsMessageLegacyRequiredDelimitedIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[24] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMessageLegacyRequiredDelimitedIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*EditionsMessageLegacyRequiredDelimitedIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{24} +} + +func (x *EditionsMessageLegacyRequiredDelimitedIgnoreEmpty) GetVal() *EditionsMessageLegacyRequiredDelimitedIgnoreEmpty_Msg { + if x != nil { + return x.Val + } + return nil +} + +type EditionsMessageLegacyRequiredIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *EditionsMessageLegacyRequiredIgnoreAlways_Msg `protobuf:"bytes,1,req,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMessageLegacyRequiredIgnoreAlways) Reset() { + *x = EditionsMessageLegacyRequiredIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMessageLegacyRequiredIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMessageLegacyRequiredIgnoreAlways) ProtoMessage() {} + +func (x *EditionsMessageLegacyRequiredIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[25] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMessageLegacyRequiredIgnoreAlways.ProtoReflect.Descriptor instead. +func (*EditionsMessageLegacyRequiredIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{25} +} + +func (x *EditionsMessageLegacyRequiredIgnoreAlways) GetVal() *EditionsMessageLegacyRequiredIgnoreAlways_Msg { + if x != nil { + return x.Val + } + return nil +} + +type EditionsMessageLegacyRequiredDelimitedIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *EditionsMessageLegacyRequiredDelimitedIgnoreAlways_Msg `protobuf:"group,1,req,name=Msg,json=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMessageLegacyRequiredDelimitedIgnoreAlways) Reset() { + *x = EditionsMessageLegacyRequiredDelimitedIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMessageLegacyRequiredDelimitedIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMessageLegacyRequiredDelimitedIgnoreAlways) ProtoMessage() {} + +func (x *EditionsMessageLegacyRequiredDelimitedIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[26] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMessageLegacyRequiredDelimitedIgnoreAlways.ProtoReflect.Descriptor instead. +func (*EditionsMessageLegacyRequiredDelimitedIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{26} +} + +func (x *EditionsMessageLegacyRequiredDelimitedIgnoreAlways) GetVal() *EditionsMessageLegacyRequiredDelimitedIgnoreAlways_Msg { + if x != nil { + return x.Val + } + return nil +} + +type EditionsOneofIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to O: + // + // *EditionsOneofIgnoreUnspecified_Val + O isEditionsOneofIgnoreUnspecified_O `protobuf_oneof:"o"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsOneofIgnoreUnspecified) Reset() { + *x = EditionsOneofIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsOneofIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsOneofIgnoreUnspecified) ProtoMessage() {} + +func (x *EditionsOneofIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[27] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsOneofIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*EditionsOneofIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{27} +} + +func (x *EditionsOneofIgnoreUnspecified) GetO() isEditionsOneofIgnoreUnspecified_O { + if x != nil { + return x.O + } + return nil +} + +func (x *EditionsOneofIgnoreUnspecified) GetVal() int32 { + if x != nil { + if x, ok := x.O.(*EditionsOneofIgnoreUnspecified_Val); ok { + return x.Val + } + } + return 0 +} + +type isEditionsOneofIgnoreUnspecified_O interface { + isEditionsOneofIgnoreUnspecified_O() +} + +type EditionsOneofIgnoreUnspecified_Val struct { + Val int32 `protobuf:"varint,1,opt,name=val,oneof"` +} + +func (*EditionsOneofIgnoreUnspecified_Val) isEditionsOneofIgnoreUnspecified_O() {} + +type EditionsOneofIgnoreUnspecifiedWithDefault struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to O: + // + // *EditionsOneofIgnoreUnspecifiedWithDefault_Val + O isEditionsOneofIgnoreUnspecifiedWithDefault_O `protobuf_oneof:"o"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +// Default values for EditionsOneofIgnoreUnspecifiedWithDefault fields. +const ( + Default_EditionsOneofIgnoreUnspecifiedWithDefault_Val = int32(-42) +) + +func (x *EditionsOneofIgnoreUnspecifiedWithDefault) Reset() { + *x = EditionsOneofIgnoreUnspecifiedWithDefault{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsOneofIgnoreUnspecifiedWithDefault) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsOneofIgnoreUnspecifiedWithDefault) ProtoMessage() {} + +func (x *EditionsOneofIgnoreUnspecifiedWithDefault) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[28] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsOneofIgnoreUnspecifiedWithDefault.ProtoReflect.Descriptor instead. +func (*EditionsOneofIgnoreUnspecifiedWithDefault) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{28} +} + +func (x *EditionsOneofIgnoreUnspecifiedWithDefault) GetO() isEditionsOneofIgnoreUnspecifiedWithDefault_O { + if x != nil { + return x.O + } + return nil +} + +func (x *EditionsOneofIgnoreUnspecifiedWithDefault) GetVal() int32 { + if x != nil { + if x, ok := x.O.(*EditionsOneofIgnoreUnspecifiedWithDefault_Val); ok { + return x.Val + } + } + return Default_EditionsOneofIgnoreUnspecifiedWithDefault_Val +} + +type isEditionsOneofIgnoreUnspecifiedWithDefault_O interface { + isEditionsOneofIgnoreUnspecifiedWithDefault_O() +} + +type EditionsOneofIgnoreUnspecifiedWithDefault_Val struct { + Val int32 `protobuf:"varint,1,opt,name=val,oneof,def=-42"` +} + +func (*EditionsOneofIgnoreUnspecifiedWithDefault_Val) isEditionsOneofIgnoreUnspecifiedWithDefault_O() { +} + +type EditionsOneofIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to O: + // + // *EditionsOneofIgnoreEmpty_Val + O isEditionsOneofIgnoreEmpty_O `protobuf_oneof:"o"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsOneofIgnoreEmpty) Reset() { + *x = EditionsOneofIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsOneofIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsOneofIgnoreEmpty) ProtoMessage() {} + +func (x *EditionsOneofIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[29] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsOneofIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*EditionsOneofIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{29} +} + +func (x *EditionsOneofIgnoreEmpty) GetO() isEditionsOneofIgnoreEmpty_O { + if x != nil { + return x.O + } + return nil +} + +func (x *EditionsOneofIgnoreEmpty) GetVal() int32 { + if x != nil { + if x, ok := x.O.(*EditionsOneofIgnoreEmpty_Val); ok { + return x.Val + } + } + return 0 +} + +type isEditionsOneofIgnoreEmpty_O interface { + isEditionsOneofIgnoreEmpty_O() +} + +type EditionsOneofIgnoreEmpty_Val struct { + Val int32 `protobuf:"varint,1,opt,name=val,oneof"` +} + +func (*EditionsOneofIgnoreEmpty_Val) isEditionsOneofIgnoreEmpty_O() {} + +type EditionsOneofIgnoreEmptyWithDefault struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to O: + // + // *EditionsOneofIgnoreEmptyWithDefault_Val + O isEditionsOneofIgnoreEmptyWithDefault_O `protobuf_oneof:"o"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +// Default values for EditionsOneofIgnoreEmptyWithDefault fields. +const ( + Default_EditionsOneofIgnoreEmptyWithDefault_Val = int32(-42) +) + +func (x *EditionsOneofIgnoreEmptyWithDefault) Reset() { + *x = EditionsOneofIgnoreEmptyWithDefault{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsOneofIgnoreEmptyWithDefault) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsOneofIgnoreEmptyWithDefault) ProtoMessage() {} + +func (x *EditionsOneofIgnoreEmptyWithDefault) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[30] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsOneofIgnoreEmptyWithDefault.ProtoReflect.Descriptor instead. +func (*EditionsOneofIgnoreEmptyWithDefault) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{30} +} + +func (x *EditionsOneofIgnoreEmptyWithDefault) GetO() isEditionsOneofIgnoreEmptyWithDefault_O { + if x != nil { + return x.O + } + return nil +} + +func (x *EditionsOneofIgnoreEmptyWithDefault) GetVal() int32 { + if x != nil { + if x, ok := x.O.(*EditionsOneofIgnoreEmptyWithDefault_Val); ok { + return x.Val + } + } + return Default_EditionsOneofIgnoreEmptyWithDefault_Val +} + +type isEditionsOneofIgnoreEmptyWithDefault_O interface { + isEditionsOneofIgnoreEmptyWithDefault_O() +} + +type EditionsOneofIgnoreEmptyWithDefault_Val struct { + Val int32 `protobuf:"varint,1,opt,name=val,oneof,def=-42"` +} + +func (*EditionsOneofIgnoreEmptyWithDefault_Val) isEditionsOneofIgnoreEmptyWithDefault_O() {} + +type EditionsOneofIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to O: + // + // *EditionsOneofIgnoreAlways_Val + O isEditionsOneofIgnoreAlways_O `protobuf_oneof:"o"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsOneofIgnoreAlways) Reset() { + *x = EditionsOneofIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsOneofIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsOneofIgnoreAlways) ProtoMessage() {} + +func (x *EditionsOneofIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[31] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsOneofIgnoreAlways.ProtoReflect.Descriptor instead. +func (*EditionsOneofIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{31} +} + +func (x *EditionsOneofIgnoreAlways) GetO() isEditionsOneofIgnoreAlways_O { + if x != nil { + return x.O + } + return nil +} + +func (x *EditionsOneofIgnoreAlways) GetVal() int32 { + if x != nil { + if x, ok := x.O.(*EditionsOneofIgnoreAlways_Val); ok { + return x.Val + } + } + return 0 +} + +type isEditionsOneofIgnoreAlways_O interface { + isEditionsOneofIgnoreAlways_O() +} + +type EditionsOneofIgnoreAlways_Val struct { + Val int32 `protobuf:"varint,1,opt,name=val,oneof"` +} + +func (*EditionsOneofIgnoreAlways_Val) isEditionsOneofIgnoreAlways_O() {} + +type EditionsOneofIgnoreAlwaysWithDefault struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to O: + // + // *EditionsOneofIgnoreAlwaysWithDefault_Val + O isEditionsOneofIgnoreAlwaysWithDefault_O `protobuf_oneof:"o"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +// Default values for EditionsOneofIgnoreAlwaysWithDefault fields. +const ( + Default_EditionsOneofIgnoreAlwaysWithDefault_Val = int32(-42) +) + +func (x *EditionsOneofIgnoreAlwaysWithDefault) Reset() { + *x = EditionsOneofIgnoreAlwaysWithDefault{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsOneofIgnoreAlwaysWithDefault) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsOneofIgnoreAlwaysWithDefault) ProtoMessage() {} + +func (x *EditionsOneofIgnoreAlwaysWithDefault) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[32] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsOneofIgnoreAlwaysWithDefault.ProtoReflect.Descriptor instead. +func (*EditionsOneofIgnoreAlwaysWithDefault) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{32} +} + +func (x *EditionsOneofIgnoreAlwaysWithDefault) GetO() isEditionsOneofIgnoreAlwaysWithDefault_O { + if x != nil { + return x.O + } + return nil +} + +func (x *EditionsOneofIgnoreAlwaysWithDefault) GetVal() int32 { + if x != nil { + if x, ok := x.O.(*EditionsOneofIgnoreAlwaysWithDefault_Val); ok { + return x.Val + } + } + return Default_EditionsOneofIgnoreAlwaysWithDefault_Val +} + +type isEditionsOneofIgnoreAlwaysWithDefault_O interface { + isEditionsOneofIgnoreAlwaysWithDefault_O() +} + +type EditionsOneofIgnoreAlwaysWithDefault_Val struct { + Val int32 `protobuf:"varint,1,opt,name=val,oneof,def=-42"` +} + +func (*EditionsOneofIgnoreAlwaysWithDefault_Val) isEditionsOneofIgnoreAlwaysWithDefault_O() {} + +type EditionsRepeatedIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,packed,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsRepeatedIgnoreUnspecified) Reset() { + *x = EditionsRepeatedIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsRepeatedIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsRepeatedIgnoreUnspecified) ProtoMessage() {} + +func (x *EditionsRepeatedIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[33] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsRepeatedIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*EditionsRepeatedIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{33} +} + +func (x *EditionsRepeatedIgnoreUnspecified) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type EditionsRepeatedExpandedIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsRepeatedExpandedIgnoreUnspecified) Reset() { + *x = EditionsRepeatedExpandedIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsRepeatedExpandedIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsRepeatedExpandedIgnoreUnspecified) ProtoMessage() {} + +func (x *EditionsRepeatedExpandedIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[34] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsRepeatedExpandedIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*EditionsRepeatedExpandedIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{34} +} + +func (x *EditionsRepeatedExpandedIgnoreUnspecified) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type EditionsRepeatedIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,packed,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsRepeatedIgnoreEmpty) Reset() { + *x = EditionsRepeatedIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsRepeatedIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsRepeatedIgnoreEmpty) ProtoMessage() {} + +func (x *EditionsRepeatedIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[35] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsRepeatedIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*EditionsRepeatedIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{35} +} + +func (x *EditionsRepeatedIgnoreEmpty) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type EditionsRepeatedExpandedIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsRepeatedExpandedIgnoreEmpty) Reset() { + *x = EditionsRepeatedExpandedIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsRepeatedExpandedIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsRepeatedExpandedIgnoreEmpty) ProtoMessage() {} + +func (x *EditionsRepeatedExpandedIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[36] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsRepeatedExpandedIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*EditionsRepeatedExpandedIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{36} +} + +func (x *EditionsRepeatedExpandedIgnoreEmpty) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type EditionsRepeatedIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,packed,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsRepeatedIgnoreAlways) Reset() { + *x = EditionsRepeatedIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsRepeatedIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsRepeatedIgnoreAlways) ProtoMessage() {} + +func (x *EditionsRepeatedIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[37] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsRepeatedIgnoreAlways.ProtoReflect.Descriptor instead. +func (*EditionsRepeatedIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{37} +} + +func (x *EditionsRepeatedIgnoreAlways) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type EditionsRepeatedExpandedIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsRepeatedExpandedIgnoreAlways) Reset() { + *x = EditionsRepeatedExpandedIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsRepeatedExpandedIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsRepeatedExpandedIgnoreAlways) ProtoMessage() {} + +func (x *EditionsRepeatedExpandedIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[38] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsRepeatedExpandedIgnoreAlways.ProtoReflect.Descriptor instead. +func (*EditionsRepeatedExpandedIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{38} +} + +func (x *EditionsRepeatedExpandedIgnoreAlways) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type EditionsMapIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMapIgnoreUnspecified) Reset() { + *x = EditionsMapIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMapIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMapIgnoreUnspecified) ProtoMessage() {} + +func (x *EditionsMapIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[39] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMapIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*EditionsMapIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{39} +} + +func (x *EditionsMapIgnoreUnspecified) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type EditionsMapIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMapIgnoreEmpty) Reset() { + *x = EditionsMapIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMapIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMapIgnoreEmpty) ProtoMessage() {} + +func (x *EditionsMapIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[40] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMapIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*EditionsMapIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{40} +} + +func (x *EditionsMapIgnoreEmpty) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type EditionsMapIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMapIgnoreAlways) Reset() { + *x = EditionsMapIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMapIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMapIgnoreAlways) ProtoMessage() {} + +func (x *EditionsMapIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[41] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMapIgnoreAlways.ProtoReflect.Descriptor instead. +func (*EditionsMapIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{41} +} + +func (x *EditionsMapIgnoreAlways) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type EditionsRepeatedItemIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,packed,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsRepeatedItemIgnoreUnspecified) Reset() { + *x = EditionsRepeatedItemIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsRepeatedItemIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsRepeatedItemIgnoreUnspecified) ProtoMessage() {} + +func (x *EditionsRepeatedItemIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[42] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsRepeatedItemIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*EditionsRepeatedItemIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{42} +} + +func (x *EditionsRepeatedItemIgnoreUnspecified) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type EditionsRepeatedExpandedItemIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsRepeatedExpandedItemIgnoreUnspecified) Reset() { + *x = EditionsRepeatedExpandedItemIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsRepeatedExpandedItemIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsRepeatedExpandedItemIgnoreUnspecified) ProtoMessage() {} + +func (x *EditionsRepeatedExpandedItemIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[43] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsRepeatedExpandedItemIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*EditionsRepeatedExpandedItemIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{43} +} + +func (x *EditionsRepeatedExpandedItemIgnoreUnspecified) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type EditionsRepeatedItemIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,packed,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsRepeatedItemIgnoreEmpty) Reset() { + *x = EditionsRepeatedItemIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsRepeatedItemIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsRepeatedItemIgnoreEmpty) ProtoMessage() {} + +func (x *EditionsRepeatedItemIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[44] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsRepeatedItemIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*EditionsRepeatedItemIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{44} +} + +func (x *EditionsRepeatedItemIgnoreEmpty) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type EditionsRepeatedExpandedItemIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsRepeatedExpandedItemIgnoreEmpty) Reset() { + *x = EditionsRepeatedExpandedItemIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsRepeatedExpandedItemIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsRepeatedExpandedItemIgnoreEmpty) ProtoMessage() {} + +func (x *EditionsRepeatedExpandedItemIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[45] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsRepeatedExpandedItemIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*EditionsRepeatedExpandedItemIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{45} +} + +func (x *EditionsRepeatedExpandedItemIgnoreEmpty) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type EditionsRepeatedItemIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,packed,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsRepeatedItemIgnoreAlways) Reset() { + *x = EditionsRepeatedItemIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsRepeatedItemIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsRepeatedItemIgnoreAlways) ProtoMessage() {} + +func (x *EditionsRepeatedItemIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[46] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsRepeatedItemIgnoreAlways.ProtoReflect.Descriptor instead. +func (*EditionsRepeatedItemIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{46} +} + +func (x *EditionsRepeatedItemIgnoreAlways) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type EditionsRepeatedExpandedItemIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsRepeatedExpandedItemIgnoreAlways) Reset() { + *x = EditionsRepeatedExpandedItemIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsRepeatedExpandedItemIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsRepeatedExpandedItemIgnoreAlways) ProtoMessage() {} + +func (x *EditionsRepeatedExpandedItemIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[47] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsRepeatedExpandedItemIgnoreAlways.ProtoReflect.Descriptor instead. +func (*EditionsRepeatedExpandedItemIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{47} +} + +func (x *EditionsRepeatedExpandedItemIgnoreAlways) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type EditionsMapKeyIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMapKeyIgnoreUnspecified) Reset() { + *x = EditionsMapKeyIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMapKeyIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMapKeyIgnoreUnspecified) ProtoMessage() {} + +func (x *EditionsMapKeyIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[48] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMapKeyIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*EditionsMapKeyIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{48} +} + +func (x *EditionsMapKeyIgnoreUnspecified) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type EditionsMapKeyIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMapKeyIgnoreEmpty) Reset() { + *x = EditionsMapKeyIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMapKeyIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMapKeyIgnoreEmpty) ProtoMessage() {} + +func (x *EditionsMapKeyIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[49] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMapKeyIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*EditionsMapKeyIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{49} +} + +func (x *EditionsMapKeyIgnoreEmpty) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type EditionsMapKeyIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMapKeyIgnoreAlways) Reset() { + *x = EditionsMapKeyIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMapKeyIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMapKeyIgnoreAlways) ProtoMessage() {} + +func (x *EditionsMapKeyIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[50] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMapKeyIgnoreAlways.ProtoReflect.Descriptor instead. +func (*EditionsMapKeyIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{50} +} + +func (x *EditionsMapKeyIgnoreAlways) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type EditionsMapValueIgnoreUnspecified struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMapValueIgnoreUnspecified) Reset() { + *x = EditionsMapValueIgnoreUnspecified{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMapValueIgnoreUnspecified) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMapValueIgnoreUnspecified) ProtoMessage() {} + +func (x *EditionsMapValueIgnoreUnspecified) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[51] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMapValueIgnoreUnspecified.ProtoReflect.Descriptor instead. +func (*EditionsMapValueIgnoreUnspecified) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{51} +} + +func (x *EditionsMapValueIgnoreUnspecified) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type EditionsMapValueIgnoreEmpty struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMapValueIgnoreEmpty) Reset() { + *x = EditionsMapValueIgnoreEmpty{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMapValueIgnoreEmpty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMapValueIgnoreEmpty) ProtoMessage() {} + +func (x *EditionsMapValueIgnoreEmpty) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[52] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMapValueIgnoreEmpty.ProtoReflect.Descriptor instead. +func (*EditionsMapValueIgnoreEmpty) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{52} +} + +func (x *EditionsMapValueIgnoreEmpty) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type EditionsMapValueIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]int32 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMapValueIgnoreAlways) Reset() { + *x = EditionsMapValueIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMapValueIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMapValueIgnoreAlways) ProtoMessage() {} + +func (x *EditionsMapValueIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[53] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMapValueIgnoreAlways.ProtoReflect.Descriptor instead. +func (*EditionsMapValueIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{53} +} + +func (x *EditionsMapValueIgnoreAlways) GetVal() map[int32]int32 { + if x != nil { + return x.Val + } + return nil +} + +type EditionsMessageExplicitPresenceIgnoreUnspecified_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMessageExplicitPresenceIgnoreUnspecified_Msg) Reset() { + *x = EditionsMessageExplicitPresenceIgnoreUnspecified_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMessageExplicitPresenceIgnoreUnspecified_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMessageExplicitPresenceIgnoreUnspecified_Msg) ProtoMessage() {} + +func (x *EditionsMessageExplicitPresenceIgnoreUnspecified_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[54] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMessageExplicitPresenceIgnoreUnspecified_Msg.ProtoReflect.Descriptor instead. +func (*EditionsMessageExplicitPresenceIgnoreUnspecified_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{15, 0} +} + +func (x *EditionsMessageExplicitPresenceIgnoreUnspecified_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified_Msg) Reset() { + *x = EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified_Msg) ProtoMessage() {} + +func (x *EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[55] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified_Msg.ProtoReflect.Descriptor instead. +func (*EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{16, 0} +} + +func (x *EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type EditionsMessageExplicitPresenceIgnoreEmpty_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMessageExplicitPresenceIgnoreEmpty_Msg) Reset() { + *x = EditionsMessageExplicitPresenceIgnoreEmpty_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMessageExplicitPresenceIgnoreEmpty_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMessageExplicitPresenceIgnoreEmpty_Msg) ProtoMessage() {} + +func (x *EditionsMessageExplicitPresenceIgnoreEmpty_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[56] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMessageExplicitPresenceIgnoreEmpty_Msg.ProtoReflect.Descriptor instead. +func (*EditionsMessageExplicitPresenceIgnoreEmpty_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{17, 0} +} + +func (x *EditionsMessageExplicitPresenceIgnoreEmpty_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type EditionsMessageExplicitPresenceDelimitedIgnoreEmpty_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMessageExplicitPresenceDelimitedIgnoreEmpty_Msg) Reset() { + *x = EditionsMessageExplicitPresenceDelimitedIgnoreEmpty_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMessageExplicitPresenceDelimitedIgnoreEmpty_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMessageExplicitPresenceDelimitedIgnoreEmpty_Msg) ProtoMessage() {} + +func (x *EditionsMessageExplicitPresenceDelimitedIgnoreEmpty_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[57] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMessageExplicitPresenceDelimitedIgnoreEmpty_Msg.ProtoReflect.Descriptor instead. +func (*EditionsMessageExplicitPresenceDelimitedIgnoreEmpty_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{18, 0} +} + +func (x *EditionsMessageExplicitPresenceDelimitedIgnoreEmpty_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type EditionsMessageExplicitPresenceIgnoreAlways_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMessageExplicitPresenceIgnoreAlways_Msg) Reset() { + *x = EditionsMessageExplicitPresenceIgnoreAlways_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMessageExplicitPresenceIgnoreAlways_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMessageExplicitPresenceIgnoreAlways_Msg) ProtoMessage() {} + +func (x *EditionsMessageExplicitPresenceIgnoreAlways_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[58] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMessageExplicitPresenceIgnoreAlways_Msg.ProtoReflect.Descriptor instead. +func (*EditionsMessageExplicitPresenceIgnoreAlways_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{19, 0} +} + +func (x *EditionsMessageExplicitPresenceIgnoreAlways_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type EditionsMessageExplicitPresenceDelimitedIgnoreAlways_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMessageExplicitPresenceDelimitedIgnoreAlways_Msg) Reset() { + *x = EditionsMessageExplicitPresenceDelimitedIgnoreAlways_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMessageExplicitPresenceDelimitedIgnoreAlways_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMessageExplicitPresenceDelimitedIgnoreAlways_Msg) ProtoMessage() {} + +func (x *EditionsMessageExplicitPresenceDelimitedIgnoreAlways_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[59] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMessageExplicitPresenceDelimitedIgnoreAlways_Msg.ProtoReflect.Descriptor instead. +func (*EditionsMessageExplicitPresenceDelimitedIgnoreAlways_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{20, 0} +} + +func (x *EditionsMessageExplicitPresenceDelimitedIgnoreAlways_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type EditionsMessageLegacyRequiredIgnoreUnspecified_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMessageLegacyRequiredIgnoreUnspecified_Msg) Reset() { + *x = EditionsMessageLegacyRequiredIgnoreUnspecified_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMessageLegacyRequiredIgnoreUnspecified_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMessageLegacyRequiredIgnoreUnspecified_Msg) ProtoMessage() {} + +func (x *EditionsMessageLegacyRequiredIgnoreUnspecified_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[60] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMessageLegacyRequiredIgnoreUnspecified_Msg.ProtoReflect.Descriptor instead. +func (*EditionsMessageLegacyRequiredIgnoreUnspecified_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{21, 0} +} + +func (x *EditionsMessageLegacyRequiredIgnoreUnspecified_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified_Msg) Reset() { + *x = EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified_Msg) ProtoMessage() {} + +func (x *EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[61] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified_Msg.ProtoReflect.Descriptor instead. +func (*EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{22, 0} +} + +func (x *EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type EditionsMessageLegacyRequiredIgnoreEmpty_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMessageLegacyRequiredIgnoreEmpty_Msg) Reset() { + *x = EditionsMessageLegacyRequiredIgnoreEmpty_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMessageLegacyRequiredIgnoreEmpty_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMessageLegacyRequiredIgnoreEmpty_Msg) ProtoMessage() {} + +func (x *EditionsMessageLegacyRequiredIgnoreEmpty_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[62] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMessageLegacyRequiredIgnoreEmpty_Msg.ProtoReflect.Descriptor instead. +func (*EditionsMessageLegacyRequiredIgnoreEmpty_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{23, 0} +} + +func (x *EditionsMessageLegacyRequiredIgnoreEmpty_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type EditionsMessageLegacyRequiredDelimitedIgnoreEmpty_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMessageLegacyRequiredDelimitedIgnoreEmpty_Msg) Reset() { + *x = EditionsMessageLegacyRequiredDelimitedIgnoreEmpty_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMessageLegacyRequiredDelimitedIgnoreEmpty_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMessageLegacyRequiredDelimitedIgnoreEmpty_Msg) ProtoMessage() {} + +func (x *EditionsMessageLegacyRequiredDelimitedIgnoreEmpty_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[63] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMessageLegacyRequiredDelimitedIgnoreEmpty_Msg.ProtoReflect.Descriptor instead. +func (*EditionsMessageLegacyRequiredDelimitedIgnoreEmpty_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{24, 0} +} + +func (x *EditionsMessageLegacyRequiredDelimitedIgnoreEmpty_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type EditionsMessageLegacyRequiredIgnoreAlways_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMessageLegacyRequiredIgnoreAlways_Msg) Reset() { + *x = EditionsMessageLegacyRequiredIgnoreAlways_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMessageLegacyRequiredIgnoreAlways_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMessageLegacyRequiredIgnoreAlways_Msg) ProtoMessage() {} + +func (x *EditionsMessageLegacyRequiredIgnoreAlways_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[64] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMessageLegacyRequiredIgnoreAlways_Msg.ProtoReflect.Descriptor instead. +func (*EditionsMessageLegacyRequiredIgnoreAlways_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{25, 0} +} + +func (x *EditionsMessageLegacyRequiredIgnoreAlways_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type EditionsMessageLegacyRequiredDelimitedIgnoreAlways_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *EditionsMessageLegacyRequiredDelimitedIgnoreAlways_Msg) Reset() { + *x = EditionsMessageLegacyRequiredDelimitedIgnoreAlways_Msg{} + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EditionsMessageLegacyRequiredDelimitedIgnoreAlways_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EditionsMessageLegacyRequiredDelimitedIgnoreAlways_Msg) ProtoMessage() {} + +func (x *EditionsMessageLegacyRequiredDelimitedIgnoreAlways_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[65] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EditionsMessageLegacyRequiredDelimitedIgnoreAlways_Msg.ProtoReflect.Descriptor instead. +func (*EditionsMessageLegacyRequiredDelimitedIgnoreAlways_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP(), []int{26, 0} +} + +func (x *EditionsMessageLegacyRequiredDelimitedIgnoreAlways_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +var File_buf_validate_conformance_cases_ignore_proto_editions_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDesc = "" + + "\n" + + ":buf/validate/conformance/cases/ignore_proto_editions.proto\x12\x1ebuf.validate.conformance.cases\x1a\x1bbuf/validate/validate.proto\"L\n" + + "/EditionsScalarExplicitPresenceIgnoreUnspecified\x12\x19\n" + + "\x03val\x18\x01 \x01(\x05B\a\xbaH\x04\x1a\x02 \x00R\x03val\"\\\n" + + ":EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault\x12\x1e\n" + + "\x03val\x18\x01 \x01(\x05:\x03-42B\a\xbaH\x04\x1a\x02 \x00R\x03val\"I\n" + + ")EditionsScalarExplicitPresenceIgnoreEmpty\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x05B\n" + + "\xbaH\a\xd8\x01\x01\x1a\x02 \x00R\x03val\"Y\n" + + "4EditionsScalarExplicitPresenceIgnoreEmptyWithDefault\x12!\n" + + "\x03val\x18\x01 \x01(\x05:\x03-42B\n" + + "\xbaH\a\xd8\x01\x01\x1a\x02 \x00R\x03val\"J\n" + + "*EditionsScalarExplicitPresenceIgnoreAlways\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x05B\n" + + "\xbaH\a\xd8\x01\x03\x1a\x02 \x00R\x03val\"Z\n" + + "5EditionsScalarExplicitPresenceIgnoreAlwaysWithDefault\x12!\n" + + "\x03val\x18\x01 \x01(\x05:\x03-42B\n" + + "\xbaH\a\xd8\x01\x03\x1a\x02 \x00R\x03val\"Q\n" + + "/EditionsScalarImplicitPresenceIgnoreUnspecified\x12\x1e\n" + + "\x03val\x18\x01 \x01(\x05B\f\xbaH\x04\x1a\x02 \x00\xaa\x01\x02\b\x02R\x03val\"N\n" + + ")EditionsScalarImplicitPresenceIgnoreEmpty\x12!\n" + + "\x03val\x18\x01 \x01(\x05B\x0f\xbaH\a\xd8\x01\x01\x1a\x02 \x00\xaa\x01\x02\b\x02R\x03val\"O\n" + + "*EditionsScalarImplicitPresenceIgnoreAlways\x12!\n" + + "\x03val\x18\x01 \x01(\x05B\x0f\xbaH\a\xd8\x01\x03\x1a\x02 \x00\xaa\x01\x02\b\x02R\x03val\"O\n" + + "-EditionsScalarLegacyRequiredIgnoreUnspecified\x12\x1e\n" + + "\x03val\x18\x01 \x01(\x05B\f\xbaH\x04\x1a\x02 \x00\xaa\x01\x02\b\x03R\x03val\"_\n" + + "8EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault\x12#\n" + + "\x03val\x18\x01 \x01(\x05:\x03-42B\f\xbaH\x04\x1a\x02 \x00\xaa\x01\x02\b\x03R\x03val\"L\n" + + "'EditionsScalarLegacyRequiredIgnoreEmpty\x12!\n" + + "\x03val\x18\x01 \x01(\x05B\x0f\xbaH\a\xd8\x01\x01\x1a\x02 \x00\xaa\x01\x02\b\x03R\x03val\"\\\n" + + "2EditionsScalarLegacyRequiredIgnoreEmptyWithDefault\x12&\n" + + "\x03val\x18\x01 \x01(\x05:\x03-42B\x0f\xbaH\a\xd8\x01\x01\x1a\x02 \x00\xaa\x01\x02\b\x03R\x03val\"M\n" + + "(EditionsScalarLegacyRequiredIgnoreAlways\x12!\n" + + "\x03val\x18\x01 \x01(\x05B\x0f\xbaH\a\xd8\x01\x03\x1a\x02 \x00\xaa\x01\x02\b\x03R\x03val\"]\n" + + "3EditionsScalarLegacyRequiredIgnoreAlwaysWithDefault\x12&\n" + + "\x03val\x18\x01 \x01(\x05:\x03-42B\x0f\xbaH\a\xd8\x01\x03\x1a\x02 \x00\xaa\x01\x02\b\x03R\x03val\"\xfc\x01\n" + + "0EditionsMessageExplicitPresenceIgnoreUnspecified\x12\xae\x01\n" + + "\x03val\x18\x01 \x01(\v2T.buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreUnspecified.MsgBF\xbaHC\xba\x01@\n" + + "#proto.editions.message.ignore.empty\x12\x06foobar\x1a\x11this.val == 'foo'R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"\x93\x02\n" + + "9EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified\x12\xbc\x01\n" + + "\x03val\x18\x01 \x01(\v2].buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified.MsgBK\xbaHC\xba\x01@\n" + + "#proto.editions.message.ignore.empty\x12\x06foobar\x1a\x11this.val == 'foo'\xaa\x01\x02(\x02R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"\xf3\x01\n" + + "*EditionsMessageExplicitPresenceIgnoreEmpty\x12\xab\x01\n" + + "\x03val\x18\x01 \x01(\v2N.buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreEmpty.MsgBI\xbaHF\xba\x01@\n" + + "#proto.editions.message.ignore.empty\x12\x06foobar\x1a\x11this.val == 'foo'\xd8\x01\x01R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"\x8a\x02\n" + + "3EditionsMessageExplicitPresenceDelimitedIgnoreEmpty\x12\xb9\x01\n" + + "\x03val\x18\x01 \x01(\v2W.buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreEmpty.MsgBN\xbaHF\xba\x01@\n" + + "#proto.editions.message.ignore.empty\x12\x06foobar\x1a\x11this.val == 'foo'\xd8\x01\x01\xaa\x01\x02(\x02R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"\xf6\x01\n" + + "+EditionsMessageExplicitPresenceIgnoreAlways\x12\xad\x01\n" + + "\x03val\x18\x01 \x01(\v2O.buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreAlways.MsgBJ\xbaHG\xba\x01A\n" + + "$proto.editions.message.ignore.always\x12\x06foobar\x1a\x11this.val == 'foo'\xd8\x01\x03R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"\x8d\x02\n" + + "4EditionsMessageExplicitPresenceDelimitedIgnoreAlways\x12\xbb\x01\n" + + "\x03val\x18\x01 \x01(\v2X.buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreAlways.MsgBO\xbaHG\xba\x01A\n" + + "$proto.editions.message.ignore.always\x12\x06foobar\x1a\x11this.val == 'foo'\xd8\x01\x03\xaa\x01\x02(\x02R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"\xfd\x01\n" + + ".EditionsMessageLegacyRequiredIgnoreUnspecified\x12\xb1\x01\n" + + "\x03val\x18\x01 \x01(\v2R.buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreUnspecified.MsgBK\xbaHC\xba\x01@\n" + + "#proto.editions.message.ignore.empty\x12\x06foobar\x1a\x11this.val == 'foo'\xaa\x01\x02\b\x03R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"\x91\x02\n" + + "7EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified\x12\xbc\x01\n" + + "\x03val\x18\x01 \x01(\v2[.buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified.MsgBM\xbaHC\xba\x01@\n" + + "#proto.editions.message.ignore.empty\x12\x06foobar\x1a\x11this.val == 'foo'\xaa\x01\x04\b\x03(\x02R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"\xf4\x01\n" + + "(EditionsMessageLegacyRequiredIgnoreEmpty\x12\xae\x01\n" + + "\x03val\x18\x01 \x01(\v2L.buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreEmpty.MsgBN\xbaHF\xba\x01@\n" + + "#proto.editions.message.ignore.empty\x12\x06foobar\x1a\x11this.val == 'foo'\xd8\x01\x01\xaa\x01\x02\b\x03R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"\x88\x02\n" + + "1EditionsMessageLegacyRequiredDelimitedIgnoreEmpty\x12\xb9\x01\n" + + "\x03val\x18\x01 \x01(\v2U.buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreEmpty.MsgBP\xbaHF\xba\x01@\n" + + "#proto.editions.message.ignore.empty\x12\x06foobar\x1a\x11this.val == 'foo'\xd8\x01\x01\xaa\x01\x04\b\x03(\x02R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"\xf6\x01\n" + + ")EditionsMessageLegacyRequiredIgnoreAlways\x12\xaf\x01\n" + + "\x03val\x18\x01 \x01(\v2M.buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreAlways.MsgBN\xbaHF\xba\x01@\n" + + "#proto.editions.message.ignore.empty\x12\x06foobar\x1a\x11this.val == 'foo'\xd8\x01\x03\xaa\x01\x02\b\x03R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"\x8a\x02\n" + + "2EditionsMessageLegacyRequiredDelimitedIgnoreAlways\x12\xba\x01\n" + + "\x03val\x18\x01 \x01(\v2V.buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreAlways.MsgBP\xbaHF\xba\x01@\n" + + "#proto.editions.message.ignore.empty\x12\x06foobar\x1a\x11this.val == 'foo'\xd8\x01\x03\xaa\x01\x04\b\x03(\x02R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"B\n" + + "\x1eEditionsOneofIgnoreUnspecified\x12\x1b\n" + + "\x03val\x18\x01 \x01(\x05B\a\xbaH\x04\x1a\x02 \x00H\x00R\x03valB\x03\n" + + "\x01o\"R\n" + + ")EditionsOneofIgnoreUnspecifiedWithDefault\x12 \n" + + "\x03val\x18\x01 \x01(\x05:\x03-42B\a\xbaH\x04\x1a\x02 \x00H\x00R\x03valB\x03\n" + + "\x01o\"?\n" + + "\x18EditionsOneofIgnoreEmpty\x12\x1e\n" + + "\x03val\x18\x01 \x01(\x05B\n" + + "\xbaH\a\xd8\x01\x01\x1a\x02 \x00H\x00R\x03valB\x03\n" + + "\x01o\"O\n" + + "#EditionsOneofIgnoreEmptyWithDefault\x12#\n" + + "\x03val\x18\x01 \x01(\x05:\x03-42B\n" + + "\xbaH\a\xd8\x01\x01\x1a\x02 \x00H\x00R\x03valB\x03\n" + + "\x01o\"@\n" + + "\x19EditionsOneofIgnoreAlways\x12\x1e\n" + + "\x03val\x18\x01 \x01(\x05B\n" + + "\xbaH\a\xd8\x01\x03\x1a\x02 \x00H\x00R\x03valB\x03\n" + + "\x01o\"P\n" + + "$EditionsOneofIgnoreAlwaysWithDefault\x12#\n" + + "\x03val\x18\x01 \x01(\x05:\x03-42B\n" + + "\xbaH\a\xd8\x01\x03\x1a\x02 \x00H\x00R\x03valB\x03\n" + + "\x01o\"?\n" + + "!EditionsRepeatedIgnoreUnspecified\x12\x1a\n" + + "\x03val\x18\x01 \x03(\x05B\b\xbaH\x05\x92\x01\x02\b\x03R\x03val\"L\n" + + ")EditionsRepeatedExpandedIgnoreUnspecified\x12\x1f\n" + + "\x03val\x18\x01 \x03(\x05B\r\xbaH\x05\x92\x01\x02\b\x03\xaa\x01\x02\x18\x02R\x03val\"<\n" + + "\x1bEditionsRepeatedIgnoreEmpty\x12\x1d\n" + + "\x03val\x18\x01 \x03(\x05B\v\xbaH\b\xd8\x01\x01\x92\x01\x02\b\x03R\x03val\"I\n" + + "#EditionsRepeatedExpandedIgnoreEmpty\x12\"\n" + + "\x03val\x18\x01 \x03(\x05B\x10\xbaH\b\xd8\x01\x01\x92\x01\x02\b\x03\xaa\x01\x02\x18\x02R\x03val\"=\n" + + "\x1cEditionsRepeatedIgnoreAlways\x12\x1d\n" + + "\x03val\x18\x01 \x03(\x05B\v\xbaH\b\xd8\x01\x03\x92\x01\x02\b\x03R\x03val\"J\n" + + "$EditionsRepeatedExpandedIgnoreAlways\x12\"\n" + + "\x03val\x18\x01 \x03(\x05B\x10\xbaH\b\xd8\x01\x03\x92\x01\x02\b\x03\xaa\x01\x02\x18\x02R\x03val\"\xb9\x01\n" + + "\x1cEditionsMapIgnoreUnspecified\x12a\n" + + "\x03val\x18\x01 \x03(\v2E.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified.ValEntryB\b\xbaH\x05\x9a\x01\x02\b\x03R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\xb0\x01\n" + + "\x16EditionsMapIgnoreEmpty\x12^\n" + + "\x03val\x18\x01 \x03(\v2?.buf.validate.conformance.cases.EditionsMapIgnoreEmpty.ValEntryB\v\xbaH\b\xd8\x01\x01\x9a\x01\x02\b\x03R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\xb2\x01\n" + + "\x17EditionsMapIgnoreAlways\x12_\n" + + "\x03val\x18\x01 \x03(\v2@.buf.validate.conformance.cases.EditionsMapIgnoreAlways.ValEntryB\v\xbaH\b\xd8\x01\x03\x9a\x01\x02\b\x03R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"G\n" + + "%EditionsRepeatedItemIgnoreUnspecified\x12\x1e\n" + + "\x03val\x18\x01 \x03(\x05B\f\xbaH\t\x92\x01\x06\"\x04\x1a\x02 \x00R\x03val\"T\n" + + "-EditionsRepeatedExpandedItemIgnoreUnspecified\x12#\n" + + "\x03val\x18\x01 \x03(\x05B\x11\xbaH\t\x92\x01\x06\"\x04\x1a\x02 \x00\xaa\x01\x02\x18\x02R\x03val\"D\n" + + "\x1fEditionsRepeatedItemIgnoreEmpty\x12!\n" + + "\x03val\x18\x01 \x03(\x05B\x0f\xbaH\f\x92\x01\t\"\a\xd8\x01\x01\x1a\x02 \x00R\x03val\"Q\n" + + "'EditionsRepeatedExpandedItemIgnoreEmpty\x12&\n" + + "\x03val\x18\x01 \x03(\x05B\x14\xbaH\f\x92\x01\t\"\a\xd8\x01\x01\x1a\x02 \x00\xaa\x01\x02\x18\x02R\x03val\"E\n" + + " EditionsRepeatedItemIgnoreAlways\x12!\n" + + "\x03val\x18\x01 \x03(\x05B\x0f\xbaH\f\x92\x01\t\"\a\xd8\x01\x03\x1a\x02 \x00R\x03val\"R\n" + + "(EditionsRepeatedExpandedItemIgnoreAlways\x12&\n" + + "\x03val\x18\x01 \x03(\x05B\x14\xbaH\f\x92\x01\t\"\a\xd8\x01\x03\x1a\x02 \x00\xaa\x01\x02\x18\x02R\x03val\"\xc3\x01\n" + + "\x1fEditionsMapKeyIgnoreUnspecified\x12h\n" + + "\x03val\x18\x01 \x03(\v2H.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified.ValEntryB\f\xbaH\t\x9a\x01\x06\"\x04\x1a\x02 \x00R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\xba\x01\n" + + "\x19EditionsMapKeyIgnoreEmpty\x12e\n" + + "\x03val\x18\x01 \x03(\v2B.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty.ValEntryB\x0f\xbaH\f\x9a\x01\t\"\a\xd8\x01\x01\x1a\x02 \x00R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\xbc\x01\n" + + "\x1aEditionsMapKeyIgnoreAlways\x12f\n" + + "\x03val\x18\x01 \x03(\v2C.buf.validate.conformance.cases.EditionsMapKeyIgnoreAlways.ValEntryB\x0f\xbaH\f\x9a\x01\t\"\a\xd8\x01\x03\x1a\x02 \x00R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\xc7\x01\n" + + "!EditionsMapValueIgnoreUnspecified\x12j\n" + + "\x03val\x18\x01 \x03(\v2J.buf.validate.conformance.cases.EditionsMapValueIgnoreUnspecified.ValEntryB\f\xbaH\t\x9a\x01\x06*\x04\x1a\x02 \x00R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\xbe\x01\n" + + "\x1bEditionsMapValueIgnoreEmpty\x12g\n" + + "\x03val\x18\x01 \x03(\v2D.buf.validate.conformance.cases.EditionsMapValueIgnoreEmpty.ValEntryB\x0f\xbaH\f\x9a\x01\t*\a\xd8\x01\x01\x1a\x02 \x00R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\xc0\x01\n" + + "\x1cEditionsMapValueIgnoreAlways\x12h\n" + + "\x03val\x18\x01 \x03(\v2E.buf.validate.conformance.cases.EditionsMapValueIgnoreAlways.ValEntryB\x0f\xbaH\f\x9a\x01\t*\a\xd8\x01\x03\x1a\x02 \x00R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01B\xb5\x02\n" + + "\"com.buf.validate.conformance.casesB\x18IgnoreProtoEditionsProtoP\x01ZYgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Casesb\beditionsp\xe8\a" + +var ( + file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDesc), len(file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDescData +} + +var file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes = make([]protoimpl.MessageInfo, 75) +var file_buf_validate_conformance_cases_ignore_proto_editions_proto_goTypes = []any{ + (*EditionsScalarExplicitPresenceIgnoreUnspecified)(nil), // 0: buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreUnspecified + (*EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault)(nil), // 1: buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault + (*EditionsScalarExplicitPresenceIgnoreEmpty)(nil), // 2: buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreEmpty + (*EditionsScalarExplicitPresenceIgnoreEmptyWithDefault)(nil), // 3: buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreEmptyWithDefault + (*EditionsScalarExplicitPresenceIgnoreAlways)(nil), // 4: buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreAlways + (*EditionsScalarExplicitPresenceIgnoreAlwaysWithDefault)(nil), // 5: buf.validate.conformance.cases.EditionsScalarExplicitPresenceIgnoreAlwaysWithDefault + (*EditionsScalarImplicitPresenceIgnoreUnspecified)(nil), // 6: buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreUnspecified + (*EditionsScalarImplicitPresenceIgnoreEmpty)(nil), // 7: buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreEmpty + (*EditionsScalarImplicitPresenceIgnoreAlways)(nil), // 8: buf.validate.conformance.cases.EditionsScalarImplicitPresenceIgnoreAlways + (*EditionsScalarLegacyRequiredIgnoreUnspecified)(nil), // 9: buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreUnspecified + (*EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault)(nil), // 10: buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault + (*EditionsScalarLegacyRequiredIgnoreEmpty)(nil), // 11: buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreEmpty + (*EditionsScalarLegacyRequiredIgnoreEmptyWithDefault)(nil), // 12: buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreEmptyWithDefault + (*EditionsScalarLegacyRequiredIgnoreAlways)(nil), // 13: buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreAlways + (*EditionsScalarLegacyRequiredIgnoreAlwaysWithDefault)(nil), // 14: buf.validate.conformance.cases.EditionsScalarLegacyRequiredIgnoreAlwaysWithDefault + (*EditionsMessageExplicitPresenceIgnoreUnspecified)(nil), // 15: buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreUnspecified + (*EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified)(nil), // 16: buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified + (*EditionsMessageExplicitPresenceIgnoreEmpty)(nil), // 17: buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreEmpty + (*EditionsMessageExplicitPresenceDelimitedIgnoreEmpty)(nil), // 18: buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreEmpty + (*EditionsMessageExplicitPresenceIgnoreAlways)(nil), // 19: buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreAlways + (*EditionsMessageExplicitPresenceDelimitedIgnoreAlways)(nil), // 20: buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreAlways + (*EditionsMessageLegacyRequiredIgnoreUnspecified)(nil), // 21: buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreUnspecified + (*EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified)(nil), // 22: buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified + (*EditionsMessageLegacyRequiredIgnoreEmpty)(nil), // 23: buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreEmpty + (*EditionsMessageLegacyRequiredDelimitedIgnoreEmpty)(nil), // 24: buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreEmpty + (*EditionsMessageLegacyRequiredIgnoreAlways)(nil), // 25: buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreAlways + (*EditionsMessageLegacyRequiredDelimitedIgnoreAlways)(nil), // 26: buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreAlways + (*EditionsOneofIgnoreUnspecified)(nil), // 27: buf.validate.conformance.cases.EditionsOneofIgnoreUnspecified + (*EditionsOneofIgnoreUnspecifiedWithDefault)(nil), // 28: buf.validate.conformance.cases.EditionsOneofIgnoreUnspecifiedWithDefault + (*EditionsOneofIgnoreEmpty)(nil), // 29: buf.validate.conformance.cases.EditionsOneofIgnoreEmpty + (*EditionsOneofIgnoreEmptyWithDefault)(nil), // 30: buf.validate.conformance.cases.EditionsOneofIgnoreEmptyWithDefault + (*EditionsOneofIgnoreAlways)(nil), // 31: buf.validate.conformance.cases.EditionsOneofIgnoreAlways + (*EditionsOneofIgnoreAlwaysWithDefault)(nil), // 32: buf.validate.conformance.cases.EditionsOneofIgnoreAlwaysWithDefault + (*EditionsRepeatedIgnoreUnspecified)(nil), // 33: buf.validate.conformance.cases.EditionsRepeatedIgnoreUnspecified + (*EditionsRepeatedExpandedIgnoreUnspecified)(nil), // 34: buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreUnspecified + (*EditionsRepeatedIgnoreEmpty)(nil), // 35: buf.validate.conformance.cases.EditionsRepeatedIgnoreEmpty + (*EditionsRepeatedExpandedIgnoreEmpty)(nil), // 36: buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreEmpty + (*EditionsRepeatedIgnoreAlways)(nil), // 37: buf.validate.conformance.cases.EditionsRepeatedIgnoreAlways + (*EditionsRepeatedExpandedIgnoreAlways)(nil), // 38: buf.validate.conformance.cases.EditionsRepeatedExpandedIgnoreAlways + (*EditionsMapIgnoreUnspecified)(nil), // 39: buf.validate.conformance.cases.EditionsMapIgnoreUnspecified + (*EditionsMapIgnoreEmpty)(nil), // 40: buf.validate.conformance.cases.EditionsMapIgnoreEmpty + (*EditionsMapIgnoreAlways)(nil), // 41: buf.validate.conformance.cases.EditionsMapIgnoreAlways + (*EditionsRepeatedItemIgnoreUnspecified)(nil), // 42: buf.validate.conformance.cases.EditionsRepeatedItemIgnoreUnspecified + (*EditionsRepeatedExpandedItemIgnoreUnspecified)(nil), // 43: buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreUnspecified + (*EditionsRepeatedItemIgnoreEmpty)(nil), // 44: buf.validate.conformance.cases.EditionsRepeatedItemIgnoreEmpty + (*EditionsRepeatedExpandedItemIgnoreEmpty)(nil), // 45: buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreEmpty + (*EditionsRepeatedItemIgnoreAlways)(nil), // 46: buf.validate.conformance.cases.EditionsRepeatedItemIgnoreAlways + (*EditionsRepeatedExpandedItemIgnoreAlways)(nil), // 47: buf.validate.conformance.cases.EditionsRepeatedExpandedItemIgnoreAlways + (*EditionsMapKeyIgnoreUnspecified)(nil), // 48: buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified + (*EditionsMapKeyIgnoreEmpty)(nil), // 49: buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty + (*EditionsMapKeyIgnoreAlways)(nil), // 50: buf.validate.conformance.cases.EditionsMapKeyIgnoreAlways + (*EditionsMapValueIgnoreUnspecified)(nil), // 51: buf.validate.conformance.cases.EditionsMapValueIgnoreUnspecified + (*EditionsMapValueIgnoreEmpty)(nil), // 52: buf.validate.conformance.cases.EditionsMapValueIgnoreEmpty + (*EditionsMapValueIgnoreAlways)(nil), // 53: buf.validate.conformance.cases.EditionsMapValueIgnoreAlways + (*EditionsMessageExplicitPresenceIgnoreUnspecified_Msg)(nil), // 54: buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreUnspecified.Msg + (*EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified_Msg)(nil), // 55: buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified.Msg + (*EditionsMessageExplicitPresenceIgnoreEmpty_Msg)(nil), // 56: buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreEmpty.Msg + (*EditionsMessageExplicitPresenceDelimitedIgnoreEmpty_Msg)(nil), // 57: buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreEmpty.Msg + (*EditionsMessageExplicitPresenceIgnoreAlways_Msg)(nil), // 58: buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreAlways.Msg + (*EditionsMessageExplicitPresenceDelimitedIgnoreAlways_Msg)(nil), // 59: buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreAlways.Msg + (*EditionsMessageLegacyRequiredIgnoreUnspecified_Msg)(nil), // 60: buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreUnspecified.Msg + (*EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified_Msg)(nil), // 61: buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified.Msg + (*EditionsMessageLegacyRequiredIgnoreEmpty_Msg)(nil), // 62: buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreEmpty.Msg + (*EditionsMessageLegacyRequiredDelimitedIgnoreEmpty_Msg)(nil), // 63: buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreEmpty.Msg + (*EditionsMessageLegacyRequiredIgnoreAlways_Msg)(nil), // 64: buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreAlways.Msg + (*EditionsMessageLegacyRequiredDelimitedIgnoreAlways_Msg)(nil), // 65: buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreAlways.Msg + nil, // 66: buf.validate.conformance.cases.EditionsMapIgnoreUnspecified.ValEntry + nil, // 67: buf.validate.conformance.cases.EditionsMapIgnoreEmpty.ValEntry + nil, // 68: buf.validate.conformance.cases.EditionsMapIgnoreAlways.ValEntry + nil, // 69: buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified.ValEntry + nil, // 70: buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty.ValEntry + nil, // 71: buf.validate.conformance.cases.EditionsMapKeyIgnoreAlways.ValEntry + nil, // 72: buf.validate.conformance.cases.EditionsMapValueIgnoreUnspecified.ValEntry + nil, // 73: buf.validate.conformance.cases.EditionsMapValueIgnoreEmpty.ValEntry + nil, // 74: buf.validate.conformance.cases.EditionsMapValueIgnoreAlways.ValEntry +} +var file_buf_validate_conformance_cases_ignore_proto_editions_proto_depIdxs = []int32{ + 54, // 0: buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreUnspecified.val:type_name -> buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreUnspecified.Msg + 55, // 1: buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified.val:type_name -> buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified.Msg + 56, // 2: buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreEmpty.val:type_name -> buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreEmpty.Msg + 57, // 3: buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreEmpty.val:type_name -> buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreEmpty.Msg + 58, // 4: buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreAlways.val:type_name -> buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreAlways.Msg + 59, // 5: buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreAlways.val:type_name -> buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreAlways.Msg + 60, // 6: buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreUnspecified.val:type_name -> buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreUnspecified.Msg + 61, // 7: buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified.val:type_name -> buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified.Msg + 62, // 8: buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreEmpty.val:type_name -> buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreEmpty.Msg + 63, // 9: buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreEmpty.val:type_name -> buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreEmpty.Msg + 64, // 10: buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreAlways.val:type_name -> buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreAlways.Msg + 65, // 11: buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreAlways.val:type_name -> buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreAlways.Msg + 66, // 12: buf.validate.conformance.cases.EditionsMapIgnoreUnspecified.val:type_name -> buf.validate.conformance.cases.EditionsMapIgnoreUnspecified.ValEntry + 67, // 13: buf.validate.conformance.cases.EditionsMapIgnoreEmpty.val:type_name -> buf.validate.conformance.cases.EditionsMapIgnoreEmpty.ValEntry + 68, // 14: buf.validate.conformance.cases.EditionsMapIgnoreAlways.val:type_name -> buf.validate.conformance.cases.EditionsMapIgnoreAlways.ValEntry + 69, // 15: buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified.val:type_name -> buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified.ValEntry + 70, // 16: buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty.val:type_name -> buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty.ValEntry + 71, // 17: buf.validate.conformance.cases.EditionsMapKeyIgnoreAlways.val:type_name -> buf.validate.conformance.cases.EditionsMapKeyIgnoreAlways.ValEntry + 72, // 18: buf.validate.conformance.cases.EditionsMapValueIgnoreUnspecified.val:type_name -> buf.validate.conformance.cases.EditionsMapValueIgnoreUnspecified.ValEntry + 73, // 19: buf.validate.conformance.cases.EditionsMapValueIgnoreEmpty.val:type_name -> buf.validate.conformance.cases.EditionsMapValueIgnoreEmpty.ValEntry + 74, // 20: buf.validate.conformance.cases.EditionsMapValueIgnoreAlways.val:type_name -> buf.validate.conformance.cases.EditionsMapValueIgnoreAlways.ValEntry + 21, // [21:21] is the sub-list for method output_type + 21, // [21:21] is the sub-list for method input_type + 21, // [21:21] is the sub-list for extension type_name + 21, // [21:21] is the sub-list for extension extendee + 0, // [0:21] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_ignore_proto_editions_proto_init() } +func file_buf_validate_conformance_cases_ignore_proto_editions_proto_init() { + if File_buf_validate_conformance_cases_ignore_proto_editions_proto != nil { + return + } + file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[27].OneofWrappers = []any{ + (*EditionsOneofIgnoreUnspecified_Val)(nil), + } + file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[28].OneofWrappers = []any{ + (*EditionsOneofIgnoreUnspecifiedWithDefault_Val)(nil), + } + file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[29].OneofWrappers = []any{ + (*EditionsOneofIgnoreEmpty_Val)(nil), + } + file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[30].OneofWrappers = []any{ + (*EditionsOneofIgnoreEmptyWithDefault_Val)(nil), + } + file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[31].OneofWrappers = []any{ + (*EditionsOneofIgnoreAlways_Val)(nil), + } + file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes[32].OneofWrappers = []any{ + (*EditionsOneofIgnoreAlwaysWithDefault_Val)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDesc), len(file_buf_validate_conformance_cases_ignore_proto_editions_proto_rawDesc)), + NumEnums: 0, + NumMessages: 75, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_ignore_proto_editions_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_ignore_proto_editions_proto_depIdxs, + MessageInfos: file_buf_validate_conformance_cases_ignore_proto_editions_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_ignore_proto_editions_proto = out.File + file_buf_validate_conformance_cases_ignore_proto_editions_proto_goTypes = nil + file_buf_validate_conformance_cases_ignore_proto_editions_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/kitchen_sink.pb.go b/internal/gen/proto/buf/validate/conformance/cases/kitchen_sink.pb.go new file mode 100644 index 00000000..0d66a3f8 --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/kitchen_sink.pb.go @@ -0,0 +1,456 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/kitchen_sink.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + anypb "google.golang.org/protobuf/types/known/anypb" + durationpb "google.golang.org/protobuf/types/known/durationpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ComplexTestEnum int32 + +const ( + ComplexTestEnum_COMPLEX_TEST_ENUM_UNSPECIFIED ComplexTestEnum = 0 + ComplexTestEnum_COMPLEX_TEST_ENUM_ONE ComplexTestEnum = 1 + ComplexTestEnum_COMPLEX_TEST_ENUM_TWO ComplexTestEnum = 2 +) + +// Enum value maps for ComplexTestEnum. +var ( + ComplexTestEnum_name = map[int32]string{ + 0: "COMPLEX_TEST_ENUM_UNSPECIFIED", + 1: "COMPLEX_TEST_ENUM_ONE", + 2: "COMPLEX_TEST_ENUM_TWO", + } + ComplexTestEnum_value = map[string]int32{ + "COMPLEX_TEST_ENUM_UNSPECIFIED": 0, + "COMPLEX_TEST_ENUM_ONE": 1, + "COMPLEX_TEST_ENUM_TWO": 2, + } +) + +func (x ComplexTestEnum) Enum() *ComplexTestEnum { + p := new(ComplexTestEnum) + *p = x + return p +} + +func (x ComplexTestEnum) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ComplexTestEnum) Descriptor() protoreflect.EnumDescriptor { + return file_buf_validate_conformance_cases_kitchen_sink_proto_enumTypes[0].Descriptor() +} + +func (ComplexTestEnum) Type() protoreflect.EnumType { + return &file_buf_validate_conformance_cases_kitchen_sink_proto_enumTypes[0] +} + +func (x ComplexTestEnum) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ComplexTestEnum.Descriptor instead. +func (ComplexTestEnum) EnumDescriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_kitchen_sink_proto_rawDescGZIP(), []int{0} +} + +type ComplexTestMsg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Const string `protobuf:"bytes,1,opt,name=const,proto3" json:"const,omitempty"` + Nested *ComplexTestMsg `protobuf:"bytes,2,opt,name=nested,proto3" json:"nested,omitempty"` + IntConst int32 `protobuf:"varint,3,opt,name=int_const,json=intConst,proto3" json:"int_const,omitempty"` + BoolConst bool `protobuf:"varint,4,opt,name=bool_const,json=boolConst,proto3" json:"bool_const,omitempty"` + FloatVal *wrapperspb.FloatValue `protobuf:"bytes,5,opt,name=float_val,json=floatVal,proto3" json:"float_val,omitempty"` + DurVal *durationpb.Duration `protobuf:"bytes,6,opt,name=dur_val,json=durVal,proto3" json:"dur_val,omitempty"` + TsVal *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=ts_val,json=tsVal,proto3" json:"ts_val,omitempty"` + Another *ComplexTestMsg `protobuf:"bytes,8,opt,name=another,proto3" json:"another,omitempty"` + FloatConst float32 `protobuf:"fixed32,9,opt,name=float_const,json=floatConst,proto3" json:"float_const,omitempty"` + DoubleIn float64 `protobuf:"fixed64,10,opt,name=double_in,json=doubleIn,proto3" json:"double_in,omitempty"` + EnumConst ComplexTestEnum `protobuf:"varint,11,opt,name=enum_const,json=enumConst,proto3,enum=buf.validate.conformance.cases.ComplexTestEnum" json:"enum_const,omitempty"` + AnyVal *anypb.Any `protobuf:"bytes,12,opt,name=any_val,json=anyVal,proto3" json:"any_val,omitempty"` + RepTsVal []*timestamppb.Timestamp `protobuf:"bytes,13,rep,name=rep_ts_val,json=repTsVal,proto3" json:"rep_ts_val,omitempty"` + MapVal map[int32]string `protobuf:"bytes,14,rep,name=map_val,json=mapVal,proto3" json:"map_val,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + BytesVal []byte `protobuf:"bytes,15,opt,name=bytes_val,json=bytesVal,proto3" json:"bytes_val,omitempty"` + // Types that are valid to be assigned to O: + // + // *ComplexTestMsg_X + // *ComplexTestMsg_Y + O isComplexTestMsg_O `protobuf_oneof:"o"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ComplexTestMsg) Reset() { + *x = ComplexTestMsg{} + mi := &file_buf_validate_conformance_cases_kitchen_sink_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ComplexTestMsg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ComplexTestMsg) ProtoMessage() {} + +func (x *ComplexTestMsg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_kitchen_sink_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ComplexTestMsg.ProtoReflect.Descriptor instead. +func (*ComplexTestMsg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_kitchen_sink_proto_rawDescGZIP(), []int{0} +} + +func (x *ComplexTestMsg) GetConst() string { + if x != nil { + return x.Const + } + return "" +} + +func (x *ComplexTestMsg) GetNested() *ComplexTestMsg { + if x != nil { + return x.Nested + } + return nil +} + +func (x *ComplexTestMsg) GetIntConst() int32 { + if x != nil { + return x.IntConst + } + return 0 +} + +func (x *ComplexTestMsg) GetBoolConst() bool { + if x != nil { + return x.BoolConst + } + return false +} + +func (x *ComplexTestMsg) GetFloatVal() *wrapperspb.FloatValue { + if x != nil { + return x.FloatVal + } + return nil +} + +func (x *ComplexTestMsg) GetDurVal() *durationpb.Duration { + if x != nil { + return x.DurVal + } + return nil +} + +func (x *ComplexTestMsg) GetTsVal() *timestamppb.Timestamp { + if x != nil { + return x.TsVal + } + return nil +} + +func (x *ComplexTestMsg) GetAnother() *ComplexTestMsg { + if x != nil { + return x.Another + } + return nil +} + +func (x *ComplexTestMsg) GetFloatConst() float32 { + if x != nil { + return x.FloatConst + } + return 0 +} + +func (x *ComplexTestMsg) GetDoubleIn() float64 { + if x != nil { + return x.DoubleIn + } + return 0 +} + +func (x *ComplexTestMsg) GetEnumConst() ComplexTestEnum { + if x != nil { + return x.EnumConst + } + return ComplexTestEnum_COMPLEX_TEST_ENUM_UNSPECIFIED +} + +func (x *ComplexTestMsg) GetAnyVal() *anypb.Any { + if x != nil { + return x.AnyVal + } + return nil +} + +func (x *ComplexTestMsg) GetRepTsVal() []*timestamppb.Timestamp { + if x != nil { + return x.RepTsVal + } + return nil +} + +func (x *ComplexTestMsg) GetMapVal() map[int32]string { + if x != nil { + return x.MapVal + } + return nil +} + +func (x *ComplexTestMsg) GetBytesVal() []byte { + if x != nil { + return x.BytesVal + } + return nil +} + +func (x *ComplexTestMsg) GetO() isComplexTestMsg_O { + if x != nil { + return x.O + } + return nil +} + +func (x *ComplexTestMsg) GetX() string { + if x != nil { + if x, ok := x.O.(*ComplexTestMsg_X); ok { + return x.X + } + } + return "" +} + +func (x *ComplexTestMsg) GetY() int32 { + if x != nil { + if x, ok := x.O.(*ComplexTestMsg_Y); ok { + return x.Y + } + } + return 0 +} + +type isComplexTestMsg_O interface { + isComplexTestMsg_O() +} + +type ComplexTestMsg_X struct { + X string `protobuf:"bytes,16,opt,name=x,proto3,oneof"` +} + +type ComplexTestMsg_Y struct { + Y int32 `protobuf:"varint,17,opt,name=y,proto3,oneof"` +} + +func (*ComplexTestMsg_X) isComplexTestMsg_O() {} + +func (*ComplexTestMsg_Y) isComplexTestMsg_O() {} + +type KitchenSinkMessage struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *ComplexTestMsg `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *KitchenSinkMessage) Reset() { + *x = KitchenSinkMessage{} + mi := &file_buf_validate_conformance_cases_kitchen_sink_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *KitchenSinkMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*KitchenSinkMessage) ProtoMessage() {} + +func (x *KitchenSinkMessage) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_kitchen_sink_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use KitchenSinkMessage.ProtoReflect.Descriptor instead. +func (*KitchenSinkMessage) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_kitchen_sink_proto_rawDescGZIP(), []int{1} +} + +func (x *KitchenSinkMessage) GetVal() *ComplexTestMsg { + if x != nil { + return x.Val + } + return nil +} + +var File_buf_validate_conformance_cases_kitchen_sink_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_kitchen_sink_proto_rawDesc = "" + + "\n" + + "1buf/validate/conformance/cases/kitchen_sink.proto\x12\x1ebuf.validate.conformance.cases\x1a\x1bbuf/validate/validate.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xbc\b\n" + + "\x0eComplexTestMsg\x12!\n" + + "\x05const\x18\x01 \x01(\tB\v\xbaH\br\x06\n" + + "\x04abcdR\x05const\x12F\n" + + "\x06nested\x18\x02 \x01(\v2..buf.validate.conformance.cases.ComplexTestMsgR\x06nested\x12$\n" + + "\tint_const\x18\x03 \x01(\x05B\a\xbaH\x04\x1a\x02\b\x05R\bintConst\x12&\n" + + "\n" + + "bool_const\x18\x04 \x01(\bB\a\xbaH\x04j\x02\b\x00R\tboolConst\x12D\n" + + "\tfloat_val\x18\x05 \x01(\v2\x1b.google.protobuf.FloatValueB\n" + + "\xbaH\a\n" + + "\x05%\x00\x00\x00\x00R\bfloatVal\x12A\n" + + "\adur_val\x18\x06 \x01(\v2\x19.google.protobuf.DurationB\r\xbaH\n" + + "\xc8\x01\x01\xaa\x01\x04\x1a\x02\b\x11R\x06durVal\x12=\n" + + "\x06ts_val\x18\a \x01(\v2\x1a.google.protobuf.TimestampB\n" + + "\xbaH\a\xb2\x01\x04*\x02\b\aR\x05tsVal\x12H\n" + + "\aanother\x18\b \x01(\v2..buf.validate.conformance.cases.ComplexTestMsgR\aanother\x12+\n" + + "\vfloat_const\x18\t \x01(\x02B\n" + + "\xbaH\a\n" + + "\x05\x15\x00\x00\x00AR\n" + + "floatConst\x124\n" + + "\tdouble_in\x18\n" + + " \x01(\x01B\x17\xbaH\x14\x12\x121\xb4\xc8v\xbe\x9f\x8c|@1\x00\x00\x00\x00\x00\xc0^@R\bdoubleIn\x12X\n" + + "\n" + + "enum_const\x18\v \x01(\x0e2/.buf.validate.conformance.cases.ComplexTestEnumB\b\xbaH\x05\x82\x01\x02\b\x02R\tenumConst\x12c\n" + + "\aany_val\x18\f \x01(\v2\x14.google.protobuf.AnyB4\xbaH1\xa2\x01.\x12,type.googleapis.com/google.protobuf.DurationR\x06anyVal\x12K\n" + + "\n" + + "rep_ts_val\x18\r \x03(\v2\x1a.google.protobuf.TimestampB\x11\xbaH\x0e\x92\x01\v\"\t\xb2\x01\x062\x04\x10\xc0\x84=R\brepTsVal\x12a\n" + + "\amap_val\x18\x0e \x03(\v2:.buf.validate.conformance.cases.ComplexTestMsg.MapValEntryB\f\xbaH\t\x9a\x01\x06\"\x04:\x02\x10\x00R\x06mapVal\x12&\n" + + "\tbytes_val\x18\x0f \x01(\fB\t\xbaH\x06z\x04\n" + + "\x02\x00\x99R\bbytesVal\x12\x0e\n" + + "\x01x\x18\x10 \x01(\tH\x00R\x01x\x12\x0e\n" + + "\x01y\x18\x11 \x01(\x05H\x00R\x01y\x1a9\n" + + "\vMapValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x11R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\n" + + "\n" + + "\x01o\x12\x05\xbaH\x02\b\x01\"V\n" + + "\x12KitchenSinkMessage\x12@\n" + + "\x03val\x18\x01 \x01(\v2..buf.validate.conformance.cases.ComplexTestMsgR\x03val*j\n" + + "\x0fComplexTestEnum\x12!\n" + + "\x1dCOMPLEX_TEST_ENUM_UNSPECIFIED\x10\x00\x12\x19\n" + + "\x15COMPLEX_TEST_ENUM_ONE\x10\x01\x12\x19\n" + + "\x15COMPLEX_TEST_ENUM_TWO\x10\x02B\xad\x02\n" + + "\"com.buf.validate.conformance.casesB\x10KitchenSinkProtoP\x01ZYgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Casesb\x06proto3" + +var ( + file_buf_validate_conformance_cases_kitchen_sink_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_kitchen_sink_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_kitchen_sink_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_kitchen_sink_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_kitchen_sink_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_kitchen_sink_proto_rawDesc), len(file_buf_validate_conformance_cases_kitchen_sink_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_kitchen_sink_proto_rawDescData +} + +var file_buf_validate_conformance_cases_kitchen_sink_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_buf_validate_conformance_cases_kitchen_sink_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_buf_validate_conformance_cases_kitchen_sink_proto_goTypes = []any{ + (ComplexTestEnum)(0), // 0: buf.validate.conformance.cases.ComplexTestEnum + (*ComplexTestMsg)(nil), // 1: buf.validate.conformance.cases.ComplexTestMsg + (*KitchenSinkMessage)(nil), // 2: buf.validate.conformance.cases.KitchenSinkMessage + nil, // 3: buf.validate.conformance.cases.ComplexTestMsg.MapValEntry + (*wrapperspb.FloatValue)(nil), // 4: google.protobuf.FloatValue + (*durationpb.Duration)(nil), // 5: google.protobuf.Duration + (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp + (*anypb.Any)(nil), // 7: google.protobuf.Any +} +var file_buf_validate_conformance_cases_kitchen_sink_proto_depIdxs = []int32{ + 1, // 0: buf.validate.conformance.cases.ComplexTestMsg.nested:type_name -> buf.validate.conformance.cases.ComplexTestMsg + 4, // 1: buf.validate.conformance.cases.ComplexTestMsg.float_val:type_name -> google.protobuf.FloatValue + 5, // 2: buf.validate.conformance.cases.ComplexTestMsg.dur_val:type_name -> google.protobuf.Duration + 6, // 3: buf.validate.conformance.cases.ComplexTestMsg.ts_val:type_name -> google.protobuf.Timestamp + 1, // 4: buf.validate.conformance.cases.ComplexTestMsg.another:type_name -> buf.validate.conformance.cases.ComplexTestMsg + 0, // 5: buf.validate.conformance.cases.ComplexTestMsg.enum_const:type_name -> buf.validate.conformance.cases.ComplexTestEnum + 7, // 6: buf.validate.conformance.cases.ComplexTestMsg.any_val:type_name -> google.protobuf.Any + 6, // 7: buf.validate.conformance.cases.ComplexTestMsg.rep_ts_val:type_name -> google.protobuf.Timestamp + 3, // 8: buf.validate.conformance.cases.ComplexTestMsg.map_val:type_name -> buf.validate.conformance.cases.ComplexTestMsg.MapValEntry + 1, // 9: buf.validate.conformance.cases.KitchenSinkMessage.val:type_name -> buf.validate.conformance.cases.ComplexTestMsg + 10, // [10:10] is the sub-list for method output_type + 10, // [10:10] is the sub-list for method input_type + 10, // [10:10] is the sub-list for extension type_name + 10, // [10:10] is the sub-list for extension extendee + 0, // [0:10] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_kitchen_sink_proto_init() } +func file_buf_validate_conformance_cases_kitchen_sink_proto_init() { + if File_buf_validate_conformance_cases_kitchen_sink_proto != nil { + return + } + file_buf_validate_conformance_cases_kitchen_sink_proto_msgTypes[0].OneofWrappers = []any{ + (*ComplexTestMsg_X)(nil), + (*ComplexTestMsg_Y)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_kitchen_sink_proto_rawDesc), len(file_buf_validate_conformance_cases_kitchen_sink_proto_rawDesc)), + NumEnums: 1, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_kitchen_sink_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_kitchen_sink_proto_depIdxs, + EnumInfos: file_buf_validate_conformance_cases_kitchen_sink_proto_enumTypes, + MessageInfos: file_buf_validate_conformance_cases_kitchen_sink_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_kitchen_sink_proto = out.File + file_buf_validate_conformance_cases_kitchen_sink_proto_goTypes = nil + file_buf_validate_conformance_cases_kitchen_sink_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/library.pb.go b/internal/gen/proto/buf/validate/conformance/cases/library.pb.go new file mode 100644 index 00000000..d8f64e82 --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/library.pb.go @@ -0,0 +1,472 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/library.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type IsHostname struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IsHostname) Reset() { + *x = IsHostname{} + mi := &file_buf_validate_conformance_cases_library_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IsHostname) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsHostname) ProtoMessage() {} + +func (x *IsHostname) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_library_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IsHostname.ProtoReflect.Descriptor instead. +func (*IsHostname) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_library_proto_rawDescGZIP(), []int{0} +} + +func (x *IsHostname) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type IsHostAndPort struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + PortRequired bool `protobuf:"varint,2,opt,name=port_required,json=portRequired,proto3" json:"port_required,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IsHostAndPort) Reset() { + *x = IsHostAndPort{} + mi := &file_buf_validate_conformance_cases_library_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IsHostAndPort) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsHostAndPort) ProtoMessage() {} + +func (x *IsHostAndPort) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_library_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IsHostAndPort.ProtoReflect.Descriptor instead. +func (*IsHostAndPort) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_library_proto_rawDescGZIP(), []int{1} +} + +func (x *IsHostAndPort) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +func (x *IsHostAndPort) GetPortRequired() bool { + if x != nil { + return x.PortRequired + } + return false +} + +type IsIpPrefix struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + Version *int32 `protobuf:"varint,2,opt,name=version,proto3,oneof" json:"version,omitempty"` + Strict *bool `protobuf:"varint,3,opt,name=strict,proto3,oneof" json:"strict,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IsIpPrefix) Reset() { + *x = IsIpPrefix{} + mi := &file_buf_validate_conformance_cases_library_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IsIpPrefix) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsIpPrefix) ProtoMessage() {} + +func (x *IsIpPrefix) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_library_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IsIpPrefix.ProtoReflect.Descriptor instead. +func (*IsIpPrefix) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_library_proto_rawDescGZIP(), []int{2} +} + +func (x *IsIpPrefix) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +func (x *IsIpPrefix) GetVersion() int32 { + if x != nil && x.Version != nil { + return *x.Version + } + return 0 +} + +func (x *IsIpPrefix) GetStrict() bool { + if x != nil && x.Strict != nil { + return *x.Strict + } + return false +} + +type IsIp struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + Version *int32 `protobuf:"varint,2,opt,name=version,proto3,oneof" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IsIp) Reset() { + *x = IsIp{} + mi := &file_buf_validate_conformance_cases_library_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IsIp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsIp) ProtoMessage() {} + +func (x *IsIp) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_library_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IsIp.ProtoReflect.Descriptor instead. +func (*IsIp) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_library_proto_rawDescGZIP(), []int{3} +} + +func (x *IsIp) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +func (x *IsIp) GetVersion() int32 { + if x != nil && x.Version != nil { + return *x.Version + } + return 0 +} + +type IsEmail struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IsEmail) Reset() { + *x = IsEmail{} + mi := &file_buf_validate_conformance_cases_library_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IsEmail) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsEmail) ProtoMessage() {} + +func (x *IsEmail) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_library_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IsEmail.ProtoReflect.Descriptor instead. +func (*IsEmail) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_library_proto_rawDescGZIP(), []int{4} +} + +func (x *IsEmail) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type IsUri struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IsUri) Reset() { + *x = IsUri{} + mi := &file_buf_validate_conformance_cases_library_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IsUri) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsUri) ProtoMessage() {} + +func (x *IsUri) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_library_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IsUri.ProtoReflect.Descriptor instead. +func (*IsUri) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_library_proto_rawDescGZIP(), []int{5} +} + +func (x *IsUri) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type IsUriRef struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IsUriRef) Reset() { + *x = IsUriRef{} + mi := &file_buf_validate_conformance_cases_library_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IsUriRef) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsUriRef) ProtoMessage() {} + +func (x *IsUriRef) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_library_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IsUriRef.ProtoReflect.Descriptor instead. +func (*IsUriRef) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_library_proto_rawDescGZIP(), []int{6} +} + +func (x *IsUriRef) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +var File_buf_validate_conformance_cases_library_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_library_proto_rawDesc = "" + + "\n" + + ",buf/validate/conformance/cases/library.proto\x12\x1ebuf.validate.conformance.cases\x1a\x1bbuf/validate/validate.proto\"Q\n" + + "\n" + + "IsHostname\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val:1\xbaH.\x1a,\n" + + "\x13library.is_hostname\x1a\x15this.val.isHostname()\"\x93\x01\n" + + "\rIsHostAndPort\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\x12#\n" + + "\rport_required\x18\x02 \x01(\bR\fportRequired:K\xbaHH\x1aF\n" + + "\x18library.is_host_and_port\x1a*this.val.isHostAndPort(this.port_required)\"\xf0\x02\n" + + "\n" + + "IsIpPrefix\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\x12\x1d\n" + + "\aversion\x18\x02 \x01(\x05H\x00R\aversion\x88\x01\x01\x12\x1b\n" + + "\x06strict\x18\x03 \x01(\bH\x01R\x06strict\x88\x01\x01:\xfc\x01\xbaH\xf8\x01\x1a\xf5\x01\n" + + "\x14library.is_ip_prefix\x1a\xdc\x01has(this.version) && has(this.strict) ? this.val.isIpPrefix(this.version, this.strict) : has(this.version) ? this.val.isIpPrefix(this.version) : has(this.strict) ? this.val.isIpPrefix(this.strict) : this.val.isIpPrefix()B\n" + + "\n" + + "\b_versionB\t\n" + + "\a_strict\"\x9c\x01\n" + + "\x04IsIp\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\x12\x1d\n" + + "\aversion\x18\x02 \x01(\x05H\x00R\aversion\x88\x01\x01:W\xbaHT\x1aR\n" + + "\rlibrary.is_ip\x1aAhas(this.version) ? this.val.isIp(this.version) : this.val.isIp()B\n" + + "\n" + + "\b_version\"H\n" + + "\aIsEmail\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val:+\xbaH(\x1a&\n" + + "\x10library.is_email\x1a\x12this.val.isEmail()\"B\n" + + "\x05IsUri\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val:'\xbaH$\x1a\"\n" + + "\x0elibrary.is_uri\x1a\x10this.val.isUri()\"L\n" + + "\bIsUriRef\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val:.\xbaH+\x1a)\n" + + "\x12library.is_uri_ref\x1a\x13this.val.isUriRef()B\xa9\x02\n" + + "\"com.buf.validate.conformance.casesB\fLibraryProtoP\x01ZYgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Casesb\x06proto3" + +var ( + file_buf_validate_conformance_cases_library_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_library_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_library_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_library_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_library_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_library_proto_rawDesc), len(file_buf_validate_conformance_cases_library_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_library_proto_rawDescData +} + +var file_buf_validate_conformance_cases_library_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_buf_validate_conformance_cases_library_proto_goTypes = []any{ + (*IsHostname)(nil), // 0: buf.validate.conformance.cases.IsHostname + (*IsHostAndPort)(nil), // 1: buf.validate.conformance.cases.IsHostAndPort + (*IsIpPrefix)(nil), // 2: buf.validate.conformance.cases.IsIpPrefix + (*IsIp)(nil), // 3: buf.validate.conformance.cases.IsIp + (*IsEmail)(nil), // 4: buf.validate.conformance.cases.IsEmail + (*IsUri)(nil), // 5: buf.validate.conformance.cases.IsUri + (*IsUriRef)(nil), // 6: buf.validate.conformance.cases.IsUriRef +} +var file_buf_validate_conformance_cases_library_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_library_proto_init() } +func file_buf_validate_conformance_cases_library_proto_init() { + if File_buf_validate_conformance_cases_library_proto != nil { + return + } + file_buf_validate_conformance_cases_library_proto_msgTypes[2].OneofWrappers = []any{} + file_buf_validate_conformance_cases_library_proto_msgTypes[3].OneofWrappers = []any{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_library_proto_rawDesc), len(file_buf_validate_conformance_cases_library_proto_rawDesc)), + NumEnums: 0, + NumMessages: 7, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_library_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_library_proto_depIdxs, + MessageInfos: file_buf_validate_conformance_cases_library_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_library_proto = out.File + file_buf_validate_conformance_cases_library_proto_goTypes = nil + file_buf_validate_conformance_cases_library_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/maps.pb.go b/internal/gen/proto/buf/validate/conformance/cases/maps.pb.go new file mode 100644 index 00000000..93a3a4b9 --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/maps.pb.go @@ -0,0 +1,796 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/maps.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MapNone struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[uint32]bool `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MapNone) Reset() { + *x = MapNone{} + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MapNone) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MapNone) ProtoMessage() {} + +func (x *MapNone) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MapNone.ProtoReflect.Descriptor instead. +func (*MapNone) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_maps_proto_rawDescGZIP(), []int{0} +} + +func (x *MapNone) GetVal() map[uint32]bool { + if x != nil { + return x.Val + } + return nil +} + +type MapMin struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int32]float32 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MapMin) Reset() { + *x = MapMin{} + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MapMin) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MapMin) ProtoMessage() {} + +func (x *MapMin) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MapMin.ProtoReflect.Descriptor instead. +func (*MapMin) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_maps_proto_rawDescGZIP(), []int{1} +} + +func (x *MapMin) GetVal() map[int32]float32 { + if x != nil { + return x.Val + } + return nil +} + +type MapMax struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int64]float64 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MapMax) Reset() { + *x = MapMax{} + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MapMax) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MapMax) ProtoMessage() {} + +func (x *MapMax) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MapMax.ProtoReflect.Descriptor instead. +func (*MapMax) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_maps_proto_rawDescGZIP(), []int{2} +} + +func (x *MapMax) GetVal() map[int64]float64 { + if x != nil { + return x.Val + } + return nil +} + +type MapMinMax struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[string]bool `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MapMinMax) Reset() { + *x = MapMinMax{} + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MapMinMax) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MapMinMax) ProtoMessage() {} + +func (x *MapMinMax) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MapMinMax.ProtoReflect.Descriptor instead. +func (*MapMinMax) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_maps_proto_rawDescGZIP(), []int{3} +} + +func (x *MapMinMax) GetVal() map[string]bool { + if x != nil { + return x.Val + } + return nil +} + +type MapExact struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[uint64]string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MapExact) Reset() { + *x = MapExact{} + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MapExact) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MapExact) ProtoMessage() {} + +func (x *MapExact) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MapExact.ProtoReflect.Descriptor instead. +func (*MapExact) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_maps_proto_rawDescGZIP(), []int{4} +} + +func (x *MapExact) GetVal() map[uint64]string { + if x != nil { + return x.Val + } + return nil +} + +type MapKeys struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[int64]string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MapKeys) Reset() { + *x = MapKeys{} + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MapKeys) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MapKeys) ProtoMessage() {} + +func (x *MapKeys) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MapKeys.ProtoReflect.Descriptor instead. +func (*MapKeys) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_maps_proto_rawDescGZIP(), []int{5} +} + +func (x *MapKeys) GetVal() map[int64]string { + if x != nil { + return x.Val + } + return nil +} + +type MapValues struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[string]string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MapValues) Reset() { + *x = MapValues{} + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MapValues) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MapValues) ProtoMessage() {} + +func (x *MapValues) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MapValues.ProtoReflect.Descriptor instead. +func (*MapValues) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_maps_proto_rawDescGZIP(), []int{6} +} + +func (x *MapValues) GetVal() map[string]string { + if x != nil { + return x.Val + } + return nil +} + +type MapKeysPattern struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[string]string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MapKeysPattern) Reset() { + *x = MapKeysPattern{} + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MapKeysPattern) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MapKeysPattern) ProtoMessage() {} + +func (x *MapKeysPattern) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MapKeysPattern.ProtoReflect.Descriptor instead. +func (*MapKeysPattern) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_maps_proto_rawDescGZIP(), []int{7} +} + +func (x *MapKeysPattern) GetVal() map[string]string { + if x != nil { + return x.Val + } + return nil +} + +type MapValuesPattern struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[string]string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MapValuesPattern) Reset() { + *x = MapValuesPattern{} + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MapValuesPattern) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MapValuesPattern) ProtoMessage() {} + +func (x *MapValuesPattern) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MapValuesPattern.ProtoReflect.Descriptor instead. +func (*MapValuesPattern) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_maps_proto_rawDescGZIP(), []int{8} +} + +func (x *MapValuesPattern) GetVal() map[string]string { + if x != nil { + return x.Val + } + return nil +} + +type MapRecursive struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[uint32]*MapRecursive_Msg `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MapRecursive) Reset() { + *x = MapRecursive{} + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MapRecursive) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MapRecursive) ProtoMessage() {} + +func (x *MapRecursive) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MapRecursive.ProtoReflect.Descriptor instead. +func (*MapRecursive) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_maps_proto_rawDescGZIP(), []int{9} +} + +func (x *MapRecursive) GetVal() map[uint32]*MapRecursive_Msg { + if x != nil { + return x.Val + } + return nil +} + +type MapExactIgnore struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[uint64]string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MapExactIgnore) Reset() { + *x = MapExactIgnore{} + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MapExactIgnore) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MapExactIgnore) ProtoMessage() {} + +func (x *MapExactIgnore) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MapExactIgnore.ProtoReflect.Descriptor instead. +func (*MapExactIgnore) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_maps_proto_rawDescGZIP(), []int{10} +} + +func (x *MapExactIgnore) GetVal() map[uint64]string { + if x != nil { + return x.Val + } + return nil +} + +type MultipleMaps struct { + state protoimpl.MessageState `protogen:"open.v1"` + First map[uint32]string `protobuf:"bytes,1,rep,name=first,proto3" json:"first,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Second map[int32]bool `protobuf:"bytes,2,rep,name=second,proto3" json:"second,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + Third map[int32]bool `protobuf:"bytes,3,rep,name=third,proto3" json:"third,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MultipleMaps) Reset() { + *x = MultipleMaps{} + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MultipleMaps) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MultipleMaps) ProtoMessage() {} + +func (x *MultipleMaps) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MultipleMaps.ProtoReflect.Descriptor instead. +func (*MultipleMaps) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_maps_proto_rawDescGZIP(), []int{11} +} + +func (x *MultipleMaps) GetFirst() map[uint32]string { + if x != nil { + return x.First + } + return nil +} + +func (x *MultipleMaps) GetSecond() map[int32]bool { + if x != nil { + return x.Second + } + return nil +} + +func (x *MultipleMaps) GetThird() map[int32]bool { + if x != nil { + return x.Third + } + return nil +} + +type MapRecursive_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MapRecursive_Msg) Reset() { + *x = MapRecursive_Msg{} + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MapRecursive_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MapRecursive_Msg) ProtoMessage() {} + +func (x *MapRecursive_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_maps_proto_msgTypes[22] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MapRecursive_Msg.ProtoReflect.Descriptor instead. +func (*MapRecursive_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_maps_proto_rawDescGZIP(), []int{9, 1} +} + +func (x *MapRecursive_Msg) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +var File_buf_validate_conformance_cases_maps_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_maps_proto_rawDesc = "" + + "\n" + + ")buf/validate/conformance/cases/maps.proto\x12\x1ebuf.validate.conformance.cases\x1a\x1bbuf/validate/validate.proto\"\x85\x01\n" + + "\aMapNone\x12B\n" + + "\x03val\x18\x01 \x03(\v20.buf.validate.conformance.cases.MapNone.ValEntryR\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\rR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\bR\x05value:\x028\x01\"\x8d\x01\n" + + "\x06MapMin\x12K\n" + + "\x03val\x18\x01 \x03(\v2/.buf.validate.conformance.cases.MapMin.ValEntryB\b\xbaH\x05\x9a\x01\x02\b\x02R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x02R\x05value:\x028\x01\"\x8d\x01\n" + + "\x06MapMax\x12K\n" + + "\x03val\x18\x01 \x03(\v2/.buf.validate.conformance.cases.MapMax.ValEntryB\b\xbaH\x05\x9a\x01\x02\x10\x03R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x03R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x01R\x05value:\x028\x01\"\x95\x01\n" + + "\tMapMinMax\x12P\n" + + "\x03val\x18\x01 \x03(\v22.buf.validate.conformance.cases.MapMinMax.ValEntryB\n" + + "\xbaH\a\x9a\x01\x04\b\x02\x10\x04R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\bR\x05value:\x028\x01\"\x93\x01\n" + + "\bMapExact\x12O\n" + + "\x03val\x18\x01 \x03(\v21.buf.validate.conformance.cases.MapExact.ValEntryB\n" + + "\xbaH\a\x9a\x01\x04\b\x03\x10\x03R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x04R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x93\x01\n" + + "\aMapKeys\x12P\n" + + "\x03val\x18\x01 \x03(\v20.buf.validate.conformance.cases.MapKeys.ValEntryB\f\xbaH\t\x9a\x01\x06\"\x04B\x02\x10\x00R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x12R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x97\x01\n" + + "\tMapValues\x12R\n" + + "\x03val\x18\x01 \x03(\v22.buf.validate.conformance.cases.MapValues.ValEntryB\f\xbaH\t\x9a\x01\x06*\x04r\x02\x10\x03R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xb0\x01\n" + + "\x0eMapKeysPattern\x12f\n" + + "\x03val\x18\x01 \x03(\v27.buf.validate.conformance.cases.MapKeysPattern.ValEntryB\x1b\xbaH\x18\x9a\x01\x15\"\x13r\x112\x0f(?i)^[a-z0-9]+$R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xb4\x01\n" + + "\x10MapValuesPattern\x12h\n" + + "\x03val\x18\x01 \x03(\v29.buf.validate.conformance.cases.MapValuesPattern.ValEntryB\x1b\xbaH\x18\x9a\x01\x15*\x13r\x112\x0f(?i)^[a-z0-9]+$R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xe3\x01\n" + + "\fMapRecursive\x12G\n" + + "\x03val\x18\x01 \x03(\v25.buf.validate.conformance.cases.MapRecursive.ValEntryR\x03val\x1ah\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\rR\x03key\x12F\n" + + "\x05value\x18\x02 \x01(\v20.buf.validate.conformance.cases.MapRecursive.MsgR\x05value:\x028\x01\x1a \n" + + "\x03Msg\x12\x19\n" + + "\x03val\x18\x01 \x01(\tB\a\xbaH\x04r\x02\x10\x03R\x03val\"\xa2\x01\n" + + "\x0eMapExactIgnore\x12X\n" + + "\x03val\x18\x01 \x03(\v27.buf.validate.conformance.cases.MapExactIgnore.ValEntryB\r\xbaH\n" + + "\xd8\x01\x01\x9a\x01\x04\b\x03\x10\x03R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x04R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xd7\x03\n" + + "\fMultipleMaps\x12[\n" + + "\x05first\x18\x01 \x03(\v27.buf.validate.conformance.cases.MultipleMaps.FirstEntryB\f\xbaH\t\x9a\x01\x06\"\x04*\x02 \x00R\x05first\x12^\n" + + "\x06second\x18\x02 \x03(\v28.buf.validate.conformance.cases.MultipleMaps.SecondEntryB\f\xbaH\t\x9a\x01\x06\"\x04\x1a\x02\x10\x00R\x06second\x12[\n" + + "\x05third\x18\x03 \x03(\v27.buf.validate.conformance.cases.MultipleMaps.ThirdEntryB\f\xbaH\t\x9a\x01\x06\"\x04\x1a\x02 \x00R\x05third\x1a8\n" + + "\n" + + "FirstEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\rR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1a9\n" + + "\vSecondEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\bR\x05value:\x028\x01\x1a8\n" + + "\n" + + "ThirdEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\bR\x05value:\x028\x01B\xa6\x02\n" + + "\"com.buf.validate.conformance.casesB\tMapsProtoP\x01ZYgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Casesb\x06proto3" + +var ( + file_buf_validate_conformance_cases_maps_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_maps_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_maps_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_maps_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_maps_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_maps_proto_rawDesc), len(file_buf_validate_conformance_cases_maps_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_maps_proto_rawDescData +} + +var file_buf_validate_conformance_cases_maps_proto_msgTypes = make([]protoimpl.MessageInfo, 27) +var file_buf_validate_conformance_cases_maps_proto_goTypes = []any{ + (*MapNone)(nil), // 0: buf.validate.conformance.cases.MapNone + (*MapMin)(nil), // 1: buf.validate.conformance.cases.MapMin + (*MapMax)(nil), // 2: buf.validate.conformance.cases.MapMax + (*MapMinMax)(nil), // 3: buf.validate.conformance.cases.MapMinMax + (*MapExact)(nil), // 4: buf.validate.conformance.cases.MapExact + (*MapKeys)(nil), // 5: buf.validate.conformance.cases.MapKeys + (*MapValues)(nil), // 6: buf.validate.conformance.cases.MapValues + (*MapKeysPattern)(nil), // 7: buf.validate.conformance.cases.MapKeysPattern + (*MapValuesPattern)(nil), // 8: buf.validate.conformance.cases.MapValuesPattern + (*MapRecursive)(nil), // 9: buf.validate.conformance.cases.MapRecursive + (*MapExactIgnore)(nil), // 10: buf.validate.conformance.cases.MapExactIgnore + (*MultipleMaps)(nil), // 11: buf.validate.conformance.cases.MultipleMaps + nil, // 12: buf.validate.conformance.cases.MapNone.ValEntry + nil, // 13: buf.validate.conformance.cases.MapMin.ValEntry + nil, // 14: buf.validate.conformance.cases.MapMax.ValEntry + nil, // 15: buf.validate.conformance.cases.MapMinMax.ValEntry + nil, // 16: buf.validate.conformance.cases.MapExact.ValEntry + nil, // 17: buf.validate.conformance.cases.MapKeys.ValEntry + nil, // 18: buf.validate.conformance.cases.MapValues.ValEntry + nil, // 19: buf.validate.conformance.cases.MapKeysPattern.ValEntry + nil, // 20: buf.validate.conformance.cases.MapValuesPattern.ValEntry + nil, // 21: buf.validate.conformance.cases.MapRecursive.ValEntry + (*MapRecursive_Msg)(nil), // 22: buf.validate.conformance.cases.MapRecursive.Msg + nil, // 23: buf.validate.conformance.cases.MapExactIgnore.ValEntry + nil, // 24: buf.validate.conformance.cases.MultipleMaps.FirstEntry + nil, // 25: buf.validate.conformance.cases.MultipleMaps.SecondEntry + nil, // 26: buf.validate.conformance.cases.MultipleMaps.ThirdEntry +} +var file_buf_validate_conformance_cases_maps_proto_depIdxs = []int32{ + 12, // 0: buf.validate.conformance.cases.MapNone.val:type_name -> buf.validate.conformance.cases.MapNone.ValEntry + 13, // 1: buf.validate.conformance.cases.MapMin.val:type_name -> buf.validate.conformance.cases.MapMin.ValEntry + 14, // 2: buf.validate.conformance.cases.MapMax.val:type_name -> buf.validate.conformance.cases.MapMax.ValEntry + 15, // 3: buf.validate.conformance.cases.MapMinMax.val:type_name -> buf.validate.conformance.cases.MapMinMax.ValEntry + 16, // 4: buf.validate.conformance.cases.MapExact.val:type_name -> buf.validate.conformance.cases.MapExact.ValEntry + 17, // 5: buf.validate.conformance.cases.MapKeys.val:type_name -> buf.validate.conformance.cases.MapKeys.ValEntry + 18, // 6: buf.validate.conformance.cases.MapValues.val:type_name -> buf.validate.conformance.cases.MapValues.ValEntry + 19, // 7: buf.validate.conformance.cases.MapKeysPattern.val:type_name -> buf.validate.conformance.cases.MapKeysPattern.ValEntry + 20, // 8: buf.validate.conformance.cases.MapValuesPattern.val:type_name -> buf.validate.conformance.cases.MapValuesPattern.ValEntry + 21, // 9: buf.validate.conformance.cases.MapRecursive.val:type_name -> buf.validate.conformance.cases.MapRecursive.ValEntry + 23, // 10: buf.validate.conformance.cases.MapExactIgnore.val:type_name -> buf.validate.conformance.cases.MapExactIgnore.ValEntry + 24, // 11: buf.validate.conformance.cases.MultipleMaps.first:type_name -> buf.validate.conformance.cases.MultipleMaps.FirstEntry + 25, // 12: buf.validate.conformance.cases.MultipleMaps.second:type_name -> buf.validate.conformance.cases.MultipleMaps.SecondEntry + 26, // 13: buf.validate.conformance.cases.MultipleMaps.third:type_name -> buf.validate.conformance.cases.MultipleMaps.ThirdEntry + 22, // 14: buf.validate.conformance.cases.MapRecursive.ValEntry.value:type_name -> buf.validate.conformance.cases.MapRecursive.Msg + 15, // [15:15] is the sub-list for method output_type + 15, // [15:15] is the sub-list for method input_type + 15, // [15:15] is the sub-list for extension type_name + 15, // [15:15] is the sub-list for extension extendee + 0, // [0:15] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_maps_proto_init() } +func file_buf_validate_conformance_cases_maps_proto_init() { + if File_buf_validate_conformance_cases_maps_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_maps_proto_rawDesc), len(file_buf_validate_conformance_cases_maps_proto_rawDesc)), + NumEnums: 0, + NumMessages: 27, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_maps_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_maps_proto_depIdxs, + MessageInfos: file_buf_validate_conformance_cases_maps_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_maps_proto = out.File + file_buf_validate_conformance_cases_maps_proto_goTypes = nil + file_buf_validate_conformance_cases_maps_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/messages.pb.go b/internal/gen/proto/buf/validate/conformance/cases/messages.pb.go new file mode 100644 index 00000000..d7840681 --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/messages.pb.go @@ -0,0 +1,1318 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/messages.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + other_package "github.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases/other_package" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TestMsg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Const string `protobuf:"bytes,1,opt,name=const,proto3" json:"const,omitempty"` + Nested *TestMsg `protobuf:"bytes,2,opt,name=nested,proto3" json:"nested,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TestMsg) Reset() { + *x = TestMsg{} + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TestMsg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TestMsg) ProtoMessage() {} + +func (x *TestMsg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TestMsg.ProtoReflect.Descriptor instead. +func (*TestMsg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_messages_proto_rawDescGZIP(), []int{0} +} + +func (x *TestMsg) GetConst() string { + if x != nil { + return x.Const + } + return "" +} + +func (x *TestMsg) GetNested() *TestMsg { + if x != nil { + return x.Nested + } + return nil +} + +type MessageNone struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *MessageNone_NoneMsg `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MessageNone) Reset() { + *x = MessageNone{} + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MessageNone) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageNone) ProtoMessage() {} + +func (x *MessageNone) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageNone.ProtoReflect.Descriptor instead. +func (*MessageNone) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_messages_proto_rawDescGZIP(), []int{1} +} + +func (x *MessageNone) GetVal() *MessageNone_NoneMsg { + if x != nil { + return x.Val + } + return nil +} + +type Message struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *TestMsg `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Message) Reset() { + *x = Message{} + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Message) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message) ProtoMessage() {} + +func (x *Message) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message.ProtoReflect.Descriptor instead. +func (*Message) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_messages_proto_rawDescGZIP(), []int{2} +} + +func (x *Message) GetVal() *TestMsg { + if x != nil { + return x.Val + } + return nil +} + +type MessageCrossPackage struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *other_package.Embed `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MessageCrossPackage) Reset() { + *x = MessageCrossPackage{} + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MessageCrossPackage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageCrossPackage) ProtoMessage() {} + +func (x *MessageCrossPackage) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageCrossPackage.ProtoReflect.Descriptor instead. +func (*MessageCrossPackage) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_messages_proto_rawDescGZIP(), []int{3} +} + +func (x *MessageCrossPackage) GetVal() *other_package.Embed { + if x != nil { + return x.Val + } + return nil +} + +type MessageSkip struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *TestMsg `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MessageSkip) Reset() { + *x = MessageSkip{} + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MessageSkip) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageSkip) ProtoMessage() {} + +func (x *MessageSkip) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageSkip.ProtoReflect.Descriptor instead. +func (*MessageSkip) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_messages_proto_rawDescGZIP(), []int{4} +} + +func (x *MessageSkip) GetVal() *TestMsg { + if x != nil { + return x.Val + } + return nil +} + +type MessageRequired struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *TestMsg `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MessageRequired) Reset() { + *x = MessageRequired{} + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MessageRequired) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageRequired) ProtoMessage() {} + +func (x *MessageRequired) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageRequired.ProtoReflect.Descriptor instead. +func (*MessageRequired) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_messages_proto_rawDescGZIP(), []int{5} +} + +func (x *MessageRequired) GetVal() *TestMsg { + if x != nil { + return x.Val + } + return nil +} + +type MessageRequiredButOptional struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *TestMsg `protobuf:"bytes,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MessageRequiredButOptional) Reset() { + *x = MessageRequiredButOptional{} + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MessageRequiredButOptional) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageRequiredButOptional) ProtoMessage() {} + +func (x *MessageRequiredButOptional) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageRequiredButOptional.ProtoReflect.Descriptor instead. +func (*MessageRequiredButOptional) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_messages_proto_rawDescGZIP(), []int{6} +} + +func (x *MessageRequiredButOptional) GetVal() *TestMsg { + if x != nil { + return x.Val + } + return nil +} + +type MessageRequiredOneof struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to One: + // + // *MessageRequiredOneof_Val + One isMessageRequiredOneof_One `protobuf_oneof:"one"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MessageRequiredOneof) Reset() { + *x = MessageRequiredOneof{} + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MessageRequiredOneof) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageRequiredOneof) ProtoMessage() {} + +func (x *MessageRequiredOneof) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageRequiredOneof.ProtoReflect.Descriptor instead. +func (*MessageRequiredOneof) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_messages_proto_rawDescGZIP(), []int{7} +} + +func (x *MessageRequiredOneof) GetOne() isMessageRequiredOneof_One { + if x != nil { + return x.One + } + return nil +} + +func (x *MessageRequiredOneof) GetVal() *TestMsg { + if x != nil { + if x, ok := x.One.(*MessageRequiredOneof_Val); ok { + return x.Val + } + } + return nil +} + +type isMessageRequiredOneof_One interface { + isMessageRequiredOneof_One() +} + +type MessageRequiredOneof_Val struct { + Val *TestMsg `protobuf:"bytes,1,opt,name=val,proto3,oneof"` +} + +func (*MessageRequiredOneof_Val) isMessageRequiredOneof_One() {} + +type MessageWith3DInside struct { + state protoimpl.MessageState `protogen:"open.v1"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MessageWith3DInside) Reset() { + *x = MessageWith3DInside{} + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MessageWith3DInside) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageWith3DInside) ProtoMessage() {} + +func (x *MessageWith3DInside) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageWith3DInside.ProtoReflect.Descriptor instead. +func (*MessageWith3DInside) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_messages_proto_rawDescGZIP(), []int{8} +} + +type MessageOneofSingleField struct { + state protoimpl.MessageState `protogen:"open.v1"` + StrField string `protobuf:"bytes,1,opt,name=str_field,json=strField,proto3" json:"str_field,omitempty"` + BoolField bool `protobuf:"varint,2,opt,name=bool_field,json=boolField,proto3" json:"bool_field,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MessageOneofSingleField) Reset() { + *x = MessageOneofSingleField{} + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MessageOneofSingleField) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageOneofSingleField) ProtoMessage() {} + +func (x *MessageOneofSingleField) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageOneofSingleField.ProtoReflect.Descriptor instead. +func (*MessageOneofSingleField) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_messages_proto_rawDescGZIP(), []int{9} +} + +func (x *MessageOneofSingleField) GetStrField() string { + if x != nil { + return x.StrField + } + return "" +} + +func (x *MessageOneofSingleField) GetBoolField() bool { + if x != nil { + return x.BoolField + } + return false +} + +type MessageOneofSingleFieldRequired struct { + state protoimpl.MessageState `protogen:"open.v1"` + StrField string `protobuf:"bytes,1,opt,name=str_field,json=strField,proto3" json:"str_field,omitempty"` + BoolField bool `protobuf:"varint,2,opt,name=bool_field,json=boolField,proto3" json:"bool_field,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MessageOneofSingleFieldRequired) Reset() { + *x = MessageOneofSingleFieldRequired{} + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MessageOneofSingleFieldRequired) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageOneofSingleFieldRequired) ProtoMessage() {} + +func (x *MessageOneofSingleFieldRequired) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageOneofSingleFieldRequired.ProtoReflect.Descriptor instead. +func (*MessageOneofSingleFieldRequired) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_messages_proto_rawDescGZIP(), []int{10} +} + +func (x *MessageOneofSingleFieldRequired) GetStrField() string { + if x != nil { + return x.StrField + } + return "" +} + +func (x *MessageOneofSingleFieldRequired) GetBoolField() bool { + if x != nil { + return x.BoolField + } + return false +} + +type MessageOneofMultipleFields struct { + state protoimpl.MessageState `protogen:"open.v1"` + StrField string `protobuf:"bytes,1,opt,name=str_field,json=strField,proto3" json:"str_field,omitempty"` + BoolField bool `protobuf:"varint,2,opt,name=bool_field,json=boolField,proto3" json:"bool_field,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MessageOneofMultipleFields) Reset() { + *x = MessageOneofMultipleFields{} + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MessageOneofMultipleFields) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageOneofMultipleFields) ProtoMessage() {} + +func (x *MessageOneofMultipleFields) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageOneofMultipleFields.ProtoReflect.Descriptor instead. +func (*MessageOneofMultipleFields) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_messages_proto_rawDescGZIP(), []int{11} +} + +func (x *MessageOneofMultipleFields) GetStrField() string { + if x != nil { + return x.StrField + } + return "" +} + +func (x *MessageOneofMultipleFields) GetBoolField() bool { + if x != nil { + return x.BoolField + } + return false +} + +type MessageOneofMultipleFieldsRequired struct { + state protoimpl.MessageState `protogen:"open.v1"` + StrField string `protobuf:"bytes,1,opt,name=str_field,json=strField,proto3" json:"str_field,omitempty"` + BoolField bool `protobuf:"varint,2,opt,name=bool_field,json=boolField,proto3" json:"bool_field,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MessageOneofMultipleFieldsRequired) Reset() { + *x = MessageOneofMultipleFieldsRequired{} + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MessageOneofMultipleFieldsRequired) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageOneofMultipleFieldsRequired) ProtoMessage() {} + +func (x *MessageOneofMultipleFieldsRequired) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageOneofMultipleFieldsRequired.ProtoReflect.Descriptor instead. +func (*MessageOneofMultipleFieldsRequired) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_messages_proto_rawDescGZIP(), []int{12} +} + +func (x *MessageOneofMultipleFieldsRequired) GetStrField() string { + if x != nil { + return x.StrField + } + return "" +} + +func (x *MessageOneofMultipleFieldsRequired) GetBoolField() bool { + if x != nil { + return x.BoolField + } + return false +} + +type MessageOneofMultipleSharedFields struct { + state protoimpl.MessageState `protogen:"open.v1"` + StrField string `protobuf:"bytes,1,opt,name=str_field,json=strField,proto3" json:"str_field,omitempty"` + BoolField bool `protobuf:"varint,2,opt,name=bool_field,json=boolField,proto3" json:"bool_field,omitempty"` + IntField int32 `protobuf:"varint,3,opt,name=int_field,json=intField,proto3" json:"int_field,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MessageOneofMultipleSharedFields) Reset() { + *x = MessageOneofMultipleSharedFields{} + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MessageOneofMultipleSharedFields) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageOneofMultipleSharedFields) ProtoMessage() {} + +func (x *MessageOneofMultipleSharedFields) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageOneofMultipleSharedFields.ProtoReflect.Descriptor instead. +func (*MessageOneofMultipleSharedFields) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_messages_proto_rawDescGZIP(), []int{13} +} + +func (x *MessageOneofMultipleSharedFields) GetStrField() string { + if x != nil { + return x.StrField + } + return "" +} + +func (x *MessageOneofMultipleSharedFields) GetBoolField() bool { + if x != nil { + return x.BoolField + } + return false +} + +func (x *MessageOneofMultipleSharedFields) GetIntField() int32 { + if x != nil { + return x.IntField + } + return 0 +} + +type MessageOneofUnknownFieldName struct { + state protoimpl.MessageState `protogen:"open.v1"` + StrField string `protobuf:"bytes,1,opt,name=str_field,json=strField,proto3" json:"str_field,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MessageOneofUnknownFieldName) Reset() { + *x = MessageOneofUnknownFieldName{} + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MessageOneofUnknownFieldName) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageOneofUnknownFieldName) ProtoMessage() {} + +func (x *MessageOneofUnknownFieldName) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageOneofUnknownFieldName.ProtoReflect.Descriptor instead. +func (*MessageOneofUnknownFieldName) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_messages_proto_rawDescGZIP(), []int{14} +} + +func (x *MessageOneofUnknownFieldName) GetStrField() string { + if x != nil { + return x.StrField + } + return "" +} + +type MessageOneofDuplicateField struct { + state protoimpl.MessageState `protogen:"open.v1"` + StrField string `protobuf:"bytes,1,opt,name=str_field,json=strField,proto3" json:"str_field,omitempty"` + BoolField bool `protobuf:"varint,2,opt,name=bool_field,json=boolField,proto3" json:"bool_field,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MessageOneofDuplicateField) Reset() { + *x = MessageOneofDuplicateField{} + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MessageOneofDuplicateField) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageOneofDuplicateField) ProtoMessage() {} + +func (x *MessageOneofDuplicateField) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[15] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageOneofDuplicateField.ProtoReflect.Descriptor instead. +func (*MessageOneofDuplicateField) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_messages_proto_rawDescGZIP(), []int{15} +} + +func (x *MessageOneofDuplicateField) GetStrField() string { + if x != nil { + return x.StrField + } + return "" +} + +func (x *MessageOneofDuplicateField) GetBoolField() bool { + if x != nil { + return x.BoolField + } + return false +} + +type MessageOneofZeroFields struct { + state protoimpl.MessageState `protogen:"open.v1"` + StrField string `protobuf:"bytes,1,opt,name=str_field,json=strField,proto3" json:"str_field,omitempty"` + BoolField bool `protobuf:"varint,2,opt,name=bool_field,json=boolField,proto3" json:"bool_field,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MessageOneofZeroFields) Reset() { + *x = MessageOneofZeroFields{} + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MessageOneofZeroFields) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageOneofZeroFields) ProtoMessage() {} + +func (x *MessageOneofZeroFields) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[16] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageOneofZeroFields.ProtoReflect.Descriptor instead. +func (*MessageOneofZeroFields) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_messages_proto_rawDescGZIP(), []int{16} +} + +func (x *MessageOneofZeroFields) GetStrField() string { + if x != nil { + return x.StrField + } + return "" +} + +func (x *MessageOneofZeroFields) GetBoolField() bool { + if x != nil { + return x.BoolField + } + return false +} + +type MessageOneofUnsatisfiable struct { + state protoimpl.MessageState `protogen:"open.v1"` + A bool `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` + B bool `protobuf:"varint,2,opt,name=b,proto3" json:"b,omitempty"` + C bool `protobuf:"varint,3,opt,name=c,proto3" json:"c,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MessageOneofUnsatisfiable) Reset() { + *x = MessageOneofUnsatisfiable{} + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MessageOneofUnsatisfiable) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageOneofUnsatisfiable) ProtoMessage() {} + +func (x *MessageOneofUnsatisfiable) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[17] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageOneofUnsatisfiable.ProtoReflect.Descriptor instead. +func (*MessageOneofUnsatisfiable) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_messages_proto_rawDescGZIP(), []int{17} +} + +func (x *MessageOneofUnsatisfiable) GetA() bool { + if x != nil { + return x.A + } + return false +} + +func (x *MessageOneofUnsatisfiable) GetB() bool { + if x != nil { + return x.B + } + return false +} + +func (x *MessageOneofUnsatisfiable) GetC() bool { + if x != nil { + return x.C + } + return false +} + +type MessageOneofIgnoreUnpopulated struct { + state protoimpl.MessageState `protogen:"open.v1"` + StrField string `protobuf:"bytes,1,opt,name=str_field,json=strField,proto3" json:"str_field,omitempty"` + BoolField bool `protobuf:"varint,2,opt,name=bool_field,json=boolField,proto3" json:"bool_field,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MessageOneofIgnoreUnpopulated) Reset() { + *x = MessageOneofIgnoreUnpopulated{} + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MessageOneofIgnoreUnpopulated) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageOneofIgnoreUnpopulated) ProtoMessage() {} + +func (x *MessageOneofIgnoreUnpopulated) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[18] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageOneofIgnoreUnpopulated.ProtoReflect.Descriptor instead. +func (*MessageOneofIgnoreUnpopulated) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_messages_proto_rawDescGZIP(), []int{18} +} + +func (x *MessageOneofIgnoreUnpopulated) GetStrField() string { + if x != nil { + return x.StrField + } + return "" +} + +func (x *MessageOneofIgnoreUnpopulated) GetBoolField() bool { + if x != nil { + return x.BoolField + } + return false +} + +type MessageOneofIgnoreUnpopulatedRequired struct { + state protoimpl.MessageState `protogen:"open.v1"` + StrField string `protobuf:"bytes,1,opt,name=str_field,json=strField,proto3" json:"str_field,omitempty"` + BoolField bool `protobuf:"varint,2,opt,name=bool_field,json=boolField,proto3" json:"bool_field,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MessageOneofIgnoreUnpopulatedRequired) Reset() { + *x = MessageOneofIgnoreUnpopulatedRequired{} + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MessageOneofIgnoreUnpopulatedRequired) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageOneofIgnoreUnpopulatedRequired) ProtoMessage() {} + +func (x *MessageOneofIgnoreUnpopulatedRequired) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[19] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageOneofIgnoreUnpopulatedRequired.ProtoReflect.Descriptor instead. +func (*MessageOneofIgnoreUnpopulatedRequired) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_messages_proto_rawDescGZIP(), []int{19} +} + +func (x *MessageOneofIgnoreUnpopulatedRequired) GetStrField() string { + if x != nil { + return x.StrField + } + return "" +} + +func (x *MessageOneofIgnoreUnpopulatedRequired) GetBoolField() bool { + if x != nil { + return x.BoolField + } + return false +} + +type MessageOneofIgnoreOverride struct { + state protoimpl.MessageState `protogen:"open.v1"` + MsgField *TestMsg `protobuf:"bytes,1,opt,name=msg_field,json=msgField,proto3" json:"msg_field,omitempty"` + BoolField bool `protobuf:"varint,2,opt,name=bool_field,json=boolField,proto3" json:"bool_field,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MessageOneofIgnoreOverride) Reset() { + *x = MessageOneofIgnoreOverride{} + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MessageOneofIgnoreOverride) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageOneofIgnoreOverride) ProtoMessage() {} + +func (x *MessageOneofIgnoreOverride) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[20] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageOneofIgnoreOverride.ProtoReflect.Descriptor instead. +func (*MessageOneofIgnoreOverride) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_messages_proto_rawDescGZIP(), []int{20} +} + +func (x *MessageOneofIgnoreOverride) GetMsgField() *TestMsg { + if x != nil { + return x.MsgField + } + return nil +} + +func (x *MessageOneofIgnoreOverride) GetBoolField() bool { + if x != nil { + return x.BoolField + } + return false +} + +type MessageNone_NoneMsg struct { + state protoimpl.MessageState `protogen:"open.v1"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *MessageNone_NoneMsg) Reset() { + *x = MessageNone_NoneMsg{} + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *MessageNone_NoneMsg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageNone_NoneMsg) ProtoMessage() {} + +func (x *MessageNone_NoneMsg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_messages_proto_msgTypes[21] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageNone_NoneMsg.ProtoReflect.Descriptor instead. +func (*MessageNone_NoneMsg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_messages_proto_rawDescGZIP(), []int{1, 0} +} + +var File_buf_validate_conformance_cases_messages_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_messages_proto_rawDesc = "" + + "\n" + + "-buf/validate/conformance/cases/messages.proto\x12\x1ebuf.validate.conformance.cases\x1a8buf/validate/conformance/cases/other_package/embed.proto\x1a\x1bbuf/validate/validate.proto\"l\n" + + "\aTestMsg\x12 \n" + + "\x05const\x18\x01 \x01(\tB\n" + + "\xbaH\ar\x05\n" + + "\x03fooR\x05const\x12?\n" + + "\x06nested\x18\x02 \x01(\v2'.buf.validate.conformance.cases.TestMsgR\x06nested\"_\n" + + "\vMessageNone\x12E\n" + + "\x03val\x18\x01 \x01(\v23.buf.validate.conformance.cases.MessageNone.NoneMsgR\x03val\x1a\t\n" + + "\aNoneMsg\"D\n" + + "\aMessage\x129\n" + + "\x03val\x18\x01 \x01(\v2'.buf.validate.conformance.cases.TestMsgR\x03val\"\\\n" + + "\x13MessageCrossPackage\x12E\n" + + "\x03val\x18\x01 \x01(\v23.buf.validate.conformance.cases.other_package.EmbedR\x03val\"P\n" + + "\vMessageSkip\x12A\n" + + "\x03val\x18\x01 \x01(\v2'.buf.validate.conformance.cases.TestMsgB\x06\xbaH\x03\xd8\x01\x03R\x03val\"T\n" + + "\x0fMessageRequired\x12A\n" + + "\x03val\x18\x01 \x01(\v2'.buf.validate.conformance.cases.TestMsgB\x06\xbaH\x03\xc8\x01\x01R\x03val\"l\n" + + "\x1aMessageRequiredButOptional\x12F\n" + + "\x03val\x18\x01 \x01(\v2'.buf.validate.conformance.cases.TestMsgB\x06\xbaH\x03\xc8\x01\x01H\x00R\x03val\x88\x01\x01B\x06\n" + + "\x04_val\"i\n" + + "\x14MessageRequiredOneof\x12C\n" + + "\x03val\x18\x01 \x01(\v2'.buf.validate.conformance.cases.TestMsgB\x06\xbaH\x03\xc8\x01\x01H\x00R\x03valB\f\n" + + "\x03one\x12\x05\xbaH\x02\b\x01\"\x15\n" + + "\x13MessageWith3dInside\"g\n" + + "\x17MessageOneofSingleField\x12\x1b\n" + + "\tstr_field\x18\x01 \x01(\tR\bstrField\x12\x1d\n" + + "\n" + + "bool_field\x18\x02 \x01(\bR\tboolField:\x10\xbaH\r\"\v\n" + + "\tstr_field\"q\n" + + "\x1fMessageOneofSingleFieldRequired\x12\x1b\n" + + "\tstr_field\x18\x01 \x01(\tR\bstrField\x12\x1d\n" + + "\n" + + "bool_field\x18\x02 \x01(\bR\tboolField:\x12\xbaH\x0f\"\r\n" + + "\tstr_field\x10\x01\"v\n" + + "\x1aMessageOneofMultipleFields\x12\x1b\n" + + "\tstr_field\x18\x01 \x01(\tR\bstrField\x12\x1d\n" + + "\n" + + "bool_field\x18\x02 \x01(\bR\tboolField:\x1c\xbaH\x19\"\x17\n" + + "\tstr_field\n" + + "\n" + + "bool_field\"\x80\x01\n" + + "\"MessageOneofMultipleFieldsRequired\x12\x1b\n" + + "\tstr_field\x18\x01 \x01(\tR\bstrField\x12\x1d\n" + + "\n" + + "bool_field\x18\x02 \x01(\bR\tboolField:\x1e\xbaH\x1b\"\x19\n" + + "\tstr_field\n" + + "\n" + + "bool_field\x10\x01\"\xb5\x01\n" + + " MessageOneofMultipleSharedFields\x12\x1b\n" + + "\tstr_field\x18\x01 \x01(\tR\bstrField\x12\x1d\n" + + "\n" + + "bool_field\x18\x02 \x01(\bR\tboolField\x12\x1b\n" + + "\tint_field\x18\x03 \x01(\x05R\bintField:8\xbaH5\"\x19\n" + + "\tstr_field\n" + + "\n" + + "bool_field\x10\x01\"\x18\n" + + "\tstr_field\n" + + "\tint_field\x10\x01\"G\n" + + "\x1cMessageOneofUnknownFieldName\x12\x1b\n" + + "\tstr_field\x18\x01 \x01(\tR\bstrField:\n" + + "\xbaH\a\"\x05\n" + + "\x03xxx\"\x81\x01\n" + + "\x1aMessageOneofDuplicateField\x12\x1b\n" + + "\tstr_field\x18\x01 \x01(\tR\bstrField\x12\x1d\n" + + "\n" + + "bool_field\x18\x02 \x01(\bR\tboolField:'\xbaH$\"\"\n" + + "\tstr_field\n" + + "\n" + + "bool_field\n" + + "\tstr_field\"[\n" + + "\x16MessageOneofZeroFields\x12\x1b\n" + + "\tstr_field\x18\x01 \x01(\tR\bstrField\x12\x1d\n" + + "\n" + + "bool_field\x18\x02 \x01(\bR\tboolField:\x05\xbaH\x02\"\x00\"h\n" + + "\x19MessageOneofUnsatisfiable\x12\f\n" + + "\x01a\x18\x01 \x01(\bR\x01a\x12\f\n" + + "\x01b\x18\x02 \x01(\bR\x01b\x12\f\n" + + "\x01c\x18\x03 \x01(\bR\x01c:!\xbaH\x1e\"\b\n" + + "\x01a\n" + + "\x01b\x10\x01\"\b\n" + + "\x01b\n" + + "\x01c\x10\x01\"\b\n" + + "\x01a\n" + + "\x01c\x10\x01\"\x82\x01\n" + + "\x1dMessageOneofIgnoreUnpopulated\x12\x1b\n" + + "\tstr_field\x18\x01 \x01(\tR\bstrField\x12&\n" + + "\n" + + "bool_field\x18\x02 \x01(\bB\a\xbaH\x04j\x02\b\x01R\tboolField:\x1c\xbaH\x19\"\x17\n" + + "\tstr_field\n" + + "\n" + + "bool_field\"\x8c\x01\n" + + "%MessageOneofIgnoreUnpopulatedRequired\x12\x1b\n" + + "\tstr_field\x18\x01 \x01(\tR\bstrField\x12&\n" + + "\n" + + "bool_field\x18\x02 \x01(\bB\a\xbaH\x04j\x02\b\x01R\tboolField:\x1e\xbaH\x1b\"\x19\n" + + "\tstr_field\n" + + "\n" + + "bool_field\x10\x01\"\xa7\x01\n" + + "\x1aMessageOneofIgnoreOverride\x12L\n" + + "\tmsg_field\x18\x01 \x01(\v2'.buf.validate.conformance.cases.TestMsgB\x06\xbaH\x03\xd8\x01\x03R\bmsgField\x12\x1d\n" + + "\n" + + "bool_field\x18\x02 \x01(\bR\tboolField:\x1c\xbaH\x19\"\x17\n" + + "\tmsg_field\n" + + "\n" + + "bool_fieldB\xaa\x02\n" + + "\"com.buf.validate.conformance.casesB\rMessagesProtoP\x01ZYgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Casesb\x06proto3" + +var ( + file_buf_validate_conformance_cases_messages_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_messages_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_messages_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_messages_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_messages_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_messages_proto_rawDesc), len(file_buf_validate_conformance_cases_messages_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_messages_proto_rawDescData +} + +var file_buf_validate_conformance_cases_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 22) +var file_buf_validate_conformance_cases_messages_proto_goTypes = []any{ + (*TestMsg)(nil), // 0: buf.validate.conformance.cases.TestMsg + (*MessageNone)(nil), // 1: buf.validate.conformance.cases.MessageNone + (*Message)(nil), // 2: buf.validate.conformance.cases.Message + (*MessageCrossPackage)(nil), // 3: buf.validate.conformance.cases.MessageCrossPackage + (*MessageSkip)(nil), // 4: buf.validate.conformance.cases.MessageSkip + (*MessageRequired)(nil), // 5: buf.validate.conformance.cases.MessageRequired + (*MessageRequiredButOptional)(nil), // 6: buf.validate.conformance.cases.MessageRequiredButOptional + (*MessageRequiredOneof)(nil), // 7: buf.validate.conformance.cases.MessageRequiredOneof + (*MessageWith3DInside)(nil), // 8: buf.validate.conformance.cases.MessageWith3dInside + (*MessageOneofSingleField)(nil), // 9: buf.validate.conformance.cases.MessageOneofSingleField + (*MessageOneofSingleFieldRequired)(nil), // 10: buf.validate.conformance.cases.MessageOneofSingleFieldRequired + (*MessageOneofMultipleFields)(nil), // 11: buf.validate.conformance.cases.MessageOneofMultipleFields + (*MessageOneofMultipleFieldsRequired)(nil), // 12: buf.validate.conformance.cases.MessageOneofMultipleFieldsRequired + (*MessageOneofMultipleSharedFields)(nil), // 13: buf.validate.conformance.cases.MessageOneofMultipleSharedFields + (*MessageOneofUnknownFieldName)(nil), // 14: buf.validate.conformance.cases.MessageOneofUnknownFieldName + (*MessageOneofDuplicateField)(nil), // 15: buf.validate.conformance.cases.MessageOneofDuplicateField + (*MessageOneofZeroFields)(nil), // 16: buf.validate.conformance.cases.MessageOneofZeroFields + (*MessageOneofUnsatisfiable)(nil), // 17: buf.validate.conformance.cases.MessageOneofUnsatisfiable + (*MessageOneofIgnoreUnpopulated)(nil), // 18: buf.validate.conformance.cases.MessageOneofIgnoreUnpopulated + (*MessageOneofIgnoreUnpopulatedRequired)(nil), // 19: buf.validate.conformance.cases.MessageOneofIgnoreUnpopulatedRequired + (*MessageOneofIgnoreOverride)(nil), // 20: buf.validate.conformance.cases.MessageOneofIgnoreOverride + (*MessageNone_NoneMsg)(nil), // 21: buf.validate.conformance.cases.MessageNone.NoneMsg + (*other_package.Embed)(nil), // 22: buf.validate.conformance.cases.other_package.Embed +} +var file_buf_validate_conformance_cases_messages_proto_depIdxs = []int32{ + 0, // 0: buf.validate.conformance.cases.TestMsg.nested:type_name -> buf.validate.conformance.cases.TestMsg + 21, // 1: buf.validate.conformance.cases.MessageNone.val:type_name -> buf.validate.conformance.cases.MessageNone.NoneMsg + 0, // 2: buf.validate.conformance.cases.Message.val:type_name -> buf.validate.conformance.cases.TestMsg + 22, // 3: buf.validate.conformance.cases.MessageCrossPackage.val:type_name -> buf.validate.conformance.cases.other_package.Embed + 0, // 4: buf.validate.conformance.cases.MessageSkip.val:type_name -> buf.validate.conformance.cases.TestMsg + 0, // 5: buf.validate.conformance.cases.MessageRequired.val:type_name -> buf.validate.conformance.cases.TestMsg + 0, // 6: buf.validate.conformance.cases.MessageRequiredButOptional.val:type_name -> buf.validate.conformance.cases.TestMsg + 0, // 7: buf.validate.conformance.cases.MessageRequiredOneof.val:type_name -> buf.validate.conformance.cases.TestMsg + 0, // 8: buf.validate.conformance.cases.MessageOneofIgnoreOverride.msg_field:type_name -> buf.validate.conformance.cases.TestMsg + 9, // [9:9] is the sub-list for method output_type + 9, // [9:9] is the sub-list for method input_type + 9, // [9:9] is the sub-list for extension type_name + 9, // [9:9] is the sub-list for extension extendee + 0, // [0:9] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_messages_proto_init() } +func file_buf_validate_conformance_cases_messages_proto_init() { + if File_buf_validate_conformance_cases_messages_proto != nil { + return + } + file_buf_validate_conformance_cases_messages_proto_msgTypes[6].OneofWrappers = []any{} + file_buf_validate_conformance_cases_messages_proto_msgTypes[7].OneofWrappers = []any{ + (*MessageRequiredOneof_Val)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_messages_proto_rawDesc), len(file_buf_validate_conformance_cases_messages_proto_rawDesc)), + NumEnums: 0, + NumMessages: 22, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_messages_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_messages_proto_depIdxs, + MessageInfos: file_buf_validate_conformance_cases_messages_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_messages_proto = out.File + file_buf_validate_conformance_cases_messages_proto_goTypes = nil + file_buf_validate_conformance_cases_messages_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/numbers.pb.go b/internal/gen/proto/buf/validate/conformance/cases/numbers.pb.go new file mode 100644 index 00000000..46731611 --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/numbers.pb.go @@ -0,0 +1,9057 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/numbers.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FloatNone struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FloatNone) Reset() { + *x = FloatNone{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FloatNone) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FloatNone) ProtoMessage() {} + +func (x *FloatNone) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FloatNone.ProtoReflect.Descriptor instead. +func (*FloatNone) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{0} +} + +func (x *FloatNone) GetVal() float32 { + if x != nil { + return x.Val + } + return 0 +} + +type FloatConst struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FloatConst) Reset() { + *x = FloatConst{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FloatConst) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FloatConst) ProtoMessage() {} + +func (x *FloatConst) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FloatConst.ProtoReflect.Descriptor instead. +func (*FloatConst) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{1} +} + +func (x *FloatConst) GetVal() float32 { + if x != nil { + return x.Val + } + return 0 +} + +type FloatIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FloatIn) Reset() { + *x = FloatIn{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FloatIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FloatIn) ProtoMessage() {} + +func (x *FloatIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FloatIn.ProtoReflect.Descriptor instead. +func (*FloatIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{2} +} + +func (x *FloatIn) GetVal() float32 { + if x != nil { + return x.Val + } + return 0 +} + +type FloatNotIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FloatNotIn) Reset() { + *x = FloatNotIn{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FloatNotIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FloatNotIn) ProtoMessage() {} + +func (x *FloatNotIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FloatNotIn.ProtoReflect.Descriptor instead. +func (*FloatNotIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{3} +} + +func (x *FloatNotIn) GetVal() float32 { + if x != nil { + return x.Val + } + return 0 +} + +type FloatLT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FloatLT) Reset() { + *x = FloatLT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FloatLT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FloatLT) ProtoMessage() {} + +func (x *FloatLT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FloatLT.ProtoReflect.Descriptor instead. +func (*FloatLT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{4} +} + +func (x *FloatLT) GetVal() float32 { + if x != nil { + return x.Val + } + return 0 +} + +type FloatLTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FloatLTE) Reset() { + *x = FloatLTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FloatLTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FloatLTE) ProtoMessage() {} + +func (x *FloatLTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FloatLTE.ProtoReflect.Descriptor instead. +func (*FloatLTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{5} +} + +func (x *FloatLTE) GetVal() float32 { + if x != nil { + return x.Val + } + return 0 +} + +type FloatGT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FloatGT) Reset() { + *x = FloatGT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FloatGT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FloatGT) ProtoMessage() {} + +func (x *FloatGT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FloatGT.ProtoReflect.Descriptor instead. +func (*FloatGT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{6} +} + +func (x *FloatGT) GetVal() float32 { + if x != nil { + return x.Val + } + return 0 +} + +type FloatGTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FloatGTE) Reset() { + *x = FloatGTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FloatGTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FloatGTE) ProtoMessage() {} + +func (x *FloatGTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FloatGTE.ProtoReflect.Descriptor instead. +func (*FloatGTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{7} +} + +func (x *FloatGTE) GetVal() float32 { + if x != nil { + return x.Val + } + return 0 +} + +type FloatGTLT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FloatGTLT) Reset() { + *x = FloatGTLT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FloatGTLT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FloatGTLT) ProtoMessage() {} + +func (x *FloatGTLT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FloatGTLT.ProtoReflect.Descriptor instead. +func (*FloatGTLT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{8} +} + +func (x *FloatGTLT) GetVal() float32 { + if x != nil { + return x.Val + } + return 0 +} + +type FloatExLTGT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FloatExLTGT) Reset() { + *x = FloatExLTGT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FloatExLTGT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FloatExLTGT) ProtoMessage() {} + +func (x *FloatExLTGT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FloatExLTGT.ProtoReflect.Descriptor instead. +func (*FloatExLTGT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{9} +} + +func (x *FloatExLTGT) GetVal() float32 { + if x != nil { + return x.Val + } + return 0 +} + +type FloatGTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FloatGTELTE) Reset() { + *x = FloatGTELTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FloatGTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FloatGTELTE) ProtoMessage() {} + +func (x *FloatGTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FloatGTELTE.ProtoReflect.Descriptor instead. +func (*FloatGTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{10} +} + +func (x *FloatGTELTE) GetVal() float32 { + if x != nil { + return x.Val + } + return 0 +} + +type FloatExGTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FloatExGTELTE) Reset() { + *x = FloatExGTELTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FloatExGTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FloatExGTELTE) ProtoMessage() {} + +func (x *FloatExGTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FloatExGTELTE.ProtoReflect.Descriptor instead. +func (*FloatExGTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{11} +} + +func (x *FloatExGTELTE) GetVal() float32 { + if x != nil { + return x.Val + } + return 0 +} + +type FloatFinite struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FloatFinite) Reset() { + *x = FloatFinite{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FloatFinite) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FloatFinite) ProtoMessage() {} + +func (x *FloatFinite) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FloatFinite.ProtoReflect.Descriptor instead. +func (*FloatFinite) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{12} +} + +func (x *FloatFinite) GetVal() float32 { + if x != nil { + return x.Val + } + return 0 +} + +type FloatNotFinite struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FloatNotFinite) Reset() { + *x = FloatNotFinite{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FloatNotFinite) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FloatNotFinite) ProtoMessage() {} + +func (x *FloatNotFinite) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FloatNotFinite.ProtoReflect.Descriptor instead. +func (*FloatNotFinite) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{13} +} + +func (x *FloatNotFinite) GetVal() float32 { + if x != nil { + return x.Val + } + return 0 +} + +type FloatIgnore struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FloatIgnore) Reset() { + *x = FloatIgnore{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FloatIgnore) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FloatIgnore) ProtoMessage() {} + +func (x *FloatIgnore) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FloatIgnore.ProtoReflect.Descriptor instead. +func (*FloatIgnore) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{14} +} + +func (x *FloatIgnore) GetVal() float32 { + if x != nil { + return x.Val + } + return 0 +} + +type FloatIncorrectType struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FloatIncorrectType) Reset() { + *x = FloatIncorrectType{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FloatIncorrectType) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FloatIncorrectType) ProtoMessage() {} + +func (x *FloatIncorrectType) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[15] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FloatIncorrectType.ProtoReflect.Descriptor instead. +func (*FloatIncorrectType) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{15} +} + +func (x *FloatIncorrectType) GetVal() float32 { + if x != nil { + return x.Val + } + return 0 +} + +type FloatExample struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *FloatExample) Reset() { + *x = FloatExample{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *FloatExample) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FloatExample) ProtoMessage() {} + +func (x *FloatExample) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[16] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FloatExample.ProtoReflect.Descriptor instead. +func (*FloatExample) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{16} +} + +func (x *FloatExample) GetVal() float32 { + if x != nil { + return x.Val + } + return 0 +} + +type DoubleNone struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DoubleNone) Reset() { + *x = DoubleNone{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DoubleNone) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DoubleNone) ProtoMessage() {} + +func (x *DoubleNone) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[17] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DoubleNone.ProtoReflect.Descriptor instead. +func (*DoubleNone) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{17} +} + +func (x *DoubleNone) GetVal() float64 { + if x != nil { + return x.Val + } + return 0 +} + +type DoubleConst struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DoubleConst) Reset() { + *x = DoubleConst{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DoubleConst) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DoubleConst) ProtoMessage() {} + +func (x *DoubleConst) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[18] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DoubleConst.ProtoReflect.Descriptor instead. +func (*DoubleConst) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{18} +} + +func (x *DoubleConst) GetVal() float64 { + if x != nil { + return x.Val + } + return 0 +} + +type DoubleIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DoubleIn) Reset() { + *x = DoubleIn{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DoubleIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DoubleIn) ProtoMessage() {} + +func (x *DoubleIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[19] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DoubleIn.ProtoReflect.Descriptor instead. +func (*DoubleIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{19} +} + +func (x *DoubleIn) GetVal() float64 { + if x != nil { + return x.Val + } + return 0 +} + +type DoubleNotIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DoubleNotIn) Reset() { + *x = DoubleNotIn{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DoubleNotIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DoubleNotIn) ProtoMessage() {} + +func (x *DoubleNotIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[20] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DoubleNotIn.ProtoReflect.Descriptor instead. +func (*DoubleNotIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{20} +} + +func (x *DoubleNotIn) GetVal() float64 { + if x != nil { + return x.Val + } + return 0 +} + +type DoubleLT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DoubleLT) Reset() { + *x = DoubleLT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DoubleLT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DoubleLT) ProtoMessage() {} + +func (x *DoubleLT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[21] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DoubleLT.ProtoReflect.Descriptor instead. +func (*DoubleLT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{21} +} + +func (x *DoubleLT) GetVal() float64 { + if x != nil { + return x.Val + } + return 0 +} + +type DoubleLTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DoubleLTE) Reset() { + *x = DoubleLTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DoubleLTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DoubleLTE) ProtoMessage() {} + +func (x *DoubleLTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[22] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DoubleLTE.ProtoReflect.Descriptor instead. +func (*DoubleLTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{22} +} + +func (x *DoubleLTE) GetVal() float64 { + if x != nil { + return x.Val + } + return 0 +} + +type DoubleGT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DoubleGT) Reset() { + *x = DoubleGT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DoubleGT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DoubleGT) ProtoMessage() {} + +func (x *DoubleGT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[23] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DoubleGT.ProtoReflect.Descriptor instead. +func (*DoubleGT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{23} +} + +func (x *DoubleGT) GetVal() float64 { + if x != nil { + return x.Val + } + return 0 +} + +type DoubleGTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DoubleGTE) Reset() { + *x = DoubleGTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DoubleGTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DoubleGTE) ProtoMessage() {} + +func (x *DoubleGTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[24] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DoubleGTE.ProtoReflect.Descriptor instead. +func (*DoubleGTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{24} +} + +func (x *DoubleGTE) GetVal() float64 { + if x != nil { + return x.Val + } + return 0 +} + +type DoubleGTLT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DoubleGTLT) Reset() { + *x = DoubleGTLT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DoubleGTLT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DoubleGTLT) ProtoMessage() {} + +func (x *DoubleGTLT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[25] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DoubleGTLT.ProtoReflect.Descriptor instead. +func (*DoubleGTLT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{25} +} + +func (x *DoubleGTLT) GetVal() float64 { + if x != nil { + return x.Val + } + return 0 +} + +type DoubleExLTGT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DoubleExLTGT) Reset() { + *x = DoubleExLTGT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DoubleExLTGT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DoubleExLTGT) ProtoMessage() {} + +func (x *DoubleExLTGT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[26] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DoubleExLTGT.ProtoReflect.Descriptor instead. +func (*DoubleExLTGT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{26} +} + +func (x *DoubleExLTGT) GetVal() float64 { + if x != nil { + return x.Val + } + return 0 +} + +type DoubleGTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DoubleGTELTE) Reset() { + *x = DoubleGTELTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DoubleGTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DoubleGTELTE) ProtoMessage() {} + +func (x *DoubleGTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[27] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DoubleGTELTE.ProtoReflect.Descriptor instead. +func (*DoubleGTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{27} +} + +func (x *DoubleGTELTE) GetVal() float64 { + if x != nil { + return x.Val + } + return 0 +} + +type DoubleExGTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DoubleExGTELTE) Reset() { + *x = DoubleExGTELTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DoubleExGTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DoubleExGTELTE) ProtoMessage() {} + +func (x *DoubleExGTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[28] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DoubleExGTELTE.ProtoReflect.Descriptor instead. +func (*DoubleExGTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{28} +} + +func (x *DoubleExGTELTE) GetVal() float64 { + if x != nil { + return x.Val + } + return 0 +} + +type DoubleFinite struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DoubleFinite) Reset() { + *x = DoubleFinite{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DoubleFinite) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DoubleFinite) ProtoMessage() {} + +func (x *DoubleFinite) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[29] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DoubleFinite.ProtoReflect.Descriptor instead. +func (*DoubleFinite) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{29} +} + +func (x *DoubleFinite) GetVal() float64 { + if x != nil { + return x.Val + } + return 0 +} + +type DoubleNotFinite struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DoubleNotFinite) Reset() { + *x = DoubleNotFinite{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DoubleNotFinite) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DoubleNotFinite) ProtoMessage() {} + +func (x *DoubleNotFinite) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[30] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DoubleNotFinite.ProtoReflect.Descriptor instead. +func (*DoubleNotFinite) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{30} +} + +func (x *DoubleNotFinite) GetVal() float64 { + if x != nil { + return x.Val + } + return 0 +} + +type DoubleIgnore struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DoubleIgnore) Reset() { + *x = DoubleIgnore{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DoubleIgnore) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DoubleIgnore) ProtoMessage() {} + +func (x *DoubleIgnore) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[31] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DoubleIgnore.ProtoReflect.Descriptor instead. +func (*DoubleIgnore) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{31} +} + +func (x *DoubleIgnore) GetVal() float64 { + if x != nil { + return x.Val + } + return 0 +} + +type DoubleIncorrectType struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DoubleIncorrectType) Reset() { + *x = DoubleIncorrectType{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DoubleIncorrectType) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DoubleIncorrectType) ProtoMessage() {} + +func (x *DoubleIncorrectType) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[32] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DoubleIncorrectType.ProtoReflect.Descriptor instead. +func (*DoubleIncorrectType) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{32} +} + +func (x *DoubleIncorrectType) GetVal() float64 { + if x != nil { + return x.Val + } + return 0 +} + +type DoubleExample struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DoubleExample) Reset() { + *x = DoubleExample{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DoubleExample) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DoubleExample) ProtoMessage() {} + +func (x *DoubleExample) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[33] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DoubleExample.ProtoReflect.Descriptor instead. +func (*DoubleExample) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{33} +} + +func (x *DoubleExample) GetVal() float64 { + if x != nil { + return x.Val + } + return 0 +} + +type Int32None struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int32None) Reset() { + *x = Int32None{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int32None) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int32None) ProtoMessage() {} + +func (x *Int32None) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[34] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int32None.ProtoReflect.Descriptor instead. +func (*Int32None) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{34} +} + +func (x *Int32None) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type Int32Const struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int32Const) Reset() { + *x = Int32Const{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int32Const) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int32Const) ProtoMessage() {} + +func (x *Int32Const) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[35] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int32Const.ProtoReflect.Descriptor instead. +func (*Int32Const) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{35} +} + +func (x *Int32Const) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type Int32In struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int32In) Reset() { + *x = Int32In{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int32In) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int32In) ProtoMessage() {} + +func (x *Int32In) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[36] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int32In.ProtoReflect.Descriptor instead. +func (*Int32In) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{36} +} + +func (x *Int32In) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type Int32NotIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int32NotIn) Reset() { + *x = Int32NotIn{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int32NotIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int32NotIn) ProtoMessage() {} + +func (x *Int32NotIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[37] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int32NotIn.ProtoReflect.Descriptor instead. +func (*Int32NotIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{37} +} + +func (x *Int32NotIn) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type Int32LT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int32LT) Reset() { + *x = Int32LT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int32LT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int32LT) ProtoMessage() {} + +func (x *Int32LT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[38] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int32LT.ProtoReflect.Descriptor instead. +func (*Int32LT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{38} +} + +func (x *Int32LT) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type Int32LTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int32LTE) Reset() { + *x = Int32LTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int32LTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int32LTE) ProtoMessage() {} + +func (x *Int32LTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[39] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int32LTE.ProtoReflect.Descriptor instead. +func (*Int32LTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{39} +} + +func (x *Int32LTE) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type Int32GT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int32GT) Reset() { + *x = Int32GT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int32GT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int32GT) ProtoMessage() {} + +func (x *Int32GT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[40] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int32GT.ProtoReflect.Descriptor instead. +func (*Int32GT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{40} +} + +func (x *Int32GT) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type Int32GTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int32GTE) Reset() { + *x = Int32GTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int32GTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int32GTE) ProtoMessage() {} + +func (x *Int32GTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[41] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int32GTE.ProtoReflect.Descriptor instead. +func (*Int32GTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{41} +} + +func (x *Int32GTE) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type Int32GTLT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int32GTLT) Reset() { + *x = Int32GTLT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int32GTLT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int32GTLT) ProtoMessage() {} + +func (x *Int32GTLT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[42] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int32GTLT.ProtoReflect.Descriptor instead. +func (*Int32GTLT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{42} +} + +func (x *Int32GTLT) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type Int32ExLTGT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int32ExLTGT) Reset() { + *x = Int32ExLTGT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int32ExLTGT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int32ExLTGT) ProtoMessage() {} + +func (x *Int32ExLTGT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[43] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int32ExLTGT.ProtoReflect.Descriptor instead. +func (*Int32ExLTGT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{43} +} + +func (x *Int32ExLTGT) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type Int32GTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int32GTELTE) Reset() { + *x = Int32GTELTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int32GTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int32GTELTE) ProtoMessage() {} + +func (x *Int32GTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[44] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int32GTELTE.ProtoReflect.Descriptor instead. +func (*Int32GTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{44} +} + +func (x *Int32GTELTE) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type Int32ExGTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int32ExGTELTE) Reset() { + *x = Int32ExGTELTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int32ExGTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int32ExGTELTE) ProtoMessage() {} + +func (x *Int32ExGTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[45] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int32ExGTELTE.ProtoReflect.Descriptor instead. +func (*Int32ExGTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{45} +} + +func (x *Int32ExGTELTE) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type Int32Ignore struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int32Ignore) Reset() { + *x = Int32Ignore{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int32Ignore) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int32Ignore) ProtoMessage() {} + +func (x *Int32Ignore) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[46] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int32Ignore.ProtoReflect.Descriptor instead. +func (*Int32Ignore) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{46} +} + +func (x *Int32Ignore) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type Int32IncorrectType struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int32IncorrectType) Reset() { + *x = Int32IncorrectType{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int32IncorrectType) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int32IncorrectType) ProtoMessage() {} + +func (x *Int32IncorrectType) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[47] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int32IncorrectType.ProtoReflect.Descriptor instead. +func (*Int32IncorrectType) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{47} +} + +func (x *Int32IncorrectType) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type Int32Example struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int32Example) Reset() { + *x = Int32Example{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int32Example) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int32Example) ProtoMessage() {} + +func (x *Int32Example) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[48] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int32Example.ProtoReflect.Descriptor instead. +func (*Int32Example) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{48} +} + +func (x *Int32Example) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type Int64None struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int64None) Reset() { + *x = Int64None{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int64None) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int64None) ProtoMessage() {} + +func (x *Int64None) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[49] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int64None.ProtoReflect.Descriptor instead. +func (*Int64None) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{49} +} + +func (x *Int64None) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type Int64Const struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int64Const) Reset() { + *x = Int64Const{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int64Const) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int64Const) ProtoMessage() {} + +func (x *Int64Const) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[50] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int64Const.ProtoReflect.Descriptor instead. +func (*Int64Const) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{50} +} + +func (x *Int64Const) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type Int64In struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int64In) Reset() { + *x = Int64In{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int64In) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int64In) ProtoMessage() {} + +func (x *Int64In) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[51] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int64In.ProtoReflect.Descriptor instead. +func (*Int64In) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{51} +} + +func (x *Int64In) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type Int64NotIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int64NotIn) Reset() { + *x = Int64NotIn{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int64NotIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int64NotIn) ProtoMessage() {} + +func (x *Int64NotIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[52] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int64NotIn.ProtoReflect.Descriptor instead. +func (*Int64NotIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{52} +} + +func (x *Int64NotIn) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type Int64LT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int64LT) Reset() { + *x = Int64LT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int64LT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int64LT) ProtoMessage() {} + +func (x *Int64LT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[53] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int64LT.ProtoReflect.Descriptor instead. +func (*Int64LT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{53} +} + +func (x *Int64LT) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type Int64LTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int64LTE) Reset() { + *x = Int64LTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int64LTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int64LTE) ProtoMessage() {} + +func (x *Int64LTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[54] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int64LTE.ProtoReflect.Descriptor instead. +func (*Int64LTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{54} +} + +func (x *Int64LTE) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type Int64GT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int64GT) Reset() { + *x = Int64GT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int64GT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int64GT) ProtoMessage() {} + +func (x *Int64GT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[55] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int64GT.ProtoReflect.Descriptor instead. +func (*Int64GT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{55} +} + +func (x *Int64GT) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type Int64GTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int64GTE) Reset() { + *x = Int64GTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int64GTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int64GTE) ProtoMessage() {} + +func (x *Int64GTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[56] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int64GTE.ProtoReflect.Descriptor instead. +func (*Int64GTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{56} +} + +func (x *Int64GTE) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type Int64GTLT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int64GTLT) Reset() { + *x = Int64GTLT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int64GTLT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int64GTLT) ProtoMessage() {} + +func (x *Int64GTLT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[57] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int64GTLT.ProtoReflect.Descriptor instead. +func (*Int64GTLT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{57} +} + +func (x *Int64GTLT) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type Int64ExLTGT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int64ExLTGT) Reset() { + *x = Int64ExLTGT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int64ExLTGT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int64ExLTGT) ProtoMessage() {} + +func (x *Int64ExLTGT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[58] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int64ExLTGT.ProtoReflect.Descriptor instead. +func (*Int64ExLTGT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{58} +} + +func (x *Int64ExLTGT) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type Int64GTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int64GTELTE) Reset() { + *x = Int64GTELTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int64GTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int64GTELTE) ProtoMessage() {} + +func (x *Int64GTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[59] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int64GTELTE.ProtoReflect.Descriptor instead. +func (*Int64GTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{59} +} + +func (x *Int64GTELTE) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type Int64ExGTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int64ExGTELTE) Reset() { + *x = Int64ExGTELTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int64ExGTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int64ExGTELTE) ProtoMessage() {} + +func (x *Int64ExGTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[60] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int64ExGTELTE.ProtoReflect.Descriptor instead. +func (*Int64ExGTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{60} +} + +func (x *Int64ExGTELTE) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type Int64Ignore struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int64Ignore) Reset() { + *x = Int64Ignore{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int64Ignore) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int64Ignore) ProtoMessage() {} + +func (x *Int64Ignore) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[61] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int64Ignore.ProtoReflect.Descriptor instead. +func (*Int64Ignore) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{61} +} + +func (x *Int64Ignore) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type Int64BigRules struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Intentionally choose limits that are outside the range of both signed and unsigned 32-bit integers. + LtPos int64 `protobuf:"varint,1,opt,name=lt_pos,json=ltPos,proto3" json:"lt_pos,omitempty"` + LtNeg int64 `protobuf:"varint,2,opt,name=lt_neg,json=ltNeg,proto3" json:"lt_neg,omitempty"` + GtPos int64 `protobuf:"varint,3,opt,name=gt_pos,json=gtPos,proto3" json:"gt_pos,omitempty"` + GtNeg int64 `protobuf:"varint,4,opt,name=gt_neg,json=gtNeg,proto3" json:"gt_neg,omitempty"` + LtePos int64 `protobuf:"varint,5,opt,name=lte_pos,json=ltePos,proto3" json:"lte_pos,omitempty"` + LteNeg int64 `protobuf:"varint,6,opt,name=lte_neg,json=lteNeg,proto3" json:"lte_neg,omitempty"` + GtePos int64 `protobuf:"varint,7,opt,name=gte_pos,json=gtePos,proto3" json:"gte_pos,omitempty"` + GteNeg int64 `protobuf:"varint,8,opt,name=gte_neg,json=gteNeg,proto3" json:"gte_neg,omitempty"` + ConstantPos int64 `protobuf:"varint,9,opt,name=constant_pos,json=constantPos,proto3" json:"constant_pos,omitempty"` + ConstantNeg int64 `protobuf:"varint,10,opt,name=constant_neg,json=constantNeg,proto3" json:"constant_neg,omitempty"` + In int64 `protobuf:"varint,11,opt,name=in,proto3" json:"in,omitempty"` + Notin int64 `protobuf:"varint,12,opt,name=notin,proto3" json:"notin,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int64BigRules) Reset() { + *x = Int64BigRules{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int64BigRules) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int64BigRules) ProtoMessage() {} + +func (x *Int64BigRules) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[62] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int64BigRules.ProtoReflect.Descriptor instead. +func (*Int64BigRules) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{62} +} + +func (x *Int64BigRules) GetLtPos() int64 { + if x != nil { + return x.LtPos + } + return 0 +} + +func (x *Int64BigRules) GetLtNeg() int64 { + if x != nil { + return x.LtNeg + } + return 0 +} + +func (x *Int64BigRules) GetGtPos() int64 { + if x != nil { + return x.GtPos + } + return 0 +} + +func (x *Int64BigRules) GetGtNeg() int64 { + if x != nil { + return x.GtNeg + } + return 0 +} + +func (x *Int64BigRules) GetLtePos() int64 { + if x != nil { + return x.LtePos + } + return 0 +} + +func (x *Int64BigRules) GetLteNeg() int64 { + if x != nil { + return x.LteNeg + } + return 0 +} + +func (x *Int64BigRules) GetGtePos() int64 { + if x != nil { + return x.GtePos + } + return 0 +} + +func (x *Int64BigRules) GetGteNeg() int64 { + if x != nil { + return x.GteNeg + } + return 0 +} + +func (x *Int64BigRules) GetConstantPos() int64 { + if x != nil { + return x.ConstantPos + } + return 0 +} + +func (x *Int64BigRules) GetConstantNeg() int64 { + if x != nil { + return x.ConstantNeg + } + return 0 +} + +func (x *Int64BigRules) GetIn() int64 { + if x != nil { + return x.In + } + return 0 +} + +func (x *Int64BigRules) GetNotin() int64 { + if x != nil { + return x.Notin + } + return 0 +} + +type Int64IncorrectType struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int64IncorrectType) Reset() { + *x = Int64IncorrectType{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int64IncorrectType) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int64IncorrectType) ProtoMessage() {} + +func (x *Int64IncorrectType) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[63] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int64IncorrectType.ProtoReflect.Descriptor instead. +func (*Int64IncorrectType) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{63} +} + +func (x *Int64IncorrectType) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type Int64Example struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int64Example) Reset() { + *x = Int64Example{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int64Example) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int64Example) ProtoMessage() {} + +func (x *Int64Example) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[64] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int64Example.ProtoReflect.Descriptor instead. +func (*Int64Example) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{64} +} + +func (x *Int64Example) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt32None struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt32None) Reset() { + *x = UInt32None{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt32None) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt32None) ProtoMessage() {} + +func (x *UInt32None) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[65] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt32None.ProtoReflect.Descriptor instead. +func (*UInt32None) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{65} +} + +func (x *UInt32None) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt32Const struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt32Const) Reset() { + *x = UInt32Const{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt32Const) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt32Const) ProtoMessage() {} + +func (x *UInt32Const) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[66] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt32Const.ProtoReflect.Descriptor instead. +func (*UInt32Const) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{66} +} + +func (x *UInt32Const) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt32In struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt32In) Reset() { + *x = UInt32In{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt32In) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt32In) ProtoMessage() {} + +func (x *UInt32In) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[67] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt32In.ProtoReflect.Descriptor instead. +func (*UInt32In) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{67} +} + +func (x *UInt32In) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt32NotIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt32NotIn) Reset() { + *x = UInt32NotIn{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt32NotIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt32NotIn) ProtoMessage() {} + +func (x *UInt32NotIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[68] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt32NotIn.ProtoReflect.Descriptor instead. +func (*UInt32NotIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{68} +} + +func (x *UInt32NotIn) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt32LT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt32LT) Reset() { + *x = UInt32LT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt32LT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt32LT) ProtoMessage() {} + +func (x *UInt32LT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[69] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt32LT.ProtoReflect.Descriptor instead. +func (*UInt32LT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{69} +} + +func (x *UInt32LT) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt32LTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt32LTE) Reset() { + *x = UInt32LTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt32LTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt32LTE) ProtoMessage() {} + +func (x *UInt32LTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[70] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt32LTE.ProtoReflect.Descriptor instead. +func (*UInt32LTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{70} +} + +func (x *UInt32LTE) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt32GT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt32GT) Reset() { + *x = UInt32GT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt32GT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt32GT) ProtoMessage() {} + +func (x *UInt32GT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[71] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt32GT.ProtoReflect.Descriptor instead. +func (*UInt32GT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{71} +} + +func (x *UInt32GT) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt32GTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt32GTE) Reset() { + *x = UInt32GTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt32GTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt32GTE) ProtoMessage() {} + +func (x *UInt32GTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[72] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt32GTE.ProtoReflect.Descriptor instead. +func (*UInt32GTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{72} +} + +func (x *UInt32GTE) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt32GTLT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt32GTLT) Reset() { + *x = UInt32GTLT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[73] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt32GTLT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt32GTLT) ProtoMessage() {} + +func (x *UInt32GTLT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[73] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt32GTLT.ProtoReflect.Descriptor instead. +func (*UInt32GTLT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{73} +} + +func (x *UInt32GTLT) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt32ExLTGT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt32ExLTGT) Reset() { + *x = UInt32ExLTGT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[74] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt32ExLTGT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt32ExLTGT) ProtoMessage() {} + +func (x *UInt32ExLTGT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[74] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt32ExLTGT.ProtoReflect.Descriptor instead. +func (*UInt32ExLTGT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{74} +} + +func (x *UInt32ExLTGT) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt32GTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt32GTELTE) Reset() { + *x = UInt32GTELTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[75] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt32GTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt32GTELTE) ProtoMessage() {} + +func (x *UInt32GTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[75] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt32GTELTE.ProtoReflect.Descriptor instead. +func (*UInt32GTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{75} +} + +func (x *UInt32GTELTE) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt32ExGTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt32ExGTELTE) Reset() { + *x = UInt32ExGTELTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[76] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt32ExGTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt32ExGTELTE) ProtoMessage() {} + +func (x *UInt32ExGTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[76] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt32ExGTELTE.ProtoReflect.Descriptor instead. +func (*UInt32ExGTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{76} +} + +func (x *UInt32ExGTELTE) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt32Ignore struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt32Ignore) Reset() { + *x = UInt32Ignore{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[77] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt32Ignore) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt32Ignore) ProtoMessage() {} + +func (x *UInt32Ignore) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[77] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt32Ignore.ProtoReflect.Descriptor instead. +func (*UInt32Ignore) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{77} +} + +func (x *UInt32Ignore) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt32IncorrectType struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt32IncorrectType) Reset() { + *x = UInt32IncorrectType{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[78] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt32IncorrectType) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt32IncorrectType) ProtoMessage() {} + +func (x *UInt32IncorrectType) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[78] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt32IncorrectType.ProtoReflect.Descriptor instead. +func (*UInt32IncorrectType) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{78} +} + +func (x *UInt32IncorrectType) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt32Example struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt32Example) Reset() { + *x = UInt32Example{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[79] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt32Example) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt32Example) ProtoMessage() {} + +func (x *UInt32Example) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[79] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt32Example.ProtoReflect.Descriptor instead. +func (*UInt32Example) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{79} +} + +func (x *UInt32Example) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt64None struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt64None) Reset() { + *x = UInt64None{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[80] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt64None) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt64None) ProtoMessage() {} + +func (x *UInt64None) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[80] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt64None.ProtoReflect.Descriptor instead. +func (*UInt64None) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{80} +} + +func (x *UInt64None) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt64Const struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt64Const) Reset() { + *x = UInt64Const{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[81] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt64Const) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt64Const) ProtoMessage() {} + +func (x *UInt64Const) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[81] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt64Const.ProtoReflect.Descriptor instead. +func (*UInt64Const) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{81} +} + +func (x *UInt64Const) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt64In struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt64In) Reset() { + *x = UInt64In{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[82] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt64In) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt64In) ProtoMessage() {} + +func (x *UInt64In) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[82] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt64In.ProtoReflect.Descriptor instead. +func (*UInt64In) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{82} +} + +func (x *UInt64In) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt64NotIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt64NotIn) Reset() { + *x = UInt64NotIn{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[83] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt64NotIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt64NotIn) ProtoMessage() {} + +func (x *UInt64NotIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[83] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt64NotIn.ProtoReflect.Descriptor instead. +func (*UInt64NotIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{83} +} + +func (x *UInt64NotIn) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt64LT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt64LT) Reset() { + *x = UInt64LT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[84] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt64LT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt64LT) ProtoMessage() {} + +func (x *UInt64LT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[84] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt64LT.ProtoReflect.Descriptor instead. +func (*UInt64LT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{84} +} + +func (x *UInt64LT) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt64LTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt64LTE) Reset() { + *x = UInt64LTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[85] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt64LTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt64LTE) ProtoMessage() {} + +func (x *UInt64LTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[85] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt64LTE.ProtoReflect.Descriptor instead. +func (*UInt64LTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{85} +} + +func (x *UInt64LTE) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt64GT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt64GT) Reset() { + *x = UInt64GT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[86] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt64GT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt64GT) ProtoMessage() {} + +func (x *UInt64GT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[86] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt64GT.ProtoReflect.Descriptor instead. +func (*UInt64GT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{86} +} + +func (x *UInt64GT) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt64GTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt64GTE) Reset() { + *x = UInt64GTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[87] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt64GTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt64GTE) ProtoMessage() {} + +func (x *UInt64GTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[87] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt64GTE.ProtoReflect.Descriptor instead. +func (*UInt64GTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{87} +} + +func (x *UInt64GTE) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt64GTLT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt64GTLT) Reset() { + *x = UInt64GTLT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[88] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt64GTLT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt64GTLT) ProtoMessage() {} + +func (x *UInt64GTLT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[88] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt64GTLT.ProtoReflect.Descriptor instead. +func (*UInt64GTLT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{88} +} + +func (x *UInt64GTLT) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt64ExLTGT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt64ExLTGT) Reset() { + *x = UInt64ExLTGT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[89] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt64ExLTGT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt64ExLTGT) ProtoMessage() {} + +func (x *UInt64ExLTGT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[89] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt64ExLTGT.ProtoReflect.Descriptor instead. +func (*UInt64ExLTGT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{89} +} + +func (x *UInt64ExLTGT) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt64GTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt64GTELTE) Reset() { + *x = UInt64GTELTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[90] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt64GTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt64GTELTE) ProtoMessage() {} + +func (x *UInt64GTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[90] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt64GTELTE.ProtoReflect.Descriptor instead. +func (*UInt64GTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{90} +} + +func (x *UInt64GTELTE) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt64ExGTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt64ExGTELTE) Reset() { + *x = UInt64ExGTELTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[91] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt64ExGTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt64ExGTELTE) ProtoMessage() {} + +func (x *UInt64ExGTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[91] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt64ExGTELTE.ProtoReflect.Descriptor instead. +func (*UInt64ExGTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{91} +} + +func (x *UInt64ExGTELTE) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt64Ignore struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt64Ignore) Reset() { + *x = UInt64Ignore{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[92] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt64Ignore) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt64Ignore) ProtoMessage() {} + +func (x *UInt64Ignore) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[92] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt64Ignore.ProtoReflect.Descriptor instead. +func (*UInt64Ignore) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{92} +} + +func (x *UInt64Ignore) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt64IncorrectType struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt64IncorrectType) Reset() { + *x = UInt64IncorrectType{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[93] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt64IncorrectType) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt64IncorrectType) ProtoMessage() {} + +func (x *UInt64IncorrectType) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[93] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt64IncorrectType.ProtoReflect.Descriptor instead. +func (*UInt64IncorrectType) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{93} +} + +func (x *UInt64IncorrectType) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type UInt64Example struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UInt64Example) Reset() { + *x = UInt64Example{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[94] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UInt64Example) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UInt64Example) ProtoMessage() {} + +func (x *UInt64Example) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[94] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UInt64Example.ProtoReflect.Descriptor instead. +func (*UInt64Example) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{94} +} + +func (x *UInt64Example) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt32None struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt32None) Reset() { + *x = SInt32None{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[95] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt32None) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt32None) ProtoMessage() {} + +func (x *SInt32None) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[95] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt32None.ProtoReflect.Descriptor instead. +func (*SInt32None) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{95} +} + +func (x *SInt32None) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt32Const struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt32Const) Reset() { + *x = SInt32Const{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[96] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt32Const) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt32Const) ProtoMessage() {} + +func (x *SInt32Const) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[96] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt32Const.ProtoReflect.Descriptor instead. +func (*SInt32Const) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{96} +} + +func (x *SInt32Const) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt32In struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt32In) Reset() { + *x = SInt32In{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[97] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt32In) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt32In) ProtoMessage() {} + +func (x *SInt32In) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[97] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt32In.ProtoReflect.Descriptor instead. +func (*SInt32In) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{97} +} + +func (x *SInt32In) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt32NotIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt32NotIn) Reset() { + *x = SInt32NotIn{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[98] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt32NotIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt32NotIn) ProtoMessage() {} + +func (x *SInt32NotIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[98] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt32NotIn.ProtoReflect.Descriptor instead. +func (*SInt32NotIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{98} +} + +func (x *SInt32NotIn) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt32LT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt32LT) Reset() { + *x = SInt32LT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[99] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt32LT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt32LT) ProtoMessage() {} + +func (x *SInt32LT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[99] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt32LT.ProtoReflect.Descriptor instead. +func (*SInt32LT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{99} +} + +func (x *SInt32LT) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt32LTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt32LTE) Reset() { + *x = SInt32LTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[100] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt32LTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt32LTE) ProtoMessage() {} + +func (x *SInt32LTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[100] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt32LTE.ProtoReflect.Descriptor instead. +func (*SInt32LTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{100} +} + +func (x *SInt32LTE) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt32GT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt32GT) Reset() { + *x = SInt32GT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[101] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt32GT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt32GT) ProtoMessage() {} + +func (x *SInt32GT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[101] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt32GT.ProtoReflect.Descriptor instead. +func (*SInt32GT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{101} +} + +func (x *SInt32GT) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt32GTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt32GTE) Reset() { + *x = SInt32GTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[102] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt32GTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt32GTE) ProtoMessage() {} + +func (x *SInt32GTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[102] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt32GTE.ProtoReflect.Descriptor instead. +func (*SInt32GTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{102} +} + +func (x *SInt32GTE) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt32GTLT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt32GTLT) Reset() { + *x = SInt32GTLT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[103] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt32GTLT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt32GTLT) ProtoMessage() {} + +func (x *SInt32GTLT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[103] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt32GTLT.ProtoReflect.Descriptor instead. +func (*SInt32GTLT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{103} +} + +func (x *SInt32GTLT) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt32ExLTGT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt32ExLTGT) Reset() { + *x = SInt32ExLTGT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[104] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt32ExLTGT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt32ExLTGT) ProtoMessage() {} + +func (x *SInt32ExLTGT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[104] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt32ExLTGT.ProtoReflect.Descriptor instead. +func (*SInt32ExLTGT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{104} +} + +func (x *SInt32ExLTGT) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt32GTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt32GTELTE) Reset() { + *x = SInt32GTELTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[105] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt32GTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt32GTELTE) ProtoMessage() {} + +func (x *SInt32GTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[105] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt32GTELTE.ProtoReflect.Descriptor instead. +func (*SInt32GTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{105} +} + +func (x *SInt32GTELTE) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt32ExGTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt32ExGTELTE) Reset() { + *x = SInt32ExGTELTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[106] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt32ExGTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt32ExGTELTE) ProtoMessage() {} + +func (x *SInt32ExGTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[106] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt32ExGTELTE.ProtoReflect.Descriptor instead. +func (*SInt32ExGTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{106} +} + +func (x *SInt32ExGTELTE) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt32Ignore struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt32Ignore) Reset() { + *x = SInt32Ignore{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[107] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt32Ignore) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt32Ignore) ProtoMessage() {} + +func (x *SInt32Ignore) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[107] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt32Ignore.ProtoReflect.Descriptor instead. +func (*SInt32Ignore) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{107} +} + +func (x *SInt32Ignore) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt32IncorrectType struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt32IncorrectType) Reset() { + *x = SInt32IncorrectType{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[108] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt32IncorrectType) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt32IncorrectType) ProtoMessage() {} + +func (x *SInt32IncorrectType) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[108] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt32IncorrectType.ProtoReflect.Descriptor instead. +func (*SInt32IncorrectType) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{108} +} + +func (x *SInt32IncorrectType) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt32Example struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt32Example) Reset() { + *x = SInt32Example{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[109] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt32Example) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt32Example) ProtoMessage() {} + +func (x *SInt32Example) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[109] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt32Example.ProtoReflect.Descriptor instead. +func (*SInt32Example) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{109} +} + +func (x *SInt32Example) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt64None struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt64None) Reset() { + *x = SInt64None{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[110] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt64None) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt64None) ProtoMessage() {} + +func (x *SInt64None) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[110] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt64None.ProtoReflect.Descriptor instead. +func (*SInt64None) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{110} +} + +func (x *SInt64None) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt64Const struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt64Const) Reset() { + *x = SInt64Const{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[111] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt64Const) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt64Const) ProtoMessage() {} + +func (x *SInt64Const) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[111] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt64Const.ProtoReflect.Descriptor instead. +func (*SInt64Const) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{111} +} + +func (x *SInt64Const) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt64In struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt64In) Reset() { + *x = SInt64In{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[112] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt64In) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt64In) ProtoMessage() {} + +func (x *SInt64In) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[112] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt64In.ProtoReflect.Descriptor instead. +func (*SInt64In) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{112} +} + +func (x *SInt64In) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt64NotIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt64NotIn) Reset() { + *x = SInt64NotIn{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[113] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt64NotIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt64NotIn) ProtoMessage() {} + +func (x *SInt64NotIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[113] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt64NotIn.ProtoReflect.Descriptor instead. +func (*SInt64NotIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{113} +} + +func (x *SInt64NotIn) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt64LT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt64LT) Reset() { + *x = SInt64LT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[114] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt64LT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt64LT) ProtoMessage() {} + +func (x *SInt64LT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[114] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt64LT.ProtoReflect.Descriptor instead. +func (*SInt64LT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{114} +} + +func (x *SInt64LT) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt64LTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt64LTE) Reset() { + *x = SInt64LTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[115] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt64LTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt64LTE) ProtoMessage() {} + +func (x *SInt64LTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[115] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt64LTE.ProtoReflect.Descriptor instead. +func (*SInt64LTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{115} +} + +func (x *SInt64LTE) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt64GT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt64GT) Reset() { + *x = SInt64GT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[116] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt64GT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt64GT) ProtoMessage() {} + +func (x *SInt64GT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[116] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt64GT.ProtoReflect.Descriptor instead. +func (*SInt64GT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{116} +} + +func (x *SInt64GT) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt64GTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt64GTE) Reset() { + *x = SInt64GTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[117] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt64GTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt64GTE) ProtoMessage() {} + +func (x *SInt64GTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[117] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt64GTE.ProtoReflect.Descriptor instead. +func (*SInt64GTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{117} +} + +func (x *SInt64GTE) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt64GTLT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt64GTLT) Reset() { + *x = SInt64GTLT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[118] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt64GTLT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt64GTLT) ProtoMessage() {} + +func (x *SInt64GTLT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[118] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt64GTLT.ProtoReflect.Descriptor instead. +func (*SInt64GTLT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{118} +} + +func (x *SInt64GTLT) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt64ExLTGT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt64ExLTGT) Reset() { + *x = SInt64ExLTGT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[119] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt64ExLTGT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt64ExLTGT) ProtoMessage() {} + +func (x *SInt64ExLTGT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[119] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt64ExLTGT.ProtoReflect.Descriptor instead. +func (*SInt64ExLTGT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{119} +} + +func (x *SInt64ExLTGT) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt64GTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt64GTELTE) Reset() { + *x = SInt64GTELTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[120] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt64GTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt64GTELTE) ProtoMessage() {} + +func (x *SInt64GTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[120] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt64GTELTE.ProtoReflect.Descriptor instead. +func (*SInt64GTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{120} +} + +func (x *SInt64GTELTE) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt64ExGTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt64ExGTELTE) Reset() { + *x = SInt64ExGTELTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[121] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt64ExGTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt64ExGTELTE) ProtoMessage() {} + +func (x *SInt64ExGTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[121] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt64ExGTELTE.ProtoReflect.Descriptor instead. +func (*SInt64ExGTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{121} +} + +func (x *SInt64ExGTELTE) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt64Ignore struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt64Ignore) Reset() { + *x = SInt64Ignore{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[122] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt64Ignore) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt64Ignore) ProtoMessage() {} + +func (x *SInt64Ignore) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[122] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt64Ignore.ProtoReflect.Descriptor instead. +func (*SInt64Ignore) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{122} +} + +func (x *SInt64Ignore) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt64IncorrectType struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt64IncorrectType) Reset() { + *x = SInt64IncorrectType{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[123] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt64IncorrectType) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt64IncorrectType) ProtoMessage() {} + +func (x *SInt64IncorrectType) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[123] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt64IncorrectType.ProtoReflect.Descriptor instead. +func (*SInt64IncorrectType) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{123} +} + +func (x *SInt64IncorrectType) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SInt64Example struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SInt64Example) Reset() { + *x = SInt64Example{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[124] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SInt64Example) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SInt64Example) ProtoMessage() {} + +func (x *SInt64Example) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[124] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SInt64Example.ProtoReflect.Descriptor instead. +func (*SInt64Example) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{124} +} + +func (x *SInt64Example) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed32None struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed32None) Reset() { + *x = Fixed32None{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[125] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed32None) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed32None) ProtoMessage() {} + +func (x *Fixed32None) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[125] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed32None.ProtoReflect.Descriptor instead. +func (*Fixed32None) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{125} +} + +func (x *Fixed32None) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed32Const struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed32Const) Reset() { + *x = Fixed32Const{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[126] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed32Const) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed32Const) ProtoMessage() {} + +func (x *Fixed32Const) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[126] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed32Const.ProtoReflect.Descriptor instead. +func (*Fixed32Const) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{126} +} + +func (x *Fixed32Const) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed32In struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed32In) Reset() { + *x = Fixed32In{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[127] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed32In) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed32In) ProtoMessage() {} + +func (x *Fixed32In) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[127] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed32In.ProtoReflect.Descriptor instead. +func (*Fixed32In) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{127} +} + +func (x *Fixed32In) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed32NotIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed32NotIn) Reset() { + *x = Fixed32NotIn{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[128] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed32NotIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed32NotIn) ProtoMessage() {} + +func (x *Fixed32NotIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[128] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed32NotIn.ProtoReflect.Descriptor instead. +func (*Fixed32NotIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{128} +} + +func (x *Fixed32NotIn) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed32LT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed32LT) Reset() { + *x = Fixed32LT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[129] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed32LT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed32LT) ProtoMessage() {} + +func (x *Fixed32LT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[129] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed32LT.ProtoReflect.Descriptor instead. +func (*Fixed32LT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{129} +} + +func (x *Fixed32LT) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed32LTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed32LTE) Reset() { + *x = Fixed32LTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[130] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed32LTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed32LTE) ProtoMessage() {} + +func (x *Fixed32LTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[130] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed32LTE.ProtoReflect.Descriptor instead. +func (*Fixed32LTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{130} +} + +func (x *Fixed32LTE) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed32GT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed32GT) Reset() { + *x = Fixed32GT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[131] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed32GT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed32GT) ProtoMessage() {} + +func (x *Fixed32GT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[131] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed32GT.ProtoReflect.Descriptor instead. +func (*Fixed32GT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{131} +} + +func (x *Fixed32GT) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed32GTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed32GTE) Reset() { + *x = Fixed32GTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[132] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed32GTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed32GTE) ProtoMessage() {} + +func (x *Fixed32GTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[132] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed32GTE.ProtoReflect.Descriptor instead. +func (*Fixed32GTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{132} +} + +func (x *Fixed32GTE) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed32GTLT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed32GTLT) Reset() { + *x = Fixed32GTLT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[133] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed32GTLT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed32GTLT) ProtoMessage() {} + +func (x *Fixed32GTLT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[133] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed32GTLT.ProtoReflect.Descriptor instead. +func (*Fixed32GTLT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{133} +} + +func (x *Fixed32GTLT) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed32ExLTGT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed32ExLTGT) Reset() { + *x = Fixed32ExLTGT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[134] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed32ExLTGT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed32ExLTGT) ProtoMessage() {} + +func (x *Fixed32ExLTGT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[134] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed32ExLTGT.ProtoReflect.Descriptor instead. +func (*Fixed32ExLTGT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{134} +} + +func (x *Fixed32ExLTGT) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed32GTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed32GTELTE) Reset() { + *x = Fixed32GTELTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[135] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed32GTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed32GTELTE) ProtoMessage() {} + +func (x *Fixed32GTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[135] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed32GTELTE.ProtoReflect.Descriptor instead. +func (*Fixed32GTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{135} +} + +func (x *Fixed32GTELTE) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed32ExGTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed32ExGTELTE) Reset() { + *x = Fixed32ExGTELTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[136] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed32ExGTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed32ExGTELTE) ProtoMessage() {} + +func (x *Fixed32ExGTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[136] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed32ExGTELTE.ProtoReflect.Descriptor instead. +func (*Fixed32ExGTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{136} +} + +func (x *Fixed32ExGTELTE) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed32Ignore struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed32Ignore) Reset() { + *x = Fixed32Ignore{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[137] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed32Ignore) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed32Ignore) ProtoMessage() {} + +func (x *Fixed32Ignore) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[137] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed32Ignore.ProtoReflect.Descriptor instead. +func (*Fixed32Ignore) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{137} +} + +func (x *Fixed32Ignore) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed32IncorrectType struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed32IncorrectType) Reset() { + *x = Fixed32IncorrectType{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[138] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed32IncorrectType) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed32IncorrectType) ProtoMessage() {} + +func (x *Fixed32IncorrectType) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[138] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed32IncorrectType.ProtoReflect.Descriptor instead. +func (*Fixed32IncorrectType) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{138} +} + +func (x *Fixed32IncorrectType) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed32Example struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed32Example) Reset() { + *x = Fixed32Example{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[139] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed32Example) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed32Example) ProtoMessage() {} + +func (x *Fixed32Example) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[139] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed32Example.ProtoReflect.Descriptor instead. +func (*Fixed32Example) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{139} +} + +func (x *Fixed32Example) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed64None struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed64None) Reset() { + *x = Fixed64None{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[140] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed64None) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed64None) ProtoMessage() {} + +func (x *Fixed64None) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[140] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed64None.ProtoReflect.Descriptor instead. +func (*Fixed64None) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{140} +} + +func (x *Fixed64None) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed64Const struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed64Const) Reset() { + *x = Fixed64Const{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[141] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed64Const) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed64Const) ProtoMessage() {} + +func (x *Fixed64Const) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[141] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed64Const.ProtoReflect.Descriptor instead. +func (*Fixed64Const) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{141} +} + +func (x *Fixed64Const) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed64In struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed64In) Reset() { + *x = Fixed64In{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[142] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed64In) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed64In) ProtoMessage() {} + +func (x *Fixed64In) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[142] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed64In.ProtoReflect.Descriptor instead. +func (*Fixed64In) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{142} +} + +func (x *Fixed64In) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed64NotIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed64NotIn) Reset() { + *x = Fixed64NotIn{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[143] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed64NotIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed64NotIn) ProtoMessage() {} + +func (x *Fixed64NotIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[143] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed64NotIn.ProtoReflect.Descriptor instead. +func (*Fixed64NotIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{143} +} + +func (x *Fixed64NotIn) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed64LT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed64LT) Reset() { + *x = Fixed64LT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[144] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed64LT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed64LT) ProtoMessage() {} + +func (x *Fixed64LT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[144] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed64LT.ProtoReflect.Descriptor instead. +func (*Fixed64LT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{144} +} + +func (x *Fixed64LT) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed64LTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed64LTE) Reset() { + *x = Fixed64LTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[145] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed64LTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed64LTE) ProtoMessage() {} + +func (x *Fixed64LTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[145] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed64LTE.ProtoReflect.Descriptor instead. +func (*Fixed64LTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{145} +} + +func (x *Fixed64LTE) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed64GT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed64GT) Reset() { + *x = Fixed64GT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[146] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed64GT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed64GT) ProtoMessage() {} + +func (x *Fixed64GT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[146] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed64GT.ProtoReflect.Descriptor instead. +func (*Fixed64GT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{146} +} + +func (x *Fixed64GT) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed64GTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed64GTE) Reset() { + *x = Fixed64GTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[147] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed64GTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed64GTE) ProtoMessage() {} + +func (x *Fixed64GTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[147] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed64GTE.ProtoReflect.Descriptor instead. +func (*Fixed64GTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{147} +} + +func (x *Fixed64GTE) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed64GTLT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed64GTLT) Reset() { + *x = Fixed64GTLT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[148] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed64GTLT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed64GTLT) ProtoMessage() {} + +func (x *Fixed64GTLT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[148] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed64GTLT.ProtoReflect.Descriptor instead. +func (*Fixed64GTLT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{148} +} + +func (x *Fixed64GTLT) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed64ExLTGT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed64ExLTGT) Reset() { + *x = Fixed64ExLTGT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[149] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed64ExLTGT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed64ExLTGT) ProtoMessage() {} + +func (x *Fixed64ExLTGT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[149] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed64ExLTGT.ProtoReflect.Descriptor instead. +func (*Fixed64ExLTGT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{149} +} + +func (x *Fixed64ExLTGT) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed64GTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed64GTELTE) Reset() { + *x = Fixed64GTELTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[150] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed64GTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed64GTELTE) ProtoMessage() {} + +func (x *Fixed64GTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[150] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed64GTELTE.ProtoReflect.Descriptor instead. +func (*Fixed64GTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{150} +} + +func (x *Fixed64GTELTE) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed64ExGTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed64ExGTELTE) Reset() { + *x = Fixed64ExGTELTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[151] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed64ExGTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed64ExGTELTE) ProtoMessage() {} + +func (x *Fixed64ExGTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[151] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed64ExGTELTE.ProtoReflect.Descriptor instead. +func (*Fixed64ExGTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{151} +} + +func (x *Fixed64ExGTELTE) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed64Ignore struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed64Ignore) Reset() { + *x = Fixed64Ignore{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[152] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed64Ignore) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed64Ignore) ProtoMessage() {} + +func (x *Fixed64Ignore) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[152] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed64Ignore.ProtoReflect.Descriptor instead. +func (*Fixed64Ignore) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{152} +} + +func (x *Fixed64Ignore) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed64IncorrectType struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed64IncorrectType) Reset() { + *x = Fixed64IncorrectType{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[153] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed64IncorrectType) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed64IncorrectType) ProtoMessage() {} + +func (x *Fixed64IncorrectType) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[153] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed64IncorrectType.ProtoReflect.Descriptor instead. +func (*Fixed64IncorrectType) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{153} +} + +func (x *Fixed64IncorrectType) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type Fixed64Example struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Fixed64Example) Reset() { + *x = Fixed64Example{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[154] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Fixed64Example) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fixed64Example) ProtoMessage() {} + +func (x *Fixed64Example) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[154] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fixed64Example.ProtoReflect.Descriptor instead. +func (*Fixed64Example) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{154} +} + +func (x *Fixed64Example) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed32None struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed32None) Reset() { + *x = SFixed32None{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[155] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed32None) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed32None) ProtoMessage() {} + +func (x *SFixed32None) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[155] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed32None.ProtoReflect.Descriptor instead. +func (*SFixed32None) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{155} +} + +func (x *SFixed32None) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed32Const struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed32Const) Reset() { + *x = SFixed32Const{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[156] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed32Const) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed32Const) ProtoMessage() {} + +func (x *SFixed32Const) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[156] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed32Const.ProtoReflect.Descriptor instead. +func (*SFixed32Const) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{156} +} + +func (x *SFixed32Const) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed32In struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed32In) Reset() { + *x = SFixed32In{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[157] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed32In) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed32In) ProtoMessage() {} + +func (x *SFixed32In) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[157] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed32In.ProtoReflect.Descriptor instead. +func (*SFixed32In) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{157} +} + +func (x *SFixed32In) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed32NotIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed32NotIn) Reset() { + *x = SFixed32NotIn{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[158] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed32NotIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed32NotIn) ProtoMessage() {} + +func (x *SFixed32NotIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[158] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed32NotIn.ProtoReflect.Descriptor instead. +func (*SFixed32NotIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{158} +} + +func (x *SFixed32NotIn) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed32LT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed32LT) Reset() { + *x = SFixed32LT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[159] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed32LT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed32LT) ProtoMessage() {} + +func (x *SFixed32LT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[159] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed32LT.ProtoReflect.Descriptor instead. +func (*SFixed32LT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{159} +} + +func (x *SFixed32LT) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed32LTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed32LTE) Reset() { + *x = SFixed32LTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[160] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed32LTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed32LTE) ProtoMessage() {} + +func (x *SFixed32LTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[160] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed32LTE.ProtoReflect.Descriptor instead. +func (*SFixed32LTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{160} +} + +func (x *SFixed32LTE) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed32GT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed32GT) Reset() { + *x = SFixed32GT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[161] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed32GT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed32GT) ProtoMessage() {} + +func (x *SFixed32GT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[161] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed32GT.ProtoReflect.Descriptor instead. +func (*SFixed32GT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{161} +} + +func (x *SFixed32GT) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed32GTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed32GTE) Reset() { + *x = SFixed32GTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[162] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed32GTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed32GTE) ProtoMessage() {} + +func (x *SFixed32GTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[162] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed32GTE.ProtoReflect.Descriptor instead. +func (*SFixed32GTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{162} +} + +func (x *SFixed32GTE) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed32GTLT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed32GTLT) Reset() { + *x = SFixed32GTLT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[163] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed32GTLT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed32GTLT) ProtoMessage() {} + +func (x *SFixed32GTLT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[163] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed32GTLT.ProtoReflect.Descriptor instead. +func (*SFixed32GTLT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{163} +} + +func (x *SFixed32GTLT) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed32ExLTGT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed32ExLTGT) Reset() { + *x = SFixed32ExLTGT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[164] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed32ExLTGT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed32ExLTGT) ProtoMessage() {} + +func (x *SFixed32ExLTGT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[164] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed32ExLTGT.ProtoReflect.Descriptor instead. +func (*SFixed32ExLTGT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{164} +} + +func (x *SFixed32ExLTGT) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed32GTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed32GTELTE) Reset() { + *x = SFixed32GTELTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[165] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed32GTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed32GTELTE) ProtoMessage() {} + +func (x *SFixed32GTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[165] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed32GTELTE.ProtoReflect.Descriptor instead. +func (*SFixed32GTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{165} +} + +func (x *SFixed32GTELTE) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed32ExGTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed32ExGTELTE) Reset() { + *x = SFixed32ExGTELTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[166] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed32ExGTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed32ExGTELTE) ProtoMessage() {} + +func (x *SFixed32ExGTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[166] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed32ExGTELTE.ProtoReflect.Descriptor instead. +func (*SFixed32ExGTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{166} +} + +func (x *SFixed32ExGTELTE) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed32Ignore struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed32Ignore) Reset() { + *x = SFixed32Ignore{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[167] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed32Ignore) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed32Ignore) ProtoMessage() {} + +func (x *SFixed32Ignore) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[167] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed32Ignore.ProtoReflect.Descriptor instead. +func (*SFixed32Ignore) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{167} +} + +func (x *SFixed32Ignore) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed32IncorrectType struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed32IncorrectType) Reset() { + *x = SFixed32IncorrectType{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[168] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed32IncorrectType) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed32IncorrectType) ProtoMessage() {} + +func (x *SFixed32IncorrectType) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[168] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed32IncorrectType.ProtoReflect.Descriptor instead. +func (*SFixed32IncorrectType) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{168} +} + +func (x *SFixed32IncorrectType) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed32Example struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed32Example) Reset() { + *x = SFixed32Example{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[169] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed32Example) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed32Example) ProtoMessage() {} + +func (x *SFixed32Example) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[169] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed32Example.ProtoReflect.Descriptor instead. +func (*SFixed32Example) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{169} +} + +func (x *SFixed32Example) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed64None struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed64None) Reset() { + *x = SFixed64None{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[170] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed64None) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed64None) ProtoMessage() {} + +func (x *SFixed64None) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[170] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed64None.ProtoReflect.Descriptor instead. +func (*SFixed64None) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{170} +} + +func (x *SFixed64None) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed64Const struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed64Const) Reset() { + *x = SFixed64Const{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[171] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed64Const) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed64Const) ProtoMessage() {} + +func (x *SFixed64Const) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[171] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed64Const.ProtoReflect.Descriptor instead. +func (*SFixed64Const) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{171} +} + +func (x *SFixed64Const) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed64In struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed64In) Reset() { + *x = SFixed64In{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[172] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed64In) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed64In) ProtoMessage() {} + +func (x *SFixed64In) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[172] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed64In.ProtoReflect.Descriptor instead. +func (*SFixed64In) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{172} +} + +func (x *SFixed64In) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed64NotIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed64NotIn) Reset() { + *x = SFixed64NotIn{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[173] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed64NotIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed64NotIn) ProtoMessage() {} + +func (x *SFixed64NotIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[173] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed64NotIn.ProtoReflect.Descriptor instead. +func (*SFixed64NotIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{173} +} + +func (x *SFixed64NotIn) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed64LT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed64LT) Reset() { + *x = SFixed64LT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[174] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed64LT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed64LT) ProtoMessage() {} + +func (x *SFixed64LT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[174] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed64LT.ProtoReflect.Descriptor instead. +func (*SFixed64LT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{174} +} + +func (x *SFixed64LT) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed64LTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed64LTE) Reset() { + *x = SFixed64LTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[175] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed64LTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed64LTE) ProtoMessage() {} + +func (x *SFixed64LTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[175] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed64LTE.ProtoReflect.Descriptor instead. +func (*SFixed64LTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{175} +} + +func (x *SFixed64LTE) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed64GT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed64GT) Reset() { + *x = SFixed64GT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[176] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed64GT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed64GT) ProtoMessage() {} + +func (x *SFixed64GT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[176] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed64GT.ProtoReflect.Descriptor instead. +func (*SFixed64GT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{176} +} + +func (x *SFixed64GT) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed64GTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed64GTE) Reset() { + *x = SFixed64GTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[177] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed64GTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed64GTE) ProtoMessage() {} + +func (x *SFixed64GTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[177] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed64GTE.ProtoReflect.Descriptor instead. +func (*SFixed64GTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{177} +} + +func (x *SFixed64GTE) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed64GTLT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed64GTLT) Reset() { + *x = SFixed64GTLT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[178] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed64GTLT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed64GTLT) ProtoMessage() {} + +func (x *SFixed64GTLT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[178] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed64GTLT.ProtoReflect.Descriptor instead. +func (*SFixed64GTLT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{178} +} + +func (x *SFixed64GTLT) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed64ExLTGT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed64ExLTGT) Reset() { + *x = SFixed64ExLTGT{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[179] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed64ExLTGT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed64ExLTGT) ProtoMessage() {} + +func (x *SFixed64ExLTGT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[179] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed64ExLTGT.ProtoReflect.Descriptor instead. +func (*SFixed64ExLTGT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{179} +} + +func (x *SFixed64ExLTGT) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed64GTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed64GTELTE) Reset() { + *x = SFixed64GTELTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[180] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed64GTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed64GTELTE) ProtoMessage() {} + +func (x *SFixed64GTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[180] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed64GTELTE.ProtoReflect.Descriptor instead. +func (*SFixed64GTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{180} +} + +func (x *SFixed64GTELTE) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed64ExGTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed64ExGTELTE) Reset() { + *x = SFixed64ExGTELTE{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[181] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed64ExGTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed64ExGTELTE) ProtoMessage() {} + +func (x *SFixed64ExGTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[181] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed64ExGTELTE.ProtoReflect.Descriptor instead. +func (*SFixed64ExGTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{181} +} + +func (x *SFixed64ExGTELTE) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed64Ignore struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed64Ignore) Reset() { + *x = SFixed64Ignore{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[182] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed64Ignore) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed64Ignore) ProtoMessage() {} + +func (x *SFixed64Ignore) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[182] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed64Ignore.ProtoReflect.Descriptor instead. +func (*SFixed64Ignore) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{182} +} + +func (x *SFixed64Ignore) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed64IncorrectType struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed64IncorrectType) Reset() { + *x = SFixed64IncorrectType{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[183] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed64IncorrectType) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed64IncorrectType) ProtoMessage() {} + +func (x *SFixed64IncorrectType) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[183] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed64IncorrectType.ProtoReflect.Descriptor instead. +func (*SFixed64IncorrectType) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{183} +} + +func (x *SFixed64IncorrectType) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type SFixed64Example struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SFixed64Example) Reset() { + *x = SFixed64Example{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[184] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SFixed64Example) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SFixed64Example) ProtoMessage() {} + +func (x *SFixed64Example) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[184] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SFixed64Example.ProtoReflect.Descriptor instead. +func (*SFixed64Example) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{184} +} + +func (x *SFixed64Example) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type Int64LTEOptional struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int64 `protobuf:"varint,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Int64LTEOptional) Reset() { + *x = Int64LTEOptional{} + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[185] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Int64LTEOptional) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Int64LTEOptional) ProtoMessage() {} + +func (x *Int64LTEOptional) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_numbers_proto_msgTypes[185] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Int64LTEOptional.ProtoReflect.Descriptor instead. +func (*Int64LTEOptional) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP(), []int{185} +} + +func (x *Int64LTEOptional) GetVal() int64 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +var File_buf_validate_conformance_cases_numbers_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_numbers_proto_rawDesc = "" + + "\n" + + ",buf/validate/conformance/cases/numbers.proto\x12\x1ebuf.validate.conformance.cases\x1a\x1bbuf/validate/validate.proto\"\x1d\n" + + "\tFloatNone\x12\x10\n" + + "\x03val\x18\x01 \x01(\x02R\x03val\"*\n" + + "\n" + + "FloatConst\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x02B\n" + + "\xbaH\a\n" + + "\x05\r\xa4p\x9d?R\x03val\",\n" + + "\aFloatIn\x12!\n" + + "\x03val\x18\x01 \x01(\x02B\x0f\xbaH\f\n" + + "\n" + + "5\x85\xeb\x91@5\xe1z\xfc@R\x03val\"*\n" + + "\n" + + "FloatNotIn\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x02B\n" + + "\xbaH\a\n" + + "\x05=\x00\x00\x00\x00R\x03val\"'\n" + + "\aFloatLT\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x02B\n" + + "\xbaH\a\n" + + "\x05\x15\x00\x00\x00\x00R\x03val\"(\n" + + "\bFloatLTE\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x02B\n" + + "\xbaH\a\n" + + "\x05\x1d\x00\x00\x80BR\x03val\"'\n" + + "\aFloatGT\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x02B\n" + + "\xbaH\a\n" + + "\x05%\x00\x00\x80AR\x03val\"(\n" + + "\bFloatGTE\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x02B\n" + + "\xbaH\a\n" + + "\x05-\x00\x00\x00AR\x03val\".\n" + + "\tFloatGTLT\x12!\n" + + "\x03val\x18\x01 \x01(\x02B\x0f\xbaH\f\n" + + "\n" + + "\x15\x00\x00 A%\x00\x00\x00\x00R\x03val\"0\n" + + "\vFloatExLTGT\x12!\n" + + "\x03val\x18\x01 \x01(\x02B\x0f\xbaH\f\n" + + "\n" + + "\x15\x00\x00\x00\x00%\x00\x00 AR\x03val\"0\n" + + "\vFloatGTELTE\x12!\n" + + "\x03val\x18\x01 \x01(\x02B\x0f\xbaH\f\n" + + "\n" + + "\x1d\x00\x00\x80C-\x00\x00\x00CR\x03val\"2\n" + + "\rFloatExGTELTE\x12!\n" + + "\x03val\x18\x01 \x01(\x02B\x0f\xbaH\f\n" + + "\n" + + "\x1d\x00\x00\x00C-\x00\x00\x80CR\x03val\"(\n" + + "\vFloatFinite\x12\x19\n" + + "\x03val\x18\x01 \x01(\x02B\a\xbaH\x04\n" + + "\x02@\x01R\x03val\"+\n" + + "\x0eFloatNotFinite\x12\x19\n" + + "\x03val\x18\x01 \x01(\x02B\a\xbaH\x04\n" + + "\x02@\x00R\x03val\"3\n" + + "\vFloatIgnore\x12$\n" + + "\x03val\x18\x01 \x01(\x02B\x12\xbaH\x0f\xd8\x01\x01\n" + + "\n" + + "\x1d\x00\x00\x80C-\x00\x00\x00CR\x03val\"6\n" + + "\x12FloatIncorrectType\x12 \n" + + "\x03val\x18\x01 \x01(\x02B\x0e\xbaH\v\x12\t!\x00\x00\x00\x00\x00\x00\x00\x00R\x03val\",\n" + + "\fFloatExample\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x02B\n" + + "\xbaH\a\n" + + "\x05M\x00\x00\x00AR\x03val\"\x1e\n" + + "\n" + + "DoubleNone\x12\x10\n" + + "\x03val\x18\x01 \x01(\x01R\x03val\"/\n" + + "\vDoubleConst\x12 \n" + + "\x03val\x18\x01 \x01(\x01B\x0e\xbaH\v\x12\t\t\xaeG\xe1z\x14\xae\xf3?R\x03val\"5\n" + + "\bDoubleIn\x12)\n" + + "\x03val\x18\x01 \x01(\x01B\x17\xbaH\x14\x12\x121=\n" + + "ףp=\x12@1\x8f\xc2\xf5(\\\x8f\x1f@R\x03val\"/\n" + + "\vDoubleNotIn\x12 \n" + + "\x03val\x18\x01 \x01(\x01B\x0e\xbaH\v\x12\t9\x00\x00\x00\x00\x00\x00\x00\x00R\x03val\",\n" + + "\bDoubleLT\x12 \n" + + "\x03val\x18\x01 \x01(\x01B\x0e\xbaH\v\x12\t\x11\x00\x00\x00\x00\x00\x00\x00\x00R\x03val\"-\n" + + "\tDoubleLTE\x12 \n" + + "\x03val\x18\x01 \x01(\x01B\x0e\xbaH\v\x12\t\x19\x00\x00\x00\x00\x00\x00P@R\x03val\",\n" + + "\bDoubleGT\x12 \n" + + "\x03val\x18\x01 \x01(\x01B\x0e\xbaH\v\x12\t!\x00\x00\x00\x00\x00\x000@R\x03val\"-\n" + + "\tDoubleGTE\x12 \n" + + "\x03val\x18\x01 \x01(\x01B\x0e\xbaH\v\x12\t)\x00\x00\x00\x00\x00\x00 @R\x03val\"7\n" + + "\n" + + "DoubleGTLT\x12)\n" + + "\x03val\x18\x01 \x01(\x01B\x17\xbaH\x14\x12\x12\x11\x00\x00\x00\x00\x00\x00$@!\x00\x00\x00\x00\x00\x00\x00\x00R\x03val\"9\n" + + "\fDoubleExLTGT\x12)\n" + + "\x03val\x18\x01 \x01(\x01B\x17\xbaH\x14\x12\x12\x11\x00\x00\x00\x00\x00\x00\x00\x00!\x00\x00\x00\x00\x00\x00$@R\x03val\"9\n" + + "\fDoubleGTELTE\x12)\n" + + "\x03val\x18\x01 \x01(\x01B\x17\xbaH\x14\x12\x12\x19\x00\x00\x00\x00\x00\x00p@)\x00\x00\x00\x00\x00\x00`@R\x03val\";\n" + + "\x0eDoubleExGTELTE\x12)\n" + + "\x03val\x18\x01 \x01(\x01B\x17\xbaH\x14\x12\x12\x19\x00\x00\x00\x00\x00\x00`@)\x00\x00\x00\x00\x00\x00p@R\x03val\")\n" + + "\fDoubleFinite\x12\x19\n" + + "\x03val\x18\x01 \x01(\x01B\a\xbaH\x04\x12\x02@\x01R\x03val\",\n" + + "\x0fDoubleNotFinite\x12\x19\n" + + "\x03val\x18\x01 \x01(\x01B\a\xbaH\x04\x12\x02@\x00R\x03val\"<\n" + + "\fDoubleIgnore\x12,\n" + + "\x03val\x18\x01 \x01(\x01B\x1a\xbaH\x17\xd8\x01\x01\x12\x12\x19\x00\x00\x00\x00\x00\x00p@)\x00\x00\x00\x00\x00\x00`@R\x03val\"3\n" + + "\x13DoubleIncorrectType\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x01B\n" + + "\xbaH\a\n" + + "\x05%\x00\x00\x00\x00R\x03val\"1\n" + + "\rDoubleExample\x12 \n" + + "\x03val\x18\x01 \x01(\x01B\x0e\xbaH\v\x12\tI\x00\x00\x00\x00\x00\x00\x00\x00R\x03val\"\x1d\n" + + "\tInt32None\x12\x10\n" + + "\x03val\x18\x01 \x01(\x05R\x03val\"'\n" + + "\n" + + "Int32Const\x12\x19\n" + + "\x03val\x18\x01 \x01(\x05B\a\xbaH\x04\x1a\x02\b\x01R\x03val\"&\n" + + "\aInt32In\x12\x1b\n" + + "\x03val\x18\x01 \x01(\x05B\t\xbaH\x06\x1a\x040\x020\x03R\x03val\"'\n" + + "\n" + + "Int32NotIn\x12\x19\n" + + "\x03val\x18\x01 \x01(\x05B\a\xbaH\x04\x1a\x028\x00R\x03val\"$\n" + + "\aInt32LT\x12\x19\n" + + "\x03val\x18\x01 \x01(\x05B\a\xbaH\x04\x1a\x02\x10\x00R\x03val\"%\n" + + "\bInt32LTE\x12\x19\n" + + "\x03val\x18\x01 \x01(\x05B\a\xbaH\x04\x1a\x02\x18@R\x03val\"$\n" + + "\aInt32GT\x12\x19\n" + + "\x03val\x18\x01 \x01(\x05B\a\xbaH\x04\x1a\x02 \x10R\x03val\"%\n" + + "\bInt32GTE\x12\x19\n" + + "\x03val\x18\x01 \x01(\x05B\a\xbaH\x04\x1a\x02(\bR\x03val\"(\n" + + "\tInt32GTLT\x12\x1b\n" + + "\x03val\x18\x01 \x01(\x05B\t\xbaH\x06\x1a\x04\x10\n" + + " \x00R\x03val\"*\n" + + "\vInt32ExLTGT\x12\x1b\n" + + "\x03val\x18\x01 \x01(\x05B\t\xbaH\x06\x1a\x04\x10\x00 \n" + + "R\x03val\",\n" + + "\vInt32GTELTE\x12\x1d\n" + + "\x03val\x18\x01 \x01(\x05B\v\xbaH\b\x1a\x06\x18\x80\x02(\x80\x01R\x03val\".\n" + + "\rInt32ExGTELTE\x12\x1d\n" + + "\x03val\x18\x01 \x01(\x05B\v\xbaH\b\x1a\x06\x18\x80\x01(\x80\x02R\x03val\"/\n" + + "\vInt32Ignore\x12 \n" + + "\x03val\x18\x01 \x01(\x05B\x0e\xbaH\v\xd8\x01\x01\x1a\x06\x18\x80\x02(\x80\x01R\x03val\"2\n" + + "\x12Int32IncorrectType\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x05B\n" + + "\xbaH\a\n" + + "\x05%\x00\x00\x00\x00R\x03val\")\n" + + "\fInt32Example\x12\x19\n" + + "\x03val\x18\x01 \x01(\x05B\a\xbaH\x04\x1a\x02@\n" + + "R\x03val\"\x1d\n" + + "\tInt64None\x12\x10\n" + + "\x03val\x18\x01 \x01(\x03R\x03val\"'\n" + + "\n" + + "Int64Const\x12\x19\n" + + "\x03val\x18\x01 \x01(\x03B\a\xbaH\x04\"\x02\b\x01R\x03val\"&\n" + + "\aInt64In\x12\x1b\n" + + "\x03val\x18\x01 \x01(\x03B\t\xbaH\x06\"\x040\x020\x03R\x03val\"'\n" + + "\n" + + "Int64NotIn\x12\x19\n" + + "\x03val\x18\x01 \x01(\x03B\a\xbaH\x04\"\x028\x00R\x03val\"$\n" + + "\aInt64LT\x12\x19\n" + + "\x03val\x18\x01 \x01(\x03B\a\xbaH\x04\"\x02\x10\x00R\x03val\"%\n" + + "\bInt64LTE\x12\x19\n" + + "\x03val\x18\x01 \x01(\x03B\a\xbaH\x04\"\x02\x18@R\x03val\"$\n" + + "\aInt64GT\x12\x19\n" + + "\x03val\x18\x01 \x01(\x03B\a\xbaH\x04\"\x02 \x10R\x03val\"%\n" + + "\bInt64GTE\x12\x19\n" + + "\x03val\x18\x01 \x01(\x03B\a\xbaH\x04\"\x02(\bR\x03val\"(\n" + + "\tInt64GTLT\x12\x1b\n" + + "\x03val\x18\x01 \x01(\x03B\t\xbaH\x06\"\x04\x10\n" + + " \x00R\x03val\"*\n" + + "\vInt64ExLTGT\x12\x1b\n" + + "\x03val\x18\x01 \x01(\x03B\t\xbaH\x06\"\x04\x10\x00 \n" + + "R\x03val\",\n" + + "\vInt64GTELTE\x12\x1d\n" + + "\x03val\x18\x01 \x01(\x03B\v\xbaH\b\"\x06\x18\x80\x02(\x80\x01R\x03val\".\n" + + "\rInt64ExGTELTE\x12\x1d\n" + + "\x03val\x18\x01 \x01(\x03B\v\xbaH\b\"\x06\x18\x80\x01(\x80\x02R\x03val\"/\n" + + "\vInt64Ignore\x12 \n" + + "\x03val\x18\x01 \x01(\x03B\x0e\xbaH\v\xd8\x01\x01\"\x06\x18\x80\x02(\x80\x01R\x03val\"\x86\x04\n" + + "\rInt64BigRules\x12\"\n" + + "\x06lt_pos\x18\x01 \x01(\x03B\v\xbaH\b\"\x06\x10\xa6݇\xa4\x14R\x05ltPos\x12'\n" + + "\x06lt_neg\x18\x02 \x01(\x03B\x10\xbaH\r\"\v\x10ڢ\xf8\xdb\xeb\xff\xff\xff\xff\x01R\x05ltNeg\x12\"\n" + + "\x06gt_pos\x18\x03 \x01(\x03B\v\xbaH\b\"\x06 \xa6݇\xa4\x14R\x05gtPos\x12'\n" + + "\x06gt_neg\x18\x04 \x01(\x03B\x10\xbaH\r\"\v ڢ\xf8\xdb\xeb\xff\xff\xff\xff\x01R\x05gtNeg\x12$\n" + + "\alte_pos\x18\x05 \x01(\x03B\v\xbaH\b\"\x06\x18\xa6݇\xa4\x14R\x06ltePos\x12)\n" + + "\alte_neg\x18\x06 \x01(\x03B\x10\xbaH\r\"\v\x18ڢ\xf8\xdb\xeb\xff\xff\xff\xff\x01R\x06lteNeg\x12$\n" + + "\agte_pos\x18\a \x01(\x03B\v\xbaH\b\"\x06(\xa6݇\xa4\x14R\x06gtePos\x12)\n" + + "\agte_neg\x18\b \x01(\x03B\x10\xbaH\r\"\v(ڢ\xf8\xdb\xeb\xff\xff\xff\xff\x01R\x06gteNeg\x12.\n" + + "\fconstant_pos\x18\t \x01(\x03B\v\xbaH\b\"\x06\b\xa6݇\xa4\x14R\vconstantPos\x123\n" + + "\fconstant_neg\x18\n" + + " \x01(\x03B\x10\xbaH\r\"\v\bڢ\xf8\xdb\xeb\xff\xff\xff\xff\x01R\vconstantNeg\x12&\n" + + "\x02in\x18\v \x01(\x03B\x16\xbaH\x13\"\x110\xa6݇\xa4\x140ڢ\xf8\xdb\xeb\xff\xff\xff\xff\x01R\x02in\x12,\n" + + "\x05notin\x18\f \x01(\x03B\x16\xbaH\x13\"\x118\xa6݇\xa4\x148ڢ\xf8\xdb\xeb\xff\xff\xff\xff\x01R\x05notin\"2\n" + + "\x12Int64IncorrectType\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x03B\n" + + "\xbaH\a\n" + + "\x05%\x00\x00\x00\x00R\x03val\")\n" + + "\fInt64Example\x12\x19\n" + + "\x03val\x18\x01 \x01(\x03B\a\xbaH\x04\"\x02H\n" + + "R\x03val\"\x1e\n" + + "\n" + + "UInt32None\x12\x10\n" + + "\x03val\x18\x01 \x01(\rR\x03val\"(\n" + + "\vUInt32Const\x12\x19\n" + + "\x03val\x18\x01 \x01(\rB\a\xbaH\x04*\x02\b\x01R\x03val\"'\n" + + "\bUInt32In\x12\x1b\n" + + "\x03val\x18\x01 \x01(\rB\t\xbaH\x06*\x040\x020\x03R\x03val\"(\n" + + "\vUInt32NotIn\x12\x19\n" + + "\x03val\x18\x01 \x01(\rB\a\xbaH\x04*\x028\x00R\x03val\"%\n" + + "\bUInt32LT\x12\x19\n" + + "\x03val\x18\x01 \x01(\rB\a\xbaH\x04*\x02\x10\x05R\x03val\"&\n" + + "\tUInt32LTE\x12\x19\n" + + "\x03val\x18\x01 \x01(\rB\a\xbaH\x04*\x02\x18@R\x03val\"%\n" + + "\bUInt32GT\x12\x19\n" + + "\x03val\x18\x01 \x01(\rB\a\xbaH\x04*\x02 \x10R\x03val\"&\n" + + "\tUInt32GTE\x12\x19\n" + + "\x03val\x18\x01 \x01(\rB\a\xbaH\x04*\x02(\bR\x03val\")\n" + + "\n" + + "UInt32GTLT\x12\x1b\n" + + "\x03val\x18\x01 \x01(\rB\t\xbaH\x06*\x04\x10\n" + + " \x05R\x03val\"+\n" + + "\fUInt32ExLTGT\x12\x1b\n" + + "\x03val\x18\x01 \x01(\rB\t\xbaH\x06*\x04\x10\x05 \n" + + "R\x03val\"-\n" + + "\fUInt32GTELTE\x12\x1d\n" + + "\x03val\x18\x01 \x01(\rB\v\xbaH\b*\x06\x18\x80\x02(\x80\x01R\x03val\"/\n" + + "\x0eUInt32ExGTELTE\x12\x1d\n" + + "\x03val\x18\x01 \x01(\rB\v\xbaH\b*\x06\x18\x80\x01(\x80\x02R\x03val\"0\n" + + "\fUInt32Ignore\x12 \n" + + "\x03val\x18\x01 \x01(\rB\x0e\xbaH\v\xd8\x01\x01*\x06\x18\x80\x02(\x80\x01R\x03val\"3\n" + + "\x13UInt32IncorrectType\x12\x1c\n" + + "\x03val\x18\x01 \x01(\rB\n" + + "\xbaH\a\n" + + "\x05%\x00\x00\x00\x00R\x03val\"*\n" + + "\rUInt32Example\x12\x19\n" + + "\x03val\x18\x01 \x01(\rB\a\xbaH\x04*\x02@\x00R\x03val\"\x1e\n" + + "\n" + + "UInt64None\x12\x10\n" + + "\x03val\x18\x01 \x01(\x04R\x03val\"(\n" + + "\vUInt64Const\x12\x19\n" + + "\x03val\x18\x01 \x01(\x04B\a\xbaH\x042\x02\b\x01R\x03val\"'\n" + + "\bUInt64In\x12\x1b\n" + + "\x03val\x18\x01 \x01(\x04B\t\xbaH\x062\x040\x020\x03R\x03val\"(\n" + + "\vUInt64NotIn\x12\x19\n" + + "\x03val\x18\x01 \x01(\x04B\a\xbaH\x042\x028\x00R\x03val\"%\n" + + "\bUInt64LT\x12\x19\n" + + "\x03val\x18\x01 \x01(\x04B\a\xbaH\x042\x02\x10\x05R\x03val\"&\n" + + "\tUInt64LTE\x12\x19\n" + + "\x03val\x18\x01 \x01(\x04B\a\xbaH\x042\x02\x18@R\x03val\"%\n" + + "\bUInt64GT\x12\x19\n" + + "\x03val\x18\x01 \x01(\x04B\a\xbaH\x042\x02 \x10R\x03val\"&\n" + + "\tUInt64GTE\x12\x19\n" + + "\x03val\x18\x01 \x01(\x04B\a\xbaH\x042\x02(\bR\x03val\")\n" + + "\n" + + "UInt64GTLT\x12\x1b\n" + + "\x03val\x18\x01 \x01(\x04B\t\xbaH\x062\x04\x10\n" + + " \x05R\x03val\"+\n" + + "\fUInt64ExLTGT\x12\x1b\n" + + "\x03val\x18\x01 \x01(\x04B\t\xbaH\x062\x04\x10\x05 \n" + + "R\x03val\"-\n" + + "\fUInt64GTELTE\x12\x1d\n" + + "\x03val\x18\x01 \x01(\x04B\v\xbaH\b2\x06\x18\x80\x02(\x80\x01R\x03val\"/\n" + + "\x0eUInt64ExGTELTE\x12\x1d\n" + + "\x03val\x18\x01 \x01(\x04B\v\xbaH\b2\x06\x18\x80\x01(\x80\x02R\x03val\"0\n" + + "\fUInt64Ignore\x12 \n" + + "\x03val\x18\x01 \x01(\x04B\x0e\xbaH\v\xd8\x01\x012\x06\x18\x80\x02(\x80\x01R\x03val\"3\n" + + "\x13UInt64IncorrectType\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x04B\n" + + "\xbaH\a\n" + + "\x05%\x00\x00\x00\x00R\x03val\"*\n" + + "\rUInt64Example\x12\x19\n" + + "\x03val\x18\x01 \x01(\x04B\a\xbaH\x042\x02@\x00R\x03val\"\x1e\n" + + "\n" + + "SInt32None\x12\x10\n" + + "\x03val\x18\x01 \x01(\x11R\x03val\"(\n" + + "\vSInt32Const\x12\x19\n" + + "\x03val\x18\x01 \x01(\x11B\a\xbaH\x04:\x02\b\x02R\x03val\"'\n" + + "\bSInt32In\x12\x1b\n" + + "\x03val\x18\x01 \x01(\x11B\t\xbaH\x06:\x040\x040\x06R\x03val\"(\n" + + "\vSInt32NotIn\x12\x19\n" + + "\x03val\x18\x01 \x01(\x11B\a\xbaH\x04:\x028\x00R\x03val\"%\n" + + "\bSInt32LT\x12\x19\n" + + "\x03val\x18\x01 \x01(\x11B\a\xbaH\x04:\x02\x10\x00R\x03val\"'\n" + + "\tSInt32LTE\x12\x1a\n" + + "\x03val\x18\x01 \x01(\x11B\b\xbaH\x05:\x03\x18\x80\x01R\x03val\"%\n" + + "\bSInt32GT\x12\x19\n" + + "\x03val\x18\x01 \x01(\x11B\a\xbaH\x04:\x02 R\x03val\"&\n" + + "\tSInt32GTE\x12\x19\n" + + "\x03val\x18\x01 \x01(\x11B\a\xbaH\x04:\x02(\x10R\x03val\")\n" + + "\n" + + "SInt32GTLT\x12\x1b\n" + + "\x03val\x18\x01 \x01(\x11B\t\xbaH\x06:\x04\x10\x14 \x00R\x03val\"+\n" + + "\fSInt32ExLTGT\x12\x1b\n" + + "\x03val\x18\x01 \x01(\x11B\t\xbaH\x06:\x04\x10\x00 \x14R\x03val\"-\n" + + "\fSInt32GTELTE\x12\x1d\n" + + "\x03val\x18\x01 \x01(\x11B\v\xbaH\b:\x06\x18\x80\x04(\x80\x02R\x03val\"/\n" + + "\x0eSInt32ExGTELTE\x12\x1d\n" + + "\x03val\x18\x01 \x01(\x11B\v\xbaH\b:\x06\x18\x80\x02(\x80\x04R\x03val\"0\n" + + "\fSInt32Ignore\x12 \n" + + "\x03val\x18\x01 \x01(\x11B\x0e\xbaH\v\xd8\x01\x01:\x06\x18\x80\x04(\x80\x02R\x03val\"3\n" + + "\x13SInt32IncorrectType\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x11B\n" + + "\xbaH\a\n" + + "\x05%\x00\x00\x00\x00R\x03val\"*\n" + + "\rSInt32Example\x12\x19\n" + + "\x03val\x18\x01 \x01(\x11B\a\xbaH\x04:\x02@\x00R\x03val\"\x1e\n" + + "\n" + + "SInt64None\x12\x10\n" + + "\x03val\x18\x01 \x01(\x12R\x03val\"(\n" + + "\vSInt64Const\x12\x19\n" + + "\x03val\x18\x01 \x01(\x12B\a\xbaH\x04B\x02\b\x02R\x03val\"'\n" + + "\bSInt64In\x12\x1b\n" + + "\x03val\x18\x01 \x01(\x12B\t\xbaH\x06B\x040\x040\x06R\x03val\"(\n" + + "\vSInt64NotIn\x12\x19\n" + + "\x03val\x18\x01 \x01(\x12B\a\xbaH\x04B\x028\x00R\x03val\"%\n" + + "\bSInt64LT\x12\x19\n" + + "\x03val\x18\x01 \x01(\x12B\a\xbaH\x04B\x02\x10\x00R\x03val\"'\n" + + "\tSInt64LTE\x12\x1a\n" + + "\x03val\x18\x01 \x01(\x12B\b\xbaH\x05B\x03\x18\x80\x01R\x03val\"%\n" + + "\bSInt64GT\x12\x19\n" + + "\x03val\x18\x01 \x01(\x12B\a\xbaH\x04B\x02 R\x03val\"&\n" + + "\tSInt64GTE\x12\x19\n" + + "\x03val\x18\x01 \x01(\x12B\a\xbaH\x04B\x02(\x10R\x03val\")\n" + + "\n" + + "SInt64GTLT\x12\x1b\n" + + "\x03val\x18\x01 \x01(\x12B\t\xbaH\x06B\x04\x10\x14 \x00R\x03val\"+\n" + + "\fSInt64ExLTGT\x12\x1b\n" + + "\x03val\x18\x01 \x01(\x12B\t\xbaH\x06B\x04\x10\x00 \x14R\x03val\"-\n" + + "\fSInt64GTELTE\x12\x1d\n" + + "\x03val\x18\x01 \x01(\x12B\v\xbaH\bB\x06\x18\x80\x04(\x80\x02R\x03val\"/\n" + + "\x0eSInt64ExGTELTE\x12\x1d\n" + + "\x03val\x18\x01 \x01(\x12B\v\xbaH\bB\x06\x18\x80\x02(\x80\x04R\x03val\"0\n" + + "\fSInt64Ignore\x12 \n" + + "\x03val\x18\x01 \x01(\x12B\x0e\xbaH\v\xd8\x01\x01B\x06\x18\x80\x04(\x80\x02R\x03val\"3\n" + + "\x13SInt64IncorrectType\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x12B\n" + + "\xbaH\a\n" + + "\x05%\x00\x00\x00\x00R\x03val\"*\n" + + "\rSInt64Example\x12\x19\n" + + "\x03val\x18\x01 \x01(\x12B\a\xbaH\x04B\x02@\x00R\x03val\"\x1f\n" + + "\vFixed32None\x12\x10\n" + + "\x03val\x18\x01 \x01(\aR\x03val\",\n" + + "\fFixed32Const\x12\x1c\n" + + "\x03val\x18\x01 \x01(\aB\n" + + "\xbaH\aJ\x05\r\x01\x00\x00\x00R\x03val\".\n" + + "\tFixed32In\x12!\n" + + "\x03val\x18\x01 \x01(\aB\x0f\xbaH\fJ\n" + + "5\x02\x00\x00\x005\x03\x00\x00\x00R\x03val\",\n" + + "\fFixed32NotIn\x12\x1c\n" + + "\x03val\x18\x01 \x01(\aB\n" + + "\xbaH\aJ\x05=\x00\x00\x00\x00R\x03val\")\n" + + "\tFixed32LT\x12\x1c\n" + + "\x03val\x18\x01 \x01(\aB\n" + + "\xbaH\aJ\x05\x15\x05\x00\x00\x00R\x03val\"*\n" + + "\n" + + "Fixed32LTE\x12\x1c\n" + + "\x03val\x18\x01 \x01(\aB\n" + + "\xbaH\aJ\x05\x1d@\x00\x00\x00R\x03val\")\n" + + "\tFixed32GT\x12\x1c\n" + + "\x03val\x18\x01 \x01(\aB\n" + + "\xbaH\aJ\x05%\x10\x00\x00\x00R\x03val\"*\n" + + "\n" + + "Fixed32GTE\x12\x1c\n" + + "\x03val\x18\x01 \x01(\aB\n" + + "\xbaH\aJ\x05-\b\x00\x00\x00R\x03val\"0\n" + + "\vFixed32GTLT\x12!\n" + + "\x03val\x18\x01 \x01(\aB\x0f\xbaH\fJ\n" + + "\x15\n" + + "\x00\x00\x00%\x05\x00\x00\x00R\x03val\"2\n" + + "\rFixed32ExLTGT\x12!\n" + + "\x03val\x18\x01 \x01(\aB\x0f\xbaH\fJ\n" + + "\x15\x05\x00\x00\x00%\n" + + "\x00\x00\x00R\x03val\"2\n" + + "\rFixed32GTELTE\x12!\n" + + "\x03val\x18\x01 \x01(\aB\x0f\xbaH\fJ\n" + + "\x1d\x00\x01\x00\x00-\x80\x00\x00\x00R\x03val\"4\n" + + "\x0fFixed32ExGTELTE\x12!\n" + + "\x03val\x18\x01 \x01(\aB\x0f\xbaH\fJ\n" + + "\x1d\x80\x00\x00\x00-\x00\x01\x00\x00R\x03val\"5\n" + + "\rFixed32Ignore\x12$\n" + + "\x03val\x18\x01 \x01(\aB\x12\xbaH\x0f\xd8\x01\x01J\n" + + "\x1d\x00\x01\x00\x00-\x80\x00\x00\x00R\x03val\"4\n" + + "\x14Fixed32IncorrectType\x12\x1c\n" + + "\x03val\x18\x01 \x01(\aB\n" + + "\xbaH\a\n" + + "\x05%\x00\x00\x00\x00R\x03val\".\n" + + "\x0eFixed32Example\x12\x1c\n" + + "\x03val\x18\x01 \x01(\aB\n" + + "\xbaH\aJ\x05E\x00\x00\x00\x00R\x03val\"\x1f\n" + + "\vFixed64None\x12\x10\n" + + "\x03val\x18\x01 \x01(\x06R\x03val\"0\n" + + "\fFixed64Const\x12 \n" + + "\x03val\x18\x01 \x01(\x06B\x0e\xbaH\vR\t\t\x01\x00\x00\x00\x00\x00\x00\x00R\x03val\"6\n" + + "\tFixed64In\x12)\n" + + "\x03val\x18\x01 \x01(\x06B\x17\xbaH\x14R\x121\x02\x00\x00\x00\x00\x00\x00\x001\x03\x00\x00\x00\x00\x00\x00\x00R\x03val\"0\n" + + "\fFixed64NotIn\x12 \n" + + "\x03val\x18\x01 \x01(\x06B\x0e\xbaH\vR\t9\x00\x00\x00\x00\x00\x00\x00\x00R\x03val\"-\n" + + "\tFixed64LT\x12 \n" + + "\x03val\x18\x01 \x01(\x06B\x0e\xbaH\vR\t\x11\x05\x00\x00\x00\x00\x00\x00\x00R\x03val\".\n" + + "\n" + + "Fixed64LTE\x12 \n" + + "\x03val\x18\x01 \x01(\x06B\x0e\xbaH\vR\t\x19@\x00\x00\x00\x00\x00\x00\x00R\x03val\"-\n" + + "\tFixed64GT\x12 \n" + + "\x03val\x18\x01 \x01(\x06B\x0e\xbaH\vR\t!\x10\x00\x00\x00\x00\x00\x00\x00R\x03val\".\n" + + "\n" + + "Fixed64GTE\x12 \n" + + "\x03val\x18\x01 \x01(\x06B\x0e\xbaH\vR\t)\b\x00\x00\x00\x00\x00\x00\x00R\x03val\"8\n" + + "\vFixed64GTLT\x12)\n" + + "\x03val\x18\x01 \x01(\x06B\x17\xbaH\x14R\x12\x11\n" + + "\x00\x00\x00\x00\x00\x00\x00!\x05\x00\x00\x00\x00\x00\x00\x00R\x03val\":\n" + + "\rFixed64ExLTGT\x12)\n" + + "\x03val\x18\x01 \x01(\x06B\x17\xbaH\x14R\x12\x11\x05\x00\x00\x00\x00\x00\x00\x00!\n" + + "\x00\x00\x00\x00\x00\x00\x00R\x03val\":\n" + + "\rFixed64GTELTE\x12)\n" + + "\x03val\x18\x01 \x01(\x06B\x17\xbaH\x14R\x12\x19\x00\x01\x00\x00\x00\x00\x00\x00)\x80\x00\x00\x00\x00\x00\x00\x00R\x03val\"<\n" + + "\x0fFixed64ExGTELTE\x12)\n" + + "\x03val\x18\x01 \x01(\x06B\x17\xbaH\x14R\x12\x19\x80\x00\x00\x00\x00\x00\x00\x00)\x00\x01\x00\x00\x00\x00\x00\x00R\x03val\"=\n" + + "\rFixed64Ignore\x12,\n" + + "\x03val\x18\x01 \x01(\x06B\x1a\xbaH\x17\xd8\x01\x01R\x12\x19\x00\x01\x00\x00\x00\x00\x00\x00)\x80\x00\x00\x00\x00\x00\x00\x00R\x03val\"4\n" + + "\x14Fixed64IncorrectType\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x06B\n" + + "\xbaH\a\n" + + "\x05%\x00\x00\x00\x00R\x03val\"2\n" + + "\x0eFixed64Example\x12 \n" + + "\x03val\x18\x01 \x01(\x06B\x0e\xbaH\vR\tA\x00\x00\x00\x00\x00\x00\x00\x00R\x03val\" \n" + + "\fSFixed32None\x12\x10\n" + + "\x03val\x18\x01 \x01(\x0fR\x03val\"-\n" + + "\rSFixed32Const\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x0fB\n" + + "\xbaH\aZ\x05\r\x01\x00\x00\x00R\x03val\"/\n" + + "\n" + + "SFixed32In\x12!\n" + + "\x03val\x18\x01 \x01(\x0fB\x0f\xbaH\fZ\n" + + "5\x02\x00\x00\x005\x03\x00\x00\x00R\x03val\"-\n" + + "\rSFixed32NotIn\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x0fB\n" + + "\xbaH\aZ\x05=\x00\x00\x00\x00R\x03val\"*\n" + + "\n" + + "SFixed32LT\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x0fB\n" + + "\xbaH\aZ\x05\x15\x00\x00\x00\x00R\x03val\"+\n" + + "\vSFixed32LTE\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x0fB\n" + + "\xbaH\aZ\x05\x1d@\x00\x00\x00R\x03val\"*\n" + + "\n" + + "SFixed32GT\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x0fB\n" + + "\xbaH\aZ\x05%\x10\x00\x00\x00R\x03val\"+\n" + + "\vSFixed32GTE\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x0fB\n" + + "\xbaH\aZ\x05-\b\x00\x00\x00R\x03val\"1\n" + + "\fSFixed32GTLT\x12!\n" + + "\x03val\x18\x01 \x01(\x0fB\x0f\xbaH\fZ\n" + + "\x15\n" + + "\x00\x00\x00%\x00\x00\x00\x00R\x03val\"3\n" + + "\x0eSFixed32ExLTGT\x12!\n" + + "\x03val\x18\x01 \x01(\x0fB\x0f\xbaH\fZ\n" + + "\x15\x00\x00\x00\x00%\n" + + "\x00\x00\x00R\x03val\"3\n" + + "\x0eSFixed32GTELTE\x12!\n" + + "\x03val\x18\x01 \x01(\x0fB\x0f\xbaH\fZ\n" + + "\x1d\x00\x01\x00\x00-\x80\x00\x00\x00R\x03val\"5\n" + + "\x10SFixed32ExGTELTE\x12!\n" + + "\x03val\x18\x01 \x01(\x0fB\x0f\xbaH\fZ\n" + + "\x1d\x80\x00\x00\x00-\x00\x01\x00\x00R\x03val\"6\n" + + "\x0eSFixed32Ignore\x12$\n" + + "\x03val\x18\x01 \x01(\x0fB\x12\xbaH\x0f\xd8\x01\x01Z\n" + + "\x1d\x00\x01\x00\x00-\x80\x00\x00\x00R\x03val\"5\n" + + "\x15SFixed32IncorrectType\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x0fB\n" + + "\xbaH\a\n" + + "\x05%\x00\x00\x00\x00R\x03val\"/\n" + + "\x0fSFixed32Example\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x0fB\n" + + "\xbaH\aZ\x05E\x00\x00\x00\x00R\x03val\" \n" + + "\fSFixed64None\x12\x10\n" + + "\x03val\x18\x01 \x01(\x10R\x03val\"1\n" + + "\rSFixed64Const\x12 \n" + + "\x03val\x18\x01 \x01(\x10B\x0e\xbaH\vb\t\t\x01\x00\x00\x00\x00\x00\x00\x00R\x03val\"7\n" + + "\n" + + "SFixed64In\x12)\n" + + "\x03val\x18\x01 \x01(\x10B\x17\xbaH\x14b\x121\x02\x00\x00\x00\x00\x00\x00\x001\x03\x00\x00\x00\x00\x00\x00\x00R\x03val\"1\n" + + "\rSFixed64NotIn\x12 \n" + + "\x03val\x18\x01 \x01(\x10B\x0e\xbaH\vb\t9\x00\x00\x00\x00\x00\x00\x00\x00R\x03val\".\n" + + "\n" + + "SFixed64LT\x12 \n" + + "\x03val\x18\x01 \x01(\x10B\x0e\xbaH\vb\t\x11\x00\x00\x00\x00\x00\x00\x00\x00R\x03val\"/\n" + + "\vSFixed64LTE\x12 \n" + + "\x03val\x18\x01 \x01(\x10B\x0e\xbaH\vb\t\x19@\x00\x00\x00\x00\x00\x00\x00R\x03val\".\n" + + "\n" + + "SFixed64GT\x12 \n" + + "\x03val\x18\x01 \x01(\x10B\x0e\xbaH\vb\t!\x10\x00\x00\x00\x00\x00\x00\x00R\x03val\"/\n" + + "\vSFixed64GTE\x12 \n" + + "\x03val\x18\x01 \x01(\x10B\x0e\xbaH\vb\t)\b\x00\x00\x00\x00\x00\x00\x00R\x03val\"9\n" + + "\fSFixed64GTLT\x12)\n" + + "\x03val\x18\x01 \x01(\x10B\x17\xbaH\x14b\x12\x11\n" + + "\x00\x00\x00\x00\x00\x00\x00!\x00\x00\x00\x00\x00\x00\x00\x00R\x03val\";\n" + + "\x0eSFixed64ExLTGT\x12)\n" + + "\x03val\x18\x01 \x01(\x10B\x17\xbaH\x14b\x12\x11\x00\x00\x00\x00\x00\x00\x00\x00!\n" + + "\x00\x00\x00\x00\x00\x00\x00R\x03val\";\n" + + "\x0eSFixed64GTELTE\x12)\n" + + "\x03val\x18\x01 \x01(\x10B\x17\xbaH\x14b\x12\x19\x00\x01\x00\x00\x00\x00\x00\x00)\x80\x00\x00\x00\x00\x00\x00\x00R\x03val\"=\n" + + "\x10SFixed64ExGTELTE\x12)\n" + + "\x03val\x18\x01 \x01(\x10B\x17\xbaH\x14b\x12\x19\x80\x00\x00\x00\x00\x00\x00\x00)\x00\x01\x00\x00\x00\x00\x00\x00R\x03val\">\n" + + "\x0eSFixed64Ignore\x12,\n" + + "\x03val\x18\x01 \x01(\x10B\x1a\xbaH\x17\xd8\x01\x01b\x12\x19\x00\x01\x00\x00\x00\x00\x00\x00)\x80\x00\x00\x00\x00\x00\x00\x00R\x03val\"5\n" + + "\x15SFixed64IncorrectType\x12\x1c\n" + + "\x03val\x18\x01 \x01(\x10B\n" + + "\xbaH\a\n" + + "\x05%\x00\x00\x00\x00R\x03val\"3\n" + + "\x0fSFixed64Example\x12 \n" + + "\x03val\x18\x01 \x01(\x10B\x0e\xbaH\vb\tA\x00\x00\x00\x00\x00\x00\x00\x00R\x03val\":\n" + + "\x10Int64LTEOptional\x12\x1e\n" + + "\x03val\x18\x01 \x01(\x03B\a\xbaH\x04\"\x02\x18@H\x00R\x03val\x88\x01\x01B\x06\n" + + "\x04_valB\xa9\x02\n" + + "\"com.buf.validate.conformance.casesB\fNumbersProtoP\x01ZYgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Casesb\x06proto3" + +var ( + file_buf_validate_conformance_cases_numbers_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_numbers_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_numbers_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_numbers_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_numbers_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_numbers_proto_rawDesc), len(file_buf_validate_conformance_cases_numbers_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_numbers_proto_rawDescData +} + +var file_buf_validate_conformance_cases_numbers_proto_msgTypes = make([]protoimpl.MessageInfo, 186) +var file_buf_validate_conformance_cases_numbers_proto_goTypes = []any{ + (*FloatNone)(nil), // 0: buf.validate.conformance.cases.FloatNone + (*FloatConst)(nil), // 1: buf.validate.conformance.cases.FloatConst + (*FloatIn)(nil), // 2: buf.validate.conformance.cases.FloatIn + (*FloatNotIn)(nil), // 3: buf.validate.conformance.cases.FloatNotIn + (*FloatLT)(nil), // 4: buf.validate.conformance.cases.FloatLT + (*FloatLTE)(nil), // 5: buf.validate.conformance.cases.FloatLTE + (*FloatGT)(nil), // 6: buf.validate.conformance.cases.FloatGT + (*FloatGTE)(nil), // 7: buf.validate.conformance.cases.FloatGTE + (*FloatGTLT)(nil), // 8: buf.validate.conformance.cases.FloatGTLT + (*FloatExLTGT)(nil), // 9: buf.validate.conformance.cases.FloatExLTGT + (*FloatGTELTE)(nil), // 10: buf.validate.conformance.cases.FloatGTELTE + (*FloatExGTELTE)(nil), // 11: buf.validate.conformance.cases.FloatExGTELTE + (*FloatFinite)(nil), // 12: buf.validate.conformance.cases.FloatFinite + (*FloatNotFinite)(nil), // 13: buf.validate.conformance.cases.FloatNotFinite + (*FloatIgnore)(nil), // 14: buf.validate.conformance.cases.FloatIgnore + (*FloatIncorrectType)(nil), // 15: buf.validate.conformance.cases.FloatIncorrectType + (*FloatExample)(nil), // 16: buf.validate.conformance.cases.FloatExample + (*DoubleNone)(nil), // 17: buf.validate.conformance.cases.DoubleNone + (*DoubleConst)(nil), // 18: buf.validate.conformance.cases.DoubleConst + (*DoubleIn)(nil), // 19: buf.validate.conformance.cases.DoubleIn + (*DoubleNotIn)(nil), // 20: buf.validate.conformance.cases.DoubleNotIn + (*DoubleLT)(nil), // 21: buf.validate.conformance.cases.DoubleLT + (*DoubleLTE)(nil), // 22: buf.validate.conformance.cases.DoubleLTE + (*DoubleGT)(nil), // 23: buf.validate.conformance.cases.DoubleGT + (*DoubleGTE)(nil), // 24: buf.validate.conformance.cases.DoubleGTE + (*DoubleGTLT)(nil), // 25: buf.validate.conformance.cases.DoubleGTLT + (*DoubleExLTGT)(nil), // 26: buf.validate.conformance.cases.DoubleExLTGT + (*DoubleGTELTE)(nil), // 27: buf.validate.conformance.cases.DoubleGTELTE + (*DoubleExGTELTE)(nil), // 28: buf.validate.conformance.cases.DoubleExGTELTE + (*DoubleFinite)(nil), // 29: buf.validate.conformance.cases.DoubleFinite + (*DoubleNotFinite)(nil), // 30: buf.validate.conformance.cases.DoubleNotFinite + (*DoubleIgnore)(nil), // 31: buf.validate.conformance.cases.DoubleIgnore + (*DoubleIncorrectType)(nil), // 32: buf.validate.conformance.cases.DoubleIncorrectType + (*DoubleExample)(nil), // 33: buf.validate.conformance.cases.DoubleExample + (*Int32None)(nil), // 34: buf.validate.conformance.cases.Int32None + (*Int32Const)(nil), // 35: buf.validate.conformance.cases.Int32Const + (*Int32In)(nil), // 36: buf.validate.conformance.cases.Int32In + (*Int32NotIn)(nil), // 37: buf.validate.conformance.cases.Int32NotIn + (*Int32LT)(nil), // 38: buf.validate.conformance.cases.Int32LT + (*Int32LTE)(nil), // 39: buf.validate.conformance.cases.Int32LTE + (*Int32GT)(nil), // 40: buf.validate.conformance.cases.Int32GT + (*Int32GTE)(nil), // 41: buf.validate.conformance.cases.Int32GTE + (*Int32GTLT)(nil), // 42: buf.validate.conformance.cases.Int32GTLT + (*Int32ExLTGT)(nil), // 43: buf.validate.conformance.cases.Int32ExLTGT + (*Int32GTELTE)(nil), // 44: buf.validate.conformance.cases.Int32GTELTE + (*Int32ExGTELTE)(nil), // 45: buf.validate.conformance.cases.Int32ExGTELTE + (*Int32Ignore)(nil), // 46: buf.validate.conformance.cases.Int32Ignore + (*Int32IncorrectType)(nil), // 47: buf.validate.conformance.cases.Int32IncorrectType + (*Int32Example)(nil), // 48: buf.validate.conformance.cases.Int32Example + (*Int64None)(nil), // 49: buf.validate.conformance.cases.Int64None + (*Int64Const)(nil), // 50: buf.validate.conformance.cases.Int64Const + (*Int64In)(nil), // 51: buf.validate.conformance.cases.Int64In + (*Int64NotIn)(nil), // 52: buf.validate.conformance.cases.Int64NotIn + (*Int64LT)(nil), // 53: buf.validate.conformance.cases.Int64LT + (*Int64LTE)(nil), // 54: buf.validate.conformance.cases.Int64LTE + (*Int64GT)(nil), // 55: buf.validate.conformance.cases.Int64GT + (*Int64GTE)(nil), // 56: buf.validate.conformance.cases.Int64GTE + (*Int64GTLT)(nil), // 57: buf.validate.conformance.cases.Int64GTLT + (*Int64ExLTGT)(nil), // 58: buf.validate.conformance.cases.Int64ExLTGT + (*Int64GTELTE)(nil), // 59: buf.validate.conformance.cases.Int64GTELTE + (*Int64ExGTELTE)(nil), // 60: buf.validate.conformance.cases.Int64ExGTELTE + (*Int64Ignore)(nil), // 61: buf.validate.conformance.cases.Int64Ignore + (*Int64BigRules)(nil), // 62: buf.validate.conformance.cases.Int64BigRules + (*Int64IncorrectType)(nil), // 63: buf.validate.conformance.cases.Int64IncorrectType + (*Int64Example)(nil), // 64: buf.validate.conformance.cases.Int64Example + (*UInt32None)(nil), // 65: buf.validate.conformance.cases.UInt32None + (*UInt32Const)(nil), // 66: buf.validate.conformance.cases.UInt32Const + (*UInt32In)(nil), // 67: buf.validate.conformance.cases.UInt32In + (*UInt32NotIn)(nil), // 68: buf.validate.conformance.cases.UInt32NotIn + (*UInt32LT)(nil), // 69: buf.validate.conformance.cases.UInt32LT + (*UInt32LTE)(nil), // 70: buf.validate.conformance.cases.UInt32LTE + (*UInt32GT)(nil), // 71: buf.validate.conformance.cases.UInt32GT + (*UInt32GTE)(nil), // 72: buf.validate.conformance.cases.UInt32GTE + (*UInt32GTLT)(nil), // 73: buf.validate.conformance.cases.UInt32GTLT + (*UInt32ExLTGT)(nil), // 74: buf.validate.conformance.cases.UInt32ExLTGT + (*UInt32GTELTE)(nil), // 75: buf.validate.conformance.cases.UInt32GTELTE + (*UInt32ExGTELTE)(nil), // 76: buf.validate.conformance.cases.UInt32ExGTELTE + (*UInt32Ignore)(nil), // 77: buf.validate.conformance.cases.UInt32Ignore + (*UInt32IncorrectType)(nil), // 78: buf.validate.conformance.cases.UInt32IncorrectType + (*UInt32Example)(nil), // 79: buf.validate.conformance.cases.UInt32Example + (*UInt64None)(nil), // 80: buf.validate.conformance.cases.UInt64None + (*UInt64Const)(nil), // 81: buf.validate.conformance.cases.UInt64Const + (*UInt64In)(nil), // 82: buf.validate.conformance.cases.UInt64In + (*UInt64NotIn)(nil), // 83: buf.validate.conformance.cases.UInt64NotIn + (*UInt64LT)(nil), // 84: buf.validate.conformance.cases.UInt64LT + (*UInt64LTE)(nil), // 85: buf.validate.conformance.cases.UInt64LTE + (*UInt64GT)(nil), // 86: buf.validate.conformance.cases.UInt64GT + (*UInt64GTE)(nil), // 87: buf.validate.conformance.cases.UInt64GTE + (*UInt64GTLT)(nil), // 88: buf.validate.conformance.cases.UInt64GTLT + (*UInt64ExLTGT)(nil), // 89: buf.validate.conformance.cases.UInt64ExLTGT + (*UInt64GTELTE)(nil), // 90: buf.validate.conformance.cases.UInt64GTELTE + (*UInt64ExGTELTE)(nil), // 91: buf.validate.conformance.cases.UInt64ExGTELTE + (*UInt64Ignore)(nil), // 92: buf.validate.conformance.cases.UInt64Ignore + (*UInt64IncorrectType)(nil), // 93: buf.validate.conformance.cases.UInt64IncorrectType + (*UInt64Example)(nil), // 94: buf.validate.conformance.cases.UInt64Example + (*SInt32None)(nil), // 95: buf.validate.conformance.cases.SInt32None + (*SInt32Const)(nil), // 96: buf.validate.conformance.cases.SInt32Const + (*SInt32In)(nil), // 97: buf.validate.conformance.cases.SInt32In + (*SInt32NotIn)(nil), // 98: buf.validate.conformance.cases.SInt32NotIn + (*SInt32LT)(nil), // 99: buf.validate.conformance.cases.SInt32LT + (*SInt32LTE)(nil), // 100: buf.validate.conformance.cases.SInt32LTE + (*SInt32GT)(nil), // 101: buf.validate.conformance.cases.SInt32GT + (*SInt32GTE)(nil), // 102: buf.validate.conformance.cases.SInt32GTE + (*SInt32GTLT)(nil), // 103: buf.validate.conformance.cases.SInt32GTLT + (*SInt32ExLTGT)(nil), // 104: buf.validate.conformance.cases.SInt32ExLTGT + (*SInt32GTELTE)(nil), // 105: buf.validate.conformance.cases.SInt32GTELTE + (*SInt32ExGTELTE)(nil), // 106: buf.validate.conformance.cases.SInt32ExGTELTE + (*SInt32Ignore)(nil), // 107: buf.validate.conformance.cases.SInt32Ignore + (*SInt32IncorrectType)(nil), // 108: buf.validate.conformance.cases.SInt32IncorrectType + (*SInt32Example)(nil), // 109: buf.validate.conformance.cases.SInt32Example + (*SInt64None)(nil), // 110: buf.validate.conformance.cases.SInt64None + (*SInt64Const)(nil), // 111: buf.validate.conformance.cases.SInt64Const + (*SInt64In)(nil), // 112: buf.validate.conformance.cases.SInt64In + (*SInt64NotIn)(nil), // 113: buf.validate.conformance.cases.SInt64NotIn + (*SInt64LT)(nil), // 114: buf.validate.conformance.cases.SInt64LT + (*SInt64LTE)(nil), // 115: buf.validate.conformance.cases.SInt64LTE + (*SInt64GT)(nil), // 116: buf.validate.conformance.cases.SInt64GT + (*SInt64GTE)(nil), // 117: buf.validate.conformance.cases.SInt64GTE + (*SInt64GTLT)(nil), // 118: buf.validate.conformance.cases.SInt64GTLT + (*SInt64ExLTGT)(nil), // 119: buf.validate.conformance.cases.SInt64ExLTGT + (*SInt64GTELTE)(nil), // 120: buf.validate.conformance.cases.SInt64GTELTE + (*SInt64ExGTELTE)(nil), // 121: buf.validate.conformance.cases.SInt64ExGTELTE + (*SInt64Ignore)(nil), // 122: buf.validate.conformance.cases.SInt64Ignore + (*SInt64IncorrectType)(nil), // 123: buf.validate.conformance.cases.SInt64IncorrectType + (*SInt64Example)(nil), // 124: buf.validate.conformance.cases.SInt64Example + (*Fixed32None)(nil), // 125: buf.validate.conformance.cases.Fixed32None + (*Fixed32Const)(nil), // 126: buf.validate.conformance.cases.Fixed32Const + (*Fixed32In)(nil), // 127: buf.validate.conformance.cases.Fixed32In + (*Fixed32NotIn)(nil), // 128: buf.validate.conformance.cases.Fixed32NotIn + (*Fixed32LT)(nil), // 129: buf.validate.conformance.cases.Fixed32LT + (*Fixed32LTE)(nil), // 130: buf.validate.conformance.cases.Fixed32LTE + (*Fixed32GT)(nil), // 131: buf.validate.conformance.cases.Fixed32GT + (*Fixed32GTE)(nil), // 132: buf.validate.conformance.cases.Fixed32GTE + (*Fixed32GTLT)(nil), // 133: buf.validate.conformance.cases.Fixed32GTLT + (*Fixed32ExLTGT)(nil), // 134: buf.validate.conformance.cases.Fixed32ExLTGT + (*Fixed32GTELTE)(nil), // 135: buf.validate.conformance.cases.Fixed32GTELTE + (*Fixed32ExGTELTE)(nil), // 136: buf.validate.conformance.cases.Fixed32ExGTELTE + (*Fixed32Ignore)(nil), // 137: buf.validate.conformance.cases.Fixed32Ignore + (*Fixed32IncorrectType)(nil), // 138: buf.validate.conformance.cases.Fixed32IncorrectType + (*Fixed32Example)(nil), // 139: buf.validate.conformance.cases.Fixed32Example + (*Fixed64None)(nil), // 140: buf.validate.conformance.cases.Fixed64None + (*Fixed64Const)(nil), // 141: buf.validate.conformance.cases.Fixed64Const + (*Fixed64In)(nil), // 142: buf.validate.conformance.cases.Fixed64In + (*Fixed64NotIn)(nil), // 143: buf.validate.conformance.cases.Fixed64NotIn + (*Fixed64LT)(nil), // 144: buf.validate.conformance.cases.Fixed64LT + (*Fixed64LTE)(nil), // 145: buf.validate.conformance.cases.Fixed64LTE + (*Fixed64GT)(nil), // 146: buf.validate.conformance.cases.Fixed64GT + (*Fixed64GTE)(nil), // 147: buf.validate.conformance.cases.Fixed64GTE + (*Fixed64GTLT)(nil), // 148: buf.validate.conformance.cases.Fixed64GTLT + (*Fixed64ExLTGT)(nil), // 149: buf.validate.conformance.cases.Fixed64ExLTGT + (*Fixed64GTELTE)(nil), // 150: buf.validate.conformance.cases.Fixed64GTELTE + (*Fixed64ExGTELTE)(nil), // 151: buf.validate.conformance.cases.Fixed64ExGTELTE + (*Fixed64Ignore)(nil), // 152: buf.validate.conformance.cases.Fixed64Ignore + (*Fixed64IncorrectType)(nil), // 153: buf.validate.conformance.cases.Fixed64IncorrectType + (*Fixed64Example)(nil), // 154: buf.validate.conformance.cases.Fixed64Example + (*SFixed32None)(nil), // 155: buf.validate.conformance.cases.SFixed32None + (*SFixed32Const)(nil), // 156: buf.validate.conformance.cases.SFixed32Const + (*SFixed32In)(nil), // 157: buf.validate.conformance.cases.SFixed32In + (*SFixed32NotIn)(nil), // 158: buf.validate.conformance.cases.SFixed32NotIn + (*SFixed32LT)(nil), // 159: buf.validate.conformance.cases.SFixed32LT + (*SFixed32LTE)(nil), // 160: buf.validate.conformance.cases.SFixed32LTE + (*SFixed32GT)(nil), // 161: buf.validate.conformance.cases.SFixed32GT + (*SFixed32GTE)(nil), // 162: buf.validate.conformance.cases.SFixed32GTE + (*SFixed32GTLT)(nil), // 163: buf.validate.conformance.cases.SFixed32GTLT + (*SFixed32ExLTGT)(nil), // 164: buf.validate.conformance.cases.SFixed32ExLTGT + (*SFixed32GTELTE)(nil), // 165: buf.validate.conformance.cases.SFixed32GTELTE + (*SFixed32ExGTELTE)(nil), // 166: buf.validate.conformance.cases.SFixed32ExGTELTE + (*SFixed32Ignore)(nil), // 167: buf.validate.conformance.cases.SFixed32Ignore + (*SFixed32IncorrectType)(nil), // 168: buf.validate.conformance.cases.SFixed32IncorrectType + (*SFixed32Example)(nil), // 169: buf.validate.conformance.cases.SFixed32Example + (*SFixed64None)(nil), // 170: buf.validate.conformance.cases.SFixed64None + (*SFixed64Const)(nil), // 171: buf.validate.conformance.cases.SFixed64Const + (*SFixed64In)(nil), // 172: buf.validate.conformance.cases.SFixed64In + (*SFixed64NotIn)(nil), // 173: buf.validate.conformance.cases.SFixed64NotIn + (*SFixed64LT)(nil), // 174: buf.validate.conformance.cases.SFixed64LT + (*SFixed64LTE)(nil), // 175: buf.validate.conformance.cases.SFixed64LTE + (*SFixed64GT)(nil), // 176: buf.validate.conformance.cases.SFixed64GT + (*SFixed64GTE)(nil), // 177: buf.validate.conformance.cases.SFixed64GTE + (*SFixed64GTLT)(nil), // 178: buf.validate.conformance.cases.SFixed64GTLT + (*SFixed64ExLTGT)(nil), // 179: buf.validate.conformance.cases.SFixed64ExLTGT + (*SFixed64GTELTE)(nil), // 180: buf.validate.conformance.cases.SFixed64GTELTE + (*SFixed64ExGTELTE)(nil), // 181: buf.validate.conformance.cases.SFixed64ExGTELTE + (*SFixed64Ignore)(nil), // 182: buf.validate.conformance.cases.SFixed64Ignore + (*SFixed64IncorrectType)(nil), // 183: buf.validate.conformance.cases.SFixed64IncorrectType + (*SFixed64Example)(nil), // 184: buf.validate.conformance.cases.SFixed64Example + (*Int64LTEOptional)(nil), // 185: buf.validate.conformance.cases.Int64LTEOptional +} +var file_buf_validate_conformance_cases_numbers_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_numbers_proto_init() } +func file_buf_validate_conformance_cases_numbers_proto_init() { + if File_buf_validate_conformance_cases_numbers_proto != nil { + return + } + file_buf_validate_conformance_cases_numbers_proto_msgTypes[185].OneofWrappers = []any{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_numbers_proto_rawDesc), len(file_buf_validate_conformance_cases_numbers_proto_rawDesc)), + NumEnums: 0, + NumMessages: 186, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_numbers_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_numbers_proto_depIdxs, + MessageInfos: file_buf_validate_conformance_cases_numbers_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_numbers_proto = out.File + file_buf_validate_conformance_cases_numbers_proto_goTypes = nil + file_buf_validate_conformance_cases_numbers_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/oneofs.pb.go b/internal/gen/proto/buf/validate/conformance/cases/oneofs.pb.go new file mode 100644 index 00000000..3de32dbb --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/oneofs.pb.go @@ -0,0 +1,560 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/oneofs.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TestOneofMsg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val bool `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TestOneofMsg) Reset() { + *x = TestOneofMsg{} + mi := &file_buf_validate_conformance_cases_oneofs_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TestOneofMsg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TestOneofMsg) ProtoMessage() {} + +func (x *TestOneofMsg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_oneofs_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TestOneofMsg.ProtoReflect.Descriptor instead. +func (*TestOneofMsg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_oneofs_proto_rawDescGZIP(), []int{0} +} + +func (x *TestOneofMsg) GetVal() bool { + if x != nil { + return x.Val + } + return false +} + +type OneofNone struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to O: + // + // *OneofNone_X + // *OneofNone_Y + O isOneofNone_O `protobuf_oneof:"o"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *OneofNone) Reset() { + *x = OneofNone{} + mi := &file_buf_validate_conformance_cases_oneofs_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *OneofNone) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OneofNone) ProtoMessage() {} + +func (x *OneofNone) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_oneofs_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OneofNone.ProtoReflect.Descriptor instead. +func (*OneofNone) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_oneofs_proto_rawDescGZIP(), []int{1} +} + +func (x *OneofNone) GetO() isOneofNone_O { + if x != nil { + return x.O + } + return nil +} + +func (x *OneofNone) GetX() string { + if x != nil { + if x, ok := x.O.(*OneofNone_X); ok { + return x.X + } + } + return "" +} + +func (x *OneofNone) GetY() int32 { + if x != nil { + if x, ok := x.O.(*OneofNone_Y); ok { + return x.Y + } + } + return 0 +} + +type isOneofNone_O interface { + isOneofNone_O() +} + +type OneofNone_X struct { + X string `protobuf:"bytes,1,opt,name=x,proto3,oneof"` +} + +type OneofNone_Y struct { + Y int32 `protobuf:"varint,2,opt,name=y,proto3,oneof"` +} + +func (*OneofNone_X) isOneofNone_O() {} + +func (*OneofNone_Y) isOneofNone_O() {} + +type Oneof struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to O: + // + // *Oneof_X + // *Oneof_Y + // *Oneof_Z + O isOneof_O `protobuf_oneof:"o"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Oneof) Reset() { + *x = Oneof{} + mi := &file_buf_validate_conformance_cases_oneofs_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Oneof) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Oneof) ProtoMessage() {} + +func (x *Oneof) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_oneofs_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Oneof.ProtoReflect.Descriptor instead. +func (*Oneof) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_oneofs_proto_rawDescGZIP(), []int{2} +} + +func (x *Oneof) GetO() isOneof_O { + if x != nil { + return x.O + } + return nil +} + +func (x *Oneof) GetX() string { + if x != nil { + if x, ok := x.O.(*Oneof_X); ok { + return x.X + } + } + return "" +} + +func (x *Oneof) GetY() int32 { + if x != nil { + if x, ok := x.O.(*Oneof_Y); ok { + return x.Y + } + } + return 0 +} + +func (x *Oneof) GetZ() *TestOneofMsg { + if x != nil { + if x, ok := x.O.(*Oneof_Z); ok { + return x.Z + } + } + return nil +} + +type isOneof_O interface { + isOneof_O() +} + +type Oneof_X struct { + X string `protobuf:"bytes,1,opt,name=x,proto3,oneof"` +} + +type Oneof_Y struct { + Y int32 `protobuf:"varint,2,opt,name=y,proto3,oneof"` +} + +type Oneof_Z struct { + Z *TestOneofMsg `protobuf:"bytes,3,opt,name=z,proto3,oneof"` +} + +func (*Oneof_X) isOneof_O() {} + +func (*Oneof_Y) isOneof_O() {} + +func (*Oneof_Z) isOneof_O() {} + +type OneofRequired struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to O: + // + // *OneofRequired_X + // *OneofRequired_Y + // *OneofRequired_NameWithUnderscores + // *OneofRequired_UnderAnd_1Number + O isOneofRequired_O `protobuf_oneof:"o"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *OneofRequired) Reset() { + *x = OneofRequired{} + mi := &file_buf_validate_conformance_cases_oneofs_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *OneofRequired) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OneofRequired) ProtoMessage() {} + +func (x *OneofRequired) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_oneofs_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OneofRequired.ProtoReflect.Descriptor instead. +func (*OneofRequired) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_oneofs_proto_rawDescGZIP(), []int{3} +} + +func (x *OneofRequired) GetO() isOneofRequired_O { + if x != nil { + return x.O + } + return nil +} + +func (x *OneofRequired) GetX() string { + if x != nil { + if x, ok := x.O.(*OneofRequired_X); ok { + return x.X + } + } + return "" +} + +func (x *OneofRequired) GetY() int32 { + if x != nil { + if x, ok := x.O.(*OneofRequired_Y); ok { + return x.Y + } + } + return 0 +} + +func (x *OneofRequired) GetNameWithUnderscores() int32 { + if x != nil { + if x, ok := x.O.(*OneofRequired_NameWithUnderscores); ok { + return x.NameWithUnderscores + } + } + return 0 +} + +func (x *OneofRequired) GetUnderAnd_1Number() int32 { + if x != nil { + if x, ok := x.O.(*OneofRequired_UnderAnd_1Number); ok { + return x.UnderAnd_1Number + } + } + return 0 +} + +type isOneofRequired_O interface { + isOneofRequired_O() +} + +type OneofRequired_X struct { + X string `protobuf:"bytes,1,opt,name=x,proto3,oneof"` +} + +type OneofRequired_Y struct { + Y int32 `protobuf:"varint,2,opt,name=y,proto3,oneof"` +} + +type OneofRequired_NameWithUnderscores struct { + NameWithUnderscores int32 `protobuf:"varint,3,opt,name=name_with_underscores,json=nameWithUnderscores,proto3,oneof"` +} + +type OneofRequired_UnderAnd_1Number struct { + UnderAnd_1Number int32 `protobuf:"varint,4,opt,name=under_and_1_number,json=underAnd1Number,proto3,oneof"` +} + +func (*OneofRequired_X) isOneofRequired_O() {} + +func (*OneofRequired_Y) isOneofRequired_O() {} + +func (*OneofRequired_NameWithUnderscores) isOneofRequired_O() {} + +func (*OneofRequired_UnderAnd_1Number) isOneofRequired_O() {} + +type OneofRequiredWithRequiredField struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to O: + // + // *OneofRequiredWithRequiredField_A + // *OneofRequiredWithRequiredField_B + O isOneofRequiredWithRequiredField_O `protobuf_oneof:"o"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *OneofRequiredWithRequiredField) Reset() { + *x = OneofRequiredWithRequiredField{} + mi := &file_buf_validate_conformance_cases_oneofs_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *OneofRequiredWithRequiredField) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OneofRequiredWithRequiredField) ProtoMessage() {} + +func (x *OneofRequiredWithRequiredField) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_oneofs_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OneofRequiredWithRequiredField.ProtoReflect.Descriptor instead. +func (*OneofRequiredWithRequiredField) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_oneofs_proto_rawDescGZIP(), []int{4} +} + +func (x *OneofRequiredWithRequiredField) GetO() isOneofRequiredWithRequiredField_O { + if x != nil { + return x.O + } + return nil +} + +func (x *OneofRequiredWithRequiredField) GetA() string { + if x != nil { + if x, ok := x.O.(*OneofRequiredWithRequiredField_A); ok { + return x.A + } + } + return "" +} + +func (x *OneofRequiredWithRequiredField) GetB() string { + if x != nil { + if x, ok := x.O.(*OneofRequiredWithRequiredField_B); ok { + return x.B + } + } + return "" +} + +type isOneofRequiredWithRequiredField_O interface { + isOneofRequiredWithRequiredField_O() +} + +type OneofRequiredWithRequiredField_A struct { + A string `protobuf:"bytes,1,opt,name=a,proto3,oneof"` +} + +type OneofRequiredWithRequiredField_B struct { + B string `protobuf:"bytes,2,opt,name=b,proto3,oneof"` +} + +func (*OneofRequiredWithRequiredField_A) isOneofRequiredWithRequiredField_O() {} + +func (*OneofRequiredWithRequiredField_B) isOneofRequiredWithRequiredField_O() {} + +var File_buf_validate_conformance_cases_oneofs_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_oneofs_proto_rawDesc = "" + + "\n" + + "+buf/validate/conformance/cases/oneofs.proto\x12\x1ebuf.validate.conformance.cases\x1a\x1bbuf/validate/validate.proto\")\n" + + "\fTestOneofMsg\x12\x19\n" + + "\x03val\x18\x01 \x01(\bB\a\xbaH\x04j\x02\b\x01R\x03val\"0\n" + + "\tOneofNone\x12\x0e\n" + + "\x01x\x18\x01 \x01(\tH\x00R\x01x\x12\x0e\n" + + "\x01y\x18\x02 \x01(\x05H\x00R\x01yB\x03\n" + + "\x01o\"\x7f\n" + + "\x05Oneof\x12\x1a\n" + + "\x01x\x18\x01 \x01(\tB\n" + + "\xbaH\ar\x05:\x03fooH\x00R\x01x\x12\x17\n" + + "\x01y\x18\x02 \x01(\x05B\a\xbaH\x04\x1a\x02 \x00H\x00R\x01y\x12<\n" + + "\x01z\x18\x03 \x01(\v2,.buf.validate.conformance.cases.TestOneofMsgH\x00R\x01zB\x03\n" + + "\x01o\"\xa0\x01\n" + + "\rOneofRequired\x12\x0e\n" + + "\x01x\x18\x01 \x01(\tH\x00R\x01x\x12\x0e\n" + + "\x01y\x18\x02 \x01(\x05H\x00R\x01y\x124\n" + + "\x15name_with_underscores\x18\x03 \x01(\x05H\x00R\x13nameWithUnderscores\x12-\n" + + "\x12under_and_1_number\x18\x04 \x01(\x05H\x00R\x0funderAnd1NumberB\n" + + "\n" + + "\x01o\x12\x05\xbaH\x02\b\x01\"T\n" + + "\x1eOneofRequiredWithRequiredField\x12\x16\n" + + "\x01a\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01H\x00R\x01a\x12\x0e\n" + + "\x01b\x18\x02 \x01(\tH\x00R\x01bB\n" + + "\n" + + "\x01o\x12\x05\xbaH\x02\b\x01B\xa8\x02\n" + + "\"com.buf.validate.conformance.casesB\vOneofsProtoP\x01ZYgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Casesb\x06proto3" + +var ( + file_buf_validate_conformance_cases_oneofs_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_oneofs_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_oneofs_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_oneofs_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_oneofs_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_oneofs_proto_rawDesc), len(file_buf_validate_conformance_cases_oneofs_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_oneofs_proto_rawDescData +} + +var file_buf_validate_conformance_cases_oneofs_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_buf_validate_conformance_cases_oneofs_proto_goTypes = []any{ + (*TestOneofMsg)(nil), // 0: buf.validate.conformance.cases.TestOneofMsg + (*OneofNone)(nil), // 1: buf.validate.conformance.cases.OneofNone + (*Oneof)(nil), // 2: buf.validate.conformance.cases.Oneof + (*OneofRequired)(nil), // 3: buf.validate.conformance.cases.OneofRequired + (*OneofRequiredWithRequiredField)(nil), // 4: buf.validate.conformance.cases.OneofRequiredWithRequiredField +} +var file_buf_validate_conformance_cases_oneofs_proto_depIdxs = []int32{ + 0, // 0: buf.validate.conformance.cases.Oneof.z:type_name -> buf.validate.conformance.cases.TestOneofMsg + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_oneofs_proto_init() } +func file_buf_validate_conformance_cases_oneofs_proto_init() { + if File_buf_validate_conformance_cases_oneofs_proto != nil { + return + } + file_buf_validate_conformance_cases_oneofs_proto_msgTypes[1].OneofWrappers = []any{ + (*OneofNone_X)(nil), + (*OneofNone_Y)(nil), + } + file_buf_validate_conformance_cases_oneofs_proto_msgTypes[2].OneofWrappers = []any{ + (*Oneof_X)(nil), + (*Oneof_Y)(nil), + (*Oneof_Z)(nil), + } + file_buf_validate_conformance_cases_oneofs_proto_msgTypes[3].OneofWrappers = []any{ + (*OneofRequired_X)(nil), + (*OneofRequired_Y)(nil), + (*OneofRequired_NameWithUnderscores)(nil), + (*OneofRequired_UnderAnd_1Number)(nil), + } + file_buf_validate_conformance_cases_oneofs_proto_msgTypes[4].OneofWrappers = []any{ + (*OneofRequiredWithRequiredField_A)(nil), + (*OneofRequiredWithRequiredField_B)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_oneofs_proto_rawDesc), len(file_buf_validate_conformance_cases_oneofs_proto_rawDesc)), + NumEnums: 0, + NumMessages: 5, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_oneofs_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_oneofs_proto_depIdxs, + MessageInfos: file_buf_validate_conformance_cases_oneofs_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_oneofs_proto = out.File + file_buf_validate_conformance_cases_oneofs_proto_goTypes = nil + file_buf_validate_conformance_cases_oneofs_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/other_package/embed.pb.go b/internal/gen/proto/buf/validate/conformance/cases/other_package/embed.pb.go new file mode 100644 index 00000000..35556c3e --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/other_package/embed.pb.go @@ -0,0 +1,281 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/other_package/embed.proto + +package other_package + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Embed_Enumerated int32 + +const ( + Embed_ENUMERATED_UNSPECIFIED Embed_Enumerated = 0 + Embed_ENUMERATED_VALUE Embed_Enumerated = 1 +) + +// Enum value maps for Embed_Enumerated. +var ( + Embed_Enumerated_name = map[int32]string{ + 0: "ENUMERATED_UNSPECIFIED", + 1: "ENUMERATED_VALUE", + } + Embed_Enumerated_value = map[string]int32{ + "ENUMERATED_UNSPECIFIED": 0, + "ENUMERATED_VALUE": 1, + } +) + +func (x Embed_Enumerated) Enum() *Embed_Enumerated { + p := new(Embed_Enumerated) + *p = x + return p +} + +func (x Embed_Enumerated) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Embed_Enumerated) Descriptor() protoreflect.EnumDescriptor { + return file_buf_validate_conformance_cases_other_package_embed_proto_enumTypes[0].Descriptor() +} + +func (Embed_Enumerated) Type() protoreflect.EnumType { + return &file_buf_validate_conformance_cases_other_package_embed_proto_enumTypes[0] +} + +func (x Embed_Enumerated) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Embed_Enumerated.Descriptor instead. +func (Embed_Enumerated) EnumDescriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_other_package_embed_proto_rawDescGZIP(), []int{0, 0} +} + +type Embed_DoubleEmbed_DoubleEnumerated int32 + +const ( + Embed_DoubleEmbed_DOUBLE_ENUMERATED_UNSPECIFIED Embed_DoubleEmbed_DoubleEnumerated = 0 + Embed_DoubleEmbed_DOUBLE_ENUMERATED_VALUE Embed_DoubleEmbed_DoubleEnumerated = 1 +) + +// Enum value maps for Embed_DoubleEmbed_DoubleEnumerated. +var ( + Embed_DoubleEmbed_DoubleEnumerated_name = map[int32]string{ + 0: "DOUBLE_ENUMERATED_UNSPECIFIED", + 1: "DOUBLE_ENUMERATED_VALUE", + } + Embed_DoubleEmbed_DoubleEnumerated_value = map[string]int32{ + "DOUBLE_ENUMERATED_UNSPECIFIED": 0, + "DOUBLE_ENUMERATED_VALUE": 1, + } +) + +func (x Embed_DoubleEmbed_DoubleEnumerated) Enum() *Embed_DoubleEmbed_DoubleEnumerated { + p := new(Embed_DoubleEmbed_DoubleEnumerated) + *p = x + return p +} + +func (x Embed_DoubleEmbed_DoubleEnumerated) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Embed_DoubleEmbed_DoubleEnumerated) Descriptor() protoreflect.EnumDescriptor { + return file_buf_validate_conformance_cases_other_package_embed_proto_enumTypes[1].Descriptor() +} + +func (Embed_DoubleEmbed_DoubleEnumerated) Type() protoreflect.EnumType { + return &file_buf_validate_conformance_cases_other_package_embed_proto_enumTypes[1] +} + +func (x Embed_DoubleEmbed_DoubleEnumerated) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Embed_DoubleEmbed_DoubleEnumerated.Descriptor instead. +func (Embed_DoubleEmbed_DoubleEnumerated) EnumDescriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_other_package_embed_proto_rawDescGZIP(), []int{0, 0, 0} +} + +// Validate message embedding across packages. +type Embed struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Embed) Reset() { + *x = Embed{} + mi := &file_buf_validate_conformance_cases_other_package_embed_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Embed) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Embed) ProtoMessage() {} + +func (x *Embed) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_other_package_embed_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Embed.ProtoReflect.Descriptor instead. +func (*Embed) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_other_package_embed_proto_rawDescGZIP(), []int{0} +} + +func (x *Embed) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type Embed_DoubleEmbed struct { + state protoimpl.MessageState `protogen:"open.v1"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Embed_DoubleEmbed) Reset() { + *x = Embed_DoubleEmbed{} + mi := &file_buf_validate_conformance_cases_other_package_embed_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Embed_DoubleEmbed) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Embed_DoubleEmbed) ProtoMessage() {} + +func (x *Embed_DoubleEmbed) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_other_package_embed_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Embed_DoubleEmbed.ProtoReflect.Descriptor instead. +func (*Embed_DoubleEmbed) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_other_package_embed_proto_rawDescGZIP(), []int{0, 0} +} + +var File_buf_validate_conformance_cases_other_package_embed_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_other_package_embed_proto_rawDesc = "" + + "\n" + + "8buf/validate/conformance/cases/other_package/embed.proto\x12,buf.validate.conformance.cases.other_package\x1a\x1bbuf/validate/validate.proto\"\xc5\x01\n" + + "\x05Embed\x12\x19\n" + + "\x03val\x18\x01 \x01(\x03B\a\xbaH\x04\"\x02 \x00R\x03val\x1aa\n" + + "\vDoubleEmbed\"R\n" + + "\x10DoubleEnumerated\x12!\n" + + "\x1dDOUBLE_ENUMERATED_UNSPECIFIED\x10\x00\x12\x1b\n" + + "\x17DOUBLE_ENUMERATED_VALUE\x10\x01\">\n" + + "\n" + + "Enumerated\x12\x1a\n" + + "\x16ENUMERATED_UNSPECIFIED\x10\x00\x12\x14\n" + + "\x10ENUMERATED_VALUE\x10\x01B\xf9\x02\n" + + "0com.buf.validate.conformance.cases.other_packageB\n" + + "EmbedProtoP\x01Zggithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases/other_package\xa2\x02\x05BVCCO\xaa\x02+Buf.Validate.Conformance.Cases.OtherPackage\xca\x02+Buf\\Validate\\Conformance\\Cases\\OtherPackage\xe2\x027Buf\\Validate\\Conformance\\Cases\\OtherPackage\\GPBMetadata\xea\x02/Buf::Validate::Conformance::Cases::OtherPackageb\x06proto3" + +var ( + file_buf_validate_conformance_cases_other_package_embed_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_other_package_embed_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_other_package_embed_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_other_package_embed_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_other_package_embed_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_other_package_embed_proto_rawDesc), len(file_buf_validate_conformance_cases_other_package_embed_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_other_package_embed_proto_rawDescData +} + +var file_buf_validate_conformance_cases_other_package_embed_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_buf_validate_conformance_cases_other_package_embed_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_buf_validate_conformance_cases_other_package_embed_proto_goTypes = []any{ + (Embed_Enumerated)(0), // 0: buf.validate.conformance.cases.other_package.Embed.Enumerated + (Embed_DoubleEmbed_DoubleEnumerated)(0), // 1: buf.validate.conformance.cases.other_package.Embed.DoubleEmbed.DoubleEnumerated + (*Embed)(nil), // 2: buf.validate.conformance.cases.other_package.Embed + (*Embed_DoubleEmbed)(nil), // 3: buf.validate.conformance.cases.other_package.Embed.DoubleEmbed +} +var file_buf_validate_conformance_cases_other_package_embed_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_other_package_embed_proto_init() } +func file_buf_validate_conformance_cases_other_package_embed_proto_init() { + if File_buf_validate_conformance_cases_other_package_embed_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_other_package_embed_proto_rawDesc), len(file_buf_validate_conformance_cases_other_package_embed_proto_rawDesc)), + NumEnums: 2, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_other_package_embed_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_other_package_embed_proto_depIdxs, + EnumInfos: file_buf_validate_conformance_cases_other_package_embed_proto_enumTypes, + MessageInfos: file_buf_validate_conformance_cases_other_package_embed_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_other_package_embed_proto = out.File + file_buf_validate_conformance_cases_other_package_embed_proto_goTypes = nil + file_buf_validate_conformance_cases_other_package_embed_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/predefined_rules_proto2.pb.go b/internal/gen/proto/buf/validate/conformance/cases/predefined_rules_proto2.pb.go new file mode 100644 index 00000000..5e137eb7 --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/predefined_rules_proto2.pb.go @@ -0,0 +1,2461 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/predefined_rules_proto2.proto + +package cases + +import ( + validate "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PredefinedEnumRuleProto2_EnumProto2 int32 + +const ( + PredefinedEnumRuleProto2_ENUM_PROTO2_ZERO_UNSPECIFIED PredefinedEnumRuleProto2_EnumProto2 = 0 + PredefinedEnumRuleProto2_ENUM_PROTO2_ONE PredefinedEnumRuleProto2_EnumProto2 = 1 +) + +// Enum value maps for PredefinedEnumRuleProto2_EnumProto2. +var ( + PredefinedEnumRuleProto2_EnumProto2_name = map[int32]string{ + 0: "ENUM_PROTO2_ZERO_UNSPECIFIED", + 1: "ENUM_PROTO2_ONE", + } + PredefinedEnumRuleProto2_EnumProto2_value = map[string]int32{ + "ENUM_PROTO2_ZERO_UNSPECIFIED": 0, + "ENUM_PROTO2_ONE": 1, + } +) + +func (x PredefinedEnumRuleProto2_EnumProto2) Enum() *PredefinedEnumRuleProto2_EnumProto2 { + p := new(PredefinedEnumRuleProto2_EnumProto2) + *p = x + return p +} + +func (x PredefinedEnumRuleProto2_EnumProto2) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PredefinedEnumRuleProto2_EnumProto2) Descriptor() protoreflect.EnumDescriptor { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_enumTypes[0].Descriptor() +} + +func (PredefinedEnumRuleProto2_EnumProto2) Type() protoreflect.EnumType { + return &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_enumTypes[0] +} + +func (x PredefinedEnumRuleProto2_EnumProto2) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *PredefinedEnumRuleProto2_EnumProto2) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = PredefinedEnumRuleProto2_EnumProto2(num) + return nil +} + +// Deprecated: Use PredefinedEnumRuleProto2_EnumProto2.Descriptor instead. +func (PredefinedEnumRuleProto2_EnumProto2) EnumDescriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{15, 0} +} + +type PredefinedFloatRuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *float32 `protobuf:"fixed32,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedFloatRuleProto2) Reset() { + *x = PredefinedFloatRuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedFloatRuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedFloatRuleProto2) ProtoMessage() {} + +func (x *PredefinedFloatRuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedFloatRuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedFloatRuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{0} +} + +func (x *PredefinedFloatRuleProto2) GetVal() float32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type PredefinedDoubleRuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *float64 `protobuf:"fixed64,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedDoubleRuleProto2) Reset() { + *x = PredefinedDoubleRuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedDoubleRuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedDoubleRuleProto2) ProtoMessage() {} + +func (x *PredefinedDoubleRuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedDoubleRuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedDoubleRuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{1} +} + +func (x *PredefinedDoubleRuleProto2) GetVal() float64 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type PredefinedInt32RuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedInt32RuleProto2) Reset() { + *x = PredefinedInt32RuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedInt32RuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedInt32RuleProto2) ProtoMessage() {} + +func (x *PredefinedInt32RuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedInt32RuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedInt32RuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{2} +} + +func (x *PredefinedInt32RuleProto2) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type PredefinedInt64RuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int64 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedInt64RuleProto2) Reset() { + *x = PredefinedInt64RuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedInt64RuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedInt64RuleProto2) ProtoMessage() {} + +func (x *PredefinedInt64RuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedInt64RuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedInt64RuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{3} +} + +func (x *PredefinedInt64RuleProto2) GetVal() int64 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type PredefinedUInt32RuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *uint32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedUInt32RuleProto2) Reset() { + *x = PredefinedUInt32RuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedUInt32RuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedUInt32RuleProto2) ProtoMessage() {} + +func (x *PredefinedUInt32RuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedUInt32RuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedUInt32RuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{4} +} + +func (x *PredefinedUInt32RuleProto2) GetVal() uint32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type PredefinedUInt64RuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *uint64 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedUInt64RuleProto2) Reset() { + *x = PredefinedUInt64RuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedUInt64RuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedUInt64RuleProto2) ProtoMessage() {} + +func (x *PredefinedUInt64RuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedUInt64RuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedUInt64RuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{5} +} + +func (x *PredefinedUInt64RuleProto2) GetVal() uint64 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type PredefinedSInt32RuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"zigzag32,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedSInt32RuleProto2) Reset() { + *x = PredefinedSInt32RuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedSInt32RuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedSInt32RuleProto2) ProtoMessage() {} + +func (x *PredefinedSInt32RuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedSInt32RuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedSInt32RuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{6} +} + +func (x *PredefinedSInt32RuleProto2) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type PredefinedSInt64RuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int64 `protobuf:"zigzag64,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedSInt64RuleProto2) Reset() { + *x = PredefinedSInt64RuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedSInt64RuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedSInt64RuleProto2) ProtoMessage() {} + +func (x *PredefinedSInt64RuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedSInt64RuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedSInt64RuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{7} +} + +func (x *PredefinedSInt64RuleProto2) GetVal() int64 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type PredefinedFixed32RuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *uint32 `protobuf:"fixed32,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedFixed32RuleProto2) Reset() { + *x = PredefinedFixed32RuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedFixed32RuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedFixed32RuleProto2) ProtoMessage() {} + +func (x *PredefinedFixed32RuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedFixed32RuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedFixed32RuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{8} +} + +func (x *PredefinedFixed32RuleProto2) GetVal() uint32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type PredefinedFixed64RuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *uint64 `protobuf:"fixed64,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedFixed64RuleProto2) Reset() { + *x = PredefinedFixed64RuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedFixed64RuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedFixed64RuleProto2) ProtoMessage() {} + +func (x *PredefinedFixed64RuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedFixed64RuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedFixed64RuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{9} +} + +func (x *PredefinedFixed64RuleProto2) GetVal() uint64 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type PredefinedSFixed32RuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"fixed32,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedSFixed32RuleProto2) Reset() { + *x = PredefinedSFixed32RuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedSFixed32RuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedSFixed32RuleProto2) ProtoMessage() {} + +func (x *PredefinedSFixed32RuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedSFixed32RuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedSFixed32RuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{10} +} + +func (x *PredefinedSFixed32RuleProto2) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type PredefinedSFixed64RuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int64 `protobuf:"fixed64,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedSFixed64RuleProto2) Reset() { + *x = PredefinedSFixed64RuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedSFixed64RuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedSFixed64RuleProto2) ProtoMessage() {} + +func (x *PredefinedSFixed64RuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedSFixed64RuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedSFixed64RuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{11} +} + +func (x *PredefinedSFixed64RuleProto2) GetVal() int64 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type PredefinedBoolRuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *bool `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedBoolRuleProto2) Reset() { + *x = PredefinedBoolRuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedBoolRuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedBoolRuleProto2) ProtoMessage() {} + +func (x *PredefinedBoolRuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedBoolRuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedBoolRuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{12} +} + +func (x *PredefinedBoolRuleProto2) GetVal() bool { + if x != nil && x.Val != nil { + return *x.Val + } + return false +} + +type PredefinedStringRuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedStringRuleProto2) Reset() { + *x = PredefinedStringRuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedStringRuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedStringRuleProto2) ProtoMessage() {} + +func (x *PredefinedStringRuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedStringRuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedStringRuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{13} +} + +func (x *PredefinedStringRuleProto2) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type PredefinedBytesRuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []byte `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedBytesRuleProto2) Reset() { + *x = PredefinedBytesRuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedBytesRuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedBytesRuleProto2) ProtoMessage() {} + +func (x *PredefinedBytesRuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedBytesRuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedBytesRuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{14} +} + +func (x *PredefinedBytesRuleProto2) GetVal() []byte { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedEnumRuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *PredefinedEnumRuleProto2_EnumProto2 `protobuf:"varint,1,opt,name=val,enum=buf.validate.conformance.cases.PredefinedEnumRuleProto2_EnumProto2" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedEnumRuleProto2) Reset() { + *x = PredefinedEnumRuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedEnumRuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedEnumRuleProto2) ProtoMessage() {} + +func (x *PredefinedEnumRuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[15] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedEnumRuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedEnumRuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{15} +} + +func (x *PredefinedEnumRuleProto2) GetVal() PredefinedEnumRuleProto2_EnumProto2 { + if x != nil && x.Val != nil { + return *x.Val + } + return PredefinedEnumRuleProto2_ENUM_PROTO2_ZERO_UNSPECIFIED +} + +type PredefinedRepeatedRuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []uint64 `protobuf:"varint,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedRuleProto2) Reset() { + *x = PredefinedRepeatedRuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedRuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedRuleProto2) ProtoMessage() {} + +func (x *PredefinedRepeatedRuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[16] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedRuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedRuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{16} +} + +func (x *PredefinedRepeatedRuleProto2) GetVal() []uint64 { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedDurationRuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedDurationRuleProto2) Reset() { + *x = PredefinedDurationRuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedDurationRuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedDurationRuleProto2) ProtoMessage() {} + +func (x *PredefinedDurationRuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[17] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedDurationRuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedDurationRuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{17} +} + +func (x *PredefinedDurationRuleProto2) GetVal() *durationpb.Duration { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedTimestampRuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedTimestampRuleProto2) Reset() { + *x = PredefinedTimestampRuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedTimestampRuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedTimestampRuleProto2) ProtoMessage() {} + +func (x *PredefinedTimestampRuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[18] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedTimestampRuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedTimestampRuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{18} +} + +func (x *PredefinedTimestampRuleProto2) GetVal() *timestamppb.Timestamp { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedFloatRuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.FloatValue `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedFloatRuleProto2) Reset() { + *x = PredefinedWrappedFloatRuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedFloatRuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedFloatRuleProto2) ProtoMessage() {} + +func (x *PredefinedWrappedFloatRuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[19] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedFloatRuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedFloatRuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{19} +} + +func (x *PredefinedWrappedFloatRuleProto2) GetVal() *wrapperspb.FloatValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedDoubleRuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.DoubleValue `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedDoubleRuleProto2) Reset() { + *x = PredefinedWrappedDoubleRuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedDoubleRuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedDoubleRuleProto2) ProtoMessage() {} + +func (x *PredefinedWrappedDoubleRuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[20] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedDoubleRuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedDoubleRuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{20} +} + +func (x *PredefinedWrappedDoubleRuleProto2) GetVal() *wrapperspb.DoubleValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedInt32RuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedInt32RuleProto2) Reset() { + *x = PredefinedWrappedInt32RuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedInt32RuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedInt32RuleProto2) ProtoMessage() {} + +func (x *PredefinedWrappedInt32RuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[21] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedInt32RuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedInt32RuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{21} +} + +func (x *PredefinedWrappedInt32RuleProto2) GetVal() *wrapperspb.Int32Value { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedInt64RuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedInt64RuleProto2) Reset() { + *x = PredefinedWrappedInt64RuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedInt64RuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedInt64RuleProto2) ProtoMessage() {} + +func (x *PredefinedWrappedInt64RuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[22] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedInt64RuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedInt64RuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{22} +} + +func (x *PredefinedWrappedInt64RuleProto2) GetVal() *wrapperspb.Int64Value { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedUInt32RuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedUInt32RuleProto2) Reset() { + *x = PredefinedWrappedUInt32RuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedUInt32RuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedUInt32RuleProto2) ProtoMessage() {} + +func (x *PredefinedWrappedUInt32RuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[23] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedUInt32RuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedUInt32RuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{23} +} + +func (x *PredefinedWrappedUInt32RuleProto2) GetVal() *wrapperspb.UInt32Value { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedUInt64RuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.UInt64Value `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedUInt64RuleProto2) Reset() { + *x = PredefinedWrappedUInt64RuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedUInt64RuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedUInt64RuleProto2) ProtoMessage() {} + +func (x *PredefinedWrappedUInt64RuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[24] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedUInt64RuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedUInt64RuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{24} +} + +func (x *PredefinedWrappedUInt64RuleProto2) GetVal() *wrapperspb.UInt64Value { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedBoolRuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedBoolRuleProto2) Reset() { + *x = PredefinedWrappedBoolRuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedBoolRuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedBoolRuleProto2) ProtoMessage() {} + +func (x *PredefinedWrappedBoolRuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[25] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedBoolRuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedBoolRuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{25} +} + +func (x *PredefinedWrappedBoolRuleProto2) GetVal() *wrapperspb.BoolValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedStringRuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedStringRuleProto2) Reset() { + *x = PredefinedWrappedStringRuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedStringRuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedStringRuleProto2) ProtoMessage() {} + +func (x *PredefinedWrappedStringRuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[26] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedStringRuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedStringRuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{26} +} + +func (x *PredefinedWrappedStringRuleProto2) GetVal() *wrapperspb.StringValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedBytesRuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.BytesValue `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedBytesRuleProto2) Reset() { + *x = PredefinedWrappedBytesRuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedBytesRuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedBytesRuleProto2) ProtoMessage() {} + +func (x *PredefinedWrappedBytesRuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[27] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedBytesRuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedBytesRuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{27} +} + +func (x *PredefinedWrappedBytesRuleProto2) GetVal() *wrapperspb.BytesValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedFloatRuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.FloatValue `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedFloatRuleProto2) Reset() { + *x = PredefinedRepeatedWrappedFloatRuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedFloatRuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedFloatRuleProto2) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedFloatRuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[28] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedFloatRuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedFloatRuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{28} +} + +func (x *PredefinedRepeatedWrappedFloatRuleProto2) GetVal() []*wrapperspb.FloatValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedDoubleRuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.DoubleValue `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedDoubleRuleProto2) Reset() { + *x = PredefinedRepeatedWrappedDoubleRuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedDoubleRuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedDoubleRuleProto2) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedDoubleRuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[29] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedDoubleRuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedDoubleRuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{29} +} + +func (x *PredefinedRepeatedWrappedDoubleRuleProto2) GetVal() []*wrapperspb.DoubleValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedInt32RuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.Int32Value `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedInt32RuleProto2) Reset() { + *x = PredefinedRepeatedWrappedInt32RuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedInt32RuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedInt32RuleProto2) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedInt32RuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[30] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedInt32RuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedInt32RuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{30} +} + +func (x *PredefinedRepeatedWrappedInt32RuleProto2) GetVal() []*wrapperspb.Int32Value { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedInt64RuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.Int64Value `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedInt64RuleProto2) Reset() { + *x = PredefinedRepeatedWrappedInt64RuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedInt64RuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedInt64RuleProto2) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedInt64RuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[31] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedInt64RuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedInt64RuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{31} +} + +func (x *PredefinedRepeatedWrappedInt64RuleProto2) GetVal() []*wrapperspb.Int64Value { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedUInt32RuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.UInt32Value `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedUInt32RuleProto2) Reset() { + *x = PredefinedRepeatedWrappedUInt32RuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedUInt32RuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedUInt32RuleProto2) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedUInt32RuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[32] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedUInt32RuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedUInt32RuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{32} +} + +func (x *PredefinedRepeatedWrappedUInt32RuleProto2) GetVal() []*wrapperspb.UInt32Value { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedUInt64RuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.UInt64Value `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedUInt64RuleProto2) Reset() { + *x = PredefinedRepeatedWrappedUInt64RuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedUInt64RuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedUInt64RuleProto2) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedUInt64RuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[33] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedUInt64RuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedUInt64RuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{33} +} + +func (x *PredefinedRepeatedWrappedUInt64RuleProto2) GetVal() []*wrapperspb.UInt64Value { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedBoolRuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.BoolValue `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedBoolRuleProto2) Reset() { + *x = PredefinedRepeatedWrappedBoolRuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedBoolRuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedBoolRuleProto2) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedBoolRuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[34] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedBoolRuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedBoolRuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{34} +} + +func (x *PredefinedRepeatedWrappedBoolRuleProto2) GetVal() []*wrapperspb.BoolValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedStringRuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedStringRuleProto2) Reset() { + *x = PredefinedRepeatedWrappedStringRuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedStringRuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedStringRuleProto2) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedStringRuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[35] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedStringRuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedStringRuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{35} +} + +func (x *PredefinedRepeatedWrappedStringRuleProto2) GetVal() []*wrapperspb.StringValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedBytesRuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.BytesValue `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedBytesRuleProto2) Reset() { + *x = PredefinedRepeatedWrappedBytesRuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedBytesRuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedBytesRuleProto2) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedBytesRuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[36] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedBytesRuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedBytesRuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{36} +} + +func (x *PredefinedRepeatedWrappedBytesRuleProto2) GetVal() []*wrapperspb.BytesValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedAndCustomRuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + A *int32 `protobuf:"zigzag32,1,opt,name=a" json:"a,omitempty"` + B *PredefinedAndCustomRuleProto2_Nested `protobuf:"bytes,2,opt,name=b" json:"b,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedAndCustomRuleProto2) Reset() { + *x = PredefinedAndCustomRuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedAndCustomRuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedAndCustomRuleProto2) ProtoMessage() {} + +func (x *PredefinedAndCustomRuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[37] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedAndCustomRuleProto2.ProtoReflect.Descriptor instead. +func (*PredefinedAndCustomRuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{37} +} + +func (x *PredefinedAndCustomRuleProto2) GetA() int32 { + if x != nil && x.A != nil { + return *x.A + } + return 0 +} + +func (x *PredefinedAndCustomRuleProto2) GetB() *PredefinedAndCustomRuleProto2_Nested { + if x != nil { + return x.B + } + return nil +} + +type StandardPredefinedAndCustomRuleProto2 struct { + state protoimpl.MessageState `protogen:"open.v1"` + A *int32 `protobuf:"zigzag32,1,opt,name=a" json:"a,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StandardPredefinedAndCustomRuleProto2) Reset() { + *x = StandardPredefinedAndCustomRuleProto2{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StandardPredefinedAndCustomRuleProto2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StandardPredefinedAndCustomRuleProto2) ProtoMessage() {} + +func (x *StandardPredefinedAndCustomRuleProto2) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[38] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StandardPredefinedAndCustomRuleProto2.ProtoReflect.Descriptor instead. +func (*StandardPredefinedAndCustomRuleProto2) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{38} +} + +func (x *StandardPredefinedAndCustomRuleProto2) GetA() int32 { + if x != nil && x.A != nil { + return *x.A + } + return 0 +} + +type PredefinedAndCustomRuleProto2_Nested struct { + state protoimpl.MessageState `protogen:"open.v1"` + C *int32 `protobuf:"zigzag32,1,opt,name=c" json:"c,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedAndCustomRuleProto2_Nested) Reset() { + *x = PredefinedAndCustomRuleProto2_Nested{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedAndCustomRuleProto2_Nested) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedAndCustomRuleProto2_Nested) ProtoMessage() {} + +func (x *PredefinedAndCustomRuleProto2_Nested) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes[39] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedAndCustomRuleProto2_Nested.ProtoReflect.Descriptor instead. +func (*PredefinedAndCustomRuleProto2_Nested) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP(), []int{37, 0} +} + +func (x *PredefinedAndCustomRuleProto2_Nested) GetC() int32 { + if x != nil && x.C != nil { + return *x.C + } + return 0 +} + +var file_buf_validate_conformance_cases_predefined_rules_proto2_proto_extTypes = []protoimpl.ExtensionInfo{ + { + ExtendedType: (*validate.FloatRules)(nil), + ExtensionType: (*float32)(nil), + Field: 1161, + Name: "buf.validate.conformance.cases.float_abs_range_proto2", + Tag: "fixed32,1161,opt,name=float_abs_range_proto2", + Filename: "buf/validate/conformance/cases/predefined_rules_proto2.proto", + }, + { + ExtendedType: (*validate.DoubleRules)(nil), + ExtensionType: (*float64)(nil), + Field: 1161, + Name: "buf.validate.conformance.cases.double_abs_range_proto2", + Tag: "fixed64,1161,opt,name=double_abs_range_proto2", + Filename: "buf/validate/conformance/cases/predefined_rules_proto2.proto", + }, + { + ExtendedType: (*validate.Int32Rules)(nil), + ExtensionType: ([]int32)(nil), + Field: 1161, + Name: "buf.validate.conformance.cases.int32_abs_in_proto2", + Tag: "varint,1161,rep,name=int32_abs_in_proto2", + Filename: "buf/validate/conformance/cases/predefined_rules_proto2.proto", + }, + { + ExtendedType: (*validate.Int64Rules)(nil), + ExtensionType: ([]*wrapperspb.Int64Value)(nil), + Field: 1161, + Name: "buf.validate.conformance.cases.int64_abs_in_proto2", + Tag: "bytes,1161,rep,name=int64_abs_in_proto2", + Filename: "buf/validate/conformance/cases/predefined_rules_proto2.proto", + }, + { + ExtendedType: (*validate.UInt32Rules)(nil), + ExtensionType: (*bool)(nil), + Field: 1161, + Name: "buf.validate.conformance.cases.uint32_even_proto2", + Tag: "varint,1161,opt,name=uint32_even_proto2", + Filename: "buf/validate/conformance/cases/predefined_rules_proto2.proto", + }, + { + ExtendedType: (*validate.UInt64Rules)(nil), + ExtensionType: (*bool)(nil), + Field: 1161, + Name: "buf.validate.conformance.cases.uint64_even_proto2", + Tag: "varint,1161,opt,name=uint64_even_proto2", + Filename: "buf/validate/conformance/cases/predefined_rules_proto2.proto", + }, + { + ExtendedType: (*validate.SInt32Rules)(nil), + ExtensionType: (*bool)(nil), + Field: 1161, + Name: "buf.validate.conformance.cases.sint32_even_proto2", + Tag: "varint,1161,opt,name=sint32_even_proto2", + Filename: "buf/validate/conformance/cases/predefined_rules_proto2.proto", + }, + { + ExtendedType: (*validate.SInt64Rules)(nil), + ExtensionType: (*bool)(nil), + Field: 1161, + Name: "buf.validate.conformance.cases.sint64_even_proto2", + Tag: "varint,1161,opt,name=sint64_even_proto2", + Filename: "buf/validate/conformance/cases/predefined_rules_proto2.proto", + }, + { + ExtendedType: (*validate.Fixed32Rules)(nil), + ExtensionType: (*bool)(nil), + Field: 1161, + Name: "buf.validate.conformance.cases.fixed32_even_proto2", + Tag: "varint,1161,opt,name=fixed32_even_proto2", + Filename: "buf/validate/conformance/cases/predefined_rules_proto2.proto", + }, + { + ExtendedType: (*validate.Fixed64Rules)(nil), + ExtensionType: (*bool)(nil), + Field: 1161, + Name: "buf.validate.conformance.cases.fixed64_even_proto2", + Tag: "varint,1161,opt,name=fixed64_even_proto2", + Filename: "buf/validate/conformance/cases/predefined_rules_proto2.proto", + }, + { + ExtendedType: (*validate.SFixed32Rules)(nil), + ExtensionType: (*bool)(nil), + Field: 1161, + Name: "buf.validate.conformance.cases.sfixed32_even_proto2", + Tag: "varint,1161,opt,name=sfixed32_even_proto2", + Filename: "buf/validate/conformance/cases/predefined_rules_proto2.proto", + }, + { + ExtendedType: (*validate.SFixed64Rules)(nil), + ExtensionType: (*bool)(nil), + Field: 1161, + Name: "buf.validate.conformance.cases.sfixed64_even_proto2", + Tag: "varint,1161,opt,name=sfixed64_even_proto2", + Filename: "buf/validate/conformance/cases/predefined_rules_proto2.proto", + }, + { + ExtendedType: (*validate.BoolRules)(nil), + ExtensionType: (*bool)(nil), + Field: 1161, + Name: "buf.validate.conformance.cases.bool_false_proto2", + Tag: "varint,1161,opt,name=bool_false_proto2", + Filename: "buf/validate/conformance/cases/predefined_rules_proto2.proto", + }, + { + ExtendedType: (*validate.StringRules)(nil), + ExtensionType: (*bool)(nil), + Field: 1161, + Name: "buf.validate.conformance.cases.string_valid_path_proto2", + Tag: "varint,1161,opt,name=string_valid_path_proto2", + Filename: "buf/validate/conformance/cases/predefined_rules_proto2.proto", + }, + { + ExtendedType: (*validate.BytesRules)(nil), + ExtensionType: (*bool)(nil), + Field: 1161, + Name: "buf.validate.conformance.cases.bytes_valid_path_proto2", + Tag: "varint,1161,opt,name=bytes_valid_path_proto2", + Filename: "buf/validate/conformance/cases/predefined_rules_proto2.proto", + }, + { + ExtendedType: (*validate.EnumRules)(nil), + ExtensionType: (*bool)(nil), + Field: 1161, + Name: "buf.validate.conformance.cases.enum_non_zero_proto2", + Tag: "varint,1161,opt,name=enum_non_zero_proto2", + Filename: "buf/validate/conformance/cases/predefined_rules_proto2.proto", + }, + { + ExtendedType: (*validate.RepeatedRules)(nil), + ExtensionType: (*bool)(nil), + Field: 1161, + Name: "buf.validate.conformance.cases.repeated_at_least_five_proto2", + Tag: "varint,1161,opt,name=repeated_at_least_five_proto2", + Filename: "buf/validate/conformance/cases/predefined_rules_proto2.proto", + }, + { + ExtendedType: (*validate.DurationRules)(nil), + ExtensionType: (*bool)(nil), + Field: 1161, + Name: "buf.validate.conformance.cases.duration_too_long_proto2", + Tag: "varint,1161,opt,name=duration_too_long_proto2", + Filename: "buf/validate/conformance/cases/predefined_rules_proto2.proto", + }, + { + ExtendedType: (*validate.TimestampRules)(nil), + ExtensionType: (*bool)(nil), + Field: 1161, + Name: "buf.validate.conformance.cases.timestamp_in_range_proto2", + Tag: "varint,1161,opt,name=timestamp_in_range_proto2", + Filename: "buf/validate/conformance/cases/predefined_rules_proto2.proto", + }, +} + +// Extension fields to validate.FloatRules. +var ( + // optional float float_abs_range_proto2 = 1161; + E_FloatAbsRangeProto2 = &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_extTypes[0] +) + +// Extension fields to validate.DoubleRules. +var ( + // optional double double_abs_range_proto2 = 1161; + E_DoubleAbsRangeProto2 = &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_extTypes[1] +) + +// Extension fields to validate.Int32Rules. +var ( + // repeated int32 int32_abs_in_proto2 = 1161; + E_Int32AbsInProto2 = &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_extTypes[2] +) + +// Extension fields to validate.Int64Rules. +var ( + // repeated google.protobuf.Int64Value int64_abs_in_proto2 = 1161; + E_Int64AbsInProto2 = &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_extTypes[3] +) + +// Extension fields to validate.UInt32Rules. +var ( + // optional bool uint32_even_proto2 = 1161; + E_Uint32EvenProto2 = &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_extTypes[4] +) + +// Extension fields to validate.UInt64Rules. +var ( + // optional bool uint64_even_proto2 = 1161; + E_Uint64EvenProto2 = &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_extTypes[5] +) + +// Extension fields to validate.SInt32Rules. +var ( + // optional bool sint32_even_proto2 = 1161; + E_Sint32EvenProto2 = &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_extTypes[6] +) + +// Extension fields to validate.SInt64Rules. +var ( + // optional bool sint64_even_proto2 = 1161; + E_Sint64EvenProto2 = &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_extTypes[7] +) + +// Extension fields to validate.Fixed32Rules. +var ( + // optional bool fixed32_even_proto2 = 1161; + E_Fixed32EvenProto2 = &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_extTypes[8] +) + +// Extension fields to validate.Fixed64Rules. +var ( + // optional bool fixed64_even_proto2 = 1161; + E_Fixed64EvenProto2 = &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_extTypes[9] +) + +// Extension fields to validate.SFixed32Rules. +var ( + // optional bool sfixed32_even_proto2 = 1161; + E_Sfixed32EvenProto2 = &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_extTypes[10] +) + +// Extension fields to validate.SFixed64Rules. +var ( + // optional bool sfixed64_even_proto2 = 1161; + E_Sfixed64EvenProto2 = &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_extTypes[11] +) + +// Extension fields to validate.BoolRules. +var ( + // optional bool bool_false_proto2 = 1161; + E_BoolFalseProto2 = &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_extTypes[12] +) + +// Extension fields to validate.StringRules. +var ( + // optional bool string_valid_path_proto2 = 1161; + E_StringValidPathProto2 = &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_extTypes[13] +) + +// Extension fields to validate.BytesRules. +var ( + // optional bool bytes_valid_path_proto2 = 1161; + E_BytesValidPathProto2 = &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_extTypes[14] +) + +// Extension fields to validate.EnumRules. +var ( + // optional bool enum_non_zero_proto2 = 1161; + E_EnumNonZeroProto2 = &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_extTypes[15] +) + +// Extension fields to validate.RepeatedRules. +var ( + // optional bool repeated_at_least_five_proto2 = 1161; + E_RepeatedAtLeastFiveProto2 = &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_extTypes[16] +) + +// Extension fields to validate.DurationRules. +var ( + // optional bool duration_too_long_proto2 = 1161; + E_DurationTooLongProto2 = &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_extTypes[17] +) + +// Extension fields to validate.TimestampRules. +var ( + // optional bool timestamp_in_range_proto2 = 1161; + E_TimestampInRangeProto2 = &file_buf_validate_conformance_cases_predefined_rules_proto2_proto_extTypes[18] +) + +var File_buf_validate_conformance_cases_predefined_rules_proto2_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDesc = "" + + "\n" + + " 24 ? '' : 'a must be greater than 24':\x03\xc8H\x01R\x01a\x12\xb4\x01\n" + + "\x01b\x18\x02 \x01(\v2D.buf.validate.conformance.cases.PredefinedAndCustomRuleProto2.NestedB`\xbaH]\xba\x01Z\n" + + "*predefined_and_custom_rule_embedded_proto2\x12\x1bb.c must be a multiple of 3\x1a\x0fthis.c % 3 == 0R\x01b\x1as\n" + + "\x06Nested\x12i\n" + + "\x01c\x18\x01 \x01(\x11B[\xbaHX\xba\x01P\n" + + "(predefined_and_custom_rule_nested_proto2\x1a$this > 0 ? '' : 'c must be positive':\x03\xc8H\x01R\x01c\"\xa5\x01\n" + + "%StandardPredefinedAndCustomRuleProto2\x12|\n" + + "\x01a\x18\x01 \x01(\x11Bn\xbaHk\xba\x01a\n" + + "1standard_predefined_and_custom_rule_scalar_proto2\x1a,this > 24 ? '' : 'a must be greater than 24':\x05\xc8H\x01\x108R\x01a:\xa9\x01\n" + + "\x16float_abs_range_proto2\x12\x18.buf.validate.FloatRules\x18\x89\t \x01(\x02BY\xc2HV\n" + + "T\n" + + "\x16float.abs_range.proto2\x12\x1bfloat value is out of range\x1a\x1dthis >= -rule && this <= ruleR\x13floatAbsRangeProto2:\xae\x01\n" + + "\x17double_abs_range_proto2\x12\x19.buf.validate.DoubleRules\x18\x89\t \x01(\x01B[\xc2HX\n" + + "V\n" + + "\x17double.abs_range.proto2\x12\x1cdouble value is out of range\x1a\x1dthis >= -rule && this <= ruleR\x14doubleAbsRangeProto2:\xb6\x01\n" + + "\x13int32_abs_in_proto2\x12\x18.buf.validate.Int32Rules\x18\x89\t \x03(\x05Bl\xc2Hi\n" + + "g\n" + + "\x13int32.abs_in.proto2\x12'value must be in absolute value of list\x1a'this in rule || this in rule.map(n, -n)R\x10int32AbsInProto2:\xd3\x01\n" + + "\x13int64_abs_in_proto2\x12\x18.buf.validate.Int64Rules\x18\x89\t \x03(\v2\x1b.google.protobuf.Int64ValueBl\xc2Hi\n" + + "g\n" + + "\x13int64.abs_in.proto2\x12'value must be in absolute value of list\x1a'this in rule || this in rule.map(n, -n)R\x10int64AbsInProto2:\x8e\x01\n" + + "\x12uint32_even_proto2\x12\x19.buf.validate.UInt32Rules\x18\x89\t \x01(\bBD\xc2HA\n" + + "?\n" + + "\x12uint32.even.proto2\x12\x18uint32 value is not even\x1a\x0fthis % 2u == 0uR\x10uint32EvenProto2:\x8e\x01\n" + + "\x12uint64_even_proto2\x12\x19.buf.validate.UInt64Rules\x18\x89\t \x01(\bBD\xc2HA\n" + + "?\n" + + "\x12uint64.even.proto2\x12\x18uint64 value is not even\x1a\x0fthis % 2u == 0uR\x10uint64EvenProto2:\x8c\x01\n" + + "\x12sint32_even_proto2\x12\x19.buf.validate.SInt32Rules\x18\x89\t \x01(\bBB\xc2H?\n" + + "=\n" + + "\x12sint32.even.proto2\x12\x18sint32 value is not even\x1a\rthis % 2 == 0R\x10sint32EvenProto2:\x8c\x01\n" + + "\x12sint64_even_proto2\x12\x19.buf.validate.SInt64Rules\x18\x89\t \x01(\bBB\xc2H?\n" + + "=\n" + + "\x12sint64.even.proto2\x12\x18sint64 value is not even\x1a\rthis % 2 == 0R\x10sint64EvenProto2:\x93\x01\n" + + "\x13fixed32_even_proto2\x12\x1a.buf.validate.Fixed32Rules\x18\x89\t \x01(\bBF\xc2HC\n" + + "A\n" + + "\x13fixed32.even.proto2\x12\x19fixed32 value is not even\x1a\x0fthis % 2u == 0uR\x11fixed32EvenProto2:\x93\x01\n" + + "\x13fixed64_even_proto2\x12\x1a.buf.validate.Fixed64Rules\x18\x89\t \x01(\bBF\xc2HC\n" + + "A\n" + + "\x13fixed64.even.proto2\x12\x19fixed64 value is not even\x1a\x0fthis % 2u == 0uR\x11fixed64EvenProto2:\x96\x01\n" + + "\x14sfixed32_even_proto2\x12\x1b.buf.validate.SFixed32Rules\x18\x89\t \x01(\bBF\xc2HC\n" + + "A\n" + + "\x14sfixed32.even.proto2\x12\x1asfixed32 value is not even\x1a\rthis % 2 == 0R\x12sfixed32EvenProto2:\x96\x01\n" + + "\x14sfixed64_even_proto2\x12\x1b.buf.validate.SFixed64Rules\x18\x89\t \x01(\bBF\xc2HC\n" + + "A\n" + + "\x14sfixed64.even.proto2\x12\x1asfixed64 value is not even\x1a\rthis % 2 == 0R\x12sfixed64EvenProto2:\x86\x01\n" + + "\x11bool_false_proto2\x12\x17.buf.validate.BoolRules\x18\x89\t \x01(\bB@\xc2H=\n" + + ";\n" + + "\x11bool.false.proto2\x12\x17bool value is not false\x1a\rthis == falseR\x0fboolFalseProto2:\xfe\x01\n" + + "\x18string_valid_path_proto2\x12\x19.buf.validate.StringRules\x18\x89\t \x01(\bB\xa8\x01\xc2H\xa4\x01\n" + + "\xa1\x01\n" + + "\x18string.valid_path.proto2\x1a\x84\x01!this.matches('^([^/.][^/]?|[^/][^/.]|[^/]{3,})(/([^/.][^/]?|[^/][^/.]|[^/]{3,}))*$') ? 'not a valid path: `%s`'.format([this]) : ''R\x15stringValidPathProto2:\x82\x02\n" + + "\x17bytes_valid_path_proto2\x12\x18.buf.validate.BytesRules\x18\x89\t \x01(\bB\xaf\x01\xc2H\xab\x01\n" + + "\xa8\x01\n" + + "\x17bytes.valid_path.proto2\x1a\x8c\x01!string(this).matches('^([^/.][^/]?|[^/][^/.]|[^/]{3,})(/([^/.][^/]?|[^/][^/.]|[^/]{3,}))*$') ? 'not a valid path: `%s`'.format([this]) : ''R\x14bytesValidPathProto2:\x92\x01\n" + + "\x14enum_non_zero_proto2\x12\x17.buf.validate.EnumRules\x18\x89\t \x01(\bBG\xc2HD\n" + + "B\n" + + "\x14enum.non_zero.proto2\x12\x1aenum value is not non-zero\x1a\x0eint(this) != 0R\x11enumNonZeroProto2:\xcc\x01\n" + + "\x1drepeated_at_least_five_proto2\x12\x1b.buf.validate.RepeatedRules\x18\x89\t \x01(\bBl\xc2Hi\n" + + "g\n" + + "\x1drepeated.at_least_five.proto2\x12-repeated field must have at least five values\x1a\x17uint(this.size()) >= 5uR\x19repeatedAtLeastFiveProto2:\xb9\x01\n" + + "\x18duration_too_long_proto2\x12\x1b.buf.validate.DurationRules\x18\x89\t \x01(\bBb\xc2H_\n" + + "]\n" + + "\x18duration.too_long.proto2\x12(duration can't be longer than 10 seconds\x1a\x17this <= duration('10s')R\x15durationTooLongProto2:\xc8\x01\n" + + "\x19timestamp_in_range_proto2\x12\x1c.buf.validate.TimestampRules\x18\x89\t \x01(\bBn\xc2Hk\n" + + "i\n" + + "\x1btimestamp.time_range.proto2\x12\x16timestamp out of range\x1a2int(this) >= 1049587200 && int(this) <= 1080432000R\x16timestampInRangeProto2B\xb7\x02\n" + + "\"com.buf.validate.conformance.casesB\x1aPredefinedRulesProto2ProtoP\x01ZYgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Cases" + +var ( + file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDesc), len(file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDescData +} + +var file_buf_validate_conformance_cases_predefined_rules_proto2_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes = make([]protoimpl.MessageInfo, 40) +var file_buf_validate_conformance_cases_predefined_rules_proto2_proto_goTypes = []any{ + (PredefinedEnumRuleProto2_EnumProto2)(0), // 0: buf.validate.conformance.cases.PredefinedEnumRuleProto2.EnumProto2 + (*PredefinedFloatRuleProto2)(nil), // 1: buf.validate.conformance.cases.PredefinedFloatRuleProto2 + (*PredefinedDoubleRuleProto2)(nil), // 2: buf.validate.conformance.cases.PredefinedDoubleRuleProto2 + (*PredefinedInt32RuleProto2)(nil), // 3: buf.validate.conformance.cases.PredefinedInt32RuleProto2 + (*PredefinedInt64RuleProto2)(nil), // 4: buf.validate.conformance.cases.PredefinedInt64RuleProto2 + (*PredefinedUInt32RuleProto2)(nil), // 5: buf.validate.conformance.cases.PredefinedUInt32RuleProto2 + (*PredefinedUInt64RuleProto2)(nil), // 6: buf.validate.conformance.cases.PredefinedUInt64RuleProto2 + (*PredefinedSInt32RuleProto2)(nil), // 7: buf.validate.conformance.cases.PredefinedSInt32RuleProto2 + (*PredefinedSInt64RuleProto2)(nil), // 8: buf.validate.conformance.cases.PredefinedSInt64RuleProto2 + (*PredefinedFixed32RuleProto2)(nil), // 9: buf.validate.conformance.cases.PredefinedFixed32RuleProto2 + (*PredefinedFixed64RuleProto2)(nil), // 10: buf.validate.conformance.cases.PredefinedFixed64RuleProto2 + (*PredefinedSFixed32RuleProto2)(nil), // 11: buf.validate.conformance.cases.PredefinedSFixed32RuleProto2 + (*PredefinedSFixed64RuleProto2)(nil), // 12: buf.validate.conformance.cases.PredefinedSFixed64RuleProto2 + (*PredefinedBoolRuleProto2)(nil), // 13: buf.validate.conformance.cases.PredefinedBoolRuleProto2 + (*PredefinedStringRuleProto2)(nil), // 14: buf.validate.conformance.cases.PredefinedStringRuleProto2 + (*PredefinedBytesRuleProto2)(nil), // 15: buf.validate.conformance.cases.PredefinedBytesRuleProto2 + (*PredefinedEnumRuleProto2)(nil), // 16: buf.validate.conformance.cases.PredefinedEnumRuleProto2 + (*PredefinedRepeatedRuleProto2)(nil), // 17: buf.validate.conformance.cases.PredefinedRepeatedRuleProto2 + (*PredefinedDurationRuleProto2)(nil), // 18: buf.validate.conformance.cases.PredefinedDurationRuleProto2 + (*PredefinedTimestampRuleProto2)(nil), // 19: buf.validate.conformance.cases.PredefinedTimestampRuleProto2 + (*PredefinedWrappedFloatRuleProto2)(nil), // 20: buf.validate.conformance.cases.PredefinedWrappedFloatRuleProto2 + (*PredefinedWrappedDoubleRuleProto2)(nil), // 21: buf.validate.conformance.cases.PredefinedWrappedDoubleRuleProto2 + (*PredefinedWrappedInt32RuleProto2)(nil), // 22: buf.validate.conformance.cases.PredefinedWrappedInt32RuleProto2 + (*PredefinedWrappedInt64RuleProto2)(nil), // 23: buf.validate.conformance.cases.PredefinedWrappedInt64RuleProto2 + (*PredefinedWrappedUInt32RuleProto2)(nil), // 24: buf.validate.conformance.cases.PredefinedWrappedUInt32RuleProto2 + (*PredefinedWrappedUInt64RuleProto2)(nil), // 25: buf.validate.conformance.cases.PredefinedWrappedUInt64RuleProto2 + (*PredefinedWrappedBoolRuleProto2)(nil), // 26: buf.validate.conformance.cases.PredefinedWrappedBoolRuleProto2 + (*PredefinedWrappedStringRuleProto2)(nil), // 27: buf.validate.conformance.cases.PredefinedWrappedStringRuleProto2 + (*PredefinedWrappedBytesRuleProto2)(nil), // 28: buf.validate.conformance.cases.PredefinedWrappedBytesRuleProto2 + (*PredefinedRepeatedWrappedFloatRuleProto2)(nil), // 29: buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleProto2 + (*PredefinedRepeatedWrappedDoubleRuleProto2)(nil), // 30: buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleProto2 + (*PredefinedRepeatedWrappedInt32RuleProto2)(nil), // 31: buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleProto2 + (*PredefinedRepeatedWrappedInt64RuleProto2)(nil), // 32: buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleProto2 + (*PredefinedRepeatedWrappedUInt32RuleProto2)(nil), // 33: buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleProto2 + (*PredefinedRepeatedWrappedUInt64RuleProto2)(nil), // 34: buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleProto2 + (*PredefinedRepeatedWrappedBoolRuleProto2)(nil), // 35: buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleProto2 + (*PredefinedRepeatedWrappedStringRuleProto2)(nil), // 36: buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleProto2 + (*PredefinedRepeatedWrappedBytesRuleProto2)(nil), // 37: buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleProto2 + (*PredefinedAndCustomRuleProto2)(nil), // 38: buf.validate.conformance.cases.PredefinedAndCustomRuleProto2 + (*StandardPredefinedAndCustomRuleProto2)(nil), // 39: buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto2 + (*PredefinedAndCustomRuleProto2_Nested)(nil), // 40: buf.validate.conformance.cases.PredefinedAndCustomRuleProto2.Nested + (*durationpb.Duration)(nil), // 41: google.protobuf.Duration + (*timestamppb.Timestamp)(nil), // 42: google.protobuf.Timestamp + (*wrapperspb.FloatValue)(nil), // 43: google.protobuf.FloatValue + (*wrapperspb.DoubleValue)(nil), // 44: google.protobuf.DoubleValue + (*wrapperspb.Int32Value)(nil), // 45: google.protobuf.Int32Value + (*wrapperspb.Int64Value)(nil), // 46: google.protobuf.Int64Value + (*wrapperspb.UInt32Value)(nil), // 47: google.protobuf.UInt32Value + (*wrapperspb.UInt64Value)(nil), // 48: google.protobuf.UInt64Value + (*wrapperspb.BoolValue)(nil), // 49: google.protobuf.BoolValue + (*wrapperspb.StringValue)(nil), // 50: google.protobuf.StringValue + (*wrapperspb.BytesValue)(nil), // 51: google.protobuf.BytesValue + (*validate.FloatRules)(nil), // 52: buf.validate.FloatRules + (*validate.DoubleRules)(nil), // 53: buf.validate.DoubleRules + (*validate.Int32Rules)(nil), // 54: buf.validate.Int32Rules + (*validate.Int64Rules)(nil), // 55: buf.validate.Int64Rules + (*validate.UInt32Rules)(nil), // 56: buf.validate.UInt32Rules + (*validate.UInt64Rules)(nil), // 57: buf.validate.UInt64Rules + (*validate.SInt32Rules)(nil), // 58: buf.validate.SInt32Rules + (*validate.SInt64Rules)(nil), // 59: buf.validate.SInt64Rules + (*validate.Fixed32Rules)(nil), // 60: buf.validate.Fixed32Rules + (*validate.Fixed64Rules)(nil), // 61: buf.validate.Fixed64Rules + (*validate.SFixed32Rules)(nil), // 62: buf.validate.SFixed32Rules + (*validate.SFixed64Rules)(nil), // 63: buf.validate.SFixed64Rules + (*validate.BoolRules)(nil), // 64: buf.validate.BoolRules + (*validate.StringRules)(nil), // 65: buf.validate.StringRules + (*validate.BytesRules)(nil), // 66: buf.validate.BytesRules + (*validate.EnumRules)(nil), // 67: buf.validate.EnumRules + (*validate.RepeatedRules)(nil), // 68: buf.validate.RepeatedRules + (*validate.DurationRules)(nil), // 69: buf.validate.DurationRules + (*validate.TimestampRules)(nil), // 70: buf.validate.TimestampRules +} +var file_buf_validate_conformance_cases_predefined_rules_proto2_proto_depIdxs = []int32{ + 0, // 0: buf.validate.conformance.cases.PredefinedEnumRuleProto2.val:type_name -> buf.validate.conformance.cases.PredefinedEnumRuleProto2.EnumProto2 + 41, // 1: buf.validate.conformance.cases.PredefinedDurationRuleProto2.val:type_name -> google.protobuf.Duration + 42, // 2: buf.validate.conformance.cases.PredefinedTimestampRuleProto2.val:type_name -> google.protobuf.Timestamp + 43, // 3: buf.validate.conformance.cases.PredefinedWrappedFloatRuleProto2.val:type_name -> google.protobuf.FloatValue + 44, // 4: buf.validate.conformance.cases.PredefinedWrappedDoubleRuleProto2.val:type_name -> google.protobuf.DoubleValue + 45, // 5: buf.validate.conformance.cases.PredefinedWrappedInt32RuleProto2.val:type_name -> google.protobuf.Int32Value + 46, // 6: buf.validate.conformance.cases.PredefinedWrappedInt64RuleProto2.val:type_name -> google.protobuf.Int64Value + 47, // 7: buf.validate.conformance.cases.PredefinedWrappedUInt32RuleProto2.val:type_name -> google.protobuf.UInt32Value + 48, // 8: buf.validate.conformance.cases.PredefinedWrappedUInt64RuleProto2.val:type_name -> google.protobuf.UInt64Value + 49, // 9: buf.validate.conformance.cases.PredefinedWrappedBoolRuleProto2.val:type_name -> google.protobuf.BoolValue + 50, // 10: buf.validate.conformance.cases.PredefinedWrappedStringRuleProto2.val:type_name -> google.protobuf.StringValue + 51, // 11: buf.validate.conformance.cases.PredefinedWrappedBytesRuleProto2.val:type_name -> google.protobuf.BytesValue + 43, // 12: buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleProto2.val:type_name -> google.protobuf.FloatValue + 44, // 13: buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleProto2.val:type_name -> google.protobuf.DoubleValue + 45, // 14: buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleProto2.val:type_name -> google.protobuf.Int32Value + 46, // 15: buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleProto2.val:type_name -> google.protobuf.Int64Value + 47, // 16: buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleProto2.val:type_name -> google.protobuf.UInt32Value + 48, // 17: buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleProto2.val:type_name -> google.protobuf.UInt64Value + 49, // 18: buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleProto2.val:type_name -> google.protobuf.BoolValue + 50, // 19: buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleProto2.val:type_name -> google.protobuf.StringValue + 51, // 20: buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleProto2.val:type_name -> google.protobuf.BytesValue + 40, // 21: buf.validate.conformance.cases.PredefinedAndCustomRuleProto2.b:type_name -> buf.validate.conformance.cases.PredefinedAndCustomRuleProto2.Nested + 52, // 22: buf.validate.conformance.cases.float_abs_range_proto2:extendee -> buf.validate.FloatRules + 53, // 23: buf.validate.conformance.cases.double_abs_range_proto2:extendee -> buf.validate.DoubleRules + 54, // 24: buf.validate.conformance.cases.int32_abs_in_proto2:extendee -> buf.validate.Int32Rules + 55, // 25: buf.validate.conformance.cases.int64_abs_in_proto2:extendee -> buf.validate.Int64Rules + 56, // 26: buf.validate.conformance.cases.uint32_even_proto2:extendee -> buf.validate.UInt32Rules + 57, // 27: buf.validate.conformance.cases.uint64_even_proto2:extendee -> buf.validate.UInt64Rules + 58, // 28: buf.validate.conformance.cases.sint32_even_proto2:extendee -> buf.validate.SInt32Rules + 59, // 29: buf.validate.conformance.cases.sint64_even_proto2:extendee -> buf.validate.SInt64Rules + 60, // 30: buf.validate.conformance.cases.fixed32_even_proto2:extendee -> buf.validate.Fixed32Rules + 61, // 31: buf.validate.conformance.cases.fixed64_even_proto2:extendee -> buf.validate.Fixed64Rules + 62, // 32: buf.validate.conformance.cases.sfixed32_even_proto2:extendee -> buf.validate.SFixed32Rules + 63, // 33: buf.validate.conformance.cases.sfixed64_even_proto2:extendee -> buf.validate.SFixed64Rules + 64, // 34: buf.validate.conformance.cases.bool_false_proto2:extendee -> buf.validate.BoolRules + 65, // 35: buf.validate.conformance.cases.string_valid_path_proto2:extendee -> buf.validate.StringRules + 66, // 36: buf.validate.conformance.cases.bytes_valid_path_proto2:extendee -> buf.validate.BytesRules + 67, // 37: buf.validate.conformance.cases.enum_non_zero_proto2:extendee -> buf.validate.EnumRules + 68, // 38: buf.validate.conformance.cases.repeated_at_least_five_proto2:extendee -> buf.validate.RepeatedRules + 69, // 39: buf.validate.conformance.cases.duration_too_long_proto2:extendee -> buf.validate.DurationRules + 70, // 40: buf.validate.conformance.cases.timestamp_in_range_proto2:extendee -> buf.validate.TimestampRules + 46, // 41: buf.validate.conformance.cases.int64_abs_in_proto2:type_name -> google.protobuf.Int64Value + 42, // [42:42] is the sub-list for method output_type + 42, // [42:42] is the sub-list for method input_type + 41, // [41:42] is the sub-list for extension type_name + 22, // [22:41] is the sub-list for extension extendee + 0, // [0:22] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_predefined_rules_proto2_proto_init() } +func file_buf_validate_conformance_cases_predefined_rules_proto2_proto_init() { + if File_buf_validate_conformance_cases_predefined_rules_proto2_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDesc), len(file_buf_validate_conformance_cases_predefined_rules_proto2_proto_rawDesc)), + NumEnums: 1, + NumMessages: 40, + NumExtensions: 19, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_predefined_rules_proto2_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_predefined_rules_proto2_proto_depIdxs, + EnumInfos: file_buf_validate_conformance_cases_predefined_rules_proto2_proto_enumTypes, + MessageInfos: file_buf_validate_conformance_cases_predefined_rules_proto2_proto_msgTypes, + ExtensionInfos: file_buf_validate_conformance_cases_predefined_rules_proto2_proto_extTypes, + }.Build() + File_buf_validate_conformance_cases_predefined_rules_proto2_proto = out.File + file_buf_validate_conformance_cases_predefined_rules_proto2_proto_goTypes = nil + file_buf_validate_conformance_cases_predefined_rules_proto2_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/predefined_rules_proto3.pb.go b/internal/gen/proto/buf/validate/conformance/cases/predefined_rules_proto3.pb.go new file mode 100644 index 00000000..f9ceb62b --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/predefined_rules_proto3.pb.go @@ -0,0 +1,2203 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/predefined_rules_proto3.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PredefinedEnumRuleProto3_EnumProto3 int32 + +const ( + PredefinedEnumRuleProto3_ENUM_PROTO3_ZERO_UNSPECIFIED PredefinedEnumRuleProto3_EnumProto3 = 0 + PredefinedEnumRuleProto3_ENUM_PROTO3_ONE PredefinedEnumRuleProto3_EnumProto3 = 1 +) + +// Enum value maps for PredefinedEnumRuleProto3_EnumProto3. +var ( + PredefinedEnumRuleProto3_EnumProto3_name = map[int32]string{ + 0: "ENUM_PROTO3_ZERO_UNSPECIFIED", + 1: "ENUM_PROTO3_ONE", + } + PredefinedEnumRuleProto3_EnumProto3_value = map[string]int32{ + "ENUM_PROTO3_ZERO_UNSPECIFIED": 0, + "ENUM_PROTO3_ONE": 1, + } +) + +func (x PredefinedEnumRuleProto3_EnumProto3) Enum() *PredefinedEnumRuleProto3_EnumProto3 { + p := new(PredefinedEnumRuleProto3_EnumProto3) + *p = x + return p +} + +func (x PredefinedEnumRuleProto3_EnumProto3) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PredefinedEnumRuleProto3_EnumProto3) Descriptor() protoreflect.EnumDescriptor { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_enumTypes[0].Descriptor() +} + +func (PredefinedEnumRuleProto3_EnumProto3) Type() protoreflect.EnumType { + return &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_enumTypes[0] +} + +func (x PredefinedEnumRuleProto3_EnumProto3) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PredefinedEnumRuleProto3_EnumProto3.Descriptor instead. +func (PredefinedEnumRuleProto3_EnumProto3) EnumDescriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{15, 0} +} + +type PredefinedFloatRuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedFloatRuleProto3) Reset() { + *x = PredefinedFloatRuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedFloatRuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedFloatRuleProto3) ProtoMessage() {} + +func (x *PredefinedFloatRuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedFloatRuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedFloatRuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{0} +} + +func (x *PredefinedFloatRuleProto3) GetVal() float32 { + if x != nil { + return x.Val + } + return 0 +} + +type PredefinedDoubleRuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedDoubleRuleProto3) Reset() { + *x = PredefinedDoubleRuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedDoubleRuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedDoubleRuleProto3) ProtoMessage() {} + +func (x *PredefinedDoubleRuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedDoubleRuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedDoubleRuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{1} +} + +func (x *PredefinedDoubleRuleProto3) GetVal() float64 { + if x != nil { + return x.Val + } + return 0 +} + +type PredefinedInt32RuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedInt32RuleProto3) Reset() { + *x = PredefinedInt32RuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedInt32RuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedInt32RuleProto3) ProtoMessage() {} + +func (x *PredefinedInt32RuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedInt32RuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedInt32RuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{2} +} + +func (x *PredefinedInt32RuleProto3) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type PredefinedInt64RuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedInt64RuleProto3) Reset() { + *x = PredefinedInt64RuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedInt64RuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedInt64RuleProto3) ProtoMessage() {} + +func (x *PredefinedInt64RuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedInt64RuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedInt64RuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{3} +} + +func (x *PredefinedInt64RuleProto3) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type PredefinedUInt32RuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedUInt32RuleProto3) Reset() { + *x = PredefinedUInt32RuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedUInt32RuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedUInt32RuleProto3) ProtoMessage() {} + +func (x *PredefinedUInt32RuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedUInt32RuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedUInt32RuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{4} +} + +func (x *PredefinedUInt32RuleProto3) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type PredefinedUInt64RuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedUInt64RuleProto3) Reset() { + *x = PredefinedUInt64RuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedUInt64RuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedUInt64RuleProto3) ProtoMessage() {} + +func (x *PredefinedUInt64RuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedUInt64RuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedUInt64RuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{5} +} + +func (x *PredefinedUInt64RuleProto3) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type PredefinedSInt32RuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"zigzag32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedSInt32RuleProto3) Reset() { + *x = PredefinedSInt32RuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedSInt32RuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedSInt32RuleProto3) ProtoMessage() {} + +func (x *PredefinedSInt32RuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedSInt32RuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedSInt32RuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{6} +} + +func (x *PredefinedSInt32RuleProto3) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type PredefinedSInt64RuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"zigzag64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedSInt64RuleProto3) Reset() { + *x = PredefinedSInt64RuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedSInt64RuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedSInt64RuleProto3) ProtoMessage() {} + +func (x *PredefinedSInt64RuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedSInt64RuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedSInt64RuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{7} +} + +func (x *PredefinedSInt64RuleProto3) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type PredefinedFixed32RuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedFixed32RuleProto3) Reset() { + *x = PredefinedFixed32RuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedFixed32RuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedFixed32RuleProto3) ProtoMessage() {} + +func (x *PredefinedFixed32RuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedFixed32RuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedFixed32RuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{8} +} + +func (x *PredefinedFixed32RuleProto3) GetVal() uint32 { + if x != nil { + return x.Val + } + return 0 +} + +type PredefinedFixed64RuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val uint64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedFixed64RuleProto3) Reset() { + *x = PredefinedFixed64RuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedFixed64RuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedFixed64RuleProto3) ProtoMessage() {} + +func (x *PredefinedFixed64RuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedFixed64RuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedFixed64RuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{9} +} + +func (x *PredefinedFixed64RuleProto3) GetVal() uint64 { + if x != nil { + return x.Val + } + return 0 +} + +type PredefinedSFixed32RuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedSFixed32RuleProto3) Reset() { + *x = PredefinedSFixed32RuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedSFixed32RuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedSFixed32RuleProto3) ProtoMessage() {} + +func (x *PredefinedSFixed32RuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedSFixed32RuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedSFixed32RuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{10} +} + +func (x *PredefinedSFixed32RuleProto3) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type PredefinedSFixed64RuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedSFixed64RuleProto3) Reset() { + *x = PredefinedSFixed64RuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedSFixed64RuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedSFixed64RuleProto3) ProtoMessage() {} + +func (x *PredefinedSFixed64RuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedSFixed64RuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedSFixed64RuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{11} +} + +func (x *PredefinedSFixed64RuleProto3) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type PredefinedBoolRuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val bool `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedBoolRuleProto3) Reset() { + *x = PredefinedBoolRuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedBoolRuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedBoolRuleProto3) ProtoMessage() {} + +func (x *PredefinedBoolRuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedBoolRuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedBoolRuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{12} +} + +func (x *PredefinedBoolRuleProto3) GetVal() bool { + if x != nil { + return x.Val + } + return false +} + +type PredefinedStringRuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedStringRuleProto3) Reset() { + *x = PredefinedStringRuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedStringRuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedStringRuleProto3) ProtoMessage() {} + +func (x *PredefinedStringRuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedStringRuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedStringRuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{13} +} + +func (x *PredefinedStringRuleProto3) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type PredefinedBytesRuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []byte `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedBytesRuleProto3) Reset() { + *x = PredefinedBytesRuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedBytesRuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedBytesRuleProto3) ProtoMessage() {} + +func (x *PredefinedBytesRuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedBytesRuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedBytesRuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{14} +} + +func (x *PredefinedBytesRuleProto3) GetVal() []byte { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedEnumRuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val PredefinedEnumRuleProto3_EnumProto3 `protobuf:"varint,1,opt,name=val,proto3,enum=buf.validate.conformance.cases.PredefinedEnumRuleProto3_EnumProto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedEnumRuleProto3) Reset() { + *x = PredefinedEnumRuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedEnumRuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedEnumRuleProto3) ProtoMessage() {} + +func (x *PredefinedEnumRuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[15] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedEnumRuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedEnumRuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{15} +} + +func (x *PredefinedEnumRuleProto3) GetVal() PredefinedEnumRuleProto3_EnumProto3 { + if x != nil { + return x.Val + } + return PredefinedEnumRuleProto3_ENUM_PROTO3_ZERO_UNSPECIFIED +} + +type PredefinedMapRuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[uint64]uint64 `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedMapRuleProto3) Reset() { + *x = PredefinedMapRuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedMapRuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedMapRuleProto3) ProtoMessage() {} + +func (x *PredefinedMapRuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[16] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedMapRuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedMapRuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{16} +} + +func (x *PredefinedMapRuleProto3) GetVal() map[uint64]uint64 { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedRuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []uint64 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedRuleProto3) Reset() { + *x = PredefinedRepeatedRuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedRuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedRuleProto3) ProtoMessage() {} + +func (x *PredefinedRepeatedRuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[17] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedRuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedRuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{17} +} + +func (x *PredefinedRepeatedRuleProto3) GetVal() []uint64 { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedDurationRuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedDurationRuleProto3) Reset() { + *x = PredefinedDurationRuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedDurationRuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedDurationRuleProto3) ProtoMessage() {} + +func (x *PredefinedDurationRuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[18] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedDurationRuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedDurationRuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{18} +} + +func (x *PredefinedDurationRuleProto3) GetVal() *durationpb.Duration { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedTimestampRuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedTimestampRuleProto3) Reset() { + *x = PredefinedTimestampRuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedTimestampRuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedTimestampRuleProto3) ProtoMessage() {} + +func (x *PredefinedTimestampRuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[19] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedTimestampRuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedTimestampRuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{19} +} + +func (x *PredefinedTimestampRuleProto3) GetVal() *timestamppb.Timestamp { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedFloatRuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.FloatValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedFloatRuleProto3) Reset() { + *x = PredefinedWrappedFloatRuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedFloatRuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedFloatRuleProto3) ProtoMessage() {} + +func (x *PredefinedWrappedFloatRuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[20] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedFloatRuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedFloatRuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{20} +} + +func (x *PredefinedWrappedFloatRuleProto3) GetVal() *wrapperspb.FloatValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedDoubleRuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.DoubleValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedDoubleRuleProto3) Reset() { + *x = PredefinedWrappedDoubleRuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedDoubleRuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedDoubleRuleProto3) ProtoMessage() {} + +func (x *PredefinedWrappedDoubleRuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[21] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedDoubleRuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedDoubleRuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{21} +} + +func (x *PredefinedWrappedDoubleRuleProto3) GetVal() *wrapperspb.DoubleValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedInt32RuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedInt32RuleProto3) Reset() { + *x = PredefinedWrappedInt32RuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedInt32RuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedInt32RuleProto3) ProtoMessage() {} + +func (x *PredefinedWrappedInt32RuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[22] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedInt32RuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedInt32RuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{22} +} + +func (x *PredefinedWrappedInt32RuleProto3) GetVal() *wrapperspb.Int32Value { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedInt64RuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedInt64RuleProto3) Reset() { + *x = PredefinedWrappedInt64RuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedInt64RuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedInt64RuleProto3) ProtoMessage() {} + +func (x *PredefinedWrappedInt64RuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[23] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedInt64RuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedInt64RuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{23} +} + +func (x *PredefinedWrappedInt64RuleProto3) GetVal() *wrapperspb.Int64Value { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedUInt32RuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedUInt32RuleProto3) Reset() { + *x = PredefinedWrappedUInt32RuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedUInt32RuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedUInt32RuleProto3) ProtoMessage() {} + +func (x *PredefinedWrappedUInt32RuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[24] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedUInt32RuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedUInt32RuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{24} +} + +func (x *PredefinedWrappedUInt32RuleProto3) GetVal() *wrapperspb.UInt32Value { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedUInt64RuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.UInt64Value `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedUInt64RuleProto3) Reset() { + *x = PredefinedWrappedUInt64RuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedUInt64RuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedUInt64RuleProto3) ProtoMessage() {} + +func (x *PredefinedWrappedUInt64RuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[25] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedUInt64RuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedUInt64RuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{25} +} + +func (x *PredefinedWrappedUInt64RuleProto3) GetVal() *wrapperspb.UInt64Value { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedBoolRuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedBoolRuleProto3) Reset() { + *x = PredefinedWrappedBoolRuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedBoolRuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedBoolRuleProto3) ProtoMessage() {} + +func (x *PredefinedWrappedBoolRuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[26] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedBoolRuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedBoolRuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{26} +} + +func (x *PredefinedWrappedBoolRuleProto3) GetVal() *wrapperspb.BoolValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedStringRuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedStringRuleProto3) Reset() { + *x = PredefinedWrappedStringRuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedStringRuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedStringRuleProto3) ProtoMessage() {} + +func (x *PredefinedWrappedStringRuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[27] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedStringRuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedStringRuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{27} +} + +func (x *PredefinedWrappedStringRuleProto3) GetVal() *wrapperspb.StringValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedBytesRuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.BytesValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedBytesRuleProto3) Reset() { + *x = PredefinedWrappedBytesRuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedBytesRuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedBytesRuleProto3) ProtoMessage() {} + +func (x *PredefinedWrappedBytesRuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[28] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedBytesRuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedBytesRuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{28} +} + +func (x *PredefinedWrappedBytesRuleProto3) GetVal() *wrapperspb.BytesValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedFloatRuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.FloatValue `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedFloatRuleProto3) Reset() { + *x = PredefinedRepeatedWrappedFloatRuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedFloatRuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedFloatRuleProto3) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedFloatRuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[29] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedFloatRuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedFloatRuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{29} +} + +func (x *PredefinedRepeatedWrappedFloatRuleProto3) GetVal() []*wrapperspb.FloatValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedDoubleRuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.DoubleValue `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedDoubleRuleProto3) Reset() { + *x = PredefinedRepeatedWrappedDoubleRuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedDoubleRuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedDoubleRuleProto3) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedDoubleRuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[30] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedDoubleRuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedDoubleRuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{30} +} + +func (x *PredefinedRepeatedWrappedDoubleRuleProto3) GetVal() []*wrapperspb.DoubleValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedInt32RuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.Int32Value `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedInt32RuleProto3) Reset() { + *x = PredefinedRepeatedWrappedInt32RuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedInt32RuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedInt32RuleProto3) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedInt32RuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[31] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedInt32RuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedInt32RuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{31} +} + +func (x *PredefinedRepeatedWrappedInt32RuleProto3) GetVal() []*wrapperspb.Int32Value { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedInt64RuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.Int64Value `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedInt64RuleProto3) Reset() { + *x = PredefinedRepeatedWrappedInt64RuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedInt64RuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedInt64RuleProto3) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedInt64RuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[32] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedInt64RuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedInt64RuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{32} +} + +func (x *PredefinedRepeatedWrappedInt64RuleProto3) GetVal() []*wrapperspb.Int64Value { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedUInt32RuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.UInt32Value `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedUInt32RuleProto3) Reset() { + *x = PredefinedRepeatedWrappedUInt32RuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedUInt32RuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedUInt32RuleProto3) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedUInt32RuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[33] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedUInt32RuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedUInt32RuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{33} +} + +func (x *PredefinedRepeatedWrappedUInt32RuleProto3) GetVal() []*wrapperspb.UInt32Value { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedUInt64RuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.UInt64Value `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedUInt64RuleProto3) Reset() { + *x = PredefinedRepeatedWrappedUInt64RuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedUInt64RuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedUInt64RuleProto3) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedUInt64RuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[34] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedUInt64RuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedUInt64RuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{34} +} + +func (x *PredefinedRepeatedWrappedUInt64RuleProto3) GetVal() []*wrapperspb.UInt64Value { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedBoolRuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.BoolValue `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedBoolRuleProto3) Reset() { + *x = PredefinedRepeatedWrappedBoolRuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedBoolRuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedBoolRuleProto3) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedBoolRuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[35] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedBoolRuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedBoolRuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{35} +} + +func (x *PredefinedRepeatedWrappedBoolRuleProto3) GetVal() []*wrapperspb.BoolValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedStringRuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedStringRuleProto3) Reset() { + *x = PredefinedRepeatedWrappedStringRuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedStringRuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedStringRuleProto3) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedStringRuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[36] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedStringRuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedStringRuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{36} +} + +func (x *PredefinedRepeatedWrappedStringRuleProto3) GetVal() []*wrapperspb.StringValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedBytesRuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.BytesValue `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedBytesRuleProto3) Reset() { + *x = PredefinedRepeatedWrappedBytesRuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedBytesRuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedBytesRuleProto3) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedBytesRuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[37] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedBytesRuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedBytesRuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{37} +} + +func (x *PredefinedRepeatedWrappedBytesRuleProto3) GetVal() []*wrapperspb.BytesValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedAndCustomRuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + A int32 `protobuf:"zigzag32,1,opt,name=a,proto3" json:"a,omitempty"` + B *PredefinedAndCustomRuleProto3_Nested `protobuf:"bytes,2,opt,name=b,proto3,oneof" json:"b,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedAndCustomRuleProto3) Reset() { + *x = PredefinedAndCustomRuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedAndCustomRuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedAndCustomRuleProto3) ProtoMessage() {} + +func (x *PredefinedAndCustomRuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[38] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedAndCustomRuleProto3.ProtoReflect.Descriptor instead. +func (*PredefinedAndCustomRuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{38} +} + +func (x *PredefinedAndCustomRuleProto3) GetA() int32 { + if x != nil { + return x.A + } + return 0 +} + +func (x *PredefinedAndCustomRuleProto3) GetB() *PredefinedAndCustomRuleProto3_Nested { + if x != nil { + return x.B + } + return nil +} + +type StandardPredefinedAndCustomRuleProto3 struct { + state protoimpl.MessageState `protogen:"open.v1"` + A int32 `protobuf:"zigzag32,1,opt,name=a,proto3" json:"a,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StandardPredefinedAndCustomRuleProto3) Reset() { + *x = StandardPredefinedAndCustomRuleProto3{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StandardPredefinedAndCustomRuleProto3) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StandardPredefinedAndCustomRuleProto3) ProtoMessage() {} + +func (x *StandardPredefinedAndCustomRuleProto3) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[39] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StandardPredefinedAndCustomRuleProto3.ProtoReflect.Descriptor instead. +func (*StandardPredefinedAndCustomRuleProto3) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{39} +} + +func (x *StandardPredefinedAndCustomRuleProto3) GetA() int32 { + if x != nil { + return x.A + } + return 0 +} + +// This is a workaround for https://github.com/bufbuild/buf/issues/3306. +// TODO(jchadwick-buf): Remove this when bufbuild/buf#3306 is fixed. +type PredefinedRulesProto3UnusedImportBugWorkaround struct { + state protoimpl.MessageState `protogen:"open.v1"` + Dummy_1 *StandardPredefinedAndCustomRuleProto2 `protobuf:"bytes,1,opt,name=dummy_1,json=dummy1,proto3" json:"dummy_1,omitempty"` + Dummy_2 *StandardPredefinedAndCustomRuleEdition2023 `protobuf:"bytes,2,opt,name=dummy_2,json=dummy2,proto3" json:"dummy_2,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRulesProto3UnusedImportBugWorkaround) Reset() { + *x = PredefinedRulesProto3UnusedImportBugWorkaround{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRulesProto3UnusedImportBugWorkaround) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRulesProto3UnusedImportBugWorkaround) ProtoMessage() {} + +func (x *PredefinedRulesProto3UnusedImportBugWorkaround) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[40] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRulesProto3UnusedImportBugWorkaround.ProtoReflect.Descriptor instead. +func (*PredefinedRulesProto3UnusedImportBugWorkaround) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{40} +} + +func (x *PredefinedRulesProto3UnusedImportBugWorkaround) GetDummy_1() *StandardPredefinedAndCustomRuleProto2 { + if x != nil { + return x.Dummy_1 + } + return nil +} + +func (x *PredefinedRulesProto3UnusedImportBugWorkaround) GetDummy_2() *StandardPredefinedAndCustomRuleEdition2023 { + if x != nil { + return x.Dummy_2 + } + return nil +} + +type PredefinedAndCustomRuleProto3_Nested struct { + state protoimpl.MessageState `protogen:"open.v1"` + C int32 `protobuf:"zigzag32,1,opt,name=c,proto3" json:"c,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedAndCustomRuleProto3_Nested) Reset() { + *x = PredefinedAndCustomRuleProto3_Nested{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedAndCustomRuleProto3_Nested) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedAndCustomRuleProto3_Nested) ProtoMessage() {} + +func (x *PredefinedAndCustomRuleProto3_Nested) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[42] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedAndCustomRuleProto3_Nested.ProtoReflect.Descriptor instead. +func (*PredefinedAndCustomRuleProto3_Nested) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP(), []int{38, 0} +} + +func (x *PredefinedAndCustomRuleProto3_Nested) GetC() int32 { + if x != nil { + return x.C + } + return 0 +} + +var File_buf_validate_conformance_cases_predefined_rules_proto3_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDesc = "" + + "\n" + + " 24 ? '' : 'a must be greater than 24':\x03\xd0H\x01R\x01a\x12\xb9\x01\n" + + "\x01b\x18\x02 \x01(\v2D.buf.validate.conformance.cases.PredefinedAndCustomRuleProto3.NestedB`\xbaH]\xba\x01Z\n" + + "*predefined_and_custom_rule_embedded_proto3\x12\x1bb.c must be a multiple of 3\x1a\x0fthis.c % 3 == 0H\x00R\x01b\x88\x01\x01\x1as\n" + + "\x06Nested\x12i\n" + + "\x01c\x18\x01 \x01(\x11B[\xbaHX\xba\x01P\n" + + "(predefined_and_custom_rule_nested_proto3\x1a$this > 0 ? '' : 'c must be positive':\x03\xd0H\x01R\x01cB\x04\n" + + "\x02_b\"\xa5\x01\n" + + "%StandardPredefinedAndCustomRuleProto3\x12|\n" + + "\x01a\x18\x01 \x01(\x11Bn\xbaHk\xba\x01a\n" + + "1standard_predefined_and_custom_rule_scalar_proto3\x1a,this > 24 ? '' : 'a must be greater than 24':\x05\xc8H\x01\x108R\x01a\"\xf5\x01\n" + + ".PredefinedRulesProto3UnusedImportBugWorkaround\x12^\n" + + "\adummy_1\x18\x01 \x01(\v2E.buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto2R\x06dummy1\x12c\n" + + "\adummy_2\x18\x02 \x01(\v2J.buf.validate.conformance.cases.StandardPredefinedAndCustomRuleEdition2023R\x06dummy2B\xb7\x02\n" + + "\"com.buf.validate.conformance.casesB\x1aPredefinedRulesProto3ProtoP\x01ZYgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Casesb\x06proto3" + +var ( + file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDesc), len(file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDescData +} + +var file_buf_validate_conformance_cases_predefined_rules_proto3_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes = make([]protoimpl.MessageInfo, 43) +var file_buf_validate_conformance_cases_predefined_rules_proto3_proto_goTypes = []any{ + (PredefinedEnumRuleProto3_EnumProto3)(0), // 0: buf.validate.conformance.cases.PredefinedEnumRuleProto3.EnumProto3 + (*PredefinedFloatRuleProto3)(nil), // 1: buf.validate.conformance.cases.PredefinedFloatRuleProto3 + (*PredefinedDoubleRuleProto3)(nil), // 2: buf.validate.conformance.cases.PredefinedDoubleRuleProto3 + (*PredefinedInt32RuleProto3)(nil), // 3: buf.validate.conformance.cases.PredefinedInt32RuleProto3 + (*PredefinedInt64RuleProto3)(nil), // 4: buf.validate.conformance.cases.PredefinedInt64RuleProto3 + (*PredefinedUInt32RuleProto3)(nil), // 5: buf.validate.conformance.cases.PredefinedUInt32RuleProto3 + (*PredefinedUInt64RuleProto3)(nil), // 6: buf.validate.conformance.cases.PredefinedUInt64RuleProto3 + (*PredefinedSInt32RuleProto3)(nil), // 7: buf.validate.conformance.cases.PredefinedSInt32RuleProto3 + (*PredefinedSInt64RuleProto3)(nil), // 8: buf.validate.conformance.cases.PredefinedSInt64RuleProto3 + (*PredefinedFixed32RuleProto3)(nil), // 9: buf.validate.conformance.cases.PredefinedFixed32RuleProto3 + (*PredefinedFixed64RuleProto3)(nil), // 10: buf.validate.conformance.cases.PredefinedFixed64RuleProto3 + (*PredefinedSFixed32RuleProto3)(nil), // 11: buf.validate.conformance.cases.PredefinedSFixed32RuleProto3 + (*PredefinedSFixed64RuleProto3)(nil), // 12: buf.validate.conformance.cases.PredefinedSFixed64RuleProto3 + (*PredefinedBoolRuleProto3)(nil), // 13: buf.validate.conformance.cases.PredefinedBoolRuleProto3 + (*PredefinedStringRuleProto3)(nil), // 14: buf.validate.conformance.cases.PredefinedStringRuleProto3 + (*PredefinedBytesRuleProto3)(nil), // 15: buf.validate.conformance.cases.PredefinedBytesRuleProto3 + (*PredefinedEnumRuleProto3)(nil), // 16: buf.validate.conformance.cases.PredefinedEnumRuleProto3 + (*PredefinedMapRuleProto3)(nil), // 17: buf.validate.conformance.cases.PredefinedMapRuleProto3 + (*PredefinedRepeatedRuleProto3)(nil), // 18: buf.validate.conformance.cases.PredefinedRepeatedRuleProto3 + (*PredefinedDurationRuleProto3)(nil), // 19: buf.validate.conformance.cases.PredefinedDurationRuleProto3 + (*PredefinedTimestampRuleProto3)(nil), // 20: buf.validate.conformance.cases.PredefinedTimestampRuleProto3 + (*PredefinedWrappedFloatRuleProto3)(nil), // 21: buf.validate.conformance.cases.PredefinedWrappedFloatRuleProto3 + (*PredefinedWrappedDoubleRuleProto3)(nil), // 22: buf.validate.conformance.cases.PredefinedWrappedDoubleRuleProto3 + (*PredefinedWrappedInt32RuleProto3)(nil), // 23: buf.validate.conformance.cases.PredefinedWrappedInt32RuleProto3 + (*PredefinedWrappedInt64RuleProto3)(nil), // 24: buf.validate.conformance.cases.PredefinedWrappedInt64RuleProto3 + (*PredefinedWrappedUInt32RuleProto3)(nil), // 25: buf.validate.conformance.cases.PredefinedWrappedUInt32RuleProto3 + (*PredefinedWrappedUInt64RuleProto3)(nil), // 26: buf.validate.conformance.cases.PredefinedWrappedUInt64RuleProto3 + (*PredefinedWrappedBoolRuleProto3)(nil), // 27: buf.validate.conformance.cases.PredefinedWrappedBoolRuleProto3 + (*PredefinedWrappedStringRuleProto3)(nil), // 28: buf.validate.conformance.cases.PredefinedWrappedStringRuleProto3 + (*PredefinedWrappedBytesRuleProto3)(nil), // 29: buf.validate.conformance.cases.PredefinedWrappedBytesRuleProto3 + (*PredefinedRepeatedWrappedFloatRuleProto3)(nil), // 30: buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleProto3 + (*PredefinedRepeatedWrappedDoubleRuleProto3)(nil), // 31: buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleProto3 + (*PredefinedRepeatedWrappedInt32RuleProto3)(nil), // 32: buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleProto3 + (*PredefinedRepeatedWrappedInt64RuleProto3)(nil), // 33: buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleProto3 + (*PredefinedRepeatedWrappedUInt32RuleProto3)(nil), // 34: buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleProto3 + (*PredefinedRepeatedWrappedUInt64RuleProto3)(nil), // 35: buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleProto3 + (*PredefinedRepeatedWrappedBoolRuleProto3)(nil), // 36: buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleProto3 + (*PredefinedRepeatedWrappedStringRuleProto3)(nil), // 37: buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleProto3 + (*PredefinedRepeatedWrappedBytesRuleProto3)(nil), // 38: buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleProto3 + (*PredefinedAndCustomRuleProto3)(nil), // 39: buf.validate.conformance.cases.PredefinedAndCustomRuleProto3 + (*StandardPredefinedAndCustomRuleProto3)(nil), // 40: buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto3 + (*PredefinedRulesProto3UnusedImportBugWorkaround)(nil), // 41: buf.validate.conformance.cases.PredefinedRulesProto3UnusedImportBugWorkaround + nil, // 42: buf.validate.conformance.cases.PredefinedMapRuleProto3.ValEntry + (*PredefinedAndCustomRuleProto3_Nested)(nil), // 43: buf.validate.conformance.cases.PredefinedAndCustomRuleProto3.Nested + (*durationpb.Duration)(nil), // 44: google.protobuf.Duration + (*timestamppb.Timestamp)(nil), // 45: google.protobuf.Timestamp + (*wrapperspb.FloatValue)(nil), // 46: google.protobuf.FloatValue + (*wrapperspb.DoubleValue)(nil), // 47: google.protobuf.DoubleValue + (*wrapperspb.Int32Value)(nil), // 48: google.protobuf.Int32Value + (*wrapperspb.Int64Value)(nil), // 49: google.protobuf.Int64Value + (*wrapperspb.UInt32Value)(nil), // 50: google.protobuf.UInt32Value + (*wrapperspb.UInt64Value)(nil), // 51: google.protobuf.UInt64Value + (*wrapperspb.BoolValue)(nil), // 52: google.protobuf.BoolValue + (*wrapperspb.StringValue)(nil), // 53: google.protobuf.StringValue + (*wrapperspb.BytesValue)(nil), // 54: google.protobuf.BytesValue + (*StandardPredefinedAndCustomRuleProto2)(nil), // 55: buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto2 + (*StandardPredefinedAndCustomRuleEdition2023)(nil), // 56: buf.validate.conformance.cases.StandardPredefinedAndCustomRuleEdition2023 +} +var file_buf_validate_conformance_cases_predefined_rules_proto3_proto_depIdxs = []int32{ + 0, // 0: buf.validate.conformance.cases.PredefinedEnumRuleProto3.val:type_name -> buf.validate.conformance.cases.PredefinedEnumRuleProto3.EnumProto3 + 42, // 1: buf.validate.conformance.cases.PredefinedMapRuleProto3.val:type_name -> buf.validate.conformance.cases.PredefinedMapRuleProto3.ValEntry + 44, // 2: buf.validate.conformance.cases.PredefinedDurationRuleProto3.val:type_name -> google.protobuf.Duration + 45, // 3: buf.validate.conformance.cases.PredefinedTimestampRuleProto3.val:type_name -> google.protobuf.Timestamp + 46, // 4: buf.validate.conformance.cases.PredefinedWrappedFloatRuleProto3.val:type_name -> google.protobuf.FloatValue + 47, // 5: buf.validate.conformance.cases.PredefinedWrappedDoubleRuleProto3.val:type_name -> google.protobuf.DoubleValue + 48, // 6: buf.validate.conformance.cases.PredefinedWrappedInt32RuleProto3.val:type_name -> google.protobuf.Int32Value + 49, // 7: buf.validate.conformance.cases.PredefinedWrappedInt64RuleProto3.val:type_name -> google.protobuf.Int64Value + 50, // 8: buf.validate.conformance.cases.PredefinedWrappedUInt32RuleProto3.val:type_name -> google.protobuf.UInt32Value + 51, // 9: buf.validate.conformance.cases.PredefinedWrappedUInt64RuleProto3.val:type_name -> google.protobuf.UInt64Value + 52, // 10: buf.validate.conformance.cases.PredefinedWrappedBoolRuleProto3.val:type_name -> google.protobuf.BoolValue + 53, // 11: buf.validate.conformance.cases.PredefinedWrappedStringRuleProto3.val:type_name -> google.protobuf.StringValue + 54, // 12: buf.validate.conformance.cases.PredefinedWrappedBytesRuleProto3.val:type_name -> google.protobuf.BytesValue + 46, // 13: buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleProto3.val:type_name -> google.protobuf.FloatValue + 47, // 14: buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleProto3.val:type_name -> google.protobuf.DoubleValue + 48, // 15: buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleProto3.val:type_name -> google.protobuf.Int32Value + 49, // 16: buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleProto3.val:type_name -> google.protobuf.Int64Value + 50, // 17: buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleProto3.val:type_name -> google.protobuf.UInt32Value + 51, // 18: buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleProto3.val:type_name -> google.protobuf.UInt64Value + 52, // 19: buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleProto3.val:type_name -> google.protobuf.BoolValue + 53, // 20: buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleProto3.val:type_name -> google.protobuf.StringValue + 54, // 21: buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleProto3.val:type_name -> google.protobuf.BytesValue + 43, // 22: buf.validate.conformance.cases.PredefinedAndCustomRuleProto3.b:type_name -> buf.validate.conformance.cases.PredefinedAndCustomRuleProto3.Nested + 55, // 23: buf.validate.conformance.cases.PredefinedRulesProto3UnusedImportBugWorkaround.dummy_1:type_name -> buf.validate.conformance.cases.StandardPredefinedAndCustomRuleProto2 + 56, // 24: buf.validate.conformance.cases.PredefinedRulesProto3UnusedImportBugWorkaround.dummy_2:type_name -> buf.validate.conformance.cases.StandardPredefinedAndCustomRuleEdition2023 + 25, // [25:25] is the sub-list for method output_type + 25, // [25:25] is the sub-list for method input_type + 25, // [25:25] is the sub-list for extension type_name + 25, // [25:25] is the sub-list for extension extendee + 0, // [0:25] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_predefined_rules_proto3_proto_init() } +func file_buf_validate_conformance_cases_predefined_rules_proto3_proto_init() { + if File_buf_validate_conformance_cases_predefined_rules_proto3_proto != nil { + return + } + file_buf_validate_conformance_cases_predefined_rules_proto2_proto_init() + file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_init() + file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes[38].OneofWrappers = []any{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDesc), len(file_buf_validate_conformance_cases_predefined_rules_proto3_proto_rawDesc)), + NumEnums: 1, + NumMessages: 43, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_predefined_rules_proto3_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_predefined_rules_proto3_proto_depIdxs, + EnumInfos: file_buf_validate_conformance_cases_predefined_rules_proto3_proto_enumTypes, + MessageInfos: file_buf_validate_conformance_cases_predefined_rules_proto3_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_predefined_rules_proto3_proto = out.File + file_buf_validate_conformance_cases_predefined_rules_proto3_proto_goTypes = nil + file_buf_validate_conformance_cases_predefined_rules_proto3_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/predefined_rules_proto_editions.pb.go b/internal/gen/proto/buf/validate/conformance/cases/predefined_rules_proto_editions.pb.go new file mode 100644 index 00000000..60f551b1 --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/predefined_rules_proto_editions.pb.go @@ -0,0 +1,2524 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/predefined_rules_proto_editions.proto + +package cases + +import ( + validate "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PredefinedEnumRuleEdition2023_EnumEdition2023 int32 + +const ( + PredefinedEnumRuleEdition2023_ENUM_EDITION2023_ZERO_UNSPECIFIED PredefinedEnumRuleEdition2023_EnumEdition2023 = 0 + PredefinedEnumRuleEdition2023_ENUM_EDITION2023_ONE PredefinedEnumRuleEdition2023_EnumEdition2023 = 1 +) + +// Enum value maps for PredefinedEnumRuleEdition2023_EnumEdition2023. +var ( + PredefinedEnumRuleEdition2023_EnumEdition2023_name = map[int32]string{ + 0: "ENUM_EDITION2023_ZERO_UNSPECIFIED", + 1: "ENUM_EDITION2023_ONE", + } + PredefinedEnumRuleEdition2023_EnumEdition2023_value = map[string]int32{ + "ENUM_EDITION2023_ZERO_UNSPECIFIED": 0, + "ENUM_EDITION2023_ONE": 1, + } +) + +func (x PredefinedEnumRuleEdition2023_EnumEdition2023) Enum() *PredefinedEnumRuleEdition2023_EnumEdition2023 { + p := new(PredefinedEnumRuleEdition2023_EnumEdition2023) + *p = x + return p +} + +func (x PredefinedEnumRuleEdition2023_EnumEdition2023) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PredefinedEnumRuleEdition2023_EnumEdition2023) Descriptor() protoreflect.EnumDescriptor { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_enumTypes[0].Descriptor() +} + +func (PredefinedEnumRuleEdition2023_EnumEdition2023) Type() protoreflect.EnumType { + return &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_enumTypes[0] +} + +func (x PredefinedEnumRuleEdition2023_EnumEdition2023) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PredefinedEnumRuleEdition2023_EnumEdition2023.Descriptor instead. +func (PredefinedEnumRuleEdition2023_EnumEdition2023) EnumDescriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{15, 0} +} + +type PredefinedFloatRuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *float32 `protobuf:"fixed32,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedFloatRuleEdition2023) Reset() { + *x = PredefinedFloatRuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedFloatRuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedFloatRuleEdition2023) ProtoMessage() {} + +func (x *PredefinedFloatRuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedFloatRuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedFloatRuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{0} +} + +func (x *PredefinedFloatRuleEdition2023) GetVal() float32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type PredefinedDoubleRuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *float64 `protobuf:"fixed64,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedDoubleRuleEdition2023) Reset() { + *x = PredefinedDoubleRuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedDoubleRuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedDoubleRuleEdition2023) ProtoMessage() {} + +func (x *PredefinedDoubleRuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedDoubleRuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedDoubleRuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{1} +} + +func (x *PredefinedDoubleRuleEdition2023) GetVal() float64 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type PredefinedInt32RuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedInt32RuleEdition2023) Reset() { + *x = PredefinedInt32RuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedInt32RuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedInt32RuleEdition2023) ProtoMessage() {} + +func (x *PredefinedInt32RuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedInt32RuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedInt32RuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{2} +} + +func (x *PredefinedInt32RuleEdition2023) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type PredefinedInt64RuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int64 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedInt64RuleEdition2023) Reset() { + *x = PredefinedInt64RuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedInt64RuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedInt64RuleEdition2023) ProtoMessage() {} + +func (x *PredefinedInt64RuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedInt64RuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedInt64RuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{3} +} + +func (x *PredefinedInt64RuleEdition2023) GetVal() int64 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type PredefinedUInt32RuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *uint32 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedUInt32RuleEdition2023) Reset() { + *x = PredefinedUInt32RuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedUInt32RuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedUInt32RuleEdition2023) ProtoMessage() {} + +func (x *PredefinedUInt32RuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedUInt32RuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedUInt32RuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{4} +} + +func (x *PredefinedUInt32RuleEdition2023) GetVal() uint32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type PredefinedUInt64RuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *uint64 `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedUInt64RuleEdition2023) Reset() { + *x = PredefinedUInt64RuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedUInt64RuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedUInt64RuleEdition2023) ProtoMessage() {} + +func (x *PredefinedUInt64RuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedUInt64RuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedUInt64RuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{5} +} + +func (x *PredefinedUInt64RuleEdition2023) GetVal() uint64 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type PredefinedSInt32RuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"zigzag32,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedSInt32RuleEdition2023) Reset() { + *x = PredefinedSInt32RuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedSInt32RuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedSInt32RuleEdition2023) ProtoMessage() {} + +func (x *PredefinedSInt32RuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedSInt32RuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedSInt32RuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{6} +} + +func (x *PredefinedSInt32RuleEdition2023) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type PredefinedSInt64RuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int64 `protobuf:"zigzag64,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedSInt64RuleEdition2023) Reset() { + *x = PredefinedSInt64RuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedSInt64RuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedSInt64RuleEdition2023) ProtoMessage() {} + +func (x *PredefinedSInt64RuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedSInt64RuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedSInt64RuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{7} +} + +func (x *PredefinedSInt64RuleEdition2023) GetVal() int64 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type PredefinedFixed32RuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *uint32 `protobuf:"fixed32,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedFixed32RuleEdition2023) Reset() { + *x = PredefinedFixed32RuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedFixed32RuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedFixed32RuleEdition2023) ProtoMessage() {} + +func (x *PredefinedFixed32RuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedFixed32RuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedFixed32RuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{8} +} + +func (x *PredefinedFixed32RuleEdition2023) GetVal() uint32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type PredefinedFixed64RuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *uint64 `protobuf:"fixed64,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedFixed64RuleEdition2023) Reset() { + *x = PredefinedFixed64RuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedFixed64RuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedFixed64RuleEdition2023) ProtoMessage() {} + +func (x *PredefinedFixed64RuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedFixed64RuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedFixed64RuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{9} +} + +func (x *PredefinedFixed64RuleEdition2023) GetVal() uint64 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type PredefinedSFixed32RuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int32 `protobuf:"fixed32,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedSFixed32RuleEdition2023) Reset() { + *x = PredefinedSFixed32RuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedSFixed32RuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedSFixed32RuleEdition2023) ProtoMessage() {} + +func (x *PredefinedSFixed32RuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedSFixed32RuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedSFixed32RuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{10} +} + +func (x *PredefinedSFixed32RuleEdition2023) GetVal() int32 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type PredefinedSFixed64RuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *int64 `protobuf:"fixed64,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedSFixed64RuleEdition2023) Reset() { + *x = PredefinedSFixed64RuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedSFixed64RuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedSFixed64RuleEdition2023) ProtoMessage() {} + +func (x *PredefinedSFixed64RuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedSFixed64RuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedSFixed64RuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{11} +} + +func (x *PredefinedSFixed64RuleEdition2023) GetVal() int64 { + if x != nil && x.Val != nil { + return *x.Val + } + return 0 +} + +type PredefinedBoolRuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *bool `protobuf:"varint,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedBoolRuleEdition2023) Reset() { + *x = PredefinedBoolRuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedBoolRuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedBoolRuleEdition2023) ProtoMessage() {} + +func (x *PredefinedBoolRuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedBoolRuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedBoolRuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{12} +} + +func (x *PredefinedBoolRuleEdition2023) GetVal() bool { + if x != nil && x.Val != nil { + return *x.Val + } + return false +} + +type PredefinedStringRuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedStringRuleEdition2023) Reset() { + *x = PredefinedStringRuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedStringRuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedStringRuleEdition2023) ProtoMessage() {} + +func (x *PredefinedStringRuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedStringRuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedStringRuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{13} +} + +func (x *PredefinedStringRuleEdition2023) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type PredefinedBytesRuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []byte `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedBytesRuleEdition2023) Reset() { + *x = PredefinedBytesRuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedBytesRuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedBytesRuleEdition2023) ProtoMessage() {} + +func (x *PredefinedBytesRuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedBytesRuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedBytesRuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{14} +} + +func (x *PredefinedBytesRuleEdition2023) GetVal() []byte { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedEnumRuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *PredefinedEnumRuleEdition2023_EnumEdition2023 `protobuf:"varint,1,opt,name=val,enum=buf.validate.conformance.cases.PredefinedEnumRuleEdition2023_EnumEdition2023" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedEnumRuleEdition2023) Reset() { + *x = PredefinedEnumRuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedEnumRuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedEnumRuleEdition2023) ProtoMessage() {} + +func (x *PredefinedEnumRuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[15] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedEnumRuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedEnumRuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{15} +} + +func (x *PredefinedEnumRuleEdition2023) GetVal() PredefinedEnumRuleEdition2023_EnumEdition2023 { + if x != nil && x.Val != nil { + return *x.Val + } + return PredefinedEnumRuleEdition2023_ENUM_EDITION2023_ZERO_UNSPECIFIED +} + +type PredefinedRepeatedRuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []uint64 `protobuf:"varint,1,rep,packed,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedRuleEdition2023) Reset() { + *x = PredefinedRepeatedRuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedRuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedRuleEdition2023) ProtoMessage() {} + +func (x *PredefinedRepeatedRuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[16] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedRuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedRuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{16} +} + +func (x *PredefinedRepeatedRuleEdition2023) GetVal() []uint64 { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedMapRuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[uint64]uint64 `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedMapRuleEdition2023) Reset() { + *x = PredefinedMapRuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedMapRuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedMapRuleEdition2023) ProtoMessage() {} + +func (x *PredefinedMapRuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[17] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedMapRuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedMapRuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{17} +} + +func (x *PredefinedMapRuleEdition2023) GetVal() map[uint64]uint64 { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedDurationRuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedDurationRuleEdition2023) Reset() { + *x = PredefinedDurationRuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedDurationRuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedDurationRuleEdition2023) ProtoMessage() {} + +func (x *PredefinedDurationRuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[18] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedDurationRuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedDurationRuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{18} +} + +func (x *PredefinedDurationRuleEdition2023) GetVal() *durationpb.Duration { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedTimestampRuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedTimestampRuleEdition2023) Reset() { + *x = PredefinedTimestampRuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedTimestampRuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedTimestampRuleEdition2023) ProtoMessage() {} + +func (x *PredefinedTimestampRuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[19] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedTimestampRuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedTimestampRuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{19} +} + +func (x *PredefinedTimestampRuleEdition2023) GetVal() *timestamppb.Timestamp { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedFloatRuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.FloatValue `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedFloatRuleEdition2023) Reset() { + *x = PredefinedWrappedFloatRuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedFloatRuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedFloatRuleEdition2023) ProtoMessage() {} + +func (x *PredefinedWrappedFloatRuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[20] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedFloatRuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedFloatRuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{20} +} + +func (x *PredefinedWrappedFloatRuleEdition2023) GetVal() *wrapperspb.FloatValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedDoubleRuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.DoubleValue `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedDoubleRuleEdition2023) Reset() { + *x = PredefinedWrappedDoubleRuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedDoubleRuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedDoubleRuleEdition2023) ProtoMessage() {} + +func (x *PredefinedWrappedDoubleRuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[21] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedDoubleRuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedDoubleRuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{21} +} + +func (x *PredefinedWrappedDoubleRuleEdition2023) GetVal() *wrapperspb.DoubleValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedInt32RuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedInt32RuleEdition2023) Reset() { + *x = PredefinedWrappedInt32RuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedInt32RuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedInt32RuleEdition2023) ProtoMessage() {} + +func (x *PredefinedWrappedInt32RuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[22] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedInt32RuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedInt32RuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{22} +} + +func (x *PredefinedWrappedInt32RuleEdition2023) GetVal() *wrapperspb.Int32Value { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedInt64RuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedInt64RuleEdition2023) Reset() { + *x = PredefinedWrappedInt64RuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedInt64RuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedInt64RuleEdition2023) ProtoMessage() {} + +func (x *PredefinedWrappedInt64RuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[23] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedInt64RuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedInt64RuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{23} +} + +func (x *PredefinedWrappedInt64RuleEdition2023) GetVal() *wrapperspb.Int64Value { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedUInt32RuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedUInt32RuleEdition2023) Reset() { + *x = PredefinedWrappedUInt32RuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedUInt32RuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedUInt32RuleEdition2023) ProtoMessage() {} + +func (x *PredefinedWrappedUInt32RuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[24] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedUInt32RuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedUInt32RuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{24} +} + +func (x *PredefinedWrappedUInt32RuleEdition2023) GetVal() *wrapperspb.UInt32Value { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedUInt64RuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.UInt64Value `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedUInt64RuleEdition2023) Reset() { + *x = PredefinedWrappedUInt64RuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedUInt64RuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedUInt64RuleEdition2023) ProtoMessage() {} + +func (x *PredefinedWrappedUInt64RuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[25] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedUInt64RuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedUInt64RuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{25} +} + +func (x *PredefinedWrappedUInt64RuleEdition2023) GetVal() *wrapperspb.UInt64Value { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedBoolRuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedBoolRuleEdition2023) Reset() { + *x = PredefinedWrappedBoolRuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedBoolRuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedBoolRuleEdition2023) ProtoMessage() {} + +func (x *PredefinedWrappedBoolRuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[26] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedBoolRuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedBoolRuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{26} +} + +func (x *PredefinedWrappedBoolRuleEdition2023) GetVal() *wrapperspb.BoolValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedStringRuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedStringRuleEdition2023) Reset() { + *x = PredefinedWrappedStringRuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedStringRuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedStringRuleEdition2023) ProtoMessage() {} + +func (x *PredefinedWrappedStringRuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[27] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedStringRuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedStringRuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{27} +} + +func (x *PredefinedWrappedStringRuleEdition2023) GetVal() *wrapperspb.StringValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedWrappedBytesRuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.BytesValue `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedWrappedBytesRuleEdition2023) Reset() { + *x = PredefinedWrappedBytesRuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedWrappedBytesRuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedWrappedBytesRuleEdition2023) ProtoMessage() {} + +func (x *PredefinedWrappedBytesRuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[28] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedWrappedBytesRuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedWrappedBytesRuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{28} +} + +func (x *PredefinedWrappedBytesRuleEdition2023) GetVal() *wrapperspb.BytesValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedFloatRuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.FloatValue `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedFloatRuleEdition2023) Reset() { + *x = PredefinedRepeatedWrappedFloatRuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedFloatRuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedFloatRuleEdition2023) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedFloatRuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[29] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedFloatRuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedFloatRuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{29} +} + +func (x *PredefinedRepeatedWrappedFloatRuleEdition2023) GetVal() []*wrapperspb.FloatValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedDoubleRuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.DoubleValue `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedDoubleRuleEdition2023) Reset() { + *x = PredefinedRepeatedWrappedDoubleRuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedDoubleRuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedDoubleRuleEdition2023) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedDoubleRuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[30] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedDoubleRuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedDoubleRuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{30} +} + +func (x *PredefinedRepeatedWrappedDoubleRuleEdition2023) GetVal() []*wrapperspb.DoubleValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedInt32RuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.Int32Value `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedInt32RuleEdition2023) Reset() { + *x = PredefinedRepeatedWrappedInt32RuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedInt32RuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedInt32RuleEdition2023) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedInt32RuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[31] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedInt32RuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedInt32RuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{31} +} + +func (x *PredefinedRepeatedWrappedInt32RuleEdition2023) GetVal() []*wrapperspb.Int32Value { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedInt64RuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.Int64Value `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedInt64RuleEdition2023) Reset() { + *x = PredefinedRepeatedWrappedInt64RuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedInt64RuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedInt64RuleEdition2023) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedInt64RuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[32] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedInt64RuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedInt64RuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{32} +} + +func (x *PredefinedRepeatedWrappedInt64RuleEdition2023) GetVal() []*wrapperspb.Int64Value { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedUInt32RuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.UInt32Value `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedUInt32RuleEdition2023) Reset() { + *x = PredefinedRepeatedWrappedUInt32RuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedUInt32RuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedUInt32RuleEdition2023) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedUInt32RuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[33] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedUInt32RuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedUInt32RuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{33} +} + +func (x *PredefinedRepeatedWrappedUInt32RuleEdition2023) GetVal() []*wrapperspb.UInt32Value { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedUInt64RuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.UInt64Value `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedUInt64RuleEdition2023) Reset() { + *x = PredefinedRepeatedWrappedUInt64RuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedUInt64RuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedUInt64RuleEdition2023) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedUInt64RuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[34] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedUInt64RuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedUInt64RuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{34} +} + +func (x *PredefinedRepeatedWrappedUInt64RuleEdition2023) GetVal() []*wrapperspb.UInt64Value { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedBoolRuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.BoolValue `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedBoolRuleEdition2023) Reset() { + *x = PredefinedRepeatedWrappedBoolRuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedBoolRuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedBoolRuleEdition2023) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedBoolRuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[35] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedBoolRuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedBoolRuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{35} +} + +func (x *PredefinedRepeatedWrappedBoolRuleEdition2023) GetVal() []*wrapperspb.BoolValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedStringRuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedStringRuleEdition2023) Reset() { + *x = PredefinedRepeatedWrappedStringRuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedStringRuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedStringRuleEdition2023) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedStringRuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[36] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedStringRuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedStringRuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{36} +} + +func (x *PredefinedRepeatedWrappedStringRuleEdition2023) GetVal() []*wrapperspb.StringValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedRepeatedWrappedBytesRuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*wrapperspb.BytesValue `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedRepeatedWrappedBytesRuleEdition2023) Reset() { + *x = PredefinedRepeatedWrappedBytesRuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedRepeatedWrappedBytesRuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedRepeatedWrappedBytesRuleEdition2023) ProtoMessage() {} + +func (x *PredefinedRepeatedWrappedBytesRuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[37] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedRepeatedWrappedBytesRuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedRepeatedWrappedBytesRuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{37} +} + +func (x *PredefinedRepeatedWrappedBytesRuleEdition2023) GetVal() []*wrapperspb.BytesValue { + if x != nil { + return x.Val + } + return nil +} + +type PredefinedAndCustomRuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + A *int32 `protobuf:"zigzag32,1,opt,name=a" json:"a,omitempty"` + B *PredefinedAndCustomRuleEdition2023_Nested `protobuf:"bytes,2,opt,name=b" json:"b,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedAndCustomRuleEdition2023) Reset() { + *x = PredefinedAndCustomRuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedAndCustomRuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedAndCustomRuleEdition2023) ProtoMessage() {} + +func (x *PredefinedAndCustomRuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[38] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedAndCustomRuleEdition2023.ProtoReflect.Descriptor instead. +func (*PredefinedAndCustomRuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{38} +} + +func (x *PredefinedAndCustomRuleEdition2023) GetA() int32 { + if x != nil && x.A != nil { + return *x.A + } + return 0 +} + +func (x *PredefinedAndCustomRuleEdition2023) GetB() *PredefinedAndCustomRuleEdition2023_Nested { + if x != nil { + return x.B + } + return nil +} + +type StandardPredefinedAndCustomRuleEdition2023 struct { + state protoimpl.MessageState `protogen:"open.v1"` + A *int32 `protobuf:"zigzag32,1,opt,name=a" json:"a,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StandardPredefinedAndCustomRuleEdition2023) Reset() { + *x = StandardPredefinedAndCustomRuleEdition2023{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StandardPredefinedAndCustomRuleEdition2023) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StandardPredefinedAndCustomRuleEdition2023) ProtoMessage() {} + +func (x *StandardPredefinedAndCustomRuleEdition2023) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[39] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StandardPredefinedAndCustomRuleEdition2023.ProtoReflect.Descriptor instead. +func (*StandardPredefinedAndCustomRuleEdition2023) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{39} +} + +func (x *StandardPredefinedAndCustomRuleEdition2023) GetA() int32 { + if x != nil && x.A != nil { + return *x.A + } + return 0 +} + +type PredefinedAndCustomRuleEdition2023_Nested struct { + state protoimpl.MessageState `protogen:"open.v1"` + C *int32 `protobuf:"zigzag32,1,opt,name=c" json:"c,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PredefinedAndCustomRuleEdition2023_Nested) Reset() { + *x = PredefinedAndCustomRuleEdition2023_Nested{} + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PredefinedAndCustomRuleEdition2023_Nested) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredefinedAndCustomRuleEdition2023_Nested) ProtoMessage() {} + +func (x *PredefinedAndCustomRuleEdition2023_Nested) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes[41] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PredefinedAndCustomRuleEdition2023_Nested.ProtoReflect.Descriptor instead. +func (*PredefinedAndCustomRuleEdition2023_Nested) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP(), []int{38, 0} +} + +func (x *PredefinedAndCustomRuleEdition2023_Nested) GetC() int32 { + if x != nil && x.C != nil { + return *x.C + } + return 0 +} + +var file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_extTypes = []protoimpl.ExtensionInfo{ + { + ExtendedType: (*validate.FloatRules)(nil), + ExtensionType: (*float32)(nil), + Field: 1162, + Name: "buf.validate.conformance.cases.float_abs_range_edition_2023", + Tag: "fixed32,1162,opt,name=float_abs_range_edition_2023", + Filename: "buf/validate/conformance/cases/predefined_rules_proto_editions.proto", + }, + { + ExtendedType: (*validate.DoubleRules)(nil), + ExtensionType: (*float64)(nil), + Field: 1162, + Name: "buf.validate.conformance.cases.double_abs_range_edition_2023", + Tag: "fixed64,1162,opt,name=double_abs_range_edition_2023", + Filename: "buf/validate/conformance/cases/predefined_rules_proto_editions.proto", + }, + { + ExtendedType: (*validate.Int32Rules)(nil), + ExtensionType: ([]int32)(nil), + Field: 1162, + Name: "buf.validate.conformance.cases.int32_abs_in_edition_2023", + Tag: "varint,1162,rep,packed,name=int32_abs_in_edition_2023", + Filename: "buf/validate/conformance/cases/predefined_rules_proto_editions.proto", + }, + { + ExtendedType: (*validate.Int64Rules)(nil), + ExtensionType: ([]*wrapperspb.Int64Value)(nil), + Field: 1162, + Name: "buf.validate.conformance.cases.int64_abs_in_edition_2023", + Tag: "bytes,1162,rep,name=int64_abs_in_edition_2023", + Filename: "buf/validate/conformance/cases/predefined_rules_proto_editions.proto", + }, + { + ExtendedType: (*validate.UInt32Rules)(nil), + ExtensionType: (*bool)(nil), + Field: 1162, + Name: "buf.validate.conformance.cases.uint32_even_edition_2023", + Tag: "varint,1162,opt,name=uint32_even_edition_2023", + Filename: "buf/validate/conformance/cases/predefined_rules_proto_editions.proto", + }, + { + ExtendedType: (*validate.UInt64Rules)(nil), + ExtensionType: (*bool)(nil), + Field: 1162, + Name: "buf.validate.conformance.cases.uint64_even_edition_2023", + Tag: "varint,1162,opt,name=uint64_even_edition_2023", + Filename: "buf/validate/conformance/cases/predefined_rules_proto_editions.proto", + }, + { + ExtendedType: (*validate.SInt32Rules)(nil), + ExtensionType: (*bool)(nil), + Field: 1162, + Name: "buf.validate.conformance.cases.sint32_even_edition_2023", + Tag: "varint,1162,opt,name=sint32_even_edition_2023", + Filename: "buf/validate/conformance/cases/predefined_rules_proto_editions.proto", + }, + { + ExtendedType: (*validate.SInt64Rules)(nil), + ExtensionType: (*bool)(nil), + Field: 1162, + Name: "buf.validate.conformance.cases.sint64_even_edition_2023", + Tag: "varint,1162,opt,name=sint64_even_edition_2023", + Filename: "buf/validate/conformance/cases/predefined_rules_proto_editions.proto", + }, + { + ExtendedType: (*validate.Fixed32Rules)(nil), + ExtensionType: (*bool)(nil), + Field: 1162, + Name: "buf.validate.conformance.cases.fixed32_even_edition_2023", + Tag: "varint,1162,opt,name=fixed32_even_edition_2023", + Filename: "buf/validate/conformance/cases/predefined_rules_proto_editions.proto", + }, + { + ExtendedType: (*validate.Fixed64Rules)(nil), + ExtensionType: (*bool)(nil), + Field: 1162, + Name: "buf.validate.conformance.cases.fixed64_even_edition_2023", + Tag: "varint,1162,opt,name=fixed64_even_edition_2023", + Filename: "buf/validate/conformance/cases/predefined_rules_proto_editions.proto", + }, + { + ExtendedType: (*validate.SFixed32Rules)(nil), + ExtensionType: (*bool)(nil), + Field: 1162, + Name: "buf.validate.conformance.cases.sfixed32_even_edition_2023", + Tag: "varint,1162,opt,name=sfixed32_even_edition_2023", + Filename: "buf/validate/conformance/cases/predefined_rules_proto_editions.proto", + }, + { + ExtendedType: (*validate.SFixed64Rules)(nil), + ExtensionType: (*bool)(nil), + Field: 1162, + Name: "buf.validate.conformance.cases.sfixed64_even_edition_2023", + Tag: "varint,1162,opt,name=sfixed64_even_edition_2023", + Filename: "buf/validate/conformance/cases/predefined_rules_proto_editions.proto", + }, + { + ExtendedType: (*validate.BoolRules)(nil), + ExtensionType: (*bool)(nil), + Field: 1162, + Name: "buf.validate.conformance.cases.bool_false_edition_2023", + Tag: "varint,1162,opt,name=bool_false_edition_2023", + Filename: "buf/validate/conformance/cases/predefined_rules_proto_editions.proto", + }, + { + ExtendedType: (*validate.StringRules)(nil), + ExtensionType: (*bool)(nil), + Field: 1162, + Name: "buf.validate.conformance.cases.string_valid_path_edition_2023", + Tag: "varint,1162,opt,name=string_valid_path_edition_2023", + Filename: "buf/validate/conformance/cases/predefined_rules_proto_editions.proto", + }, + { + ExtendedType: (*validate.BytesRules)(nil), + ExtensionType: (*bool)(nil), + Field: 1162, + Name: "buf.validate.conformance.cases.bytes_valid_path_edition_2023", + Tag: "varint,1162,opt,name=bytes_valid_path_edition_2023", + Filename: "buf/validate/conformance/cases/predefined_rules_proto_editions.proto", + }, + { + ExtendedType: (*validate.EnumRules)(nil), + ExtensionType: (*bool)(nil), + Field: 1162, + Name: "buf.validate.conformance.cases.enum_non_zero_edition_2023", + Tag: "varint,1162,opt,name=enum_non_zero_edition_2023", + Filename: "buf/validate/conformance/cases/predefined_rules_proto_editions.proto", + }, + { + ExtendedType: (*validate.RepeatedRules)(nil), + ExtensionType: (*bool)(nil), + Field: 1162, + Name: "buf.validate.conformance.cases.repeated_at_least_five_edition_2023", + Tag: "varint,1162,opt,name=repeated_at_least_five_edition_2023", + Filename: "buf/validate/conformance/cases/predefined_rules_proto_editions.proto", + }, + { + ExtendedType: (*validate.MapRules)(nil), + ExtensionType: (*bool)(nil), + Field: 1162, + Name: "buf.validate.conformance.cases.map_at_least_five_edition_2023", + Tag: "varint,1162,opt,name=map_at_least_five_edition_2023", + Filename: "buf/validate/conformance/cases/predefined_rules_proto_editions.proto", + }, + { + ExtendedType: (*validate.DurationRules)(nil), + ExtensionType: (*bool)(nil), + Field: 1162, + Name: "buf.validate.conformance.cases.duration_too_long_edition_2023", + Tag: "varint,1162,opt,name=duration_too_long_edition_2023", + Filename: "buf/validate/conformance/cases/predefined_rules_proto_editions.proto", + }, + { + ExtendedType: (*validate.TimestampRules)(nil), + ExtensionType: (*bool)(nil), + Field: 1162, + Name: "buf.validate.conformance.cases.timestamp_in_range_edition_2023", + Tag: "varint,1162,opt,name=timestamp_in_range_edition_2023", + Filename: "buf/validate/conformance/cases/predefined_rules_proto_editions.proto", + }, +} + +// Extension fields to validate.FloatRules. +var ( + // optional float float_abs_range_edition_2023 = 1162; + E_FloatAbsRangeEdition_2023 = &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_extTypes[0] +) + +// Extension fields to validate.DoubleRules. +var ( + // optional double double_abs_range_edition_2023 = 1162; + E_DoubleAbsRangeEdition_2023 = &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_extTypes[1] +) + +// Extension fields to validate.Int32Rules. +var ( + // repeated int32 int32_abs_in_edition_2023 = 1162; + E_Int32AbsInEdition_2023 = &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_extTypes[2] +) + +// Extension fields to validate.Int64Rules. +var ( + // repeated google.protobuf.Int64Value int64_abs_in_edition_2023 = 1162; + E_Int64AbsInEdition_2023 = &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_extTypes[3] +) + +// Extension fields to validate.UInt32Rules. +var ( + // optional bool uint32_even_edition_2023 = 1162; + E_Uint32EvenEdition_2023 = &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_extTypes[4] +) + +// Extension fields to validate.UInt64Rules. +var ( + // optional bool uint64_even_edition_2023 = 1162; + E_Uint64EvenEdition_2023 = &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_extTypes[5] +) + +// Extension fields to validate.SInt32Rules. +var ( + // optional bool sint32_even_edition_2023 = 1162; + E_Sint32EvenEdition_2023 = &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_extTypes[6] +) + +// Extension fields to validate.SInt64Rules. +var ( + // optional bool sint64_even_edition_2023 = 1162; + E_Sint64EvenEdition_2023 = &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_extTypes[7] +) + +// Extension fields to validate.Fixed32Rules. +var ( + // optional bool fixed32_even_edition_2023 = 1162; + E_Fixed32EvenEdition_2023 = &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_extTypes[8] +) + +// Extension fields to validate.Fixed64Rules. +var ( + // optional bool fixed64_even_edition_2023 = 1162; + E_Fixed64EvenEdition_2023 = &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_extTypes[9] +) + +// Extension fields to validate.SFixed32Rules. +var ( + // optional bool sfixed32_even_edition_2023 = 1162; + E_Sfixed32EvenEdition_2023 = &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_extTypes[10] +) + +// Extension fields to validate.SFixed64Rules. +var ( + // optional bool sfixed64_even_edition_2023 = 1162; + E_Sfixed64EvenEdition_2023 = &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_extTypes[11] +) + +// Extension fields to validate.BoolRules. +var ( + // optional bool bool_false_edition_2023 = 1162; + E_BoolFalseEdition_2023 = &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_extTypes[12] +) + +// Extension fields to validate.StringRules. +var ( + // optional bool string_valid_path_edition_2023 = 1162; + E_StringValidPathEdition_2023 = &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_extTypes[13] +) + +// Extension fields to validate.BytesRules. +var ( + // optional bool bytes_valid_path_edition_2023 = 1162; + E_BytesValidPathEdition_2023 = &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_extTypes[14] +) + +// Extension fields to validate.EnumRules. +var ( + // optional bool enum_non_zero_edition_2023 = 1162; + E_EnumNonZeroEdition_2023 = &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_extTypes[15] +) + +// Extension fields to validate.RepeatedRules. +var ( + // optional bool repeated_at_least_five_edition_2023 = 1162; + E_RepeatedAtLeastFiveEdition_2023 = &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_extTypes[16] +) + +// Extension fields to validate.MapRules. +var ( + // optional bool map_at_least_five_edition_2023 = 1162; + E_MapAtLeastFiveEdition_2023 = &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_extTypes[17] +) + +// Extension fields to validate.DurationRules. +var ( + // optional bool duration_too_long_edition_2023 = 1162; + E_DurationTooLongEdition_2023 = &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_extTypes[18] +) + +// Extension fields to validate.TimestampRules. +var ( + // optional bool timestamp_in_range_edition_2023 = 1162; + E_TimestampInRangeEdition_2023 = &file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_extTypes[19] +) + +var File_buf_validate_conformance_cases_predefined_rules_proto_editions_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDesc = "" + + "\n" + + "Dbuf/validate/conformance/cases/predefined_rules_proto_editions.proto\x12\x1ebuf.validate.conformance.cases\x1a\x1bbuf/validate/validate.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"?\n" + + "\x1ePredefinedFloatRuleEdition2023\x12\x1d\n" + + "\x03val\x18\x01 \x01(\x02B\v\xbaH\b\n" + + "\x06\xd5H\x00\x00\x80?R\x03val\"D\n" + + "\x1fPredefinedDoubleRuleEdition2023\x12!\n" + + "\x03val\x18\x01 \x01(\x01B\x0f\xbaH\f\x12\n" + + "\xd1H\x00\x00\x00\x00\x00\x00\xf0?R\x03val\"F\n" + + "\x1ePredefinedInt32RuleEdition2023\x12$\n" + + "\x03val\x18\x01 \x01(\x05B\x12\xbaH\x0f\x1a\r\xd2H\n" + + "\xfe\xff\xff\xff\xff\xff\xff\xff\xff\x01R\x03val\"G\n" + + "\x1ePredefinedInt64RuleEdition2023\x12%\n" + + "\x03val\x18\x01 \x01(\x03B\x13\xbaH\x10\"\x0e\xd2H\v\b\xfe\xff\xff\xff\xff\xff\xff\xff\xff\x01R\x03val\"=\n" + + "\x1fPredefinedUInt32RuleEdition2023\x12\x1a\n" + + "\x03val\x18\x01 \x01(\rB\b\xbaH\x05*\x03\xd0H\x01R\x03val\"=\n" + + "\x1fPredefinedUInt64RuleEdition2023\x12\x1a\n" + + "\x03val\x18\x01 \x01(\x04B\b\xbaH\x052\x03\xd0H\x01R\x03val\"=\n" + + "\x1fPredefinedSInt32RuleEdition2023\x12\x1a\n" + + "\x03val\x18\x01 \x01(\x11B\b\xbaH\x05:\x03\xd0H\x01R\x03val\"=\n" + + "\x1fPredefinedSInt64RuleEdition2023\x12\x1a\n" + + "\x03val\x18\x01 \x01(\x12B\b\xbaH\x05B\x03\xd0H\x01R\x03val\">\n" + + " PredefinedFixed32RuleEdition2023\x12\x1a\n" + + "\x03val\x18\x01 \x01(\aB\b\xbaH\x05J\x03\xd0H\x01R\x03val\">\n" + + " PredefinedFixed64RuleEdition2023\x12\x1a\n" + + "\x03val\x18\x01 \x01(\x06B\b\xbaH\x05R\x03\xd0H\x01R\x03val\"?\n" + + "!PredefinedSFixed32RuleEdition2023\x12\x1a\n" + + "\x03val\x18\x01 \x01(\x0fB\b\xbaH\x05Z\x03\xd0H\x01R\x03val\"?\n" + + "!PredefinedSFixed64RuleEdition2023\x12\x1a\n" + + "\x03val\x18\x01 \x01(\x10B\b\xbaH\x05b\x03\xd0H\x01R\x03val\";\n" + + "\x1dPredefinedBoolRuleEdition2023\x12\x1a\n" + + "\x03val\x18\x01 \x01(\bB\b\xbaH\x05j\x03\xd0H\x01R\x03val\"=\n" + + "\x1fPredefinedStringRuleEdition2023\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\xd0H\x01R\x03val\"<\n" + + "\x1ePredefinedBytesRuleEdition2023\x12\x1a\n" + + "\x03val\x18\x01 \x01(\fB\b\xbaH\x05z\x03\xd0H\x01R\x03val\"\xdf\x01\n" + + "\x1dPredefinedEnumRuleEdition2023\x12j\n" + + "\x03val\x18\x01 \x01(\x0e2M.buf.validate.conformance.cases.PredefinedEnumRuleEdition2023.EnumEdition2023B\t\xbaH\x06\x82\x01\x03\xd0H\x01R\x03val\"R\n" + + "\x0fEnumEdition2023\x12%\n" + + "!ENUM_EDITION2023_ZERO_UNSPECIFIED\x10\x00\x12\x18\n" + + "\x14ENUM_EDITION2023_ONE\x10\x01\"@\n" + + "!PredefinedRepeatedRuleEdition2023\x12\x1b\n" + + "\x03val\x18\x01 \x03(\x04B\t\xbaH\x06\x92\x01\x03\xd0H\x01R\x03val\"\xba\x01\n" + + "\x1cPredefinedMapRuleEdition2023\x12b\n" + + "\x03val\x18\x01 \x03(\v2E.buf.validate.conformance.cases.PredefinedMapRuleEdition2023.ValEntryB\t\xbaH\x06\x9a\x01\x03\xd0H\x01R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x04R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x04R\x05value:\x028\x01\"[\n" + + "!PredefinedDurationRuleEdition2023\x126\n" + + "\x03val\x18\x01 \x01(\v2\x19.google.protobuf.DurationB\t\xbaH\x06\xaa\x01\x03\xd0H\x01R\x03val\"]\n" + + "\"PredefinedTimestampRuleEdition2023\x127\n" + + "\x03val\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampB\t\xbaH\x06\xb2\x01\x03\xd0H\x01R\x03val\"c\n" + + "%PredefinedWrappedFloatRuleEdition2023\x12:\n" + + "\x03val\x18\x01 \x01(\v2\x1b.google.protobuf.FloatValueB\v\xbaH\b\n" + + "\x06\xd5H\x00\x00\x80?R\x03val\"i\n" + + "&PredefinedWrappedDoubleRuleEdition2023\x12?\n" + + "\x03val\x18\x01 \x01(\v2\x1c.google.protobuf.DoubleValueB\x0f\xbaH\f\x12\n" + + "\xd1H\x00\x00\x00\x00\x00\x00\xf0?R\x03val\"j\n" + + "%PredefinedWrappedInt32RuleEdition2023\x12A\n" + + "\x03val\x18\x01 \x01(\v2\x1b.google.protobuf.Int32ValueB\x12\xbaH\x0f\x1a\r\xd2H\n" + + "\xfe\xff\xff\xff\xff\xff\xff\xff\xff\x01R\x03val\"k\n" + + "%PredefinedWrappedInt64RuleEdition2023\x12B\n" + + "\x03val\x18\x01 \x01(\v2\x1b.google.protobuf.Int64ValueB\x13\xbaH\x10\"\x0e\xd2H\v\b\xfe\xff\xff\xff\xff\xff\xff\xff\xff\x01R\x03val\"b\n" + + "&PredefinedWrappedUInt32RuleEdition2023\x128\n" + + "\x03val\x18\x01 \x01(\v2\x1c.google.protobuf.UInt32ValueB\b\xbaH\x05*\x03\xd0H\x01R\x03val\"b\n" + + "&PredefinedWrappedUInt64RuleEdition2023\x128\n" + + "\x03val\x18\x01 \x01(\v2\x1c.google.protobuf.UInt64ValueB\b\xbaH\x052\x03\xd0H\x01R\x03val\"^\n" + + "$PredefinedWrappedBoolRuleEdition2023\x126\n" + + "\x03val\x18\x01 \x01(\v2\x1a.google.protobuf.BoolValueB\b\xbaH\x05j\x03\xd0H\x01R\x03val\"b\n" + + "&PredefinedWrappedStringRuleEdition2023\x128\n" + + "\x03val\x18\x01 \x01(\v2\x1c.google.protobuf.StringValueB\b\xbaH\x05r\x03\xd0H\x01R\x03val\"`\n" + + "%PredefinedWrappedBytesRuleEdition2023\x127\n" + + "\x03val\x18\x01 \x01(\v2\x1b.google.protobuf.BytesValueB\b\xbaH\x05z\x03\xd0H\x01R\x03val\"p\n" + + "-PredefinedRepeatedWrappedFloatRuleEdition2023\x12?\n" + + "\x03val\x18\x01 \x03(\v2\x1b.google.protobuf.FloatValueB\x10\xbaH\r\x92\x01\n" + + "\"\b\n" + + "\x06\xd5H\x00\x00\x80?R\x03val\"v\n" + + ".PredefinedRepeatedWrappedDoubleRuleEdition2023\x12D\n" + + "\x03val\x18\x01 \x03(\v2\x1c.google.protobuf.DoubleValueB\x14\xbaH\x11\x92\x01\x0e\"\f\x12\n" + + "\xd1H\x00\x00\x00\x00\x00\x00\xf0?R\x03val\"w\n" + + "-PredefinedRepeatedWrappedInt32RuleEdition2023\x12F\n" + + "\x03val\x18\x01 \x03(\v2\x1b.google.protobuf.Int32ValueB\x17\xbaH\x14\x92\x01\x11\"\x0f\x1a\r\xd2H\n" + + "\xfe\xff\xff\xff\xff\xff\xff\xff\xff\x01R\x03val\"x\n" + + "-PredefinedRepeatedWrappedInt64RuleEdition2023\x12G\n" + + "\x03val\x18\x01 \x03(\v2\x1b.google.protobuf.Int64ValueB\x18\xbaH\x15\x92\x01\x12\"\x10\"\x0e\xd2H\v\b\xfe\xff\xff\xff\xff\xff\xff\xff\xff\x01R\x03val\"o\n" + + ".PredefinedRepeatedWrappedUInt32RuleEdition2023\x12=\n" + + "\x03val\x18\x01 \x03(\v2\x1c.google.protobuf.UInt32ValueB\r\xbaH\n" + + "\x92\x01\a\"\x05*\x03\xd0H\x01R\x03val\"o\n" + + ".PredefinedRepeatedWrappedUInt64RuleEdition2023\x12=\n" + + "\x03val\x18\x01 \x03(\v2\x1c.google.protobuf.UInt64ValueB\r\xbaH\n" + + "\x92\x01\a\"\x052\x03\xd0H\x01R\x03val\"k\n" + + ",PredefinedRepeatedWrappedBoolRuleEdition2023\x12;\n" + + "\x03val\x18\x01 \x03(\v2\x1a.google.protobuf.BoolValueB\r\xbaH\n" + + "\x92\x01\a\"\x05j\x03\xd0H\x01R\x03val\"o\n" + + ".PredefinedRepeatedWrappedStringRuleEdition2023\x12=\n" + + "\x03val\x18\x01 \x03(\v2\x1c.google.protobuf.StringValueB\r\xbaH\n" + + "\x92\x01\a\"\x05r\x03\xd0H\x01R\x03val\"m\n" + + "-PredefinedRepeatedWrappedBytesRuleEdition2023\x12<\n" + + "\x03val\x18\x01 \x03(\v2\x1b.google.protobuf.BytesValueB\r\xbaH\n" + + "\x92\x01\a\"\x05z\x03\xd0H\x01R\x03val\"\xda\x03\n" + + "\"PredefinedAndCustomRuleEdition2023\x12w\n" + + "\x01a\x18\x01 \x01(\x11Bi\xbaHf\xba\x01^\n" + + ".predefined_and_custom_rule_scalar_edition_2023\x1a,this > 24 ? '' : 'a must be greater than 24':\x03\xd0H\x01R\x01a\x12\xbf\x01\n" + + "\x01b\x18\x02 \x01(\v2I.buf.validate.conformance.cases.PredefinedAndCustomRuleEdition2023.NestedBf\xbaHc\xba\x01`\n" + + "0predefined_and_custom_rule_embedded_edition_2023\x12\x1bb.c must be a multiple of 3\x1a\x0fthis.c % 3 == 0R\x01b\x1ay\n" + + "\x06Nested\x12o\n" + + "\x01c\x18\x01 \x01(\x11Ba\xbaH^\xba\x01V\n" + + ".predefined_and_custom_rule_nested_edition_2023\x1a$this > 0 ? '' : 'c must be positive':\x03\xd0H\x01R\x01c\"\xb1\x01\n" + + "*StandardPredefinedAndCustomRuleEdition2023\x12\x82\x01\n" + + "\x01a\x18\x01 \x01(\x11Bt\xbaHq\xba\x01g\n" + + "7standard_predefined_and_custom_rule_scalar_edition_2023\x1a,this > 24 ? '' : 'a must be greater than 24':\x05\xd0H\x01\x108R\x01a:\xba\x01\n" + + "\x1cfloat_abs_range_edition_2023\x12\x18.buf.validate.FloatRules\x18\x8a\t \x01(\x02B_\xc2H\\\n" + + "Z\n" + + "\x1cfloat.abs_range.edition_2023\x12\x1bfloat value is out of range\x1a\x1dthis >= -rule && this <= ruleR\x18floatAbsRangeEdition2023:\xbf\x01\n" + + "\x1ddouble_abs_range_edition_2023\x12\x19.buf.validate.DoubleRules\x18\x8a\t \x01(\x01Ba\xc2H^\n" + + "\\\n" + + "\x1ddouble.abs_range.edition_2023\x12\x1cdouble value is out of range\x1a\x1dthis >= -rule && this <= ruleR\x19doubleAbsRangeEdition2023:\xc7\x01\n" + + "\x19int32_abs_in_edition_2023\x12\x18.buf.validate.Int32Rules\x18\x8a\t \x03(\x05Br\xc2Ho\n" + + "m\n" + + "\x19int32.abs_in.edition_2023\x12'value must be in absolute value of list\x1a'this in rule || this in rule.map(n, -n)R\x15int32AbsInEdition2023:\xe4\x01\n" + + "\x19int64_abs_in_edition_2023\x12\x18.buf.validate.Int64Rules\x18\x8a\t \x03(\v2\x1b.google.protobuf.Int64ValueBr\xc2Ho\n" + + "m\n" + + "\x19int64.abs_in.edition_2023\x12'value must be in absolute value of list\x1a'this in rule || this in rule.map(n, -n)R\x15int64AbsInEdition2023:\x9f\x01\n" + + "\x18uint32_even_edition_2023\x12\x19.buf.validate.UInt32Rules\x18\x8a\t \x01(\bBJ\xc2HG\n" + + "E\n" + + "\x18uint32.even.edition_2023\x12\x18uint32 value is not even\x1a\x0fthis % 2u == 0uR\x15uint32EvenEdition2023:\x9f\x01\n" + + "\x18uint64_even_edition_2023\x12\x19.buf.validate.UInt64Rules\x18\x8a\t \x01(\bBJ\xc2HG\n" + + "E\n" + + "\x18uint64.even.edition_2023\x12\x18uint64 value is not even\x1a\x0fthis % 2u == 0uR\x15uint64EvenEdition2023:\x9d\x01\n" + + "\x18sint32_even_edition_2023\x12\x19.buf.validate.SInt32Rules\x18\x8a\t \x01(\bBH\xc2HE\n" + + "C\n" + + "\x18sint32.even.edition_2023\x12\x18sint32 value is not even\x1a\rthis % 2 == 0R\x15sint32EvenEdition2023:\x9d\x01\n" + + "\x18sint64_even_edition_2023\x12\x19.buf.validate.SInt64Rules\x18\x8a\t \x01(\bBH\xc2HE\n" + + "C\n" + + "\x18sint64.even.edition_2023\x12\x18sint64 value is not even\x1a\rthis % 2 == 0R\x15sint64EvenEdition2023:\xa4\x01\n" + + "\x19fixed32_even_edition_2023\x12\x1a.buf.validate.Fixed32Rules\x18\x8a\t \x01(\bBL\xc2HI\n" + + "G\n" + + "\x19fixed32.even.edition_2023\x12\x19fixed32 value is not even\x1a\x0fthis % 2u == 0uR\x16fixed32EvenEdition2023:\xa4\x01\n" + + "\x19fixed64_even_edition_2023\x12\x1a.buf.validate.Fixed64Rules\x18\x8a\t \x01(\bBL\xc2HI\n" + + "G\n" + + "\x19fixed64.even.edition_2023\x12\x19fixed64 value is not even\x1a\x0fthis % 2u == 0uR\x16fixed64EvenEdition2023:\xa7\x01\n" + + "\x1asfixed32_even_edition_2023\x12\x1b.buf.validate.SFixed32Rules\x18\x8a\t \x01(\bBL\xc2HI\n" + + "G\n" + + "\x1asfixed32.even.edition_2023\x12\x1asfixed32 value is not even\x1a\rthis % 2 == 0R\x17sfixed32EvenEdition2023:\xa7\x01\n" + + "\x1asfixed64_even_edition_2023\x12\x1b.buf.validate.SFixed64Rules\x18\x8a\t \x01(\bBL\xc2HI\n" + + "G\n" + + "\x1asfixed64.even.edition_2023\x12\x1asfixed64 value is not even\x1a\rthis % 2 == 0R\x17sfixed64EvenEdition2023:\x97\x01\n" + + "\x17bool_false_edition_2023\x12\x17.buf.validate.BoolRules\x18\x8a\t \x01(\bBF\xc2HC\n" + + "A\n" + + "\x17bool.false.edition_2023\x12\x17bool value is not false\x1a\rthis == falseR\x14boolFalseEdition2023:\x8f\x02\n" + + "\x1estring_valid_path_edition_2023\x12\x19.buf.validate.StringRules\x18\x8a\t \x01(\bB\xae\x01\xc2H\xaa\x01\n" + + "\xa7\x01\n" + + "\x1estring.valid_path.edition_2023\x1a\x84\x01!this.matches('^([^/.][^/]?|[^/][^/.]|[^/]{3,})(/([^/.][^/]?|[^/][^/.]|[^/]{3,}))*$') ? 'not a valid path: `%s`'.format([this]) : ''R\x1astringValidPathEdition2023:\x93\x02\n" + + "\x1dbytes_valid_path_edition_2023\x12\x18.buf.validate.BytesRules\x18\x8a\t \x01(\bB\xb5\x01\xc2H\xb1\x01\n" + + "\xae\x01\n" + + "\x1dbytes.valid_path.edition_2023\x1a\x8c\x01!string(this).matches('^([^/.][^/]?|[^/][^/.]|[^/]{3,})(/([^/.][^/]?|[^/][^/.]|[^/]{3,}))*$') ? 'not a valid path: `%s`'.format([this]) : ''R\x19bytesValidPathEdition2023:\xa3\x01\n" + + "\x1aenum_non_zero_edition_2023\x12\x17.buf.validate.EnumRules\x18\x8a\t \x01(\bBM\xc2HJ\n" + + "H\n" + + "\x1aenum.non_zero.edition_2023\x12\x1aenum value is not non-zero\x1a\x0eint(this) != 0R\x16enumNonZeroEdition2023:\xdd\x01\n" + + "#repeated_at_least_five_edition_2023\x12\x1b.buf.validate.RepeatedRules\x18\x8a\t \x01(\bBr\xc2Ho\n" + + "m\n" + + "#repeated.at_least_five.edition_2023\x12-repeated field must have at least five values\x1a\x17uint(this.size()) >= 5uR\x1erepeatedAtLeastFiveEdition2023:\xbd\x01\n" + + "\x1emap_at_least_five_edition_2023\x12\x16.buf.validate.MapRules\x18\x8a\t \x01(\bBa\xc2H^\n" + + "\\\n" + + "\x1emap.at_least_five.edition_2023\x12!map must have at least five pairs\x1a\x17uint(this.size()) >= 5uR\x19mapAtLeastFiveEdition2023:\xca\x01\n" + + "\x1eduration_too_long_edition_2023\x12\x1b.buf.validate.DurationRules\x18\x8a\t \x01(\bBh\xc2He\n" + + "c\n" + + "\x1eduration.too_long.edition_2023\x12(duration can't be longer than 10 seconds\x1a\x17this <= duration('10s')R\x1adurationTooLongEdition2023:\xd9\x01\n" + + "\x1ftimestamp_in_range_edition_2023\x12\x1c.buf.validate.TimestampRules\x18\x8a\t \x01(\bBt\xc2Hq\n" + + "o\n" + + "!timestamp.time_range.edition_2023\x12\x16timestamp out of range\x1a2int(this) >= 1049587200 && int(this) <= 1080432000R\x1btimestampInRangeEdition2023B\xbe\x02\n" + + "\"com.buf.validate.conformance.casesB!PredefinedRulesProtoEditionsProtoP\x01ZYgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Casesb\beditionsp\xe8\a" + +var ( + file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDesc), len(file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDescData +} + +var file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes = make([]protoimpl.MessageInfo, 42) +var file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_goTypes = []any{ + (PredefinedEnumRuleEdition2023_EnumEdition2023)(0), // 0: buf.validate.conformance.cases.PredefinedEnumRuleEdition2023.EnumEdition2023 + (*PredefinedFloatRuleEdition2023)(nil), // 1: buf.validate.conformance.cases.PredefinedFloatRuleEdition2023 + (*PredefinedDoubleRuleEdition2023)(nil), // 2: buf.validate.conformance.cases.PredefinedDoubleRuleEdition2023 + (*PredefinedInt32RuleEdition2023)(nil), // 3: buf.validate.conformance.cases.PredefinedInt32RuleEdition2023 + (*PredefinedInt64RuleEdition2023)(nil), // 4: buf.validate.conformance.cases.PredefinedInt64RuleEdition2023 + (*PredefinedUInt32RuleEdition2023)(nil), // 5: buf.validate.conformance.cases.PredefinedUInt32RuleEdition2023 + (*PredefinedUInt64RuleEdition2023)(nil), // 6: buf.validate.conformance.cases.PredefinedUInt64RuleEdition2023 + (*PredefinedSInt32RuleEdition2023)(nil), // 7: buf.validate.conformance.cases.PredefinedSInt32RuleEdition2023 + (*PredefinedSInt64RuleEdition2023)(nil), // 8: buf.validate.conformance.cases.PredefinedSInt64RuleEdition2023 + (*PredefinedFixed32RuleEdition2023)(nil), // 9: buf.validate.conformance.cases.PredefinedFixed32RuleEdition2023 + (*PredefinedFixed64RuleEdition2023)(nil), // 10: buf.validate.conformance.cases.PredefinedFixed64RuleEdition2023 + (*PredefinedSFixed32RuleEdition2023)(nil), // 11: buf.validate.conformance.cases.PredefinedSFixed32RuleEdition2023 + (*PredefinedSFixed64RuleEdition2023)(nil), // 12: buf.validate.conformance.cases.PredefinedSFixed64RuleEdition2023 + (*PredefinedBoolRuleEdition2023)(nil), // 13: buf.validate.conformance.cases.PredefinedBoolRuleEdition2023 + (*PredefinedStringRuleEdition2023)(nil), // 14: buf.validate.conformance.cases.PredefinedStringRuleEdition2023 + (*PredefinedBytesRuleEdition2023)(nil), // 15: buf.validate.conformance.cases.PredefinedBytesRuleEdition2023 + (*PredefinedEnumRuleEdition2023)(nil), // 16: buf.validate.conformance.cases.PredefinedEnumRuleEdition2023 + (*PredefinedRepeatedRuleEdition2023)(nil), // 17: buf.validate.conformance.cases.PredefinedRepeatedRuleEdition2023 + (*PredefinedMapRuleEdition2023)(nil), // 18: buf.validate.conformance.cases.PredefinedMapRuleEdition2023 + (*PredefinedDurationRuleEdition2023)(nil), // 19: buf.validate.conformance.cases.PredefinedDurationRuleEdition2023 + (*PredefinedTimestampRuleEdition2023)(nil), // 20: buf.validate.conformance.cases.PredefinedTimestampRuleEdition2023 + (*PredefinedWrappedFloatRuleEdition2023)(nil), // 21: buf.validate.conformance.cases.PredefinedWrappedFloatRuleEdition2023 + (*PredefinedWrappedDoubleRuleEdition2023)(nil), // 22: buf.validate.conformance.cases.PredefinedWrappedDoubleRuleEdition2023 + (*PredefinedWrappedInt32RuleEdition2023)(nil), // 23: buf.validate.conformance.cases.PredefinedWrappedInt32RuleEdition2023 + (*PredefinedWrappedInt64RuleEdition2023)(nil), // 24: buf.validate.conformance.cases.PredefinedWrappedInt64RuleEdition2023 + (*PredefinedWrappedUInt32RuleEdition2023)(nil), // 25: buf.validate.conformance.cases.PredefinedWrappedUInt32RuleEdition2023 + (*PredefinedWrappedUInt64RuleEdition2023)(nil), // 26: buf.validate.conformance.cases.PredefinedWrappedUInt64RuleEdition2023 + (*PredefinedWrappedBoolRuleEdition2023)(nil), // 27: buf.validate.conformance.cases.PredefinedWrappedBoolRuleEdition2023 + (*PredefinedWrappedStringRuleEdition2023)(nil), // 28: buf.validate.conformance.cases.PredefinedWrappedStringRuleEdition2023 + (*PredefinedWrappedBytesRuleEdition2023)(nil), // 29: buf.validate.conformance.cases.PredefinedWrappedBytesRuleEdition2023 + (*PredefinedRepeatedWrappedFloatRuleEdition2023)(nil), // 30: buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleEdition2023 + (*PredefinedRepeatedWrappedDoubleRuleEdition2023)(nil), // 31: buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleEdition2023 + (*PredefinedRepeatedWrappedInt32RuleEdition2023)(nil), // 32: buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleEdition2023 + (*PredefinedRepeatedWrappedInt64RuleEdition2023)(nil), // 33: buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleEdition2023 + (*PredefinedRepeatedWrappedUInt32RuleEdition2023)(nil), // 34: buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleEdition2023 + (*PredefinedRepeatedWrappedUInt64RuleEdition2023)(nil), // 35: buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleEdition2023 + (*PredefinedRepeatedWrappedBoolRuleEdition2023)(nil), // 36: buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleEdition2023 + (*PredefinedRepeatedWrappedStringRuleEdition2023)(nil), // 37: buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleEdition2023 + (*PredefinedRepeatedWrappedBytesRuleEdition2023)(nil), // 38: buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleEdition2023 + (*PredefinedAndCustomRuleEdition2023)(nil), // 39: buf.validate.conformance.cases.PredefinedAndCustomRuleEdition2023 + (*StandardPredefinedAndCustomRuleEdition2023)(nil), // 40: buf.validate.conformance.cases.StandardPredefinedAndCustomRuleEdition2023 + nil, // 41: buf.validate.conformance.cases.PredefinedMapRuleEdition2023.ValEntry + (*PredefinedAndCustomRuleEdition2023_Nested)(nil), // 42: buf.validate.conformance.cases.PredefinedAndCustomRuleEdition2023.Nested + (*durationpb.Duration)(nil), // 43: google.protobuf.Duration + (*timestamppb.Timestamp)(nil), // 44: google.protobuf.Timestamp + (*wrapperspb.FloatValue)(nil), // 45: google.protobuf.FloatValue + (*wrapperspb.DoubleValue)(nil), // 46: google.protobuf.DoubleValue + (*wrapperspb.Int32Value)(nil), // 47: google.protobuf.Int32Value + (*wrapperspb.Int64Value)(nil), // 48: google.protobuf.Int64Value + (*wrapperspb.UInt32Value)(nil), // 49: google.protobuf.UInt32Value + (*wrapperspb.UInt64Value)(nil), // 50: google.protobuf.UInt64Value + (*wrapperspb.BoolValue)(nil), // 51: google.protobuf.BoolValue + (*wrapperspb.StringValue)(nil), // 52: google.protobuf.StringValue + (*wrapperspb.BytesValue)(nil), // 53: google.protobuf.BytesValue + (*validate.FloatRules)(nil), // 54: buf.validate.FloatRules + (*validate.DoubleRules)(nil), // 55: buf.validate.DoubleRules + (*validate.Int32Rules)(nil), // 56: buf.validate.Int32Rules + (*validate.Int64Rules)(nil), // 57: buf.validate.Int64Rules + (*validate.UInt32Rules)(nil), // 58: buf.validate.UInt32Rules + (*validate.UInt64Rules)(nil), // 59: buf.validate.UInt64Rules + (*validate.SInt32Rules)(nil), // 60: buf.validate.SInt32Rules + (*validate.SInt64Rules)(nil), // 61: buf.validate.SInt64Rules + (*validate.Fixed32Rules)(nil), // 62: buf.validate.Fixed32Rules + (*validate.Fixed64Rules)(nil), // 63: buf.validate.Fixed64Rules + (*validate.SFixed32Rules)(nil), // 64: buf.validate.SFixed32Rules + (*validate.SFixed64Rules)(nil), // 65: buf.validate.SFixed64Rules + (*validate.BoolRules)(nil), // 66: buf.validate.BoolRules + (*validate.StringRules)(nil), // 67: buf.validate.StringRules + (*validate.BytesRules)(nil), // 68: buf.validate.BytesRules + (*validate.EnumRules)(nil), // 69: buf.validate.EnumRules + (*validate.RepeatedRules)(nil), // 70: buf.validate.RepeatedRules + (*validate.MapRules)(nil), // 71: buf.validate.MapRules + (*validate.DurationRules)(nil), // 72: buf.validate.DurationRules + (*validate.TimestampRules)(nil), // 73: buf.validate.TimestampRules +} +var file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_depIdxs = []int32{ + 0, // 0: buf.validate.conformance.cases.PredefinedEnumRuleEdition2023.val:type_name -> buf.validate.conformance.cases.PredefinedEnumRuleEdition2023.EnumEdition2023 + 41, // 1: buf.validate.conformance.cases.PredefinedMapRuleEdition2023.val:type_name -> buf.validate.conformance.cases.PredefinedMapRuleEdition2023.ValEntry + 43, // 2: buf.validate.conformance.cases.PredefinedDurationRuleEdition2023.val:type_name -> google.protobuf.Duration + 44, // 3: buf.validate.conformance.cases.PredefinedTimestampRuleEdition2023.val:type_name -> google.protobuf.Timestamp + 45, // 4: buf.validate.conformance.cases.PredefinedWrappedFloatRuleEdition2023.val:type_name -> google.protobuf.FloatValue + 46, // 5: buf.validate.conformance.cases.PredefinedWrappedDoubleRuleEdition2023.val:type_name -> google.protobuf.DoubleValue + 47, // 6: buf.validate.conformance.cases.PredefinedWrappedInt32RuleEdition2023.val:type_name -> google.protobuf.Int32Value + 48, // 7: buf.validate.conformance.cases.PredefinedWrappedInt64RuleEdition2023.val:type_name -> google.protobuf.Int64Value + 49, // 8: buf.validate.conformance.cases.PredefinedWrappedUInt32RuleEdition2023.val:type_name -> google.protobuf.UInt32Value + 50, // 9: buf.validate.conformance.cases.PredefinedWrappedUInt64RuleEdition2023.val:type_name -> google.protobuf.UInt64Value + 51, // 10: buf.validate.conformance.cases.PredefinedWrappedBoolRuleEdition2023.val:type_name -> google.protobuf.BoolValue + 52, // 11: buf.validate.conformance.cases.PredefinedWrappedStringRuleEdition2023.val:type_name -> google.protobuf.StringValue + 53, // 12: buf.validate.conformance.cases.PredefinedWrappedBytesRuleEdition2023.val:type_name -> google.protobuf.BytesValue + 45, // 13: buf.validate.conformance.cases.PredefinedRepeatedWrappedFloatRuleEdition2023.val:type_name -> google.protobuf.FloatValue + 46, // 14: buf.validate.conformance.cases.PredefinedRepeatedWrappedDoubleRuleEdition2023.val:type_name -> google.protobuf.DoubleValue + 47, // 15: buf.validate.conformance.cases.PredefinedRepeatedWrappedInt32RuleEdition2023.val:type_name -> google.protobuf.Int32Value + 48, // 16: buf.validate.conformance.cases.PredefinedRepeatedWrappedInt64RuleEdition2023.val:type_name -> google.protobuf.Int64Value + 49, // 17: buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt32RuleEdition2023.val:type_name -> google.protobuf.UInt32Value + 50, // 18: buf.validate.conformance.cases.PredefinedRepeatedWrappedUInt64RuleEdition2023.val:type_name -> google.protobuf.UInt64Value + 51, // 19: buf.validate.conformance.cases.PredefinedRepeatedWrappedBoolRuleEdition2023.val:type_name -> google.protobuf.BoolValue + 52, // 20: buf.validate.conformance.cases.PredefinedRepeatedWrappedStringRuleEdition2023.val:type_name -> google.protobuf.StringValue + 53, // 21: buf.validate.conformance.cases.PredefinedRepeatedWrappedBytesRuleEdition2023.val:type_name -> google.protobuf.BytesValue + 42, // 22: buf.validate.conformance.cases.PredefinedAndCustomRuleEdition2023.b:type_name -> buf.validate.conformance.cases.PredefinedAndCustomRuleEdition2023.Nested + 54, // 23: buf.validate.conformance.cases.float_abs_range_edition_2023:extendee -> buf.validate.FloatRules + 55, // 24: buf.validate.conformance.cases.double_abs_range_edition_2023:extendee -> buf.validate.DoubleRules + 56, // 25: buf.validate.conformance.cases.int32_abs_in_edition_2023:extendee -> buf.validate.Int32Rules + 57, // 26: buf.validate.conformance.cases.int64_abs_in_edition_2023:extendee -> buf.validate.Int64Rules + 58, // 27: buf.validate.conformance.cases.uint32_even_edition_2023:extendee -> buf.validate.UInt32Rules + 59, // 28: buf.validate.conformance.cases.uint64_even_edition_2023:extendee -> buf.validate.UInt64Rules + 60, // 29: buf.validate.conformance.cases.sint32_even_edition_2023:extendee -> buf.validate.SInt32Rules + 61, // 30: buf.validate.conformance.cases.sint64_even_edition_2023:extendee -> buf.validate.SInt64Rules + 62, // 31: buf.validate.conformance.cases.fixed32_even_edition_2023:extendee -> buf.validate.Fixed32Rules + 63, // 32: buf.validate.conformance.cases.fixed64_even_edition_2023:extendee -> buf.validate.Fixed64Rules + 64, // 33: buf.validate.conformance.cases.sfixed32_even_edition_2023:extendee -> buf.validate.SFixed32Rules + 65, // 34: buf.validate.conformance.cases.sfixed64_even_edition_2023:extendee -> buf.validate.SFixed64Rules + 66, // 35: buf.validate.conformance.cases.bool_false_edition_2023:extendee -> buf.validate.BoolRules + 67, // 36: buf.validate.conformance.cases.string_valid_path_edition_2023:extendee -> buf.validate.StringRules + 68, // 37: buf.validate.conformance.cases.bytes_valid_path_edition_2023:extendee -> buf.validate.BytesRules + 69, // 38: buf.validate.conformance.cases.enum_non_zero_edition_2023:extendee -> buf.validate.EnumRules + 70, // 39: buf.validate.conformance.cases.repeated_at_least_five_edition_2023:extendee -> buf.validate.RepeatedRules + 71, // 40: buf.validate.conformance.cases.map_at_least_five_edition_2023:extendee -> buf.validate.MapRules + 72, // 41: buf.validate.conformance.cases.duration_too_long_edition_2023:extendee -> buf.validate.DurationRules + 73, // 42: buf.validate.conformance.cases.timestamp_in_range_edition_2023:extendee -> buf.validate.TimestampRules + 48, // 43: buf.validate.conformance.cases.int64_abs_in_edition_2023:type_name -> google.protobuf.Int64Value + 44, // [44:44] is the sub-list for method output_type + 44, // [44:44] is the sub-list for method input_type + 43, // [43:44] is the sub-list for extension type_name + 23, // [23:43] is the sub-list for extension extendee + 0, // [0:23] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_init() } +func file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_init() { + if File_buf_validate_conformance_cases_predefined_rules_proto_editions_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDesc), len(file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_rawDesc)), + NumEnums: 1, + NumMessages: 42, + NumExtensions: 20, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_depIdxs, + EnumInfos: file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_enumTypes, + MessageInfos: file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_msgTypes, + ExtensionInfos: file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_extTypes, + }.Build() + File_buf_validate_conformance_cases_predefined_rules_proto_editions_proto = out.File + file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_goTypes = nil + file_buf_validate_conformance_cases_predefined_rules_proto_editions_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/repeated.pb.go b/internal/gen/proto/buf/validate/conformance/cases/repeated.pb.go new file mode 100644 index 00000000..9263c6a3 --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/repeated.pb.go @@ -0,0 +1,1514 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/repeated.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + other_package "github.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases/other_package" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + anypb "google.golang.org/protobuf/types/known/anypb" + durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AnEnum int32 + +const ( + AnEnum_AN_ENUM_UNSPECIFIED AnEnum = 0 + AnEnum_AN_ENUM_X AnEnum = 1 + AnEnum_AN_ENUM_Y AnEnum = 2 +) + +// Enum value maps for AnEnum. +var ( + AnEnum_name = map[int32]string{ + 0: "AN_ENUM_UNSPECIFIED", + 1: "AN_ENUM_X", + 2: "AN_ENUM_Y", + } + AnEnum_value = map[string]int32{ + "AN_ENUM_UNSPECIFIED": 0, + "AN_ENUM_X": 1, + "AN_ENUM_Y": 2, + } +) + +func (x AnEnum) Enum() *AnEnum { + p := new(AnEnum) + *p = x + return p +} + +func (x AnEnum) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (AnEnum) Descriptor() protoreflect.EnumDescriptor { + return file_buf_validate_conformance_cases_repeated_proto_enumTypes[0].Descriptor() +} + +func (AnEnum) Type() protoreflect.EnumType { + return &file_buf_validate_conformance_cases_repeated_proto_enumTypes[0] +} + +func (x AnEnum) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AnEnum.Descriptor instead. +func (AnEnum) EnumDescriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{0} +} + +type RepeatedEmbeddedEnumIn_AnotherInEnum int32 + +const ( + RepeatedEmbeddedEnumIn_ANOTHER_IN_ENUM_UNSPECIFIED RepeatedEmbeddedEnumIn_AnotherInEnum = 0 + RepeatedEmbeddedEnumIn_ANOTHER_IN_ENUM_A RepeatedEmbeddedEnumIn_AnotherInEnum = 1 + RepeatedEmbeddedEnumIn_ANOTHER_IN_ENUM_B RepeatedEmbeddedEnumIn_AnotherInEnum = 2 +) + +// Enum value maps for RepeatedEmbeddedEnumIn_AnotherInEnum. +var ( + RepeatedEmbeddedEnumIn_AnotherInEnum_name = map[int32]string{ + 0: "ANOTHER_IN_ENUM_UNSPECIFIED", + 1: "ANOTHER_IN_ENUM_A", + 2: "ANOTHER_IN_ENUM_B", + } + RepeatedEmbeddedEnumIn_AnotherInEnum_value = map[string]int32{ + "ANOTHER_IN_ENUM_UNSPECIFIED": 0, + "ANOTHER_IN_ENUM_A": 1, + "ANOTHER_IN_ENUM_B": 2, + } +) + +func (x RepeatedEmbeddedEnumIn_AnotherInEnum) Enum() *RepeatedEmbeddedEnumIn_AnotherInEnum { + p := new(RepeatedEmbeddedEnumIn_AnotherInEnum) + *p = x + return p +} + +func (x RepeatedEmbeddedEnumIn_AnotherInEnum) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (RepeatedEmbeddedEnumIn_AnotherInEnum) Descriptor() protoreflect.EnumDescriptor { + return file_buf_validate_conformance_cases_repeated_proto_enumTypes[1].Descriptor() +} + +func (RepeatedEmbeddedEnumIn_AnotherInEnum) Type() protoreflect.EnumType { + return &file_buf_validate_conformance_cases_repeated_proto_enumTypes[1] +} + +func (x RepeatedEmbeddedEnumIn_AnotherInEnum) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use RepeatedEmbeddedEnumIn_AnotherInEnum.Descriptor instead. +func (RepeatedEmbeddedEnumIn_AnotherInEnum) EnumDescriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{18, 0} +} + +type RepeatedEmbeddedEnumNotIn_AnotherNotInEnum int32 + +const ( + RepeatedEmbeddedEnumNotIn_ANOTHER_NOT_IN_ENUM_UNSPECIFIED RepeatedEmbeddedEnumNotIn_AnotherNotInEnum = 0 + RepeatedEmbeddedEnumNotIn_ANOTHER_NOT_IN_ENUM_A RepeatedEmbeddedEnumNotIn_AnotherNotInEnum = 1 + RepeatedEmbeddedEnumNotIn_ANOTHER_NOT_IN_ENUM_B RepeatedEmbeddedEnumNotIn_AnotherNotInEnum = 2 +) + +// Enum value maps for RepeatedEmbeddedEnumNotIn_AnotherNotInEnum. +var ( + RepeatedEmbeddedEnumNotIn_AnotherNotInEnum_name = map[int32]string{ + 0: "ANOTHER_NOT_IN_ENUM_UNSPECIFIED", + 1: "ANOTHER_NOT_IN_ENUM_A", + 2: "ANOTHER_NOT_IN_ENUM_B", + } + RepeatedEmbeddedEnumNotIn_AnotherNotInEnum_value = map[string]int32{ + "ANOTHER_NOT_IN_ENUM_UNSPECIFIED": 0, + "ANOTHER_NOT_IN_ENUM_A": 1, + "ANOTHER_NOT_IN_ENUM_B": 2, + } +) + +func (x RepeatedEmbeddedEnumNotIn_AnotherNotInEnum) Enum() *RepeatedEmbeddedEnumNotIn_AnotherNotInEnum { + p := new(RepeatedEmbeddedEnumNotIn_AnotherNotInEnum) + *p = x + return p +} + +func (x RepeatedEmbeddedEnumNotIn_AnotherNotInEnum) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (RepeatedEmbeddedEnumNotIn_AnotherNotInEnum) Descriptor() protoreflect.EnumDescriptor { + return file_buf_validate_conformance_cases_repeated_proto_enumTypes[2].Descriptor() +} + +func (RepeatedEmbeddedEnumNotIn_AnotherNotInEnum) Type() protoreflect.EnumType { + return &file_buf_validate_conformance_cases_repeated_proto_enumTypes[2] +} + +func (x RepeatedEmbeddedEnumNotIn_AnotherNotInEnum) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use RepeatedEmbeddedEnumNotIn_AnotherNotInEnum.Descriptor instead. +func (RepeatedEmbeddedEnumNotIn_AnotherNotInEnum) EnumDescriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{19, 0} +} + +type Embed struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Embed) Reset() { + *x = Embed{} + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Embed) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Embed) ProtoMessage() {} + +func (x *Embed) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Embed.ProtoReflect.Descriptor instead. +func (*Embed) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{0} +} + +func (x *Embed) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +type RepeatedNone struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int64 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedNone) Reset() { + *x = RepeatedNone{} + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedNone) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedNone) ProtoMessage() {} + +func (x *RepeatedNone) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedNone.ProtoReflect.Descriptor instead. +func (*RepeatedNone) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{1} +} + +func (x *RepeatedNone) GetVal() []int64 { + if x != nil { + return x.Val + } + return nil +} + +type RepeatedEmbedNone struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*Embed `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedEmbedNone) Reset() { + *x = RepeatedEmbedNone{} + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedEmbedNone) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedEmbedNone) ProtoMessage() {} + +func (x *RepeatedEmbedNone) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedEmbedNone.ProtoReflect.Descriptor instead. +func (*RepeatedEmbedNone) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{2} +} + +func (x *RepeatedEmbedNone) GetVal() []*Embed { + if x != nil { + return x.Val + } + return nil +} + +type RepeatedEmbedCrossPackageNone struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*other_package.Embed `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedEmbedCrossPackageNone) Reset() { + *x = RepeatedEmbedCrossPackageNone{} + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedEmbedCrossPackageNone) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedEmbedCrossPackageNone) ProtoMessage() {} + +func (x *RepeatedEmbedCrossPackageNone) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedEmbedCrossPackageNone.ProtoReflect.Descriptor instead. +func (*RepeatedEmbedCrossPackageNone) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{3} +} + +func (x *RepeatedEmbedCrossPackageNone) GetVal() []*other_package.Embed { + if x != nil { + return x.Val + } + return nil +} + +type RepeatedMin struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*Embed `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedMin) Reset() { + *x = RepeatedMin{} + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedMin) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedMin) ProtoMessage() {} + +func (x *RepeatedMin) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedMin.ProtoReflect.Descriptor instead. +func (*RepeatedMin) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{4} +} + +func (x *RepeatedMin) GetVal() []*Embed { + if x != nil { + return x.Val + } + return nil +} + +type RepeatedMax struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []float64 `protobuf:"fixed64,1,rep,packed,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedMax) Reset() { + *x = RepeatedMax{} + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedMax) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedMax) ProtoMessage() {} + +func (x *RepeatedMax) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedMax.ProtoReflect.Descriptor instead. +func (*RepeatedMax) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{5} +} + +func (x *RepeatedMax) GetVal() []float64 { + if x != nil { + return x.Val + } + return nil +} + +type RepeatedMinMax struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []int32 `protobuf:"fixed32,1,rep,packed,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedMinMax) Reset() { + *x = RepeatedMinMax{} + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedMinMax) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedMinMax) ProtoMessage() {} + +func (x *RepeatedMinMax) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedMinMax.ProtoReflect.Descriptor instead. +func (*RepeatedMinMax) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{6} +} + +func (x *RepeatedMinMax) GetVal() []int32 { + if x != nil { + return x.Val + } + return nil +} + +type RepeatedExact struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []uint32 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedExact) Reset() { + *x = RepeatedExact{} + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedExact) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedExact) ProtoMessage() {} + +func (x *RepeatedExact) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedExact.ProtoReflect.Descriptor instead. +func (*RepeatedExact) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{7} +} + +func (x *RepeatedExact) GetVal() []uint32 { + if x != nil { + return x.Val + } + return nil +} + +type RepeatedUnique struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedUnique) Reset() { + *x = RepeatedUnique{} + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedUnique) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedUnique) ProtoMessage() {} + +func (x *RepeatedUnique) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedUnique.ProtoReflect.Descriptor instead. +func (*RepeatedUnique) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{8} +} + +func (x *RepeatedUnique) GetVal() []string { + if x != nil { + return x.Val + } + return nil +} + +type RepeatedNotUnique struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedNotUnique) Reset() { + *x = RepeatedNotUnique{} + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedNotUnique) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedNotUnique) ProtoMessage() {} + +func (x *RepeatedNotUnique) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedNotUnique.ProtoReflect.Descriptor instead. +func (*RepeatedNotUnique) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{9} +} + +func (x *RepeatedNotUnique) GetVal() []string { + if x != nil { + return x.Val + } + return nil +} + +type RepeatedMultipleUnique struct { + state protoimpl.MessageState `protogen:"open.v1"` + A []string `protobuf:"bytes,1,rep,name=a,proto3" json:"a,omitempty"` + B []int32 `protobuf:"varint,2,rep,packed,name=b,proto3" json:"b,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedMultipleUnique) Reset() { + *x = RepeatedMultipleUnique{} + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedMultipleUnique) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedMultipleUnique) ProtoMessage() {} + +func (x *RepeatedMultipleUnique) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedMultipleUnique.ProtoReflect.Descriptor instead. +func (*RepeatedMultipleUnique) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{10} +} + +func (x *RepeatedMultipleUnique) GetA() []string { + if x != nil { + return x.A + } + return nil +} + +func (x *RepeatedMultipleUnique) GetB() []int32 { + if x != nil { + return x.B + } + return nil +} + +type RepeatedItemRule struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []float32 `protobuf:"fixed32,1,rep,packed,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedItemRule) Reset() { + *x = RepeatedItemRule{} + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedItemRule) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedItemRule) ProtoMessage() {} + +func (x *RepeatedItemRule) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedItemRule.ProtoReflect.Descriptor instead. +func (*RepeatedItemRule) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{11} +} + +func (x *RepeatedItemRule) GetVal() []float32 { + if x != nil { + return x.Val + } + return nil +} + +type RepeatedItemPattern struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedItemPattern) Reset() { + *x = RepeatedItemPattern{} + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedItemPattern) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedItemPattern) ProtoMessage() {} + +func (x *RepeatedItemPattern) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedItemPattern.ProtoReflect.Descriptor instead. +func (*RepeatedItemPattern) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{12} +} + +func (x *RepeatedItemPattern) GetVal() []string { + if x != nil { + return x.Val + } + return nil +} + +type RepeatedEmbedSkip struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*Embed `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedEmbedSkip) Reset() { + *x = RepeatedEmbedSkip{} + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedEmbedSkip) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedEmbedSkip) ProtoMessage() {} + +func (x *RepeatedEmbedSkip) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedEmbedSkip.ProtoReflect.Descriptor instead. +func (*RepeatedEmbedSkip) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{13} +} + +func (x *RepeatedEmbedSkip) GetVal() []*Embed { + if x != nil { + return x.Val + } + return nil +} + +type RepeatedItemIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedItemIn) Reset() { + *x = RepeatedItemIn{} + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedItemIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedItemIn) ProtoMessage() {} + +func (x *RepeatedItemIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedItemIn.ProtoReflect.Descriptor instead. +func (*RepeatedItemIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{14} +} + +func (x *RepeatedItemIn) GetVal() []string { + if x != nil { + return x.Val + } + return nil +} + +type RepeatedItemNotIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedItemNotIn) Reset() { + *x = RepeatedItemNotIn{} + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedItemNotIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedItemNotIn) ProtoMessage() {} + +func (x *RepeatedItemNotIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[15] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedItemNotIn.ProtoReflect.Descriptor instead. +func (*RepeatedItemNotIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{15} +} + +func (x *RepeatedItemNotIn) GetVal() []string { + if x != nil { + return x.Val + } + return nil +} + +type RepeatedEnumIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []AnEnum `protobuf:"varint,1,rep,packed,name=val,proto3,enum=buf.validate.conformance.cases.AnEnum" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedEnumIn) Reset() { + *x = RepeatedEnumIn{} + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedEnumIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedEnumIn) ProtoMessage() {} + +func (x *RepeatedEnumIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[16] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedEnumIn.ProtoReflect.Descriptor instead. +func (*RepeatedEnumIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{16} +} + +func (x *RepeatedEnumIn) GetVal() []AnEnum { + if x != nil { + return x.Val + } + return nil +} + +type RepeatedEnumNotIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []AnEnum `protobuf:"varint,1,rep,packed,name=val,proto3,enum=buf.validate.conformance.cases.AnEnum" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedEnumNotIn) Reset() { + *x = RepeatedEnumNotIn{} + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedEnumNotIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedEnumNotIn) ProtoMessage() {} + +func (x *RepeatedEnumNotIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[17] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedEnumNotIn.ProtoReflect.Descriptor instead. +func (*RepeatedEnumNotIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{17} +} + +func (x *RepeatedEnumNotIn) GetVal() []AnEnum { + if x != nil { + return x.Val + } + return nil +} + +type RepeatedEmbeddedEnumIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []RepeatedEmbeddedEnumIn_AnotherInEnum `protobuf:"varint,1,rep,packed,name=val,proto3,enum=buf.validate.conformance.cases.RepeatedEmbeddedEnumIn_AnotherInEnum" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedEmbeddedEnumIn) Reset() { + *x = RepeatedEmbeddedEnumIn{} + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedEmbeddedEnumIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedEmbeddedEnumIn) ProtoMessage() {} + +func (x *RepeatedEmbeddedEnumIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[18] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedEmbeddedEnumIn.ProtoReflect.Descriptor instead. +func (*RepeatedEmbeddedEnumIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{18} +} + +func (x *RepeatedEmbeddedEnumIn) GetVal() []RepeatedEmbeddedEnumIn_AnotherInEnum { + if x != nil { + return x.Val + } + return nil +} + +type RepeatedEmbeddedEnumNotIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []RepeatedEmbeddedEnumNotIn_AnotherNotInEnum `protobuf:"varint,1,rep,packed,name=val,proto3,enum=buf.validate.conformance.cases.RepeatedEmbeddedEnumNotIn_AnotherNotInEnum" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedEmbeddedEnumNotIn) Reset() { + *x = RepeatedEmbeddedEnumNotIn{} + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedEmbeddedEnumNotIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedEmbeddedEnumNotIn) ProtoMessage() {} + +func (x *RepeatedEmbeddedEnumNotIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[19] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedEmbeddedEnumNotIn.ProtoReflect.Descriptor instead. +func (*RepeatedEmbeddedEnumNotIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{19} +} + +func (x *RepeatedEmbeddedEnumNotIn) GetVal() []RepeatedEmbeddedEnumNotIn_AnotherNotInEnum { + if x != nil { + return x.Val + } + return nil +} + +type RepeatedAnyIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*anypb.Any `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedAnyIn) Reset() { + *x = RepeatedAnyIn{} + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedAnyIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedAnyIn) ProtoMessage() {} + +func (x *RepeatedAnyIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[20] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedAnyIn.ProtoReflect.Descriptor instead. +func (*RepeatedAnyIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{20} +} + +func (x *RepeatedAnyIn) GetVal() []*anypb.Any { + if x != nil { + return x.Val + } + return nil +} + +type RepeatedAnyNotIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*anypb.Any `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedAnyNotIn) Reset() { + *x = RepeatedAnyNotIn{} + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedAnyNotIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedAnyNotIn) ProtoMessage() {} + +func (x *RepeatedAnyNotIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[21] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedAnyNotIn.ProtoReflect.Descriptor instead. +func (*RepeatedAnyNotIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{21} +} + +func (x *RepeatedAnyNotIn) GetVal() []*anypb.Any { + if x != nil { + return x.Val + } + return nil +} + +type RepeatedMinAndItemLen struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedMinAndItemLen) Reset() { + *x = RepeatedMinAndItemLen{} + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedMinAndItemLen) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedMinAndItemLen) ProtoMessage() {} + +func (x *RepeatedMinAndItemLen) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[22] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedMinAndItemLen.ProtoReflect.Descriptor instead. +func (*RepeatedMinAndItemLen) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{22} +} + +func (x *RepeatedMinAndItemLen) GetVal() []string { + if x != nil { + return x.Val + } + return nil +} + +type RepeatedMinAndMaxItemLen struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedMinAndMaxItemLen) Reset() { + *x = RepeatedMinAndMaxItemLen{} + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedMinAndMaxItemLen) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedMinAndMaxItemLen) ProtoMessage() {} + +func (x *RepeatedMinAndMaxItemLen) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[23] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedMinAndMaxItemLen.ProtoReflect.Descriptor instead. +func (*RepeatedMinAndMaxItemLen) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{23} +} + +func (x *RepeatedMinAndMaxItemLen) GetVal() []string { + if x != nil { + return x.Val + } + return nil +} + +type RepeatedDuration struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []*durationpb.Duration `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedDuration) Reset() { + *x = RepeatedDuration{} + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedDuration) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedDuration) ProtoMessage() {} + +func (x *RepeatedDuration) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[24] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedDuration.ProtoReflect.Descriptor instead. +func (*RepeatedDuration) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{24} +} + +func (x *RepeatedDuration) GetVal() []*durationpb.Duration { + if x != nil { + return x.Val + } + return nil +} + +type RepeatedExactIgnore struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []uint32 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RepeatedExactIgnore) Reset() { + *x = RepeatedExactIgnore{} + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RepeatedExactIgnore) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepeatedExactIgnore) ProtoMessage() {} + +func (x *RepeatedExactIgnore) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_repeated_proto_msgTypes[25] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepeatedExactIgnore.ProtoReflect.Descriptor instead. +func (*RepeatedExactIgnore) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP(), []int{25} +} + +func (x *RepeatedExactIgnore) GetVal() []uint32 { + if x != nil { + return x.Val + } + return nil +} + +var File_buf_validate_conformance_cases_repeated_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_repeated_proto_rawDesc = "" + + "\n" + + "-buf/validate/conformance/cases/repeated.proto\x12\x1ebuf.validate.conformance.cases\x1a8buf/validate/conformance/cases/other_package/embed.proto\x1a\x1bbuf/validate/validate.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\"\"\n" + + "\x05Embed\x12\x19\n" + + "\x03val\x18\x01 \x01(\x03B\a\xbaH\x04\"\x02 \x00R\x03val\" \n" + + "\fRepeatedNone\x12\x10\n" + + "\x03val\x18\x01 \x03(\x03R\x03val\"L\n" + + "\x11RepeatedEmbedNone\x127\n" + + "\x03val\x18\x01 \x03(\v2%.buf.validate.conformance.cases.EmbedR\x03val\"f\n" + + "\x1dRepeatedEmbedCrossPackageNone\x12E\n" + + "\x03val\x18\x01 \x03(\v23.buf.validate.conformance.cases.other_package.EmbedR\x03val\"P\n" + + "\vRepeatedMin\x12A\n" + + "\x03val\x18\x01 \x03(\v2%.buf.validate.conformance.cases.EmbedB\b\xbaH\x05\x92\x01\x02\b\x02R\x03val\")\n" + + "\vRepeatedMax\x12\x1a\n" + + "\x03val\x18\x01 \x03(\x01B\b\xbaH\x05\x92\x01\x02\x10\x03R\x03val\".\n" + + "\x0eRepeatedMinMax\x12\x1c\n" + + "\x03val\x18\x01 \x03(\x0fB\n" + + "\xbaH\a\x92\x01\x04\b\x02\x10\x04R\x03val\"-\n" + + "\rRepeatedExact\x12\x1c\n" + + "\x03val\x18\x01 \x03(\rB\n" + + "\xbaH\a\x92\x01\x04\b\x03\x10\x03R\x03val\",\n" + + "\x0eRepeatedUnique\x12\x1a\n" + + "\x03val\x18\x01 \x03(\tB\b\xbaH\x05\x92\x01\x02\x18\x01R\x03val\"/\n" + + "\x11RepeatedNotUnique\x12\x1a\n" + + "\x03val\x18\x01 \x03(\tB\b\xbaH\x05\x92\x01\x02\x18\x00R\x03val\"H\n" + + "\x16RepeatedMultipleUnique\x12\x16\n" + + "\x01a\x18\x01 \x03(\tB\b\xbaH\x05\x92\x01\x02\x18\x01R\x01a\x12\x16\n" + + "\x01b\x18\x02 \x03(\x05B\b\xbaH\x05\x92\x01\x02\x18\x01R\x01b\"5\n" + + "\x10RepeatedItemRule\x12!\n" + + "\x03val\x18\x01 \x03(\x02B\x0f\xbaH\f\x92\x01\t\"\a\n" + + "\x05%\x00\x00\x00\x00R\x03val\"D\n" + + "\x13RepeatedItemPattern\x12-\n" + + "\x03val\x18\x01 \x03(\tB\x1b\xbaH\x18\x92\x01\x15\"\x13r\x112\x0f(?i)^[a-z0-9]+$R\x03val\"Y\n" + + "\x11RepeatedEmbedSkip\x12D\n" + + "\x03val\x18\x01 \x03(\v2%.buf.validate.conformance.cases.EmbedB\v\xbaH\b\x92\x01\x05\"\x03\xd8\x01\x03R\x03val\"8\n" + + "\x0eRepeatedItemIn\x12&\n" + + "\x03val\x18\x01 \x03(\tB\x14\xbaH\x11\x92\x01\x0e\"\fr\n" + + "R\x03fooR\x03barR\x03val\";\n" + + "\x11RepeatedItemNotIn\x12&\n" + + "\x03val\x18\x01 \x03(\tB\x14\xbaH\x11\x92\x01\x0e\"\fr\n" + + "Z\x03fooZ\x03barR\x03val\"Y\n" + + "\x0eRepeatedEnumIn\x12G\n" + + "\x03val\x18\x01 \x03(\x0e2&.buf.validate.conformance.cases.AnEnumB\r\xbaH\n" + + "\x92\x01\a\"\x05\x82\x01\x02\x18\x00R\x03val\"\\\n" + + "\x11RepeatedEnumNotIn\x12G\n" + + "\x03val\x18\x01 \x03(\x0e2&.buf.validate.conformance.cases.AnEnumB\r\xbaH\n" + + "\x92\x01\a\"\x05\x82\x01\x02 \x00R\x03val\"\xdf\x01\n" + + "\x16RepeatedEmbeddedEnumIn\x12e\n" + + "\x03val\x18\x01 \x03(\x0e2D.buf.validate.conformance.cases.RepeatedEmbeddedEnumIn.AnotherInEnumB\r\xbaH\n" + + "\x92\x01\a\"\x05\x82\x01\x02\x18\x00R\x03val\"^\n" + + "\rAnotherInEnum\x12\x1f\n" + + "\x1bANOTHER_IN_ENUM_UNSPECIFIED\x10\x00\x12\x15\n" + + "\x11ANOTHER_IN_ENUM_A\x10\x01\x12\x15\n" + + "\x11ANOTHER_IN_ENUM_B\x10\x02\"\xf7\x01\n" + + "\x19RepeatedEmbeddedEnumNotIn\x12k\n" + + "\x03val\x18\x01 \x03(\x0e2J.buf.validate.conformance.cases.RepeatedEmbeddedEnumNotIn.AnotherNotInEnumB\r\xbaH\n" + + "\x92\x01\a\"\x05\x82\x01\x02 \x00R\x03val\"m\n" + + "\x10AnotherNotInEnum\x12#\n" + + "\x1fANOTHER_NOT_IN_ENUM_UNSPECIFIED\x10\x00\x12\x19\n" + + "\x15ANOTHER_NOT_IN_ENUM_A\x10\x01\x12\x19\n" + + "\x15ANOTHER_NOT_IN_ENUM_B\x10\x02\"r\n" + + "\rRepeatedAnyIn\x12a\n" + + "\x03val\x18\x01 \x03(\v2\x14.google.protobuf.AnyB9\xbaH6\x92\x013\"1\xa2\x01.\x12,type.googleapis.com/google.protobuf.DurationR\x03val\"v\n" + + "\x10RepeatedAnyNotIn\x12b\n" + + "\x03val\x18\x01 \x03(\v2\x14.google.protobuf.AnyB:\xbaH7\x92\x014\"2\xa2\x01/\x1a-type.googleapis.com/google.protobuf.TimestampR\x03val\":\n" + + "\x15RepeatedMinAndItemLen\x12!\n" + + "\x03val\x18\x01 \x03(\tB\x0f\xbaH\f\x92\x01\t\b\x01\"\x05r\x03\x98\x01\x03R\x03val\"8\n" + + "\x18RepeatedMinAndMaxItemLen\x12\x1c\n" + + "\x03val\x18\x01 \x03(\tB\n" + + "\xbaH\a\x92\x01\x04\b\x01\x10\x03R\x03val\"R\n" + + "\x10RepeatedDuration\x12>\n" + + "\x03val\x18\x01 \x03(\v2\x19.google.protobuf.DurationB\x11\xbaH\x0e\x92\x01\v\"\t\xaa\x01\x062\x04\x10\xc0\x84=R\x03val\"6\n" + + "\x13RepeatedExactIgnore\x12\x1f\n" + + "\x03val\x18\x01 \x03(\rB\r\xbaH\n" + + "\xd8\x01\x01\x92\x01\x04\b\x03\x10\x03R\x03val*?\n" + + "\x06AnEnum\x12\x17\n" + + "\x13AN_ENUM_UNSPECIFIED\x10\x00\x12\r\n" + + "\tAN_ENUM_X\x10\x01\x12\r\n" + + "\tAN_ENUM_Y\x10\x02B\xaa\x02\n" + + "\"com.buf.validate.conformance.casesB\rRepeatedProtoP\x01ZYgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Casesb\x06proto3" + +var ( + file_buf_validate_conformance_cases_repeated_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_repeated_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_repeated_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_repeated_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_repeated_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_repeated_proto_rawDesc), len(file_buf_validate_conformance_cases_repeated_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_repeated_proto_rawDescData +} + +var file_buf_validate_conformance_cases_repeated_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_buf_validate_conformance_cases_repeated_proto_msgTypes = make([]protoimpl.MessageInfo, 26) +var file_buf_validate_conformance_cases_repeated_proto_goTypes = []any{ + (AnEnum)(0), // 0: buf.validate.conformance.cases.AnEnum + (RepeatedEmbeddedEnumIn_AnotherInEnum)(0), // 1: buf.validate.conformance.cases.RepeatedEmbeddedEnumIn.AnotherInEnum + (RepeatedEmbeddedEnumNotIn_AnotherNotInEnum)(0), // 2: buf.validate.conformance.cases.RepeatedEmbeddedEnumNotIn.AnotherNotInEnum + (*Embed)(nil), // 3: buf.validate.conformance.cases.Embed + (*RepeatedNone)(nil), // 4: buf.validate.conformance.cases.RepeatedNone + (*RepeatedEmbedNone)(nil), // 5: buf.validate.conformance.cases.RepeatedEmbedNone + (*RepeatedEmbedCrossPackageNone)(nil), // 6: buf.validate.conformance.cases.RepeatedEmbedCrossPackageNone + (*RepeatedMin)(nil), // 7: buf.validate.conformance.cases.RepeatedMin + (*RepeatedMax)(nil), // 8: buf.validate.conformance.cases.RepeatedMax + (*RepeatedMinMax)(nil), // 9: buf.validate.conformance.cases.RepeatedMinMax + (*RepeatedExact)(nil), // 10: buf.validate.conformance.cases.RepeatedExact + (*RepeatedUnique)(nil), // 11: buf.validate.conformance.cases.RepeatedUnique + (*RepeatedNotUnique)(nil), // 12: buf.validate.conformance.cases.RepeatedNotUnique + (*RepeatedMultipleUnique)(nil), // 13: buf.validate.conformance.cases.RepeatedMultipleUnique + (*RepeatedItemRule)(nil), // 14: buf.validate.conformance.cases.RepeatedItemRule + (*RepeatedItemPattern)(nil), // 15: buf.validate.conformance.cases.RepeatedItemPattern + (*RepeatedEmbedSkip)(nil), // 16: buf.validate.conformance.cases.RepeatedEmbedSkip + (*RepeatedItemIn)(nil), // 17: buf.validate.conformance.cases.RepeatedItemIn + (*RepeatedItemNotIn)(nil), // 18: buf.validate.conformance.cases.RepeatedItemNotIn + (*RepeatedEnumIn)(nil), // 19: buf.validate.conformance.cases.RepeatedEnumIn + (*RepeatedEnumNotIn)(nil), // 20: buf.validate.conformance.cases.RepeatedEnumNotIn + (*RepeatedEmbeddedEnumIn)(nil), // 21: buf.validate.conformance.cases.RepeatedEmbeddedEnumIn + (*RepeatedEmbeddedEnumNotIn)(nil), // 22: buf.validate.conformance.cases.RepeatedEmbeddedEnumNotIn + (*RepeatedAnyIn)(nil), // 23: buf.validate.conformance.cases.RepeatedAnyIn + (*RepeatedAnyNotIn)(nil), // 24: buf.validate.conformance.cases.RepeatedAnyNotIn + (*RepeatedMinAndItemLen)(nil), // 25: buf.validate.conformance.cases.RepeatedMinAndItemLen + (*RepeatedMinAndMaxItemLen)(nil), // 26: buf.validate.conformance.cases.RepeatedMinAndMaxItemLen + (*RepeatedDuration)(nil), // 27: buf.validate.conformance.cases.RepeatedDuration + (*RepeatedExactIgnore)(nil), // 28: buf.validate.conformance.cases.RepeatedExactIgnore + (*other_package.Embed)(nil), // 29: buf.validate.conformance.cases.other_package.Embed + (*anypb.Any)(nil), // 30: google.protobuf.Any + (*durationpb.Duration)(nil), // 31: google.protobuf.Duration +} +var file_buf_validate_conformance_cases_repeated_proto_depIdxs = []int32{ + 3, // 0: buf.validate.conformance.cases.RepeatedEmbedNone.val:type_name -> buf.validate.conformance.cases.Embed + 29, // 1: buf.validate.conformance.cases.RepeatedEmbedCrossPackageNone.val:type_name -> buf.validate.conformance.cases.other_package.Embed + 3, // 2: buf.validate.conformance.cases.RepeatedMin.val:type_name -> buf.validate.conformance.cases.Embed + 3, // 3: buf.validate.conformance.cases.RepeatedEmbedSkip.val:type_name -> buf.validate.conformance.cases.Embed + 0, // 4: buf.validate.conformance.cases.RepeatedEnumIn.val:type_name -> buf.validate.conformance.cases.AnEnum + 0, // 5: buf.validate.conformance.cases.RepeatedEnumNotIn.val:type_name -> buf.validate.conformance.cases.AnEnum + 1, // 6: buf.validate.conformance.cases.RepeatedEmbeddedEnumIn.val:type_name -> buf.validate.conformance.cases.RepeatedEmbeddedEnumIn.AnotherInEnum + 2, // 7: buf.validate.conformance.cases.RepeatedEmbeddedEnumNotIn.val:type_name -> buf.validate.conformance.cases.RepeatedEmbeddedEnumNotIn.AnotherNotInEnum + 30, // 8: buf.validate.conformance.cases.RepeatedAnyIn.val:type_name -> google.protobuf.Any + 30, // 9: buf.validate.conformance.cases.RepeatedAnyNotIn.val:type_name -> google.protobuf.Any + 31, // 10: buf.validate.conformance.cases.RepeatedDuration.val:type_name -> google.protobuf.Duration + 11, // [11:11] is the sub-list for method output_type + 11, // [11:11] is the sub-list for method input_type + 11, // [11:11] is the sub-list for extension type_name + 11, // [11:11] is the sub-list for extension extendee + 0, // [0:11] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_repeated_proto_init() } +func file_buf_validate_conformance_cases_repeated_proto_init() { + if File_buf_validate_conformance_cases_repeated_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_repeated_proto_rawDesc), len(file_buf_validate_conformance_cases_repeated_proto_rawDesc)), + NumEnums: 3, + NumMessages: 26, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_repeated_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_repeated_proto_depIdxs, + EnumInfos: file_buf_validate_conformance_cases_repeated_proto_enumTypes, + MessageInfos: file_buf_validate_conformance_cases_repeated_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_repeated_proto = out.File + file_buf_validate_conformance_cases_repeated_proto_goTypes = nil + file_buf_validate_conformance_cases_repeated_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/required_field_proto2.pb.go b/internal/gen/proto/buf/validate/conformance/cases/required_field_proto2.pb.go new file mode 100644 index 00000000..5cc699f7 --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/required_field_proto2.pb.go @@ -0,0 +1,906 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/required_field_proto2.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RequiredProto2ScalarOptional struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto2ScalarOptional) Reset() { + *x = RequiredProto2ScalarOptional{} + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto2ScalarOptional) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto2ScalarOptional) ProtoMessage() {} + +func (x *RequiredProto2ScalarOptional) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto2ScalarOptional.ProtoReflect.Descriptor instead. +func (*RequiredProto2ScalarOptional) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto2_proto_rawDescGZIP(), []int{0} +} + +func (x *RequiredProto2ScalarOptional) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type RequiredProto2ScalarOptionalIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto2ScalarOptionalIgnoreAlways) Reset() { + *x = RequiredProto2ScalarOptionalIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto2ScalarOptionalIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto2ScalarOptionalIgnoreAlways) ProtoMessage() {} + +func (x *RequiredProto2ScalarOptionalIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto2ScalarOptionalIgnoreAlways.ProtoReflect.Descriptor instead. +func (*RequiredProto2ScalarOptionalIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto2_proto_rawDescGZIP(), []int{1} +} + +func (x *RequiredProto2ScalarOptionalIgnoreAlways) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type RequiredProto2ScalarOptionalDefault struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val,def=foo" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +// Default values for RequiredProto2ScalarOptionalDefault fields. +const ( + Default_RequiredProto2ScalarOptionalDefault_Val = string("foo") +) + +func (x *RequiredProto2ScalarOptionalDefault) Reset() { + *x = RequiredProto2ScalarOptionalDefault{} + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto2ScalarOptionalDefault) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto2ScalarOptionalDefault) ProtoMessage() {} + +func (x *RequiredProto2ScalarOptionalDefault) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto2ScalarOptionalDefault.ProtoReflect.Descriptor instead. +func (*RequiredProto2ScalarOptionalDefault) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto2_proto_rawDescGZIP(), []int{2} +} + +func (x *RequiredProto2ScalarOptionalDefault) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return Default_RequiredProto2ScalarOptionalDefault_Val +} + +type RequiredProto2ScalarOptionalDefaultIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val,def=foo" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +// Default values for RequiredProto2ScalarOptionalDefaultIgnoreAlways fields. +const ( + Default_RequiredProto2ScalarOptionalDefaultIgnoreAlways_Val = string("foo") +) + +func (x *RequiredProto2ScalarOptionalDefaultIgnoreAlways) Reset() { + *x = RequiredProto2ScalarOptionalDefaultIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto2ScalarOptionalDefaultIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto2ScalarOptionalDefaultIgnoreAlways) ProtoMessage() {} + +func (x *RequiredProto2ScalarOptionalDefaultIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto2ScalarOptionalDefaultIgnoreAlways.ProtoReflect.Descriptor instead. +func (*RequiredProto2ScalarOptionalDefaultIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto2_proto_rawDescGZIP(), []int{3} +} + +func (x *RequiredProto2ScalarOptionalDefaultIgnoreAlways) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return Default_RequiredProto2ScalarOptionalDefaultIgnoreAlways_Val +} + +type RequiredProto2ScalarRequired struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,req,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto2ScalarRequired) Reset() { + *x = RequiredProto2ScalarRequired{} + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto2ScalarRequired) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto2ScalarRequired) ProtoMessage() {} + +func (x *RequiredProto2ScalarRequired) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto2ScalarRequired.ProtoReflect.Descriptor instead. +func (*RequiredProto2ScalarRequired) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto2_proto_rawDescGZIP(), []int{4} +} + +func (x *RequiredProto2ScalarRequired) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type RequiredProto2Message struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *RequiredProto2Message_Msg `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto2Message) Reset() { + *x = RequiredProto2Message{} + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto2Message) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto2Message) ProtoMessage() {} + +func (x *RequiredProto2Message) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto2Message.ProtoReflect.Descriptor instead. +func (*RequiredProto2Message) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto2_proto_rawDescGZIP(), []int{5} +} + +func (x *RequiredProto2Message) GetVal() *RequiredProto2Message_Msg { + if x != nil { + return x.Val + } + return nil +} + +type RequiredProto2MessageIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *RequiredProto2MessageIgnoreAlways_Msg `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto2MessageIgnoreAlways) Reset() { + *x = RequiredProto2MessageIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto2MessageIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto2MessageIgnoreAlways) ProtoMessage() {} + +func (x *RequiredProto2MessageIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto2MessageIgnoreAlways.ProtoReflect.Descriptor instead. +func (*RequiredProto2MessageIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto2_proto_rawDescGZIP(), []int{6} +} + +func (x *RequiredProto2MessageIgnoreAlways) GetVal() *RequiredProto2MessageIgnoreAlways_Msg { + if x != nil { + return x.Val + } + return nil +} + +type RequiredProto2Oneof struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Val: + // + // *RequiredProto2Oneof_A + // *RequiredProto2Oneof_B + Val isRequiredProto2Oneof_Val `protobuf_oneof:"val"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto2Oneof) Reset() { + *x = RequiredProto2Oneof{} + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto2Oneof) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto2Oneof) ProtoMessage() {} + +func (x *RequiredProto2Oneof) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto2Oneof.ProtoReflect.Descriptor instead. +func (*RequiredProto2Oneof) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto2_proto_rawDescGZIP(), []int{7} +} + +func (x *RequiredProto2Oneof) GetVal() isRequiredProto2Oneof_Val { + if x != nil { + return x.Val + } + return nil +} + +func (x *RequiredProto2Oneof) GetA() string { + if x != nil { + if x, ok := x.Val.(*RequiredProto2Oneof_A); ok { + return x.A + } + } + return "" +} + +func (x *RequiredProto2Oneof) GetB() string { + if x != nil { + if x, ok := x.Val.(*RequiredProto2Oneof_B); ok { + return x.B + } + } + return "" +} + +type isRequiredProto2Oneof_Val interface { + isRequiredProto2Oneof_Val() +} + +type RequiredProto2Oneof_A struct { + A string `protobuf:"bytes,1,opt,name=a,oneof"` +} + +type RequiredProto2Oneof_B struct { + B string `protobuf:"bytes,2,opt,name=b,oneof"` +} + +func (*RequiredProto2Oneof_A) isRequiredProto2Oneof_Val() {} + +func (*RequiredProto2Oneof_B) isRequiredProto2Oneof_Val() {} + +type RequiredProto2OneofIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Val: + // + // *RequiredProto2OneofIgnoreAlways_A + // *RequiredProto2OneofIgnoreAlways_B + Val isRequiredProto2OneofIgnoreAlways_Val `protobuf_oneof:"val"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto2OneofIgnoreAlways) Reset() { + *x = RequiredProto2OneofIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto2OneofIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto2OneofIgnoreAlways) ProtoMessage() {} + +func (x *RequiredProto2OneofIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto2OneofIgnoreAlways.ProtoReflect.Descriptor instead. +func (*RequiredProto2OneofIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto2_proto_rawDescGZIP(), []int{8} +} + +func (x *RequiredProto2OneofIgnoreAlways) GetVal() isRequiredProto2OneofIgnoreAlways_Val { + if x != nil { + return x.Val + } + return nil +} + +func (x *RequiredProto2OneofIgnoreAlways) GetA() string { + if x != nil { + if x, ok := x.Val.(*RequiredProto2OneofIgnoreAlways_A); ok { + return x.A + } + } + return "" +} + +func (x *RequiredProto2OneofIgnoreAlways) GetB() string { + if x != nil { + if x, ok := x.Val.(*RequiredProto2OneofIgnoreAlways_B); ok { + return x.B + } + } + return "" +} + +type isRequiredProto2OneofIgnoreAlways_Val interface { + isRequiredProto2OneofIgnoreAlways_Val() +} + +type RequiredProto2OneofIgnoreAlways_A struct { + A string `protobuf:"bytes,1,opt,name=a,oneof"` +} + +type RequiredProto2OneofIgnoreAlways_B struct { + B string `protobuf:"bytes,2,opt,name=b,oneof"` +} + +func (*RequiredProto2OneofIgnoreAlways_A) isRequiredProto2OneofIgnoreAlways_Val() {} + +func (*RequiredProto2OneofIgnoreAlways_B) isRequiredProto2OneofIgnoreAlways_Val() {} + +type RequiredProto2Repeated struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []string `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto2Repeated) Reset() { + *x = RequiredProto2Repeated{} + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto2Repeated) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto2Repeated) ProtoMessage() {} + +func (x *RequiredProto2Repeated) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto2Repeated.ProtoReflect.Descriptor instead. +func (*RequiredProto2Repeated) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto2_proto_rawDescGZIP(), []int{9} +} + +func (x *RequiredProto2Repeated) GetVal() []string { + if x != nil { + return x.Val + } + return nil +} + +type RequiredProto2RepeatedIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []string `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto2RepeatedIgnoreAlways) Reset() { + *x = RequiredProto2RepeatedIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto2RepeatedIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto2RepeatedIgnoreAlways) ProtoMessage() {} + +func (x *RequiredProto2RepeatedIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto2RepeatedIgnoreAlways.ProtoReflect.Descriptor instead. +func (*RequiredProto2RepeatedIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto2_proto_rawDescGZIP(), []int{10} +} + +func (x *RequiredProto2RepeatedIgnoreAlways) GetVal() []string { + if x != nil { + return x.Val + } + return nil +} + +type RequiredProto2Map struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[string]string `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto2Map) Reset() { + *x = RequiredProto2Map{} + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto2Map) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto2Map) ProtoMessage() {} + +func (x *RequiredProto2Map) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto2Map.ProtoReflect.Descriptor instead. +func (*RequiredProto2Map) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto2_proto_rawDescGZIP(), []int{11} +} + +func (x *RequiredProto2Map) GetVal() map[string]string { + if x != nil { + return x.Val + } + return nil +} + +type RequiredProto2MapIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[string]string `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto2MapIgnoreAlways) Reset() { + *x = RequiredProto2MapIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto2MapIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto2MapIgnoreAlways) ProtoMessage() {} + +func (x *RequiredProto2MapIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto2MapIgnoreAlways.ProtoReflect.Descriptor instead. +func (*RequiredProto2MapIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto2_proto_rawDescGZIP(), []int{12} +} + +func (x *RequiredProto2MapIgnoreAlways) GetVal() map[string]string { + if x != nil { + return x.Val + } + return nil +} + +type RequiredProto2Message_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto2Message_Msg) Reset() { + *x = RequiredProto2Message_Msg{} + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto2Message_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto2Message_Msg) ProtoMessage() {} + +func (x *RequiredProto2Message_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto2Message_Msg.ProtoReflect.Descriptor instead. +func (*RequiredProto2Message_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto2_proto_rawDescGZIP(), []int{5, 0} +} + +func (x *RequiredProto2Message_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type RequiredProto2MessageIgnoreAlways_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto2MessageIgnoreAlways_Msg) Reset() { + *x = RequiredProto2MessageIgnoreAlways_Msg{} + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto2MessageIgnoreAlways_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto2MessageIgnoreAlways_Msg) ProtoMessage() {} + +func (x *RequiredProto2MessageIgnoreAlways_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto2MessageIgnoreAlways_Msg.ProtoReflect.Descriptor instead. +func (*RequiredProto2MessageIgnoreAlways_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto2_proto_rawDescGZIP(), []int{6, 0} +} + +func (x *RequiredProto2MessageIgnoreAlways_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +var File_buf_validate_conformance_cases_required_field_proto2_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_required_field_proto2_proto_rawDesc = "" + + "\n" + + ":buf/validate/conformance/cases/required_field_proto2.proto\x12\x1ebuf.validate.conformance.cases\x1a\x1bbuf/validate/validate.proto\"8\n" + + "\x1cRequiredProto2ScalarOptional\x12\x18\n" + + "\x03val\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x03val\"G\n" + + "(RequiredProto2ScalarOptionalIgnoreAlways\x12\x1b\n" + + "\x03val\x18\x01 \x01(\tB\t\xbaH\x06\xc8\x01\x01\xd8\x01\x03R\x03val\"D\n" + + "#RequiredProto2ScalarOptionalDefault\x12\x1d\n" + + "\x03val\x18\x01 \x01(\t:\x03fooB\x06\xbaH\x03\xc8\x01\x01R\x03val\"S\n" + + "/RequiredProto2ScalarOptionalDefaultIgnoreAlways\x12 \n" + + "\x03val\x18\x01 \x01(\t:\x03fooB\t\xbaH\x06\xc8\x01\x01\xd8\x01\x03R\x03val\"8\n" + + "\x1cRequiredProto2ScalarRequired\x12\x18\n" + + "\x03val\x18\x01 \x02(\tB\x06\xbaH\x03\xc8\x01\x01R\x03val\"\x85\x01\n" + + "\x15RequiredProto2Message\x12S\n" + + "\x03val\x18\x01 \x01(\v29.buf.validate.conformance.cases.RequiredProto2Message.MsgB\x06\xbaH\x03\xc8\x01\x01R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"\xa0\x01\n" + + "!RequiredProto2MessageIgnoreAlways\x12b\n" + + "\x03val\x18\x01 \x01(\v2E.buf.validate.conformance.cases.RequiredProto2MessageIgnoreAlways.MsgB\t\xbaH\x06\xc8\x01\x01\xd8\x01\x03R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"D\n" + + "\x13RequiredProto2Oneof\x12\x16\n" + + "\x01a\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01H\x00R\x01a\x12\x0e\n" + + "\x01b\x18\x02 \x01(\tH\x00R\x01bB\x05\n" + + "\x03val\"S\n" + + "\x1fRequiredProto2OneofIgnoreAlways\x12\x19\n" + + "\x01a\x18\x01 \x01(\tB\t\xbaH\x06\xc8\x01\x01\xd8\x01\x03H\x00R\x01a\x12\x0e\n" + + "\x01b\x18\x02 \x01(\tH\x00R\x01bB\x05\n" + + "\x03val\"2\n" + + "\x16RequiredProto2Repeated\x12\x18\n" + + "\x03val\x18\x01 \x03(\tB\x06\xbaH\x03\xc8\x01\x01R\x03val\"A\n" + + "\"RequiredProto2RepeatedIgnoreAlways\x12\x1b\n" + + "\x03val\x18\x01 \x03(\tB\t\xbaH\x06\xc8\x01\x01\xd8\x01\x03R\x03val\"\xa1\x01\n" + + "\x11RequiredProto2Map\x12T\n" + + "\x03val\x18\x01 \x03(\v2:.buf.validate.conformance.cases.RequiredProto2Map.ValEntryB\x06\xbaH\x03\xc8\x01\x01R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xbc\x01\n" + + "\x1dRequiredProto2MapIgnoreAlways\x12c\n" + + "\x03val\x18\x01 \x03(\v2F.buf.validate.conformance.cases.RequiredProto2MapIgnoreAlways.ValEntryB\t\xbaH\x06\xc8\x01\x01\xd8\x01\x03R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\xb5\x02\n" + + "\"com.buf.validate.conformance.casesB\x18RequiredFieldProto2ProtoP\x01ZYgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Cases" + +var ( + file_buf_validate_conformance_cases_required_field_proto2_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_required_field_proto2_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_required_field_proto2_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_required_field_proto2_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_required_field_proto2_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_required_field_proto2_proto_rawDesc), len(file_buf_validate_conformance_cases_required_field_proto2_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_required_field_proto2_proto_rawDescData +} + +var file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes = make([]protoimpl.MessageInfo, 17) +var file_buf_validate_conformance_cases_required_field_proto2_proto_goTypes = []any{ + (*RequiredProto2ScalarOptional)(nil), // 0: buf.validate.conformance.cases.RequiredProto2ScalarOptional + (*RequiredProto2ScalarOptionalIgnoreAlways)(nil), // 1: buf.validate.conformance.cases.RequiredProto2ScalarOptionalIgnoreAlways + (*RequiredProto2ScalarOptionalDefault)(nil), // 2: buf.validate.conformance.cases.RequiredProto2ScalarOptionalDefault + (*RequiredProto2ScalarOptionalDefaultIgnoreAlways)(nil), // 3: buf.validate.conformance.cases.RequiredProto2ScalarOptionalDefaultIgnoreAlways + (*RequiredProto2ScalarRequired)(nil), // 4: buf.validate.conformance.cases.RequiredProto2ScalarRequired + (*RequiredProto2Message)(nil), // 5: buf.validate.conformance.cases.RequiredProto2Message + (*RequiredProto2MessageIgnoreAlways)(nil), // 6: buf.validate.conformance.cases.RequiredProto2MessageIgnoreAlways + (*RequiredProto2Oneof)(nil), // 7: buf.validate.conformance.cases.RequiredProto2Oneof + (*RequiredProto2OneofIgnoreAlways)(nil), // 8: buf.validate.conformance.cases.RequiredProto2OneofIgnoreAlways + (*RequiredProto2Repeated)(nil), // 9: buf.validate.conformance.cases.RequiredProto2Repeated + (*RequiredProto2RepeatedIgnoreAlways)(nil), // 10: buf.validate.conformance.cases.RequiredProto2RepeatedIgnoreAlways + (*RequiredProto2Map)(nil), // 11: buf.validate.conformance.cases.RequiredProto2Map + (*RequiredProto2MapIgnoreAlways)(nil), // 12: buf.validate.conformance.cases.RequiredProto2MapIgnoreAlways + (*RequiredProto2Message_Msg)(nil), // 13: buf.validate.conformance.cases.RequiredProto2Message.Msg + (*RequiredProto2MessageIgnoreAlways_Msg)(nil), // 14: buf.validate.conformance.cases.RequiredProto2MessageIgnoreAlways.Msg + nil, // 15: buf.validate.conformance.cases.RequiredProto2Map.ValEntry + nil, // 16: buf.validate.conformance.cases.RequiredProto2MapIgnoreAlways.ValEntry +} +var file_buf_validate_conformance_cases_required_field_proto2_proto_depIdxs = []int32{ + 13, // 0: buf.validate.conformance.cases.RequiredProto2Message.val:type_name -> buf.validate.conformance.cases.RequiredProto2Message.Msg + 14, // 1: buf.validate.conformance.cases.RequiredProto2MessageIgnoreAlways.val:type_name -> buf.validate.conformance.cases.RequiredProto2MessageIgnoreAlways.Msg + 15, // 2: buf.validate.conformance.cases.RequiredProto2Map.val:type_name -> buf.validate.conformance.cases.RequiredProto2Map.ValEntry + 16, // 3: buf.validate.conformance.cases.RequiredProto2MapIgnoreAlways.val:type_name -> buf.validate.conformance.cases.RequiredProto2MapIgnoreAlways.ValEntry + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_required_field_proto2_proto_init() } +func file_buf_validate_conformance_cases_required_field_proto2_proto_init() { + if File_buf_validate_conformance_cases_required_field_proto2_proto != nil { + return + } + file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[7].OneofWrappers = []any{ + (*RequiredProto2Oneof_A)(nil), + (*RequiredProto2Oneof_B)(nil), + } + file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes[8].OneofWrappers = []any{ + (*RequiredProto2OneofIgnoreAlways_A)(nil), + (*RequiredProto2OneofIgnoreAlways_B)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_required_field_proto2_proto_rawDesc), len(file_buf_validate_conformance_cases_required_field_proto2_proto_rawDesc)), + NumEnums: 0, + NumMessages: 17, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_required_field_proto2_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_required_field_proto2_proto_depIdxs, + MessageInfos: file_buf_validate_conformance_cases_required_field_proto2_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_required_field_proto2_proto = out.File + file_buf_validate_conformance_cases_required_field_proto2_proto_goTypes = nil + file_buf_validate_conformance_cases_required_field_proto2_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/required_field_proto3.pb.go b/internal/gen/proto/buf/validate/conformance/cases/required_field_proto3.pb.go new file mode 100644 index 00000000..2b9d4a60 --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/required_field_proto3.pb.go @@ -0,0 +1,1004 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/required_field_proto3.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RequiredProto3Scalar struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto3Scalar) Reset() { + *x = RequiredProto3Scalar{} + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto3Scalar) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto3Scalar) ProtoMessage() {} + +func (x *RequiredProto3Scalar) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto3Scalar.ProtoReflect.Descriptor instead. +func (*RequiredProto3Scalar) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto3_proto_rawDescGZIP(), []int{0} +} + +func (x *RequiredProto3Scalar) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type RequiredProto3ScalarIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto3ScalarIgnoreAlways) Reset() { + *x = RequiredProto3ScalarIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto3ScalarIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto3ScalarIgnoreAlways) ProtoMessage() {} + +func (x *RequiredProto3ScalarIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto3ScalarIgnoreAlways.ProtoReflect.Descriptor instead. +func (*RequiredProto3ScalarIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto3_proto_rawDescGZIP(), []int{1} +} + +func (x *RequiredProto3ScalarIgnoreAlways) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type RequiredProto3OptionalScalar struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto3OptionalScalar) Reset() { + *x = RequiredProto3OptionalScalar{} + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto3OptionalScalar) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto3OptionalScalar) ProtoMessage() {} + +func (x *RequiredProto3OptionalScalar) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto3OptionalScalar.ProtoReflect.Descriptor instead. +func (*RequiredProto3OptionalScalar) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto3_proto_rawDescGZIP(), []int{2} +} + +func (x *RequiredProto3OptionalScalar) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type RequiredProto3OptionalScalarIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val,proto3,oneof" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto3OptionalScalarIgnoreAlways) Reset() { + *x = RequiredProto3OptionalScalarIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto3OptionalScalarIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto3OptionalScalarIgnoreAlways) ProtoMessage() {} + +func (x *RequiredProto3OptionalScalarIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto3OptionalScalarIgnoreAlways.ProtoReflect.Descriptor instead. +func (*RequiredProto3OptionalScalarIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto3_proto_rawDescGZIP(), []int{3} +} + +func (x *RequiredProto3OptionalScalarIgnoreAlways) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type RequiredProto3Message struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *RequiredProto3Message_Msg `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto3Message) Reset() { + *x = RequiredProto3Message{} + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto3Message) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto3Message) ProtoMessage() {} + +func (x *RequiredProto3Message) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto3Message.ProtoReflect.Descriptor instead. +func (*RequiredProto3Message) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto3_proto_rawDescGZIP(), []int{4} +} + +func (x *RequiredProto3Message) GetVal() *RequiredProto3Message_Msg { + if x != nil { + return x.Val + } + return nil +} + +type RequiredProto3MessageIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *RequiredProto3MessageIgnoreAlways_Msg `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto3MessageIgnoreAlways) Reset() { + *x = RequiredProto3MessageIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto3MessageIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto3MessageIgnoreAlways) ProtoMessage() {} + +func (x *RequiredProto3MessageIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto3MessageIgnoreAlways.ProtoReflect.Descriptor instead. +func (*RequiredProto3MessageIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto3_proto_rawDescGZIP(), []int{5} +} + +func (x *RequiredProto3MessageIgnoreAlways) GetVal() *RequiredProto3MessageIgnoreAlways_Msg { + if x != nil { + return x.Val + } + return nil +} + +type RequiredProto3OneOf struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Val: + // + // *RequiredProto3OneOf_A + // *RequiredProto3OneOf_B + Val isRequiredProto3OneOf_Val `protobuf_oneof:"val"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto3OneOf) Reset() { + *x = RequiredProto3OneOf{} + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto3OneOf) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto3OneOf) ProtoMessage() {} + +func (x *RequiredProto3OneOf) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto3OneOf.ProtoReflect.Descriptor instead. +func (*RequiredProto3OneOf) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto3_proto_rawDescGZIP(), []int{6} +} + +func (x *RequiredProto3OneOf) GetVal() isRequiredProto3OneOf_Val { + if x != nil { + return x.Val + } + return nil +} + +func (x *RequiredProto3OneOf) GetA() string { + if x != nil { + if x, ok := x.Val.(*RequiredProto3OneOf_A); ok { + return x.A + } + } + return "" +} + +func (x *RequiredProto3OneOf) GetB() string { + if x != nil { + if x, ok := x.Val.(*RequiredProto3OneOf_B); ok { + return x.B + } + } + return "" +} + +type isRequiredProto3OneOf_Val interface { + isRequiredProto3OneOf_Val() +} + +type RequiredProto3OneOf_A struct { + A string `protobuf:"bytes,1,opt,name=a,proto3,oneof"` +} + +type RequiredProto3OneOf_B struct { + B string `protobuf:"bytes,2,opt,name=b,proto3,oneof"` +} + +func (*RequiredProto3OneOf_A) isRequiredProto3OneOf_Val() {} + +func (*RequiredProto3OneOf_B) isRequiredProto3OneOf_Val() {} + +type RequiredProto3OneOfIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Val: + // + // *RequiredProto3OneOfIgnoreAlways_A + // *RequiredProto3OneOfIgnoreAlways_B + Val isRequiredProto3OneOfIgnoreAlways_Val `protobuf_oneof:"val"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto3OneOfIgnoreAlways) Reset() { + *x = RequiredProto3OneOfIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto3OneOfIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto3OneOfIgnoreAlways) ProtoMessage() {} + +func (x *RequiredProto3OneOfIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto3OneOfIgnoreAlways.ProtoReflect.Descriptor instead. +func (*RequiredProto3OneOfIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto3_proto_rawDescGZIP(), []int{7} +} + +func (x *RequiredProto3OneOfIgnoreAlways) GetVal() isRequiredProto3OneOfIgnoreAlways_Val { + if x != nil { + return x.Val + } + return nil +} + +func (x *RequiredProto3OneOfIgnoreAlways) GetA() string { + if x != nil { + if x, ok := x.Val.(*RequiredProto3OneOfIgnoreAlways_A); ok { + return x.A + } + } + return "" +} + +func (x *RequiredProto3OneOfIgnoreAlways) GetB() string { + if x != nil { + if x, ok := x.Val.(*RequiredProto3OneOfIgnoreAlways_B); ok { + return x.B + } + } + return "" +} + +type isRequiredProto3OneOfIgnoreAlways_Val interface { + isRequiredProto3OneOfIgnoreAlways_Val() +} + +type RequiredProto3OneOfIgnoreAlways_A struct { + A string `protobuf:"bytes,1,opt,name=a,proto3,oneof"` +} + +type RequiredProto3OneOfIgnoreAlways_B struct { + B string `protobuf:"bytes,2,opt,name=b,proto3,oneof"` +} + +func (*RequiredProto3OneOfIgnoreAlways_A) isRequiredProto3OneOfIgnoreAlways_Val() {} + +func (*RequiredProto3OneOfIgnoreAlways_B) isRequiredProto3OneOfIgnoreAlways_Val() {} + +type RequiredProto3Repeated struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto3Repeated) Reset() { + *x = RequiredProto3Repeated{} + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto3Repeated) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto3Repeated) ProtoMessage() {} + +func (x *RequiredProto3Repeated) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto3Repeated.ProtoReflect.Descriptor instead. +func (*RequiredProto3Repeated) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto3_proto_rawDescGZIP(), []int{8} +} + +func (x *RequiredProto3Repeated) GetVal() []string { + if x != nil { + return x.Val + } + return nil +} + +type RequiredProto3RepeatedIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto3RepeatedIgnoreAlways) Reset() { + *x = RequiredProto3RepeatedIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto3RepeatedIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto3RepeatedIgnoreAlways) ProtoMessage() {} + +func (x *RequiredProto3RepeatedIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto3RepeatedIgnoreAlways.ProtoReflect.Descriptor instead. +func (*RequiredProto3RepeatedIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto3_proto_rawDescGZIP(), []int{9} +} + +func (x *RequiredProto3RepeatedIgnoreAlways) GetVal() []string { + if x != nil { + return x.Val + } + return nil +} + +type RequiredProto3Map struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[string]string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto3Map) Reset() { + *x = RequiredProto3Map{} + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto3Map) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto3Map) ProtoMessage() {} + +func (x *RequiredProto3Map) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto3Map.ProtoReflect.Descriptor instead. +func (*RequiredProto3Map) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto3_proto_rawDescGZIP(), []int{10} +} + +func (x *RequiredProto3Map) GetVal() map[string]string { + if x != nil { + return x.Val + } + return nil +} + +type RequiredProto3MapIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[string]string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto3MapIgnoreAlways) Reset() { + *x = RequiredProto3MapIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto3MapIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto3MapIgnoreAlways) ProtoMessage() {} + +func (x *RequiredProto3MapIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto3MapIgnoreAlways.ProtoReflect.Descriptor instead. +func (*RequiredProto3MapIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto3_proto_rawDescGZIP(), []int{11} +} + +func (x *RequiredProto3MapIgnoreAlways) GetVal() map[string]string { + if x != nil { + return x.Val + } + return nil +} + +type RequiredProto3MapKey struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[string]string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto3MapKey) Reset() { + *x = RequiredProto3MapKey{} + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto3MapKey) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto3MapKey) ProtoMessage() {} + +func (x *RequiredProto3MapKey) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto3MapKey.ProtoReflect.Descriptor instead. +func (*RequiredProto3MapKey) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto3_proto_rawDescGZIP(), []int{12} +} + +func (x *RequiredProto3MapKey) GetVal() map[string]string { + if x != nil { + return x.Val + } + return nil +} + +type RequiredProto3MapValue struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[string]string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto3MapValue) Reset() { + *x = RequiredProto3MapValue{} + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto3MapValue) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto3MapValue) ProtoMessage() {} + +func (x *RequiredProto3MapValue) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto3MapValue.ProtoReflect.Descriptor instead. +func (*RequiredProto3MapValue) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto3_proto_rawDescGZIP(), []int{13} +} + +func (x *RequiredProto3MapValue) GetVal() map[string]string { + if x != nil { + return x.Val + } + return nil +} + +type RequiredProto3RepeatedItem struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto3RepeatedItem) Reset() { + *x = RequiredProto3RepeatedItem{} + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto3RepeatedItem) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto3RepeatedItem) ProtoMessage() {} + +func (x *RequiredProto3RepeatedItem) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto3RepeatedItem.ProtoReflect.Descriptor instead. +func (*RequiredProto3RepeatedItem) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto3_proto_rawDescGZIP(), []int{14} +} + +func (x *RequiredProto3RepeatedItem) GetVal() []string { + if x != nil { + return x.Val + } + return nil +} + +type RequiredProto3Message_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto3Message_Msg) Reset() { + *x = RequiredProto3Message_Msg{} + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto3Message_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto3Message_Msg) ProtoMessage() {} + +func (x *RequiredProto3Message_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[15] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto3Message_Msg.ProtoReflect.Descriptor instead. +func (*RequiredProto3Message_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto3_proto_rawDescGZIP(), []int{4, 0} +} + +func (x *RequiredProto3Message_Msg) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type RequiredProto3MessageIgnoreAlways_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredProto3MessageIgnoreAlways_Msg) Reset() { + *x = RequiredProto3MessageIgnoreAlways_Msg{} + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredProto3MessageIgnoreAlways_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredProto3MessageIgnoreAlways_Msg) ProtoMessage() {} + +func (x *RequiredProto3MessageIgnoreAlways_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[16] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredProto3MessageIgnoreAlways_Msg.ProtoReflect.Descriptor instead. +func (*RequiredProto3MessageIgnoreAlways_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto3_proto_rawDescGZIP(), []int{5, 0} +} + +func (x *RequiredProto3MessageIgnoreAlways_Msg) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +var File_buf_validate_conformance_cases_required_field_proto3_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_required_field_proto3_proto_rawDesc = "" + + "\n" + + ":buf/validate/conformance/cases/required_field_proto3.proto\x12\x1ebuf.validate.conformance.cases\x1a\x1bbuf/validate/validate.proto\"0\n" + + "\x14RequiredProto3Scalar\x12\x18\n" + + "\x03val\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x03val\"?\n" + + " RequiredProto3ScalarIgnoreAlways\x12\x1b\n" + + "\x03val\x18\x01 \x01(\tB\t\xbaH\x06\xc8\x01\x01\xd8\x01\x03R\x03val\"E\n" + + "\x1cRequiredProto3OptionalScalar\x12\x1d\n" + + "\x03val\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01H\x00R\x03val\x88\x01\x01B\x06\n" + + "\x04_val\"T\n" + + "(RequiredProto3OptionalScalarIgnoreAlways\x12 \n" + + "\x03val\x18\x01 \x01(\tB\t\xbaH\x06\xc8\x01\x01\xd8\x01\x03H\x00R\x03val\x88\x01\x01B\x06\n" + + "\x04_val\"\x85\x01\n" + + "\x15RequiredProto3Message\x12S\n" + + "\x03val\x18\x01 \x01(\v29.buf.validate.conformance.cases.RequiredProto3Message.MsgB\x06\xbaH\x03\xc8\x01\x01R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"\xa0\x01\n" + + "!RequiredProto3MessageIgnoreAlways\x12b\n" + + "\x03val\x18\x01 \x01(\v2E.buf.validate.conformance.cases.RequiredProto3MessageIgnoreAlways.MsgB\t\xbaH\x06\xc8\x01\x01\xd8\x01\x03R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"D\n" + + "\x13RequiredProto3OneOf\x12\x16\n" + + "\x01a\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01H\x00R\x01a\x12\x0e\n" + + "\x01b\x18\x02 \x01(\tH\x00R\x01bB\x05\n" + + "\x03val\"S\n" + + "\x1fRequiredProto3OneOfIgnoreAlways\x12\x19\n" + + "\x01a\x18\x01 \x01(\tB\t\xbaH\x06\xc8\x01\x01\xd8\x01\x03H\x00R\x01a\x12\x0e\n" + + "\x01b\x18\x02 \x01(\tH\x00R\x01bB\x05\n" + + "\x03val\"2\n" + + "\x16RequiredProto3Repeated\x12\x18\n" + + "\x03val\x18\x01 \x03(\tB\x06\xbaH\x03\xc8\x01\x01R\x03val\"A\n" + + "\"RequiredProto3RepeatedIgnoreAlways\x12\x1b\n" + + "\x03val\x18\x01 \x03(\tB\t\xbaH\x06\xc8\x01\x01\xd8\x01\x03R\x03val\"\xa1\x01\n" + + "\x11RequiredProto3Map\x12T\n" + + "\x03val\x18\x01 \x03(\v2:.buf.validate.conformance.cases.RequiredProto3Map.ValEntryB\x06\xbaH\x03\xc8\x01\x01R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xbc\x01\n" + + "\x1dRequiredProto3MapIgnoreAlways\x12c\n" + + "\x03val\x18\x01 \x03(\v2F.buf.validate.conformance.cases.RequiredProto3MapIgnoreAlways.ValEntryB\t\xbaH\x06\xc8\x01\x01\xd8\x01\x03R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xac\x01\n" + + "\x14RequiredProto3MapKey\x12\\\n" + + "\x03val\x18\x01 \x03(\v2=.buf.validate.conformance.cases.RequiredProto3MapKey.ValEntryB\v\xbaH\b\x9a\x01\x05\"\x03\xc8\x01\x01R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xb0\x01\n" + + "\x16RequiredProto3MapValue\x12^\n" + + "\x03val\x18\x01 \x03(\v2?.buf.validate.conformance.cases.RequiredProto3MapValue.ValEntryB\v\xbaH\b\x9a\x01\x05*\x03\xc8\x01\x01R\x03val\x1a6\n" + + "\bValEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\";\n" + + "\x1aRequiredProto3RepeatedItem\x12\x1d\n" + + "\x03val\x18\x01 \x03(\tB\v\xbaH\b\x92\x01\x05\"\x03\xc8\x01\x01R\x03valB\xb5\x02\n" + + "\"com.buf.validate.conformance.casesB\x18RequiredFieldProto3ProtoP\x01ZYgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Casesb\x06proto3" + +var ( + file_buf_validate_conformance_cases_required_field_proto3_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_required_field_proto3_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_required_field_proto3_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_required_field_proto3_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_required_field_proto3_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_required_field_proto3_proto_rawDesc), len(file_buf_validate_conformance_cases_required_field_proto3_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_required_field_proto3_proto_rawDescData +} + +var file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes = make([]protoimpl.MessageInfo, 21) +var file_buf_validate_conformance_cases_required_field_proto3_proto_goTypes = []any{ + (*RequiredProto3Scalar)(nil), // 0: buf.validate.conformance.cases.RequiredProto3Scalar + (*RequiredProto3ScalarIgnoreAlways)(nil), // 1: buf.validate.conformance.cases.RequiredProto3ScalarIgnoreAlways + (*RequiredProto3OptionalScalar)(nil), // 2: buf.validate.conformance.cases.RequiredProto3OptionalScalar + (*RequiredProto3OptionalScalarIgnoreAlways)(nil), // 3: buf.validate.conformance.cases.RequiredProto3OptionalScalarIgnoreAlways + (*RequiredProto3Message)(nil), // 4: buf.validate.conformance.cases.RequiredProto3Message + (*RequiredProto3MessageIgnoreAlways)(nil), // 5: buf.validate.conformance.cases.RequiredProto3MessageIgnoreAlways + (*RequiredProto3OneOf)(nil), // 6: buf.validate.conformance.cases.RequiredProto3OneOf + (*RequiredProto3OneOfIgnoreAlways)(nil), // 7: buf.validate.conformance.cases.RequiredProto3OneOfIgnoreAlways + (*RequiredProto3Repeated)(nil), // 8: buf.validate.conformance.cases.RequiredProto3Repeated + (*RequiredProto3RepeatedIgnoreAlways)(nil), // 9: buf.validate.conformance.cases.RequiredProto3RepeatedIgnoreAlways + (*RequiredProto3Map)(nil), // 10: buf.validate.conformance.cases.RequiredProto3Map + (*RequiredProto3MapIgnoreAlways)(nil), // 11: buf.validate.conformance.cases.RequiredProto3MapIgnoreAlways + (*RequiredProto3MapKey)(nil), // 12: buf.validate.conformance.cases.RequiredProto3MapKey + (*RequiredProto3MapValue)(nil), // 13: buf.validate.conformance.cases.RequiredProto3MapValue + (*RequiredProto3RepeatedItem)(nil), // 14: buf.validate.conformance.cases.RequiredProto3RepeatedItem + (*RequiredProto3Message_Msg)(nil), // 15: buf.validate.conformance.cases.RequiredProto3Message.Msg + (*RequiredProto3MessageIgnoreAlways_Msg)(nil), // 16: buf.validate.conformance.cases.RequiredProto3MessageIgnoreAlways.Msg + nil, // 17: buf.validate.conformance.cases.RequiredProto3Map.ValEntry + nil, // 18: buf.validate.conformance.cases.RequiredProto3MapIgnoreAlways.ValEntry + nil, // 19: buf.validate.conformance.cases.RequiredProto3MapKey.ValEntry + nil, // 20: buf.validate.conformance.cases.RequiredProto3MapValue.ValEntry +} +var file_buf_validate_conformance_cases_required_field_proto3_proto_depIdxs = []int32{ + 15, // 0: buf.validate.conformance.cases.RequiredProto3Message.val:type_name -> buf.validate.conformance.cases.RequiredProto3Message.Msg + 16, // 1: buf.validate.conformance.cases.RequiredProto3MessageIgnoreAlways.val:type_name -> buf.validate.conformance.cases.RequiredProto3MessageIgnoreAlways.Msg + 17, // 2: buf.validate.conformance.cases.RequiredProto3Map.val:type_name -> buf.validate.conformance.cases.RequiredProto3Map.ValEntry + 18, // 3: buf.validate.conformance.cases.RequiredProto3MapIgnoreAlways.val:type_name -> buf.validate.conformance.cases.RequiredProto3MapIgnoreAlways.ValEntry + 19, // 4: buf.validate.conformance.cases.RequiredProto3MapKey.val:type_name -> buf.validate.conformance.cases.RequiredProto3MapKey.ValEntry + 20, // 5: buf.validate.conformance.cases.RequiredProto3MapValue.val:type_name -> buf.validate.conformance.cases.RequiredProto3MapValue.ValEntry + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_required_field_proto3_proto_init() } +func file_buf_validate_conformance_cases_required_field_proto3_proto_init() { + if File_buf_validate_conformance_cases_required_field_proto3_proto != nil { + return + } + file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[2].OneofWrappers = []any{} + file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[3].OneofWrappers = []any{} + file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[6].OneofWrappers = []any{ + (*RequiredProto3OneOf_A)(nil), + (*RequiredProto3OneOf_B)(nil), + } + file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes[7].OneofWrappers = []any{ + (*RequiredProto3OneOfIgnoreAlways_A)(nil), + (*RequiredProto3OneOfIgnoreAlways_B)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_required_field_proto3_proto_rawDesc), len(file_buf_validate_conformance_cases_required_field_proto3_proto_rawDesc)), + NumEnums: 0, + NumMessages: 21, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_required_field_proto3_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_required_field_proto3_proto_depIdxs, + MessageInfos: file_buf_validate_conformance_cases_required_field_proto3_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_required_field_proto3_proto = out.File + file_buf_validate_conformance_cases_required_field_proto3_proto_goTypes = nil + file_buf_validate_conformance_cases_required_field_proto3_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/required_field_proto_editions.pb.go b/internal/gen/proto/buf/validate/conformance/cases/required_field_proto_editions.pb.go new file mode 100644 index 00000000..7c746b9d --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/required_field_proto_editions.pb.go @@ -0,0 +1,1474 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/required_field_proto_editions.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RequiredEditionsScalarExplicitPresence struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredEditionsScalarExplicitPresence) Reset() { + *x = RequiredEditionsScalarExplicitPresence{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsScalarExplicitPresence) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsScalarExplicitPresence) ProtoMessage() {} + +func (x *RequiredEditionsScalarExplicitPresence) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsScalarExplicitPresence.ProtoReflect.Descriptor instead. +func (*RequiredEditionsScalarExplicitPresence) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{0} +} + +func (x *RequiredEditionsScalarExplicitPresence) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type RequiredEditionsScalarExplicitPresenceIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredEditionsScalarExplicitPresenceIgnoreAlways) Reset() { + *x = RequiredEditionsScalarExplicitPresenceIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsScalarExplicitPresenceIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsScalarExplicitPresenceIgnoreAlways) ProtoMessage() {} + +func (x *RequiredEditionsScalarExplicitPresenceIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsScalarExplicitPresenceIgnoreAlways.ProtoReflect.Descriptor instead. +func (*RequiredEditionsScalarExplicitPresenceIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{1} +} + +func (x *RequiredEditionsScalarExplicitPresenceIgnoreAlways) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type RequiredEditionsScalarExplicitPresenceDefault struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val,def=foo" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +// Default values for RequiredEditionsScalarExplicitPresenceDefault fields. +const ( + Default_RequiredEditionsScalarExplicitPresenceDefault_Val = string("foo") +) + +func (x *RequiredEditionsScalarExplicitPresenceDefault) Reset() { + *x = RequiredEditionsScalarExplicitPresenceDefault{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsScalarExplicitPresenceDefault) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsScalarExplicitPresenceDefault) ProtoMessage() {} + +func (x *RequiredEditionsScalarExplicitPresenceDefault) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsScalarExplicitPresenceDefault.ProtoReflect.Descriptor instead. +func (*RequiredEditionsScalarExplicitPresenceDefault) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{2} +} + +func (x *RequiredEditionsScalarExplicitPresenceDefault) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return Default_RequiredEditionsScalarExplicitPresenceDefault_Val +} + +type RequiredEditionsScalarExplicitPresenceDefaultIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val,def=foo" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +// Default values for RequiredEditionsScalarExplicitPresenceDefaultIgnoreAlways fields. +const ( + Default_RequiredEditionsScalarExplicitPresenceDefaultIgnoreAlways_Val = string("foo") +) + +func (x *RequiredEditionsScalarExplicitPresenceDefaultIgnoreAlways) Reset() { + *x = RequiredEditionsScalarExplicitPresenceDefaultIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsScalarExplicitPresenceDefaultIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsScalarExplicitPresenceDefaultIgnoreAlways) ProtoMessage() {} + +func (x *RequiredEditionsScalarExplicitPresenceDefaultIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsScalarExplicitPresenceDefaultIgnoreAlways.ProtoReflect.Descriptor instead. +func (*RequiredEditionsScalarExplicitPresenceDefaultIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{3} +} + +func (x *RequiredEditionsScalarExplicitPresenceDefaultIgnoreAlways) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return Default_RequiredEditionsScalarExplicitPresenceDefaultIgnoreAlways_Val +} + +type RequiredEditionsScalarImplicitPresence struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredEditionsScalarImplicitPresence) Reset() { + *x = RequiredEditionsScalarImplicitPresence{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsScalarImplicitPresence) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsScalarImplicitPresence) ProtoMessage() {} + +func (x *RequiredEditionsScalarImplicitPresence) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsScalarImplicitPresence.ProtoReflect.Descriptor instead. +func (*RequiredEditionsScalarImplicitPresence) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{4} +} + +func (x *RequiredEditionsScalarImplicitPresence) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type RequiredEditionsScalarImplicitPresenceIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredEditionsScalarImplicitPresenceIgnoreAlways) Reset() { + *x = RequiredEditionsScalarImplicitPresenceIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsScalarImplicitPresenceIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsScalarImplicitPresenceIgnoreAlways) ProtoMessage() {} + +func (x *RequiredEditionsScalarImplicitPresenceIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsScalarImplicitPresenceIgnoreAlways.ProtoReflect.Descriptor instead. +func (*RequiredEditionsScalarImplicitPresenceIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{5} +} + +func (x *RequiredEditionsScalarImplicitPresenceIgnoreAlways) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type RequiredEditionsScalarLegacyRequired struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,req,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredEditionsScalarLegacyRequired) Reset() { + *x = RequiredEditionsScalarLegacyRequired{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsScalarLegacyRequired) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsScalarLegacyRequired) ProtoMessage() {} + +func (x *RequiredEditionsScalarLegacyRequired) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsScalarLegacyRequired.ProtoReflect.Descriptor instead. +func (*RequiredEditionsScalarLegacyRequired) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{6} +} + +func (x *RequiredEditionsScalarLegacyRequired) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type RequiredEditionsMessageExplicitPresence struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *RequiredEditionsMessageExplicitPresence_Msg `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredEditionsMessageExplicitPresence) Reset() { + *x = RequiredEditionsMessageExplicitPresence{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsMessageExplicitPresence) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsMessageExplicitPresence) ProtoMessage() {} + +func (x *RequiredEditionsMessageExplicitPresence) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsMessageExplicitPresence.ProtoReflect.Descriptor instead. +func (*RequiredEditionsMessageExplicitPresence) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{7} +} + +func (x *RequiredEditionsMessageExplicitPresence) GetVal() *RequiredEditionsMessageExplicitPresence_Msg { + if x != nil { + return x.Val + } + return nil +} + +type RequiredEditionsMessageExplicitPresenceIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *RequiredEditionsMessageExplicitPresenceIgnoreAlways_Msg `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredEditionsMessageExplicitPresenceIgnoreAlways) Reset() { + *x = RequiredEditionsMessageExplicitPresenceIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsMessageExplicitPresenceIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsMessageExplicitPresenceIgnoreAlways) ProtoMessage() {} + +func (x *RequiredEditionsMessageExplicitPresenceIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsMessageExplicitPresenceIgnoreAlways.ProtoReflect.Descriptor instead. +func (*RequiredEditionsMessageExplicitPresenceIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{8} +} + +func (x *RequiredEditionsMessageExplicitPresenceIgnoreAlways) GetVal() *RequiredEditionsMessageExplicitPresenceIgnoreAlways_Msg { + if x != nil { + return x.Val + } + return nil +} + +type RequiredEditionsMessageExplicitPresenceDelimited struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *RequiredEditionsMessageExplicitPresenceDelimited_Msg `protobuf:"group,1,opt,name=Msg,json=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredEditionsMessageExplicitPresenceDelimited) Reset() { + *x = RequiredEditionsMessageExplicitPresenceDelimited{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsMessageExplicitPresenceDelimited) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsMessageExplicitPresenceDelimited) ProtoMessage() {} + +func (x *RequiredEditionsMessageExplicitPresenceDelimited) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsMessageExplicitPresenceDelimited.ProtoReflect.Descriptor instead. +func (*RequiredEditionsMessageExplicitPresenceDelimited) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{9} +} + +func (x *RequiredEditionsMessageExplicitPresenceDelimited) GetVal() *RequiredEditionsMessageExplicitPresenceDelimited_Msg { + if x != nil { + return x.Val + } + return nil +} + +type RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways_Msg `protobuf:"group,1,opt,name=Msg,json=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways) Reset() { + *x = RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways) ProtoMessage() {} + +func (x *RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways.ProtoReflect.Descriptor instead. +func (*RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{10} +} + +func (x *RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways) GetVal() *RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways_Msg { + if x != nil { + return x.Val + } + return nil +} + +type RequiredEditionsMessageLegacyRequired struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *RequiredEditionsMessageLegacyRequired_Msg `protobuf:"bytes,1,req,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredEditionsMessageLegacyRequired) Reset() { + *x = RequiredEditionsMessageLegacyRequired{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsMessageLegacyRequired) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsMessageLegacyRequired) ProtoMessage() {} + +func (x *RequiredEditionsMessageLegacyRequired) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsMessageLegacyRequired.ProtoReflect.Descriptor instead. +func (*RequiredEditionsMessageLegacyRequired) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{11} +} + +func (x *RequiredEditionsMessageLegacyRequired) GetVal() *RequiredEditionsMessageLegacyRequired_Msg { + if x != nil { + return x.Val + } + return nil +} + +type RequiredEditionsMessageLegacyRequiredDelimited struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *RequiredEditionsMessageLegacyRequiredDelimited_Msg `protobuf:"group,1,req,name=Msg,json=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredEditionsMessageLegacyRequiredDelimited) Reset() { + *x = RequiredEditionsMessageLegacyRequiredDelimited{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsMessageLegacyRequiredDelimited) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsMessageLegacyRequiredDelimited) ProtoMessage() {} + +func (x *RequiredEditionsMessageLegacyRequiredDelimited) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsMessageLegacyRequiredDelimited.ProtoReflect.Descriptor instead. +func (*RequiredEditionsMessageLegacyRequiredDelimited) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{12} +} + +func (x *RequiredEditionsMessageLegacyRequiredDelimited) GetVal() *RequiredEditionsMessageLegacyRequiredDelimited_Msg { + if x != nil { + return x.Val + } + return nil +} + +type RequiredEditionsOneof struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Val: + // + // *RequiredEditionsOneof_A + // *RequiredEditionsOneof_B + Val isRequiredEditionsOneof_Val `protobuf_oneof:"val"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredEditionsOneof) Reset() { + *x = RequiredEditionsOneof{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsOneof) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsOneof) ProtoMessage() {} + +func (x *RequiredEditionsOneof) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsOneof.ProtoReflect.Descriptor instead. +func (*RequiredEditionsOneof) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{13} +} + +func (x *RequiredEditionsOneof) GetVal() isRequiredEditionsOneof_Val { + if x != nil { + return x.Val + } + return nil +} + +func (x *RequiredEditionsOneof) GetA() string { + if x != nil { + if x, ok := x.Val.(*RequiredEditionsOneof_A); ok { + return x.A + } + } + return "" +} + +func (x *RequiredEditionsOneof) GetB() string { + if x != nil { + if x, ok := x.Val.(*RequiredEditionsOneof_B); ok { + return x.B + } + } + return "" +} + +type isRequiredEditionsOneof_Val interface { + isRequiredEditionsOneof_Val() +} + +type RequiredEditionsOneof_A struct { + A string `protobuf:"bytes,1,opt,name=a,oneof"` +} + +type RequiredEditionsOneof_B struct { + B string `protobuf:"bytes,2,opt,name=b,oneof"` +} + +func (*RequiredEditionsOneof_A) isRequiredEditionsOneof_Val() {} + +func (*RequiredEditionsOneof_B) isRequiredEditionsOneof_Val() {} + +type RequiredEditionsOneofIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Val: + // + // *RequiredEditionsOneofIgnoreAlways_A + // *RequiredEditionsOneofIgnoreAlways_B + Val isRequiredEditionsOneofIgnoreAlways_Val `protobuf_oneof:"val"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredEditionsOneofIgnoreAlways) Reset() { + *x = RequiredEditionsOneofIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsOneofIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsOneofIgnoreAlways) ProtoMessage() {} + +func (x *RequiredEditionsOneofIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsOneofIgnoreAlways.ProtoReflect.Descriptor instead. +func (*RequiredEditionsOneofIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{14} +} + +func (x *RequiredEditionsOneofIgnoreAlways) GetVal() isRequiredEditionsOneofIgnoreAlways_Val { + if x != nil { + return x.Val + } + return nil +} + +func (x *RequiredEditionsOneofIgnoreAlways) GetA() string { + if x != nil { + if x, ok := x.Val.(*RequiredEditionsOneofIgnoreAlways_A); ok { + return x.A + } + } + return "" +} + +func (x *RequiredEditionsOneofIgnoreAlways) GetB() string { + if x != nil { + if x, ok := x.Val.(*RequiredEditionsOneofIgnoreAlways_B); ok { + return x.B + } + } + return "" +} + +type isRequiredEditionsOneofIgnoreAlways_Val interface { + isRequiredEditionsOneofIgnoreAlways_Val() +} + +type RequiredEditionsOneofIgnoreAlways_A struct { + A string `protobuf:"bytes,1,opt,name=a,oneof"` +} + +type RequiredEditionsOneofIgnoreAlways_B struct { + B string `protobuf:"bytes,2,opt,name=b,oneof"` +} + +func (*RequiredEditionsOneofIgnoreAlways_A) isRequiredEditionsOneofIgnoreAlways_Val() {} + +func (*RequiredEditionsOneofIgnoreAlways_B) isRequiredEditionsOneofIgnoreAlways_Val() {} + +type RequiredEditionsRepeated struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []string `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredEditionsRepeated) Reset() { + *x = RequiredEditionsRepeated{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsRepeated) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsRepeated) ProtoMessage() {} + +func (x *RequiredEditionsRepeated) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[15] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsRepeated.ProtoReflect.Descriptor instead. +func (*RequiredEditionsRepeated) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{15} +} + +func (x *RequiredEditionsRepeated) GetVal() []string { + if x != nil { + return x.Val + } + return nil +} + +type RequiredEditionsRepeatedIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []string `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredEditionsRepeatedIgnoreAlways) Reset() { + *x = RequiredEditionsRepeatedIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsRepeatedIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsRepeatedIgnoreAlways) ProtoMessage() {} + +func (x *RequiredEditionsRepeatedIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[16] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsRepeatedIgnoreAlways.ProtoReflect.Descriptor instead. +func (*RequiredEditionsRepeatedIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{16} +} + +func (x *RequiredEditionsRepeatedIgnoreAlways) GetVal() []string { + if x != nil { + return x.Val + } + return nil +} + +type RequiredEditionsRepeatedExpanded struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []string `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredEditionsRepeatedExpanded) Reset() { + *x = RequiredEditionsRepeatedExpanded{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsRepeatedExpanded) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsRepeatedExpanded) ProtoMessage() {} + +func (x *RequiredEditionsRepeatedExpanded) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[17] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsRepeatedExpanded.ProtoReflect.Descriptor instead. +func (*RequiredEditionsRepeatedExpanded) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{17} +} + +func (x *RequiredEditionsRepeatedExpanded) GetVal() []string { + if x != nil { + return x.Val + } + return nil +} + +type RequiredEditionsRepeatedExpandedIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val []string `protobuf:"bytes,1,rep,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredEditionsRepeatedExpandedIgnoreAlways) Reset() { + *x = RequiredEditionsRepeatedExpandedIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsRepeatedExpandedIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsRepeatedExpandedIgnoreAlways) ProtoMessage() {} + +func (x *RequiredEditionsRepeatedExpandedIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[18] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsRepeatedExpandedIgnoreAlways.ProtoReflect.Descriptor instead. +func (*RequiredEditionsRepeatedExpandedIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{18} +} + +func (x *RequiredEditionsRepeatedExpandedIgnoreAlways) GetVal() []string { + if x != nil { + return x.Val + } + return nil +} + +type RequiredEditionsMap struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[string]string `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredEditionsMap) Reset() { + *x = RequiredEditionsMap{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsMap) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsMap) ProtoMessage() {} + +func (x *RequiredEditionsMap) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[19] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsMap.ProtoReflect.Descriptor instead. +func (*RequiredEditionsMap) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{19} +} + +func (x *RequiredEditionsMap) GetVal() map[string]string { + if x != nil { + return x.Val + } + return nil +} + +type RequiredEditionsMapIgnoreAlways struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val map[string]string `protobuf:"bytes,1,rep,name=val" json:"val,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredEditionsMapIgnoreAlways) Reset() { + *x = RequiredEditionsMapIgnoreAlways{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsMapIgnoreAlways) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsMapIgnoreAlways) ProtoMessage() {} + +func (x *RequiredEditionsMapIgnoreAlways) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[20] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsMapIgnoreAlways.ProtoReflect.Descriptor instead. +func (*RequiredEditionsMapIgnoreAlways) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{20} +} + +func (x *RequiredEditionsMapIgnoreAlways) GetVal() map[string]string { + if x != nil { + return x.Val + } + return nil +} + +type RequiredEditionsMessageExplicitPresence_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredEditionsMessageExplicitPresence_Msg) Reset() { + *x = RequiredEditionsMessageExplicitPresence_Msg{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsMessageExplicitPresence_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsMessageExplicitPresence_Msg) ProtoMessage() {} + +func (x *RequiredEditionsMessageExplicitPresence_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[21] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsMessageExplicitPresence_Msg.ProtoReflect.Descriptor instead. +func (*RequiredEditionsMessageExplicitPresence_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{7, 0} +} + +func (x *RequiredEditionsMessageExplicitPresence_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type RequiredEditionsMessageExplicitPresenceIgnoreAlways_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredEditionsMessageExplicitPresenceIgnoreAlways_Msg) Reset() { + *x = RequiredEditionsMessageExplicitPresenceIgnoreAlways_Msg{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsMessageExplicitPresenceIgnoreAlways_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsMessageExplicitPresenceIgnoreAlways_Msg) ProtoMessage() {} + +func (x *RequiredEditionsMessageExplicitPresenceIgnoreAlways_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[22] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsMessageExplicitPresenceIgnoreAlways_Msg.ProtoReflect.Descriptor instead. +func (*RequiredEditionsMessageExplicitPresenceIgnoreAlways_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{8, 0} +} + +func (x *RequiredEditionsMessageExplicitPresenceIgnoreAlways_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type RequiredEditionsMessageExplicitPresenceDelimited_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredEditionsMessageExplicitPresenceDelimited_Msg) Reset() { + *x = RequiredEditionsMessageExplicitPresenceDelimited_Msg{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsMessageExplicitPresenceDelimited_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsMessageExplicitPresenceDelimited_Msg) ProtoMessage() {} + +func (x *RequiredEditionsMessageExplicitPresenceDelimited_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[23] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsMessageExplicitPresenceDelimited_Msg.ProtoReflect.Descriptor instead. +func (*RequiredEditionsMessageExplicitPresenceDelimited_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{9, 0} +} + +func (x *RequiredEditionsMessageExplicitPresenceDelimited_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways_Msg) Reset() { + *x = RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways_Msg{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways_Msg) ProtoMessage() {} + +func (x *RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[24] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways_Msg.ProtoReflect.Descriptor instead. +func (*RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{10, 0} +} + +func (x *RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type RequiredEditionsMessageLegacyRequired_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredEditionsMessageLegacyRequired_Msg) Reset() { + *x = RequiredEditionsMessageLegacyRequired_Msg{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsMessageLegacyRequired_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsMessageLegacyRequired_Msg) ProtoMessage() {} + +func (x *RequiredEditionsMessageLegacyRequired_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[25] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsMessageLegacyRequired_Msg.ProtoReflect.Descriptor instead. +func (*RequiredEditionsMessageLegacyRequired_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{11, 0} +} + +func (x *RequiredEditionsMessageLegacyRequired_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +type RequiredEditionsMessageLegacyRequiredDelimited_Msg struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *string `protobuf:"bytes,1,opt,name=val" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RequiredEditionsMessageLegacyRequiredDelimited_Msg) Reset() { + *x = RequiredEditionsMessageLegacyRequiredDelimited_Msg{} + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RequiredEditionsMessageLegacyRequiredDelimited_Msg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequiredEditionsMessageLegacyRequiredDelimited_Msg) ProtoMessage() {} + +func (x *RequiredEditionsMessageLegacyRequiredDelimited_Msg) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[26] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequiredEditionsMessageLegacyRequiredDelimited_Msg.ProtoReflect.Descriptor instead. +func (*RequiredEditionsMessageLegacyRequiredDelimited_Msg) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDescGZIP(), []int{12, 0} +} + +func (x *RequiredEditionsMessageLegacyRequiredDelimited_Msg) GetVal() string { + if x != nil && x.Val != nil { + return *x.Val + } + return "" +} + +var File_buf_validate_conformance_cases_required_field_proto_editions_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDesc = "" + + "\n" + + "Bbuf/validate/conformance/cases/required_field_proto_editions.proto\x12\x1ebuf.validate.conformance.cases\x1a\x1bbuf/validate/validate.proto\"B\n" + + "&RequiredEditionsScalarExplicitPresence\x12\x18\n" + + "\x03val\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x03val\"Q\n" + + "2RequiredEditionsScalarExplicitPresenceIgnoreAlways\x12\x1b\n" + + "\x03val\x18\x01 \x01(\tB\t\xbaH\x06\xc8\x01\x01\xd8\x01\x03R\x03val\"N\n" + + "-RequiredEditionsScalarExplicitPresenceDefault\x12\x1d\n" + + "\x03val\x18\x01 \x01(\t:\x03fooB\x06\xbaH\x03\xc8\x01\x01R\x03val\"]\n" + + "9RequiredEditionsScalarExplicitPresenceDefaultIgnoreAlways\x12 \n" + + "\x03val\x18\x01 \x01(\t:\x03fooB\t\xbaH\x06\xc8\x01\x01\xd8\x01\x03R\x03val\"G\n" + + "&RequiredEditionsScalarImplicitPresence\x12\x1d\n" + + "\x03val\x18\x01 \x01(\tB\v\xbaH\x03\xc8\x01\x01\xaa\x01\x02\b\x02R\x03val\"V\n" + + "2RequiredEditionsScalarImplicitPresenceIgnoreAlways\x12 \n" + + "\x03val\x18\x01 \x01(\tB\x0e\xbaH\x06\xc8\x01\x01\xd8\x01\x03\xaa\x01\x02\b\x02R\x03val\"E\n" + + "$RequiredEditionsScalarLegacyRequired\x12\x1d\n" + + "\x03val\x18\x01 \x01(\tB\v\xbaH\x03\xc8\x01\x01\xaa\x01\x02\b\x03R\x03val\"\xa9\x01\n" + + "'RequiredEditionsMessageExplicitPresence\x12e\n" + + "\x03val\x18\x01 \x01(\v2K.buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresence.MsgB\x06\xbaH\x03\xc8\x01\x01R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"\xc4\x01\n" + + "3RequiredEditionsMessageExplicitPresenceIgnoreAlways\x12t\n" + + "\x03val\x18\x01 \x01(\v2W.buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceIgnoreAlways.MsgB\t\xbaH\x06\xc8\x01\x01\xd8\x01\x03R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"\xc0\x01\n" + + "0RequiredEditionsMessageExplicitPresenceDelimited\x12s\n" + + "\x03val\x18\x01 \x01(\v2T.buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimited.MsgB\v\xbaH\x03\xc8\x01\x01\xaa\x01\x02(\x02R\x03val\x1a\x17\n" + + "\x03Msg\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"\xdc\x01\n" + + " buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresence.Msg + 22, // 1: buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceIgnoreAlways.val:type_name -> buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceIgnoreAlways.Msg + 23, // 2: buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimited.val:type_name -> buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimited.Msg + 24, // 3: buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways.val:type_name -> buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimitedIgnoreAlways.Msg + 25, // 4: buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequired.val:type_name -> buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequired.Msg + 26, // 5: buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequiredDelimited.val:type_name -> buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequiredDelimited.Msg + 27, // 6: buf.validate.conformance.cases.RequiredEditionsMap.val:type_name -> buf.validate.conformance.cases.RequiredEditionsMap.ValEntry + 28, // 7: buf.validate.conformance.cases.RequiredEditionsMapIgnoreAlways.val:type_name -> buf.validate.conformance.cases.RequiredEditionsMapIgnoreAlways.ValEntry + 8, // [8:8] is the sub-list for method output_type + 8, // [8:8] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_required_field_proto_editions_proto_init() } +func file_buf_validate_conformance_cases_required_field_proto_editions_proto_init() { + if File_buf_validate_conformance_cases_required_field_proto_editions_proto != nil { + return + } + file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[13].OneofWrappers = []any{ + (*RequiredEditionsOneof_A)(nil), + (*RequiredEditionsOneof_B)(nil), + } + file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes[14].OneofWrappers = []any{ + (*RequiredEditionsOneofIgnoreAlways_A)(nil), + (*RequiredEditionsOneofIgnoreAlways_B)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDesc), len(file_buf_validate_conformance_cases_required_field_proto_editions_proto_rawDesc)), + NumEnums: 0, + NumMessages: 29, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_required_field_proto_editions_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_required_field_proto_editions_proto_depIdxs, + MessageInfos: file_buf_validate_conformance_cases_required_field_proto_editions_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_required_field_proto_editions_proto = out.File + file_buf_validate_conformance_cases_required_field_proto_editions_proto_goTypes = nil + file_buf_validate_conformance_cases_required_field_proto_editions_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/strings.pb.go b/internal/gen/proto/buf/validate/conformance/cases/strings.pb.go new file mode 100644 index 00000000..bc7b9034 --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/strings.pb.go @@ -0,0 +1,2996 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/strings.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type StringNone struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringNone) Reset() { + *x = StringNone{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringNone) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringNone) ProtoMessage() {} + +func (x *StringNone) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringNone.ProtoReflect.Descriptor instead. +func (*StringNone) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{0} +} + +func (x *StringNone) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringConst struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringConst) Reset() { + *x = StringConst{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringConst) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringConst) ProtoMessage() {} + +func (x *StringConst) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringConst.ProtoReflect.Descriptor instead. +func (*StringConst) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{1} +} + +func (x *StringConst) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringIn) Reset() { + *x = StringIn{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringIn) ProtoMessage() {} + +func (x *StringIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringIn.ProtoReflect.Descriptor instead. +func (*StringIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{2} +} + +func (x *StringIn) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringNotIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringNotIn) Reset() { + *x = StringNotIn{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringNotIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringNotIn) ProtoMessage() {} + +func (x *StringNotIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringNotIn.ProtoReflect.Descriptor instead. +func (*StringNotIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{3} +} + +func (x *StringNotIn) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringLen struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringLen) Reset() { + *x = StringLen{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringLen) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringLen) ProtoMessage() {} + +func (x *StringLen) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringLen.ProtoReflect.Descriptor instead. +func (*StringLen) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{4} +} + +func (x *StringLen) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringMinLen struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringMinLen) Reset() { + *x = StringMinLen{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringMinLen) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringMinLen) ProtoMessage() {} + +func (x *StringMinLen) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringMinLen.ProtoReflect.Descriptor instead. +func (*StringMinLen) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{5} +} + +func (x *StringMinLen) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringMaxLen struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringMaxLen) Reset() { + *x = StringMaxLen{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringMaxLen) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringMaxLen) ProtoMessage() {} + +func (x *StringMaxLen) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringMaxLen.ProtoReflect.Descriptor instead. +func (*StringMaxLen) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{6} +} + +func (x *StringMaxLen) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringMinMaxLen struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringMinMaxLen) Reset() { + *x = StringMinMaxLen{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringMinMaxLen) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringMinMaxLen) ProtoMessage() {} + +func (x *StringMinMaxLen) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringMinMaxLen.ProtoReflect.Descriptor instead. +func (*StringMinMaxLen) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{7} +} + +func (x *StringMinMaxLen) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringEqualMinMaxLen struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringEqualMinMaxLen) Reset() { + *x = StringEqualMinMaxLen{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringEqualMinMaxLen) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringEqualMinMaxLen) ProtoMessage() {} + +func (x *StringEqualMinMaxLen) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringEqualMinMaxLen.ProtoReflect.Descriptor instead. +func (*StringEqualMinMaxLen) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{8} +} + +func (x *StringEqualMinMaxLen) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringLenBytes struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringLenBytes) Reset() { + *x = StringLenBytes{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringLenBytes) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringLenBytes) ProtoMessage() {} + +func (x *StringLenBytes) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringLenBytes.ProtoReflect.Descriptor instead. +func (*StringLenBytes) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{9} +} + +func (x *StringLenBytes) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringMinBytes struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringMinBytes) Reset() { + *x = StringMinBytes{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringMinBytes) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringMinBytes) ProtoMessage() {} + +func (x *StringMinBytes) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringMinBytes.ProtoReflect.Descriptor instead. +func (*StringMinBytes) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{10} +} + +func (x *StringMinBytes) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringMaxBytes struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringMaxBytes) Reset() { + *x = StringMaxBytes{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringMaxBytes) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringMaxBytes) ProtoMessage() {} + +func (x *StringMaxBytes) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringMaxBytes.ProtoReflect.Descriptor instead. +func (*StringMaxBytes) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{11} +} + +func (x *StringMaxBytes) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringMinMaxBytes struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringMinMaxBytes) Reset() { + *x = StringMinMaxBytes{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringMinMaxBytes) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringMinMaxBytes) ProtoMessage() {} + +func (x *StringMinMaxBytes) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringMinMaxBytes.ProtoReflect.Descriptor instead. +func (*StringMinMaxBytes) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{12} +} + +func (x *StringMinMaxBytes) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringEqualMinMaxBytes struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringEqualMinMaxBytes) Reset() { + *x = StringEqualMinMaxBytes{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringEqualMinMaxBytes) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringEqualMinMaxBytes) ProtoMessage() {} + +func (x *StringEqualMinMaxBytes) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringEqualMinMaxBytes.ProtoReflect.Descriptor instead. +func (*StringEqualMinMaxBytes) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{13} +} + +func (x *StringEqualMinMaxBytes) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringPattern struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringPattern) Reset() { + *x = StringPattern{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringPattern) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringPattern) ProtoMessage() {} + +func (x *StringPattern) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringPattern.ProtoReflect.Descriptor instead. +func (*StringPattern) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{14} +} + +func (x *StringPattern) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringPatternEscapes struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringPatternEscapes) Reset() { + *x = StringPatternEscapes{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringPatternEscapes) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringPatternEscapes) ProtoMessage() {} + +func (x *StringPatternEscapes) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[15] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringPatternEscapes.ProtoReflect.Descriptor instead. +func (*StringPatternEscapes) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{15} +} + +func (x *StringPatternEscapes) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringPrefix struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringPrefix) Reset() { + *x = StringPrefix{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringPrefix) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringPrefix) ProtoMessage() {} + +func (x *StringPrefix) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[16] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringPrefix.ProtoReflect.Descriptor instead. +func (*StringPrefix) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{16} +} + +func (x *StringPrefix) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringContains struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringContains) Reset() { + *x = StringContains{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringContains) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringContains) ProtoMessage() {} + +func (x *StringContains) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[17] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringContains.ProtoReflect.Descriptor instead. +func (*StringContains) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{17} +} + +func (x *StringContains) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringNotContains struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringNotContains) Reset() { + *x = StringNotContains{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringNotContains) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringNotContains) ProtoMessage() {} + +func (x *StringNotContains) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[18] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringNotContains.ProtoReflect.Descriptor instead. +func (*StringNotContains) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{18} +} + +func (x *StringNotContains) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringSuffix struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringSuffix) Reset() { + *x = StringSuffix{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringSuffix) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringSuffix) ProtoMessage() {} + +func (x *StringSuffix) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[19] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringSuffix.ProtoReflect.Descriptor instead. +func (*StringSuffix) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{19} +} + +func (x *StringSuffix) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringEmail struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringEmail) Reset() { + *x = StringEmail{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringEmail) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringEmail) ProtoMessage() {} + +func (x *StringEmail) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[20] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringEmail.ProtoReflect.Descriptor instead. +func (*StringEmail) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{20} +} + +func (x *StringEmail) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringNotEmail struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringNotEmail) Reset() { + *x = StringNotEmail{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringNotEmail) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringNotEmail) ProtoMessage() {} + +func (x *StringNotEmail) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[21] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringNotEmail.ProtoReflect.Descriptor instead. +func (*StringNotEmail) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{21} +} + +func (x *StringNotEmail) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringAddress struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringAddress) Reset() { + *x = StringAddress{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringAddress) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringAddress) ProtoMessage() {} + +func (x *StringAddress) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[22] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringAddress.ProtoReflect.Descriptor instead. +func (*StringAddress) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{22} +} + +func (x *StringAddress) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringNotAddress struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringNotAddress) Reset() { + *x = StringNotAddress{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringNotAddress) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringNotAddress) ProtoMessage() {} + +func (x *StringNotAddress) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[23] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringNotAddress.ProtoReflect.Descriptor instead. +func (*StringNotAddress) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{23} +} + +func (x *StringNotAddress) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringHostname struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringHostname) Reset() { + *x = StringHostname{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringHostname) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringHostname) ProtoMessage() {} + +func (x *StringHostname) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[24] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringHostname.ProtoReflect.Descriptor instead. +func (*StringHostname) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{24} +} + +func (x *StringHostname) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringNotHostname struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringNotHostname) Reset() { + *x = StringNotHostname{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringNotHostname) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringNotHostname) ProtoMessage() {} + +func (x *StringNotHostname) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[25] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringNotHostname.ProtoReflect.Descriptor instead. +func (*StringNotHostname) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{25} +} + +func (x *StringNotHostname) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringIP struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringIP) Reset() { + *x = StringIP{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringIP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringIP) ProtoMessage() {} + +func (x *StringIP) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[26] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringIP.ProtoReflect.Descriptor instead. +func (*StringIP) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{26} +} + +func (x *StringIP) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringNotIP struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringNotIP) Reset() { + *x = StringNotIP{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringNotIP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringNotIP) ProtoMessage() {} + +func (x *StringNotIP) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[27] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringNotIP.ProtoReflect.Descriptor instead. +func (*StringNotIP) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{27} +} + +func (x *StringNotIP) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringIPv4 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringIPv4) Reset() { + *x = StringIPv4{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringIPv4) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringIPv4) ProtoMessage() {} + +func (x *StringIPv4) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[28] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringIPv4.ProtoReflect.Descriptor instead. +func (*StringIPv4) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{28} +} + +func (x *StringIPv4) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringNotIPv4 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringNotIPv4) Reset() { + *x = StringNotIPv4{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringNotIPv4) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringNotIPv4) ProtoMessage() {} + +func (x *StringNotIPv4) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[29] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringNotIPv4.ProtoReflect.Descriptor instead. +func (*StringNotIPv4) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{29} +} + +func (x *StringNotIPv4) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringIPv6 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringIPv6) Reset() { + *x = StringIPv6{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringIPv6) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringIPv6) ProtoMessage() {} + +func (x *StringIPv6) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[30] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringIPv6.ProtoReflect.Descriptor instead. +func (*StringIPv6) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{30} +} + +func (x *StringIPv6) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringNotIPv6 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringNotIPv6) Reset() { + *x = StringNotIPv6{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringNotIPv6) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringNotIPv6) ProtoMessage() {} + +func (x *StringNotIPv6) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[31] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringNotIPv6.ProtoReflect.Descriptor instead. +func (*StringNotIPv6) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{31} +} + +func (x *StringNotIPv6) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringIPWithPrefixLen struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringIPWithPrefixLen) Reset() { + *x = StringIPWithPrefixLen{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringIPWithPrefixLen) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringIPWithPrefixLen) ProtoMessage() {} + +func (x *StringIPWithPrefixLen) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[32] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringIPWithPrefixLen.ProtoReflect.Descriptor instead. +func (*StringIPWithPrefixLen) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{32} +} + +func (x *StringIPWithPrefixLen) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringNotIPWithPrefixLen struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringNotIPWithPrefixLen) Reset() { + *x = StringNotIPWithPrefixLen{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringNotIPWithPrefixLen) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringNotIPWithPrefixLen) ProtoMessage() {} + +func (x *StringNotIPWithPrefixLen) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[33] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringNotIPWithPrefixLen.ProtoReflect.Descriptor instead. +func (*StringNotIPWithPrefixLen) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{33} +} + +func (x *StringNotIPWithPrefixLen) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringIPv4WithPrefixLen struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringIPv4WithPrefixLen) Reset() { + *x = StringIPv4WithPrefixLen{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringIPv4WithPrefixLen) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringIPv4WithPrefixLen) ProtoMessage() {} + +func (x *StringIPv4WithPrefixLen) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[34] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringIPv4WithPrefixLen.ProtoReflect.Descriptor instead. +func (*StringIPv4WithPrefixLen) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{34} +} + +func (x *StringIPv4WithPrefixLen) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringNotIPv4WithPrefixLen struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringNotIPv4WithPrefixLen) Reset() { + *x = StringNotIPv4WithPrefixLen{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringNotIPv4WithPrefixLen) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringNotIPv4WithPrefixLen) ProtoMessage() {} + +func (x *StringNotIPv4WithPrefixLen) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[35] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringNotIPv4WithPrefixLen.ProtoReflect.Descriptor instead. +func (*StringNotIPv4WithPrefixLen) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{35} +} + +func (x *StringNotIPv4WithPrefixLen) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringIPv6WithPrefixLen struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringIPv6WithPrefixLen) Reset() { + *x = StringIPv6WithPrefixLen{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringIPv6WithPrefixLen) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringIPv6WithPrefixLen) ProtoMessage() {} + +func (x *StringIPv6WithPrefixLen) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[36] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringIPv6WithPrefixLen.ProtoReflect.Descriptor instead. +func (*StringIPv6WithPrefixLen) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{36} +} + +func (x *StringIPv6WithPrefixLen) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringNotIPv6WithPrefixLen struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringNotIPv6WithPrefixLen) Reset() { + *x = StringNotIPv6WithPrefixLen{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringNotIPv6WithPrefixLen) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringNotIPv6WithPrefixLen) ProtoMessage() {} + +func (x *StringNotIPv6WithPrefixLen) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[37] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringNotIPv6WithPrefixLen.ProtoReflect.Descriptor instead. +func (*StringNotIPv6WithPrefixLen) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{37} +} + +func (x *StringNotIPv6WithPrefixLen) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringIPPrefix struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringIPPrefix) Reset() { + *x = StringIPPrefix{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringIPPrefix) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringIPPrefix) ProtoMessage() {} + +func (x *StringIPPrefix) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[38] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringIPPrefix.ProtoReflect.Descriptor instead. +func (*StringIPPrefix) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{38} +} + +func (x *StringIPPrefix) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringNotIPPrefix struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringNotIPPrefix) Reset() { + *x = StringNotIPPrefix{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringNotIPPrefix) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringNotIPPrefix) ProtoMessage() {} + +func (x *StringNotIPPrefix) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[39] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringNotIPPrefix.ProtoReflect.Descriptor instead. +func (*StringNotIPPrefix) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{39} +} + +func (x *StringNotIPPrefix) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringIPv4Prefix struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringIPv4Prefix) Reset() { + *x = StringIPv4Prefix{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringIPv4Prefix) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringIPv4Prefix) ProtoMessage() {} + +func (x *StringIPv4Prefix) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[40] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringIPv4Prefix.ProtoReflect.Descriptor instead. +func (*StringIPv4Prefix) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{40} +} + +func (x *StringIPv4Prefix) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringNotIPv4Prefix struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringNotIPv4Prefix) Reset() { + *x = StringNotIPv4Prefix{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringNotIPv4Prefix) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringNotIPv4Prefix) ProtoMessage() {} + +func (x *StringNotIPv4Prefix) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[41] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringNotIPv4Prefix.ProtoReflect.Descriptor instead. +func (*StringNotIPv4Prefix) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{41} +} + +func (x *StringNotIPv4Prefix) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringIPv6Prefix struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringIPv6Prefix) Reset() { + *x = StringIPv6Prefix{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringIPv6Prefix) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringIPv6Prefix) ProtoMessage() {} + +func (x *StringIPv6Prefix) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[42] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringIPv6Prefix.ProtoReflect.Descriptor instead. +func (*StringIPv6Prefix) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{42} +} + +func (x *StringIPv6Prefix) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringNotIPv6Prefix struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringNotIPv6Prefix) Reset() { + *x = StringNotIPv6Prefix{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringNotIPv6Prefix) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringNotIPv6Prefix) ProtoMessage() {} + +func (x *StringNotIPv6Prefix) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[43] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringNotIPv6Prefix.ProtoReflect.Descriptor instead. +func (*StringNotIPv6Prefix) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{43} +} + +func (x *StringNotIPv6Prefix) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringURI struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringURI) Reset() { + *x = StringURI{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringURI) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringURI) ProtoMessage() {} + +func (x *StringURI) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[44] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringURI.ProtoReflect.Descriptor instead. +func (*StringURI) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{44} +} + +func (x *StringURI) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringNotURI struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringNotURI) Reset() { + *x = StringNotURI{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringNotURI) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringNotURI) ProtoMessage() {} + +func (x *StringNotURI) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[45] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringNotURI.ProtoReflect.Descriptor instead. +func (*StringNotURI) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{45} +} + +func (x *StringNotURI) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringURIRef struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringURIRef) Reset() { + *x = StringURIRef{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringURIRef) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringURIRef) ProtoMessage() {} + +func (x *StringURIRef) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[46] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringURIRef.ProtoReflect.Descriptor instead. +func (*StringURIRef) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{46} +} + +func (x *StringURIRef) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringNotURIRef struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringNotURIRef) Reset() { + *x = StringNotURIRef{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringNotURIRef) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringNotURIRef) ProtoMessage() {} + +func (x *StringNotURIRef) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[47] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringNotURIRef.ProtoReflect.Descriptor instead. +func (*StringNotURIRef) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{47} +} + +func (x *StringNotURIRef) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringUUID struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringUUID) Reset() { + *x = StringUUID{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringUUID) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringUUID) ProtoMessage() {} + +func (x *StringUUID) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[48] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringUUID.ProtoReflect.Descriptor instead. +func (*StringUUID) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{48} +} + +func (x *StringUUID) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringNotUUID struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringNotUUID) Reset() { + *x = StringNotUUID{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringNotUUID) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringNotUUID) ProtoMessage() {} + +func (x *StringNotUUID) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[49] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringNotUUID.ProtoReflect.Descriptor instead. +func (*StringNotUUID) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{49} +} + +func (x *StringNotUUID) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringTUUID struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringTUUID) Reset() { + *x = StringTUUID{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringTUUID) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringTUUID) ProtoMessage() {} + +func (x *StringTUUID) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[50] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringTUUID.ProtoReflect.Descriptor instead. +func (*StringTUUID) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{50} +} + +func (x *StringTUUID) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringNotTUUID struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringNotTUUID) Reset() { + *x = StringNotTUUID{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringNotTUUID) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringNotTUUID) ProtoMessage() {} + +func (x *StringNotTUUID) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[51] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringNotTUUID.ProtoReflect.Descriptor instead. +func (*StringNotTUUID) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{51} +} + +func (x *StringNotTUUID) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringHttpHeaderName struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringHttpHeaderName) Reset() { + *x = StringHttpHeaderName{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringHttpHeaderName) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringHttpHeaderName) ProtoMessage() {} + +func (x *StringHttpHeaderName) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[52] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringHttpHeaderName.ProtoReflect.Descriptor instead. +func (*StringHttpHeaderName) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{52} +} + +func (x *StringHttpHeaderName) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringHttpHeaderValue struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringHttpHeaderValue) Reset() { + *x = StringHttpHeaderValue{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringHttpHeaderValue) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringHttpHeaderValue) ProtoMessage() {} + +func (x *StringHttpHeaderValue) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[53] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringHttpHeaderValue.ProtoReflect.Descriptor instead. +func (*StringHttpHeaderValue) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{53} +} + +func (x *StringHttpHeaderValue) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringHttpHeaderNameLoose struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringHttpHeaderNameLoose) Reset() { + *x = StringHttpHeaderNameLoose{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringHttpHeaderNameLoose) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringHttpHeaderNameLoose) ProtoMessage() {} + +func (x *StringHttpHeaderNameLoose) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[54] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringHttpHeaderNameLoose.ProtoReflect.Descriptor instead. +func (*StringHttpHeaderNameLoose) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{54} +} + +func (x *StringHttpHeaderNameLoose) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringHttpHeaderValueLoose struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringHttpHeaderValueLoose) Reset() { + *x = StringHttpHeaderValueLoose{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringHttpHeaderValueLoose) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringHttpHeaderValueLoose) ProtoMessage() {} + +func (x *StringHttpHeaderValueLoose) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[55] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringHttpHeaderValueLoose.ProtoReflect.Descriptor instead. +func (*StringHttpHeaderValueLoose) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{55} +} + +func (x *StringHttpHeaderValueLoose) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringUUIDIgnore struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringUUIDIgnore) Reset() { + *x = StringUUIDIgnore{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringUUIDIgnore) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringUUIDIgnore) ProtoMessage() {} + +func (x *StringUUIDIgnore) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[56] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringUUIDIgnore.ProtoReflect.Descriptor instead. +func (*StringUUIDIgnore) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{56} +} + +func (x *StringUUIDIgnore) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringInOneof struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Foo: + // + // *StringInOneof_Bar + Foo isStringInOneof_Foo `protobuf_oneof:"foo"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringInOneof) Reset() { + *x = StringInOneof{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringInOneof) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringInOneof) ProtoMessage() {} + +func (x *StringInOneof) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[57] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringInOneof.ProtoReflect.Descriptor instead. +func (*StringInOneof) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{57} +} + +func (x *StringInOneof) GetFoo() isStringInOneof_Foo { + if x != nil { + return x.Foo + } + return nil +} + +func (x *StringInOneof) GetBar() string { + if x != nil { + if x, ok := x.Foo.(*StringInOneof_Bar); ok { + return x.Bar + } + } + return "" +} + +type isStringInOneof_Foo interface { + isStringInOneof_Foo() +} + +type StringInOneof_Bar struct { + Bar string `protobuf:"bytes,1,opt,name=bar,proto3,oneof"` +} + +func (*StringInOneof_Bar) isStringInOneof_Foo() {} + +type StringHostAndPort struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringHostAndPort) Reset() { + *x = StringHostAndPort{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringHostAndPort) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringHostAndPort) ProtoMessage() {} + +func (x *StringHostAndPort) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[58] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringHostAndPort.ProtoReflect.Descriptor instead. +func (*StringHostAndPort) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{58} +} + +func (x *StringHostAndPort) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringHostAndOptionalPort struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringHostAndOptionalPort) Reset() { + *x = StringHostAndOptionalPort{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringHostAndOptionalPort) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringHostAndOptionalPort) ProtoMessage() {} + +func (x *StringHostAndOptionalPort) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[59] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringHostAndOptionalPort.ProtoReflect.Descriptor instead. +func (*StringHostAndOptionalPort) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{59} +} + +func (x *StringHostAndOptionalPort) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type StringExample struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StringExample) Reset() { + *x = StringExample{} + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StringExample) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StringExample) ProtoMessage() {} + +func (x *StringExample) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_strings_proto_msgTypes[60] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StringExample.ProtoReflect.Descriptor instead. +func (*StringExample) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_strings_proto_rawDescGZIP(), []int{60} +} + +func (x *StringExample) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +var File_buf_validate_conformance_cases_strings_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_strings_proto_rawDesc = "" + + "\n" + + ",buf/validate/conformance/cases/strings.proto\x12\x1ebuf.validate.conformance.cases\x1a\x1bbuf/validate/validate.proto\"\x1e\n" + + "\n" + + "StringNone\x12\x10\n" + + "\x03val\x18\x01 \x01(\tR\x03val\"+\n" + + "\vStringConst\x12\x1c\n" + + "\x03val\x18\x01 \x01(\tB\n" + + "\xbaH\ar\x05\n" + + "\x03fooR\x03val\"-\n" + + "\bStringIn\x12!\n" + + "\x03val\x18\x01 \x01(\tB\x0f\xbaH\fr\n" + + "R\x03barR\x03bazR\x03val\"2\n" + + "\vStringNotIn\x12#\n" + + "\x03val\x18\x01 \x01(\tB\x11\xbaH\x0er\fZ\x04fizzZ\x04buzzR\x03val\"'\n" + + "\tStringLen\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\x98\x01\x03R\x03val\")\n" + + "\fStringMinLen\x12\x19\n" + + "\x03val\x18\x01 \x01(\tB\a\xbaH\x04r\x02\x10\x03R\x03val\")\n" + + "\fStringMaxLen\x12\x19\n" + + "\x03val\x18\x01 \x01(\tB\a\xbaH\x04r\x02\x18\x05R\x03val\".\n" + + "\x0fStringMinMaxLen\x12\x1b\n" + + "\x03val\x18\x01 \x01(\tB\t\xbaH\x06r\x04\x10\x03\x18\x05R\x03val\"3\n" + + "\x14StringEqualMinMaxLen\x12\x1b\n" + + "\x03val\x18\x01 \x01(\tB\t\xbaH\x06r\x04\x10\x05\x18\x05R\x03val\",\n" + + "\x0eStringLenBytes\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\xa0\x01\x04R\x03val\"+\n" + + "\x0eStringMinBytes\x12\x19\n" + + "\x03val\x18\x01 \x01(\tB\a\xbaH\x04r\x02 \x04R\x03val\"+\n" + + "\x0eStringMaxBytes\x12\x19\n" + + "\x03val\x18\x01 \x01(\tB\a\xbaH\x04r\x02(\bR\x03val\"0\n" + + "\x11StringMinMaxBytes\x12\x1b\n" + + "\x03val\x18\x01 \x01(\tB\t\xbaH\x06r\x04 \x04(\bR\x03val\"5\n" + + "\x16StringEqualMinMaxBytes\x12\x1b\n" + + "\x03val\x18\x01 \x01(\tB\t\xbaH\x06r\x04 \x04(\x04R\x03val\"9\n" + + "\rStringPattern\x12(\n" + + "\x03val\x18\x01 \x01(\tB\x16\xbaH\x13r\x112\x0f(?i)^[a-z0-9]+$R\x03val\"9\n" + + "\x14StringPatternEscapes\x12!\n" + + "\x03val\x18\x01 \x01(\tB\x0f\xbaH\fr\n" + + "2\b\\* \\\\ \\wR\x03val\",\n" + + "\fStringPrefix\x12\x1c\n" + + "\x03val\x18\x01 \x01(\tB\n" + + "\xbaH\ar\x05:\x03fooR\x03val\".\n" + + "\x0eStringContains\x12\x1c\n" + + "\x03val\x18\x01 \x01(\tB\n" + + "\xbaH\ar\x05J\x03barR\x03val\"2\n" + + "\x11StringNotContains\x12\x1d\n" + + "\x03val\x18\x01 \x01(\tB\v\xbaH\br\x06\xba\x01\x03barR\x03val\",\n" + + "\fStringSuffix\x12\x1c\n" + + "\x03val\x18\x01 \x01(\tB\n" + + "\xbaH\ar\x05B\x03bazR\x03val\"(\n" + + "\vStringEmail\x12\x19\n" + + "\x03val\x18\x01 \x01(\tB\a\xbaH\x04r\x02`\x01R\x03val\"+\n" + + "\x0eStringNotEmail\x12\x19\n" + + "\x03val\x18\x01 \x01(\tB\a\xbaH\x04r\x02`\x00R\x03val\"+\n" + + "\rStringAddress\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\xa8\x01\x01R\x03val\".\n" + + "\x10StringNotAddress\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\xa8\x01\x00R\x03val\"+\n" + + "\x0eStringHostname\x12\x19\n" + + "\x03val\x18\x01 \x01(\tB\a\xbaH\x04r\x02h\x01R\x03val\".\n" + + "\x11StringNotHostname\x12\x19\n" + + "\x03val\x18\x01 \x01(\tB\a\xbaH\x04r\x02h\x00R\x03val\"%\n" + + "\bStringIP\x12\x19\n" + + "\x03val\x18\x01 \x01(\tB\a\xbaH\x04r\x02p\x01R\x03val\"(\n" + + "\vStringNotIP\x12\x19\n" + + "\x03val\x18\x01 \x01(\tB\a\xbaH\x04r\x02p\x00R\x03val\"'\n" + + "\n" + + "StringIPv4\x12\x19\n" + + "\x03val\x18\x01 \x01(\tB\a\xbaH\x04r\x02x\x01R\x03val\"*\n" + + "\rStringNotIPv4\x12\x19\n" + + "\x03val\x18\x01 \x01(\tB\a\xbaH\x04r\x02x\x00R\x03val\"(\n" + + "\n" + + "StringIPv6\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\x80\x01\x01R\x03val\"+\n" + + "\rStringNotIPv6\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\x80\x01\x00R\x03val\"3\n" + + "\x15StringIPWithPrefixLen\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\xd0\x01\x01R\x03val\"6\n" + + "\x18StringNotIPWithPrefixLen\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\xd0\x01\x00R\x03val\"5\n" + + "\x17StringIPv4WithPrefixLen\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\xd8\x01\x01R\x03val\"8\n" + + "\x1aStringNotIPv4WithPrefixLen\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\xd8\x01\x00R\x03val\"5\n" + + "\x17StringIPv6WithPrefixLen\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\xe0\x01\x01R\x03val\"8\n" + + "\x1aStringNotIPv6WithPrefixLen\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\xe0\x01\x00R\x03val\",\n" + + "\x0eStringIPPrefix\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\xe8\x01\x01R\x03val\"/\n" + + "\x11StringNotIPPrefix\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\xe8\x01\x00R\x03val\".\n" + + "\x10StringIPv4Prefix\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\xf0\x01\x01R\x03val\"1\n" + + "\x13StringNotIPv4Prefix\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\xf0\x01\x00R\x03val\".\n" + + "\x10StringIPv6Prefix\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\xf8\x01\x01R\x03val\"1\n" + + "\x13StringNotIPv6Prefix\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\xf8\x01\x00R\x03val\"'\n" + + "\tStringURI\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\x88\x01\x01R\x03val\"*\n" + + "\fStringNotURI\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\x88\x01\x00R\x03val\"*\n" + + "\fStringURIRef\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\x90\x01\x01R\x03val\"-\n" + + "\x0fStringNotURIRef\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\x90\x01\x00R\x03val\"(\n" + + "\n" + + "StringUUID\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\xb0\x01\x01R\x03val\"+\n" + + "\rStringNotUUID\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\xb0\x01\x00R\x03val\")\n" + + "\vStringTUUID\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\x88\x02\x01R\x03val\",\n" + + "\x0eStringNotTUUID\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\x88\x02\x00R\x03val\"2\n" + + "\x14StringHttpHeaderName\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\xc0\x01\x01R\x03val\"3\n" + + "\x15StringHttpHeaderValue\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\xc0\x01\x02R\x03val\":\n" + + "\x19StringHttpHeaderNameLoose\x12\x1d\n" + + "\x03val\x18\x01 \x01(\tB\v\xbaH\br\x06\xc8\x01\x00\xc0\x01\x01R\x03val\";\n" + + "\x1aStringHttpHeaderValueLoose\x12\x1d\n" + + "\x03val\x18\x01 \x01(\tB\v\xbaH\br\x06\xc8\x01\x00\xc0\x01\x02R\x03val\"1\n" + + "\x10StringUUIDIgnore\x12\x1d\n" + + "\x03val\x18\x01 \x01(\tB\v\xbaH\b\xd8\x01\x01r\x03\xb0\x01\x01R\x03val\"7\n" + + "\rStringInOneof\x12\x1f\n" + + "\x03bar\x18\x01 \x01(\tB\v\xbaH\br\x06R\x01aR\x01bH\x00R\x03barB\x05\n" + + "\x03foo\"/\n" + + "\x11StringHostAndPort\x12\x1a\n" + + "\x03val\x18\x01 \x01(\tB\b\xbaH\x05r\x03\x80\x02\x01R\x03val\"\xa4\x01\n" + + "\x19StringHostAndOptionalPort\x12\x86\x01\n" + + "\x03val\x18\x01 \x01(\tBt\xbaHq\xba\x01n\n" + + "\"string.host_and_port.optional_port\x12-value must be a host and (optional) port pair\x1a\x19this.isHostAndPort(false)R\x03val\".\n" + + "\rStringExample\x12\x1d\n" + + "\x03val\x18\x01 \x01(\tB\v\xbaH\br\x06\x92\x02\x03fooR\x03valB\xa9\x02\n" + + "\"com.buf.validate.conformance.casesB\fStringsProtoP\x01ZYgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Casesb\x06proto3" + +var ( + file_buf_validate_conformance_cases_strings_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_strings_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_strings_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_strings_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_strings_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_strings_proto_rawDesc), len(file_buf_validate_conformance_cases_strings_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_strings_proto_rawDescData +} + +var file_buf_validate_conformance_cases_strings_proto_msgTypes = make([]protoimpl.MessageInfo, 61) +var file_buf_validate_conformance_cases_strings_proto_goTypes = []any{ + (*StringNone)(nil), // 0: buf.validate.conformance.cases.StringNone + (*StringConst)(nil), // 1: buf.validate.conformance.cases.StringConst + (*StringIn)(nil), // 2: buf.validate.conformance.cases.StringIn + (*StringNotIn)(nil), // 3: buf.validate.conformance.cases.StringNotIn + (*StringLen)(nil), // 4: buf.validate.conformance.cases.StringLen + (*StringMinLen)(nil), // 5: buf.validate.conformance.cases.StringMinLen + (*StringMaxLen)(nil), // 6: buf.validate.conformance.cases.StringMaxLen + (*StringMinMaxLen)(nil), // 7: buf.validate.conformance.cases.StringMinMaxLen + (*StringEqualMinMaxLen)(nil), // 8: buf.validate.conformance.cases.StringEqualMinMaxLen + (*StringLenBytes)(nil), // 9: buf.validate.conformance.cases.StringLenBytes + (*StringMinBytes)(nil), // 10: buf.validate.conformance.cases.StringMinBytes + (*StringMaxBytes)(nil), // 11: buf.validate.conformance.cases.StringMaxBytes + (*StringMinMaxBytes)(nil), // 12: buf.validate.conformance.cases.StringMinMaxBytes + (*StringEqualMinMaxBytes)(nil), // 13: buf.validate.conformance.cases.StringEqualMinMaxBytes + (*StringPattern)(nil), // 14: buf.validate.conformance.cases.StringPattern + (*StringPatternEscapes)(nil), // 15: buf.validate.conformance.cases.StringPatternEscapes + (*StringPrefix)(nil), // 16: buf.validate.conformance.cases.StringPrefix + (*StringContains)(nil), // 17: buf.validate.conformance.cases.StringContains + (*StringNotContains)(nil), // 18: buf.validate.conformance.cases.StringNotContains + (*StringSuffix)(nil), // 19: buf.validate.conformance.cases.StringSuffix + (*StringEmail)(nil), // 20: buf.validate.conformance.cases.StringEmail + (*StringNotEmail)(nil), // 21: buf.validate.conformance.cases.StringNotEmail + (*StringAddress)(nil), // 22: buf.validate.conformance.cases.StringAddress + (*StringNotAddress)(nil), // 23: buf.validate.conformance.cases.StringNotAddress + (*StringHostname)(nil), // 24: buf.validate.conformance.cases.StringHostname + (*StringNotHostname)(nil), // 25: buf.validate.conformance.cases.StringNotHostname + (*StringIP)(nil), // 26: buf.validate.conformance.cases.StringIP + (*StringNotIP)(nil), // 27: buf.validate.conformance.cases.StringNotIP + (*StringIPv4)(nil), // 28: buf.validate.conformance.cases.StringIPv4 + (*StringNotIPv4)(nil), // 29: buf.validate.conformance.cases.StringNotIPv4 + (*StringIPv6)(nil), // 30: buf.validate.conformance.cases.StringIPv6 + (*StringNotIPv6)(nil), // 31: buf.validate.conformance.cases.StringNotIPv6 + (*StringIPWithPrefixLen)(nil), // 32: buf.validate.conformance.cases.StringIPWithPrefixLen + (*StringNotIPWithPrefixLen)(nil), // 33: buf.validate.conformance.cases.StringNotIPWithPrefixLen + (*StringIPv4WithPrefixLen)(nil), // 34: buf.validate.conformance.cases.StringIPv4WithPrefixLen + (*StringNotIPv4WithPrefixLen)(nil), // 35: buf.validate.conformance.cases.StringNotIPv4WithPrefixLen + (*StringIPv6WithPrefixLen)(nil), // 36: buf.validate.conformance.cases.StringIPv6WithPrefixLen + (*StringNotIPv6WithPrefixLen)(nil), // 37: buf.validate.conformance.cases.StringNotIPv6WithPrefixLen + (*StringIPPrefix)(nil), // 38: buf.validate.conformance.cases.StringIPPrefix + (*StringNotIPPrefix)(nil), // 39: buf.validate.conformance.cases.StringNotIPPrefix + (*StringIPv4Prefix)(nil), // 40: buf.validate.conformance.cases.StringIPv4Prefix + (*StringNotIPv4Prefix)(nil), // 41: buf.validate.conformance.cases.StringNotIPv4Prefix + (*StringIPv6Prefix)(nil), // 42: buf.validate.conformance.cases.StringIPv6Prefix + (*StringNotIPv6Prefix)(nil), // 43: buf.validate.conformance.cases.StringNotIPv6Prefix + (*StringURI)(nil), // 44: buf.validate.conformance.cases.StringURI + (*StringNotURI)(nil), // 45: buf.validate.conformance.cases.StringNotURI + (*StringURIRef)(nil), // 46: buf.validate.conformance.cases.StringURIRef + (*StringNotURIRef)(nil), // 47: buf.validate.conformance.cases.StringNotURIRef + (*StringUUID)(nil), // 48: buf.validate.conformance.cases.StringUUID + (*StringNotUUID)(nil), // 49: buf.validate.conformance.cases.StringNotUUID + (*StringTUUID)(nil), // 50: buf.validate.conformance.cases.StringTUUID + (*StringNotTUUID)(nil), // 51: buf.validate.conformance.cases.StringNotTUUID + (*StringHttpHeaderName)(nil), // 52: buf.validate.conformance.cases.StringHttpHeaderName + (*StringHttpHeaderValue)(nil), // 53: buf.validate.conformance.cases.StringHttpHeaderValue + (*StringHttpHeaderNameLoose)(nil), // 54: buf.validate.conformance.cases.StringHttpHeaderNameLoose + (*StringHttpHeaderValueLoose)(nil), // 55: buf.validate.conformance.cases.StringHttpHeaderValueLoose + (*StringUUIDIgnore)(nil), // 56: buf.validate.conformance.cases.StringUUIDIgnore + (*StringInOneof)(nil), // 57: buf.validate.conformance.cases.StringInOneof + (*StringHostAndPort)(nil), // 58: buf.validate.conformance.cases.StringHostAndPort + (*StringHostAndOptionalPort)(nil), // 59: buf.validate.conformance.cases.StringHostAndOptionalPort + (*StringExample)(nil), // 60: buf.validate.conformance.cases.StringExample +} +var file_buf_validate_conformance_cases_strings_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_strings_proto_init() } +func file_buf_validate_conformance_cases_strings_proto_init() { + if File_buf_validate_conformance_cases_strings_proto != nil { + return + } + file_buf_validate_conformance_cases_strings_proto_msgTypes[57].OneofWrappers = []any{ + (*StringInOneof_Bar)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_strings_proto_rawDesc), len(file_buf_validate_conformance_cases_strings_proto_rawDesc)), + NumEnums: 0, + NumMessages: 61, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_strings_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_strings_proto_depIdxs, + MessageInfos: file_buf_validate_conformance_cases_strings_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_strings_proto = out.File + file_buf_validate_conformance_cases_strings_proto_goTypes = nil + file_buf_validate_conformance_cases_strings_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/subdirectory/in_subdirectory.pb.go b/internal/gen/proto/buf/validate/conformance/cases/subdirectory/in_subdirectory.pb.go new file mode 100644 index 00000000..24b07ec8 --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/subdirectory/in_subdirectory.pb.go @@ -0,0 +1,75 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/subdirectory/in_subdirectory.proto + +package subdirectory + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +var File_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_rawDesc = "" + + "\n" + + "Abuf/validate/conformance/cases/subdirectory/in_subdirectory.proto\x12+buf.validate.conformance.cases.subdirectory\x1a\x1bbuf/validate/validate.protoB\x80\x03\n" + + "/com.buf.validate.conformance.cases.subdirectoryB\x13InSubdirectoryProtoP\x01Zfgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases/subdirectory\xa2\x02\x05BVCCS\xaa\x02+Buf.Validate.Conformance.Cases.Subdirectory\xca\x02+Buf\\Validate\\Conformance\\Cases\\Subdirectory\xe2\x027Buf\\Validate\\Conformance\\Cases\\Subdirectory\\GPBMetadata\xea\x02/Buf::Validate::Conformance::Cases::Subdirectoryb\x06proto3" + +var file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_goTypes = []any{} +var file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_init() } +func file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_init() { + if File_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_rawDesc), len(file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_rawDesc)), + NumEnums: 0, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_depIdxs, + }.Build() + File_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto = out.File + file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_goTypes = nil + file_buf_validate_conformance_cases_subdirectory_in_subdirectory_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/wkt_any.pb.go b/internal/gen/proto/buf/validate/conformance/cases/wkt_any.pb.go new file mode 100644 index 00000000..c481cf01 --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/wkt_any.pb.go @@ -0,0 +1,528 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/wkt_any.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + anypb "google.golang.org/protobuf/types/known/anypb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AnyNone struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *anypb.Any `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *AnyNone) Reset() { + *x = AnyNone{} + mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *AnyNone) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AnyNone) ProtoMessage() {} + +func (x *AnyNone) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AnyNone.ProtoReflect.Descriptor instead. +func (*AnyNone) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_any_proto_rawDescGZIP(), []int{0} +} + +func (x *AnyNone) GetVal() *anypb.Any { + if x != nil { + return x.Val + } + return nil +} + +type AnyRequired struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *anypb.Any `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *AnyRequired) Reset() { + *x = AnyRequired{} + mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *AnyRequired) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AnyRequired) ProtoMessage() {} + +func (x *AnyRequired) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AnyRequired.ProtoReflect.Descriptor instead. +func (*AnyRequired) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_any_proto_rawDescGZIP(), []int{1} +} + +func (x *AnyRequired) GetVal() *anypb.Any { + if x != nil { + return x.Val + } + return nil +} + +type AnyIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *anypb.Any `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *AnyIn) Reset() { + *x = AnyIn{} + mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *AnyIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AnyIn) ProtoMessage() {} + +func (x *AnyIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AnyIn.ProtoReflect.Descriptor instead. +func (*AnyIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_any_proto_rawDescGZIP(), []int{2} +} + +func (x *AnyIn) GetVal() *anypb.Any { + if x != nil { + return x.Val + } + return nil +} + +type AnyNotIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *anypb.Any `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *AnyNotIn) Reset() { + *x = AnyNotIn{} + mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *AnyNotIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AnyNotIn) ProtoMessage() {} + +func (x *AnyNotIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AnyNotIn.ProtoReflect.Descriptor instead. +func (*AnyNotIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_any_proto_rawDescGZIP(), []int{3} +} + +func (x *AnyNotIn) GetVal() *anypb.Any { + if x != nil { + return x.Val + } + return nil +} + +// The below messages should throw compilation errors due to incorrect types. +type AnyWrongTypeScalar struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *AnyWrongTypeScalar) Reset() { + *x = AnyWrongTypeScalar{} + mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *AnyWrongTypeScalar) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AnyWrongTypeScalar) ProtoMessage() {} + +func (x *AnyWrongTypeScalar) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AnyWrongTypeScalar.ProtoReflect.Descriptor instead. +func (*AnyWrongTypeScalar) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_any_proto_rawDescGZIP(), []int{4} +} + +func (x *AnyWrongTypeScalar) GetVal() string { + if x != nil { + return x.Val + } + return "" +} + +type AnyWrongTypeMessage struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *AnyWrongTypeMessage_WrongType `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *AnyWrongTypeMessage) Reset() { + *x = AnyWrongTypeMessage{} + mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *AnyWrongTypeMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AnyWrongTypeMessage) ProtoMessage() {} + +func (x *AnyWrongTypeMessage) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AnyWrongTypeMessage.ProtoReflect.Descriptor instead. +func (*AnyWrongTypeMessage) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_any_proto_rawDescGZIP(), []int{5} +} + +func (x *AnyWrongTypeMessage) GetVal() *AnyWrongTypeMessage_WrongType { + if x != nil { + return x.Val + } + return nil +} + +type AnyWrongTypeWrapper struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *AnyWrongTypeWrapper) Reset() { + *x = AnyWrongTypeWrapper{} + mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *AnyWrongTypeWrapper) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AnyWrongTypeWrapper) ProtoMessage() {} + +func (x *AnyWrongTypeWrapper) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AnyWrongTypeWrapper.ProtoReflect.Descriptor instead. +func (*AnyWrongTypeWrapper) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_any_proto_rawDescGZIP(), []int{6} +} + +func (x *AnyWrongTypeWrapper) GetVal() *wrapperspb.Int32Value { + if x != nil { + return x.Val + } + return nil +} + +type AnyWrongTypeWKT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *AnyWrongTypeWKT) Reset() { + *x = AnyWrongTypeWKT{} + mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *AnyWrongTypeWKT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AnyWrongTypeWKT) ProtoMessage() {} + +func (x *AnyWrongTypeWKT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AnyWrongTypeWKT.ProtoReflect.Descriptor instead. +func (*AnyWrongTypeWKT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_any_proto_rawDescGZIP(), []int{7} +} + +func (x *AnyWrongTypeWKT) GetVal() *timestamppb.Timestamp { + if x != nil { + return x.Val + } + return nil +} + +type AnyWrongTypeMessage_WrongType struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *AnyWrongTypeMessage_WrongType) Reset() { + *x = AnyWrongTypeMessage_WrongType{} + mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *AnyWrongTypeMessage_WrongType) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AnyWrongTypeMessage_WrongType) ProtoMessage() {} + +func (x *AnyWrongTypeMessage_WrongType) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_any_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AnyWrongTypeMessage_WrongType.ProtoReflect.Descriptor instead. +func (*AnyWrongTypeMessage_WrongType) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_any_proto_rawDescGZIP(), []int{5, 0} +} + +func (x *AnyWrongTypeMessage_WrongType) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +var File_buf_validate_conformance_cases_wkt_any_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_wkt_any_proto_rawDesc = "" + + "\n" + + ",buf/validate/conformance/cases/wkt_any.proto\x12\x1ebuf.validate.conformance.cases\x1a\x1bbuf/validate/validate.proto\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"1\n" + + "\aAnyNone\x12&\n" + + "\x03val\x18\x01 \x01(\v2\x14.google.protobuf.AnyR\x03val\"=\n" + + "\vAnyRequired\x12.\n" + + "\x03val\x18\x01 \x01(\v2\x14.google.protobuf.AnyB\x06\xbaH\x03\xc8\x01\x01R\x03val\"e\n" + + "\x05AnyIn\x12\\\n" + + "\x03val\x18\x01 \x01(\v2\x14.google.protobuf.AnyB4\xbaH1\xa2\x01.\x12,type.googleapis.com/google.protobuf.DurationR\x03val\"i\n" + + "\bAnyNotIn\x12]\n" + + "\x03val\x18\x01 \x01(\v2\x14.google.protobuf.AnyB5\xbaH2\xa2\x01/\x1a-type.googleapis.com/google.protobuf.TimestampR\x03val\"]\n" + + "\x12AnyWrongTypeScalar\x12G\n" + + "\x03val\x18\x01 \x01(\tB5\xbaH2\xa2\x01/\x1a-type.googleapis.com/google.protobuf.TimestampR\x03val\"\xbd\x01\n" + + "\x13AnyWrongTypeMessage\x12\x86\x01\n" + + "\x03val\x18\x01 \x01(\v2=.buf.validate.conformance.cases.AnyWrongTypeMessage.WrongTypeB5\xbaH2\xa2\x01/\x1a-type.googleapis.com/google.protobuf.TimestampR\x03val\x1a\x1d\n" + + "\tWrongType\x12\x10\n" + + "\x03val\x18\x01 \x01(\x05R\x03val\"{\n" + + "\x13AnyWrongTypeWrapper\x12d\n" + + "\x03val\x18\x01 \x01(\v2\x1b.google.protobuf.Int32ValueB5\xbaH2\xa2\x01/\x1a-type.googleapis.com/google.protobuf.TimestampR\x03val\"v\n" + + "\x0fAnyWrongTypeWKT\x12c\n" + + "\x03val\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampB5\xbaH2\xa2\x01/\x1a-type.googleapis.com/google.protobuf.TimestampR\x03valB\xa8\x02\n" + + "\"com.buf.validate.conformance.casesB\vWktAnyProtoP\x01ZYgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Casesb\x06proto3" + +var ( + file_buf_validate_conformance_cases_wkt_any_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_wkt_any_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_wkt_any_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_wkt_any_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_wkt_any_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_wkt_any_proto_rawDesc), len(file_buf_validate_conformance_cases_wkt_any_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_wkt_any_proto_rawDescData +} + +var file_buf_validate_conformance_cases_wkt_any_proto_msgTypes = make([]protoimpl.MessageInfo, 9) +var file_buf_validate_conformance_cases_wkt_any_proto_goTypes = []any{ + (*AnyNone)(nil), // 0: buf.validate.conformance.cases.AnyNone + (*AnyRequired)(nil), // 1: buf.validate.conformance.cases.AnyRequired + (*AnyIn)(nil), // 2: buf.validate.conformance.cases.AnyIn + (*AnyNotIn)(nil), // 3: buf.validate.conformance.cases.AnyNotIn + (*AnyWrongTypeScalar)(nil), // 4: buf.validate.conformance.cases.AnyWrongTypeScalar + (*AnyWrongTypeMessage)(nil), // 5: buf.validate.conformance.cases.AnyWrongTypeMessage + (*AnyWrongTypeWrapper)(nil), // 6: buf.validate.conformance.cases.AnyWrongTypeWrapper + (*AnyWrongTypeWKT)(nil), // 7: buf.validate.conformance.cases.AnyWrongTypeWKT + (*AnyWrongTypeMessage_WrongType)(nil), // 8: buf.validate.conformance.cases.AnyWrongTypeMessage.WrongType + (*anypb.Any)(nil), // 9: google.protobuf.Any + (*wrapperspb.Int32Value)(nil), // 10: google.protobuf.Int32Value + (*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp +} +var file_buf_validate_conformance_cases_wkt_any_proto_depIdxs = []int32{ + 9, // 0: buf.validate.conformance.cases.AnyNone.val:type_name -> google.protobuf.Any + 9, // 1: buf.validate.conformance.cases.AnyRequired.val:type_name -> google.protobuf.Any + 9, // 2: buf.validate.conformance.cases.AnyIn.val:type_name -> google.protobuf.Any + 9, // 3: buf.validate.conformance.cases.AnyNotIn.val:type_name -> google.protobuf.Any + 8, // 4: buf.validate.conformance.cases.AnyWrongTypeMessage.val:type_name -> buf.validate.conformance.cases.AnyWrongTypeMessage.WrongType + 10, // 5: buf.validate.conformance.cases.AnyWrongTypeWrapper.val:type_name -> google.protobuf.Int32Value + 11, // 6: buf.validate.conformance.cases.AnyWrongTypeWKT.val:type_name -> google.protobuf.Timestamp + 7, // [7:7] is the sub-list for method output_type + 7, // [7:7] is the sub-list for method input_type + 7, // [7:7] is the sub-list for extension type_name + 7, // [7:7] is the sub-list for extension extendee + 0, // [0:7] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_wkt_any_proto_init() } +func file_buf_validate_conformance_cases_wkt_any_proto_init() { + if File_buf_validate_conformance_cases_wkt_any_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_wkt_any_proto_rawDesc), len(file_buf_validate_conformance_cases_wkt_any_proto_rawDesc)), + NumEnums: 0, + NumMessages: 9, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_wkt_any_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_wkt_any_proto_depIdxs, + MessageInfos: file_buf_validate_conformance_cases_wkt_any_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_wkt_any_proto = out.File + file_buf_validate_conformance_cases_wkt_any_proto_goTypes = nil + file_buf_validate_conformance_cases_wkt_any_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/wkt_duration.pb.go b/internal/gen/proto/buf/validate/conformance/cases/wkt_duration.pb.go new file mode 100644 index 00000000..092701f0 --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/wkt_duration.pb.go @@ -0,0 +1,1078 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/wkt_duration.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type DurationNone struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DurationNone) Reset() { + *x = DurationNone{} + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DurationNone) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DurationNone) ProtoMessage() {} + +func (x *DurationNone) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DurationNone.ProtoReflect.Descriptor instead. +func (*DurationNone) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_duration_proto_rawDescGZIP(), []int{0} +} + +func (x *DurationNone) GetVal() *durationpb.Duration { + if x != nil { + return x.Val + } + return nil +} + +type DurationRequired struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DurationRequired) Reset() { + *x = DurationRequired{} + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DurationRequired) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DurationRequired) ProtoMessage() {} + +func (x *DurationRequired) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DurationRequired.ProtoReflect.Descriptor instead. +func (*DurationRequired) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_duration_proto_rawDescGZIP(), []int{1} +} + +func (x *DurationRequired) GetVal() *durationpb.Duration { + if x != nil { + return x.Val + } + return nil +} + +type DurationConst struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DurationConst) Reset() { + *x = DurationConst{} + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DurationConst) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DurationConst) ProtoMessage() {} + +func (x *DurationConst) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DurationConst.ProtoReflect.Descriptor instead. +func (*DurationConst) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_duration_proto_rawDescGZIP(), []int{2} +} + +func (x *DurationConst) GetVal() *durationpb.Duration { + if x != nil { + return x.Val + } + return nil +} + +type DurationIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DurationIn) Reset() { + *x = DurationIn{} + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DurationIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DurationIn) ProtoMessage() {} + +func (x *DurationIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DurationIn.ProtoReflect.Descriptor instead. +func (*DurationIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_duration_proto_rawDescGZIP(), []int{3} +} + +func (x *DurationIn) GetVal() *durationpb.Duration { + if x != nil { + return x.Val + } + return nil +} + +type DurationNotIn struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DurationNotIn) Reset() { + *x = DurationNotIn{} + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DurationNotIn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DurationNotIn) ProtoMessage() {} + +func (x *DurationNotIn) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DurationNotIn.ProtoReflect.Descriptor instead. +func (*DurationNotIn) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_duration_proto_rawDescGZIP(), []int{4} +} + +func (x *DurationNotIn) GetVal() *durationpb.Duration { + if x != nil { + return x.Val + } + return nil +} + +type DurationLT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DurationLT) Reset() { + *x = DurationLT{} + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DurationLT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DurationLT) ProtoMessage() {} + +func (x *DurationLT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DurationLT.ProtoReflect.Descriptor instead. +func (*DurationLT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_duration_proto_rawDescGZIP(), []int{5} +} + +func (x *DurationLT) GetVal() *durationpb.Duration { + if x != nil { + return x.Val + } + return nil +} + +type DurationLTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DurationLTE) Reset() { + *x = DurationLTE{} + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DurationLTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DurationLTE) ProtoMessage() {} + +func (x *DurationLTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DurationLTE.ProtoReflect.Descriptor instead. +func (*DurationLTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_duration_proto_rawDescGZIP(), []int{6} +} + +func (x *DurationLTE) GetVal() *durationpb.Duration { + if x != nil { + return x.Val + } + return nil +} + +type DurationGT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DurationGT) Reset() { + *x = DurationGT{} + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DurationGT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DurationGT) ProtoMessage() {} + +func (x *DurationGT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DurationGT.ProtoReflect.Descriptor instead. +func (*DurationGT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_duration_proto_rawDescGZIP(), []int{7} +} + +func (x *DurationGT) GetVal() *durationpb.Duration { + if x != nil { + return x.Val + } + return nil +} + +type DurationGTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DurationGTE) Reset() { + *x = DurationGTE{} + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DurationGTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DurationGTE) ProtoMessage() {} + +func (x *DurationGTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DurationGTE.ProtoReflect.Descriptor instead. +func (*DurationGTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_duration_proto_rawDescGZIP(), []int{8} +} + +func (x *DurationGTE) GetVal() *durationpb.Duration { + if x != nil { + return x.Val + } + return nil +} + +type DurationGTLT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DurationGTLT) Reset() { + *x = DurationGTLT{} + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DurationGTLT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DurationGTLT) ProtoMessage() {} + +func (x *DurationGTLT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DurationGTLT.ProtoReflect.Descriptor instead. +func (*DurationGTLT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_duration_proto_rawDescGZIP(), []int{9} +} + +func (x *DurationGTLT) GetVal() *durationpb.Duration { + if x != nil { + return x.Val + } + return nil +} + +type DurationExLTGT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DurationExLTGT) Reset() { + *x = DurationExLTGT{} + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DurationExLTGT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DurationExLTGT) ProtoMessage() {} + +func (x *DurationExLTGT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DurationExLTGT.ProtoReflect.Descriptor instead. +func (*DurationExLTGT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_duration_proto_rawDescGZIP(), []int{10} +} + +func (x *DurationExLTGT) GetVal() *durationpb.Duration { + if x != nil { + return x.Val + } + return nil +} + +type DurationGTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DurationGTELTE) Reset() { + *x = DurationGTELTE{} + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DurationGTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DurationGTELTE) ProtoMessage() {} + +func (x *DurationGTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DurationGTELTE.ProtoReflect.Descriptor instead. +func (*DurationGTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_duration_proto_rawDescGZIP(), []int{11} +} + +func (x *DurationGTELTE) GetVal() *durationpb.Duration { + if x != nil { + return x.Val + } + return nil +} + +type DurationExGTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DurationExGTELTE) Reset() { + *x = DurationExGTELTE{} + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DurationExGTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DurationExGTELTE) ProtoMessage() {} + +func (x *DurationExGTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DurationExGTELTE.ProtoReflect.Descriptor instead. +func (*DurationExGTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_duration_proto_rawDescGZIP(), []int{12} +} + +func (x *DurationExGTELTE) GetVal() *durationpb.Duration { + if x != nil { + return x.Val + } + return nil +} + +// Regression for earlier bug where missing Duration field would short circuit +// evaluation in C++. +type DurationFieldWithOtherFields struct { + state protoimpl.MessageState `protogen:"open.v1"` + DurationVal *durationpb.Duration `protobuf:"bytes,1,opt,name=duration_val,json=durationVal,proto3" json:"duration_val,omitempty"` + IntVal int32 `protobuf:"varint,2,opt,name=int_val,json=intVal,proto3" json:"int_val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DurationFieldWithOtherFields) Reset() { + *x = DurationFieldWithOtherFields{} + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DurationFieldWithOtherFields) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DurationFieldWithOtherFields) ProtoMessage() {} + +func (x *DurationFieldWithOtherFields) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DurationFieldWithOtherFields.ProtoReflect.Descriptor instead. +func (*DurationFieldWithOtherFields) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_duration_proto_rawDescGZIP(), []int{13} +} + +func (x *DurationFieldWithOtherFields) GetDurationVal() *durationpb.Duration { + if x != nil { + return x.DurationVal + } + return nil +} + +func (x *DurationFieldWithOtherFields) GetIntVal() int32 { + if x != nil { + return x.IntVal + } + return 0 +} + +type DurationExample struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DurationExample) Reset() { + *x = DurationExample{} + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DurationExample) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DurationExample) ProtoMessage() {} + +func (x *DurationExample) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DurationExample.ProtoReflect.Descriptor instead. +func (*DurationExample) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_duration_proto_rawDescGZIP(), []int{14} +} + +func (x *DurationExample) GetVal() *durationpb.Duration { + if x != nil { + return x.Val + } + return nil +} + +// The below messages should throw compilation errors due to incorrect types. +type DurationWrongTypeScalar struct { + state protoimpl.MessageState `protogen:"open.v1"` + Seconds int32 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DurationWrongTypeScalar) Reset() { + *x = DurationWrongTypeScalar{} + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DurationWrongTypeScalar) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DurationWrongTypeScalar) ProtoMessage() {} + +func (x *DurationWrongTypeScalar) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[15] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DurationWrongTypeScalar.ProtoReflect.Descriptor instead. +func (*DurationWrongTypeScalar) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_duration_proto_rawDescGZIP(), []int{15} +} + +func (x *DurationWrongTypeScalar) GetSeconds() int32 { + if x != nil { + return x.Seconds + } + return 0 +} + +type DurationWrongTypeMessage struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *DurationWrongTypeMessage_WrongType `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DurationWrongTypeMessage) Reset() { + *x = DurationWrongTypeMessage{} + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DurationWrongTypeMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DurationWrongTypeMessage) ProtoMessage() {} + +func (x *DurationWrongTypeMessage) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[16] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DurationWrongTypeMessage.ProtoReflect.Descriptor instead. +func (*DurationWrongTypeMessage) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_duration_proto_rawDescGZIP(), []int{16} +} + +func (x *DurationWrongTypeMessage) GetVal() *DurationWrongTypeMessage_WrongType { + if x != nil { + return x.Val + } + return nil +} + +type DurationWrongTypeWrapper struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DurationWrongTypeWrapper) Reset() { + *x = DurationWrongTypeWrapper{} + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DurationWrongTypeWrapper) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DurationWrongTypeWrapper) ProtoMessage() {} + +func (x *DurationWrongTypeWrapper) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[17] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DurationWrongTypeWrapper.ProtoReflect.Descriptor instead. +func (*DurationWrongTypeWrapper) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_duration_proto_rawDescGZIP(), []int{17} +} + +func (x *DurationWrongTypeWrapper) GetVal() *wrapperspb.Int32Value { + if x != nil { + return x.Val + } + return nil +} + +type DurationWrongTypeWKT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DurationWrongTypeWKT) Reset() { + *x = DurationWrongTypeWKT{} + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DurationWrongTypeWKT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DurationWrongTypeWKT) ProtoMessage() {} + +func (x *DurationWrongTypeWKT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[18] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DurationWrongTypeWKT.ProtoReflect.Descriptor instead. +func (*DurationWrongTypeWKT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_duration_proto_rawDescGZIP(), []int{18} +} + +func (x *DurationWrongTypeWKT) GetVal() *timestamppb.Timestamp { + if x != nil { + return x.Val + } + return nil +} + +type DurationWrongTypeMessage_WrongType struct { + state protoimpl.MessageState `protogen:"open.v1"` + Seconds int32 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DurationWrongTypeMessage_WrongType) Reset() { + *x = DurationWrongTypeMessage_WrongType{} + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DurationWrongTypeMessage_WrongType) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DurationWrongTypeMessage_WrongType) ProtoMessage() {} + +func (x *DurationWrongTypeMessage_WrongType) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes[19] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DurationWrongTypeMessage_WrongType.ProtoReflect.Descriptor instead. +func (*DurationWrongTypeMessage_WrongType) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_duration_proto_rawDescGZIP(), []int{16, 0} +} + +func (x *DurationWrongTypeMessage_WrongType) GetSeconds() int32 { + if x != nil { + return x.Seconds + } + return 0 +} + +var File_buf_validate_conformance_cases_wkt_duration_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_wkt_duration_proto_rawDesc = "" + + "\n" + + "1buf/validate/conformance/cases/wkt_duration.proto\x12\x1ebuf.validate.conformance.cases\x1a\x1bbuf/validate/validate.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\";\n" + + "\fDurationNone\x12+\n" + + "\x03val\x18\x01 \x01(\v2\x19.google.protobuf.DurationR\x03val\"G\n" + + "\x10DurationRequired\x123\n" + + "\x03val\x18\x01 \x01(\v2\x19.google.protobuf.DurationB\x06\xbaH\x03\xc8\x01\x01R\x03val\"H\n" + + "\rDurationConst\x127\n" + + "\x03val\x18\x01 \x01(\v2\x19.google.protobuf.DurationB\n" + + "\xbaH\a\xaa\x01\x04\x12\x02\b\x03R\x03val\"J\n" + + "\n" + + "DurationIn\x12<\n" + + "\x03val\x18\x01 \x01(\v2\x19.google.protobuf.DurationB\x0f\xbaH\f\xaa\x01\t:\x02\b\x01:\x03\x10\xe8\aR\x03val\"F\n" + + "\rDurationNotIn\x125\n" + + "\x03val\x18\x01 \x01(\v2\x19.google.protobuf.DurationB\b\xbaH\x05\xaa\x01\x02B\x00R\x03val\"C\n" + + "\n" + + "DurationLT\x125\n" + + "\x03val\x18\x01 \x01(\v2\x19.google.protobuf.DurationB\b\xbaH\x05\xaa\x01\x02\x1a\x00R\x03val\"F\n" + + "\vDurationLTE\x127\n" + + "\x03val\x18\x01 \x01(\v2\x19.google.protobuf.DurationB\n" + + "\xbaH\a\xaa\x01\x04\"\x02\b\x01R\x03val\"F\n" + + "\n" + + "DurationGT\x128\n" + + "\x03val\x18\x01 \x01(\v2\x19.google.protobuf.DurationB\v\xbaH\b\xaa\x01\x05*\x03\x10\xe8\aR\x03val\"H\n" + + "\vDurationGTE\x129\n" + + "\x03val\x18\x01 \x01(\v2\x19.google.protobuf.DurationB\f\xbaH\t\xaa\x01\x062\x04\x10\xc0\x84=R\x03val\"I\n" + + "\fDurationGTLT\x129\n" + + "\x03val\x18\x01 \x01(\v2\x19.google.protobuf.DurationB\f\xbaH\t\xaa\x01\x06\x1a\x02\b\x01*\x00R\x03val\"K\n" + + "\x0eDurationExLTGT\x129\n" + + "\x03val\x18\x01 \x01(\v2\x19.google.protobuf.DurationB\f\xbaH\t\xaa\x01\x06\x1a\x00*\x02\b\x01R\x03val\"N\n" + + "\x0eDurationGTELTE\x12<\n" + + "\x03val\x18\x01 \x01(\v2\x19.google.protobuf.DurationB\x0f\xbaH\f\xaa\x01\t\"\x03\b\x90\x1c2\x02\b google.protobuf.Duration + 20, // 1: buf.validate.conformance.cases.DurationRequired.val:type_name -> google.protobuf.Duration + 20, // 2: buf.validate.conformance.cases.DurationConst.val:type_name -> google.protobuf.Duration + 20, // 3: buf.validate.conformance.cases.DurationIn.val:type_name -> google.protobuf.Duration + 20, // 4: buf.validate.conformance.cases.DurationNotIn.val:type_name -> google.protobuf.Duration + 20, // 5: buf.validate.conformance.cases.DurationLT.val:type_name -> google.protobuf.Duration + 20, // 6: buf.validate.conformance.cases.DurationLTE.val:type_name -> google.protobuf.Duration + 20, // 7: buf.validate.conformance.cases.DurationGT.val:type_name -> google.protobuf.Duration + 20, // 8: buf.validate.conformance.cases.DurationGTE.val:type_name -> google.protobuf.Duration + 20, // 9: buf.validate.conformance.cases.DurationGTLT.val:type_name -> google.protobuf.Duration + 20, // 10: buf.validate.conformance.cases.DurationExLTGT.val:type_name -> google.protobuf.Duration + 20, // 11: buf.validate.conformance.cases.DurationGTELTE.val:type_name -> google.protobuf.Duration + 20, // 12: buf.validate.conformance.cases.DurationExGTELTE.val:type_name -> google.protobuf.Duration + 20, // 13: buf.validate.conformance.cases.DurationFieldWithOtherFields.duration_val:type_name -> google.protobuf.Duration + 20, // 14: buf.validate.conformance.cases.DurationExample.val:type_name -> google.protobuf.Duration + 19, // 15: buf.validate.conformance.cases.DurationWrongTypeMessage.val:type_name -> buf.validate.conformance.cases.DurationWrongTypeMessage.WrongType + 21, // 16: buf.validate.conformance.cases.DurationWrongTypeWrapper.val:type_name -> google.protobuf.Int32Value + 22, // 17: buf.validate.conformance.cases.DurationWrongTypeWKT.val:type_name -> google.protobuf.Timestamp + 18, // [18:18] is the sub-list for method output_type + 18, // [18:18] is the sub-list for method input_type + 18, // [18:18] is the sub-list for extension type_name + 18, // [18:18] is the sub-list for extension extendee + 0, // [0:18] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_wkt_duration_proto_init() } +func file_buf_validate_conformance_cases_wkt_duration_proto_init() { + if File_buf_validate_conformance_cases_wkt_duration_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_wkt_duration_proto_rawDesc), len(file_buf_validate_conformance_cases_wkt_duration_proto_rawDesc)), + NumEnums: 0, + NumMessages: 20, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_wkt_duration_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_wkt_duration_proto_depIdxs, + MessageInfos: file_buf_validate_conformance_cases_wkt_duration_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_wkt_duration_proto = out.File + file_buf_validate_conformance_cases_wkt_duration_proto_goTypes = nil + file_buf_validate_conformance_cases_wkt_duration_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/wkt_nested.pb.go b/internal/gen/proto/buf/validate/conformance/cases/wkt_nested.pb.go new file mode 100644 index 00000000..70029c9b --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/wkt_nested.pb.go @@ -0,0 +1,234 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/wkt_nested.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type WktLevelOne struct { + state protoimpl.MessageState `protogen:"open.v1"` + Two *WktLevelOne_WktLevelTwo `protobuf:"bytes,1,opt,name=two,proto3" json:"two,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *WktLevelOne) Reset() { + *x = WktLevelOne{} + mi := &file_buf_validate_conformance_cases_wkt_nested_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *WktLevelOne) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WktLevelOne) ProtoMessage() {} + +func (x *WktLevelOne) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_nested_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WktLevelOne.ProtoReflect.Descriptor instead. +func (*WktLevelOne) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_nested_proto_rawDescGZIP(), []int{0} +} + +func (x *WktLevelOne) GetTwo() *WktLevelOne_WktLevelTwo { + if x != nil { + return x.Two + } + return nil +} + +type WktLevelOne_WktLevelTwo struct { + state protoimpl.MessageState `protogen:"open.v1"` + Three *WktLevelOne_WktLevelTwo_WktLevelThree `protobuf:"bytes,1,opt,name=three,proto3" json:"three,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *WktLevelOne_WktLevelTwo) Reset() { + *x = WktLevelOne_WktLevelTwo{} + mi := &file_buf_validate_conformance_cases_wkt_nested_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *WktLevelOne_WktLevelTwo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WktLevelOne_WktLevelTwo) ProtoMessage() {} + +func (x *WktLevelOne_WktLevelTwo) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_nested_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WktLevelOne_WktLevelTwo.ProtoReflect.Descriptor instead. +func (*WktLevelOne_WktLevelTwo) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_nested_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *WktLevelOne_WktLevelTwo) GetThree() *WktLevelOne_WktLevelTwo_WktLevelThree { + if x != nil { + return x.Three + } + return nil +} + +type WktLevelOne_WktLevelTwo_WktLevelThree struct { + state protoimpl.MessageState `protogen:"open.v1"` + Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *WktLevelOne_WktLevelTwo_WktLevelThree) Reset() { + *x = WktLevelOne_WktLevelTwo_WktLevelThree{} + mi := &file_buf_validate_conformance_cases_wkt_nested_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *WktLevelOne_WktLevelTwo_WktLevelThree) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WktLevelOne_WktLevelTwo_WktLevelThree) ProtoMessage() {} + +func (x *WktLevelOne_WktLevelTwo_WktLevelThree) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_nested_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WktLevelOne_WktLevelTwo_WktLevelThree.ProtoReflect.Descriptor instead. +func (*WktLevelOne_WktLevelTwo_WktLevelThree) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_nested_proto_rawDescGZIP(), []int{0, 0, 0} +} + +func (x *WktLevelOne_WktLevelTwo_WktLevelThree) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + +var File_buf_validate_conformance_cases_wkt_nested_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_wkt_nested_proto_rawDesc = "" + + "\n" + + "/buf/validate/conformance/cases/wkt_nested.proto\x12\x1ebuf.validate.conformance.cases\x1a\x1bbuf/validate/validate.proto\"\x84\x02\n" + + "\vWktLevelOne\x12Q\n" + + "\x03two\x18\x01 \x01(\v27.buf.validate.conformance.cases.WktLevelOne.WktLevelTwoB\x06\xbaH\x03\xc8\x01\x01R\x03two\x1a\xa1\x01\n" + + "\vWktLevelTwo\x12c\n" + + "\x05three\x18\x01 \x01(\v2E.buf.validate.conformance.cases.WktLevelOne.WktLevelTwo.WktLevelThreeB\x06\xbaH\x03\xc8\x01\x01R\x05three\x1a-\n" + + "\rWktLevelThree\x12\x1c\n" + + "\x04uuid\x18\x01 \x01(\tB\b\xbaH\x05r\x03\xb0\x01\x01R\x04uuidB\xab\x02\n" + + "\"com.buf.validate.conformance.casesB\x0eWktNestedProtoP\x01ZYgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Casesb\x06proto3" + +var ( + file_buf_validate_conformance_cases_wkt_nested_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_wkt_nested_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_wkt_nested_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_wkt_nested_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_wkt_nested_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_wkt_nested_proto_rawDesc), len(file_buf_validate_conformance_cases_wkt_nested_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_wkt_nested_proto_rawDescData +} + +var file_buf_validate_conformance_cases_wkt_nested_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_buf_validate_conformance_cases_wkt_nested_proto_goTypes = []any{ + (*WktLevelOne)(nil), // 0: buf.validate.conformance.cases.WktLevelOne + (*WktLevelOne_WktLevelTwo)(nil), // 1: buf.validate.conformance.cases.WktLevelOne.WktLevelTwo + (*WktLevelOne_WktLevelTwo_WktLevelThree)(nil), // 2: buf.validate.conformance.cases.WktLevelOne.WktLevelTwo.WktLevelThree +} +var file_buf_validate_conformance_cases_wkt_nested_proto_depIdxs = []int32{ + 1, // 0: buf.validate.conformance.cases.WktLevelOne.two:type_name -> buf.validate.conformance.cases.WktLevelOne.WktLevelTwo + 2, // 1: buf.validate.conformance.cases.WktLevelOne.WktLevelTwo.three:type_name -> buf.validate.conformance.cases.WktLevelOne.WktLevelTwo.WktLevelThree + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_wkt_nested_proto_init() } +func file_buf_validate_conformance_cases_wkt_nested_proto_init() { + if File_buf_validate_conformance_cases_wkt_nested_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_wkt_nested_proto_rawDesc), len(file_buf_validate_conformance_cases_wkt_nested_proto_rawDesc)), + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_wkt_nested_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_wkt_nested_proto_depIdxs, + MessageInfos: file_buf_validate_conformance_cases_wkt_nested_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_wkt_nested_proto = out.File + file_buf_validate_conformance_cases_wkt_nested_proto_goTypes = nil + file_buf_validate_conformance_cases_wkt_nested_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/wkt_timestamp.pb.go b/internal/gen/proto/buf/validate/conformance/cases/wkt_timestamp.pb.go new file mode 100644 index 00000000..f7d40867 --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/wkt_timestamp.pb.go @@ -0,0 +1,1253 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/wkt_timestamp.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TimestampNone struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TimestampNone) Reset() { + *x = TimestampNone{} + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TimestampNone) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimestampNone) ProtoMessage() {} + +func (x *TimestampNone) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimestampNone.ProtoReflect.Descriptor instead. +func (*TimestampNone) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDescGZIP(), []int{0} +} + +func (x *TimestampNone) GetVal() *timestamppb.Timestamp { + if x != nil { + return x.Val + } + return nil +} + +type TimestampRequired struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TimestampRequired) Reset() { + *x = TimestampRequired{} + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TimestampRequired) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimestampRequired) ProtoMessage() {} + +func (x *TimestampRequired) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimestampRequired.ProtoReflect.Descriptor instead. +func (*TimestampRequired) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDescGZIP(), []int{1} +} + +func (x *TimestampRequired) GetVal() *timestamppb.Timestamp { + if x != nil { + return x.Val + } + return nil +} + +type TimestampConst struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TimestampConst) Reset() { + *x = TimestampConst{} + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TimestampConst) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimestampConst) ProtoMessage() {} + +func (x *TimestampConst) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimestampConst.ProtoReflect.Descriptor instead. +func (*TimestampConst) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDescGZIP(), []int{2} +} + +func (x *TimestampConst) GetVal() *timestamppb.Timestamp { + if x != nil { + return x.Val + } + return nil +} + +type TimestampLT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TimestampLT) Reset() { + *x = TimestampLT{} + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TimestampLT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimestampLT) ProtoMessage() {} + +func (x *TimestampLT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimestampLT.ProtoReflect.Descriptor instead. +func (*TimestampLT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDescGZIP(), []int{3} +} + +func (x *TimestampLT) GetVal() *timestamppb.Timestamp { + if x != nil { + return x.Val + } + return nil +} + +type TimestampLTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TimestampLTE) Reset() { + *x = TimestampLTE{} + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TimestampLTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimestampLTE) ProtoMessage() {} + +func (x *TimestampLTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimestampLTE.ProtoReflect.Descriptor instead. +func (*TimestampLTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDescGZIP(), []int{4} +} + +func (x *TimestampLTE) GetVal() *timestamppb.Timestamp { + if x != nil { + return x.Val + } + return nil +} + +type TimestampGT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TimestampGT) Reset() { + *x = TimestampGT{} + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TimestampGT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimestampGT) ProtoMessage() {} + +func (x *TimestampGT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimestampGT.ProtoReflect.Descriptor instead. +func (*TimestampGT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDescGZIP(), []int{5} +} + +func (x *TimestampGT) GetVal() *timestamppb.Timestamp { + if x != nil { + return x.Val + } + return nil +} + +type TimestampGTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TimestampGTE) Reset() { + *x = TimestampGTE{} + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TimestampGTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimestampGTE) ProtoMessage() {} + +func (x *TimestampGTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimestampGTE.ProtoReflect.Descriptor instead. +func (*TimestampGTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDescGZIP(), []int{6} +} + +func (x *TimestampGTE) GetVal() *timestamppb.Timestamp { + if x != nil { + return x.Val + } + return nil +} + +type TimestampGTLT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TimestampGTLT) Reset() { + *x = TimestampGTLT{} + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TimestampGTLT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimestampGTLT) ProtoMessage() {} + +func (x *TimestampGTLT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimestampGTLT.ProtoReflect.Descriptor instead. +func (*TimestampGTLT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDescGZIP(), []int{7} +} + +func (x *TimestampGTLT) GetVal() *timestamppb.Timestamp { + if x != nil { + return x.Val + } + return nil +} + +type TimestampExLTGT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TimestampExLTGT) Reset() { + *x = TimestampExLTGT{} + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TimestampExLTGT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimestampExLTGT) ProtoMessage() {} + +func (x *TimestampExLTGT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimestampExLTGT.ProtoReflect.Descriptor instead. +func (*TimestampExLTGT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDescGZIP(), []int{8} +} + +func (x *TimestampExLTGT) GetVal() *timestamppb.Timestamp { + if x != nil { + return x.Val + } + return nil +} + +type TimestampGTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TimestampGTELTE) Reset() { + *x = TimestampGTELTE{} + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TimestampGTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimestampGTELTE) ProtoMessage() {} + +func (x *TimestampGTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimestampGTELTE.ProtoReflect.Descriptor instead. +func (*TimestampGTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDescGZIP(), []int{9} +} + +func (x *TimestampGTELTE) GetVal() *timestamppb.Timestamp { + if x != nil { + return x.Val + } + return nil +} + +type TimestampExGTELTE struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TimestampExGTELTE) Reset() { + *x = TimestampExGTELTE{} + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TimestampExGTELTE) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimestampExGTELTE) ProtoMessage() {} + +func (x *TimestampExGTELTE) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimestampExGTELTE.ProtoReflect.Descriptor instead. +func (*TimestampExGTELTE) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDescGZIP(), []int{10} +} + +func (x *TimestampExGTELTE) GetVal() *timestamppb.Timestamp { + if x != nil { + return x.Val + } + return nil +} + +type TimestampLTNow struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TimestampLTNow) Reset() { + *x = TimestampLTNow{} + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TimestampLTNow) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimestampLTNow) ProtoMessage() {} + +func (x *TimestampLTNow) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimestampLTNow.ProtoReflect.Descriptor instead. +func (*TimestampLTNow) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDescGZIP(), []int{11} +} + +func (x *TimestampLTNow) GetVal() *timestamppb.Timestamp { + if x != nil { + return x.Val + } + return nil +} + +type TimestampNotLTNow struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TimestampNotLTNow) Reset() { + *x = TimestampNotLTNow{} + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TimestampNotLTNow) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimestampNotLTNow) ProtoMessage() {} + +func (x *TimestampNotLTNow) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimestampNotLTNow.ProtoReflect.Descriptor instead. +func (*TimestampNotLTNow) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDescGZIP(), []int{12} +} + +func (x *TimestampNotLTNow) GetVal() *timestamppb.Timestamp { + if x != nil { + return x.Val + } + return nil +} + +type TimestampGTNow struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TimestampGTNow) Reset() { + *x = TimestampGTNow{} + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TimestampGTNow) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimestampGTNow) ProtoMessage() {} + +func (x *TimestampGTNow) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimestampGTNow.ProtoReflect.Descriptor instead. +func (*TimestampGTNow) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDescGZIP(), []int{13} +} + +func (x *TimestampGTNow) GetVal() *timestamppb.Timestamp { + if x != nil { + return x.Val + } + return nil +} + +type TimestampNotGTNow struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TimestampNotGTNow) Reset() { + *x = TimestampNotGTNow{} + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TimestampNotGTNow) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimestampNotGTNow) ProtoMessage() {} + +func (x *TimestampNotGTNow) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimestampNotGTNow.ProtoReflect.Descriptor instead. +func (*TimestampNotGTNow) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDescGZIP(), []int{14} +} + +func (x *TimestampNotGTNow) GetVal() *timestamppb.Timestamp { + if x != nil { + return x.Val + } + return nil +} + +type TimestampWithin struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TimestampWithin) Reset() { + *x = TimestampWithin{} + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TimestampWithin) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimestampWithin) ProtoMessage() {} + +func (x *TimestampWithin) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[15] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimestampWithin.ProtoReflect.Descriptor instead. +func (*TimestampWithin) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDescGZIP(), []int{15} +} + +func (x *TimestampWithin) GetVal() *timestamppb.Timestamp { + if x != nil { + return x.Val + } + return nil +} + +type TimestampLTNowWithin struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TimestampLTNowWithin) Reset() { + *x = TimestampLTNowWithin{} + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TimestampLTNowWithin) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimestampLTNowWithin) ProtoMessage() {} + +func (x *TimestampLTNowWithin) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[16] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimestampLTNowWithin.ProtoReflect.Descriptor instead. +func (*TimestampLTNowWithin) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDescGZIP(), []int{16} +} + +func (x *TimestampLTNowWithin) GetVal() *timestamppb.Timestamp { + if x != nil { + return x.Val + } + return nil +} + +type TimestampGTNowWithin struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TimestampGTNowWithin) Reset() { + *x = TimestampGTNowWithin{} + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TimestampGTNowWithin) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimestampGTNowWithin) ProtoMessage() {} + +func (x *TimestampGTNowWithin) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[17] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimestampGTNowWithin.ProtoReflect.Descriptor instead. +func (*TimestampGTNowWithin) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDescGZIP(), []int{17} +} + +func (x *TimestampGTNowWithin) GetVal() *timestamppb.Timestamp { + if x != nil { + return x.Val + } + return nil +} + +type TimestampExample struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TimestampExample) Reset() { + *x = TimestampExample{} + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TimestampExample) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimestampExample) ProtoMessage() {} + +func (x *TimestampExample) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[18] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimestampExample.ProtoReflect.Descriptor instead. +func (*TimestampExample) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDescGZIP(), []int{18} +} + +func (x *TimestampExample) GetVal() *timestamppb.Timestamp { + if x != nil { + return x.Val + } + return nil +} + +// The below messages should throw compilation errors due to rules being applied toincorrect types. +type TimestampWrongTypeScalar struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TimestampWrongTypeScalar) Reset() { + *x = TimestampWrongTypeScalar{} + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TimestampWrongTypeScalar) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimestampWrongTypeScalar) ProtoMessage() {} + +func (x *TimestampWrongTypeScalar) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[19] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimestampWrongTypeScalar.ProtoReflect.Descriptor instead. +func (*TimestampWrongTypeScalar) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDescGZIP(), []int{19} +} + +func (x *TimestampWrongTypeScalar) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +type TimestampWrongTypeMessage struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *TimestampWrongTypeMessage_WrongType `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TimestampWrongTypeMessage) Reset() { + *x = TimestampWrongTypeMessage{} + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TimestampWrongTypeMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimestampWrongTypeMessage) ProtoMessage() {} + +func (x *TimestampWrongTypeMessage) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[20] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimestampWrongTypeMessage.ProtoReflect.Descriptor instead. +func (*TimestampWrongTypeMessage) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDescGZIP(), []int{20} +} + +func (x *TimestampWrongTypeMessage) GetVal() *TimestampWrongTypeMessage_WrongType { + if x != nil { + return x.Val + } + return nil +} + +type TimestampWrongTypeWrapper struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TimestampWrongTypeWrapper) Reset() { + *x = TimestampWrongTypeWrapper{} + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TimestampWrongTypeWrapper) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimestampWrongTypeWrapper) ProtoMessage() {} + +func (x *TimestampWrongTypeWrapper) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[21] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimestampWrongTypeWrapper.ProtoReflect.Descriptor instead. +func (*TimestampWrongTypeWrapper) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDescGZIP(), []int{21} +} + +func (x *TimestampWrongTypeWrapper) GetVal() *wrapperspb.Int32Value { + if x != nil { + return x.Val + } + return nil +} + +type TimestampWrongTypeWKT struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *durationpb.Duration `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TimestampWrongTypeWKT) Reset() { + *x = TimestampWrongTypeWKT{} + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TimestampWrongTypeWKT) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimestampWrongTypeWKT) ProtoMessage() {} + +func (x *TimestampWrongTypeWKT) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[22] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimestampWrongTypeWKT.ProtoReflect.Descriptor instead. +func (*TimestampWrongTypeWKT) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDescGZIP(), []int{22} +} + +func (x *TimestampWrongTypeWKT) GetVal() *durationpb.Duration { + if x != nil { + return x.Val + } + return nil +} + +type TimestampWrongTypeMessage_WrongType struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TimestampWrongTypeMessage_WrongType) Reset() { + *x = TimestampWrongTypeMessage_WrongType{} + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TimestampWrongTypeMessage_WrongType) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimestampWrongTypeMessage_WrongType) ProtoMessage() {} + +func (x *TimestampWrongTypeMessage_WrongType) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes[23] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimestampWrongTypeMessage_WrongType.ProtoReflect.Descriptor instead. +func (*TimestampWrongTypeMessage_WrongType) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDescGZIP(), []int{20, 0} +} + +func (x *TimestampWrongTypeMessage_WrongType) GetVal() int32 { + if x != nil { + return x.Val + } + return 0 +} + +var File_buf_validate_conformance_cases_wkt_timestamp_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDesc = "" + + "\n" + + "2buf/validate/conformance/cases/wkt_timestamp.proto\x12\x1ebuf.validate.conformance.cases\x1a\x1bbuf/validate/validate.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"=\n" + + "\rTimestampNone\x12,\n" + + "\x03val\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\x03val\"I\n" + + "\x11TimestampRequired\x124\n" + + "\x03val\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampB\x06\xbaH\x03\xc8\x01\x01R\x03val\"J\n" + + "\x0eTimestampConst\x128\n" + + "\x03val\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampB\n" + + "\xbaH\a\xb2\x01\x04\x12\x02\b\x03R\x03val\"E\n" + + "\vTimestampLT\x126\n" + + "\x03val\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampB\b\xbaH\x05\xb2\x01\x02\x1a\x00R\x03val\"H\n" + + "\fTimestampLTE\x128\n" + + "\x03val\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampB\n" + + "\xbaH\a\xb2\x01\x04\"\x02\b\x01R\x03val\"H\n" + + "\vTimestampGT\x129\n" + + "\x03val\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampB\v\xbaH\b\xb2\x01\x05*\x03\x10\xe8\aR\x03val\"J\n" + + "\fTimestampGTE\x12:\n" + + "\x03val\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampB\f\xbaH\t\xb2\x01\x062\x04\x10\xc0\x84=R\x03val\"K\n" + + "\rTimestampGTLT\x12:\n" + + "\x03val\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampB\f\xbaH\t\xb2\x01\x06\x1a\x02\b\x01*\x00R\x03val\"M\n" + + "\x0fTimestampExLTGT\x12:\n" + + "\x03val\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampB\f\xbaH\t\xb2\x01\x06\x1a\x00*\x02\b\x01R\x03val\"P\n" + + "\x0fTimestampGTELTE\x12=\n" + + "\x03val\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampB\x0f\xbaH\f\xb2\x01\t\"\x03\b\x90\x1c2\x02\b google.protobuf.Timestamp + 24, // 1: buf.validate.conformance.cases.TimestampRequired.val:type_name -> google.protobuf.Timestamp + 24, // 2: buf.validate.conformance.cases.TimestampConst.val:type_name -> google.protobuf.Timestamp + 24, // 3: buf.validate.conformance.cases.TimestampLT.val:type_name -> google.protobuf.Timestamp + 24, // 4: buf.validate.conformance.cases.TimestampLTE.val:type_name -> google.protobuf.Timestamp + 24, // 5: buf.validate.conformance.cases.TimestampGT.val:type_name -> google.protobuf.Timestamp + 24, // 6: buf.validate.conformance.cases.TimestampGTE.val:type_name -> google.protobuf.Timestamp + 24, // 7: buf.validate.conformance.cases.TimestampGTLT.val:type_name -> google.protobuf.Timestamp + 24, // 8: buf.validate.conformance.cases.TimestampExLTGT.val:type_name -> google.protobuf.Timestamp + 24, // 9: buf.validate.conformance.cases.TimestampGTELTE.val:type_name -> google.protobuf.Timestamp + 24, // 10: buf.validate.conformance.cases.TimestampExGTELTE.val:type_name -> google.protobuf.Timestamp + 24, // 11: buf.validate.conformance.cases.TimestampLTNow.val:type_name -> google.protobuf.Timestamp + 24, // 12: buf.validate.conformance.cases.TimestampNotLTNow.val:type_name -> google.protobuf.Timestamp + 24, // 13: buf.validate.conformance.cases.TimestampGTNow.val:type_name -> google.protobuf.Timestamp + 24, // 14: buf.validate.conformance.cases.TimestampNotGTNow.val:type_name -> google.protobuf.Timestamp + 24, // 15: buf.validate.conformance.cases.TimestampWithin.val:type_name -> google.protobuf.Timestamp + 24, // 16: buf.validate.conformance.cases.TimestampLTNowWithin.val:type_name -> google.protobuf.Timestamp + 24, // 17: buf.validate.conformance.cases.TimestampGTNowWithin.val:type_name -> google.protobuf.Timestamp + 24, // 18: buf.validate.conformance.cases.TimestampExample.val:type_name -> google.protobuf.Timestamp + 23, // 19: buf.validate.conformance.cases.TimestampWrongTypeMessage.val:type_name -> buf.validate.conformance.cases.TimestampWrongTypeMessage.WrongType + 25, // 20: buf.validate.conformance.cases.TimestampWrongTypeWrapper.val:type_name -> google.protobuf.Int32Value + 26, // 21: buf.validate.conformance.cases.TimestampWrongTypeWKT.val:type_name -> google.protobuf.Duration + 22, // [22:22] is the sub-list for method output_type + 22, // [22:22] is the sub-list for method input_type + 22, // [22:22] is the sub-list for extension type_name + 22, // [22:22] is the sub-list for extension extendee + 0, // [0:22] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_wkt_timestamp_proto_init() } +func file_buf_validate_conformance_cases_wkt_timestamp_proto_init() { + if File_buf_validate_conformance_cases_wkt_timestamp_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDesc), len(file_buf_validate_conformance_cases_wkt_timestamp_proto_rawDesc)), + NumEnums: 0, + NumMessages: 24, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_wkt_timestamp_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_wkt_timestamp_proto_depIdxs, + MessageInfos: file_buf_validate_conformance_cases_wkt_timestamp_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_wkt_timestamp_proto = out.File + file_buf_validate_conformance_cases_wkt_timestamp_proto_goTypes = nil + file_buf_validate_conformance_cases_wkt_timestamp_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/wkt_wrappers.pb.go b/internal/gen/proto/buf/validate/conformance/cases/wkt_wrappers.pb.go new file mode 100644 index 00000000..2dd856fc --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/wkt_wrappers.pb.go @@ -0,0 +1,782 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/wkt_wrappers.proto + +package cases + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type WrapperNone struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *WrapperNone) Reset() { + *x = WrapperNone{} + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *WrapperNone) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WrapperNone) ProtoMessage() {} + +func (x *WrapperNone) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WrapperNone.ProtoReflect.Descriptor instead. +func (*WrapperNone) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDescGZIP(), []int{0} +} + +func (x *WrapperNone) GetVal() *wrapperspb.Int32Value { + if x != nil { + return x.Val + } + return nil +} + +type WrapperFloat struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.FloatValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *WrapperFloat) Reset() { + *x = WrapperFloat{} + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *WrapperFloat) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WrapperFloat) ProtoMessage() {} + +func (x *WrapperFloat) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WrapperFloat.ProtoReflect.Descriptor instead. +func (*WrapperFloat) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDescGZIP(), []int{1} +} + +func (x *WrapperFloat) GetVal() *wrapperspb.FloatValue { + if x != nil { + return x.Val + } + return nil +} + +type WrapperDouble struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.DoubleValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *WrapperDouble) Reset() { + *x = WrapperDouble{} + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *WrapperDouble) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WrapperDouble) ProtoMessage() {} + +func (x *WrapperDouble) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WrapperDouble.ProtoReflect.Descriptor instead. +func (*WrapperDouble) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDescGZIP(), []int{2} +} + +func (x *WrapperDouble) GetVal() *wrapperspb.DoubleValue { + if x != nil { + return x.Val + } + return nil +} + +type WrapperInt64 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *WrapperInt64) Reset() { + *x = WrapperInt64{} + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *WrapperInt64) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WrapperInt64) ProtoMessage() {} + +func (x *WrapperInt64) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WrapperInt64.ProtoReflect.Descriptor instead. +func (*WrapperInt64) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDescGZIP(), []int{3} +} + +func (x *WrapperInt64) GetVal() *wrapperspb.Int64Value { + if x != nil { + return x.Val + } + return nil +} + +type WrapperInt32 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *WrapperInt32) Reset() { + *x = WrapperInt32{} + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *WrapperInt32) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WrapperInt32) ProtoMessage() {} + +func (x *WrapperInt32) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WrapperInt32.ProtoReflect.Descriptor instead. +func (*WrapperInt32) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDescGZIP(), []int{4} +} + +func (x *WrapperInt32) GetVal() *wrapperspb.Int32Value { + if x != nil { + return x.Val + } + return nil +} + +type WrapperUInt64 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.UInt64Value `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *WrapperUInt64) Reset() { + *x = WrapperUInt64{} + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *WrapperUInt64) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WrapperUInt64) ProtoMessage() {} + +func (x *WrapperUInt64) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WrapperUInt64.ProtoReflect.Descriptor instead. +func (*WrapperUInt64) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDescGZIP(), []int{5} +} + +func (x *WrapperUInt64) GetVal() *wrapperspb.UInt64Value { + if x != nil { + return x.Val + } + return nil +} + +type WrapperUInt32 struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *WrapperUInt32) Reset() { + *x = WrapperUInt32{} + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *WrapperUInt32) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WrapperUInt32) ProtoMessage() {} + +func (x *WrapperUInt32) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WrapperUInt32.ProtoReflect.Descriptor instead. +func (*WrapperUInt32) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDescGZIP(), []int{6} +} + +func (x *WrapperUInt32) GetVal() *wrapperspb.UInt32Value { + if x != nil { + return x.Val + } + return nil +} + +type WrapperBool struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *WrapperBool) Reset() { + *x = WrapperBool{} + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *WrapperBool) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WrapperBool) ProtoMessage() {} + +func (x *WrapperBool) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WrapperBool.ProtoReflect.Descriptor instead. +func (*WrapperBool) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDescGZIP(), []int{7} +} + +func (x *WrapperBool) GetVal() *wrapperspb.BoolValue { + if x != nil { + return x.Val + } + return nil +} + +type WrapperString struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *WrapperString) Reset() { + *x = WrapperString{} + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *WrapperString) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WrapperString) ProtoMessage() {} + +func (x *WrapperString) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WrapperString.ProtoReflect.Descriptor instead. +func (*WrapperString) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDescGZIP(), []int{8} +} + +func (x *WrapperString) GetVal() *wrapperspb.StringValue { + if x != nil { + return x.Val + } + return nil +} + +type WrapperBytes struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.BytesValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *WrapperBytes) Reset() { + *x = WrapperBytes{} + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *WrapperBytes) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WrapperBytes) ProtoMessage() {} + +func (x *WrapperBytes) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WrapperBytes.ProtoReflect.Descriptor instead. +func (*WrapperBytes) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDescGZIP(), []int{9} +} + +func (x *WrapperBytes) GetVal() *wrapperspb.BytesValue { + if x != nil { + return x.Val + } + return nil +} + +type WrapperRequiredString struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *WrapperRequiredString) Reset() { + *x = WrapperRequiredString{} + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *WrapperRequiredString) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WrapperRequiredString) ProtoMessage() {} + +func (x *WrapperRequiredString) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WrapperRequiredString.ProtoReflect.Descriptor instead. +func (*WrapperRequiredString) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDescGZIP(), []int{10} +} + +func (x *WrapperRequiredString) GetVal() *wrapperspb.StringValue { + if x != nil { + return x.Val + } + return nil +} + +type WrapperRequiredEmptyString struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *WrapperRequiredEmptyString) Reset() { + *x = WrapperRequiredEmptyString{} + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *WrapperRequiredEmptyString) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WrapperRequiredEmptyString) ProtoMessage() {} + +func (x *WrapperRequiredEmptyString) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WrapperRequiredEmptyString.ProtoReflect.Descriptor instead. +func (*WrapperRequiredEmptyString) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDescGZIP(), []int{11} +} + +func (x *WrapperRequiredEmptyString) GetVal() *wrapperspb.StringValue { + if x != nil { + return x.Val + } + return nil +} + +type WrapperOptionalUuidString struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *WrapperOptionalUuidString) Reset() { + *x = WrapperOptionalUuidString{} + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *WrapperOptionalUuidString) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WrapperOptionalUuidString) ProtoMessage() {} + +func (x *WrapperOptionalUuidString) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WrapperOptionalUuidString.ProtoReflect.Descriptor instead. +func (*WrapperOptionalUuidString) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDescGZIP(), []int{12} +} + +func (x *WrapperOptionalUuidString) GetVal() *wrapperspb.StringValue { + if x != nil { + return x.Val + } + return nil +} + +type WrapperRequiredFloat struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val *wrapperspb.FloatValue `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *WrapperRequiredFloat) Reset() { + *x = WrapperRequiredFloat{} + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *WrapperRequiredFloat) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WrapperRequiredFloat) ProtoMessage() {} + +func (x *WrapperRequiredFloat) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WrapperRequiredFloat.ProtoReflect.Descriptor instead. +func (*WrapperRequiredFloat) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDescGZIP(), []int{13} +} + +func (x *WrapperRequiredFloat) GetVal() *wrapperspb.FloatValue { + if x != nil { + return x.Val + } + return nil +} + +var File_buf_validate_conformance_cases_wkt_wrappers_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDesc = "" + + "\n" + + "1buf/validate/conformance/cases/wkt_wrappers.proto\x12\x1ebuf.validate.conformance.cases\x1a\x1bbuf/validate/validate.proto\x1a\x1egoogle/protobuf/wrappers.proto\"<\n" + + "\vWrapperNone\x12-\n" + + "\x03val\x18\x01 \x01(\v2\x1b.google.protobuf.Int32ValueR\x03val\"I\n" + + "\fWrapperFloat\x129\n" + + "\x03val\x18\x01 \x01(\v2\x1b.google.protobuf.FloatValueB\n" + + "\xbaH\a\n" + + "\x05%\x00\x00\x00\x00R\x03val\"O\n" + + "\rWrapperDouble\x12>\n" + + "\x03val\x18\x01 \x01(\v2\x1c.google.protobuf.DoubleValueB\x0e\xbaH\v\x12\t!\x00\x00\x00\x00\x00\x00\x00\x00R\x03val\"F\n" + + "\fWrapperInt64\x126\n" + + "\x03val\x18\x01 \x01(\v2\x1b.google.protobuf.Int64ValueB\a\xbaH\x04\"\x02 \x00R\x03val\"F\n" + + "\fWrapperInt32\x126\n" + + "\x03val\x18\x01 \x01(\v2\x1b.google.protobuf.Int32ValueB\a\xbaH\x04\x1a\x02 \x00R\x03val\"H\n" + + "\rWrapperUInt64\x127\n" + + "\x03val\x18\x01 \x01(\v2\x1c.google.protobuf.UInt64ValueB\a\xbaH\x042\x02 \x00R\x03val\"H\n" + + "\rWrapperUInt32\x127\n" + + "\x03val\x18\x01 \x01(\v2\x1c.google.protobuf.UInt32ValueB\a\xbaH\x04*\x02 \x00R\x03val\"D\n" + + "\vWrapperBool\x125\n" + + "\x03val\x18\x01 \x01(\v2\x1a.google.protobuf.BoolValueB\a\xbaH\x04j\x02\b\x01R\x03val\"K\n" + + "\rWrapperString\x12:\n" + + "\x03val\x18\x01 \x01(\v2\x1c.google.protobuf.StringValueB\n" + + "\xbaH\ar\x05B\x03barR\x03val\"F\n" + + "\fWrapperBytes\x126\n" + + "\x03val\x18\x01 \x01(\v2\x1b.google.protobuf.BytesValueB\a\xbaH\x04z\x02\x10\x03R\x03val\"V\n" + + "\x15WrapperRequiredString\x12=\n" + + "\x03val\x18\x01 \x01(\v2\x1c.google.protobuf.StringValueB\r\xbaH\n" + + "\xc8\x01\x01r\x05\n" + + "\x03barR\x03val\"X\n" + + "\x1aWrapperRequiredEmptyString\x12:\n" + + "\x03val\x18\x01 \x01(\v2\x1c.google.protobuf.StringValueB\n" + + "\xbaH\a\xc8\x01\x01r\x02\n" + + "\x00R\x03val\"X\n" + + "\x19WrapperOptionalUuidString\x12;\n" + + "\x03val\x18\x01 \x01(\v2\x1c.google.protobuf.StringValueB\v\xbaH\b\xc8\x01\x00r\x03\xb0\x01\x01R\x03val\"T\n" + + "\x14WrapperRequiredFloat\x12<\n" + + "\x03val\x18\x01 \x01(\v2\x1b.google.protobuf.FloatValueB\r\xbaH\n" + + "\xc8\x01\x01\n" + + "\x05%\x00\x00\x00\x00R\x03valB\xad\x02\n" + + "\"com.buf.validate.conformance.casesB\x10WktWrappersProtoP\x01ZYgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Casesb\x06proto3" + +var ( + file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDescOnce sync.Once + file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDescData []byte +) + +func file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDesc), len(file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDesc))) + }) + return file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDescData +} + +var file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes = make([]protoimpl.MessageInfo, 14) +var file_buf_validate_conformance_cases_wkt_wrappers_proto_goTypes = []any{ + (*WrapperNone)(nil), // 0: buf.validate.conformance.cases.WrapperNone + (*WrapperFloat)(nil), // 1: buf.validate.conformance.cases.WrapperFloat + (*WrapperDouble)(nil), // 2: buf.validate.conformance.cases.WrapperDouble + (*WrapperInt64)(nil), // 3: buf.validate.conformance.cases.WrapperInt64 + (*WrapperInt32)(nil), // 4: buf.validate.conformance.cases.WrapperInt32 + (*WrapperUInt64)(nil), // 5: buf.validate.conformance.cases.WrapperUInt64 + (*WrapperUInt32)(nil), // 6: buf.validate.conformance.cases.WrapperUInt32 + (*WrapperBool)(nil), // 7: buf.validate.conformance.cases.WrapperBool + (*WrapperString)(nil), // 8: buf.validate.conformance.cases.WrapperString + (*WrapperBytes)(nil), // 9: buf.validate.conformance.cases.WrapperBytes + (*WrapperRequiredString)(nil), // 10: buf.validate.conformance.cases.WrapperRequiredString + (*WrapperRequiredEmptyString)(nil), // 11: buf.validate.conformance.cases.WrapperRequiredEmptyString + (*WrapperOptionalUuidString)(nil), // 12: buf.validate.conformance.cases.WrapperOptionalUuidString + (*WrapperRequiredFloat)(nil), // 13: buf.validate.conformance.cases.WrapperRequiredFloat + (*wrapperspb.Int32Value)(nil), // 14: google.protobuf.Int32Value + (*wrapperspb.FloatValue)(nil), // 15: google.protobuf.FloatValue + (*wrapperspb.DoubleValue)(nil), // 16: google.protobuf.DoubleValue + (*wrapperspb.Int64Value)(nil), // 17: google.protobuf.Int64Value + (*wrapperspb.UInt64Value)(nil), // 18: google.protobuf.UInt64Value + (*wrapperspb.UInt32Value)(nil), // 19: google.protobuf.UInt32Value + (*wrapperspb.BoolValue)(nil), // 20: google.protobuf.BoolValue + (*wrapperspb.StringValue)(nil), // 21: google.protobuf.StringValue + (*wrapperspb.BytesValue)(nil), // 22: google.protobuf.BytesValue +} +var file_buf_validate_conformance_cases_wkt_wrappers_proto_depIdxs = []int32{ + 14, // 0: buf.validate.conformance.cases.WrapperNone.val:type_name -> google.protobuf.Int32Value + 15, // 1: buf.validate.conformance.cases.WrapperFloat.val:type_name -> google.protobuf.FloatValue + 16, // 2: buf.validate.conformance.cases.WrapperDouble.val:type_name -> google.protobuf.DoubleValue + 17, // 3: buf.validate.conformance.cases.WrapperInt64.val:type_name -> google.protobuf.Int64Value + 14, // 4: buf.validate.conformance.cases.WrapperInt32.val:type_name -> google.protobuf.Int32Value + 18, // 5: buf.validate.conformance.cases.WrapperUInt64.val:type_name -> google.protobuf.UInt64Value + 19, // 6: buf.validate.conformance.cases.WrapperUInt32.val:type_name -> google.protobuf.UInt32Value + 20, // 7: buf.validate.conformance.cases.WrapperBool.val:type_name -> google.protobuf.BoolValue + 21, // 8: buf.validate.conformance.cases.WrapperString.val:type_name -> google.protobuf.StringValue + 22, // 9: buf.validate.conformance.cases.WrapperBytes.val:type_name -> google.protobuf.BytesValue + 21, // 10: buf.validate.conformance.cases.WrapperRequiredString.val:type_name -> google.protobuf.StringValue + 21, // 11: buf.validate.conformance.cases.WrapperRequiredEmptyString.val:type_name -> google.protobuf.StringValue + 21, // 12: buf.validate.conformance.cases.WrapperOptionalUuidString.val:type_name -> google.protobuf.StringValue + 15, // 13: buf.validate.conformance.cases.WrapperRequiredFloat.val:type_name -> google.protobuf.FloatValue + 14, // [14:14] is the sub-list for method output_type + 14, // [14:14] is the sub-list for method input_type + 14, // [14:14] is the sub-list for extension type_name + 14, // [14:14] is the sub-list for extension extendee + 0, // [0:14] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_cases_wkt_wrappers_proto_init() } +func file_buf_validate_conformance_cases_wkt_wrappers_proto_init() { + if File_buf_validate_conformance_cases_wkt_wrappers_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDesc), len(file_buf_validate_conformance_cases_wkt_wrappers_proto_rawDesc)), + NumEnums: 0, + NumMessages: 14, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_cases_wkt_wrappers_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_cases_wkt_wrappers_proto_depIdxs, + MessageInfos: file_buf_validate_conformance_cases_wkt_wrappers_proto_msgTypes, + }.Build() + File_buf_validate_conformance_cases_wkt_wrappers_proto = out.File + file_buf_validate_conformance_cases_wkt_wrappers_proto_goTypes = nil + file_buf_validate_conformance_cases_wkt_wrappers_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/cases/yet_another_package/embed2.pb.go b/internal/gen/proto/buf/validate/conformance/cases/yet_another_package/embed2.pb.go new file mode 100644 index 00000000..5d5ab96f --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/cases/yet_another_package/embed2.pb.go @@ -0,0 +1,192 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/cases/yet_another_package/embed2.proto + +package yet_another_package + +import ( + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Embed_Enumerated int32 + +const ( + Embed_ENUMERATED_UNSPECIFIED Embed_Enumerated = 0 + Embed_ENUMERATED_VALUE Embed_Enumerated = 1 +) + +// Enum value maps for Embed_Enumerated. +var ( + Embed_Enumerated_name = map[int32]string{ + 0: "ENUMERATED_UNSPECIFIED", + 1: "ENUMERATED_VALUE", + } + Embed_Enumerated_value = map[string]int32{ + "ENUMERATED_UNSPECIFIED": 0, + "ENUMERATED_VALUE": 1, + } +) + +func (x Embed_Enumerated) Enum() *Embed_Enumerated { + p := new(Embed_Enumerated) + *p = x + return p +} + +func (x Embed_Enumerated) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Embed_Enumerated) Descriptor() protoreflect.EnumDescriptor { + return file_buf_validate_conformance_cases_yet_another_package_embed2_proto_enumTypes[0].Descriptor() +} + +func (Embed_Enumerated) Type() protoreflect.EnumType { + return &file_buf_validate_conformance_cases_yet_another_package_embed2_proto_enumTypes[0] +} + +func (x Embed_Enumerated) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Embed_Enumerated.Descriptor instead. +func (Embed_Enumerated) EnumDescriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_yet_another_package_embed2_proto_rawDescGZIP(), []int{0, 0} +} + +// Validate message embedding across packages. +type Embed struct { + state protoimpl.MessageState `protogen:"open.v1"` + Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Embed) Reset() { + *x = Embed{} + mi := &file_buf_validate_conformance_cases_yet_another_package_embed2_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Embed) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Embed) ProtoMessage() {} + +func (x *Embed) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_cases_yet_another_package_embed2_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Embed.ProtoReflect.Descriptor instead. +func (*Embed) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_cases_yet_another_package_embed2_proto_rawDescGZIP(), []int{0} +} + +func (x *Embed) GetVal() int64 { + if x != nil { + return x.Val + } + return 0 +} + +var File_buf_validate_conformance_cases_yet_another_package_embed2_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_cases_yet_another_package_embed2_proto_rawDesc = "" + + "\n" + + "?buf/validate/conformance/cases/yet_another_package/embed2.proto\x122buf.validate.conformance.cases.yet_another_package\x1a\x1bbuf/validate/validate.proto\"b\n" + + "\x05Embed\x12\x19\n" + + "\x03val\x18\x01 \x01(\x03B\a\xbaH\x04\"\x02 \x00R\x03val\">\n" + + "\n" + + "Enumerated\x12\x1a\n" + + "\x16ENUMERATED_UNSPECIFIED\x10\x00\x12\x14\n" + + "\x10ENUMERATED_VALUE\x10\x01B\x9a\x03\n" + + "6com.buf.validate.conformance.cases.yet_another_packageB\vEmbed2ProtoP\x01Zmgithub.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/cases/yet_another_package\xa2\x02\x05BVCCY\xaa\x020Buf.Validate.Conformance.Cases.YetAnotherPackage\xca\x020Buf\\Validate\\Conformance\\Cases\\YetAnotherPackage\xe2\x02 google.protobuf.FileDescriptorSet + 3, // 1: buf.validate.conformance.harness.TestConformanceRequest.cases:type_name -> buf.validate.conformance.harness.TestConformanceRequest.CasesEntry + 4, // 2: buf.validate.conformance.harness.TestConformanceResponse.results:type_name -> buf.validate.conformance.harness.TestConformanceResponse.ResultsEntry + 6, // 3: buf.validate.conformance.harness.TestResult.validation_error:type_name -> buf.validate.Violations + 7, // 4: buf.validate.conformance.harness.TestConformanceRequest.CasesEntry.value:type_name -> google.protobuf.Any + 2, // 5: buf.validate.conformance.harness.TestConformanceResponse.ResultsEntry.value:type_name -> buf.validate.conformance.harness.TestResult + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_harness_harness_proto_init() } +func file_buf_validate_conformance_harness_harness_proto_init() { + if File_buf_validate_conformance_harness_harness_proto != nil { + return + } + file_buf_validate_conformance_harness_harness_proto_msgTypes[2].OneofWrappers = []any{ + (*TestResult_Success)(nil), + (*TestResult_ValidationError)(nil), + (*TestResult_CompilationError)(nil), + (*TestResult_RuntimeError)(nil), + (*TestResult_UnexpectedError)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_harness_harness_proto_rawDesc), len(file_buf_validate_conformance_harness_harness_proto_rawDesc)), + NumEnums: 0, + NumMessages: 5, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_harness_harness_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_harness_harness_proto_depIdxs, + MessageInfos: file_buf_validate_conformance_harness_harness_proto_msgTypes, + }.Build() + File_buf_validate_conformance_harness_harness_proto = out.File + file_buf_validate_conformance_harness_harness_proto_goTypes = nil + file_buf_validate_conformance_harness_harness_proto_depIdxs = nil +} diff --git a/internal/gen/proto/buf/validate/conformance/harness/results.pb.go b/internal/gen/proto/buf/validate/conformance/harness/results.pb.go new file mode 100644 index 00000000..8707c8e6 --- /dev/null +++ b/internal/gen/proto/buf/validate/conformance/harness/results.pb.go @@ -0,0 +1,482 @@ +// Copyright 2024-2025 Buf Technologies, Inc. +// +// 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. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.8 +// protoc (unknown) +// source: buf/validate/conformance/harness/results.proto + +package harness + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + descriptorpb "google.golang.org/protobuf/types/descriptorpb" + anypb "google.golang.org/protobuf/types/known/anypb" + reflect "reflect" + sync "sync" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// ResultOptions are the options passed to the test runner to configure the +// test run. +type ResultOptions struct { + state protoimpl.MessageState `protogen:"open.v1"` + // The suite filter is a regex that matches against the suite name. + SuiteFilter string `protobuf:"bytes,1,opt,name=suite_filter,json=suiteFilter,proto3" json:"suite_filter,omitempty"` + // The case filter is a regex that matches against the case name. + CaseFilter string `protobuf:"bytes,2,opt,name=case_filter,json=caseFilter,proto3" json:"case_filter,omitempty"` + // If the test runner should print verbose output. + Verbose bool `protobuf:"varint,3,opt,name=verbose,proto3" json:"verbose,omitempty"` + // If the violation message must be an exact match. + StrictMessage bool `protobuf:"varint,5,opt,name=strict_message,json=strictMessage,proto3" json:"strict_message,omitempty"` + // If the distinction between runtime and compile time errors must be exact. + StrictError bool `protobuf:"varint,6,opt,name=strict_error,json=strictError,proto3" json:"strict_error,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ResultOptions) Reset() { + *x = ResultOptions{} + mi := &file_buf_validate_conformance_harness_results_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ResultOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResultOptions) ProtoMessage() {} + +func (x *ResultOptions) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_harness_results_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResultOptions.ProtoReflect.Descriptor instead. +func (*ResultOptions) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_harness_results_proto_rawDescGZIP(), []int{0} +} + +func (x *ResultOptions) GetSuiteFilter() string { + if x != nil { + return x.SuiteFilter + } + return "" +} + +func (x *ResultOptions) GetCaseFilter() string { + if x != nil { + return x.CaseFilter + } + return "" +} + +func (x *ResultOptions) GetVerbose() bool { + if x != nil { + return x.Verbose + } + return false +} + +func (x *ResultOptions) GetStrictMessage() bool { + if x != nil { + return x.StrictMessage + } + return false +} + +func (x *ResultOptions) GetStrictError() bool { + if x != nil { + return x.StrictError + } + return false +} + +// A result is the result of a test run. +type ResultSet struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Count of successes. + Successes int32 `protobuf:"varint,1,opt,name=successes,proto3" json:"successes,omitempty"` + // Count of failures. + Failures int32 `protobuf:"varint,2,opt,name=failures,proto3" json:"failures,omitempty"` + // List of suite results. + Suites []*SuiteResults `protobuf:"bytes,3,rep,name=suites,proto3" json:"suites,omitempty"` + // Options used to generate this result. + Options *ResultOptions `protobuf:"bytes,4,opt,name=options,proto3" json:"options,omitempty"` + // Count of expected failures. + ExpectedFailures int32 `protobuf:"varint,5,opt,name=expected_failures,json=expectedFailures,proto3" json:"expected_failures,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ResultSet) Reset() { + *x = ResultSet{} + mi := &file_buf_validate_conformance_harness_results_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ResultSet) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResultSet) ProtoMessage() {} + +func (x *ResultSet) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_harness_results_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResultSet.ProtoReflect.Descriptor instead. +func (*ResultSet) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_harness_results_proto_rawDescGZIP(), []int{1} +} + +func (x *ResultSet) GetSuccesses() int32 { + if x != nil { + return x.Successes + } + return 0 +} + +func (x *ResultSet) GetFailures() int32 { + if x != nil { + return x.Failures + } + return 0 +} + +func (x *ResultSet) GetSuites() []*SuiteResults { + if x != nil { + return x.Suites + } + return nil +} + +func (x *ResultSet) GetOptions() *ResultOptions { + if x != nil { + return x.Options + } + return nil +} + +func (x *ResultSet) GetExpectedFailures() int32 { + if x != nil { + return x.ExpectedFailures + } + return 0 +} + +// A suite result is a single test suite result. +type SuiteResults struct { + state protoimpl.MessageState `protogen:"open.v1"` + // The suite name. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Count of successes. + Successes int32 `protobuf:"varint,2,opt,name=successes,proto3" json:"successes,omitempty"` + // Count of failures. + Failures int32 `protobuf:"varint,3,opt,name=failures,proto3" json:"failures,omitempty"` + // List of case results. + Cases []*CaseResult `protobuf:"bytes,4,rep,name=cases,proto3" json:"cases,omitempty"` + // The file descriptor set used to generate this result. + Fdset *descriptorpb.FileDescriptorSet `protobuf:"bytes,5,opt,name=fdset,proto3" json:"fdset,omitempty"` + // Count of expected failures. + ExpectedFailures int32 `protobuf:"varint,6,opt,name=expected_failures,json=expectedFailures,proto3" json:"expected_failures,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SuiteResults) Reset() { + *x = SuiteResults{} + mi := &file_buf_validate_conformance_harness_results_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SuiteResults) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SuiteResults) ProtoMessage() {} + +func (x *SuiteResults) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_harness_results_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SuiteResults.ProtoReflect.Descriptor instead. +func (*SuiteResults) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_harness_results_proto_rawDescGZIP(), []int{2} +} + +func (x *SuiteResults) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *SuiteResults) GetSuccesses() int32 { + if x != nil { + return x.Successes + } + return 0 +} + +func (x *SuiteResults) GetFailures() int32 { + if x != nil { + return x.Failures + } + return 0 +} + +func (x *SuiteResults) GetCases() []*CaseResult { + if x != nil { + return x.Cases + } + return nil +} + +func (x *SuiteResults) GetFdset() *descriptorpb.FileDescriptorSet { + if x != nil { + return x.Fdset + } + return nil +} + +func (x *SuiteResults) GetExpectedFailures() int32 { + if x != nil { + return x.ExpectedFailures + } + return 0 +} + +// A case result is a single test case result. +type CaseResult struct { + state protoimpl.MessageState `protogen:"open.v1"` + // The case name. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Success state of the test case. True if the test case succeeded. + Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"` + // The expected result. + Wanted *TestResult `protobuf:"bytes,3,opt,name=wanted,proto3" json:"wanted,omitempty"` + // The actual result. + Got *TestResult `protobuf:"bytes,4,opt,name=got,proto3" json:"got,omitempty"` + // The input used to invoke the test case. + Input *anypb.Any `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"` + // Denotes if the test is expected to fail. True, if the test case was expected to fail. + ExpectedFailure bool `protobuf:"varint,6,opt,name=expected_failure,json=expectedFailure,proto3" json:"expected_failure,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *CaseResult) Reset() { + *x = CaseResult{} + mi := &file_buf_validate_conformance_harness_results_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *CaseResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CaseResult) ProtoMessage() {} + +func (x *CaseResult) ProtoReflect() protoreflect.Message { + mi := &file_buf_validate_conformance_harness_results_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CaseResult.ProtoReflect.Descriptor instead. +func (*CaseResult) Descriptor() ([]byte, []int) { + return file_buf_validate_conformance_harness_results_proto_rawDescGZIP(), []int{3} +} + +func (x *CaseResult) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *CaseResult) GetSuccess() bool { + if x != nil { + return x.Success + } + return false +} + +func (x *CaseResult) GetWanted() *TestResult { + if x != nil { + return x.Wanted + } + return nil +} + +func (x *CaseResult) GetGot() *TestResult { + if x != nil { + return x.Got + } + return nil +} + +func (x *CaseResult) GetInput() *anypb.Any { + if x != nil { + return x.Input + } + return nil +} + +func (x *CaseResult) GetExpectedFailure() bool { + if x != nil { + return x.ExpectedFailure + } + return false +} + +var File_buf_validate_conformance_harness_results_proto protoreflect.FileDescriptor + +const file_buf_validate_conformance_harness_results_proto_rawDesc = "" + + "\n" + + ".buf/validate/conformance/harness/results.proto\x12 buf.validate.conformance.harness\x1a.buf/validate/conformance/harness/harness.proto\x1a\x19google/protobuf/any.proto\x1a google/protobuf/descriptor.proto\"\xc5\x01\n" + + "\rResultOptions\x12!\n" + + "\fsuite_filter\x18\x01 \x01(\tR\vsuiteFilter\x12\x1f\n" + + "\vcase_filter\x18\x02 \x01(\tR\n" + + "caseFilter\x12\x18\n" + + "\averbose\x18\x03 \x01(\bR\averbose\x12%\n" + + "\x0estrict_message\x18\x05 \x01(\bR\rstrictMessage\x12!\n" + + "\fstrict_error\x18\x06 \x01(\bR\vstrictErrorJ\x04\b\x04\x10\x05R\x06strict\"\x85\x02\n" + + "\tResultSet\x12\x1c\n" + + "\tsuccesses\x18\x01 \x01(\x05R\tsuccesses\x12\x1a\n" + + "\bfailures\x18\x02 \x01(\x05R\bfailures\x12F\n" + + "\x06suites\x18\x03 \x03(\v2..buf.validate.conformance.harness.SuiteResultsR\x06suites\x12I\n" + + "\aoptions\x18\x04 \x01(\v2/.buf.validate.conformance.harness.ResultOptionsR\aoptions\x12+\n" + + "\x11expected_failures\x18\x05 \x01(\x05R\x10expectedFailures\"\x87\x02\n" + + "\fSuiteResults\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12\x1c\n" + + "\tsuccesses\x18\x02 \x01(\x05R\tsuccesses\x12\x1a\n" + + "\bfailures\x18\x03 \x01(\x05R\bfailures\x12B\n" + + "\x05cases\x18\x04 \x03(\v2,.buf.validate.conformance.harness.CaseResultR\x05cases\x128\n" + + "\x05fdset\x18\x05 \x01(\v2\".google.protobuf.FileDescriptorSetR\x05fdset\x12+\n" + + "\x11expected_failures\x18\x06 \x01(\x05R\x10expectedFailures\"\x97\x02\n" + + "\n" + + "CaseResult\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n" + + "\asuccess\x18\x02 \x01(\bR\asuccess\x12D\n" + + "\x06wanted\x18\x03 \x01(\v2,.buf.validate.conformance.harness.TestResultR\x06wanted\x12>\n" + + "\x03got\x18\x04 \x01(\v2,.buf.validate.conformance.harness.TestResultR\x03got\x12*\n" + + "\x05input\x18\x05 \x01(\v2\x14.google.protobuf.AnyR\x05input\x12)\n" + + "\x10expected_failure\x18\x06 \x01(\bR\x0fexpectedFailureB\xb5\x02\n" + + "$com.buf.validate.conformance.harnessB\fResultsProtoP\x01Z[github.com/bufbuild/protoschema-plugins/internal/gen/proto/buf/validate/conformance/harness\xa2\x02\x04BVCH\xaa\x02 Buf.Validate.Conformance.Harness\xca\x02 Buf\\Validate\\Conformance\\Harness\xe2\x02,Buf\\Validate\\Conformance\\Harness\\GPBMetadata\xea\x02#Buf::Validate::Conformance::Harnessb\x06proto3" + +var ( + file_buf_validate_conformance_harness_results_proto_rawDescOnce sync.Once + file_buf_validate_conformance_harness_results_proto_rawDescData []byte +) + +func file_buf_validate_conformance_harness_results_proto_rawDescGZIP() []byte { + file_buf_validate_conformance_harness_results_proto_rawDescOnce.Do(func() { + file_buf_validate_conformance_harness_results_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_harness_results_proto_rawDesc), len(file_buf_validate_conformance_harness_results_proto_rawDesc))) + }) + return file_buf_validate_conformance_harness_results_proto_rawDescData +} + +var file_buf_validate_conformance_harness_results_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_buf_validate_conformance_harness_results_proto_goTypes = []any{ + (*ResultOptions)(nil), // 0: buf.validate.conformance.harness.ResultOptions + (*ResultSet)(nil), // 1: buf.validate.conformance.harness.ResultSet + (*SuiteResults)(nil), // 2: buf.validate.conformance.harness.SuiteResults + (*CaseResult)(nil), // 3: buf.validate.conformance.harness.CaseResult + (*descriptorpb.FileDescriptorSet)(nil), // 4: google.protobuf.FileDescriptorSet + (*TestResult)(nil), // 5: buf.validate.conformance.harness.TestResult + (*anypb.Any)(nil), // 6: google.protobuf.Any +} +var file_buf_validate_conformance_harness_results_proto_depIdxs = []int32{ + 2, // 0: buf.validate.conformance.harness.ResultSet.suites:type_name -> buf.validate.conformance.harness.SuiteResults + 0, // 1: buf.validate.conformance.harness.ResultSet.options:type_name -> buf.validate.conformance.harness.ResultOptions + 3, // 2: buf.validate.conformance.harness.SuiteResults.cases:type_name -> buf.validate.conformance.harness.CaseResult + 4, // 3: buf.validate.conformance.harness.SuiteResults.fdset:type_name -> google.protobuf.FileDescriptorSet + 5, // 4: buf.validate.conformance.harness.CaseResult.wanted:type_name -> buf.validate.conformance.harness.TestResult + 5, // 5: buf.validate.conformance.harness.CaseResult.got:type_name -> buf.validate.conformance.harness.TestResult + 6, // 6: buf.validate.conformance.harness.CaseResult.input:type_name -> google.protobuf.Any + 7, // [7:7] is the sub-list for method output_type + 7, // [7:7] is the sub-list for method input_type + 7, // [7:7] is the sub-list for extension type_name + 7, // [7:7] is the sub-list for extension extendee + 0, // [0:7] is the sub-list for field type_name +} + +func init() { file_buf_validate_conformance_harness_results_proto_init() } +func file_buf_validate_conformance_harness_results_proto_init() { + if File_buf_validate_conformance_harness_results_proto != nil { + return + } + file_buf_validate_conformance_harness_harness_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_harness_results_proto_rawDesc), len(file_buf_validate_conformance_harness_results_proto_rawDesc)), + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_buf_validate_conformance_harness_results_proto_goTypes, + DependencyIndexes: file_buf_validate_conformance_harness_results_proto_depIdxs, + MessageInfos: file_buf_validate_conformance_harness_results_proto_msgTypes, + }.Build() + File_buf_validate_conformance_harness_results_proto = out.File + file_buf_validate_conformance_harness_results_proto_goTypes = nil + file_buf_validate_conformance_harness_results_proto_depIdxs = nil +}