diff --git a/Makefile b/Makefile index b72d972..474faed 100644 --- a/Makefile +++ b/Makefile @@ -11,12 +11,12 @@ export PATH := $(BIN):$(PATH) export GOBIN := $(abspath $(BIN)) # Set to use a different Python interpreter. For example, `PYTHON=python make test`. PYTHON ?= python3 -CONFORMANCE_ARGS ?= --strict --expected_failures=tests/conformance/nonconforming.yaml +CONFORMANCE_ARGS ?= --strict --expected_failures=tests/conformance/nonconforming.yaml --timeout 10s ADD_LICENSE_HEADER := $(BIN)/license-header \ --license-type apache \ --copyright-holder "Buf Technologies, Inc." \ --year-range "2023" -PROTOVALIDATE_VERSION ?= v0.5.6 +PROTOVALIDATE_VERSION ?= v0.7.1 .PHONY: help help: ## Describe useful make targets diff --git a/Pipfile b/Pipfile index 8dfd30d..823b20e 100644 --- a/Pipfile +++ b/Pipfile @@ -4,8 +4,8 @@ verify_ssl = true name = "pypi" [packages] -cel-python = "==0.1.*" -protobuf = "==4.*" +cel-python = "==0.1.5" +protobuf = "==5.*" [dev-packages] pytest = "*" diff --git a/Pipfile.lock b/Pipfile.lock index 873eabc..355420c 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "d316957dd53c7a49db44809d8a0f43b2947c356d884df55268092dc089e07b82" + "sha256": "9aa81c1d0ac01cfb87161aae0a3225ec156138188d7768f23cc7baf44f43444e" }, "pipfile-spec": 6, "requires": { @@ -30,16 +30,15 @@ "sha256:d3911bb046bc3ed12792bd88ab453f72d98c66923b72a2fa016bcdffd96e2f98" ], "index": "pypi", - "markers": "python_version >= '3.7' and python_version < '4'", "version": "==0.1.5" }, "certifi": { "hashes": [ - "sha256:3cd43f1c6fa7dedc5899d69d3ad0398fd018ad1a17fba83ddaf78aa46c747516", - "sha256:ddc6c8ce995e6987e7faf5e3f1b02b302836a0e5d98ece18392cb1a36c72ad56" + "sha256:5a1e7645bc0ec61a09e26c36f6106dd4cf40c6db3a1fb6352b0244e7fb057c7b", + "sha256:c198e21b1289c2ab85ee4e67bb4b4ef3ead0892059901a8d5b622f24a1101e90" ], "markers": "python_version >= '3.6'", - "version": "==2024.6.2" + "version": "==2024.7.4" }, "charset-normalizer": { "hashes": [ @@ -162,21 +161,20 @@ }, "protobuf": { "hashes": [ - "sha256:19b270aeaa0099f16d3ca02628546b8baefe2955bbe23224aaf856134eccf1e4", - "sha256:209ba4cc916bab46f64e56b85b090607a676f66b473e6b762e6f1d9d591eb2e8", - "sha256:25b5d0b42fd000320bd7830b349e3b696435f3b329810427a6bcce6a5492cc5c", - "sha256:7c8daa26095f82482307bc717364e7c13f4f1c99659be82890dcfc215194554d", - "sha256:c053062984e61144385022e53678fbded7aea14ebb3e0305ae3592fb219ccfa4", - "sha256:d4198877797a83cbfe9bffa3803602bbe1625dc30d8a097365dbc762e5790faa", - "sha256:e3c97a1555fd6388f857770ff8b9703083de6bf1f9274a002a332d65fbb56c8c", - "sha256:e7cb0ae90dd83727f0c0718634ed56837bfeeee29a5f82a7514c03ee1364c019", - "sha256:f0700d54bcf45424477e46a9f0944155b46fb0639d69728739c0e47bab83f2b9", - "sha256:f1279ab38ecbfae7e456a108c5c0681e4956d5b1090027c1de0f934dfdb4b35c", - "sha256:f4f118245c4a087776e0a8408be33cf09f6c547442c00395fbfb116fac2f8ac2" + "sha256:043853dcb55cc262bf2e116215ad43fa0859caab79bb0b2d31b708f128ece035", + "sha256:16ddf3f8c6c41e1e803da7abea17b1793a97ef079a912e42351eabb19b2cffe7", + "sha256:68248c60d53f6168f565a8c76dc58ba4fa2ade31c2d1ebdae6d80f969cdc2d4f", + "sha256:82460903e640f2b7e34ee81a947fdaad89de796d324bcbc38ff5430bcdead82c", + "sha256:8572c6533e544ebf6899c360e91d6bcbbee2549251643d32c52cf8a5de295ba5", + "sha256:a55c48f2a2092d8e213bd143474df33a6ae751b781dd1d1f4d953c128a415b25", + "sha256:af7c0b7cfbbb649ad26132e53faa348580f844d9ca46fd3ec7ca48a1ea5db8a1", + "sha256:b8a994fb3d1c11156e7d1e427186662b64694a62b55936b2b9348f0a7c6625ce", + "sha256:c2a105c24f08b1e53d6c7ffe69cb09d0031512f0b72f812dd4005b8112dbe91e", + "sha256:c84eee2c71ed83704f1afbf1a85c3171eab0fd1ade3b399b3fad0884cbcca8bf", + "sha256:dcb307cd4ef8fec0cf52cb9105a03d06fbb5275ce6d84a6ae33bc6cf84e0a07b" ], "index": "pypi", - "markers": "python_version >= '3.8'", - "version": "==4.25.3" + "version": "==5.27.3" }, "python-dateutil": { "hashes": [ @@ -271,12 +269,11 @@ "develop": { "exceptiongroup": { "hashes": [ - "sha256:5258b9ed329c5bbdd31a309f53cbfb0b155341807f6ff7606a1e801a891b29ad", - "sha256:a4785e48b045528f5bfe627b6ad554ff32def154f42372786903b7abcfe1aa16" + "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b", + "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc" ], "index": "pypi", - "markers": "python_version >= '3.7'", - "version": "==1.2.1" + "version": "==1.2.2" }, "iniconfig": { "hashes": [ @@ -288,37 +285,36 @@ }, "mypy": { "hashes": [ - "sha256:075cbf81f3e134eadaf247de187bd604748171d6b79736fa9b6c9685b4083061", - "sha256:12b6bfc1b1a66095ab413160a6e520e1dc076a28f3e22f7fb25ba3b000b4ef99", - "sha256:1ec404a7cbe9fc0e92cb0e67f55ce0c025014e26d33e54d9e506a0f2d07fe5de", - "sha256:28d0e038361b45f099cc086d9dd99c15ff14d0188f44ac883010e172ce86c38a", - "sha256:2b0695d605ddcd3eb2f736cd8b4e388288c21e7de85001e9f85df9187f2b50f9", - "sha256:3236a4c8f535a0631f85f5fcdffba71c7feeef76a6002fcba7c1a8e57c8be1ec", - "sha256:3be66771aa5c97602f382230165b856c231d1277c511c9a8dd058be4784472e1", - "sha256:3d087fcbec056c4ee34974da493a826ce316947485cef3901f511848e687c131", - "sha256:3f298531bca95ff615b6e9f2fc0333aae27fa48052903a0ac90215021cdcfa4f", - "sha256:4a2b5cdbb5dd35aa08ea9114436e0d79aceb2f38e32c21684dcf8e24e1e92821", - "sha256:4cf18f9d0efa1b16478c4c129eabec36148032575391095f73cae2e722fcf9d5", - "sha256:8b2cbaca148d0754a54d44121b5825ae71868c7592a53b7292eeb0f3fdae95ee", - "sha256:8f55583b12156c399dce2df7d16f8a5095291354f1e839c252ec6c0611e86e2e", - "sha256:92f93b21c0fe73dc00abf91022234c79d793318b8a96faac147cd579c1671746", - "sha256:9e36fb078cce9904c7989b9693e41cb9711e0600139ce3970c6ef814b6ebc2b2", - "sha256:9fd50226364cd2737351c79807775136b0abe084433b55b2e29181a4c3c878c0", - "sha256:a781f6ad4bab20eef8b65174a57e5203f4be627b46291f4589879bf4e257b97b", - "sha256:a87dbfa85971e8d59c9cc1fcf534efe664d8949e4c0b6b44e8ca548e746a8d53", - "sha256:b808e12113505b97d9023b0b5e0c0705a90571c6feefc6f215c1df9381256e30", - "sha256:bc6ac273b23c6b82da3bb25f4136c4fd42665f17f2cd850771cb600bdd2ebeda", - "sha256:cd777b780312ddb135bceb9bc8722a73ec95e042f911cc279e2ec3c667076051", - "sha256:da1cbf08fb3b851ab3b9523a884c232774008267b1f83371ace57f412fe308c2", - "sha256:e22e1527dc3d4aa94311d246b59e47f6455b8729f4968765ac1eacf9a4760bc7", - "sha256:f8c083976eb530019175aabadb60921e73b4f45736760826aa1689dda8208aee", - "sha256:f90cff89eea89273727d8783fef5d4a934be2fdca11b47def50cf5d311aff727", - "sha256:fa7ef5244615a2523b56c034becde4e9e3f9b034854c93639adb667ec9ec2976", - "sha256:fcfc70599efde5c67862a07a1aaf50e55bce629ace26bb19dc17cece5dd31ca4" + "sha256:0624bdb940255d2dd24e829d99a13cfeb72e4e9031f9492148f410ed30bcab54", + "sha256:0bc71d1fb27a428139dd78621953effe0d208aed9857cb08d002280b0422003a", + "sha256:0bd53faf56de9643336aeea1c925012837432b5faf1701ccca7fde70166ccf72", + "sha256:11965c2f571ded6239977b14deebd3f4c3abd9a92398712d6da3a772974fad69", + "sha256:1a81cf05975fd61aec5ae16501a091cfb9f605dc3e3c878c0da32f250b74760b", + "sha256:2684d3f693073ab89d76da8e3921883019ea8a3ec20fa5d8ecca6a2db4c54bbe", + "sha256:2c63350af88f43a66d3dfeeeb8d77af34a4f07d760b9eb3a8697f0386c7590b4", + "sha256:45df906e8b6804ef4b666af29a87ad9f5921aad091c79cc38e12198e220beabd", + "sha256:4c956b49c5d865394d62941b109728c5c596a415e9c5b2be663dd26a1ff07bc0", + "sha256:64f4a90e3ea07f590c5bcf9029035cf0efeae5ba8be511a8caada1a4893f5525", + "sha256:749fd3213916f1751fff995fccf20c6195cae941dc968f3aaadf9bb4e430e5a2", + "sha256:79c07eb282cb457473add5052b63925e5cc97dfab9812ee65a7c7ab5e3cb551c", + "sha256:7b6343d338390bb946d449677726edf60102a1c96079b4f002dedff375953fc5", + "sha256:886c9dbecc87b9516eff294541bf7f3655722bf22bb898ee06985cd7269898de", + "sha256:a2b43895a0f8154df6519706d9bca8280cda52d3d9d1514b2d9c3e26792a0b74", + "sha256:a32fc80b63de4b5b3e65f4be82b4cfa362a46702672aa6a0f443b4689af7008c", + "sha256:a707ec1527ffcdd1c784d0924bf5cb15cd7f22683b919668a04d2b9c34549d2e", + "sha256:a831671bad47186603872a3abc19634f3011d7f83b083762c942442d51c58d58", + "sha256:b639dce63a0b19085213ec5fdd8cffd1d81988f47a2dec7100e93564f3e8fb3b", + "sha256:b868d3bcff720dd7217c383474008ddabaf048fad8d78ed948bb4b624870a417", + "sha256:c1952f5ea8a5a959b05ed5f16452fddadbaae48b5d39235ab4c3fc444d5fd411", + "sha256:d44be7551689d9d47b7abc27c71257adfdb53f03880841a5db15ddb22dc63edb", + "sha256:e1e30dc3bfa4e157e53c1d17a0dad20f89dc433393e7702b813c10e200843b03", + "sha256:e4fe9f4e5e521b458d8feb52547f4bade7ef8c93238dfb5bbc790d9ff2d770ca", + "sha256:f39918a50f74dc5969807dcfaecafa804fa7f90c9d60506835036cc1bc891dc8", + "sha256:f404a0b069709f18bbdb702eb3dcfe51910602995de00bd39cea3050b5772d08", + "sha256:fca4a60e1dd9fd0193ae0067eaeeb962f2d79e0d9f0f66223a0682f26ffcc809" ], "index": "pypi", - "markers": "python_version >= '3.8'", - "version": "==1.10.0" + "version": "==1.11.1" }, "mypy-extensions": { "hashes": [ @@ -346,37 +342,35 @@ }, "pytest": { "hashes": [ - "sha256:c434598117762e2bd304e526244f67bf66bbd7b5d6cf22138be51ff661980343", - "sha256:de4bb8104e201939ccdc688b27a89a7be2079b22e2bd2b07f806b6ba71117977" + "sha256:4ba08f9ae7dcf84ded419494d229b48d0903ea6407b030eaec46df5e6a73bba5", + "sha256:c132345d12ce551242c87269de812483f5bcc87cdbb4722e48487ba194f9fdce" ], "index": "pypi", - "markers": "python_version >= '3.8'", - "version": "==8.2.2" + "version": "==8.3.2" }, "ruff": { "hashes": [ - "sha256:2c4dfcd8d34b143916994b3876b63d53f56724c03f8c1a33a253b7b1e6bf2a7d", - "sha256:38f3b8327b3cb43474559d435f5fa65dacf723351c159ed0dc567f7ab735d1b6", - "sha256:46e193b36f2255729ad34a49c9a997d506e58f08555366b2108783b3064a0e1e", - "sha256:49141d267100f5ceff541b4e06552e98527870eafa1acc9dec9139c9ec5af64c", - "sha256:7594f8df5404a5c5c8f64b8311169879f6cf42142da644c7e0ba3c3f14130370", - "sha256:81e5facfc9f4a674c6a78c64d38becfbd5e4f739c31fcd9ce44c849f1fad9e4c", - "sha256:9dc5cfd3558f14513ed0d5b70ce531e28ea81a8a3b1b07f0f48421a3d9e7d80a", - "sha256:adc7012d6ec85032bc4e9065110df205752d64010bed5f958d25dbee9ce35de3", - "sha256:b1a321c4f68809fddd9b282fab6a8d8db796b270fff44722589a8b946925a2a8", - "sha256:cd096e23c6a4f9c819525a437fa0a99d1c67a1b6bb30948d46f33afbc53596cf", - "sha256:d2ffbc3715a52b037bcb0f6ff524a9367f642cdc5817944f6af5479bbb2eb50e", - "sha256:d505fb93b0fabef974b168d9b27c3960714d2ecda24b6ffa6a87ac432905ea38", - "sha256:db3ca35265de239a1176d56a464b51557fce41095c37d6c406e658cf80bbb362", - "sha256:e589e27971c2a3efff3fadafb16e5aef7ff93250f0134ec4b52052b673cf988d", - "sha256:e9118f60091047444c1b90952736ee7b1792910cab56e9b9a9ac20af94cd0440", - "sha256:eb641b5873492cf9bd45bc9c5ae5320648218e04386a5f0c264ad6ccce8226a1", - "sha256:ed5c4df5c1fb4518abcb57725b576659542bdbe93366f4f329e8f398c4b71178", - "sha256:ee770ea8ab38918f34e7560a597cc0a8c9a193aaa01bfbd879ef43cb06bd9c4c" + "sha256:00817603822a3e42b80f7c3298c8269e09f889ee94640cd1fc7f9329788d7bf8", + "sha256:187a60f555e9f865a2ff2c6984b9afeffa7158ba6e1eab56cb830404c942b0f3", + "sha256:3191317d967af701f1b73a31ed5788795936e423b7acce82a2b63e26eb3e89d6", + "sha256:3687d002f911e8a5faf977e619a034d159a8373514a587249cc00f211c67a091", + "sha256:4ad25dd9c5faac95c8e9efb13e15803cd8bbf7f4600645a60ffe17c73f60779b", + "sha256:50f36d77f52d4c9c2f1361ccbfbd09099a1b2ea5d2b2222c586ab08885cf3445", + "sha256:605d589ec35d1da9213a9d4d7e7a9c761d90bba78fc8790d1c5e65026c1b9eaf", + "sha256:696f18463b47a94575db635ebb4c178188645636f05e934fdf361b74edf1bb2d", + "sha256:a09b43e02f76ac0145f86a08e045e2ea452066f7ba064fd6b0cdccb486f7c3e7", + "sha256:ac9dc814e510436e30d0ba535f435a7f3dc97f895f844f5b3f347ec8c228a523", + "sha256:af9bdf6c389b5add40d89b201425b531e0a5cceb3cfdcc69f04d3d531c6be74f", + "sha256:cab904683bf9e2ecbbe9ff235bfe056f0eba754d0168ad5407832928d579e7ab", + "sha256:cc5516bdb4858d972fbc31d246bdb390eab8df1a26e2353be2dbc0c2d7f5421a", + "sha256:cfd7de17cef6ab559e9f5ab859f0d3296393bc78f69030967ca4d87a541b97a0", + "sha256:d0b856cb19c60cd40198be5d8d4b556228e3dcd545b4f423d1ad812bfdca5884", + "sha256:d40a8533ed545390ef8315b8e25c4bb85739b90bd0f3fe1280a29ae364cc55d8", + "sha256:f70737c157d7edf749bcb952d13854e8f745cec695a01bdc6e29c29c288fc36e", + "sha256:fe26fc46fa8c6e0ae3f47ddccfbb136253c831c3289bba044befe68f467bfb16" ], "index": "pypi", - "markers": "python_version >= '3.7'", - "version": "==0.5.0" + "version": "==0.5.5" }, "tomli": { "hashes": [ @@ -384,17 +378,15 @@ "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f" ], "index": "pypi", - "markers": "python_version >= '3.7'", "version": "==2.0.1" }, "types-protobuf": { "hashes": [ - "sha256:e4dc2554d342501d5aebc3c71203868b51118340e105fc190e3a64ca1be43831", - "sha256:e6074178109f97efe9f0b20a035ba61d7c3b03e867eb47d254d2b2ab6a805e36" + "sha256:683ba14043bade6785e3f937a7498f243b37881a91ac8d81b9202ecf8b191e9c", + "sha256:688e8f7e8d9295db26bc560df01fb731b27a25b77cbe4c1ce945647f7024f5c1" ], "index": "pypi", - "markers": "python_version >= '3.8'", - "version": "==5.26.0.20240422" + "version": "==5.27.0.20240626" }, "typing-extensions": { "hashes": [ diff --git a/buf.gen.yaml b/buf.gen.yaml index 2303d0a..e943088 100644 --- a/buf.gen.yaml +++ b/buf.gen.yaml @@ -1,6 +1,6 @@ version: v1 plugins: - - plugin: buf.build/protocolbuffers/python:v23.2 + - plugin: buf.build/protocolbuffers/python:v27.2 out: gen - - plugin: buf.build/protocolbuffers/pyi:v23.2 + - plugin: buf.build/protocolbuffers/pyi:v27.2 out: gen diff --git a/buf.lock b/buf.lock new file mode 100644 index 0000000..c91b581 --- /dev/null +++ b/buf.lock @@ -0,0 +1,2 @@ +# Generated by buf. DO NOT EDIT. +version: v1 diff --git a/gen/buf/validate/conformance/cases/bool_pb2.py b/gen/buf/validate/conformance/cases/bool_pb2.py index 6e28f91..6d39297 100644 --- a/gen/buf/validate/conformance/cases/bool_pb2.py +++ b/gen/buf/validate/conformance/cases/bool_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/conformance/cases/bool.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/bool.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -33,13 +44,12 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.bool_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _BOOLCONSTTRUE.fields_by_name['val']._options = None - _BOOLCONSTTRUE.fields_by_name['val']._serialized_options = b'\272H\004j\002\010\001' - _BOOLCONSTFALSE.fields_by_name['val']._options = None - _BOOLCONSTFALSE.fields_by_name['val']._serialized_options = b'\272H\004j\002\010\000' +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_BOOLCONSTTRUE'].fields_by_name['val']._loaded_options = None + _globals['_BOOLCONSTTRUE'].fields_by_name['val']._serialized_options = b'\272H\004j\002\010\001' + _globals['_BOOLCONSTFALSE'].fields_by_name['val']._loaded_options = None + _globals['_BOOLCONSTFALSE'].fields_by_name['val']._serialized_options = b'\272H\004j\002\010\000' _globals['_BOOLNONE']._serialized_start=106 _globals['_BOOLNONE']._serialized_end=134 _globals['_BOOLCONSTTRUE']._serialized_start=136 diff --git a/gen/buf/validate/conformance/cases/bool_pb2.pyi b/gen/buf/validate/conformance/cases/bool_pb2.pyi index a5f4dc5..0ca5ef4 100644 --- a/gen/buf/validate/conformance/cases/bool_pb2.pyi +++ b/gen/buf/validate/conformance/cases/bool_pb2.pyi @@ -20,19 +20,19 @@ from typing import ClassVar as _ClassVar, Optional as _Optional DESCRIPTOR: _descriptor.FileDescriptor class BoolNone(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: bool def __init__(self, val: bool = ...) -> None: ... class BoolConstTrue(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: bool def __init__(self, val: bool = ...) -> None: ... class BoolConstFalse(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: bool def __init__(self, val: bool = ...) -> None: ... diff --git a/gen/buf/validate/conformance/cases/bytes_pb2.py b/gen/buf/validate/conformance/cases/bytes_pb2.py index 3d9a873..49dd73e 100644 --- a/gen/buf/validate/conformance/cases/bytes_pb2.py +++ b/gen/buf/validate/conformance/cases/bytes_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/conformance/cases/bytes.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/bytes.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -33,41 +44,40 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.bytes_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _BYTESCONST.fields_by_name['val']._options = None - _BYTESCONST.fields_by_name['val']._serialized_options = b'\272H\007z\005\n\003foo' - _BYTESIN.fields_by_name['val']._options = None - _BYTESIN.fields_by_name['val']._serialized_options = b'\272H\014z\nB\003barB\003baz' - _BYTESNOTIN.fields_by_name['val']._options = None - _BYTESNOTIN.fields_by_name['val']._serialized_options = b'\272H\016z\014J\004fizzJ\004buzz' - _BYTESLEN.fields_by_name['val']._options = None - _BYTESLEN.fields_by_name['val']._serialized_options = b'\272H\004z\002h\003' - _BYTESMINLEN.fields_by_name['val']._options = None - _BYTESMINLEN.fields_by_name['val']._serialized_options = b'\272H\004z\002\020\003' - _BYTESMAXLEN.fields_by_name['val']._options = None - _BYTESMAXLEN.fields_by_name['val']._serialized_options = b'\272H\004z\002\030\005' - _BYTESMINMAXLEN.fields_by_name['val']._options = None - _BYTESMINMAXLEN.fields_by_name['val']._serialized_options = b'\272H\006z\004\020\003\030\005' - _BYTESEQUALMINMAXLEN.fields_by_name['val']._options = None - _BYTESEQUALMINMAXLEN.fields_by_name['val']._serialized_options = b'\272H\006z\004\020\005\030\005' - _BYTESPATTERN.fields_by_name['val']._options = None - _BYTESPATTERN.fields_by_name['val']._serialized_options = b'\272H\022z\020\"\016^[\\x00-\\x7F]+$' - _BYTESPREFIX.fields_by_name['val']._options = None - _BYTESPREFIX.fields_by_name['val']._serialized_options = b'\272H\005z\003*\001\231' - _BYTESCONTAINS.fields_by_name['val']._options = None - _BYTESCONTAINS.fields_by_name['val']._serialized_options = b'\272H\007z\005:\003bar' - _BYTESSUFFIX.fields_by_name['val']._options = None - _BYTESSUFFIX.fields_by_name['val']._serialized_options = b'\272H\010z\0062\004buzz' - _BYTESIP.fields_by_name['val']._options = None - _BYTESIP.fields_by_name['val']._serialized_options = b'\272H\004z\002P\001' - _BYTESIPV4.fields_by_name['val']._options = None - _BYTESIPV4.fields_by_name['val']._serialized_options = b'\272H\004z\002X\001' - _BYTESIPV6.fields_by_name['val']._options = None - _BYTESIPV6.fields_by_name['val']._serialized_options = b'\272H\004z\002`\001' - _BYTESIPV6IGNORE.fields_by_name['val']._options = None - _BYTESIPV6IGNORE.fields_by_name['val']._serialized_options = b'\272H\007z\002`\001\320\001\001' +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_BYTESCONST'].fields_by_name['val']._loaded_options = None + _globals['_BYTESCONST'].fields_by_name['val']._serialized_options = b'\272H\007z\005\n\003foo' + _globals['_BYTESIN'].fields_by_name['val']._loaded_options = None + _globals['_BYTESIN'].fields_by_name['val']._serialized_options = b'\272H\014z\nB\003barB\003baz' + _globals['_BYTESNOTIN'].fields_by_name['val']._loaded_options = None + _globals['_BYTESNOTIN'].fields_by_name['val']._serialized_options = b'\272H\016z\014J\004fizzJ\004buzz' + _globals['_BYTESLEN'].fields_by_name['val']._loaded_options = None + _globals['_BYTESLEN'].fields_by_name['val']._serialized_options = b'\272H\004z\002h\003' + _globals['_BYTESMINLEN'].fields_by_name['val']._loaded_options = None + _globals['_BYTESMINLEN'].fields_by_name['val']._serialized_options = b'\272H\004z\002\020\003' + _globals['_BYTESMAXLEN'].fields_by_name['val']._loaded_options = None + _globals['_BYTESMAXLEN'].fields_by_name['val']._serialized_options = b'\272H\004z\002\030\005' + _globals['_BYTESMINMAXLEN'].fields_by_name['val']._loaded_options = None + _globals['_BYTESMINMAXLEN'].fields_by_name['val']._serialized_options = b'\272H\006z\004\020\003\030\005' + _globals['_BYTESEQUALMINMAXLEN'].fields_by_name['val']._loaded_options = None + _globals['_BYTESEQUALMINMAXLEN'].fields_by_name['val']._serialized_options = b'\272H\006z\004\020\005\030\005' + _globals['_BYTESPATTERN'].fields_by_name['val']._loaded_options = None + _globals['_BYTESPATTERN'].fields_by_name['val']._serialized_options = b'\272H\022z\020\"\016^[\\x00-\\x7F]+$' + _globals['_BYTESPREFIX'].fields_by_name['val']._loaded_options = None + _globals['_BYTESPREFIX'].fields_by_name['val']._serialized_options = b'\272H\005z\003*\001\231' + _globals['_BYTESCONTAINS'].fields_by_name['val']._loaded_options = None + _globals['_BYTESCONTAINS'].fields_by_name['val']._serialized_options = b'\272H\007z\005:\003bar' + _globals['_BYTESSUFFIX'].fields_by_name['val']._loaded_options = None + _globals['_BYTESSUFFIX'].fields_by_name['val']._serialized_options = b'\272H\010z\0062\004buzz' + _globals['_BYTESIP'].fields_by_name['val']._loaded_options = None + _globals['_BYTESIP'].fields_by_name['val']._serialized_options = b'\272H\004z\002P\001' + _globals['_BYTESIPV4'].fields_by_name['val']._loaded_options = None + _globals['_BYTESIPV4'].fields_by_name['val']._serialized_options = b'\272H\004z\002X\001' + _globals['_BYTESIPV6'].fields_by_name['val']._loaded_options = None + _globals['_BYTESIPV6'].fields_by_name['val']._serialized_options = b'\272H\004z\002`\001' + _globals['_BYTESIPV6IGNORE'].fields_by_name['val']._loaded_options = None + _globals['_BYTESIPV6IGNORE'].fields_by_name['val']._serialized_options = b'\272H\007z\002`\001\320\001\001' _globals['_BYTESNONE']._serialized_start=107 _globals['_BYTESNONE']._serialized_end=136 _globals['_BYTESCONST']._serialized_start=138 diff --git a/gen/buf/validate/conformance/cases/bytes_pb2.pyi b/gen/buf/validate/conformance/cases/bytes_pb2.pyi index 2984a07..3b2cc31 100644 --- a/gen/buf/validate/conformance/cases/bytes_pb2.pyi +++ b/gen/buf/validate/conformance/cases/bytes_pb2.pyi @@ -20,103 +20,103 @@ from typing import ClassVar as _ClassVar, Optional as _Optional DESCRIPTOR: _descriptor.FileDescriptor class BytesNone(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: bytes def __init__(self, val: _Optional[bytes] = ...) -> None: ... class BytesConst(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: bytes def __init__(self, val: _Optional[bytes] = ...) -> None: ... class BytesIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: bytes def __init__(self, val: _Optional[bytes] = ...) -> None: ... class BytesNotIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: bytes def __init__(self, val: _Optional[bytes] = ...) -> None: ... class BytesLen(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: bytes def __init__(self, val: _Optional[bytes] = ...) -> None: ... class BytesMinLen(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: bytes def __init__(self, val: _Optional[bytes] = ...) -> None: ... class BytesMaxLen(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: bytes def __init__(self, val: _Optional[bytes] = ...) -> None: ... class BytesMinMaxLen(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: bytes def __init__(self, val: _Optional[bytes] = ...) -> None: ... class BytesEqualMinMaxLen(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: bytes def __init__(self, val: _Optional[bytes] = ...) -> None: ... class BytesPattern(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: bytes def __init__(self, val: _Optional[bytes] = ...) -> None: ... class BytesPrefix(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: bytes def __init__(self, val: _Optional[bytes] = ...) -> None: ... class BytesContains(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: bytes def __init__(self, val: _Optional[bytes] = ...) -> None: ... class BytesSuffix(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: bytes def __init__(self, val: _Optional[bytes] = ...) -> None: ... class BytesIP(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: bytes def __init__(self, val: _Optional[bytes] = ...) -> None: ... class BytesIPv4(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: bytes def __init__(self, val: _Optional[bytes] = ...) -> None: ... class BytesIPv6(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: bytes def __init__(self, val: _Optional[bytes] = ...) -> None: ... class BytesIPv6Ignore(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: bytes def __init__(self, val: _Optional[bytes] = ...) -> None: ... diff --git a/gen/buf/validate/conformance/cases/custom_constraints/custom_constraints_pb2.py b/gen/buf/validate/conformance/cases/custom_constraints/custom_constraints_pb2.py index 430f886..a6de850 100644 --- a/gen/buf/validate/conformance/cases/custom_constraints/custom_constraints_pb2.py +++ b/gen/buf/validate/conformance/cases/custom_constraints/custom_constraints_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/conformance/cases/custom_constraints/custom_constraints.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/custom_constraints/custom_constraints.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -33,29 +44,28 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.custom_constraints.custom_constraints_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _MESSAGEEXPRESSIONS_NESTED._options = None - _MESSAGEEXPRESSIONS_NESTED._serialized_options = b'\272HO\032M\n\031message_expression_nested\0320this.a > this.b ? \'\': \'a must be greater than b\'' - _MESSAGEEXPRESSIONS._options = None - _MESSAGEEXPRESSIONS._serialized_options = b'\272H\314\001\032C\n\031message_expression_scalar\022\025a must be less than b\032\017this.a < this.b\032?\n\027message_expression_enum\022\022c must not equal d\032\020this.c != this.d\032D\n\030message_expression_embed\022\022e.a must equal f.a\032\024this.e.a == this.f.a' - _FIELDEXPRESSIONS_NESTED.fields_by_name['a']._options = None - _FIELDEXPRESSIONS_NESTED.fields_by_name['a']._serialized_options = b'\272HA\272\001>\n\027field_expression_nested\032#this > 0 ? \'\': \'a must be positive\'' - _FIELDEXPRESSIONS.fields_by_name['a']._options = None - _FIELDEXPRESSIONS.fields_by_name['a']._serialized_options = b'\272HI\272\001F\n\027field_expression_scalar\032+this > 42 ? \'\': \'a must be greater than 42\'' - _FIELDEXPRESSIONS.fields_by_name['b']._options = None - _FIELDEXPRESSIONS.fields_by_name['b']._serialized_options = b'\272H5\272\0012\n\025field_expression_enum\022\016b must be ~ONE\032\tthis == 1' - _FIELDEXPRESSIONS.fields_by_name['c']._options = None - _FIELDEXPRESSIONS.fields_by_name['c']._serialized_options = b'\272HI\272\001F\n\026field_expression_embed\022\033c.a must be a multiple of 4\032\017this.a % 4 == 0' - _MISSINGFIELD._options = None - _MISSINGFIELD._serialized_options = b'\272H1\032/\n\rmissing_field\022\022b must be positive\032\nthis.b > 0' - _INCORRECTTYPE._options = None - _INCORRECTTYPE._serialized_options = b'\272HE\032C\n\016incorrect_type\022\027a must start with \'foo\'\032\030this.a.startsWith(\'foo\')' - _DYNRUNTIMEERROR._options = None - _DYNRUNTIMEERROR._serialized_options = b'\272HY\032W\n\017dyn_runtime_err\022.dynamic type tries to use a non-existent field\032\024dyn(this).b == \'foo\'' - _NOWEQUALSNOW._options = None - _NOWEQUALSNOW._serialized_options = b'\272HI\032G\n\016now_equals_now\022)now should equal now within an expression\032\nnow == now' +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_MESSAGEEXPRESSIONS_NESTED']._loaded_options = None + _globals['_MESSAGEEXPRESSIONS_NESTED']._serialized_options = b'\272HO\032M\n\031message_expression_nested\0320this.a > this.b ? \'\': \'a must be greater than b\'' + _globals['_MESSAGEEXPRESSIONS']._loaded_options = None + _globals['_MESSAGEEXPRESSIONS']._serialized_options = b'\272H\314\001\032C\n\031message_expression_scalar\022\025a must be less than b\032\017this.a < this.b\032?\n\027message_expression_enum\022\022c must not equal d\032\020this.c != this.d\032D\n\030message_expression_embed\022\022e.a must equal f.a\032\024this.e.a == this.f.a' + _globals['_FIELDEXPRESSIONS_NESTED'].fields_by_name['a']._loaded_options = None + _globals['_FIELDEXPRESSIONS_NESTED'].fields_by_name['a']._serialized_options = b'\272HA\272\001>\n\027field_expression_nested\032#this > 0 ? \'\': \'a must be positive\'' + _globals['_FIELDEXPRESSIONS'].fields_by_name['a']._loaded_options = None + _globals['_FIELDEXPRESSIONS'].fields_by_name['a']._serialized_options = b'\272HI\272\001F\n\027field_expression_scalar\032+this > 42 ? \'\': \'a must be greater than 42\'' + _globals['_FIELDEXPRESSIONS'].fields_by_name['b']._loaded_options = None + _globals['_FIELDEXPRESSIONS'].fields_by_name['b']._serialized_options = b'\272H5\272\0012\n\025field_expression_enum\022\016b must be ~ONE\032\tthis == 1' + _globals['_FIELDEXPRESSIONS'].fields_by_name['c']._loaded_options = None + _globals['_FIELDEXPRESSIONS'].fields_by_name['c']._serialized_options = b'\272HI\272\001F\n\026field_expression_embed\022\033c.a must be a multiple of 4\032\017this.a % 4 == 0' + _globals['_MISSINGFIELD']._loaded_options = None + _globals['_MISSINGFIELD']._serialized_options = b'\272H1\032/\n\rmissing_field\022\022b must be positive\032\nthis.b > 0' + _globals['_INCORRECTTYPE']._loaded_options = None + _globals['_INCORRECTTYPE']._serialized_options = b'\272HE\032C\n\016incorrect_type\022\027a must start with \'foo\'\032\030this.a.startsWith(\'foo\')' + _globals['_DYNRUNTIMEERROR']._loaded_options = None + _globals['_DYNRUNTIMEERROR']._serialized_options = b'\272HY\032W\n\017dyn_runtime_err\022.dynamic type tries to use a non-existent field\032\024dyn(this).b == \'foo\'' + _globals['_NOWEQUALSNOW']._loaded_options = None + _globals['_NOWEQUALSNOW']._serialized_options = b'\272HI\032G\n\016now_equals_now\022)now should equal now within an expression\032\nnow == now' _globals['_ENUM']._serialized_start=1983 _globals['_ENUM']._serialized_end=2025 _globals['_NOEXPRESSIONS']._serialized_start=159 diff --git a/gen/buf/validate/conformance/cases/custom_constraints/custom_constraints_pb2.pyi b/gen/buf/validate/conformance/cases/custom_constraints/custom_constraints_pb2.pyi index b2493d7..5ca1b16 100644 --- a/gen/buf/validate/conformance/cases/custom_constraints/custom_constraints_pb2.pyi +++ b/gen/buf/validate/conformance/cases/custom_constraints/custom_constraints_pb2.pyi @@ -21,16 +21,16 @@ from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Opti DESCRIPTOR: _descriptor.FileDescriptor class Enum(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] + __slots__ = () ENUM_UNSPECIFIED: _ClassVar[Enum] ENUM_ONE: _ClassVar[Enum] ENUM_UNSPECIFIED: Enum ENUM_ONE: Enum class NoExpressions(_message.Message): - __slots__ = ["a", "b", "c"] + __slots__ = ("a", "b", "c") class Nested(_message.Message): - __slots__ = [] + __slots__ = () def __init__(self) -> None: ... A_FIELD_NUMBER: _ClassVar[int] B_FIELD_NUMBER: _ClassVar[int] @@ -41,9 +41,9 @@ class NoExpressions(_message.Message): def __init__(self, a: _Optional[int] = ..., b: _Optional[_Union[Enum, str]] = ..., c: _Optional[_Union[NoExpressions.Nested, _Mapping]] = ...) -> None: ... class MessageExpressions(_message.Message): - __slots__ = ["a", "b", "c", "d", "e", "f"] + __slots__ = ("a", "b", "c", "d", "e", "f") class Nested(_message.Message): - __slots__ = ["a", "b"] + __slots__ = ("a", "b") A_FIELD_NUMBER: _ClassVar[int] B_FIELD_NUMBER: _ClassVar[int] a: int @@ -64,9 +64,9 @@ class MessageExpressions(_message.Message): def __init__(self, a: _Optional[int] = ..., b: _Optional[int] = ..., c: _Optional[_Union[Enum, str]] = ..., d: _Optional[_Union[Enum, str]] = ..., e: _Optional[_Union[MessageExpressions.Nested, _Mapping]] = ..., f: _Optional[_Union[MessageExpressions.Nested, _Mapping]] = ...) -> None: ... class FieldExpressions(_message.Message): - __slots__ = ["a", "b", "c"] + __slots__ = ("a", "b", "c") class Nested(_message.Message): - __slots__ = ["a"] + __slots__ = ("a",) A_FIELD_NUMBER: _ClassVar[int] a: int def __init__(self, a: _Optional[int] = ...) -> None: ... @@ -79,23 +79,23 @@ class FieldExpressions(_message.Message): def __init__(self, a: _Optional[int] = ..., b: _Optional[_Union[Enum, str]] = ..., c: _Optional[_Union[FieldExpressions.Nested, _Mapping]] = ...) -> None: ... class MissingField(_message.Message): - __slots__ = ["a"] + __slots__ = ("a",) A_FIELD_NUMBER: _ClassVar[int] a: int def __init__(self, a: _Optional[int] = ...) -> None: ... class IncorrectType(_message.Message): - __slots__ = ["a"] + __slots__ = ("a",) A_FIELD_NUMBER: _ClassVar[int] a: int def __init__(self, a: _Optional[int] = ...) -> None: ... class DynRuntimeError(_message.Message): - __slots__ = ["a"] + __slots__ = ("a",) A_FIELD_NUMBER: _ClassVar[int] a: int def __init__(self, a: _Optional[int] = ...) -> None: ... class NowEqualsNow(_message.Message): - __slots__ = [] + __slots__ = () def __init__(self) -> None: ... diff --git a/gen/buf/validate/conformance/cases/enums_pb2.py b/gen/buf/validate/conformance/cases/enums_pb2.py index fa087ec..0ad0ba5 100644 --- a/gen/buf/validate/conformance/cases/enums_pb2.py +++ b/gen/buf/validate/conformance/cases/enums_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/conformance/cases/enums.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/enums.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -35,49 +46,48 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.enums_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _TESTENUMALIAS._options = None - _TESTENUMALIAS._serialized_options = b'\020\001' - _ENUMCONST.fields_by_name['val']._options = None - _ENUMCONST.fields_by_name['val']._serialized_options = b'\272H\005\202\001\002\010\002' - _ENUMALIASCONST.fields_by_name['val']._options = None - _ENUMALIASCONST.fields_by_name['val']._serialized_options = b'\272H\005\202\001\002\010\002' - _ENUMDEFINED.fields_by_name['val']._options = None - _ENUMDEFINED.fields_by_name['val']._serialized_options = b'\272H\005\202\001\002\020\001' - _ENUMALIASDEFINED.fields_by_name['val']._options = None - _ENUMALIASDEFINED.fields_by_name['val']._serialized_options = b'\272H\005\202\001\002\020\001' - _ENUMIN.fields_by_name['val']._options = None - _ENUMIN.fields_by_name['val']._serialized_options = b'\272H\007\202\001\004\032\002\000\002' - _ENUMALIASIN.fields_by_name['val']._options = None - _ENUMALIASIN.fields_by_name['val']._serialized_options = b'\272H\007\202\001\004\032\002\000\002' - _ENUMNOTIN.fields_by_name['val']._options = None - _ENUMNOTIN.fields_by_name['val']._serialized_options = b'\272H\006\202\001\003\"\001\001' - _ENUMALIASNOTIN.fields_by_name['val']._options = None - _ENUMALIASNOTIN.fields_by_name['val']._serialized_options = b'\272H\006\202\001\003\"\001\001' - _ENUMEXTERNAL.fields_by_name['val']._options = None - _ENUMEXTERNAL.fields_by_name['val']._serialized_options = b'\272H\005\202\001\002\020\001' - _ENUMEXTERNAL2.fields_by_name['val']._options = None - _ENUMEXTERNAL2.fields_by_name['val']._serialized_options = b'\272H\005\202\001\002\020\001' - _REPEATEDENUMDEFINED.fields_by_name['val']._options = None - _REPEATEDENUMDEFINED.fields_by_name['val']._serialized_options = b'\272H\n\222\001\007\"\005\202\001\002\020\001' - _REPEATEDEXTERNALENUMDEFINED.fields_by_name['val']._options = None - _REPEATEDEXTERNALENUMDEFINED.fields_by_name['val']._serialized_options = b'\272H\n\222\001\007\"\005\202\001\002\020\001' - _REPEATEDYETANOTHEREXTERNALENUMDEFINED.fields_by_name['val']._options = None - _REPEATEDYETANOTHEREXTERNALENUMDEFINED.fields_by_name['val']._serialized_options = b'\272H\n\222\001\007\"\005\202\001\002\020\001' - _MAPENUMDEFINED_VALENTRY._options = None - _MAPENUMDEFINED_VALENTRY._serialized_options = b'8\001' - _MAPENUMDEFINED.fields_by_name['val']._options = None - _MAPENUMDEFINED.fields_by_name['val']._serialized_options = b'\272H\n\232\001\007*\005\202\001\002\020\001' - _MAPEXTERNALENUMDEFINED_VALENTRY._options = None - _MAPEXTERNALENUMDEFINED_VALENTRY._serialized_options = b'8\001' - _MAPEXTERNALENUMDEFINED.fields_by_name['val']._options = None - _MAPEXTERNALENUMDEFINED.fields_by_name['val']._serialized_options = b'\272H\n\232\001\007*\005\202\001\002\020\001' - _ENUMINSIDEONEOF.fields_by_name['val']._options = None - _ENUMINSIDEONEOF.fields_by_name['val']._serialized_options = b'\272H\005\202\001\002\020\001' - _ENUMINSIDEONEOF.fields_by_name['val2']._options = None - _ENUMINSIDEONEOF.fields_by_name['val2']._serialized_options = b'\272H\010\202\001\005\020\001\"\001\000' +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_TESTENUMALIAS']._loaded_options = None + _globals['_TESTENUMALIAS']._serialized_options = b'\020\001' + _globals['_ENUMCONST'].fields_by_name['val']._loaded_options = None + _globals['_ENUMCONST'].fields_by_name['val']._serialized_options = b'\272H\005\202\001\002\010\002' + _globals['_ENUMALIASCONST'].fields_by_name['val']._loaded_options = None + _globals['_ENUMALIASCONST'].fields_by_name['val']._serialized_options = b'\272H\005\202\001\002\010\002' + _globals['_ENUMDEFINED'].fields_by_name['val']._loaded_options = None + _globals['_ENUMDEFINED'].fields_by_name['val']._serialized_options = b'\272H\005\202\001\002\020\001' + _globals['_ENUMALIASDEFINED'].fields_by_name['val']._loaded_options = None + _globals['_ENUMALIASDEFINED'].fields_by_name['val']._serialized_options = b'\272H\005\202\001\002\020\001' + _globals['_ENUMIN'].fields_by_name['val']._loaded_options = None + _globals['_ENUMIN'].fields_by_name['val']._serialized_options = b'\272H\007\202\001\004\032\002\000\002' + _globals['_ENUMALIASIN'].fields_by_name['val']._loaded_options = None + _globals['_ENUMALIASIN'].fields_by_name['val']._serialized_options = b'\272H\007\202\001\004\032\002\000\002' + _globals['_ENUMNOTIN'].fields_by_name['val']._loaded_options = None + _globals['_ENUMNOTIN'].fields_by_name['val']._serialized_options = b'\272H\006\202\001\003\"\001\001' + _globals['_ENUMALIASNOTIN'].fields_by_name['val']._loaded_options = None + _globals['_ENUMALIASNOTIN'].fields_by_name['val']._serialized_options = b'\272H\006\202\001\003\"\001\001' + _globals['_ENUMEXTERNAL'].fields_by_name['val']._loaded_options = None + _globals['_ENUMEXTERNAL'].fields_by_name['val']._serialized_options = b'\272H\005\202\001\002\020\001' + _globals['_ENUMEXTERNAL2'].fields_by_name['val']._loaded_options = None + _globals['_ENUMEXTERNAL2'].fields_by_name['val']._serialized_options = b'\272H\005\202\001\002\020\001' + _globals['_REPEATEDENUMDEFINED'].fields_by_name['val']._loaded_options = None + _globals['_REPEATEDENUMDEFINED'].fields_by_name['val']._serialized_options = b'\272H\n\222\001\007\"\005\202\001\002\020\001' + _globals['_REPEATEDEXTERNALENUMDEFINED'].fields_by_name['val']._loaded_options = None + _globals['_REPEATEDEXTERNALENUMDEFINED'].fields_by_name['val']._serialized_options = b'\272H\n\222\001\007\"\005\202\001\002\020\001' + _globals['_REPEATEDYETANOTHEREXTERNALENUMDEFINED'].fields_by_name['val']._loaded_options = None + _globals['_REPEATEDYETANOTHEREXTERNALENUMDEFINED'].fields_by_name['val']._serialized_options = b'\272H\n\222\001\007\"\005\202\001\002\020\001' + _globals['_MAPENUMDEFINED_VALENTRY']._loaded_options = None + _globals['_MAPENUMDEFINED_VALENTRY']._serialized_options = b'8\001' + _globals['_MAPENUMDEFINED'].fields_by_name['val']._loaded_options = None + _globals['_MAPENUMDEFINED'].fields_by_name['val']._serialized_options = b'\272H\n\232\001\007*\005\202\001\002\020\001' + _globals['_MAPEXTERNALENUMDEFINED_VALENTRY']._loaded_options = None + _globals['_MAPEXTERNALENUMDEFINED_VALENTRY']._serialized_options = b'8\001' + _globals['_MAPEXTERNALENUMDEFINED'].fields_by_name['val']._loaded_options = None + _globals['_MAPEXTERNALENUMDEFINED'].fields_by_name['val']._serialized_options = b'\272H\n\232\001\007*\005\202\001\002\020\001' + _globals['_ENUMINSIDEONEOF'].fields_by_name['val']._loaded_options = None + _globals['_ENUMINSIDEONEOF'].fields_by_name['val']._serialized_options = b'\272H\005\202\001\002\020\001' + _globals['_ENUMINSIDEONEOF'].fields_by_name['val2']._loaded_options = None + _globals['_ENUMINSIDEONEOF'].fields_by_name['val2']._serialized_options = b'\272H\010\202\001\005\020\001\"\001\000' _globals['_TESTENUM']._serialized_start=2251 _globals['_TESTENUM']._serialized_end=2326 _globals['_TESTENUMALIAS']._serialized_start=2329 diff --git a/gen/buf/validate/conformance/cases/enums_pb2.pyi b/gen/buf/validate/conformance/cases/enums_pb2.pyi index 3abc31a..31af195 100644 --- a/gen/buf/validate/conformance/cases/enums_pb2.pyi +++ b/gen/buf/validate/conformance/cases/enums_pb2.pyi @@ -24,13 +24,13 @@ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Map DESCRIPTOR: _descriptor.FileDescriptor class TestEnum(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] + __slots__ = () TEST_ENUM_UNSPECIFIED: _ClassVar[TestEnum] TEST_ENUM_ONE: _ClassVar[TestEnum] TEST_ENUM_TWO: _ClassVar[TestEnum] class TestEnumAlias(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] + __slots__ = () TEST_ENUM_ALIAS_UNSPECIFIED: _ClassVar[TestEnumAlias] TEST_ENUM_ALIAS_A: _ClassVar[TestEnumAlias] TEST_ENUM_ALIAS_B: _ClassVar[TestEnumAlias] @@ -50,93 +50,93 @@ TEST_ENUM_ALIAS_BETA: TestEnumAlias TEST_ENUM_ALIAS_GAMMA: TestEnumAlias class EnumNone(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: TestEnum def __init__(self, val: _Optional[_Union[TestEnum, str]] = ...) -> None: ... class EnumConst(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: TestEnum def __init__(self, val: _Optional[_Union[TestEnum, str]] = ...) -> None: ... class EnumAliasConst(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: TestEnumAlias def __init__(self, val: _Optional[_Union[TestEnumAlias, str]] = ...) -> None: ... class EnumDefined(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: TestEnum def __init__(self, val: _Optional[_Union[TestEnum, str]] = ...) -> None: ... class EnumAliasDefined(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: TestEnumAlias def __init__(self, val: _Optional[_Union[TestEnumAlias, str]] = ...) -> None: ... class EnumIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: TestEnum def __init__(self, val: _Optional[_Union[TestEnum, str]] = ...) -> None: ... class EnumAliasIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: TestEnumAlias def __init__(self, val: _Optional[_Union[TestEnumAlias, str]] = ...) -> None: ... class EnumNotIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: TestEnum def __init__(self, val: _Optional[_Union[TestEnum, str]] = ...) -> None: ... class EnumAliasNotIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: TestEnumAlias def __init__(self, val: _Optional[_Union[TestEnumAlias, str]] = ...) -> None: ... class EnumExternal(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _embed_pb2.Embed.Enumerated def __init__(self, val: _Optional[_Union[_embed_pb2.Embed.Enumerated, str]] = ...) -> None: ... class EnumExternal2(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _embed_pb2.Embed.DoubleEmbed.DoubleEnumerated def __init__(self, val: _Optional[_Union[_embed_pb2.Embed.DoubleEmbed.DoubleEnumerated, str]] = ...) -> None: ... class RepeatedEnumDefined(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedScalarFieldContainer[TestEnum] def __init__(self, val: _Optional[_Iterable[_Union[TestEnum, str]]] = ...) -> None: ... class RepeatedExternalEnumDefined(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedScalarFieldContainer[_embed_pb2.Embed.Enumerated] def __init__(self, val: _Optional[_Iterable[_Union[_embed_pb2.Embed.Enumerated, str]]] = ...) -> None: ... class RepeatedYetAnotherExternalEnumDefined(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedScalarFieldContainer[_embed2_pb2.Embed.Enumerated] def __init__(self, val: _Optional[_Iterable[_Union[_embed2_pb2.Embed.Enumerated, str]]] = ...) -> None: ... class MapEnumDefined(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class ValEntry(_message.Message): - __slots__ = ["key", "value"] + __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] VALUE_FIELD_NUMBER: _ClassVar[int] key: str @@ -147,9 +147,9 @@ class MapEnumDefined(_message.Message): def __init__(self, val: _Optional[_Mapping[str, TestEnum]] = ...) -> None: ... class MapExternalEnumDefined(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class ValEntry(_message.Message): - __slots__ = ["key", "value"] + __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] VALUE_FIELD_NUMBER: _ClassVar[int] key: str @@ -160,7 +160,7 @@ class MapExternalEnumDefined(_message.Message): def __init__(self, val: _Optional[_Mapping[str, _embed_pb2.Embed.Enumerated]] = ...) -> None: ... class EnumInsideOneof(_message.Message): - __slots__ = ["val", "val2"] + __slots__ = ("val", "val2") VAL_FIELD_NUMBER: _ClassVar[int] VAL2_FIELD_NUMBER: _ClassVar[int] val: TestEnum diff --git a/gen/buf/validate/conformance/cases/filename_with_dash_pb2.py b/gen/buf/validate/conformance/cases/filename_with_dash_pb2.py index 396e694..31890a6 100644 --- a/gen/buf/validate/conformance/cases/filename_with_dash_pb2.py +++ b/gen/buf/validate/conformance/cases/filename_with_dash_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/conformance/cases/filename-with-dash.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/filename-with-dash.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -33,7 +44,6 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.filename_with_dash_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None # @@protoc_insertion_point(module_scope) diff --git a/gen/buf/validate/conformance/cases/ignore_empty_proto2_pb2.py b/gen/buf/validate/conformance/cases/ignore_empty_proto2_pb2.py index 50940b5..82ba829 100644 --- a/gen/buf/validate/conformance/cases/ignore_empty_proto2_pb2.py +++ b/gen/buf/validate/conformance/cases/ignore_empty_proto2_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/conformance/cases/ignore_empty_proto2.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/ignore_empty_proto2.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -33,25 +44,24 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.ignore_empty_proto2_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _IGNOREEMPTYPROTO2SCALAROPTIONAL.fields_by_name['val']._options = None - _IGNOREEMPTYPROTO2SCALAROPTIONAL.fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\320\001\001' - _IGNOREEMPTYPROTO2SCALAROPTIONALWITHDEFAULT.fields_by_name['val']._options = None - _IGNOREEMPTYPROTO2SCALAROPTIONALWITHDEFAULT.fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\320\001\001' - _IGNOREEMPTYPROTO2SCALARREQUIRED.fields_by_name['val']._options = None - _IGNOREEMPTYPROTO2SCALARREQUIRED.fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\320\001\001' - _IGNOREEMPTYPROTO2MESSAGE.fields_by_name['val']._options = None - _IGNOREEMPTYPROTO2MESSAGE.fields_by_name['val']._serialized_options = b'\272H>\272\0018\n\033ignore_empty.proto2.message\022\006foobar\032\021this.val == \'foo\'\320\001\001' - _IGNOREEMPTYPROTO2ONEOF.fields_by_name['val']._options = None - _IGNOREEMPTYPROTO2ONEOF.fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\320\001\001' - _IGNOREEMPTYPROTO2REPEATED.fields_by_name['val']._options = None - _IGNOREEMPTYPROTO2REPEATED.fields_by_name['val']._serialized_options = b'\272H\010\222\001\002\010\003\320\001\001' - _IGNOREEMPTYPROTO2MAP_VALENTRY._options = None - _IGNOREEMPTYPROTO2MAP_VALENTRY._serialized_options = b'8\001' - _IGNOREEMPTYPROTO2MAP.fields_by_name['val']._options = None - _IGNOREEMPTYPROTO2MAP.fields_by_name['val']._serialized_options = b'\272H\010\232\001\002\010\003\320\001\001' +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_IGNOREEMPTYPROTO2SCALAROPTIONAL'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYPROTO2SCALAROPTIONAL'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\320\001\001' + _globals['_IGNOREEMPTYPROTO2SCALAROPTIONALWITHDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYPROTO2SCALAROPTIONALWITHDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\320\001\001' + _globals['_IGNOREEMPTYPROTO2SCALARREQUIRED'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYPROTO2SCALARREQUIRED'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\320\001\001' + _globals['_IGNOREEMPTYPROTO2MESSAGE'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYPROTO2MESSAGE'].fields_by_name['val']._serialized_options = b'\272H>\272\0018\n\033ignore_empty.proto2.message\022\006foobar\032\021this.val == \'foo\'\320\001\001' + _globals['_IGNOREEMPTYPROTO2ONEOF'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYPROTO2ONEOF'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\320\001\001' + _globals['_IGNOREEMPTYPROTO2REPEATED'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYPROTO2REPEATED'].fields_by_name['val']._serialized_options = b'\272H\010\222\001\002\010\003\320\001\001' + _globals['_IGNOREEMPTYPROTO2MAP_VALENTRY']._loaded_options = None + _globals['_IGNOREEMPTYPROTO2MAP_VALENTRY']._serialized_options = b'8\001' + _globals['_IGNOREEMPTYPROTO2MAP'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYPROTO2MAP'].fields_by_name['val']._serialized_options = b'\272H\010\232\001\002\010\003\320\001\001' _globals['_IGNOREEMPTYPROTO2SCALAROPTIONAL']._serialized_start=121 _globals['_IGNOREEMPTYPROTO2SCALAROPTIONAL']._serialized_end=184 _globals['_IGNOREEMPTYPROTO2SCALAROPTIONALWITHDEFAULT']._serialized_start=186 diff --git a/gen/buf/validate/conformance/cases/ignore_empty_proto2_pb2.pyi b/gen/buf/validate/conformance/cases/ignore_empty_proto2_pb2.pyi index 1cb0a09..d0314f2 100644 --- a/gen/buf/validate/conformance/cases/ignore_empty_proto2_pb2.pyi +++ b/gen/buf/validate/conformance/cases/ignore_empty_proto2_pb2.pyi @@ -21,27 +21,27 @@ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Map DESCRIPTOR: _descriptor.FileDescriptor class IgnoreEmptyProto2ScalarOptional(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class IgnoreEmptyProto2ScalarOptionalWithDefault(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class IgnoreEmptyProto2ScalarRequired(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class IgnoreEmptyProto2Message(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class Msg(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... @@ -50,21 +50,21 @@ class IgnoreEmptyProto2Message(_message.Message): def __init__(self, val: _Optional[_Union[IgnoreEmptyProto2Message.Msg, _Mapping]] = ...) -> None: ... class IgnoreEmptyProto2Oneof(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class IgnoreEmptyProto2Repeated(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedScalarFieldContainer[int] def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... class IgnoreEmptyProto2Map(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class ValEntry(_message.Message): - __slots__ = ["key", "value"] + __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] VALUE_FIELD_NUMBER: _ClassVar[int] key: int diff --git a/gen/buf/validate/conformance/cases/ignore_empty_proto3_pb2.py b/gen/buf/validate/conformance/cases/ignore_empty_proto3_pb2.py index 35e4c2f..c9061d4 100644 --- a/gen/buf/validate/conformance/cases/ignore_empty_proto3_pb2.py +++ b/gen/buf/validate/conformance/cases/ignore_empty_proto3_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/conformance/cases/ignore_empty_proto3.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/ignore_empty_proto3.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -33,29 +44,28 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.ignore_empty_proto3_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _IGNOREEMPTYPROTO3SCALAR.fields_by_name['val']._options = None - _IGNOREEMPTYPROTO3SCALAR.fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\320\001\001' - _IGNOREEMPTYPROTO3OPTIONALSCALAR.fields_by_name['val']._options = None - _IGNOREEMPTYPROTO3OPTIONALSCALAR.fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\320\001\001' - _IGNOREEMPTYPROTO3MESSAGE.fields_by_name['val']._options = None - _IGNOREEMPTYPROTO3MESSAGE.fields_by_name['val']._serialized_options = b'\272H>\272\0018\n\033ignore_empty.proto3.message\022\006foobar\032\021this.val == \'foo\'\320\001\001' - _IGNOREEMPTYPROTO3ONEOF.fields_by_name['val']._options = None - _IGNOREEMPTYPROTO3ONEOF.fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\320\001\001' - _IGNOREEMPTYPROTO3REPEATED.fields_by_name['val']._options = None - _IGNOREEMPTYPROTO3REPEATED.fields_by_name['val']._serialized_options = b'\272H\010\222\001\002\010\003\320\001\001' - _IGNOREEMPTYPROTO3MAP_VALENTRY._options = None - _IGNOREEMPTYPROTO3MAP_VALENTRY._serialized_options = b'8\001' - _IGNOREEMPTYPROTO3MAP.fields_by_name['val']._options = None - _IGNOREEMPTYPROTO3MAP.fields_by_name['val']._serialized_options = b'\272H\010\232\001\002\010\003\320\001\001' - _IGNOREEMPTYREPEATEDITEMS.fields_by_name['val']._options = None - _IGNOREEMPTYREPEATEDITEMS.fields_by_name['val']._serialized_options = b'\272H\014\222\001\t\"\007\032\002 \000\320\001\001' - _IGNOREEMPTYMAPPAIRS_VALENTRY._options = None - _IGNOREEMPTYMAPPAIRS_VALENTRY._serialized_options = b'8\001' - _IGNOREEMPTYMAPPAIRS.fields_by_name['val']._options = None - _IGNOREEMPTYMAPPAIRS.fields_by_name['val']._serialized_options = b'\272H\025\232\001\022\"\007r\002\020\003\320\001\001*\007\032\002 \000\320\001\001' +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_IGNOREEMPTYPROTO3SCALAR'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYPROTO3SCALAR'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\320\001\001' + _globals['_IGNOREEMPTYPROTO3OPTIONALSCALAR'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYPROTO3OPTIONALSCALAR'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\320\001\001' + _globals['_IGNOREEMPTYPROTO3MESSAGE'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYPROTO3MESSAGE'].fields_by_name['val']._serialized_options = b'\272H>\272\0018\n\033ignore_empty.proto3.message\022\006foobar\032\021this.val == \'foo\'\320\001\001' + _globals['_IGNOREEMPTYPROTO3ONEOF'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYPROTO3ONEOF'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\320\001\001' + _globals['_IGNOREEMPTYPROTO3REPEATED'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYPROTO3REPEATED'].fields_by_name['val']._serialized_options = b'\272H\010\222\001\002\010\003\320\001\001' + _globals['_IGNOREEMPTYPROTO3MAP_VALENTRY']._loaded_options = None + _globals['_IGNOREEMPTYPROTO3MAP_VALENTRY']._serialized_options = b'8\001' + _globals['_IGNOREEMPTYPROTO3MAP'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYPROTO3MAP'].fields_by_name['val']._serialized_options = b'\272H\010\232\001\002\010\003\320\001\001' + _globals['_IGNOREEMPTYREPEATEDITEMS'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYREPEATEDITEMS'].fields_by_name['val']._serialized_options = b'\272H\014\222\001\t\"\007\032\002 \000\320\001\001' + _globals['_IGNOREEMPTYMAPPAIRS_VALENTRY']._loaded_options = None + _globals['_IGNOREEMPTYMAPPAIRS_VALENTRY']._serialized_options = b'8\001' + _globals['_IGNOREEMPTYMAPPAIRS'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYMAPPAIRS'].fields_by_name['val']._serialized_options = b'\272H\025\232\001\022\"\007r\002\020\003\320\001\001*\007\032\002 \000\320\001\001' _globals['_IGNOREEMPTYPROTO3SCALAR']._serialized_start=121 _globals['_IGNOREEMPTYPROTO3SCALAR']._serialized_end=176 _globals['_IGNOREEMPTYPROTO3OPTIONALSCALAR']._serialized_start=178 diff --git a/gen/buf/validate/conformance/cases/ignore_empty_proto3_pb2.pyi b/gen/buf/validate/conformance/cases/ignore_empty_proto3_pb2.pyi index c60ff00..4e777a7 100644 --- a/gen/buf/validate/conformance/cases/ignore_empty_proto3_pb2.pyi +++ b/gen/buf/validate/conformance/cases/ignore_empty_proto3_pb2.pyi @@ -21,21 +21,21 @@ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Map DESCRIPTOR: _descriptor.FileDescriptor class IgnoreEmptyProto3Scalar(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class IgnoreEmptyProto3OptionalScalar(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class IgnoreEmptyProto3Message(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class Msg(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... @@ -44,21 +44,21 @@ class IgnoreEmptyProto3Message(_message.Message): def __init__(self, val: _Optional[_Union[IgnoreEmptyProto3Message.Msg, _Mapping]] = ...) -> None: ... class IgnoreEmptyProto3Oneof(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class IgnoreEmptyProto3Repeated(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedScalarFieldContainer[int] def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... class IgnoreEmptyProto3Map(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class ValEntry(_message.Message): - __slots__ = ["key", "value"] + __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] VALUE_FIELD_NUMBER: _ClassVar[int] key: int @@ -69,15 +69,15 @@ class IgnoreEmptyProto3Map(_message.Message): def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... class IgnoreEmptyRepeatedItems(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedScalarFieldContainer[int] def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... class IgnoreEmptyMapPairs(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class ValEntry(_message.Message): - __slots__ = ["key", "value"] + __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] VALUE_FIELD_NUMBER: _ClassVar[int] key: str diff --git a/gen/buf/validate/conformance/cases/ignore_empty_proto_editions_pb2.py b/gen/buf/validate/conformance/cases/ignore_empty_proto_editions_pb2.py new file mode 100644 index 0000000..7656a3e --- /dev/null +++ b/gen/buf/validate/conformance/cases/ignore_empty_proto_editions_pb2.py @@ -0,0 +1,113 @@ +# Copyright 2023 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. + +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: buf/validate/conformance/cases/ignore_empty_proto_editions.proto +# Protobuf Python Version: 5.27.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/ignore_empty_proto_editions.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n@buf/validate/conformance/cases/ignore_empty_proto_editions.proto\x12\x1e\x62uf.validate.conformance.cases\x1a\x1b\x62uf/validate/validate.proto\"I\n)IgnoreEmptyEditionsScalarExplicitPresence\x12\x1c\n\x03val\x18\x01 \x01(\x05\x42\n\xbaH\x07\x1a\x02 \x00\xd0\x01\x01R\x03val\"X\n4IgnoreEmptyEditionsScalarExplicitPresenceWithDefault\x12 \n\x03val\x18\x01 \x01(\x05:\x02\x34\x32\x42\n\xbaH\x07\x1a\x02 \x00\xd0\x01\x01R\x03val\"N\n)IgnoreEmptyEditionsScalarImplicitPresence\x12!\n\x03val\x18\x01 \x01(\x05\x42\x0f\xaa\x01\x02\x08\x02\xbaH\x07\x1a\x02 \x00\xd0\x01\x01R\x03val\"L\n\'IgnoreEmptyEditionsScalarLegacyRequired\x12!\n\x03val\x18\x01 \x01(\x05\x42\x0f\xaa\x01\x02\x08\x03\xbaH\x07\x1a\x02 \x00\xd0\x01\x01R\x03val\"[\n2IgnoreEmptyEditionsScalarLegacyRequiredWithDefault\x12%\n\x03val\x18\x01 \x01(\x05:\x02\x34\x32\x42\x0f\xaa\x01\x02\x08\x03\xbaH\x07\x1a\x02 \x00\xd0\x01\x01R\x03val\"\xed\x01\n*IgnoreEmptyEditionsMessageExplicitPresence\x12\xa5\x01\n\x03val\x18\x01 \x01(\x0b\x32N.buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresence.MsgBC\xbaH@\xba\x01:\n\x1dignore_empty.editions.message\x12\x06\x66oobar\x1a\x11this.val == \'foo\'\xd0\x01\x01R\x03val\x1a\x17\n\x03Msg\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val\"\x84\x02\n3IgnoreEmptyEditionsMessageExplicitPresenceDelimited\x12\xb3\x01\n\x03val\x18\x01 \x01(\x0b\x32W.buf.validate.conformance.cases.IgnoreEmptyEditionsMessageExplicitPresenceDelimited.MsgBH\xaa\x01\x02(\x02\xbaH@\xba\x01:\n\x1dignore_empty.editions.message\x12\x06\x66oobar\x1a\x11this.val == \'foo\'\xd0\x01\x01R\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(\x0b\x32L.buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequired.MsgBH\xaa\x01\x02\x08\x03\xbaH@\xba\x01:\n\x1dignore_empty.editions.message\x12\x06\x66oobar\x1a\x11this.val == \'foo\'\xd0\x01\x01R\x03val\x1a\x17\n\x03Msg\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val\"\x82\x02\n1IgnoreEmptyEditionsMessageLegacyRequiredDelimited\x12\xb3\x01\n\x03val\x18\x01 \x01(\x0b\x32U.buf.validate.conformance.cases.IgnoreEmptyEditionsMessageLegacyRequiredDelimited.MsgBJ\xaa\x01\x04\x08\x03(\x02\xbaH@\xba\x01:\n\x1dignore_empty.editions.message\x12\x06\x66oobar\x1a\x11this.val == \'foo\'\xd0\x01\x01R\x03val\x1a\x17\n\x03Msg\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val\"?\n\x18IgnoreEmptyEditionsOneof\x12\x1e\n\x03val\x18\x01 \x01(\x05\x42\n\xbaH\x07\x1a\x02 \x00\xd0\x01\x01H\x00R\x03valB\x03\n\x01o\"<\n\x1bIgnoreEmptyEditionsRepeated\x12\x1d\n\x03val\x18\x01 \x03(\x05\x42\x0b\xbaH\x08\x92\x01\x02\x08\x03\xd0\x01\x01R\x03val\"I\n#IgnoreEmptyEditionsRepeatedExpanded\x12\"\n\x03val\x18\x01 \x03(\x05\x42\x10\xaa\x01\x02\x18\x02\xbaH\x08\x92\x01\x02\x08\x03\xd0\x01\x01R\x03val\"\xb0\x01\n\x16IgnoreEmptyEditionsMap\x12^\n\x03val\x18\x01 \x03(\x0b\x32?.buf.validate.conformance.cases.IgnoreEmptyEditionsMap.ValEntryB\x0b\xbaH\x08\x9a\x01\x02\x08\x03\xd0\x01\x01R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\x62\x08\x65\x64itionsp\xe8\x07') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.ignore_empty_proto_editions_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_IGNOREEMPTYEDITIONSSCALAREXPLICITPRESENCE'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYEDITIONSSCALAREXPLICITPRESENCE'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\320\001\001' + _globals['_IGNOREEMPTYEDITIONSSCALAREXPLICITPRESENCEWITHDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYEDITIONSSCALAREXPLICITPRESENCEWITHDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\320\001\001' + _globals['_IGNOREEMPTYEDITIONSSCALARIMPLICITPRESENCE'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYEDITIONSSCALARIMPLICITPRESENCE'].fields_by_name['val']._serialized_options = b'\252\001\002\010\002\272H\007\032\002 \000\320\001\001' + _globals['_IGNOREEMPTYEDITIONSSCALARLEGACYREQUIRED'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYEDITIONSSCALARLEGACYREQUIRED'].fields_by_name['val']._serialized_options = b'\252\001\002\010\003\272H\007\032\002 \000\320\001\001' + _globals['_IGNOREEMPTYEDITIONSSCALARLEGACYREQUIREDWITHDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYEDITIONSSCALARLEGACYREQUIREDWITHDEFAULT'].fields_by_name['val']._serialized_options = b'\252\001\002\010\003\272H\007\032\002 \000\320\001\001' + _globals['_IGNOREEMPTYEDITIONSMESSAGEEXPLICITPRESENCE'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYEDITIONSMESSAGEEXPLICITPRESENCE'].fields_by_name['val']._serialized_options = b'\272H@\272\001:\n\035ignore_empty.editions.message\022\006foobar\032\021this.val == \'foo\'\320\001\001' + _globals['_IGNOREEMPTYEDITIONSMESSAGEEXPLICITPRESENCEDELIMITED'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYEDITIONSMESSAGEEXPLICITPRESENCEDELIMITED'].fields_by_name['val']._serialized_options = b'\252\001\002(\002\272H@\272\001:\n\035ignore_empty.editions.message\022\006foobar\032\021this.val == \'foo\'\320\001\001' + _globals['_IGNOREEMPTYEDITIONSMESSAGELEGACYREQUIRED'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYEDITIONSMESSAGELEGACYREQUIRED'].fields_by_name['val']._serialized_options = b'\252\001\002\010\003\272H@\272\001:\n\035ignore_empty.editions.message\022\006foobar\032\021this.val == \'foo\'\320\001\001' + _globals['_IGNOREEMPTYEDITIONSMESSAGELEGACYREQUIREDDELIMITED'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYEDITIONSMESSAGELEGACYREQUIREDDELIMITED'].fields_by_name['val']._serialized_options = b'\252\001\004\010\003(\002\272H@\272\001:\n\035ignore_empty.editions.message\022\006foobar\032\021this.val == \'foo\'\320\001\001' + _globals['_IGNOREEMPTYEDITIONSONEOF'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYEDITIONSONEOF'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\320\001\001' + _globals['_IGNOREEMPTYEDITIONSREPEATED'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYEDITIONSREPEATED'].fields_by_name['val']._serialized_options = b'\272H\010\222\001\002\010\003\320\001\001' + _globals['_IGNOREEMPTYEDITIONSREPEATEDEXPANDED'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYEDITIONSREPEATEDEXPANDED'].fields_by_name['val']._serialized_options = b'\252\001\002\030\002\272H\010\222\001\002\010\003\320\001\001' + _globals['_IGNOREEMPTYEDITIONSMAP_VALENTRY']._loaded_options = None + _globals['_IGNOREEMPTYEDITIONSMAP_VALENTRY']._serialized_options = b'8\001' + _globals['_IGNOREEMPTYEDITIONSMAP'].fields_by_name['val']._loaded_options = None + _globals['_IGNOREEMPTYEDITIONSMAP'].fields_by_name['val']._serialized_options = b'\272H\010\232\001\002\010\003\320\001\001' + _globals['_IGNOREEMPTYEDITIONSSCALAREXPLICITPRESENCE']._serialized_start=129 + _globals['_IGNOREEMPTYEDITIONSSCALAREXPLICITPRESENCE']._serialized_end=202 + _globals['_IGNOREEMPTYEDITIONSSCALAREXPLICITPRESENCEWITHDEFAULT']._serialized_start=204 + _globals['_IGNOREEMPTYEDITIONSSCALAREXPLICITPRESENCEWITHDEFAULT']._serialized_end=292 + _globals['_IGNOREEMPTYEDITIONSSCALARIMPLICITPRESENCE']._serialized_start=294 + _globals['_IGNOREEMPTYEDITIONSSCALARIMPLICITPRESENCE']._serialized_end=372 + _globals['_IGNOREEMPTYEDITIONSSCALARLEGACYREQUIRED']._serialized_start=374 + _globals['_IGNOREEMPTYEDITIONSSCALARLEGACYREQUIRED']._serialized_end=450 + _globals['_IGNOREEMPTYEDITIONSSCALARLEGACYREQUIREDWITHDEFAULT']._serialized_start=452 + _globals['_IGNOREEMPTYEDITIONSSCALARLEGACYREQUIREDWITHDEFAULT']._serialized_end=543 + _globals['_IGNOREEMPTYEDITIONSMESSAGEEXPLICITPRESENCE']._serialized_start=546 + _globals['_IGNOREEMPTYEDITIONSMESSAGEEXPLICITPRESENCE']._serialized_end=783 + _globals['_IGNOREEMPTYEDITIONSMESSAGEEXPLICITPRESENCE_MSG']._serialized_start=760 + _globals['_IGNOREEMPTYEDITIONSMESSAGEEXPLICITPRESENCE_MSG']._serialized_end=783 + _globals['_IGNOREEMPTYEDITIONSMESSAGEEXPLICITPRESENCEDELIMITED']._serialized_start=786 + _globals['_IGNOREEMPTYEDITIONSMESSAGEEXPLICITPRESENCEDELIMITED']._serialized_end=1046 + _globals['_IGNOREEMPTYEDITIONSMESSAGEEXPLICITPRESENCEDELIMITED_MSG']._serialized_start=760 + _globals['_IGNOREEMPTYEDITIONSMESSAGEEXPLICITPRESENCEDELIMITED_MSG']._serialized_end=783 + _globals['_IGNOREEMPTYEDITIONSMESSAGELEGACYREQUIRED']._serialized_start=1049 + _globals['_IGNOREEMPTYEDITIONSMESSAGELEGACYREQUIRED']._serialized_end=1287 + _globals['_IGNOREEMPTYEDITIONSMESSAGELEGACYREQUIRED_MSG']._serialized_start=760 + _globals['_IGNOREEMPTYEDITIONSMESSAGELEGACYREQUIRED_MSG']._serialized_end=783 + _globals['_IGNOREEMPTYEDITIONSMESSAGELEGACYREQUIREDDELIMITED']._serialized_start=1290 + _globals['_IGNOREEMPTYEDITIONSMESSAGELEGACYREQUIREDDELIMITED']._serialized_end=1548 + _globals['_IGNOREEMPTYEDITIONSMESSAGELEGACYREQUIREDDELIMITED_MSG']._serialized_start=760 + _globals['_IGNOREEMPTYEDITIONSMESSAGELEGACYREQUIREDDELIMITED_MSG']._serialized_end=783 + _globals['_IGNOREEMPTYEDITIONSONEOF']._serialized_start=1550 + _globals['_IGNOREEMPTYEDITIONSONEOF']._serialized_end=1613 + _globals['_IGNOREEMPTYEDITIONSREPEATED']._serialized_start=1615 + _globals['_IGNOREEMPTYEDITIONSREPEATED']._serialized_end=1675 + _globals['_IGNOREEMPTYEDITIONSREPEATEDEXPANDED']._serialized_start=1677 + _globals['_IGNOREEMPTYEDITIONSREPEATEDEXPANDED']._serialized_end=1750 + _globals['_IGNOREEMPTYEDITIONSMAP']._serialized_start=1753 + _globals['_IGNOREEMPTYEDITIONSMAP']._serialized_end=1929 + _globals['_IGNOREEMPTYEDITIONSMAP_VALENTRY']._serialized_start=1875 + _globals['_IGNOREEMPTYEDITIONSMAP_VALENTRY']._serialized_end=1929 +# @@protoc_insertion_point(module_scope) diff --git a/gen/buf/validate/conformance/cases/ignore_empty_proto_editions_pb2.pyi b/gen/buf/validate/conformance/cases/ignore_empty_proto_editions_pb2.pyi new file mode 100644 index 0000000..789c958 --- /dev/null +++ b/gen/buf/validate/conformance/cases/ignore_empty_proto_editions_pb2.pyi @@ -0,0 +1,126 @@ +# Copyright 2023 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. + +from buf.validate import validate_pb2 as _validate_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class IgnoreEmptyEditionsScalarExplicitPresence(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class IgnoreEmptyEditionsScalarExplicitPresenceWithDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class IgnoreEmptyEditionsScalarImplicitPresence(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class IgnoreEmptyEditionsScalarLegacyRequired(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class IgnoreEmptyEditionsScalarLegacyRequiredWithDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class IgnoreEmptyEditionsMessageExplicitPresence(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: IgnoreEmptyEditionsMessageExplicitPresence.Msg + def __init__(self, val: _Optional[_Union[IgnoreEmptyEditionsMessageExplicitPresence.Msg, _Mapping]] = ...) -> None: ... + +class IgnoreEmptyEditionsMessageExplicitPresenceDelimited(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: IgnoreEmptyEditionsMessageExplicitPresenceDelimited.Msg + def __init__(self, val: _Optional[_Union[IgnoreEmptyEditionsMessageExplicitPresenceDelimited.Msg, _Mapping]] = ...) -> None: ... + +class IgnoreEmptyEditionsMessageLegacyRequired(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: IgnoreEmptyEditionsMessageLegacyRequired.Msg + def __init__(self, val: _Optional[_Union[IgnoreEmptyEditionsMessageLegacyRequired.Msg, _Mapping]] = ...) -> None: ... + +class IgnoreEmptyEditionsMessageLegacyRequiredDelimited(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: IgnoreEmptyEditionsMessageLegacyRequiredDelimited.Msg + def __init__(self, val: _Optional[_Union[IgnoreEmptyEditionsMessageLegacyRequiredDelimited.Msg, _Mapping]] = ...) -> None: ... + +class IgnoreEmptyEditionsOneof(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class IgnoreEmptyEditionsRepeated(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... + +class IgnoreEmptyEditionsRepeatedExpanded(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... + +class IgnoreEmptyEditionsMap(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... diff --git a/gen/buf/validate/conformance/cases/ignore_proto2_pb2.py b/gen/buf/validate/conformance/cases/ignore_proto2_pb2.py new file mode 100644 index 0000000..1e1dcac --- /dev/null +++ b/gen/buf/validate/conformance/cases/ignore_proto2_pb2.py @@ -0,0 +1,253 @@ +# Copyright 2023 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. + +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: buf/validate/conformance/cases/ignore_proto2.proto +# Protobuf Python Version: 5.27.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/ignore_proto2.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2buf/validate/conformance/cases/ignore_proto2.proto\x12\x1e\x62uf.validate.conformance.cases\x1a\x1b\x62uf/validate/validate.proto\"B\n%Proto2ScalarOptionalIgnoreUnspecified\x12\x19\n\x03val\x18\x01 \x01(\x05\x42\x07\xbaH\x04\x1a\x02 \x00R\x03val\"R\n0Proto2ScalarOptionalIgnoreUnspecifiedWithDefault\x12\x1e\n\x03val\x18\x01 \x01(\x05:\x03-42B\x07\xbaH\x04\x1a\x02 \x00R\x03val\"?\n\x1fProto2ScalarOptionalIgnoreEmpty\x12\x1c\n\x03val\x18\x01 \x01(\x05\x42\n\xbaH\x07\x1a\x02 \x00\xd8\x01\x01R\x03val\"O\n*Proto2ScalarOptionalIgnoreEmptyWithDefault\x12!\n\x03val\x18\x01 \x01(\x05:\x03-42B\n\xbaH\x07\x1a\x02 \x00\xd8\x01\x01R\x03val\"A\n!Proto2ScalarOptionalIgnoreDefault\x12\x1c\n\x03val\x18\x01 \x01(\x05\x42\n\xbaH\x07\x1a\x02 \x00\xd8\x01\x02R\x03val\"Q\n,Proto2ScalarOptionalIgnoreDefaultWithDefault\x12!\n\x03val\x18\x01 \x01(\x05:\x03-42B\n\xbaH\x07\x1a\x02 \x00\xd8\x01\x02R\x03val\"B\n%Proto2ScalarRequiredIgnoreUnspecified\x12\x19\n\x03val\x18\x01 \x02(\x05\x42\x07\xbaH\x04\x1a\x02 \x00R\x03val\"R\n0Proto2ScalarRequiredIgnoreUnspecifiedWithDefault\x12\x1e\n\x03val\x18\x01 \x02(\x05:\x03-42B\x07\xbaH\x04\x1a\x02 \x00R\x03val\"?\n\x1fProto2ScalarRequiredIgnoreEmpty\x12\x1c\n\x03val\x18\x01 \x02(\x05\x42\n\xbaH\x07\x1a\x02 \x00\xd8\x01\x01R\x03val\"O\n*Proto2ScalarRequiredIgnoreEmptyWithDefault\x12!\n\x03val\x18\x01 \x02(\x05:\x03-42B\n\xbaH\x07\x1a\x02 \x00\xd8\x01\x01R\x03val\"A\n!Proto2ScalarRequiredIgnoreDefault\x12\x1c\n\x03val\x18\x01 \x02(\x05\x42\n\xbaH\x07\x1a\x02 \x00\xd8\x01\x02R\x03val\"Q\n,Proto2ScalarRequiredIgnoreDefaultWithDefault\x12!\n\x03val\x18\x01 \x02(\x05:\x03-42B\n\xbaH\x07\x1a\x02 \x00\xd8\x01\x02R\x03val\"\xe0\x01\n&Proto2MessageOptionalIgnoreUnspecified\x12\x9c\x01\n\x03val\x18\x01 \x01(\x0b\x32J.buf.validate.conformance.cases.Proto2MessageOptionalIgnoreUnspecified.MsgB>\xbaH;\xba\x01\x38\n\x1bproto2.message.ignore.empty\x12\x06\x66oobar\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(\x0b\x32\x44.buf.validate.conformance.cases.Proto2MessageOptionalIgnoreEmpty.MsgBA\xbaH>\xba\x01\x38\n\x1bproto2.message.ignore.empty\x12\x06\x66oobar\x1a\x11this.val == \'foo\'\xd8\x01\x01R\x03val\x1a\x17\n\x03Msg\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val\"\xdb\x01\n\"Proto2MessageOptionalIgnoreDefault\x12\x9b\x01\n\x03val\x18\x01 \x01(\x0b\x32\x46.buf.validate.conformance.cases.Proto2MessageOptionalIgnoreDefault.MsgBA\xbaH>\xba\x01\x38\n\x1bproto2.message.ignore.empty\x12\x06\x66oobar\x1a\x11this.val == \'foo\'\xd8\x01\x02R\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(\x0b\x32J.buf.validate.conformance.cases.Proto2MessageRequiredIgnoreUnspecified.MsgB>\xbaH;\xba\x01\x38\n\x1bproto2.message.ignore.empty\x12\x06\x66oobar\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(\x0b\x32\x44.buf.validate.conformance.cases.Proto2MessageRequiredIgnoreEmpty.MsgBA\xbaH>\xba\x01\x38\n\x1bproto2.message.ignore.empty\x12\x06\x66oobar\x1a\x11this.val == \'foo\'\xd8\x01\x01R\x03val\x1a\x17\n\x03Msg\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val\"\xdb\x01\n\"Proto2MessageRequiredIgnoreDefault\x12\x9b\x01\n\x03val\x18\x01 \x02(\x0b\x32\x46.buf.validate.conformance.cases.Proto2MessageRequiredIgnoreDefault.MsgBA\xbaH>\xba\x01\x38\n\x1bproto2.message.ignore.empty\x12\x06\x66oobar\x1a\x11this.val == \'foo\'\xd8\x01\x02R\x03val\x1a\x17\n\x03Msg\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val\"@\n\x1cProto2OneofIgnoreUnspecified\x12\x1b\n\x03val\x18\x01 \x01(\x05\x42\x07\xbaH\x04\x1a\x02 \x00H\x00R\x03valB\x03\n\x01o\"P\n\'Proto2OneofIgnoreUnspecifiedWithDefault\x12 \n\x03val\x18\x01 \x01(\x05:\x03-42B\x07\xbaH\x04\x1a\x02 \x00H\x00R\x03valB\x03\n\x01o\"=\n\x16Proto2OneofIgnoreEmpty\x12\x1e\n\x03val\x18\x01 \x01(\x05\x42\n\xbaH\x07\x1a\x02 \x00\xd8\x01\x01H\x00R\x03valB\x03\n\x01o\"M\n!Proto2OneofIgnoreEmptyWithDefault\x12#\n\x03val\x18\x01 \x01(\x05:\x03-42B\n\xbaH\x07\x1a\x02 \x00\xd8\x01\x01H\x00R\x03valB\x03\n\x01o\"?\n\x18Proto2OneofIgnoreDefault\x12\x1e\n\x03val\x18\x01 \x01(\x05\x42\n\xbaH\x07\x1a\x02 \x00\xd8\x01\x02H\x00R\x03valB\x03\n\x01o\"O\n#Proto2OneofIgnoreDefaultWithDefault\x12#\n\x03val\x18\x01 \x01(\x05:\x03-42B\n\xbaH\x07\x1a\x02 \x00\xd8\x01\x02H\x00R\x03valB\x03\n\x01o\"=\n\x1fProto2RepeatedIgnoreUnspecified\x12\x1a\n\x03val\x18\x01 \x03(\x05\x42\x08\xbaH\x05\x92\x01\x02\x08\x03R\x03val\":\n\x19Proto2RepeatedIgnoreEmpty\x12\x1d\n\x03val\x18\x01 \x03(\x05\x42\x0b\xbaH\x08\x92\x01\x02\x08\x03\xd8\x01\x01R\x03val\"<\n\x1bProto2RepeatedIgnoreDefault\x12\x1d\n\x03val\x18\x01 \x03(\x05\x42\x0b\xbaH\x08\x92\x01\x02\x08\x03\xd8\x01\x02R\x03val\"\xb5\x01\n\x1aProto2MapIgnoreUnspecified\x12_\n\x03val\x18\x01 \x03(\x0b\x32\x43.buf.validate.conformance.cases.Proto2MapIgnoreUnspecified.ValEntryB\x08\xbaH\x05\x9a\x01\x02\x08\x03R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"\xac\x01\n\x14Proto2MapIgnoreEmpty\x12\\\n\x03val\x18\x01 \x03(\x0b\x32=.buf.validate.conformance.cases.Proto2MapIgnoreEmpty.ValEntryB\x0b\xbaH\x08\x9a\x01\x02\x08\x03\xd8\x01\x01R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"\xb0\x01\n\x16Proto2MapIgnoreDefault\x12^\n\x03val\x18\x01 \x03(\x0b\x32?.buf.validate.conformance.cases.Proto2MapIgnoreDefault.ValEntryB\x0b\xbaH\x08\x9a\x01\x02\x08\x03\xd8\x01\x02R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"E\n#Proto2RepeatedItemIgnoreUnspecified\x12\x1e\n\x03val\x18\x01 \x03(\x05\x42\x0c\xbaH\t\x92\x01\x06\"\x04\x1a\x02 \x00R\x03val\"B\n\x1dProto2RepeatedItemIgnoreEmpty\x12!\n\x03val\x18\x01 \x03(\x05\x42\x0f\xbaH\x0c\x92\x01\t\"\x07\x1a\x02 \x00\xd8\x01\x01R\x03val\"D\n\x1fProto2RepeatedItemIgnoreDefault\x12!\n\x03val\x18\x01 \x03(\x05\x42\x0f\xbaH\x0c\x92\x01\t\"\x07\x1a\x02 \x00\xd8\x01\x02R\x03val\"\xbf\x01\n\x1dProto2MapKeyIgnoreUnspecified\x12\x66\n\x03val\x18\x01 \x03(\x0b\x32\x46.buf.validate.conformance.cases.Proto2MapKeyIgnoreUnspecified.ValEntryB\x0c\xbaH\t\x9a\x01\x06\"\x04\x1a\x02 \x00R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"\xb6\x01\n\x17Proto2MapKeyIgnoreEmpty\x12\x63\n\x03val\x18\x01 \x03(\x0b\x32@.buf.validate.conformance.cases.Proto2MapKeyIgnoreEmpty.ValEntryB\x0f\xbaH\x0c\x9a\x01\t\"\x07\x1a\x02 \x00\xd8\x01\x01R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"\xba\x01\n\x19Proto2MapKeyIgnoreDefault\x12\x65\n\x03val\x18\x01 \x03(\x0b\x32\x42.buf.validate.conformance.cases.Proto2MapKeyIgnoreDefault.ValEntryB\x0f\xbaH\x0c\x9a\x01\t\"\x07\x1a\x02 \x00\xd8\x01\x02R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"\xc3\x01\n\x1fProto2MapValueIgnoreUnspecified\x12h\n\x03val\x18\x01 \x03(\x0b\x32H.buf.validate.conformance.cases.Proto2MapValueIgnoreUnspecified.ValEntryB\x0c\xbaH\t\x9a\x01\x06*\x04\x1a\x02 \x00R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"\xba\x01\n\x19Proto2MapValueIgnoreEmpty\x12\x65\n\x03val\x18\x01 \x03(\x0b\x32\x42.buf.validate.conformance.cases.Proto2MapValueIgnoreEmpty.ValEntryB\x0f\xbaH\x0c\x9a\x01\t*\x07\x1a\x02 \x00\xd8\x01\x01R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"\xbe\x01\n\x1bProto2MapValueIgnoreDefault\x12g\n\x03val\x18\x01 \x03(\x0b\x32\x44.buf.validate.conformance.cases.Proto2MapValueIgnoreDefault.ValEntryB\x0f\xbaH\x0c\x9a\x01\t*\x07\x1a\x02 \x00\xd8\x01\x02R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.ignore_proto2_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_PROTO2SCALAROPTIONALIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2SCALAROPTIONALIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H\004\032\002 \000' + _globals['_PROTO2SCALAROPTIONALIGNOREUNSPECIFIEDWITHDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2SCALAROPTIONALIGNOREUNSPECIFIEDWITHDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\004\032\002 \000' + _globals['_PROTO2SCALAROPTIONALIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2SCALAROPTIONALIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\330\001\001' + _globals['_PROTO2SCALAROPTIONALIGNOREEMPTYWITHDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2SCALAROPTIONALIGNOREEMPTYWITHDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\330\001\001' + _globals['_PROTO2SCALAROPTIONALIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2SCALAROPTIONALIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\330\001\002' + _globals['_PROTO2SCALAROPTIONALIGNOREDEFAULTWITHDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2SCALAROPTIONALIGNOREDEFAULTWITHDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\330\001\002' + _globals['_PROTO2SCALARREQUIREDIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2SCALARREQUIREDIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H\004\032\002 \000' + _globals['_PROTO2SCALARREQUIREDIGNOREUNSPECIFIEDWITHDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2SCALARREQUIREDIGNOREUNSPECIFIEDWITHDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\004\032\002 \000' + _globals['_PROTO2SCALARREQUIREDIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2SCALARREQUIREDIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\330\001\001' + _globals['_PROTO2SCALARREQUIREDIGNOREEMPTYWITHDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2SCALARREQUIREDIGNOREEMPTYWITHDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\330\001\001' + _globals['_PROTO2SCALARREQUIREDIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2SCALARREQUIREDIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\330\001\002' + _globals['_PROTO2SCALARREQUIREDIGNOREDEFAULTWITHDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2SCALARREQUIREDIGNOREDEFAULTWITHDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\330\001\002' + _globals['_PROTO2MESSAGEOPTIONALIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2MESSAGEOPTIONALIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H;\272\0018\n\033proto2.message.ignore.empty\022\006foobar\032\021this.val == \'foo\'' + _globals['_PROTO2MESSAGEOPTIONALIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2MESSAGEOPTIONALIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H>\272\0018\n\033proto2.message.ignore.empty\022\006foobar\032\021this.val == \'foo\'\330\001\001' + _globals['_PROTO2MESSAGEOPTIONALIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2MESSAGEOPTIONALIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H>\272\0018\n\033proto2.message.ignore.empty\022\006foobar\032\021this.val == \'foo\'\330\001\002' + _globals['_PROTO2MESSAGEREQUIREDIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2MESSAGEREQUIREDIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H;\272\0018\n\033proto2.message.ignore.empty\022\006foobar\032\021this.val == \'foo\'' + _globals['_PROTO2MESSAGEREQUIREDIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2MESSAGEREQUIREDIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H>\272\0018\n\033proto2.message.ignore.empty\022\006foobar\032\021this.val == \'foo\'\330\001\001' + _globals['_PROTO2MESSAGEREQUIREDIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2MESSAGEREQUIREDIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H>\272\0018\n\033proto2.message.ignore.empty\022\006foobar\032\021this.val == \'foo\'\330\001\002' + _globals['_PROTO2ONEOFIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2ONEOFIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H\004\032\002 \000' + _globals['_PROTO2ONEOFIGNOREUNSPECIFIEDWITHDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2ONEOFIGNOREUNSPECIFIEDWITHDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\004\032\002 \000' + _globals['_PROTO2ONEOFIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2ONEOFIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\330\001\001' + _globals['_PROTO2ONEOFIGNOREEMPTYWITHDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2ONEOFIGNOREEMPTYWITHDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\330\001\001' + _globals['_PROTO2ONEOFIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2ONEOFIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\330\001\002' + _globals['_PROTO2ONEOFIGNOREDEFAULTWITHDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2ONEOFIGNOREDEFAULTWITHDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\330\001\002' + _globals['_PROTO2REPEATEDIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2REPEATEDIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H\005\222\001\002\010\003' + _globals['_PROTO2REPEATEDIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2REPEATEDIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H\010\222\001\002\010\003\330\001\001' + _globals['_PROTO2REPEATEDIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2REPEATEDIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\010\222\001\002\010\003\330\001\002' + _globals['_PROTO2MAPIGNOREUNSPECIFIED_VALENTRY']._loaded_options = None + _globals['_PROTO2MAPIGNOREUNSPECIFIED_VALENTRY']._serialized_options = b'8\001' + _globals['_PROTO2MAPIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2MAPIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H\005\232\001\002\010\003' + _globals['_PROTO2MAPIGNOREEMPTY_VALENTRY']._loaded_options = None + _globals['_PROTO2MAPIGNOREEMPTY_VALENTRY']._serialized_options = b'8\001' + _globals['_PROTO2MAPIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2MAPIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H\010\232\001\002\010\003\330\001\001' + _globals['_PROTO2MAPIGNOREDEFAULT_VALENTRY']._loaded_options = None + _globals['_PROTO2MAPIGNOREDEFAULT_VALENTRY']._serialized_options = b'8\001' + _globals['_PROTO2MAPIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2MAPIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\010\232\001\002\010\003\330\001\002' + _globals['_PROTO2REPEATEDITEMIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2REPEATEDITEMIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H\t\222\001\006\"\004\032\002 \000' + _globals['_PROTO2REPEATEDITEMIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2REPEATEDITEMIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H\014\222\001\t\"\007\032\002 \000\330\001\001' + _globals['_PROTO2REPEATEDITEMIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2REPEATEDITEMIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\014\222\001\t\"\007\032\002 \000\330\001\002' + _globals['_PROTO2MAPKEYIGNOREUNSPECIFIED_VALENTRY']._loaded_options = None + _globals['_PROTO2MAPKEYIGNOREUNSPECIFIED_VALENTRY']._serialized_options = b'8\001' + _globals['_PROTO2MAPKEYIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2MAPKEYIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H\t\232\001\006\"\004\032\002 \000' + _globals['_PROTO2MAPKEYIGNOREEMPTY_VALENTRY']._loaded_options = None + _globals['_PROTO2MAPKEYIGNOREEMPTY_VALENTRY']._serialized_options = b'8\001' + _globals['_PROTO2MAPKEYIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2MAPKEYIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H\014\232\001\t\"\007\032\002 \000\330\001\001' + _globals['_PROTO2MAPKEYIGNOREDEFAULT_VALENTRY']._loaded_options = None + _globals['_PROTO2MAPKEYIGNOREDEFAULT_VALENTRY']._serialized_options = b'8\001' + _globals['_PROTO2MAPKEYIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2MAPKEYIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\014\232\001\t\"\007\032\002 \000\330\001\002' + _globals['_PROTO2MAPVALUEIGNOREUNSPECIFIED_VALENTRY']._loaded_options = None + _globals['_PROTO2MAPVALUEIGNOREUNSPECIFIED_VALENTRY']._serialized_options = b'8\001' + _globals['_PROTO2MAPVALUEIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2MAPVALUEIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H\t\232\001\006*\004\032\002 \000' + _globals['_PROTO2MAPVALUEIGNOREEMPTY_VALENTRY']._loaded_options = None + _globals['_PROTO2MAPVALUEIGNOREEMPTY_VALENTRY']._serialized_options = b'8\001' + _globals['_PROTO2MAPVALUEIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2MAPVALUEIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H\014\232\001\t*\007\032\002 \000\330\001\001' + _globals['_PROTO2MAPVALUEIGNOREDEFAULT_VALENTRY']._loaded_options = None + _globals['_PROTO2MAPVALUEIGNOREDEFAULT_VALENTRY']._serialized_options = b'8\001' + _globals['_PROTO2MAPVALUEIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO2MAPVALUEIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\014\232\001\t*\007\032\002 \000\330\001\002' + _globals['_PROTO2SCALAROPTIONALIGNOREUNSPECIFIED']._serialized_start=115 + _globals['_PROTO2SCALAROPTIONALIGNOREUNSPECIFIED']._serialized_end=181 + _globals['_PROTO2SCALAROPTIONALIGNOREUNSPECIFIEDWITHDEFAULT']._serialized_start=183 + _globals['_PROTO2SCALAROPTIONALIGNOREUNSPECIFIEDWITHDEFAULT']._serialized_end=265 + _globals['_PROTO2SCALAROPTIONALIGNOREEMPTY']._serialized_start=267 + _globals['_PROTO2SCALAROPTIONALIGNOREEMPTY']._serialized_end=330 + _globals['_PROTO2SCALAROPTIONALIGNOREEMPTYWITHDEFAULT']._serialized_start=332 + _globals['_PROTO2SCALAROPTIONALIGNOREEMPTYWITHDEFAULT']._serialized_end=411 + _globals['_PROTO2SCALAROPTIONALIGNOREDEFAULT']._serialized_start=413 + _globals['_PROTO2SCALAROPTIONALIGNOREDEFAULT']._serialized_end=478 + _globals['_PROTO2SCALAROPTIONALIGNOREDEFAULTWITHDEFAULT']._serialized_start=480 + _globals['_PROTO2SCALAROPTIONALIGNOREDEFAULTWITHDEFAULT']._serialized_end=561 + _globals['_PROTO2SCALARREQUIREDIGNOREUNSPECIFIED']._serialized_start=563 + _globals['_PROTO2SCALARREQUIREDIGNOREUNSPECIFIED']._serialized_end=629 + _globals['_PROTO2SCALARREQUIREDIGNOREUNSPECIFIEDWITHDEFAULT']._serialized_start=631 + _globals['_PROTO2SCALARREQUIREDIGNOREUNSPECIFIEDWITHDEFAULT']._serialized_end=713 + _globals['_PROTO2SCALARREQUIREDIGNOREEMPTY']._serialized_start=715 + _globals['_PROTO2SCALARREQUIREDIGNOREEMPTY']._serialized_end=778 + _globals['_PROTO2SCALARREQUIREDIGNOREEMPTYWITHDEFAULT']._serialized_start=780 + _globals['_PROTO2SCALARREQUIREDIGNOREEMPTYWITHDEFAULT']._serialized_end=859 + _globals['_PROTO2SCALARREQUIREDIGNOREDEFAULT']._serialized_start=861 + _globals['_PROTO2SCALARREQUIREDIGNOREDEFAULT']._serialized_end=926 + _globals['_PROTO2SCALARREQUIREDIGNOREDEFAULTWITHDEFAULT']._serialized_start=928 + _globals['_PROTO2SCALARREQUIREDIGNOREDEFAULTWITHDEFAULT']._serialized_end=1009 + _globals['_PROTO2MESSAGEOPTIONALIGNOREUNSPECIFIED']._serialized_start=1012 + _globals['_PROTO2MESSAGEOPTIONALIGNOREUNSPECIFIED']._serialized_end=1236 + _globals['_PROTO2MESSAGEOPTIONALIGNOREUNSPECIFIED_MSG']._serialized_start=1213 + _globals['_PROTO2MESSAGEOPTIONALIGNOREUNSPECIFIED_MSG']._serialized_end=1236 + _globals['_PROTO2MESSAGEOPTIONALIGNOREEMPTY']._serialized_start=1239 + _globals['_PROTO2MESSAGEOPTIONALIGNOREEMPTY']._serialized_end=1454 + _globals['_PROTO2MESSAGEOPTIONALIGNOREEMPTY_MSG']._serialized_start=1213 + _globals['_PROTO2MESSAGEOPTIONALIGNOREEMPTY_MSG']._serialized_end=1236 + _globals['_PROTO2MESSAGEOPTIONALIGNOREDEFAULT']._serialized_start=1457 + _globals['_PROTO2MESSAGEOPTIONALIGNOREDEFAULT']._serialized_end=1676 + _globals['_PROTO2MESSAGEOPTIONALIGNOREDEFAULT_MSG']._serialized_start=1213 + _globals['_PROTO2MESSAGEOPTIONALIGNOREDEFAULT_MSG']._serialized_end=1236 + _globals['_PROTO2MESSAGEREQUIREDIGNOREUNSPECIFIED']._serialized_start=1679 + _globals['_PROTO2MESSAGEREQUIREDIGNOREUNSPECIFIED']._serialized_end=1903 + _globals['_PROTO2MESSAGEREQUIREDIGNOREUNSPECIFIED_MSG']._serialized_start=1213 + _globals['_PROTO2MESSAGEREQUIREDIGNOREUNSPECIFIED_MSG']._serialized_end=1236 + _globals['_PROTO2MESSAGEREQUIREDIGNOREEMPTY']._serialized_start=1906 + _globals['_PROTO2MESSAGEREQUIREDIGNOREEMPTY']._serialized_end=2121 + _globals['_PROTO2MESSAGEREQUIREDIGNOREEMPTY_MSG']._serialized_start=1213 + _globals['_PROTO2MESSAGEREQUIREDIGNOREEMPTY_MSG']._serialized_end=1236 + _globals['_PROTO2MESSAGEREQUIREDIGNOREDEFAULT']._serialized_start=2124 + _globals['_PROTO2MESSAGEREQUIREDIGNOREDEFAULT']._serialized_end=2343 + _globals['_PROTO2MESSAGEREQUIREDIGNOREDEFAULT_MSG']._serialized_start=1213 + _globals['_PROTO2MESSAGEREQUIREDIGNOREDEFAULT_MSG']._serialized_end=1236 + _globals['_PROTO2ONEOFIGNOREUNSPECIFIED']._serialized_start=2345 + _globals['_PROTO2ONEOFIGNOREUNSPECIFIED']._serialized_end=2409 + _globals['_PROTO2ONEOFIGNOREUNSPECIFIEDWITHDEFAULT']._serialized_start=2411 + _globals['_PROTO2ONEOFIGNOREUNSPECIFIEDWITHDEFAULT']._serialized_end=2491 + _globals['_PROTO2ONEOFIGNOREEMPTY']._serialized_start=2493 + _globals['_PROTO2ONEOFIGNOREEMPTY']._serialized_end=2554 + _globals['_PROTO2ONEOFIGNOREEMPTYWITHDEFAULT']._serialized_start=2556 + _globals['_PROTO2ONEOFIGNOREEMPTYWITHDEFAULT']._serialized_end=2633 + _globals['_PROTO2ONEOFIGNOREDEFAULT']._serialized_start=2635 + _globals['_PROTO2ONEOFIGNOREDEFAULT']._serialized_end=2698 + _globals['_PROTO2ONEOFIGNOREDEFAULTWITHDEFAULT']._serialized_start=2700 + _globals['_PROTO2ONEOFIGNOREDEFAULTWITHDEFAULT']._serialized_end=2779 + _globals['_PROTO2REPEATEDIGNOREUNSPECIFIED']._serialized_start=2781 + _globals['_PROTO2REPEATEDIGNOREUNSPECIFIED']._serialized_end=2842 + _globals['_PROTO2REPEATEDIGNOREEMPTY']._serialized_start=2844 + _globals['_PROTO2REPEATEDIGNOREEMPTY']._serialized_end=2902 + _globals['_PROTO2REPEATEDIGNOREDEFAULT']._serialized_start=2904 + _globals['_PROTO2REPEATEDIGNOREDEFAULT']._serialized_end=2964 + _globals['_PROTO2MAPIGNOREUNSPECIFIED']._serialized_start=2967 + _globals['_PROTO2MAPIGNOREUNSPECIFIED']._serialized_end=3148 + _globals['_PROTO2MAPIGNOREUNSPECIFIED_VALENTRY']._serialized_start=3094 + _globals['_PROTO2MAPIGNOREUNSPECIFIED_VALENTRY']._serialized_end=3148 + _globals['_PROTO2MAPIGNOREEMPTY']._serialized_start=3151 + _globals['_PROTO2MAPIGNOREEMPTY']._serialized_end=3323 + _globals['_PROTO2MAPIGNOREEMPTY_VALENTRY']._serialized_start=3094 + _globals['_PROTO2MAPIGNOREEMPTY_VALENTRY']._serialized_end=3148 + _globals['_PROTO2MAPIGNOREDEFAULT']._serialized_start=3326 + _globals['_PROTO2MAPIGNOREDEFAULT']._serialized_end=3502 + _globals['_PROTO2MAPIGNOREDEFAULT_VALENTRY']._serialized_start=3094 + _globals['_PROTO2MAPIGNOREDEFAULT_VALENTRY']._serialized_end=3148 + _globals['_PROTO2REPEATEDITEMIGNOREUNSPECIFIED']._serialized_start=3504 + _globals['_PROTO2REPEATEDITEMIGNOREUNSPECIFIED']._serialized_end=3573 + _globals['_PROTO2REPEATEDITEMIGNOREEMPTY']._serialized_start=3575 + _globals['_PROTO2REPEATEDITEMIGNOREEMPTY']._serialized_end=3641 + _globals['_PROTO2REPEATEDITEMIGNOREDEFAULT']._serialized_start=3643 + _globals['_PROTO2REPEATEDITEMIGNOREDEFAULT']._serialized_end=3711 + _globals['_PROTO2MAPKEYIGNOREUNSPECIFIED']._serialized_start=3714 + _globals['_PROTO2MAPKEYIGNOREUNSPECIFIED']._serialized_end=3905 + _globals['_PROTO2MAPKEYIGNOREUNSPECIFIED_VALENTRY']._serialized_start=3094 + _globals['_PROTO2MAPKEYIGNOREUNSPECIFIED_VALENTRY']._serialized_end=3148 + _globals['_PROTO2MAPKEYIGNOREEMPTY']._serialized_start=3908 + _globals['_PROTO2MAPKEYIGNOREEMPTY']._serialized_end=4090 + _globals['_PROTO2MAPKEYIGNOREEMPTY_VALENTRY']._serialized_start=3094 + _globals['_PROTO2MAPKEYIGNOREEMPTY_VALENTRY']._serialized_end=3148 + _globals['_PROTO2MAPKEYIGNOREDEFAULT']._serialized_start=4093 + _globals['_PROTO2MAPKEYIGNOREDEFAULT']._serialized_end=4279 + _globals['_PROTO2MAPKEYIGNOREDEFAULT_VALENTRY']._serialized_start=3094 + _globals['_PROTO2MAPKEYIGNOREDEFAULT_VALENTRY']._serialized_end=3148 + _globals['_PROTO2MAPVALUEIGNOREUNSPECIFIED']._serialized_start=4282 + _globals['_PROTO2MAPVALUEIGNOREUNSPECIFIED']._serialized_end=4477 + _globals['_PROTO2MAPVALUEIGNOREUNSPECIFIED_VALENTRY']._serialized_start=3094 + _globals['_PROTO2MAPVALUEIGNOREUNSPECIFIED_VALENTRY']._serialized_end=3148 + _globals['_PROTO2MAPVALUEIGNOREEMPTY']._serialized_start=4480 + _globals['_PROTO2MAPVALUEIGNOREEMPTY']._serialized_end=4666 + _globals['_PROTO2MAPVALUEIGNOREEMPTY_VALENTRY']._serialized_start=3094 + _globals['_PROTO2MAPVALUEIGNOREEMPTY_VALENTRY']._serialized_end=3148 + _globals['_PROTO2MAPVALUEIGNOREDEFAULT']._serialized_start=4669 + _globals['_PROTO2MAPVALUEIGNOREDEFAULT']._serialized_end=4859 + _globals['_PROTO2MAPVALUEIGNOREDEFAULT_VALENTRY']._serialized_start=3094 + _globals['_PROTO2MAPVALUEIGNOREDEFAULT_VALENTRY']._serialized_end=3148 +# @@protoc_insertion_point(module_scope) diff --git a/gen/buf/validate/conformance/cases/ignore_proto2_pb2.pyi b/gen/buf/validate/conformance/cases/ignore_proto2_pb2.pyi new file mode 100644 index 0000000..529cf29 --- /dev/null +++ b/gen/buf/validate/conformance/cases/ignore_proto2_pb2.pyi @@ -0,0 +1,348 @@ +# Copyright 2023 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. + +from buf.validate import validate_pb2 as _validate_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class Proto2ScalarOptionalIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto2ScalarOptionalIgnoreUnspecifiedWithDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto2ScalarOptionalIgnoreEmpty(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto2ScalarOptionalIgnoreEmptyWithDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto2ScalarOptionalIgnoreDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto2ScalarOptionalIgnoreDefaultWithDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto2ScalarRequiredIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto2ScalarRequiredIgnoreUnspecifiedWithDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto2ScalarRequiredIgnoreEmpty(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto2ScalarRequiredIgnoreEmptyWithDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto2ScalarRequiredIgnoreDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto2ScalarRequiredIgnoreDefaultWithDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto2MessageOptionalIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: Proto2MessageOptionalIgnoreUnspecified.Msg + def __init__(self, val: _Optional[_Union[Proto2MessageOptionalIgnoreUnspecified.Msg, _Mapping]] = ...) -> None: ... + +class Proto2MessageOptionalIgnoreEmpty(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: Proto2MessageOptionalIgnoreEmpty.Msg + def __init__(self, val: _Optional[_Union[Proto2MessageOptionalIgnoreEmpty.Msg, _Mapping]] = ...) -> None: ... + +class Proto2MessageOptionalIgnoreDefault(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: Proto2MessageOptionalIgnoreDefault.Msg + def __init__(self, val: _Optional[_Union[Proto2MessageOptionalIgnoreDefault.Msg, _Mapping]] = ...) -> None: ... + +class Proto2MessageRequiredIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: Proto2MessageRequiredIgnoreUnspecified.Msg + def __init__(self, val: _Optional[_Union[Proto2MessageRequiredIgnoreUnspecified.Msg, _Mapping]] = ...) -> None: ... + +class Proto2MessageRequiredIgnoreEmpty(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: Proto2MessageRequiredIgnoreEmpty.Msg + def __init__(self, val: _Optional[_Union[Proto2MessageRequiredIgnoreEmpty.Msg, _Mapping]] = ...) -> None: ... + +class Proto2MessageRequiredIgnoreDefault(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: Proto2MessageRequiredIgnoreDefault.Msg + def __init__(self, val: _Optional[_Union[Proto2MessageRequiredIgnoreDefault.Msg, _Mapping]] = ...) -> None: ... + +class Proto2OneofIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto2OneofIgnoreUnspecifiedWithDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto2OneofIgnoreEmpty(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto2OneofIgnoreEmptyWithDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto2OneofIgnoreDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto2OneofIgnoreDefaultWithDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto2RepeatedIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... + +class Proto2RepeatedIgnoreEmpty(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... + +class Proto2RepeatedIgnoreDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... + +class Proto2MapIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... + +class Proto2MapIgnoreEmpty(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... + +class Proto2MapIgnoreDefault(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... + +class Proto2RepeatedItemIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... + +class Proto2RepeatedItemIgnoreEmpty(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... + +class Proto2RepeatedItemIgnoreDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... + +class Proto2MapKeyIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... + +class Proto2MapKeyIgnoreEmpty(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... + +class Proto2MapKeyIgnoreDefault(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... + +class Proto2MapValueIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... + +class Proto2MapValueIgnoreEmpty(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... + +class Proto2MapValueIgnoreDefault(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... diff --git a/gen/buf/validate/conformance/cases/ignore_proto3_pb2.py b/gen/buf/validate/conformance/cases/ignore_proto3_pb2.py new file mode 100644 index 0000000..a6f0c13 --- /dev/null +++ b/gen/buf/validate/conformance/cases/ignore_proto3_pb2.py @@ -0,0 +1,217 @@ +# Copyright 2023 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. + +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: buf/validate/conformance/cases/ignore_proto3.proto +# Protobuf Python Version: 5.27.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/ignore_proto3.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2buf/validate/conformance/cases/ignore_proto3.proto\x12\x1e\x62uf.validate.conformance.cases\x1a\x1b\x62uf/validate/validate.proto\"O\n%Proto3ScalarOptionalIgnoreUnspecified\x12\x1e\n\x03val\x18\x01 \x01(\x05\x42\x07\xbaH\x04\x1a\x02 \x00H\x00R\x03val\x88\x01\x01\x42\x06\n\x04_val\"L\n\x1fProto3ScalarOptionalIgnoreEmpty\x12!\n\x03val\x18\x01 \x01(\x05\x42\n\xbaH\x07\x1a\x02 \x00\xd8\x01\x01H\x00R\x03val\x88\x01\x01\x42\x06\n\x04_val\"N\n!Proto3ScalarOptionalIgnoreDefault\x12!\n\x03val\x18\x01 \x01(\x05\x42\n\xbaH\x07\x1a\x02 \x00\xd8\x01\x02H\x00R\x03val\x88\x01\x01\x42\x06\n\x04_val\":\n\x1dProto3ScalarIgnoreUnspecified\x12\x19\n\x03val\x18\x01 \x01(\x05\x42\x07\xbaH\x04\x1a\x02 \x00R\x03val\"7\n\x17Proto3ScalarIgnoreEmpty\x12\x1c\n\x03val\x18\x01 \x01(\x05\x42\n\xbaH\x07\x1a\x02 \x00\xd8\x01\x01R\x03val\"9\n\x19Proto3ScalarIgnoreDefault\x12\x1c\n\x03val\x18\x01 \x01(\x05\x42\n\xbaH\x07\x1a\x02 \x00\xd8\x01\x02R\x03val\"\xfa\x01\n&Proto3MessageOptionalIgnoreUnspecified\x12\xa1\x01\n\x03val\x18\x01 \x01(\x0b\x32J.buf.validate.conformance.cases.Proto3MessageOptionalIgnoreUnspecified.MsgB>\xbaH;\xba\x01\x38\n\x1bproto3.message.ignore.empty\x12\x06\x66oobar\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\x01\x42\x06\n\x04_valB\x06\n\x04_val\"\xf1\x01\n Proto3MessageOptionalIgnoreEmpty\x12\x9e\x01\n\x03val\x18\x01 \x01(\x0b\x32\x44.buf.validate.conformance.cases.Proto3MessageOptionalIgnoreEmpty.MsgBA\xbaH>\xba\x01\x38\n\x1bproto3.message.ignore.empty\x12\x06\x66oobar\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\x01\x42\x06\n\x04_valB\x06\n\x04_val\"\xf5\x01\n\"Proto3MessageOptionalIgnoreDefault\x12\xa0\x01\n\x03val\x18\x01 \x01(\x0b\x32\x46.buf.validate.conformance.cases.Proto3MessageOptionalIgnoreDefault.MsgBA\xbaH>\xba\x01\x38\n\x1bproto3.message.ignore.empty\x12\x06\x66oobar\x1a\x11this.val == \'foo\'\xd8\x01\x02H\x00R\x03val\x88\x01\x01\x1a$\n\x03Msg\x12\x15\n\x03val\x18\x01 \x01(\tH\x00R\x03val\x88\x01\x01\x42\x06\n\x04_valB\x06\n\x04_val\"\xdd\x01\n\x1eProto3MessageIgnoreUnspecified\x12\x94\x01\n\x03val\x18\x01 \x01(\x0b\x32\x42.buf.validate.conformance.cases.Proto3MessageIgnoreUnspecified.MsgB>\xbaH;\xba\x01\x38\n\x1bproto3.message.ignore.empty\x12\x06\x66oobar\x1a\x11this.val == \'foo\'R\x03val\x1a$\n\x03Msg\x12\x15\n\x03val\x18\x01 \x01(\tH\x00R\x03val\x88\x01\x01\x42\x06\n\x04_val\"\xd4\x01\n\x18Proto3MessageIgnoreEmpty\x12\x91\x01\n\x03val\x18\x01 \x01(\x0b\x32<.buf.validate.conformance.cases.Proto3MessageIgnoreEmpty.MsgBA\xbaH>\xba\x01\x38\n\x1bproto3.message.ignore.empty\x12\x06\x66oobar\x1a\x11this.val == \'foo\'\xd8\x01\x01R\x03val\x1a$\n\x03Msg\x12\x15\n\x03val\x18\x01 \x01(\tH\x00R\x03val\x88\x01\x01\x42\x06\n\x04_val\"\xd8\x01\n\x1aProto3MessageIgnoreDefault\x12\x93\x01\n\x03val\x18\x01 \x01(\x0b\x32>.buf.validate.conformance.cases.Proto3MessageIgnoreDefault.MsgBA\xbaH>\xba\x01\x38\n\x1bproto3.message.ignore.empty\x12\x06\x66oobar\x1a\x11this.val == \'foo\'\xd8\x01\x02R\x03val\x1a$\n\x03Msg\x12\x15\n\x03val\x18\x01 \x01(\tH\x00R\x03val\x88\x01\x01\x42\x06\n\x04_val\"@\n\x1cProto3OneofIgnoreUnspecified\x12\x1b\n\x03val\x18\x01 \x01(\x05\x42\x07\xbaH\x04\x1a\x02 \x00H\x00R\x03valB\x03\n\x01o\"=\n\x16Proto3OneofIgnoreEmpty\x12\x1e\n\x03val\x18\x01 \x01(\x05\x42\n\xbaH\x07\x1a\x02 \x00\xd8\x01\x01H\x00R\x03valB\x03\n\x01o\"?\n\x18Proto3OneofIgnoreDefault\x12\x1e\n\x03val\x18\x01 \x01(\x05\x42\n\xbaH\x07\x1a\x02 \x00\xd8\x01\x02H\x00R\x03valB\x03\n\x01o\"=\n\x1fProto3RepeatedIgnoreUnspecified\x12\x1a\n\x03val\x18\x01 \x03(\x05\x42\x08\xbaH\x05\x92\x01\x02\x08\x03R\x03val\":\n\x19Proto3RepeatedIgnoreEmpty\x12\x1d\n\x03val\x18\x01 \x03(\x05\x42\x0b\xbaH\x08\x92\x01\x02\x08\x03\xd8\x01\x01R\x03val\"<\n\x1bProto3RepeatedIgnoreDefault\x12\x1d\n\x03val\x18\x01 \x03(\x05\x42\x0b\xbaH\x08\x92\x01\x02\x08\x03\xd8\x01\x02R\x03val\"\xb5\x01\n\x1aProto3MapIgnoreUnspecified\x12_\n\x03val\x18\x01 \x03(\x0b\x32\x43.buf.validate.conformance.cases.Proto3MapIgnoreUnspecified.ValEntryB\x08\xbaH\x05\x9a\x01\x02\x08\x03R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"\xac\x01\n\x14Proto3MapIgnoreEmpty\x12\\\n\x03val\x18\x01 \x03(\x0b\x32=.buf.validate.conformance.cases.Proto3MapIgnoreEmpty.ValEntryB\x0b\xbaH\x08\x9a\x01\x02\x08\x03\xd8\x01\x01R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"\xb0\x01\n\x16Proto3MapIgnoreDefault\x12^\n\x03val\x18\x01 \x03(\x0b\x32?.buf.validate.conformance.cases.Proto3MapIgnoreDefault.ValEntryB\x0b\xbaH\x08\x9a\x01\x02\x08\x03\xd8\x01\x02R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"E\n#Proto3RepeatedItemIgnoreUnspecified\x12\x1e\n\x03val\x18\x01 \x03(\x05\x42\x0c\xbaH\t\x92\x01\x06\"\x04\x1a\x02 \x00R\x03val\"B\n\x1dProto3RepeatedItemIgnoreEmpty\x12!\n\x03val\x18\x01 \x03(\x05\x42\x0f\xbaH\x0c\x92\x01\t\"\x07\x1a\x02 \x00\xd8\x01\x01R\x03val\"D\n\x1fProto3RepeatedItemIgnoreDefault\x12!\n\x03val\x18\x01 \x03(\x05\x42\x0f\xbaH\x0c\x92\x01\t\"\x07\x1a\x02 \x00\xd8\x01\x02R\x03val\"\xbf\x01\n\x1dProto3MapKeyIgnoreUnspecified\x12\x66\n\x03val\x18\x01 \x03(\x0b\x32\x46.buf.validate.conformance.cases.Proto3MapKeyIgnoreUnspecified.ValEntryB\x0c\xbaH\t\x9a\x01\x06\"\x04\x1a\x02 \x00R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"\xb6\x01\n\x17Proto3MapKeyIgnoreEmpty\x12\x63\n\x03val\x18\x01 \x03(\x0b\x32@.buf.validate.conformance.cases.Proto3MapKeyIgnoreEmpty.ValEntryB\x0f\xbaH\x0c\x9a\x01\t\"\x07\x1a\x02 \x00\xd8\x01\x01R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"\xba\x01\n\x19Proto3MapKeyIgnoreDefault\x12\x65\n\x03val\x18\x01 \x03(\x0b\x32\x42.buf.validate.conformance.cases.Proto3MapKeyIgnoreDefault.ValEntryB\x0f\xbaH\x0c\x9a\x01\t\"\x07\x1a\x02 \x00\xd8\x01\x02R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"\xc3\x01\n\x1fProto3MapValueIgnoreUnspecified\x12h\n\x03val\x18\x01 \x03(\x0b\x32H.buf.validate.conformance.cases.Proto3MapValueIgnoreUnspecified.ValEntryB\x0c\xbaH\t\x9a\x01\x06*\x04\x1a\x02 \x00R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"\xba\x01\n\x19Proto3MapValueIgnoreEmpty\x12\x65\n\x03val\x18\x01 \x03(\x0b\x32\x42.buf.validate.conformance.cases.Proto3MapValueIgnoreEmpty.ValEntryB\x0f\xbaH\x0c\x9a\x01\t*\x07\x1a\x02 \x00\xd8\x01\x01R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"\xbe\x01\n\x1bProto3MapValueIgnoreDefault\x12g\n\x03val\x18\x01 \x03(\x0b\x32\x44.buf.validate.conformance.cases.Proto3MapValueIgnoreDefault.ValEntryB\x0f\xbaH\x0c\x9a\x01\t*\x07\x1a\x02 \x00\xd8\x01\x02R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.ignore_proto3_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_PROTO3SCALAROPTIONALIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3SCALAROPTIONALIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H\004\032\002 \000' + _globals['_PROTO3SCALAROPTIONALIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3SCALAROPTIONALIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\330\001\001' + _globals['_PROTO3SCALAROPTIONALIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3SCALAROPTIONALIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\330\001\002' + _globals['_PROTO3SCALARIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3SCALARIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H\004\032\002 \000' + _globals['_PROTO3SCALARIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3SCALARIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\330\001\001' + _globals['_PROTO3SCALARIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3SCALARIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\330\001\002' + _globals['_PROTO3MESSAGEOPTIONALIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3MESSAGEOPTIONALIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H;\272\0018\n\033proto3.message.ignore.empty\022\006foobar\032\021this.val == \'foo\'' + _globals['_PROTO3MESSAGEOPTIONALIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3MESSAGEOPTIONALIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H>\272\0018\n\033proto3.message.ignore.empty\022\006foobar\032\021this.val == \'foo\'\330\001\001' + _globals['_PROTO3MESSAGEOPTIONALIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3MESSAGEOPTIONALIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H>\272\0018\n\033proto3.message.ignore.empty\022\006foobar\032\021this.val == \'foo\'\330\001\002' + _globals['_PROTO3MESSAGEIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3MESSAGEIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H;\272\0018\n\033proto3.message.ignore.empty\022\006foobar\032\021this.val == \'foo\'' + _globals['_PROTO3MESSAGEIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3MESSAGEIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H>\272\0018\n\033proto3.message.ignore.empty\022\006foobar\032\021this.val == \'foo\'\330\001\001' + _globals['_PROTO3MESSAGEIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3MESSAGEIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H>\272\0018\n\033proto3.message.ignore.empty\022\006foobar\032\021this.val == \'foo\'\330\001\002' + _globals['_PROTO3ONEOFIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3ONEOFIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H\004\032\002 \000' + _globals['_PROTO3ONEOFIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3ONEOFIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\330\001\001' + _globals['_PROTO3ONEOFIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3ONEOFIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\330\001\002' + _globals['_PROTO3REPEATEDIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3REPEATEDIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H\005\222\001\002\010\003' + _globals['_PROTO3REPEATEDIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3REPEATEDIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H\010\222\001\002\010\003\330\001\001' + _globals['_PROTO3REPEATEDIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3REPEATEDIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\010\222\001\002\010\003\330\001\002' + _globals['_PROTO3MAPIGNOREUNSPECIFIED_VALENTRY']._loaded_options = None + _globals['_PROTO3MAPIGNOREUNSPECIFIED_VALENTRY']._serialized_options = b'8\001' + _globals['_PROTO3MAPIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3MAPIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H\005\232\001\002\010\003' + _globals['_PROTO3MAPIGNOREEMPTY_VALENTRY']._loaded_options = None + _globals['_PROTO3MAPIGNOREEMPTY_VALENTRY']._serialized_options = b'8\001' + _globals['_PROTO3MAPIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3MAPIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H\010\232\001\002\010\003\330\001\001' + _globals['_PROTO3MAPIGNOREDEFAULT_VALENTRY']._loaded_options = None + _globals['_PROTO3MAPIGNOREDEFAULT_VALENTRY']._serialized_options = b'8\001' + _globals['_PROTO3MAPIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3MAPIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\010\232\001\002\010\003\330\001\002' + _globals['_PROTO3REPEATEDITEMIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3REPEATEDITEMIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H\t\222\001\006\"\004\032\002 \000' + _globals['_PROTO3REPEATEDITEMIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3REPEATEDITEMIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H\014\222\001\t\"\007\032\002 \000\330\001\001' + _globals['_PROTO3REPEATEDITEMIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3REPEATEDITEMIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\014\222\001\t\"\007\032\002 \000\330\001\002' + _globals['_PROTO3MAPKEYIGNOREUNSPECIFIED_VALENTRY']._loaded_options = None + _globals['_PROTO3MAPKEYIGNOREUNSPECIFIED_VALENTRY']._serialized_options = b'8\001' + _globals['_PROTO3MAPKEYIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3MAPKEYIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H\t\232\001\006\"\004\032\002 \000' + _globals['_PROTO3MAPKEYIGNOREEMPTY_VALENTRY']._loaded_options = None + _globals['_PROTO3MAPKEYIGNOREEMPTY_VALENTRY']._serialized_options = b'8\001' + _globals['_PROTO3MAPKEYIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3MAPKEYIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H\014\232\001\t\"\007\032\002 \000\330\001\001' + _globals['_PROTO3MAPKEYIGNOREDEFAULT_VALENTRY']._loaded_options = None + _globals['_PROTO3MAPKEYIGNOREDEFAULT_VALENTRY']._serialized_options = b'8\001' + _globals['_PROTO3MAPKEYIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3MAPKEYIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\014\232\001\t\"\007\032\002 \000\330\001\002' + _globals['_PROTO3MAPVALUEIGNOREUNSPECIFIED_VALENTRY']._loaded_options = None + _globals['_PROTO3MAPVALUEIGNOREUNSPECIFIED_VALENTRY']._serialized_options = b'8\001' + _globals['_PROTO3MAPVALUEIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3MAPVALUEIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H\t\232\001\006*\004\032\002 \000' + _globals['_PROTO3MAPVALUEIGNOREEMPTY_VALENTRY']._loaded_options = None + _globals['_PROTO3MAPVALUEIGNOREEMPTY_VALENTRY']._serialized_options = b'8\001' + _globals['_PROTO3MAPVALUEIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3MAPVALUEIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H\014\232\001\t*\007\032\002 \000\330\001\001' + _globals['_PROTO3MAPVALUEIGNOREDEFAULT_VALENTRY']._loaded_options = None + _globals['_PROTO3MAPVALUEIGNOREDEFAULT_VALENTRY']._serialized_options = b'8\001' + _globals['_PROTO3MAPVALUEIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_PROTO3MAPVALUEIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\014\232\001\t*\007\032\002 \000\330\001\002' + _globals['_PROTO3SCALAROPTIONALIGNOREUNSPECIFIED']._serialized_start=115 + _globals['_PROTO3SCALAROPTIONALIGNOREUNSPECIFIED']._serialized_end=194 + _globals['_PROTO3SCALAROPTIONALIGNOREEMPTY']._serialized_start=196 + _globals['_PROTO3SCALAROPTIONALIGNOREEMPTY']._serialized_end=272 + _globals['_PROTO3SCALAROPTIONALIGNOREDEFAULT']._serialized_start=274 + _globals['_PROTO3SCALAROPTIONALIGNOREDEFAULT']._serialized_end=352 + _globals['_PROTO3SCALARIGNOREUNSPECIFIED']._serialized_start=354 + _globals['_PROTO3SCALARIGNOREUNSPECIFIED']._serialized_end=412 + _globals['_PROTO3SCALARIGNOREEMPTY']._serialized_start=414 + _globals['_PROTO3SCALARIGNOREEMPTY']._serialized_end=469 + _globals['_PROTO3SCALARIGNOREDEFAULT']._serialized_start=471 + _globals['_PROTO3SCALARIGNOREDEFAULT']._serialized_end=528 + _globals['_PROTO3MESSAGEOPTIONALIGNOREUNSPECIFIED']._serialized_start=531 + _globals['_PROTO3MESSAGEOPTIONALIGNOREUNSPECIFIED']._serialized_end=781 + _globals['_PROTO3MESSAGEOPTIONALIGNOREUNSPECIFIED_MSG']._serialized_start=737 + _globals['_PROTO3MESSAGEOPTIONALIGNOREUNSPECIFIED_MSG']._serialized_end=773 + _globals['_PROTO3MESSAGEOPTIONALIGNOREEMPTY']._serialized_start=784 + _globals['_PROTO3MESSAGEOPTIONALIGNOREEMPTY']._serialized_end=1025 + _globals['_PROTO3MESSAGEOPTIONALIGNOREEMPTY_MSG']._serialized_start=737 + _globals['_PROTO3MESSAGEOPTIONALIGNOREEMPTY_MSG']._serialized_end=773 + _globals['_PROTO3MESSAGEOPTIONALIGNOREDEFAULT']._serialized_start=1028 + _globals['_PROTO3MESSAGEOPTIONALIGNOREDEFAULT']._serialized_end=1273 + _globals['_PROTO3MESSAGEOPTIONALIGNOREDEFAULT_MSG']._serialized_start=737 + _globals['_PROTO3MESSAGEOPTIONALIGNOREDEFAULT_MSG']._serialized_end=773 + _globals['_PROTO3MESSAGEIGNOREUNSPECIFIED']._serialized_start=1276 + _globals['_PROTO3MESSAGEIGNOREUNSPECIFIED']._serialized_end=1497 + _globals['_PROTO3MESSAGEIGNOREUNSPECIFIED_MSG']._serialized_start=737 + _globals['_PROTO3MESSAGEIGNOREUNSPECIFIED_MSG']._serialized_end=773 + _globals['_PROTO3MESSAGEIGNOREEMPTY']._serialized_start=1500 + _globals['_PROTO3MESSAGEIGNOREEMPTY']._serialized_end=1712 + _globals['_PROTO3MESSAGEIGNOREEMPTY_MSG']._serialized_start=737 + _globals['_PROTO3MESSAGEIGNOREEMPTY_MSG']._serialized_end=773 + _globals['_PROTO3MESSAGEIGNOREDEFAULT']._serialized_start=1715 + _globals['_PROTO3MESSAGEIGNOREDEFAULT']._serialized_end=1931 + _globals['_PROTO3MESSAGEIGNOREDEFAULT_MSG']._serialized_start=737 + _globals['_PROTO3MESSAGEIGNOREDEFAULT_MSG']._serialized_end=773 + _globals['_PROTO3ONEOFIGNOREUNSPECIFIED']._serialized_start=1933 + _globals['_PROTO3ONEOFIGNOREUNSPECIFIED']._serialized_end=1997 + _globals['_PROTO3ONEOFIGNOREEMPTY']._serialized_start=1999 + _globals['_PROTO3ONEOFIGNOREEMPTY']._serialized_end=2060 + _globals['_PROTO3ONEOFIGNOREDEFAULT']._serialized_start=2062 + _globals['_PROTO3ONEOFIGNOREDEFAULT']._serialized_end=2125 + _globals['_PROTO3REPEATEDIGNOREUNSPECIFIED']._serialized_start=2127 + _globals['_PROTO3REPEATEDIGNOREUNSPECIFIED']._serialized_end=2188 + _globals['_PROTO3REPEATEDIGNOREEMPTY']._serialized_start=2190 + _globals['_PROTO3REPEATEDIGNOREEMPTY']._serialized_end=2248 + _globals['_PROTO3REPEATEDIGNOREDEFAULT']._serialized_start=2250 + _globals['_PROTO3REPEATEDIGNOREDEFAULT']._serialized_end=2310 + _globals['_PROTO3MAPIGNOREUNSPECIFIED']._serialized_start=2313 + _globals['_PROTO3MAPIGNOREUNSPECIFIED']._serialized_end=2494 + _globals['_PROTO3MAPIGNOREUNSPECIFIED_VALENTRY']._serialized_start=2440 + _globals['_PROTO3MAPIGNOREUNSPECIFIED_VALENTRY']._serialized_end=2494 + _globals['_PROTO3MAPIGNOREEMPTY']._serialized_start=2497 + _globals['_PROTO3MAPIGNOREEMPTY']._serialized_end=2669 + _globals['_PROTO3MAPIGNOREEMPTY_VALENTRY']._serialized_start=2440 + _globals['_PROTO3MAPIGNOREEMPTY_VALENTRY']._serialized_end=2494 + _globals['_PROTO3MAPIGNOREDEFAULT']._serialized_start=2672 + _globals['_PROTO3MAPIGNOREDEFAULT']._serialized_end=2848 + _globals['_PROTO3MAPIGNOREDEFAULT_VALENTRY']._serialized_start=2440 + _globals['_PROTO3MAPIGNOREDEFAULT_VALENTRY']._serialized_end=2494 + _globals['_PROTO3REPEATEDITEMIGNOREUNSPECIFIED']._serialized_start=2850 + _globals['_PROTO3REPEATEDITEMIGNOREUNSPECIFIED']._serialized_end=2919 + _globals['_PROTO3REPEATEDITEMIGNOREEMPTY']._serialized_start=2921 + _globals['_PROTO3REPEATEDITEMIGNOREEMPTY']._serialized_end=2987 + _globals['_PROTO3REPEATEDITEMIGNOREDEFAULT']._serialized_start=2989 + _globals['_PROTO3REPEATEDITEMIGNOREDEFAULT']._serialized_end=3057 + _globals['_PROTO3MAPKEYIGNOREUNSPECIFIED']._serialized_start=3060 + _globals['_PROTO3MAPKEYIGNOREUNSPECIFIED']._serialized_end=3251 + _globals['_PROTO3MAPKEYIGNOREUNSPECIFIED_VALENTRY']._serialized_start=2440 + _globals['_PROTO3MAPKEYIGNOREUNSPECIFIED_VALENTRY']._serialized_end=2494 + _globals['_PROTO3MAPKEYIGNOREEMPTY']._serialized_start=3254 + _globals['_PROTO3MAPKEYIGNOREEMPTY']._serialized_end=3436 + _globals['_PROTO3MAPKEYIGNOREEMPTY_VALENTRY']._serialized_start=2440 + _globals['_PROTO3MAPKEYIGNOREEMPTY_VALENTRY']._serialized_end=2494 + _globals['_PROTO3MAPKEYIGNOREDEFAULT']._serialized_start=3439 + _globals['_PROTO3MAPKEYIGNOREDEFAULT']._serialized_end=3625 + _globals['_PROTO3MAPKEYIGNOREDEFAULT_VALENTRY']._serialized_start=2440 + _globals['_PROTO3MAPKEYIGNOREDEFAULT_VALENTRY']._serialized_end=2494 + _globals['_PROTO3MAPVALUEIGNOREUNSPECIFIED']._serialized_start=3628 + _globals['_PROTO3MAPVALUEIGNOREUNSPECIFIED']._serialized_end=3823 + _globals['_PROTO3MAPVALUEIGNOREUNSPECIFIED_VALENTRY']._serialized_start=2440 + _globals['_PROTO3MAPVALUEIGNOREUNSPECIFIED_VALENTRY']._serialized_end=2494 + _globals['_PROTO3MAPVALUEIGNOREEMPTY']._serialized_start=3826 + _globals['_PROTO3MAPVALUEIGNOREEMPTY']._serialized_end=4012 + _globals['_PROTO3MAPVALUEIGNOREEMPTY_VALENTRY']._serialized_start=2440 + _globals['_PROTO3MAPVALUEIGNOREEMPTY_VALENTRY']._serialized_end=2494 + _globals['_PROTO3MAPVALUEIGNOREDEFAULT']._serialized_start=4015 + _globals['_PROTO3MAPVALUEIGNOREDEFAULT']._serialized_end=4205 + _globals['_PROTO3MAPVALUEIGNOREDEFAULT_VALENTRY']._serialized_start=2440 + _globals['_PROTO3MAPVALUEIGNOREDEFAULT_VALENTRY']._serialized_end=2494 +# @@protoc_insertion_point(module_scope) diff --git a/gen/buf/validate/conformance/cases/ignore_proto3_pb2.pyi b/gen/buf/validate/conformance/cases/ignore_proto3_pb2.pyi new file mode 100644 index 0000000..0280053 --- /dev/null +++ b/gen/buf/validate/conformance/cases/ignore_proto3_pb2.pyi @@ -0,0 +1,294 @@ +# Copyright 2023 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. + +from buf.validate import validate_pb2 as _validate_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class Proto3ScalarOptionalIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto3ScalarOptionalIgnoreEmpty(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto3ScalarOptionalIgnoreDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto3ScalarIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto3ScalarIgnoreEmpty(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto3ScalarIgnoreDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto3MessageOptionalIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: Proto3MessageOptionalIgnoreUnspecified.Msg + def __init__(self, val: _Optional[_Union[Proto3MessageOptionalIgnoreUnspecified.Msg, _Mapping]] = ...) -> None: ... + +class Proto3MessageOptionalIgnoreEmpty(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: Proto3MessageOptionalIgnoreEmpty.Msg + def __init__(self, val: _Optional[_Union[Proto3MessageOptionalIgnoreEmpty.Msg, _Mapping]] = ...) -> None: ... + +class Proto3MessageOptionalIgnoreDefault(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: Proto3MessageOptionalIgnoreDefault.Msg + def __init__(self, val: _Optional[_Union[Proto3MessageOptionalIgnoreDefault.Msg, _Mapping]] = ...) -> None: ... + +class Proto3MessageIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: Proto3MessageIgnoreUnspecified.Msg + def __init__(self, val: _Optional[_Union[Proto3MessageIgnoreUnspecified.Msg, _Mapping]] = ...) -> None: ... + +class Proto3MessageIgnoreEmpty(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: Proto3MessageIgnoreEmpty.Msg + def __init__(self, val: _Optional[_Union[Proto3MessageIgnoreEmpty.Msg, _Mapping]] = ...) -> None: ... + +class Proto3MessageIgnoreDefault(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: Proto3MessageIgnoreDefault.Msg + def __init__(self, val: _Optional[_Union[Proto3MessageIgnoreDefault.Msg, _Mapping]] = ...) -> None: ... + +class Proto3OneofIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto3OneofIgnoreEmpty(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto3OneofIgnoreDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class Proto3RepeatedIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... + +class Proto3RepeatedIgnoreEmpty(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... + +class Proto3RepeatedIgnoreDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... + +class Proto3MapIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... + +class Proto3MapIgnoreEmpty(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... + +class Proto3MapIgnoreDefault(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... + +class Proto3RepeatedItemIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... + +class Proto3RepeatedItemIgnoreEmpty(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... + +class Proto3RepeatedItemIgnoreDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... + +class Proto3MapKeyIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... + +class Proto3MapKeyIgnoreEmpty(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... + +class Proto3MapKeyIgnoreDefault(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... + +class Proto3MapValueIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... + +class Proto3MapValueIgnoreEmpty(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... + +class Proto3MapValueIgnoreDefault(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... diff --git a/gen/buf/validate/conformance/cases/ignore_proto_editions_pb2.py b/gen/buf/validate/conformance/cases/ignore_proto_editions_pb2.py new file mode 100644 index 0000000..4399f6c --- /dev/null +++ b/gen/buf/validate/conformance/cases/ignore_proto_editions_pb2.py @@ -0,0 +1,325 @@ +# Copyright 2023 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. + +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: buf/validate/conformance/cases/ignore_proto_editions.proto +# Protobuf Python Version: 5.27.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/ignore_proto_editions.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:buf/validate/conformance/cases/ignore_proto_editions.proto\x12\x1e\x62uf.validate.conformance.cases\x1a\x1b\x62uf/validate/validate.proto\"L\n/EditionsScalarExplicitPresenceIgnoreUnspecified\x12\x19\n\x03val\x18\x01 \x01(\x05\x42\x07\xbaH\x04\x1a\x02 \x00R\x03val\"\\\n:EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault\x12\x1e\n\x03val\x18\x01 \x01(\x05:\x03-42B\x07\xbaH\x04\x1a\x02 \x00R\x03val\"I\n)EditionsScalarExplicitPresenceIgnoreEmpty\x12\x1c\n\x03val\x18\x01 \x01(\x05\x42\n\xbaH\x07\x1a\x02 \x00\xd8\x01\x01R\x03val\"Y\n4EditionsScalarExplicitPresenceIgnoreEmptyWithDefault\x12!\n\x03val\x18\x01 \x01(\x05:\x03-42B\n\xbaH\x07\x1a\x02 \x00\xd8\x01\x01R\x03val\"K\n+EditionsScalarExplicitPresenceIgnoreDefault\x12\x1c\n\x03val\x18\x01 \x01(\x05\x42\n\xbaH\x07\x1a\x02 \x00\xd8\x01\x02R\x03val\"[\n6EditionsScalarExplicitPresenceIgnoreDefaultWithDefault\x12!\n\x03val\x18\x01 \x01(\x05:\x03-42B\n\xbaH\x07\x1a\x02 \x00\xd8\x01\x02R\x03val\"Q\n/EditionsScalarImplicitPresenceIgnoreUnspecified\x12\x1e\n\x03val\x18\x01 \x01(\x05\x42\x0c\xaa\x01\x02\x08\x02\xbaH\x04\x1a\x02 \x00R\x03val\"N\n)EditionsScalarImplicitPresenceIgnoreEmpty\x12!\n\x03val\x18\x01 \x01(\x05\x42\x0f\xaa\x01\x02\x08\x02\xbaH\x07\x1a\x02 \x00\xd8\x01\x01R\x03val\"P\n+EditionsScalarImplicitPresenceIgnoreDefault\x12!\n\x03val\x18\x01 \x01(\x05\x42\x0f\xaa\x01\x02\x08\x02\xbaH\x07\x1a\x02 \x00\xd8\x01\x02R\x03val\"O\n-EditionsScalarLegacyRequiredIgnoreUnspecified\x12\x1e\n\x03val\x18\x01 \x01(\x05\x42\x0c\xaa\x01\x02\x08\x03\xbaH\x04\x1a\x02 \x00R\x03val\"_\n8EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault\x12#\n\x03val\x18\x01 \x01(\x05:\x03-42B\x0c\xaa\x01\x02\x08\x03\xbaH\x04\x1a\x02 \x00R\x03val\"L\n\'EditionsScalarLegacyRequiredIgnoreEmpty\x12!\n\x03val\x18\x01 \x01(\x05\x42\x0f\xaa\x01\x02\x08\x03\xbaH\x07\x1a\x02 \x00\xd8\x01\x01R\x03val\"\\\n2EditionsScalarLegacyRequiredIgnoreEmptyWithDefault\x12&\n\x03val\x18\x01 \x01(\x05:\x03-42B\x0f\xaa\x01\x02\x08\x03\xbaH\x07\x1a\x02 \x00\xd8\x01\x01R\x03val\"N\n)EditionsScalarLegacyRequiredIgnoreDefault\x12!\n\x03val\x18\x01 \x01(\x05\x42\x0f\xaa\x01\x02\x08\x03\xbaH\x07\x1a\x02 \x00\xd8\x01\x02R\x03val\"^\n4EditionsScalarLegacyRequiredIgnoreDefaultWithDefault\x12&\n\x03val\x18\x01 \x01(\x05:\x03-42B\x0f\xaa\x01\x02\x08\x03\xbaH\x07\x1a\x02 \x00\xd8\x01\x02R\x03val\"\xfc\x01\n0EditionsMessageExplicitPresenceIgnoreUnspecified\x12\xae\x01\n\x03val\x18\x01 \x01(\x0b\x32T.buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreUnspecified.MsgBF\xbaHC\xba\x01@\n#proto.editions.message.ignore.empty\x12\x06\x66oobar\x1a\x11this.val == \'foo\'R\x03val\x1a\x17\n\x03Msg\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val\"\x93\x02\n9EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified\x12\xbc\x01\n\x03val\x18\x01 \x01(\x0b\x32].buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified.MsgBK\xaa\x01\x02(\x02\xbaHC\xba\x01@\n#proto.editions.message.ignore.empty\x12\x06\x66oobar\x1a\x11this.val == \'foo\'R\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(\x0b\x32N.buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreEmpty.MsgBI\xbaHF\xba\x01@\n#proto.editions.message.ignore.empty\x12\x06\x66oobar\x1a\x11this.val == \'foo\'\xd8\x01\x01R\x03val\x1a\x17\n\x03Msg\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val\"\x8a\x02\n3EditionsMessageExplicitPresenceDelimitedIgnoreEmpty\x12\xb9\x01\n\x03val\x18\x01 \x01(\x0b\x32W.buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreEmpty.MsgBN\xaa\x01\x02(\x02\xbaHF\xba\x01@\n#proto.editions.message.ignore.empty\x12\x06\x66oobar\x1a\x11this.val == \'foo\'\xd8\x01\x01R\x03val\x1a\x17\n\x03Msg\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val\"\xf7\x01\n,EditionsMessageExplicitPresenceIgnoreDefault\x12\xad\x01\n\x03val\x18\x01 \x01(\x0b\x32P.buf.validate.conformance.cases.EditionsMessageExplicitPresenceIgnoreDefault.MsgBI\xbaHF\xba\x01@\n#proto.editions.message.ignore.empty\x12\x06\x66oobar\x1a\x11this.val == \'foo\'\xd8\x01\x02R\x03val\x1a\x17\n\x03Msg\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val\"\x8e\x02\n5EditionsMessageExplicitPresenceDelimitedIgnoreDefault\x12\xbb\x01\n\x03val\x18\x01 \x01(\x0b\x32Y.buf.validate.conformance.cases.EditionsMessageExplicitPresenceDelimitedIgnoreDefault.MsgBN\xaa\x01\x02(\x02\xbaHF\xba\x01@\n#proto.editions.message.ignore.empty\x12\x06\x66oobar\x1a\x11this.val == \'foo\'\xd8\x01\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(\x0b\x32R.buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreUnspecified.MsgBK\xaa\x01\x02\x08\x03\xbaHC\xba\x01@\n#proto.editions.message.ignore.empty\x12\x06\x66oobar\x1a\x11this.val == \'foo\'R\x03val\x1a\x17\n\x03Msg\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val\"\x91\x02\n7EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified\x12\xbc\x01\n\x03val\x18\x01 \x01(\x0b\x32[.buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified.MsgBM\xaa\x01\x04\x08\x03(\x02\xbaHC\xba\x01@\n#proto.editions.message.ignore.empty\x12\x06\x66oobar\x1a\x11this.val == \'foo\'R\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(\x0b\x32L.buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreEmpty.MsgBN\xaa\x01\x02\x08\x03\xbaHF\xba\x01@\n#proto.editions.message.ignore.empty\x12\x06\x66oobar\x1a\x11this.val == \'foo\'\xd8\x01\x01R\x03val\x1a\x17\n\x03Msg\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val\"\x88\x02\n1EditionsMessageLegacyRequiredDelimitedIgnoreEmpty\x12\xb9\x01\n\x03val\x18\x01 \x01(\x0b\x32U.buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreEmpty.MsgBP\xaa\x01\x04\x08\x03(\x02\xbaHF\xba\x01@\n#proto.editions.message.ignore.empty\x12\x06\x66oobar\x1a\x11this.val == \'foo\'\xd8\x01\x01R\x03val\x1a\x17\n\x03Msg\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val\"\xf8\x01\n*EditionsMessageLegacyRequiredIgnoreDefault\x12\xb0\x01\n\x03val\x18\x01 \x01(\x0b\x32N.buf.validate.conformance.cases.EditionsMessageLegacyRequiredIgnoreDefault.MsgBN\xaa\x01\x02\x08\x03\xbaHF\xba\x01@\n#proto.editions.message.ignore.empty\x12\x06\x66oobar\x1a\x11this.val == \'foo\'\xd8\x01\x02R\x03val\x1a\x17\n\x03Msg\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val\"\x8c\x02\n3EditionsMessageLegacyRequiredDelimitedIgnoreDefault\x12\xbb\x01\n\x03val\x18\x01 \x01(\x0b\x32W.buf.validate.conformance.cases.EditionsMessageLegacyRequiredDelimitedIgnoreDefault.MsgBP\xaa\x01\x04\x08\x03(\x02\xbaHF\xba\x01@\n#proto.editions.message.ignore.empty\x12\x06\x66oobar\x1a\x11this.val == \'foo\'\xd8\x01\x02R\x03val\x1a\x17\n\x03Msg\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val\"B\n\x1e\x45\x64itionsOneofIgnoreUnspecified\x12\x1b\n\x03val\x18\x01 \x01(\x05\x42\x07\xbaH\x04\x1a\x02 \x00H\x00R\x03valB\x03\n\x01o\"R\n)EditionsOneofIgnoreUnspecifiedWithDefault\x12 \n\x03val\x18\x01 \x01(\x05:\x03-42B\x07\xbaH\x04\x1a\x02 \x00H\x00R\x03valB\x03\n\x01o\"?\n\x18\x45\x64itionsOneofIgnoreEmpty\x12\x1e\n\x03val\x18\x01 \x01(\x05\x42\n\xbaH\x07\x1a\x02 \x00\xd8\x01\x01H\x00R\x03valB\x03\n\x01o\"O\n#EditionsOneofIgnoreEmptyWithDefault\x12#\n\x03val\x18\x01 \x01(\x05:\x03-42B\n\xbaH\x07\x1a\x02 \x00\xd8\x01\x01H\x00R\x03valB\x03\n\x01o\"A\n\x1a\x45\x64itionsOneofIgnoreDefault\x12\x1e\n\x03val\x18\x01 \x01(\x05\x42\n\xbaH\x07\x1a\x02 \x00\xd8\x01\x02H\x00R\x03valB\x03\n\x01o\"Q\n%EditionsOneofIgnoreDefaultWithDefault\x12#\n\x03val\x18\x01 \x01(\x05:\x03-42B\n\xbaH\x07\x1a\x02 \x00\xd8\x01\x02H\x00R\x03valB\x03\n\x01o\"?\n!EditionsRepeatedIgnoreUnspecified\x12\x1a\n\x03val\x18\x01 \x03(\x05\x42\x08\xbaH\x05\x92\x01\x02\x08\x03R\x03val\"L\n)EditionsRepeatedExpandedIgnoreUnspecified\x12\x1f\n\x03val\x18\x01 \x03(\x05\x42\r\xaa\x01\x02\x18\x02\xbaH\x05\x92\x01\x02\x08\x03R\x03val\"<\n\x1b\x45\x64itionsRepeatedIgnoreEmpty\x12\x1d\n\x03val\x18\x01 \x03(\x05\x42\x0b\xbaH\x08\x92\x01\x02\x08\x03\xd8\x01\x01R\x03val\"I\n#EditionsRepeatedExpandedIgnoreEmpty\x12\"\n\x03val\x18\x01 \x03(\x05\x42\x10\xaa\x01\x02\x18\x02\xbaH\x08\x92\x01\x02\x08\x03\xd8\x01\x01R\x03val\">\n\x1d\x45\x64itionsRepeatedIgnoreDefault\x12\x1d\n\x03val\x18\x01 \x03(\x05\x42\x0b\xbaH\x08\x92\x01\x02\x08\x03\xd8\x01\x02R\x03val\"K\n%EditionsRepeatedExpandedIgnoreDefault\x12\"\n\x03val\x18\x01 \x03(\x05\x42\x10\xaa\x01\x02\x18\x02\xbaH\x08\x92\x01\x02\x08\x03\xd8\x01\x02R\x03val\"\xb9\x01\n\x1c\x45\x64itionsMapIgnoreUnspecified\x12\x61\n\x03val\x18\x01 \x03(\x0b\x32\x45.buf.validate.conformance.cases.EditionsMapIgnoreUnspecified.ValEntryB\x08\xbaH\x05\x9a\x01\x02\x08\x03R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"\xb0\x01\n\x16\x45\x64itionsMapIgnoreEmpty\x12^\n\x03val\x18\x01 \x03(\x0b\x32?.buf.validate.conformance.cases.EditionsMapIgnoreEmpty.ValEntryB\x0b\xbaH\x08\x9a\x01\x02\x08\x03\xd8\x01\x01R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"\xb4\x01\n\x18\x45\x64itionsMapIgnoreDefault\x12`\n\x03val\x18\x01 \x03(\x0b\x32\x41.buf.validate.conformance.cases.EditionsMapIgnoreDefault.ValEntryB\x0b\xbaH\x08\x9a\x01\x02\x08\x03\xd8\x01\x02R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"G\n%EditionsRepeatedItemIgnoreUnspecified\x12\x1e\n\x03val\x18\x01 \x03(\x05\x42\x0c\xbaH\t\x92\x01\x06\"\x04\x1a\x02 \x00R\x03val\"T\n-EditionsRepeatedExpandedItemIgnoreUnspecified\x12#\n\x03val\x18\x01 \x03(\x05\x42\x11\xaa\x01\x02\x18\x02\xbaH\t\x92\x01\x06\"\x04\x1a\x02 \x00R\x03val\"D\n\x1f\x45\x64itionsRepeatedItemIgnoreEmpty\x12!\n\x03val\x18\x01 \x03(\x05\x42\x0f\xbaH\x0c\x92\x01\t\"\x07\x1a\x02 \x00\xd8\x01\x01R\x03val\"Q\n\'EditionsRepeatedExpandedItemIgnoreEmpty\x12&\n\x03val\x18\x01 \x03(\x05\x42\x14\xaa\x01\x02\x18\x02\xbaH\x0c\x92\x01\t\"\x07\x1a\x02 \x00\xd8\x01\x01R\x03val\"F\n!EditionsRepeatedItemIgnoreDefault\x12!\n\x03val\x18\x01 \x03(\x05\x42\x0f\xbaH\x0c\x92\x01\t\"\x07\x1a\x02 \x00\xd8\x01\x02R\x03val\"S\n)EditionsRepeatedExpandedItemIgnoreDefault\x12&\n\x03val\x18\x01 \x03(\x05\x42\x14\xaa\x01\x02\x18\x02\xbaH\x0c\x92\x01\t\"\x07\x1a\x02 \x00\xd8\x01\x02R\x03val\"\xc3\x01\n\x1f\x45\x64itionsMapKeyIgnoreUnspecified\x12h\n\x03val\x18\x01 \x03(\x0b\x32H.buf.validate.conformance.cases.EditionsMapKeyIgnoreUnspecified.ValEntryB\x0c\xbaH\t\x9a\x01\x06\"\x04\x1a\x02 \x00R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"\xba\x01\n\x19\x45\x64itionsMapKeyIgnoreEmpty\x12\x65\n\x03val\x18\x01 \x03(\x0b\x32\x42.buf.validate.conformance.cases.EditionsMapKeyIgnoreEmpty.ValEntryB\x0f\xbaH\x0c\x9a\x01\t\"\x07\x1a\x02 \x00\xd8\x01\x01R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"\xbe\x01\n\x1b\x45\x64itionsMapKeyIgnoreDefault\x12g\n\x03val\x18\x01 \x03(\x0b\x32\x44.buf.validate.conformance.cases.EditionsMapKeyIgnoreDefault.ValEntryB\x0f\xbaH\x0c\x9a\x01\t\"\x07\x1a\x02 \x00\xd8\x01\x02R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"\xc7\x01\n!EditionsMapValueIgnoreUnspecified\x12j\n\x03val\x18\x01 \x03(\x0b\x32J.buf.validate.conformance.cases.EditionsMapValueIgnoreUnspecified.ValEntryB\x0c\xbaH\t\x9a\x01\x06*\x04\x1a\x02 \x00R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"\xbe\x01\n\x1b\x45\x64itionsMapValueIgnoreEmpty\x12g\n\x03val\x18\x01 \x03(\x0b\x32\x44.buf.validate.conformance.cases.EditionsMapValueIgnoreEmpty.ValEntryB\x0f\xbaH\x0c\x9a\x01\t*\x07\x1a\x02 \x00\xd8\x01\x01R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"\xc2\x01\n\x1d\x45\x64itionsMapValueIgnoreDefault\x12i\n\x03val\x18\x01 \x03(\x0b\x32\x46.buf.validate.conformance.cases.EditionsMapValueIgnoreDefault.ValEntryB\x0f\xbaH\x0c\x9a\x01\t*\x07\x1a\x02 \x00\xd8\x01\x02R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\x62\x08\x65\x64itionsp\xe8\x07') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.ignore_proto_editions_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_EDITIONSSCALAREXPLICITPRESENCEIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSSCALAREXPLICITPRESENCEIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H\004\032\002 \000' + _globals['_EDITIONSSCALAREXPLICITPRESENCEIGNOREUNSPECIFIEDWITHDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSSCALAREXPLICITPRESENCEIGNOREUNSPECIFIEDWITHDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\004\032\002 \000' + _globals['_EDITIONSSCALAREXPLICITPRESENCEIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSSCALAREXPLICITPRESENCEIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\330\001\001' + _globals['_EDITIONSSCALAREXPLICITPRESENCEIGNOREEMPTYWITHDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSSCALAREXPLICITPRESENCEIGNOREEMPTYWITHDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\330\001\001' + _globals['_EDITIONSSCALAREXPLICITPRESENCEIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSSCALAREXPLICITPRESENCEIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\330\001\002' + _globals['_EDITIONSSCALAREXPLICITPRESENCEIGNOREDEFAULTWITHDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSSCALAREXPLICITPRESENCEIGNOREDEFAULTWITHDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\330\001\002' + _globals['_EDITIONSSCALARIMPLICITPRESENCEIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSSCALARIMPLICITPRESENCEIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\252\001\002\010\002\272H\004\032\002 \000' + _globals['_EDITIONSSCALARIMPLICITPRESENCEIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSSCALARIMPLICITPRESENCEIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\252\001\002\010\002\272H\007\032\002 \000\330\001\001' + _globals['_EDITIONSSCALARIMPLICITPRESENCEIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSSCALARIMPLICITPRESENCEIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\252\001\002\010\002\272H\007\032\002 \000\330\001\002' + _globals['_EDITIONSSCALARLEGACYREQUIREDIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSSCALARLEGACYREQUIREDIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\252\001\002\010\003\272H\004\032\002 \000' + _globals['_EDITIONSSCALARLEGACYREQUIREDIGNOREUNSPECIFIEDWITHDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSSCALARLEGACYREQUIREDIGNOREUNSPECIFIEDWITHDEFAULT'].fields_by_name['val']._serialized_options = b'\252\001\002\010\003\272H\004\032\002 \000' + _globals['_EDITIONSSCALARLEGACYREQUIREDIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSSCALARLEGACYREQUIREDIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\252\001\002\010\003\272H\007\032\002 \000\330\001\001' + _globals['_EDITIONSSCALARLEGACYREQUIREDIGNOREEMPTYWITHDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSSCALARLEGACYREQUIREDIGNOREEMPTYWITHDEFAULT'].fields_by_name['val']._serialized_options = b'\252\001\002\010\003\272H\007\032\002 \000\330\001\001' + _globals['_EDITIONSSCALARLEGACYREQUIREDIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSSCALARLEGACYREQUIREDIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\252\001\002\010\003\272H\007\032\002 \000\330\001\002' + _globals['_EDITIONSSCALARLEGACYREQUIREDIGNOREDEFAULTWITHDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSSCALARLEGACYREQUIREDIGNOREDEFAULTWITHDEFAULT'].fields_by_name['val']._serialized_options = b'\252\001\002\010\003\272H\007\032\002 \000\330\001\002' + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272HC\272\001@\n#proto.editions.message.ignore.empty\022\006foobar\032\021this.val == \'foo\'' + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEDELIMITEDIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEDELIMITEDIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\252\001\002(\002\272HC\272\001@\n#proto.editions.message.ignore.empty\022\006foobar\032\021this.val == \'foo\'' + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272HF\272\001@\n#proto.editions.message.ignore.empty\022\006foobar\032\021this.val == \'foo\'\330\001\001' + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEDELIMITEDIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEDELIMITEDIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\252\001\002(\002\272HF\272\001@\n#proto.editions.message.ignore.empty\022\006foobar\032\021this.val == \'foo\'\330\001\001' + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272HF\272\001@\n#proto.editions.message.ignore.empty\022\006foobar\032\021this.val == \'foo\'\330\001\002' + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEDELIMITEDIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEDELIMITEDIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\252\001\002(\002\272HF\272\001@\n#proto.editions.message.ignore.empty\022\006foobar\032\021this.val == \'foo\'\330\001\002' + _globals['_EDITIONSMESSAGELEGACYREQUIREDIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSMESSAGELEGACYREQUIREDIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\252\001\002\010\003\272HC\272\001@\n#proto.editions.message.ignore.empty\022\006foobar\032\021this.val == \'foo\'' + _globals['_EDITIONSMESSAGELEGACYREQUIREDDELIMITEDIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSMESSAGELEGACYREQUIREDDELIMITEDIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\252\001\004\010\003(\002\272HC\272\001@\n#proto.editions.message.ignore.empty\022\006foobar\032\021this.val == \'foo\'' + _globals['_EDITIONSMESSAGELEGACYREQUIREDIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSMESSAGELEGACYREQUIREDIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\252\001\002\010\003\272HF\272\001@\n#proto.editions.message.ignore.empty\022\006foobar\032\021this.val == \'foo\'\330\001\001' + _globals['_EDITIONSMESSAGELEGACYREQUIREDDELIMITEDIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSMESSAGELEGACYREQUIREDDELIMITEDIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\252\001\004\010\003(\002\272HF\272\001@\n#proto.editions.message.ignore.empty\022\006foobar\032\021this.val == \'foo\'\330\001\001' + _globals['_EDITIONSMESSAGELEGACYREQUIREDIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSMESSAGELEGACYREQUIREDIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\252\001\002\010\003\272HF\272\001@\n#proto.editions.message.ignore.empty\022\006foobar\032\021this.val == \'foo\'\330\001\002' + _globals['_EDITIONSMESSAGELEGACYREQUIREDDELIMITEDIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSMESSAGELEGACYREQUIREDDELIMITEDIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\252\001\004\010\003(\002\272HF\272\001@\n#proto.editions.message.ignore.empty\022\006foobar\032\021this.val == \'foo\'\330\001\002' + _globals['_EDITIONSONEOFIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSONEOFIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H\004\032\002 \000' + _globals['_EDITIONSONEOFIGNOREUNSPECIFIEDWITHDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSONEOFIGNOREUNSPECIFIEDWITHDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\004\032\002 \000' + _globals['_EDITIONSONEOFIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSONEOFIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\330\001\001' + _globals['_EDITIONSONEOFIGNOREEMPTYWITHDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSONEOFIGNOREEMPTYWITHDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\330\001\001' + _globals['_EDITIONSONEOFIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSONEOFIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\330\001\002' + _globals['_EDITIONSONEOFIGNOREDEFAULTWITHDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSONEOFIGNOREDEFAULTWITHDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\007\032\002 \000\330\001\002' + _globals['_EDITIONSREPEATEDIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSREPEATEDIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H\005\222\001\002\010\003' + _globals['_EDITIONSREPEATEDEXPANDEDIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSREPEATEDEXPANDEDIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\252\001\002\030\002\272H\005\222\001\002\010\003' + _globals['_EDITIONSREPEATEDIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSREPEATEDIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H\010\222\001\002\010\003\330\001\001' + _globals['_EDITIONSREPEATEDEXPANDEDIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSREPEATEDEXPANDEDIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\252\001\002\030\002\272H\010\222\001\002\010\003\330\001\001' + _globals['_EDITIONSREPEATEDIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSREPEATEDIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\010\222\001\002\010\003\330\001\002' + _globals['_EDITIONSREPEATEDEXPANDEDIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSREPEATEDEXPANDEDIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\252\001\002\030\002\272H\010\222\001\002\010\003\330\001\002' + _globals['_EDITIONSMAPIGNOREUNSPECIFIED_VALENTRY']._loaded_options = None + _globals['_EDITIONSMAPIGNOREUNSPECIFIED_VALENTRY']._serialized_options = b'8\001' + _globals['_EDITIONSMAPIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSMAPIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H\005\232\001\002\010\003' + _globals['_EDITIONSMAPIGNOREEMPTY_VALENTRY']._loaded_options = None + _globals['_EDITIONSMAPIGNOREEMPTY_VALENTRY']._serialized_options = b'8\001' + _globals['_EDITIONSMAPIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSMAPIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H\010\232\001\002\010\003\330\001\001' + _globals['_EDITIONSMAPIGNOREDEFAULT_VALENTRY']._loaded_options = None + _globals['_EDITIONSMAPIGNOREDEFAULT_VALENTRY']._serialized_options = b'8\001' + _globals['_EDITIONSMAPIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSMAPIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\010\232\001\002\010\003\330\001\002' + _globals['_EDITIONSREPEATEDITEMIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSREPEATEDITEMIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H\t\222\001\006\"\004\032\002 \000' + _globals['_EDITIONSREPEATEDEXPANDEDITEMIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSREPEATEDEXPANDEDITEMIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\252\001\002\030\002\272H\t\222\001\006\"\004\032\002 \000' + _globals['_EDITIONSREPEATEDITEMIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSREPEATEDITEMIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H\014\222\001\t\"\007\032\002 \000\330\001\001' + _globals['_EDITIONSREPEATEDEXPANDEDITEMIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSREPEATEDEXPANDEDITEMIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\252\001\002\030\002\272H\014\222\001\t\"\007\032\002 \000\330\001\001' + _globals['_EDITIONSREPEATEDITEMIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSREPEATEDITEMIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\014\222\001\t\"\007\032\002 \000\330\001\002' + _globals['_EDITIONSREPEATEDEXPANDEDITEMIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSREPEATEDEXPANDEDITEMIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\252\001\002\030\002\272H\014\222\001\t\"\007\032\002 \000\330\001\002' + _globals['_EDITIONSMAPKEYIGNOREUNSPECIFIED_VALENTRY']._loaded_options = None + _globals['_EDITIONSMAPKEYIGNOREUNSPECIFIED_VALENTRY']._serialized_options = b'8\001' + _globals['_EDITIONSMAPKEYIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSMAPKEYIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H\t\232\001\006\"\004\032\002 \000' + _globals['_EDITIONSMAPKEYIGNOREEMPTY_VALENTRY']._loaded_options = None + _globals['_EDITIONSMAPKEYIGNOREEMPTY_VALENTRY']._serialized_options = b'8\001' + _globals['_EDITIONSMAPKEYIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSMAPKEYIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H\014\232\001\t\"\007\032\002 \000\330\001\001' + _globals['_EDITIONSMAPKEYIGNOREDEFAULT_VALENTRY']._loaded_options = None + _globals['_EDITIONSMAPKEYIGNOREDEFAULT_VALENTRY']._serialized_options = b'8\001' + _globals['_EDITIONSMAPKEYIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSMAPKEYIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\014\232\001\t\"\007\032\002 \000\330\001\002' + _globals['_EDITIONSMAPVALUEIGNOREUNSPECIFIED_VALENTRY']._loaded_options = None + _globals['_EDITIONSMAPVALUEIGNOREUNSPECIFIED_VALENTRY']._serialized_options = b'8\001' + _globals['_EDITIONSMAPVALUEIGNOREUNSPECIFIED'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSMAPVALUEIGNOREUNSPECIFIED'].fields_by_name['val']._serialized_options = b'\272H\t\232\001\006*\004\032\002 \000' + _globals['_EDITIONSMAPVALUEIGNOREEMPTY_VALENTRY']._loaded_options = None + _globals['_EDITIONSMAPVALUEIGNOREEMPTY_VALENTRY']._serialized_options = b'8\001' + _globals['_EDITIONSMAPVALUEIGNOREEMPTY'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSMAPVALUEIGNOREEMPTY'].fields_by_name['val']._serialized_options = b'\272H\014\232\001\t*\007\032\002 \000\330\001\001' + _globals['_EDITIONSMAPVALUEIGNOREDEFAULT_VALENTRY']._loaded_options = None + _globals['_EDITIONSMAPVALUEIGNOREDEFAULT_VALENTRY']._serialized_options = b'8\001' + _globals['_EDITIONSMAPVALUEIGNOREDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_EDITIONSMAPVALUEIGNOREDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\014\232\001\t*\007\032\002 \000\330\001\002' + _globals['_EDITIONSSCALAREXPLICITPRESENCEIGNOREUNSPECIFIED']._serialized_start=123 + _globals['_EDITIONSSCALAREXPLICITPRESENCEIGNOREUNSPECIFIED']._serialized_end=199 + _globals['_EDITIONSSCALAREXPLICITPRESENCEIGNOREUNSPECIFIEDWITHDEFAULT']._serialized_start=201 + _globals['_EDITIONSSCALAREXPLICITPRESENCEIGNOREUNSPECIFIEDWITHDEFAULT']._serialized_end=293 + _globals['_EDITIONSSCALAREXPLICITPRESENCEIGNOREEMPTY']._serialized_start=295 + _globals['_EDITIONSSCALAREXPLICITPRESENCEIGNOREEMPTY']._serialized_end=368 + _globals['_EDITIONSSCALAREXPLICITPRESENCEIGNOREEMPTYWITHDEFAULT']._serialized_start=370 + _globals['_EDITIONSSCALAREXPLICITPRESENCEIGNOREEMPTYWITHDEFAULT']._serialized_end=459 + _globals['_EDITIONSSCALAREXPLICITPRESENCEIGNOREDEFAULT']._serialized_start=461 + _globals['_EDITIONSSCALAREXPLICITPRESENCEIGNOREDEFAULT']._serialized_end=536 + _globals['_EDITIONSSCALAREXPLICITPRESENCEIGNOREDEFAULTWITHDEFAULT']._serialized_start=538 + _globals['_EDITIONSSCALAREXPLICITPRESENCEIGNOREDEFAULTWITHDEFAULT']._serialized_end=629 + _globals['_EDITIONSSCALARIMPLICITPRESENCEIGNOREUNSPECIFIED']._serialized_start=631 + _globals['_EDITIONSSCALARIMPLICITPRESENCEIGNOREUNSPECIFIED']._serialized_end=712 + _globals['_EDITIONSSCALARIMPLICITPRESENCEIGNOREEMPTY']._serialized_start=714 + _globals['_EDITIONSSCALARIMPLICITPRESENCEIGNOREEMPTY']._serialized_end=792 + _globals['_EDITIONSSCALARIMPLICITPRESENCEIGNOREDEFAULT']._serialized_start=794 + _globals['_EDITIONSSCALARIMPLICITPRESENCEIGNOREDEFAULT']._serialized_end=874 + _globals['_EDITIONSSCALARLEGACYREQUIREDIGNOREUNSPECIFIED']._serialized_start=876 + _globals['_EDITIONSSCALARLEGACYREQUIREDIGNOREUNSPECIFIED']._serialized_end=955 + _globals['_EDITIONSSCALARLEGACYREQUIREDIGNOREUNSPECIFIEDWITHDEFAULT']._serialized_start=957 + _globals['_EDITIONSSCALARLEGACYREQUIREDIGNOREUNSPECIFIEDWITHDEFAULT']._serialized_end=1052 + _globals['_EDITIONSSCALARLEGACYREQUIREDIGNOREEMPTY']._serialized_start=1054 + _globals['_EDITIONSSCALARLEGACYREQUIREDIGNOREEMPTY']._serialized_end=1130 + _globals['_EDITIONSSCALARLEGACYREQUIREDIGNOREEMPTYWITHDEFAULT']._serialized_start=1132 + _globals['_EDITIONSSCALARLEGACYREQUIREDIGNOREEMPTYWITHDEFAULT']._serialized_end=1224 + _globals['_EDITIONSSCALARLEGACYREQUIREDIGNOREDEFAULT']._serialized_start=1226 + _globals['_EDITIONSSCALARLEGACYREQUIREDIGNOREDEFAULT']._serialized_end=1304 + _globals['_EDITIONSSCALARLEGACYREQUIREDIGNOREDEFAULTWITHDEFAULT']._serialized_start=1306 + _globals['_EDITIONSSCALARLEGACYREQUIREDIGNOREDEFAULTWITHDEFAULT']._serialized_end=1400 + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEIGNOREUNSPECIFIED']._serialized_start=1403 + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEIGNOREUNSPECIFIED']._serialized_end=1655 + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEIGNOREUNSPECIFIED_MSG']._serialized_start=1632 + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEIGNOREUNSPECIFIED_MSG']._serialized_end=1655 + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEDELIMITEDIGNOREUNSPECIFIED']._serialized_start=1658 + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEDELIMITEDIGNOREUNSPECIFIED']._serialized_end=1933 + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEDELIMITEDIGNOREUNSPECIFIED_MSG']._serialized_start=1632 + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEDELIMITEDIGNOREUNSPECIFIED_MSG']._serialized_end=1655 + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEIGNOREEMPTY']._serialized_start=1936 + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEIGNOREEMPTY']._serialized_end=2179 + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEIGNOREEMPTY_MSG']._serialized_start=1632 + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEIGNOREEMPTY_MSG']._serialized_end=1655 + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEDELIMITEDIGNOREEMPTY']._serialized_start=2182 + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEDELIMITEDIGNOREEMPTY']._serialized_end=2448 + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEDELIMITEDIGNOREEMPTY_MSG']._serialized_start=1632 + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEDELIMITEDIGNOREEMPTY_MSG']._serialized_end=1655 + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEIGNOREDEFAULT']._serialized_start=2451 + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEIGNOREDEFAULT']._serialized_end=2698 + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEIGNOREDEFAULT_MSG']._serialized_start=1632 + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEIGNOREDEFAULT_MSG']._serialized_end=1655 + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEDELIMITEDIGNOREDEFAULT']._serialized_start=2701 + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEDELIMITEDIGNOREDEFAULT']._serialized_end=2971 + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEDELIMITEDIGNOREDEFAULT_MSG']._serialized_start=1632 + _globals['_EDITIONSMESSAGEEXPLICITPRESENCEDELIMITEDIGNOREDEFAULT_MSG']._serialized_end=1655 + _globals['_EDITIONSMESSAGELEGACYREQUIREDIGNOREUNSPECIFIED']._serialized_start=2974 + _globals['_EDITIONSMESSAGELEGACYREQUIREDIGNOREUNSPECIFIED']._serialized_end=3227 + _globals['_EDITIONSMESSAGELEGACYREQUIREDIGNOREUNSPECIFIED_MSG']._serialized_start=1632 + _globals['_EDITIONSMESSAGELEGACYREQUIREDIGNOREUNSPECIFIED_MSG']._serialized_end=1655 + _globals['_EDITIONSMESSAGELEGACYREQUIREDDELIMITEDIGNOREUNSPECIFIED']._serialized_start=3230 + _globals['_EDITIONSMESSAGELEGACYREQUIREDDELIMITEDIGNOREUNSPECIFIED']._serialized_end=3503 + _globals['_EDITIONSMESSAGELEGACYREQUIREDDELIMITEDIGNOREUNSPECIFIED_MSG']._serialized_start=1632 + _globals['_EDITIONSMESSAGELEGACYREQUIREDDELIMITEDIGNOREUNSPECIFIED_MSG']._serialized_end=1655 + _globals['_EDITIONSMESSAGELEGACYREQUIREDIGNOREEMPTY']._serialized_start=3506 + _globals['_EDITIONSMESSAGELEGACYREQUIREDIGNOREEMPTY']._serialized_end=3750 + _globals['_EDITIONSMESSAGELEGACYREQUIREDIGNOREEMPTY_MSG']._serialized_start=1632 + _globals['_EDITIONSMESSAGELEGACYREQUIREDIGNOREEMPTY_MSG']._serialized_end=1655 + _globals['_EDITIONSMESSAGELEGACYREQUIREDDELIMITEDIGNOREEMPTY']._serialized_start=3753 + _globals['_EDITIONSMESSAGELEGACYREQUIREDDELIMITEDIGNOREEMPTY']._serialized_end=4017 + _globals['_EDITIONSMESSAGELEGACYREQUIREDDELIMITEDIGNOREEMPTY_MSG']._serialized_start=1632 + _globals['_EDITIONSMESSAGELEGACYREQUIREDDELIMITEDIGNOREEMPTY_MSG']._serialized_end=1655 + _globals['_EDITIONSMESSAGELEGACYREQUIREDIGNOREDEFAULT']._serialized_start=4020 + _globals['_EDITIONSMESSAGELEGACYREQUIREDIGNOREDEFAULT']._serialized_end=4268 + _globals['_EDITIONSMESSAGELEGACYREQUIREDIGNOREDEFAULT_MSG']._serialized_start=1632 + _globals['_EDITIONSMESSAGELEGACYREQUIREDIGNOREDEFAULT_MSG']._serialized_end=1655 + _globals['_EDITIONSMESSAGELEGACYREQUIREDDELIMITEDIGNOREDEFAULT']._serialized_start=4271 + _globals['_EDITIONSMESSAGELEGACYREQUIREDDELIMITEDIGNOREDEFAULT']._serialized_end=4539 + _globals['_EDITIONSMESSAGELEGACYREQUIREDDELIMITEDIGNOREDEFAULT_MSG']._serialized_start=1632 + _globals['_EDITIONSMESSAGELEGACYREQUIREDDELIMITEDIGNOREDEFAULT_MSG']._serialized_end=1655 + _globals['_EDITIONSONEOFIGNOREUNSPECIFIED']._serialized_start=4541 + _globals['_EDITIONSONEOFIGNOREUNSPECIFIED']._serialized_end=4607 + _globals['_EDITIONSONEOFIGNOREUNSPECIFIEDWITHDEFAULT']._serialized_start=4609 + _globals['_EDITIONSONEOFIGNOREUNSPECIFIEDWITHDEFAULT']._serialized_end=4691 + _globals['_EDITIONSONEOFIGNOREEMPTY']._serialized_start=4693 + _globals['_EDITIONSONEOFIGNOREEMPTY']._serialized_end=4756 + _globals['_EDITIONSONEOFIGNOREEMPTYWITHDEFAULT']._serialized_start=4758 + _globals['_EDITIONSONEOFIGNOREEMPTYWITHDEFAULT']._serialized_end=4837 + _globals['_EDITIONSONEOFIGNOREDEFAULT']._serialized_start=4839 + _globals['_EDITIONSONEOFIGNOREDEFAULT']._serialized_end=4904 + _globals['_EDITIONSONEOFIGNOREDEFAULTWITHDEFAULT']._serialized_start=4906 + _globals['_EDITIONSONEOFIGNOREDEFAULTWITHDEFAULT']._serialized_end=4987 + _globals['_EDITIONSREPEATEDIGNOREUNSPECIFIED']._serialized_start=4989 + _globals['_EDITIONSREPEATEDIGNOREUNSPECIFIED']._serialized_end=5052 + _globals['_EDITIONSREPEATEDEXPANDEDIGNOREUNSPECIFIED']._serialized_start=5054 + _globals['_EDITIONSREPEATEDEXPANDEDIGNOREUNSPECIFIED']._serialized_end=5130 + _globals['_EDITIONSREPEATEDIGNOREEMPTY']._serialized_start=5132 + _globals['_EDITIONSREPEATEDIGNOREEMPTY']._serialized_end=5192 + _globals['_EDITIONSREPEATEDEXPANDEDIGNOREEMPTY']._serialized_start=5194 + _globals['_EDITIONSREPEATEDEXPANDEDIGNOREEMPTY']._serialized_end=5267 + _globals['_EDITIONSREPEATEDIGNOREDEFAULT']._serialized_start=5269 + _globals['_EDITIONSREPEATEDIGNOREDEFAULT']._serialized_end=5331 + _globals['_EDITIONSREPEATEDEXPANDEDIGNOREDEFAULT']._serialized_start=5333 + _globals['_EDITIONSREPEATEDEXPANDEDIGNOREDEFAULT']._serialized_end=5408 + _globals['_EDITIONSMAPIGNOREUNSPECIFIED']._serialized_start=5411 + _globals['_EDITIONSMAPIGNOREUNSPECIFIED']._serialized_end=5596 + _globals['_EDITIONSMAPIGNOREUNSPECIFIED_VALENTRY']._serialized_start=5542 + _globals['_EDITIONSMAPIGNOREUNSPECIFIED_VALENTRY']._serialized_end=5596 + _globals['_EDITIONSMAPIGNOREEMPTY']._serialized_start=5599 + _globals['_EDITIONSMAPIGNOREEMPTY']._serialized_end=5775 + _globals['_EDITIONSMAPIGNOREEMPTY_VALENTRY']._serialized_start=5542 + _globals['_EDITIONSMAPIGNOREEMPTY_VALENTRY']._serialized_end=5596 + _globals['_EDITIONSMAPIGNOREDEFAULT']._serialized_start=5778 + _globals['_EDITIONSMAPIGNOREDEFAULT']._serialized_end=5958 + _globals['_EDITIONSMAPIGNOREDEFAULT_VALENTRY']._serialized_start=5542 + _globals['_EDITIONSMAPIGNOREDEFAULT_VALENTRY']._serialized_end=5596 + _globals['_EDITIONSREPEATEDITEMIGNOREUNSPECIFIED']._serialized_start=5960 + _globals['_EDITIONSREPEATEDITEMIGNOREUNSPECIFIED']._serialized_end=6031 + _globals['_EDITIONSREPEATEDEXPANDEDITEMIGNOREUNSPECIFIED']._serialized_start=6033 + _globals['_EDITIONSREPEATEDEXPANDEDITEMIGNOREUNSPECIFIED']._serialized_end=6117 + _globals['_EDITIONSREPEATEDITEMIGNOREEMPTY']._serialized_start=6119 + _globals['_EDITIONSREPEATEDITEMIGNOREEMPTY']._serialized_end=6187 + _globals['_EDITIONSREPEATEDEXPANDEDITEMIGNOREEMPTY']._serialized_start=6189 + _globals['_EDITIONSREPEATEDEXPANDEDITEMIGNOREEMPTY']._serialized_end=6270 + _globals['_EDITIONSREPEATEDITEMIGNOREDEFAULT']._serialized_start=6272 + _globals['_EDITIONSREPEATEDITEMIGNOREDEFAULT']._serialized_end=6342 + _globals['_EDITIONSREPEATEDEXPANDEDITEMIGNOREDEFAULT']._serialized_start=6344 + _globals['_EDITIONSREPEATEDEXPANDEDITEMIGNOREDEFAULT']._serialized_end=6427 + _globals['_EDITIONSMAPKEYIGNOREUNSPECIFIED']._serialized_start=6430 + _globals['_EDITIONSMAPKEYIGNOREUNSPECIFIED']._serialized_end=6625 + _globals['_EDITIONSMAPKEYIGNOREUNSPECIFIED_VALENTRY']._serialized_start=5542 + _globals['_EDITIONSMAPKEYIGNOREUNSPECIFIED_VALENTRY']._serialized_end=5596 + _globals['_EDITIONSMAPKEYIGNOREEMPTY']._serialized_start=6628 + _globals['_EDITIONSMAPKEYIGNOREEMPTY']._serialized_end=6814 + _globals['_EDITIONSMAPKEYIGNOREEMPTY_VALENTRY']._serialized_start=5542 + _globals['_EDITIONSMAPKEYIGNOREEMPTY_VALENTRY']._serialized_end=5596 + _globals['_EDITIONSMAPKEYIGNOREDEFAULT']._serialized_start=6817 + _globals['_EDITIONSMAPKEYIGNOREDEFAULT']._serialized_end=7007 + _globals['_EDITIONSMAPKEYIGNOREDEFAULT_VALENTRY']._serialized_start=5542 + _globals['_EDITIONSMAPKEYIGNOREDEFAULT_VALENTRY']._serialized_end=5596 + _globals['_EDITIONSMAPVALUEIGNOREUNSPECIFIED']._serialized_start=7010 + _globals['_EDITIONSMAPVALUEIGNOREUNSPECIFIED']._serialized_end=7209 + _globals['_EDITIONSMAPVALUEIGNOREUNSPECIFIED_VALENTRY']._serialized_start=5542 + _globals['_EDITIONSMAPVALUEIGNOREUNSPECIFIED_VALENTRY']._serialized_end=5596 + _globals['_EDITIONSMAPVALUEIGNOREEMPTY']._serialized_start=7212 + _globals['_EDITIONSMAPVALUEIGNOREEMPTY']._serialized_end=7402 + _globals['_EDITIONSMAPVALUEIGNOREEMPTY_VALENTRY']._serialized_start=5542 + _globals['_EDITIONSMAPVALUEIGNOREEMPTY_VALENTRY']._serialized_end=5596 + _globals['_EDITIONSMAPVALUEIGNOREDEFAULT']._serialized_start=7405 + _globals['_EDITIONSMAPVALUEIGNOREDEFAULT']._serialized_end=7599 + _globals['_EDITIONSMAPVALUEIGNOREDEFAULT_VALENTRY']._serialized_start=5542 + _globals['_EDITIONSMAPVALUEIGNOREDEFAULT_VALENTRY']._serialized_end=5596 +# @@protoc_insertion_point(module_scope) diff --git a/gen/buf/validate/conformance/cases/ignore_proto_editions_pb2.pyi b/gen/buf/validate/conformance/cases/ignore_proto_editions_pb2.pyi new file mode 100644 index 0000000..4287619 --- /dev/null +++ b/gen/buf/validate/conformance/cases/ignore_proto_editions_pb2.pyi @@ -0,0 +1,468 @@ +# Copyright 2023 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. + +from buf.validate import validate_pb2 as _validate_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class EditionsScalarExplicitPresenceIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class EditionsScalarExplicitPresenceIgnoreUnspecifiedWithDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class EditionsScalarExplicitPresenceIgnoreEmpty(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class EditionsScalarExplicitPresenceIgnoreEmptyWithDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class EditionsScalarExplicitPresenceIgnoreDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class EditionsScalarExplicitPresenceIgnoreDefaultWithDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class EditionsScalarImplicitPresenceIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class EditionsScalarImplicitPresenceIgnoreEmpty(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class EditionsScalarImplicitPresenceIgnoreDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class EditionsScalarLegacyRequiredIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class EditionsScalarLegacyRequiredIgnoreUnspecifiedWithDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class EditionsScalarLegacyRequiredIgnoreEmpty(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class EditionsScalarLegacyRequiredIgnoreEmptyWithDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class EditionsScalarLegacyRequiredIgnoreDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class EditionsScalarLegacyRequiredIgnoreDefaultWithDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class EditionsMessageExplicitPresenceIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: EditionsMessageExplicitPresenceIgnoreUnspecified.Msg + def __init__(self, val: _Optional[_Union[EditionsMessageExplicitPresenceIgnoreUnspecified.Msg, _Mapping]] = ...) -> None: ... + +class EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified.Msg + def __init__(self, val: _Optional[_Union[EditionsMessageExplicitPresenceDelimitedIgnoreUnspecified.Msg, _Mapping]] = ...) -> None: ... + +class EditionsMessageExplicitPresenceIgnoreEmpty(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: EditionsMessageExplicitPresenceIgnoreEmpty.Msg + def __init__(self, val: _Optional[_Union[EditionsMessageExplicitPresenceIgnoreEmpty.Msg, _Mapping]] = ...) -> None: ... + +class EditionsMessageExplicitPresenceDelimitedIgnoreEmpty(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: EditionsMessageExplicitPresenceDelimitedIgnoreEmpty.Msg + def __init__(self, val: _Optional[_Union[EditionsMessageExplicitPresenceDelimitedIgnoreEmpty.Msg, _Mapping]] = ...) -> None: ... + +class EditionsMessageExplicitPresenceIgnoreDefault(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: EditionsMessageExplicitPresenceIgnoreDefault.Msg + def __init__(self, val: _Optional[_Union[EditionsMessageExplicitPresenceIgnoreDefault.Msg, _Mapping]] = ...) -> None: ... + +class EditionsMessageExplicitPresenceDelimitedIgnoreDefault(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: EditionsMessageExplicitPresenceDelimitedIgnoreDefault.Msg + def __init__(self, val: _Optional[_Union[EditionsMessageExplicitPresenceDelimitedIgnoreDefault.Msg, _Mapping]] = ...) -> None: ... + +class EditionsMessageLegacyRequiredIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: EditionsMessageLegacyRequiredIgnoreUnspecified.Msg + def __init__(self, val: _Optional[_Union[EditionsMessageLegacyRequiredIgnoreUnspecified.Msg, _Mapping]] = ...) -> None: ... + +class EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified.Msg + def __init__(self, val: _Optional[_Union[EditionsMessageLegacyRequiredDelimitedIgnoreUnspecified.Msg, _Mapping]] = ...) -> None: ... + +class EditionsMessageLegacyRequiredIgnoreEmpty(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: EditionsMessageLegacyRequiredIgnoreEmpty.Msg + def __init__(self, val: _Optional[_Union[EditionsMessageLegacyRequiredIgnoreEmpty.Msg, _Mapping]] = ...) -> None: ... + +class EditionsMessageLegacyRequiredDelimitedIgnoreEmpty(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: EditionsMessageLegacyRequiredDelimitedIgnoreEmpty.Msg + def __init__(self, val: _Optional[_Union[EditionsMessageLegacyRequiredDelimitedIgnoreEmpty.Msg, _Mapping]] = ...) -> None: ... + +class EditionsMessageLegacyRequiredIgnoreDefault(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: EditionsMessageLegacyRequiredIgnoreDefault.Msg + def __init__(self, val: _Optional[_Union[EditionsMessageLegacyRequiredIgnoreDefault.Msg, _Mapping]] = ...) -> None: ... + +class EditionsMessageLegacyRequiredDelimitedIgnoreDefault(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: EditionsMessageLegacyRequiredDelimitedIgnoreDefault.Msg + def __init__(self, val: _Optional[_Union[EditionsMessageLegacyRequiredDelimitedIgnoreDefault.Msg, _Mapping]] = ...) -> None: ... + +class EditionsOneofIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class EditionsOneofIgnoreUnspecifiedWithDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class EditionsOneofIgnoreEmpty(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class EditionsOneofIgnoreEmptyWithDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class EditionsOneofIgnoreDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class EditionsOneofIgnoreDefaultWithDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: int + def __init__(self, val: _Optional[int] = ...) -> None: ... + +class EditionsRepeatedIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... + +class EditionsRepeatedExpandedIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... + +class EditionsRepeatedIgnoreEmpty(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... + +class EditionsRepeatedExpandedIgnoreEmpty(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... + +class EditionsRepeatedIgnoreDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... + +class EditionsRepeatedExpandedIgnoreDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... + +class EditionsMapIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... + +class EditionsMapIgnoreEmpty(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... + +class EditionsMapIgnoreDefault(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... + +class EditionsRepeatedItemIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... + +class EditionsRepeatedExpandedItemIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... + +class EditionsRepeatedItemIgnoreEmpty(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... + +class EditionsRepeatedExpandedItemIgnoreEmpty(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... + +class EditionsRepeatedItemIgnoreDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... + +class EditionsRepeatedExpandedItemIgnoreDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... + +class EditionsMapKeyIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... + +class EditionsMapKeyIgnoreEmpty(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... + +class EditionsMapKeyIgnoreDefault(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... + +class EditionsMapValueIgnoreUnspecified(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... + +class EditionsMapValueIgnoreEmpty(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... + +class EditionsMapValueIgnoreDefault(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: int + def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[int, int] + def __init__(self, val: _Optional[_Mapping[int, int]] = ...) -> None: ... diff --git a/gen/buf/validate/conformance/cases/kitchen_sink_pb2.py b/gen/buf/validate/conformance/cases/kitchen_sink_pb2.py index c51b2b7..35f0f48 100644 --- a/gen/buf/validate/conformance/cases/kitchen_sink_pb2.py +++ b/gen/buf/validate/conformance/cases/kitchen_sink_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/conformance/cases/kitchen_sink.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/kitchen_sink.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -37,39 +48,38 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.kitchen_sink_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _COMPLEXTESTMSG_MAPVALENTRY._options = None - _COMPLEXTESTMSG_MAPVALENTRY._serialized_options = b'8\001' - _COMPLEXTESTMSG.oneofs_by_name['o']._options = None - _COMPLEXTESTMSG.oneofs_by_name['o']._serialized_options = b'\272H\002\010\001' - _COMPLEXTESTMSG.fields_by_name['const']._options = None - _COMPLEXTESTMSG.fields_by_name['const']._serialized_options = b'\272H\010r\006\n\004abcd' - _COMPLEXTESTMSG.fields_by_name['int_const']._options = None - _COMPLEXTESTMSG.fields_by_name['int_const']._serialized_options = b'\272H\004\032\002\010\005' - _COMPLEXTESTMSG.fields_by_name['bool_const']._options = None - _COMPLEXTESTMSG.fields_by_name['bool_const']._serialized_options = b'\272H\004j\002\010\000' - _COMPLEXTESTMSG.fields_by_name['float_val']._options = None - _COMPLEXTESTMSG.fields_by_name['float_val']._serialized_options = b'\272H\007\n\005%\000\000\000\000' - _COMPLEXTESTMSG.fields_by_name['dur_val']._options = None - _COMPLEXTESTMSG.fields_by_name['dur_val']._serialized_options = b'\272H\n\252\001\004\032\002\010\021\310\001\001' - _COMPLEXTESTMSG.fields_by_name['ts_val']._options = None - _COMPLEXTESTMSG.fields_by_name['ts_val']._serialized_options = b'\272H\007\262\001\004*\002\010\007' - _COMPLEXTESTMSG.fields_by_name['float_const']._options = None - _COMPLEXTESTMSG.fields_by_name['float_const']._serialized_options = b'\272H\007\n\005\025\000\000\000A' - _COMPLEXTESTMSG.fields_by_name['double_in']._options = None - _COMPLEXTESTMSG.fields_by_name['double_in']._serialized_options = b'\272H\024\022\0222\020\264\310v\276\237\214|@\000\000\000\000\000\300^@' - _COMPLEXTESTMSG.fields_by_name['enum_const']._options = None - _COMPLEXTESTMSG.fields_by_name['enum_const']._serialized_options = b'\272H\005\202\001\002\010\002' - _COMPLEXTESTMSG.fields_by_name['any_val']._options = None - _COMPLEXTESTMSG.fields_by_name['any_val']._serialized_options = b'\272H1\242\001.\022,type.googleapis.com/google.protobuf.Duration' - _COMPLEXTESTMSG.fields_by_name['rep_ts_val']._options = None - _COMPLEXTESTMSG.fields_by_name['rep_ts_val']._serialized_options = b'\272H\016\222\001\013\"\t\262\001\0062\004\020\300\204=' - _COMPLEXTESTMSG.fields_by_name['map_val']._options = None - _COMPLEXTESTMSG.fields_by_name['map_val']._serialized_options = b'\272H\t\232\001\006\"\004:\002\020\000' - _COMPLEXTESTMSG.fields_by_name['bytes_val']._options = None - _COMPLEXTESTMSG.fields_by_name['bytes_val']._serialized_options = b'\272H\006z\004\n\002\000\231' +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_COMPLEXTESTMSG_MAPVALENTRY']._loaded_options = None + _globals['_COMPLEXTESTMSG_MAPVALENTRY']._serialized_options = b'8\001' + _globals['_COMPLEXTESTMSG'].oneofs_by_name['o']._loaded_options = None + _globals['_COMPLEXTESTMSG'].oneofs_by_name['o']._serialized_options = b'\272H\002\010\001' + _globals['_COMPLEXTESTMSG'].fields_by_name['const']._loaded_options = None + _globals['_COMPLEXTESTMSG'].fields_by_name['const']._serialized_options = b'\272H\010r\006\n\004abcd' + _globals['_COMPLEXTESTMSG'].fields_by_name['int_const']._loaded_options = None + _globals['_COMPLEXTESTMSG'].fields_by_name['int_const']._serialized_options = b'\272H\004\032\002\010\005' + _globals['_COMPLEXTESTMSG'].fields_by_name['bool_const']._loaded_options = None + _globals['_COMPLEXTESTMSG'].fields_by_name['bool_const']._serialized_options = b'\272H\004j\002\010\000' + _globals['_COMPLEXTESTMSG'].fields_by_name['float_val']._loaded_options = None + _globals['_COMPLEXTESTMSG'].fields_by_name['float_val']._serialized_options = b'\272H\007\n\005%\000\000\000\000' + _globals['_COMPLEXTESTMSG'].fields_by_name['dur_val']._loaded_options = None + _globals['_COMPLEXTESTMSG'].fields_by_name['dur_val']._serialized_options = b'\272H\n\252\001\004\032\002\010\021\310\001\001' + _globals['_COMPLEXTESTMSG'].fields_by_name['ts_val']._loaded_options = None + _globals['_COMPLEXTESTMSG'].fields_by_name['ts_val']._serialized_options = b'\272H\007\262\001\004*\002\010\007' + _globals['_COMPLEXTESTMSG'].fields_by_name['float_const']._loaded_options = None + _globals['_COMPLEXTESTMSG'].fields_by_name['float_const']._serialized_options = b'\272H\007\n\005\025\000\000\000A' + _globals['_COMPLEXTESTMSG'].fields_by_name['double_in']._loaded_options = None + _globals['_COMPLEXTESTMSG'].fields_by_name['double_in']._serialized_options = b'\272H\024\022\0222\020\264\310v\276\237\214|@\000\000\000\000\000\300^@' + _globals['_COMPLEXTESTMSG'].fields_by_name['enum_const']._loaded_options = None + _globals['_COMPLEXTESTMSG'].fields_by_name['enum_const']._serialized_options = b'\272H\005\202\001\002\010\002' + _globals['_COMPLEXTESTMSG'].fields_by_name['any_val']._loaded_options = None + _globals['_COMPLEXTESTMSG'].fields_by_name['any_val']._serialized_options = b'\272H1\242\001.\022,type.googleapis.com/google.protobuf.Duration' + _globals['_COMPLEXTESTMSG'].fields_by_name['rep_ts_val']._loaded_options = None + _globals['_COMPLEXTESTMSG'].fields_by_name['rep_ts_val']._serialized_options = b'\272H\016\222\001\013\"\t\262\001\0062\004\020\300\204=' + _globals['_COMPLEXTESTMSG'].fields_by_name['map_val']._loaded_options = None + _globals['_COMPLEXTESTMSG'].fields_by_name['map_val']._serialized_options = b'\272H\t\232\001\006\"\004:\002\020\000' + _globals['_COMPLEXTESTMSG'].fields_by_name['bytes_val']._loaded_options = None + _globals['_COMPLEXTESTMSG'].fields_by_name['bytes_val']._serialized_options = b'\272H\006z\004\n\002\000\231' _globals['_COMPLEXTESTENUM']._serialized_start=1413 _globals['_COMPLEXTESTENUM']._serialized_end=1519 _globals['_COMPLEXTESTMSG']._serialized_start=239 diff --git a/gen/buf/validate/conformance/cases/kitchen_sink_pb2.pyi b/gen/buf/validate/conformance/cases/kitchen_sink_pb2.pyi index 61e110e..c88ba4f 100644 --- a/gen/buf/validate/conformance/cases/kitchen_sink_pb2.pyi +++ b/gen/buf/validate/conformance/cases/kitchen_sink_pb2.pyi @@ -26,7 +26,7 @@ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Map DESCRIPTOR: _descriptor.FileDescriptor class ComplexTestEnum(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] + __slots__ = () COMPLEX_TEST_ENUM_UNSPECIFIED: _ClassVar[ComplexTestEnum] COMPLEX_TEST_ENUM_ONE: _ClassVar[ComplexTestEnum] COMPLEX_TEST_ENUM_TWO: _ClassVar[ComplexTestEnum] @@ -35,9 +35,9 @@ COMPLEX_TEST_ENUM_ONE: ComplexTestEnum COMPLEX_TEST_ENUM_TWO: ComplexTestEnum class ComplexTestMsg(_message.Message): - __slots__ = ["const", "nested", "int_const", "bool_const", "float_val", "dur_val", "ts_val", "another", "float_const", "double_in", "enum_const", "any_val", "rep_ts_val", "map_val", "bytes_val", "x", "y"] + __slots__ = ("const", "nested", "int_const", "bool_const", "float_val", "dur_val", "ts_val", "another", "float_const", "double_in", "enum_const", "any_val", "rep_ts_val", "map_val", "bytes_val", "x", "y") class MapValEntry(_message.Message): - __slots__ = ["key", "value"] + __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] VALUE_FIELD_NUMBER: _ClassVar[int] key: int @@ -80,7 +80,7 @@ class ComplexTestMsg(_message.Message): def __init__(self, const: _Optional[str] = ..., nested: _Optional[_Union[ComplexTestMsg, _Mapping]] = ..., int_const: _Optional[int] = ..., bool_const: bool = ..., float_val: _Optional[_Union[_wrappers_pb2.FloatValue, _Mapping]] = ..., dur_val: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., ts_val: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., another: _Optional[_Union[ComplexTestMsg, _Mapping]] = ..., float_const: _Optional[float] = ..., double_in: _Optional[float] = ..., enum_const: _Optional[_Union[ComplexTestEnum, str]] = ..., any_val: _Optional[_Union[_any_pb2.Any, _Mapping]] = ..., rep_ts_val: _Optional[_Iterable[_Union[_timestamp_pb2.Timestamp, _Mapping]]] = ..., map_val: _Optional[_Mapping[int, str]] = ..., bytes_val: _Optional[bytes] = ..., x: _Optional[str] = ..., y: _Optional[int] = ...) -> None: ... class KitchenSinkMessage(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: ComplexTestMsg def __init__(self, val: _Optional[_Union[ComplexTestMsg, _Mapping]] = ...) -> None: ... diff --git a/gen/buf/validate/conformance/cases/maps_pb2.py b/gen/buf/validate/conformance/cases/maps_pb2.py index 004b753..2063398 100644 --- a/gen/buf/validate/conformance/cases/maps_pb2.py +++ b/gen/buf/validate/conformance/cases/maps_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/conformance/cases/maps.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/maps.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -33,63 +44,62 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.maps_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _MAPNONE_VALENTRY._options = None - _MAPNONE_VALENTRY._serialized_options = b'8\001' - _MAPMIN_VALENTRY._options = None - _MAPMIN_VALENTRY._serialized_options = b'8\001' - _MAPMIN.fields_by_name['val']._options = None - _MAPMIN.fields_by_name['val']._serialized_options = b'\272H\005\232\001\002\010\002' - _MAPMAX_VALENTRY._options = None - _MAPMAX_VALENTRY._serialized_options = b'8\001' - _MAPMAX.fields_by_name['val']._options = None - _MAPMAX.fields_by_name['val']._serialized_options = b'\272H\005\232\001\002\020\003' - _MAPMINMAX_VALENTRY._options = None - _MAPMINMAX_VALENTRY._serialized_options = b'8\001' - _MAPMINMAX.fields_by_name['val']._options = None - _MAPMINMAX.fields_by_name['val']._serialized_options = b'\272H\007\232\001\004\010\002\020\004' - _MAPEXACT_VALENTRY._options = None - _MAPEXACT_VALENTRY._serialized_options = b'8\001' - _MAPEXACT.fields_by_name['val']._options = None - _MAPEXACT.fields_by_name['val']._serialized_options = b'\272H\007\232\001\004\010\003\020\003' - _MAPKEYS_VALENTRY._options = None - _MAPKEYS_VALENTRY._serialized_options = b'8\001' - _MAPKEYS.fields_by_name['val']._options = None - _MAPKEYS.fields_by_name['val']._serialized_options = b'\272H\t\232\001\006\"\004B\002\020\000' - _MAPVALUES_VALENTRY._options = None - _MAPVALUES_VALENTRY._serialized_options = b'8\001' - _MAPVALUES.fields_by_name['val']._options = None - _MAPVALUES.fields_by_name['val']._serialized_options = b'\272H\t\232\001\006*\004r\002\020\003' - _MAPKEYSPATTERN_VALENTRY._options = None - _MAPKEYSPATTERN_VALENTRY._serialized_options = b'8\001' - _MAPKEYSPATTERN.fields_by_name['val']._options = None - _MAPKEYSPATTERN.fields_by_name['val']._serialized_options = b'\272H\030\232\001\025\"\023r\0212\017(?i)^[a-z0-9]+$' - _MAPVALUESPATTERN_VALENTRY._options = None - _MAPVALUESPATTERN_VALENTRY._serialized_options = b'8\001' - _MAPVALUESPATTERN.fields_by_name['val']._options = None - _MAPVALUESPATTERN.fields_by_name['val']._serialized_options = b'\272H\030\232\001\025*\023r\0212\017(?i)^[a-z0-9]+$' - _MAPRECURSIVE_VALENTRY._options = None - _MAPRECURSIVE_VALENTRY._serialized_options = b'8\001' - _MAPRECURSIVE_MSG.fields_by_name['val']._options = None - _MAPRECURSIVE_MSG.fields_by_name['val']._serialized_options = b'\272H\004r\002\020\003' - _MAPEXACTIGNORE_VALENTRY._options = None - _MAPEXACTIGNORE_VALENTRY._serialized_options = b'8\001' - _MAPEXACTIGNORE.fields_by_name['val']._options = None - _MAPEXACTIGNORE.fields_by_name['val']._serialized_options = b'\272H\n\232\001\004\010\003\020\003\320\001\001' - _MULTIPLEMAPS_FIRSTENTRY._options = None - _MULTIPLEMAPS_FIRSTENTRY._serialized_options = b'8\001' - _MULTIPLEMAPS_SECONDENTRY._options = None - _MULTIPLEMAPS_SECONDENTRY._serialized_options = b'8\001' - _MULTIPLEMAPS_THIRDENTRY._options = None - _MULTIPLEMAPS_THIRDENTRY._serialized_options = b'8\001' - _MULTIPLEMAPS.fields_by_name['first']._options = None - _MULTIPLEMAPS.fields_by_name['first']._serialized_options = b'\272H\t\232\001\006\"\004*\002 \000' - _MULTIPLEMAPS.fields_by_name['second']._options = None - _MULTIPLEMAPS.fields_by_name['second']._serialized_options = b'\272H\t\232\001\006\"\004\032\002\020\000' - _MULTIPLEMAPS.fields_by_name['third']._options = None - _MULTIPLEMAPS.fields_by_name['third']._serialized_options = b'\272H\t\232\001\006\"\004\032\002 \000' +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_MAPNONE_VALENTRY']._loaded_options = None + _globals['_MAPNONE_VALENTRY']._serialized_options = b'8\001' + _globals['_MAPMIN_VALENTRY']._loaded_options = None + _globals['_MAPMIN_VALENTRY']._serialized_options = b'8\001' + _globals['_MAPMIN'].fields_by_name['val']._loaded_options = None + _globals['_MAPMIN'].fields_by_name['val']._serialized_options = b'\272H\005\232\001\002\010\002' + _globals['_MAPMAX_VALENTRY']._loaded_options = None + _globals['_MAPMAX_VALENTRY']._serialized_options = b'8\001' + _globals['_MAPMAX'].fields_by_name['val']._loaded_options = None + _globals['_MAPMAX'].fields_by_name['val']._serialized_options = b'\272H\005\232\001\002\020\003' + _globals['_MAPMINMAX_VALENTRY']._loaded_options = None + _globals['_MAPMINMAX_VALENTRY']._serialized_options = b'8\001' + _globals['_MAPMINMAX'].fields_by_name['val']._loaded_options = None + _globals['_MAPMINMAX'].fields_by_name['val']._serialized_options = b'\272H\007\232\001\004\010\002\020\004' + _globals['_MAPEXACT_VALENTRY']._loaded_options = None + _globals['_MAPEXACT_VALENTRY']._serialized_options = b'8\001' + _globals['_MAPEXACT'].fields_by_name['val']._loaded_options = None + _globals['_MAPEXACT'].fields_by_name['val']._serialized_options = b'\272H\007\232\001\004\010\003\020\003' + _globals['_MAPKEYS_VALENTRY']._loaded_options = None + _globals['_MAPKEYS_VALENTRY']._serialized_options = b'8\001' + _globals['_MAPKEYS'].fields_by_name['val']._loaded_options = None + _globals['_MAPKEYS'].fields_by_name['val']._serialized_options = b'\272H\t\232\001\006\"\004B\002\020\000' + _globals['_MAPVALUES_VALENTRY']._loaded_options = None + _globals['_MAPVALUES_VALENTRY']._serialized_options = b'8\001' + _globals['_MAPVALUES'].fields_by_name['val']._loaded_options = None + _globals['_MAPVALUES'].fields_by_name['val']._serialized_options = b'\272H\t\232\001\006*\004r\002\020\003' + _globals['_MAPKEYSPATTERN_VALENTRY']._loaded_options = None + _globals['_MAPKEYSPATTERN_VALENTRY']._serialized_options = b'8\001' + _globals['_MAPKEYSPATTERN'].fields_by_name['val']._loaded_options = None + _globals['_MAPKEYSPATTERN'].fields_by_name['val']._serialized_options = b'\272H\030\232\001\025\"\023r\0212\017(?i)^[a-z0-9]+$' + _globals['_MAPVALUESPATTERN_VALENTRY']._loaded_options = None + _globals['_MAPVALUESPATTERN_VALENTRY']._serialized_options = b'8\001' + _globals['_MAPVALUESPATTERN'].fields_by_name['val']._loaded_options = None + _globals['_MAPVALUESPATTERN'].fields_by_name['val']._serialized_options = b'\272H\030\232\001\025*\023r\0212\017(?i)^[a-z0-9]+$' + _globals['_MAPRECURSIVE_VALENTRY']._loaded_options = None + _globals['_MAPRECURSIVE_VALENTRY']._serialized_options = b'8\001' + _globals['_MAPRECURSIVE_MSG'].fields_by_name['val']._loaded_options = None + _globals['_MAPRECURSIVE_MSG'].fields_by_name['val']._serialized_options = b'\272H\004r\002\020\003' + _globals['_MAPEXACTIGNORE_VALENTRY']._loaded_options = None + _globals['_MAPEXACTIGNORE_VALENTRY']._serialized_options = b'8\001' + _globals['_MAPEXACTIGNORE'].fields_by_name['val']._loaded_options = None + _globals['_MAPEXACTIGNORE'].fields_by_name['val']._serialized_options = b'\272H\n\232\001\004\010\003\020\003\320\001\001' + _globals['_MULTIPLEMAPS_FIRSTENTRY']._loaded_options = None + _globals['_MULTIPLEMAPS_FIRSTENTRY']._serialized_options = b'8\001' + _globals['_MULTIPLEMAPS_SECONDENTRY']._loaded_options = None + _globals['_MULTIPLEMAPS_SECONDENTRY']._serialized_options = b'8\001' + _globals['_MULTIPLEMAPS_THIRDENTRY']._loaded_options = None + _globals['_MULTIPLEMAPS_THIRDENTRY']._serialized_options = b'8\001' + _globals['_MULTIPLEMAPS'].fields_by_name['first']._loaded_options = None + _globals['_MULTIPLEMAPS'].fields_by_name['first']._serialized_options = b'\272H\t\232\001\006\"\004*\002 \000' + _globals['_MULTIPLEMAPS'].fields_by_name['second']._loaded_options = None + _globals['_MULTIPLEMAPS'].fields_by_name['second']._serialized_options = b'\272H\t\232\001\006\"\004\032\002\020\000' + _globals['_MULTIPLEMAPS'].fields_by_name['third']._loaded_options = None + _globals['_MULTIPLEMAPS'].fields_by_name['third']._serialized_options = b'\272H\t\232\001\006\"\004\032\002 \000' _globals['_MAPNONE']._serialized_start=107 _globals['_MAPNONE']._serialized_end=240 _globals['_MAPNONE_VALENTRY']._serialized_start=186 diff --git a/gen/buf/validate/conformance/cases/maps_pb2.pyi b/gen/buf/validate/conformance/cases/maps_pb2.pyi index 894265e..a3435f7 100644 --- a/gen/buf/validate/conformance/cases/maps_pb2.pyi +++ b/gen/buf/validate/conformance/cases/maps_pb2.pyi @@ -21,9 +21,9 @@ from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Opti DESCRIPTOR: _descriptor.FileDescriptor class MapNone(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class ValEntry(_message.Message): - __slots__ = ["key", "value"] + __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] VALUE_FIELD_NUMBER: _ClassVar[int] key: int @@ -34,9 +34,9 @@ class MapNone(_message.Message): def __init__(self, val: _Optional[_Mapping[int, bool]] = ...) -> None: ... class MapMin(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class ValEntry(_message.Message): - __slots__ = ["key", "value"] + __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] VALUE_FIELD_NUMBER: _ClassVar[int] key: int @@ -47,9 +47,9 @@ class MapMin(_message.Message): def __init__(self, val: _Optional[_Mapping[int, float]] = ...) -> None: ... class MapMax(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class ValEntry(_message.Message): - __slots__ = ["key", "value"] + __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] VALUE_FIELD_NUMBER: _ClassVar[int] key: int @@ -60,9 +60,9 @@ class MapMax(_message.Message): def __init__(self, val: _Optional[_Mapping[int, float]] = ...) -> None: ... class MapMinMax(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class ValEntry(_message.Message): - __slots__ = ["key", "value"] + __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] VALUE_FIELD_NUMBER: _ClassVar[int] key: str @@ -73,9 +73,9 @@ class MapMinMax(_message.Message): def __init__(self, val: _Optional[_Mapping[str, bool]] = ...) -> None: ... class MapExact(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class ValEntry(_message.Message): - __slots__ = ["key", "value"] + __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] VALUE_FIELD_NUMBER: _ClassVar[int] key: int @@ -86,9 +86,9 @@ class MapExact(_message.Message): def __init__(self, val: _Optional[_Mapping[int, str]] = ...) -> None: ... class MapKeys(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class ValEntry(_message.Message): - __slots__ = ["key", "value"] + __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] VALUE_FIELD_NUMBER: _ClassVar[int] key: int @@ -99,9 +99,9 @@ class MapKeys(_message.Message): def __init__(self, val: _Optional[_Mapping[int, str]] = ...) -> None: ... class MapValues(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class ValEntry(_message.Message): - __slots__ = ["key", "value"] + __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] VALUE_FIELD_NUMBER: _ClassVar[int] key: str @@ -112,9 +112,9 @@ class MapValues(_message.Message): def __init__(self, val: _Optional[_Mapping[str, str]] = ...) -> None: ... class MapKeysPattern(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class ValEntry(_message.Message): - __slots__ = ["key", "value"] + __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] VALUE_FIELD_NUMBER: _ClassVar[int] key: str @@ -125,9 +125,9 @@ class MapKeysPattern(_message.Message): def __init__(self, val: _Optional[_Mapping[str, str]] = ...) -> None: ... class MapValuesPattern(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class ValEntry(_message.Message): - __slots__ = ["key", "value"] + __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] VALUE_FIELD_NUMBER: _ClassVar[int] key: str @@ -138,16 +138,16 @@ class MapValuesPattern(_message.Message): def __init__(self, val: _Optional[_Mapping[str, str]] = ...) -> None: ... class MapRecursive(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class ValEntry(_message.Message): - __slots__ = ["key", "value"] + __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] VALUE_FIELD_NUMBER: _ClassVar[int] key: int value: MapRecursive.Msg def __init__(self, key: _Optional[int] = ..., value: _Optional[_Union[MapRecursive.Msg, _Mapping]] = ...) -> None: ... class Msg(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... @@ -156,9 +156,9 @@ class MapRecursive(_message.Message): def __init__(self, val: _Optional[_Mapping[int, MapRecursive.Msg]] = ...) -> None: ... class MapExactIgnore(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class ValEntry(_message.Message): - __slots__ = ["key", "value"] + __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] VALUE_FIELD_NUMBER: _ClassVar[int] key: int @@ -169,23 +169,23 @@ class MapExactIgnore(_message.Message): def __init__(self, val: _Optional[_Mapping[int, str]] = ...) -> None: ... class MultipleMaps(_message.Message): - __slots__ = ["first", "second", "third"] + __slots__ = ("first", "second", "third") class FirstEntry(_message.Message): - __slots__ = ["key", "value"] + __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] VALUE_FIELD_NUMBER: _ClassVar[int] key: int value: str def __init__(self, key: _Optional[int] = ..., value: _Optional[str] = ...) -> None: ... class SecondEntry(_message.Message): - __slots__ = ["key", "value"] + __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] VALUE_FIELD_NUMBER: _ClassVar[int] key: int value: bool def __init__(self, key: _Optional[int] = ..., value: bool = ...) -> None: ... class ThirdEntry(_message.Message): - __slots__ = ["key", "value"] + __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] VALUE_FIELD_NUMBER: _ClassVar[int] key: int diff --git a/gen/buf/validate/conformance/cases/messages_pb2.py b/gen/buf/validate/conformance/cases/messages_pb2.py index 3d2e735..1038945 100644 --- a/gen/buf/validate/conformance/cases/messages_pb2.py +++ b/gen/buf/validate/conformance/cases/messages_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/conformance/cases/messages.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/messages.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,30 +40,29 @@ from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-buf/validate/conformance/cases/messages.proto\x12\x1e\x62uf.validate.conformance.cases\x1a\x38\x62uf/validate/conformance/cases/other_package/embed.proto\x1a\x1b\x62uf/validate/validate.proto\"l\n\x07TestMsg\x12 \n\x05\x63onst\x18\x01 \x01(\tB\n\xbaH\x07r\x05\n\x03\x66ooR\x05\x63onst\x12?\n\x06nested\x18\x02 \x01(\x0b\x32\'.buf.validate.conformance.cases.TestMsgR\x06nested\"_\n\x0bMessageNone\x12\x45\n\x03val\x18\x01 \x01(\x0b\x32\x33.buf.validate.conformance.cases.MessageNone.NoneMsgR\x03val\x1a\t\n\x07NoneMsg\"3\n\x0fMessageDisabled\x12\x19\n\x03val\x18\x01 \x01(\x04\x42\x07\xbaH\x04\x32\x02 {R\x03val:\x05\xbaH\x02\x08\x01\"D\n\x07Message\x12\x39\n\x03val\x18\x01 \x01(\x0b\x32\'.buf.validate.conformance.cases.TestMsgR\x03val\"\\\n\x13MessageCrossPackage\x12\x45\n\x03val\x18\x01 \x01(\x0b\x32\x33.buf.validate.conformance.cases.other_package.EmbedR\x03val\"P\n\x0bMessageSkip\x12\x41\n\x03val\x18\x01 \x01(\x0b\x32\'.buf.validate.conformance.cases.TestMsgB\x06\xbaH\x03\xc0\x01\x01R\x03val\"T\n\x0fMessageRequired\x12\x41\n\x03val\x18\x01 \x01(\x0b\x32\'.buf.validate.conformance.cases.TestMsgB\x06\xbaH\x03\xc8\x01\x01R\x03val\"l\n\x1aMessageRequiredButOptional\x12\x46\n\x03val\x18\x01 \x01(\x0b\x32\'.buf.validate.conformance.cases.TestMsgB\x06\xbaH\x03\xc8\x01\x01H\x00R\x03val\x88\x01\x01\x42\x06\n\x04_val\"i\n\x14MessageRequiredOneof\x12\x43\n\x03val\x18\x01 \x01(\x0b\x32\'.buf.validate.conformance.cases.TestMsgB\x06\xbaH\x03\xc8\x01\x01H\x00R\x03valB\x0c\n\x03one\x12\x05\xbaH\x02\x08\x01\"\x15\n\x13MessageWith3dInsideb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-buf/validate/conformance/cases/messages.proto\x12\x1e\x62uf.validate.conformance.cases\x1a\x38\x62uf/validate/conformance/cases/other_package/embed.proto\x1a\x1b\x62uf/validate/validate.proto\"l\n\x07TestMsg\x12 \n\x05\x63onst\x18\x01 \x01(\tB\n\xbaH\x07r\x05\n\x03\x66ooR\x05\x63onst\x12?\n\x06nested\x18\x02 \x01(\x0b\x32\'.buf.validate.conformance.cases.TestMsgR\x06nested\"_\n\x0bMessageNone\x12\x45\n\x03val\x18\x01 \x01(\x0b\x32\x33.buf.validate.conformance.cases.MessageNone.NoneMsgR\x03val\x1a\t\n\x07NoneMsg\"3\n\x0fMessageDisabled\x12\x19\n\x03val\x18\x01 \x01(\x04\x42\x07\xbaH\x04\x32\x02 {R\x03val:\x05\xbaH\x02\x08\x01\"D\n\x07Message\x12\x39\n\x03val\x18\x01 \x01(\x0b\x32\'.buf.validate.conformance.cases.TestMsgR\x03val\"\\\n\x13MessageCrossPackage\x12\x45\n\x03val\x18\x01 \x01(\x0b\x32\x33.buf.validate.conformance.cases.other_package.EmbedR\x03val\"P\n\x0bMessageSkip\x12\x41\n\x03val\x18\x01 \x01(\x0b\x32\'.buf.validate.conformance.cases.TestMsgB\x06\xbaH\x03\xd8\x01\x03R\x03val\"T\n\x0fMessageRequired\x12\x41\n\x03val\x18\x01 \x01(\x0b\x32\'.buf.validate.conformance.cases.TestMsgB\x06\xbaH\x03\xc8\x01\x01R\x03val\"l\n\x1aMessageRequiredButOptional\x12\x46\n\x03val\x18\x01 \x01(\x0b\x32\'.buf.validate.conformance.cases.TestMsgB\x06\xbaH\x03\xc8\x01\x01H\x00R\x03val\x88\x01\x01\x42\x06\n\x04_val\"i\n\x14MessageRequiredOneof\x12\x43\n\x03val\x18\x01 \x01(\x0b\x32\'.buf.validate.conformance.cases.TestMsgB\x06\xbaH\x03\xc8\x01\x01H\x00R\x03valB\x0c\n\x03one\x12\x05\xbaH\x02\x08\x01\"\x15\n\x13MessageWith3dInsideb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.messages_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _TESTMSG.fields_by_name['const']._options = None - _TESTMSG.fields_by_name['const']._serialized_options = b'\272H\007r\005\n\003foo' - _MESSAGEDISABLED.fields_by_name['val']._options = None - _MESSAGEDISABLED.fields_by_name['val']._serialized_options = b'\272H\0042\002 {' - _MESSAGEDISABLED._options = None - _MESSAGEDISABLED._serialized_options = b'\272H\002\010\001' - _MESSAGESKIP.fields_by_name['val']._options = None - _MESSAGESKIP.fields_by_name['val']._serialized_options = b'\272H\003\300\001\001' - _MESSAGEREQUIRED.fields_by_name['val']._options = None - _MESSAGEREQUIRED.fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' - _MESSAGEREQUIREDBUTOPTIONAL.fields_by_name['val']._options = None - _MESSAGEREQUIREDBUTOPTIONAL.fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' - _MESSAGEREQUIREDONEOF.oneofs_by_name['one']._options = None - _MESSAGEREQUIREDONEOF.oneofs_by_name['one']._serialized_options = b'\272H\002\010\001' - _MESSAGEREQUIREDONEOF.fields_by_name['val']._options = None - _MESSAGEREQUIREDONEOF.fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_TESTMSG'].fields_by_name['const']._loaded_options = None + _globals['_TESTMSG'].fields_by_name['const']._serialized_options = b'\272H\007r\005\n\003foo' + _globals['_MESSAGEDISABLED'].fields_by_name['val']._loaded_options = None + _globals['_MESSAGEDISABLED'].fields_by_name['val']._serialized_options = b'\272H\0042\002 {' + _globals['_MESSAGEDISABLED']._loaded_options = None + _globals['_MESSAGEDISABLED']._serialized_options = b'\272H\002\010\001' + _globals['_MESSAGESKIP'].fields_by_name['val']._loaded_options = None + _globals['_MESSAGESKIP'].fields_by_name['val']._serialized_options = b'\272H\003\330\001\003' + _globals['_MESSAGEREQUIRED'].fields_by_name['val']._loaded_options = None + _globals['_MESSAGEREQUIRED'].fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' + _globals['_MESSAGEREQUIREDBUTOPTIONAL'].fields_by_name['val']._loaded_options = None + _globals['_MESSAGEREQUIREDBUTOPTIONAL'].fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' + _globals['_MESSAGEREQUIREDONEOF'].oneofs_by_name['one']._loaded_options = None + _globals['_MESSAGEREQUIREDONEOF'].oneofs_by_name['one']._serialized_options = b'\272H\002\010\001' + _globals['_MESSAGEREQUIREDONEOF'].fields_by_name['val']._loaded_options = None + _globals['_MESSAGEREQUIREDONEOF'].fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' _globals['_TESTMSG']._serialized_start=168 _globals['_TESTMSG']._serialized_end=276 _globals['_MESSAGENONE']._serialized_start=278 diff --git a/gen/buf/validate/conformance/cases/messages_pb2.pyi b/gen/buf/validate/conformance/cases/messages_pb2.pyi index facfa25..01ec660 100644 --- a/gen/buf/validate/conformance/cases/messages_pb2.pyi +++ b/gen/buf/validate/conformance/cases/messages_pb2.pyi @@ -21,7 +21,7 @@ from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Opti DESCRIPTOR: _descriptor.FileDescriptor class TestMsg(_message.Message): - __slots__ = ["const", "nested"] + __slots__ = ("const", "nested") CONST_FIELD_NUMBER: _ClassVar[int] NESTED_FIELD_NUMBER: _ClassVar[int] const: str @@ -29,56 +29,56 @@ class TestMsg(_message.Message): def __init__(self, const: _Optional[str] = ..., nested: _Optional[_Union[TestMsg, _Mapping]] = ...) -> None: ... class MessageNone(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class NoneMsg(_message.Message): - __slots__ = [] + __slots__ = () def __init__(self) -> None: ... VAL_FIELD_NUMBER: _ClassVar[int] val: MessageNone.NoneMsg def __init__(self, val: _Optional[_Union[MessageNone.NoneMsg, _Mapping]] = ...) -> None: ... class MessageDisabled(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Message(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: TestMsg def __init__(self, val: _Optional[_Union[TestMsg, _Mapping]] = ...) -> None: ... class MessageCrossPackage(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _embed_pb2.Embed def __init__(self, val: _Optional[_Union[_embed_pb2.Embed, _Mapping]] = ...) -> None: ... class MessageSkip(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: TestMsg def __init__(self, val: _Optional[_Union[TestMsg, _Mapping]] = ...) -> None: ... class MessageRequired(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: TestMsg def __init__(self, val: _Optional[_Union[TestMsg, _Mapping]] = ...) -> None: ... class MessageRequiredButOptional(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: TestMsg def __init__(self, val: _Optional[_Union[TestMsg, _Mapping]] = ...) -> None: ... class MessageRequiredOneof(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: TestMsg def __init__(self, val: _Optional[_Union[TestMsg, _Mapping]] = ...) -> None: ... class MessageWith3dInside(_message.Message): - __slots__ = [] + __slots__ = () def __init__(self) -> None: ... diff --git a/gen/buf/validate/conformance/cases/numbers_pb2.py b/gen/buf/validate/conformance/cases/numbers_pb2.py index 9cd9108..14a3b7a 100644 --- a/gen/buf/validate/conformance/cases/numbers_pb2.py +++ b/gen/buf/validate/conformance/cases/numbers_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/conformance/cases/numbers.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/numbers.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -33,351 +44,350 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.numbers_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _FLOATCONST.fields_by_name['val']._options = None - _FLOATCONST.fields_by_name['val']._serialized_options = b'\272H\007\n\005\r\244p\235?' - _FLOATIN.fields_by_name['val']._options = None - _FLOATIN.fields_by_name['val']._serialized_options = b'\272H\014\n\n2\010\205\353\221@\341z\374@' - _FLOATNOTIN.fields_by_name['val']._options = None - _FLOATNOTIN.fields_by_name['val']._serialized_options = b'\272H\010\n\006:\004\000\000\000\000' - _FLOATLT.fields_by_name['val']._options = None - _FLOATLT.fields_by_name['val']._serialized_options = b'\272H\007\n\005\025\000\000\000\000' - _FLOATLTE.fields_by_name['val']._options = None - _FLOATLTE.fields_by_name['val']._serialized_options = b'\272H\007\n\005\035\000\000\200B' - _FLOATGT.fields_by_name['val']._options = None - _FLOATGT.fields_by_name['val']._serialized_options = b'\272H\007\n\005%\000\000\200A' - _FLOATGTE.fields_by_name['val']._options = None - _FLOATGTE.fields_by_name['val']._serialized_options = b'\272H\007\n\005-\000\000\000A' - _FLOATGTLT.fields_by_name['val']._options = None - _FLOATGTLT.fields_by_name['val']._serialized_options = b'\272H\014\n\n\025\000\000 A%\000\000\000\000' - _FLOATEXLTGT.fields_by_name['val']._options = None - _FLOATEXLTGT.fields_by_name['val']._serialized_options = b'\272H\014\n\n\025\000\000\000\000%\000\000 A' - _FLOATGTELTE.fields_by_name['val']._options = None - _FLOATGTELTE.fields_by_name['val']._serialized_options = b'\272H\014\n\n\035\000\000\200C-\000\000\000C' - _FLOATEXGTELTE.fields_by_name['val']._options = None - _FLOATEXGTELTE.fields_by_name['val']._serialized_options = b'\272H\014\n\n\035\000\000\000C-\000\000\200C' - _FLOATFINITE.fields_by_name['val']._options = None - _FLOATFINITE.fields_by_name['val']._serialized_options = b'\272H\004\n\002@\001' - _FLOATIGNORE.fields_by_name['val']._options = None - _FLOATIGNORE.fields_by_name['val']._serialized_options = b'\272H\017\n\n\035\000\000\200C-\000\000\000C\320\001\001' - _FLOATINCORRECTTYPE.fields_by_name['val']._options = None - _FLOATINCORRECTTYPE.fields_by_name['val']._serialized_options = b'\272H\013\022\t!\000\000\000\000\000\000\000\000' - _DOUBLECONST.fields_by_name['val']._options = None - _DOUBLECONST.fields_by_name['val']._serialized_options = b'\272H\013\022\t\t\256G\341z\024\256\363?' - _DOUBLEIN.fields_by_name['val']._options = None - _DOUBLEIN.fields_by_name['val']._serialized_options = b'\272H\024\022\0222\020=\n\327\243p=\022@\217\302\365(\\\217\037@' - _DOUBLENOTIN.fields_by_name['val']._options = None - _DOUBLENOTIN.fields_by_name['val']._serialized_options = b'\272H\014\022\n:\010\000\000\000\000\000\000\000\000' - _DOUBLELT.fields_by_name['val']._options = None - _DOUBLELT.fields_by_name['val']._serialized_options = b'\272H\013\022\t\021\000\000\000\000\000\000\000\000' - _DOUBLELTE.fields_by_name['val']._options = None - _DOUBLELTE.fields_by_name['val']._serialized_options = b'\272H\013\022\t\031\000\000\000\000\000\000P@' - _DOUBLEGT.fields_by_name['val']._options = None - _DOUBLEGT.fields_by_name['val']._serialized_options = b'\272H\013\022\t!\000\000\000\000\000\0000@' - _DOUBLEGTE.fields_by_name['val']._options = None - _DOUBLEGTE.fields_by_name['val']._serialized_options = b'\272H\013\022\t)\000\000\000\000\000\000 @' - _DOUBLEGTLT.fields_by_name['val']._options = None - _DOUBLEGTLT.fields_by_name['val']._serialized_options = b'\272H\024\022\022\021\000\000\000\000\000\000$@!\000\000\000\000\000\000\000\000' - _DOUBLEEXLTGT.fields_by_name['val']._options = None - _DOUBLEEXLTGT.fields_by_name['val']._serialized_options = b'\272H\024\022\022\021\000\000\000\000\000\000\000\000!\000\000\000\000\000\000$@' - _DOUBLEGTELTE.fields_by_name['val']._options = None - _DOUBLEGTELTE.fields_by_name['val']._serialized_options = b'\272H\024\022\022\031\000\000\000\000\000\000p@)\000\000\000\000\000\000`@' - _DOUBLEEXGTELTE.fields_by_name['val']._options = None - _DOUBLEEXGTELTE.fields_by_name['val']._serialized_options = b'\272H\024\022\022\031\000\000\000\000\000\000`@)\000\000\000\000\000\000p@' - _DOUBLEFINITE.fields_by_name['val']._options = None - _DOUBLEFINITE.fields_by_name['val']._serialized_options = b'\272H\004\022\002@\001' - _DOUBLEIGNORE.fields_by_name['val']._options = None - _DOUBLEIGNORE.fields_by_name['val']._serialized_options = b'\272H\027\022\022\031\000\000\000\000\000\000p@)\000\000\000\000\000\000`@\320\001\001' - _DOUBLEINCORRECTTYPE.fields_by_name['val']._options = None - _DOUBLEINCORRECTTYPE.fields_by_name['val']._serialized_options = b'\272H\007\n\005%\000\000\000\000' - _INT32CONST.fields_by_name['val']._options = None - _INT32CONST.fields_by_name['val']._serialized_options = b'\272H\004\032\002\010\001' - _INT32IN.fields_by_name['val']._options = None - _INT32IN.fields_by_name['val']._serialized_options = b'\272H\006\032\0042\002\002\003' - _INT32NOTIN.fields_by_name['val']._options = None - _INT32NOTIN.fields_by_name['val']._serialized_options = b'\272H\005\032\003:\001\000' - _INT32LT.fields_by_name['val']._options = None - _INT32LT.fields_by_name['val']._serialized_options = b'\272H\004\032\002\020\000' - _INT32LTE.fields_by_name['val']._options = None - _INT32LTE.fields_by_name['val']._serialized_options = b'\272H\004\032\002\030@' - _INT32GT.fields_by_name['val']._options = None - _INT32GT.fields_by_name['val']._serialized_options = b'\272H\004\032\002 \020' - _INT32GTE.fields_by_name['val']._options = None - _INT32GTE.fields_by_name['val']._serialized_options = b'\272H\004\032\002(\010' - _INT32GTLT.fields_by_name['val']._options = None - _INT32GTLT.fields_by_name['val']._serialized_options = b'\272H\006\032\004\020\n \000' - _INT32EXLTGT.fields_by_name['val']._options = None - _INT32EXLTGT.fields_by_name['val']._serialized_options = b'\272H\006\032\004\020\000 \n' - _INT32GTELTE.fields_by_name['val']._options = None - _INT32GTELTE.fields_by_name['val']._serialized_options = b'\272H\010\032\006\030\200\002(\200\001' - _INT32EXGTELTE.fields_by_name['val']._options = None - _INT32EXGTELTE.fields_by_name['val']._serialized_options = b'\272H\010\032\006\030\200\001(\200\002' - _INT32IGNORE.fields_by_name['val']._options = None - _INT32IGNORE.fields_by_name['val']._serialized_options = b'\272H\013\032\006\030\200\002(\200\001\320\001\001' - _INT32INCORRECTTYPE.fields_by_name['val']._options = None - _INT32INCORRECTTYPE.fields_by_name['val']._serialized_options = b'\272H\007\n\005%\000\000\000\000' - _INT64CONST.fields_by_name['val']._options = None - _INT64CONST.fields_by_name['val']._serialized_options = b'\272H\004\"\002\010\001' - _INT64IN.fields_by_name['val']._options = None - _INT64IN.fields_by_name['val']._serialized_options = b'\272H\006\"\0042\002\002\003' - _INT64NOTIN.fields_by_name['val']._options = None - _INT64NOTIN.fields_by_name['val']._serialized_options = b'\272H\005\"\003:\001\000' - _INT64LT.fields_by_name['val']._options = None - _INT64LT.fields_by_name['val']._serialized_options = b'\272H\004\"\002\020\000' - _INT64LTE.fields_by_name['val']._options = None - _INT64LTE.fields_by_name['val']._serialized_options = b'\272H\004\"\002\030@' - _INT64GT.fields_by_name['val']._options = None - _INT64GT.fields_by_name['val']._serialized_options = b'\272H\004\"\002 \020' - _INT64GTE.fields_by_name['val']._options = None - _INT64GTE.fields_by_name['val']._serialized_options = b'\272H\004\"\002(\010' - _INT64GTLT.fields_by_name['val']._options = None - _INT64GTLT.fields_by_name['val']._serialized_options = b'\272H\006\"\004\020\n \000' - _INT64EXLTGT.fields_by_name['val']._options = None - _INT64EXLTGT.fields_by_name['val']._serialized_options = b'\272H\006\"\004\020\000 \n' - _INT64GTELTE.fields_by_name['val']._options = None - _INT64GTELTE.fields_by_name['val']._serialized_options = b'\272H\010\"\006\030\200\002(\200\001' - _INT64EXGTELTE.fields_by_name['val']._options = None - _INT64EXGTELTE.fields_by_name['val']._serialized_options = b'\272H\010\"\006\030\200\001(\200\002' - _INT64IGNORE.fields_by_name['val']._options = None - _INT64IGNORE.fields_by_name['val']._serialized_options = b'\272H\013\"\006\030\200\002(\200\001\320\001\001' - _INT64BIGCONSTRAINTS.fields_by_name['lt_pos']._options = None - _INT64BIGCONSTRAINTS.fields_by_name['lt_pos']._serialized_options = b'\272H\010\"\006\020\246\335\207\244\024' - _INT64BIGCONSTRAINTS.fields_by_name['lt_neg']._options = None - _INT64BIGCONSTRAINTS.fields_by_name['lt_neg']._serialized_options = b'\272H\r\"\013\020\332\242\370\333\353\377\377\377\377\001' - _INT64BIGCONSTRAINTS.fields_by_name['gt_pos']._options = None - _INT64BIGCONSTRAINTS.fields_by_name['gt_pos']._serialized_options = b'\272H\010\"\006 \246\335\207\244\024' - _INT64BIGCONSTRAINTS.fields_by_name['gt_neg']._options = None - _INT64BIGCONSTRAINTS.fields_by_name['gt_neg']._serialized_options = b'\272H\r\"\013 \332\242\370\333\353\377\377\377\377\001' - _INT64BIGCONSTRAINTS.fields_by_name['lte_pos']._options = None - _INT64BIGCONSTRAINTS.fields_by_name['lte_pos']._serialized_options = b'\272H\010\"\006\030\246\335\207\244\024' - _INT64BIGCONSTRAINTS.fields_by_name['lte_neg']._options = None - _INT64BIGCONSTRAINTS.fields_by_name['lte_neg']._serialized_options = b'\272H\r\"\013\030\332\242\370\333\353\377\377\377\377\001' - _INT64BIGCONSTRAINTS.fields_by_name['gte_pos']._options = None - _INT64BIGCONSTRAINTS.fields_by_name['gte_pos']._serialized_options = b'\272H\010\"\006(\246\335\207\244\024' - _INT64BIGCONSTRAINTS.fields_by_name['gte_neg']._options = None - _INT64BIGCONSTRAINTS.fields_by_name['gte_neg']._serialized_options = b'\272H\r\"\013(\332\242\370\333\353\377\377\377\377\001' - _INT64BIGCONSTRAINTS.fields_by_name['constant_pos']._options = None - _INT64BIGCONSTRAINTS.fields_by_name['constant_pos']._serialized_options = b'\272H\010\"\006\010\246\335\207\244\024' - _INT64BIGCONSTRAINTS.fields_by_name['constant_neg']._options = None - _INT64BIGCONSTRAINTS.fields_by_name['constant_neg']._serialized_options = b'\272H\r\"\013\010\332\242\370\333\353\377\377\377\377\001' - _INT64BIGCONSTRAINTS.fields_by_name['in']._options = None - _INT64BIGCONSTRAINTS.fields_by_name['in']._serialized_options = b'\272H\023\"\0212\017\246\335\207\244\024\332\242\370\333\353\377\377\377\377\001' - _INT64BIGCONSTRAINTS.fields_by_name['notin']._options = None - _INT64BIGCONSTRAINTS.fields_by_name['notin']._serialized_options = b'\272H\023\"\021:\017\246\335\207\244\024\332\242\370\333\353\377\377\377\377\001' - _INT64INCORRECTTYPE.fields_by_name['val']._options = None - _INT64INCORRECTTYPE.fields_by_name['val']._serialized_options = b'\272H\007\n\005%\000\000\000\000' - _UINT32CONST.fields_by_name['val']._options = None - _UINT32CONST.fields_by_name['val']._serialized_options = b'\272H\004*\002\010\001' - _UINT32IN.fields_by_name['val']._options = None - _UINT32IN.fields_by_name['val']._serialized_options = b'\272H\006*\0042\002\002\003' - _UINT32NOTIN.fields_by_name['val']._options = None - _UINT32NOTIN.fields_by_name['val']._serialized_options = b'\272H\005*\003:\001\000' - _UINT32LT.fields_by_name['val']._options = None - _UINT32LT.fields_by_name['val']._serialized_options = b'\272H\004*\002\020\005' - _UINT32LTE.fields_by_name['val']._options = None - _UINT32LTE.fields_by_name['val']._serialized_options = b'\272H\004*\002\030@' - _UINT32GT.fields_by_name['val']._options = None - _UINT32GT.fields_by_name['val']._serialized_options = b'\272H\004*\002 \020' - _UINT32GTE.fields_by_name['val']._options = None - _UINT32GTE.fields_by_name['val']._serialized_options = b'\272H\004*\002(\010' - _UINT32GTLT.fields_by_name['val']._options = None - _UINT32GTLT.fields_by_name['val']._serialized_options = b'\272H\006*\004\020\n \005' - _UINT32EXLTGT.fields_by_name['val']._options = None - _UINT32EXLTGT.fields_by_name['val']._serialized_options = b'\272H\006*\004\020\005 \n' - _UINT32GTELTE.fields_by_name['val']._options = None - _UINT32GTELTE.fields_by_name['val']._serialized_options = b'\272H\010*\006\030\200\002(\200\001' - _UINT32EXGTELTE.fields_by_name['val']._options = None - _UINT32EXGTELTE.fields_by_name['val']._serialized_options = b'\272H\010*\006\030\200\001(\200\002' - _UINT32IGNORE.fields_by_name['val']._options = None - _UINT32IGNORE.fields_by_name['val']._serialized_options = b'\272H\013*\006\030\200\002(\200\001\320\001\001' - _UINT32INCORRECTTYPE.fields_by_name['val']._options = None - _UINT32INCORRECTTYPE.fields_by_name['val']._serialized_options = b'\272H\007\n\005%\000\000\000\000' - _UINT64CONST.fields_by_name['val']._options = None - _UINT64CONST.fields_by_name['val']._serialized_options = b'\272H\0042\002\010\001' - _UINT64IN.fields_by_name['val']._options = None - _UINT64IN.fields_by_name['val']._serialized_options = b'\272H\0062\0042\002\002\003' - _UINT64NOTIN.fields_by_name['val']._options = None - _UINT64NOTIN.fields_by_name['val']._serialized_options = b'\272H\0052\003:\001\000' - _UINT64LT.fields_by_name['val']._options = None - _UINT64LT.fields_by_name['val']._serialized_options = b'\272H\0042\002\020\005' - _UINT64LTE.fields_by_name['val']._options = None - _UINT64LTE.fields_by_name['val']._serialized_options = b'\272H\0042\002\030@' - _UINT64GT.fields_by_name['val']._options = None - _UINT64GT.fields_by_name['val']._serialized_options = b'\272H\0042\002 \020' - _UINT64GTE.fields_by_name['val']._options = None - _UINT64GTE.fields_by_name['val']._serialized_options = b'\272H\0042\002(\010' - _UINT64GTLT.fields_by_name['val']._options = None - _UINT64GTLT.fields_by_name['val']._serialized_options = b'\272H\0062\004\020\n \005' - _UINT64EXLTGT.fields_by_name['val']._options = None - _UINT64EXLTGT.fields_by_name['val']._serialized_options = b'\272H\0062\004\020\005 \n' - _UINT64GTELTE.fields_by_name['val']._options = None - _UINT64GTELTE.fields_by_name['val']._serialized_options = b'\272H\0102\006\030\200\002(\200\001' - _UINT64EXGTELTE.fields_by_name['val']._options = None - _UINT64EXGTELTE.fields_by_name['val']._serialized_options = b'\272H\0102\006\030\200\001(\200\002' - _UINT64IGNORE.fields_by_name['val']._options = None - _UINT64IGNORE.fields_by_name['val']._serialized_options = b'\272H\0132\006\030\200\002(\200\001\320\001\001' - _UINT64INCORRECTTYPE.fields_by_name['val']._options = None - _UINT64INCORRECTTYPE.fields_by_name['val']._serialized_options = b'\272H\007\n\005%\000\000\000\000' - _SINT32CONST.fields_by_name['val']._options = None - _SINT32CONST.fields_by_name['val']._serialized_options = b'\272H\004:\002\010\002' - _SINT32IN.fields_by_name['val']._options = None - _SINT32IN.fields_by_name['val']._serialized_options = b'\272H\006:\0042\002\004\006' - _SINT32NOTIN.fields_by_name['val']._options = None - _SINT32NOTIN.fields_by_name['val']._serialized_options = b'\272H\005:\003:\001\000' - _SINT32LT.fields_by_name['val']._options = None - _SINT32LT.fields_by_name['val']._serialized_options = b'\272H\004:\002\020\000' - _SINT32LTE.fields_by_name['val']._options = None - _SINT32LTE.fields_by_name['val']._serialized_options = b'\272H\005:\003\030\200\001' - _SINT32GT.fields_by_name['val']._options = None - _SINT32GT.fields_by_name['val']._serialized_options = b'\272H\004:\002 ' - _SINT32GTE.fields_by_name['val']._options = None - _SINT32GTE.fields_by_name['val']._serialized_options = b'\272H\004:\002(\020' - _SINT32GTLT.fields_by_name['val']._options = None - _SINT32GTLT.fields_by_name['val']._serialized_options = b'\272H\006:\004\020\024 \000' - _SINT32EXLTGT.fields_by_name['val']._options = None - _SINT32EXLTGT.fields_by_name['val']._serialized_options = b'\272H\006:\004\020\000 \024' - _SINT32GTELTE.fields_by_name['val']._options = None - _SINT32GTELTE.fields_by_name['val']._serialized_options = b'\272H\010:\006\030\200\004(\200\002' - _SINT32EXGTELTE.fields_by_name['val']._options = None - _SINT32EXGTELTE.fields_by_name['val']._serialized_options = b'\272H\010:\006\030\200\002(\200\004' - _SINT32IGNORE.fields_by_name['val']._options = None - _SINT32IGNORE.fields_by_name['val']._serialized_options = b'\272H\013:\006\030\200\004(\200\002\320\001\001' - _SINT32INCORRECTTYPE.fields_by_name['val']._options = None - _SINT32INCORRECTTYPE.fields_by_name['val']._serialized_options = b'\272H\007\n\005%\000\000\000\000' - _SINT64CONST.fields_by_name['val']._options = None - _SINT64CONST.fields_by_name['val']._serialized_options = b'\272H\004B\002\010\002' - _SINT64IN.fields_by_name['val']._options = None - _SINT64IN.fields_by_name['val']._serialized_options = b'\272H\006B\0042\002\004\006' - _SINT64NOTIN.fields_by_name['val']._options = None - _SINT64NOTIN.fields_by_name['val']._serialized_options = b'\272H\005B\003:\001\000' - _SINT64LT.fields_by_name['val']._options = None - _SINT64LT.fields_by_name['val']._serialized_options = b'\272H\004B\002\020\000' - _SINT64LTE.fields_by_name['val']._options = None - _SINT64LTE.fields_by_name['val']._serialized_options = b'\272H\005B\003\030\200\001' - _SINT64GT.fields_by_name['val']._options = None - _SINT64GT.fields_by_name['val']._serialized_options = b'\272H\004B\002 ' - _SINT64GTE.fields_by_name['val']._options = None - _SINT64GTE.fields_by_name['val']._serialized_options = b'\272H\004B\002(\020' - _SINT64GTLT.fields_by_name['val']._options = None - _SINT64GTLT.fields_by_name['val']._serialized_options = b'\272H\006B\004\020\024 \000' - _SINT64EXLTGT.fields_by_name['val']._options = None - _SINT64EXLTGT.fields_by_name['val']._serialized_options = b'\272H\006B\004\020\000 \024' - _SINT64GTELTE.fields_by_name['val']._options = None - _SINT64GTELTE.fields_by_name['val']._serialized_options = b'\272H\010B\006\030\200\004(\200\002' - _SINT64EXGTELTE.fields_by_name['val']._options = None - _SINT64EXGTELTE.fields_by_name['val']._serialized_options = b'\272H\010B\006\030\200\002(\200\004' - _SINT64IGNORE.fields_by_name['val']._options = None - _SINT64IGNORE.fields_by_name['val']._serialized_options = b'\272H\013B\006\030\200\004(\200\002\320\001\001' - _SINT64INCORRECTTYPE.fields_by_name['val']._options = None - _SINT64INCORRECTTYPE.fields_by_name['val']._serialized_options = b'\272H\007\n\005%\000\000\000\000' - _FIXED32CONST.fields_by_name['val']._options = None - _FIXED32CONST.fields_by_name['val']._serialized_options = b'\272H\007J\005\r\001\000\000\000' - _FIXED32IN.fields_by_name['val']._options = None - _FIXED32IN.fields_by_name['val']._serialized_options = b'\272H\014J\n2\010\002\000\000\000\003\000\000\000' - _FIXED32NOTIN.fields_by_name['val']._options = None - _FIXED32NOTIN.fields_by_name['val']._serialized_options = b'\272H\010J\006:\004\000\000\000\000' - _FIXED32LT.fields_by_name['val']._options = None - _FIXED32LT.fields_by_name['val']._serialized_options = b'\272H\007J\005\025\005\000\000\000' - _FIXED32LTE.fields_by_name['val']._options = None - _FIXED32LTE.fields_by_name['val']._serialized_options = b'\272H\007J\005\035@\000\000\000' - _FIXED32GT.fields_by_name['val']._options = None - _FIXED32GT.fields_by_name['val']._serialized_options = b'\272H\007J\005%\020\000\000\000' - _FIXED32GTE.fields_by_name['val']._options = None - _FIXED32GTE.fields_by_name['val']._serialized_options = b'\272H\007J\005-\010\000\000\000' - _FIXED32GTLT.fields_by_name['val']._options = None - _FIXED32GTLT.fields_by_name['val']._serialized_options = b'\272H\014J\n\025\n\000\000\000%\005\000\000\000' - _FIXED32EXLTGT.fields_by_name['val']._options = None - _FIXED32EXLTGT.fields_by_name['val']._serialized_options = b'\272H\014J\n\025\005\000\000\000%\n\000\000\000' - _FIXED32GTELTE.fields_by_name['val']._options = None - _FIXED32GTELTE.fields_by_name['val']._serialized_options = b'\272H\014J\n\035\000\001\000\000-\200\000\000\000' - _FIXED32EXGTELTE.fields_by_name['val']._options = None - _FIXED32EXGTELTE.fields_by_name['val']._serialized_options = b'\272H\014J\n\035\200\000\000\000-\000\001\000\000' - _FIXED32IGNORE.fields_by_name['val']._options = None - _FIXED32IGNORE.fields_by_name['val']._serialized_options = b'\272H\017J\n\035\000\001\000\000-\200\000\000\000\320\001\001' - _FIXED32INCORRECTTYPE.fields_by_name['val']._options = None - _FIXED32INCORRECTTYPE.fields_by_name['val']._serialized_options = b'\272H\007\n\005%\000\000\000\000' - _FIXED64CONST.fields_by_name['val']._options = None - _FIXED64CONST.fields_by_name['val']._serialized_options = b'\272H\013R\t\t\001\000\000\000\000\000\000\000' - _FIXED64IN.fields_by_name['val']._options = None - _FIXED64IN.fields_by_name['val']._serialized_options = b'\272H\024R\0222\020\002\000\000\000\000\000\000\000\003\000\000\000\000\000\000\000' - _FIXED64NOTIN.fields_by_name['val']._options = None - _FIXED64NOTIN.fields_by_name['val']._serialized_options = b'\272H\014R\n:\010\000\000\000\000\000\000\000\000' - _FIXED64LT.fields_by_name['val']._options = None - _FIXED64LT.fields_by_name['val']._serialized_options = b'\272H\013R\t\021\005\000\000\000\000\000\000\000' - _FIXED64LTE.fields_by_name['val']._options = None - _FIXED64LTE.fields_by_name['val']._serialized_options = b'\272H\013R\t\031@\000\000\000\000\000\000\000' - _FIXED64GT.fields_by_name['val']._options = None - _FIXED64GT.fields_by_name['val']._serialized_options = b'\272H\013R\t!\020\000\000\000\000\000\000\000' - _FIXED64GTE.fields_by_name['val']._options = None - _FIXED64GTE.fields_by_name['val']._serialized_options = b'\272H\013R\t)\010\000\000\000\000\000\000\000' - _FIXED64GTLT.fields_by_name['val']._options = None - _FIXED64GTLT.fields_by_name['val']._serialized_options = b'\272H\024R\022\021\n\000\000\000\000\000\000\000!\005\000\000\000\000\000\000\000' - _FIXED64EXLTGT.fields_by_name['val']._options = None - _FIXED64EXLTGT.fields_by_name['val']._serialized_options = b'\272H\024R\022\021\005\000\000\000\000\000\000\000!\n\000\000\000\000\000\000\000' - _FIXED64GTELTE.fields_by_name['val']._options = None - _FIXED64GTELTE.fields_by_name['val']._serialized_options = b'\272H\024R\022\031\000\001\000\000\000\000\000\000)\200\000\000\000\000\000\000\000' - _FIXED64EXGTELTE.fields_by_name['val']._options = None - _FIXED64EXGTELTE.fields_by_name['val']._serialized_options = b'\272H\024R\022\031\200\000\000\000\000\000\000\000)\000\001\000\000\000\000\000\000' - _FIXED64IGNORE.fields_by_name['val']._options = None - _FIXED64IGNORE.fields_by_name['val']._serialized_options = b'\272H\027R\022\031\000\001\000\000\000\000\000\000)\200\000\000\000\000\000\000\000\320\001\001' - _FIXED64INCORRECTTYPE.fields_by_name['val']._options = None - _FIXED64INCORRECTTYPE.fields_by_name['val']._serialized_options = b'\272H\007\n\005%\000\000\000\000' - _SFIXED32CONST.fields_by_name['val']._options = None - _SFIXED32CONST.fields_by_name['val']._serialized_options = b'\272H\007Z\005\r\001\000\000\000' - _SFIXED32IN.fields_by_name['val']._options = None - _SFIXED32IN.fields_by_name['val']._serialized_options = b'\272H\014Z\n2\010\002\000\000\000\003\000\000\000' - _SFIXED32NOTIN.fields_by_name['val']._options = None - _SFIXED32NOTIN.fields_by_name['val']._serialized_options = b'\272H\010Z\006:\004\000\000\000\000' - _SFIXED32LT.fields_by_name['val']._options = None - _SFIXED32LT.fields_by_name['val']._serialized_options = b'\272H\007Z\005\025\000\000\000\000' - _SFIXED32LTE.fields_by_name['val']._options = None - _SFIXED32LTE.fields_by_name['val']._serialized_options = b'\272H\007Z\005\035@\000\000\000' - _SFIXED32GT.fields_by_name['val']._options = None - _SFIXED32GT.fields_by_name['val']._serialized_options = b'\272H\007Z\005%\020\000\000\000' - _SFIXED32GTE.fields_by_name['val']._options = None - _SFIXED32GTE.fields_by_name['val']._serialized_options = b'\272H\007Z\005-\010\000\000\000' - _SFIXED32GTLT.fields_by_name['val']._options = None - _SFIXED32GTLT.fields_by_name['val']._serialized_options = b'\272H\014Z\n\025\n\000\000\000%\000\000\000\000' - _SFIXED32EXLTGT.fields_by_name['val']._options = None - _SFIXED32EXLTGT.fields_by_name['val']._serialized_options = b'\272H\014Z\n\025\000\000\000\000%\n\000\000\000' - _SFIXED32GTELTE.fields_by_name['val']._options = None - _SFIXED32GTELTE.fields_by_name['val']._serialized_options = b'\272H\014Z\n\035\000\001\000\000-\200\000\000\000' - _SFIXED32EXGTELTE.fields_by_name['val']._options = None - _SFIXED32EXGTELTE.fields_by_name['val']._serialized_options = b'\272H\014Z\n\035\200\000\000\000-\000\001\000\000' - _SFIXED32IGNORE.fields_by_name['val']._options = None - _SFIXED32IGNORE.fields_by_name['val']._serialized_options = b'\272H\017Z\n\035\000\001\000\000-\200\000\000\000\320\001\001' - _SFIXED32INCORRECTTYPE.fields_by_name['val']._options = None - _SFIXED32INCORRECTTYPE.fields_by_name['val']._serialized_options = b'\272H\007\n\005%\000\000\000\000' - _SFIXED64CONST.fields_by_name['val']._options = None - _SFIXED64CONST.fields_by_name['val']._serialized_options = b'\272H\013b\t\t\001\000\000\000\000\000\000\000' - _SFIXED64IN.fields_by_name['val']._options = None - _SFIXED64IN.fields_by_name['val']._serialized_options = b'\272H\024b\0222\020\002\000\000\000\000\000\000\000\003\000\000\000\000\000\000\000' - _SFIXED64NOTIN.fields_by_name['val']._options = None - _SFIXED64NOTIN.fields_by_name['val']._serialized_options = b'\272H\014b\n:\010\000\000\000\000\000\000\000\000' - _SFIXED64LT.fields_by_name['val']._options = None - _SFIXED64LT.fields_by_name['val']._serialized_options = b'\272H\013b\t\021\000\000\000\000\000\000\000\000' - _SFIXED64LTE.fields_by_name['val']._options = None - _SFIXED64LTE.fields_by_name['val']._serialized_options = b'\272H\013b\t\031@\000\000\000\000\000\000\000' - _SFIXED64GT.fields_by_name['val']._options = None - _SFIXED64GT.fields_by_name['val']._serialized_options = b'\272H\013b\t!\020\000\000\000\000\000\000\000' - _SFIXED64GTE.fields_by_name['val']._options = None - _SFIXED64GTE.fields_by_name['val']._serialized_options = b'\272H\013b\t)\010\000\000\000\000\000\000\000' - _SFIXED64GTLT.fields_by_name['val']._options = None - _SFIXED64GTLT.fields_by_name['val']._serialized_options = b'\272H\024b\022\021\n\000\000\000\000\000\000\000!\000\000\000\000\000\000\000\000' - _SFIXED64EXLTGT.fields_by_name['val']._options = None - _SFIXED64EXLTGT.fields_by_name['val']._serialized_options = b'\272H\024b\022\021\000\000\000\000\000\000\000\000!\n\000\000\000\000\000\000\000' - _SFIXED64GTELTE.fields_by_name['val']._options = None - _SFIXED64GTELTE.fields_by_name['val']._serialized_options = b'\272H\024b\022\031\000\001\000\000\000\000\000\000)\200\000\000\000\000\000\000\000' - _SFIXED64EXGTELTE.fields_by_name['val']._options = None - _SFIXED64EXGTELTE.fields_by_name['val']._serialized_options = b'\272H\024b\022\031\200\000\000\000\000\000\000\000)\000\001\000\000\000\000\000\000' - _SFIXED64IGNORE.fields_by_name['val']._options = None - _SFIXED64IGNORE.fields_by_name['val']._serialized_options = b'\272H\027b\022\031\000\001\000\000\000\000\000\000)\200\000\000\000\000\000\000\000\320\001\001' - _SFIXED64INCORRECTTYPE.fields_by_name['val']._options = None - _SFIXED64INCORRECTTYPE.fields_by_name['val']._serialized_options = b'\272H\007\n\005%\000\000\000\000' - _INT64LTEOPTIONAL.fields_by_name['val']._options = None - _INT64LTEOPTIONAL.fields_by_name['val']._serialized_options = b'\272H\004\"\002\030@' +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_FLOATCONST'].fields_by_name['val']._loaded_options = None + _globals['_FLOATCONST'].fields_by_name['val']._serialized_options = b'\272H\007\n\005\r\244p\235?' + _globals['_FLOATIN'].fields_by_name['val']._loaded_options = None + _globals['_FLOATIN'].fields_by_name['val']._serialized_options = b'\272H\014\n\n2\010\205\353\221@\341z\374@' + _globals['_FLOATNOTIN'].fields_by_name['val']._loaded_options = None + _globals['_FLOATNOTIN'].fields_by_name['val']._serialized_options = b'\272H\010\n\006:\004\000\000\000\000' + _globals['_FLOATLT'].fields_by_name['val']._loaded_options = None + _globals['_FLOATLT'].fields_by_name['val']._serialized_options = b'\272H\007\n\005\025\000\000\000\000' + _globals['_FLOATLTE'].fields_by_name['val']._loaded_options = None + _globals['_FLOATLTE'].fields_by_name['val']._serialized_options = b'\272H\007\n\005\035\000\000\200B' + _globals['_FLOATGT'].fields_by_name['val']._loaded_options = None + _globals['_FLOATGT'].fields_by_name['val']._serialized_options = b'\272H\007\n\005%\000\000\200A' + _globals['_FLOATGTE'].fields_by_name['val']._loaded_options = None + _globals['_FLOATGTE'].fields_by_name['val']._serialized_options = b'\272H\007\n\005-\000\000\000A' + _globals['_FLOATGTLT'].fields_by_name['val']._loaded_options = None + _globals['_FLOATGTLT'].fields_by_name['val']._serialized_options = b'\272H\014\n\n\025\000\000 A%\000\000\000\000' + _globals['_FLOATEXLTGT'].fields_by_name['val']._loaded_options = None + _globals['_FLOATEXLTGT'].fields_by_name['val']._serialized_options = b'\272H\014\n\n\025\000\000\000\000%\000\000 A' + _globals['_FLOATGTELTE'].fields_by_name['val']._loaded_options = None + _globals['_FLOATGTELTE'].fields_by_name['val']._serialized_options = b'\272H\014\n\n\035\000\000\200C-\000\000\000C' + _globals['_FLOATEXGTELTE'].fields_by_name['val']._loaded_options = None + _globals['_FLOATEXGTELTE'].fields_by_name['val']._serialized_options = b'\272H\014\n\n\035\000\000\000C-\000\000\200C' + _globals['_FLOATFINITE'].fields_by_name['val']._loaded_options = None + _globals['_FLOATFINITE'].fields_by_name['val']._serialized_options = b'\272H\004\n\002@\001' + _globals['_FLOATIGNORE'].fields_by_name['val']._loaded_options = None + _globals['_FLOATIGNORE'].fields_by_name['val']._serialized_options = b'\272H\017\n\n\035\000\000\200C-\000\000\000C\320\001\001' + _globals['_FLOATINCORRECTTYPE'].fields_by_name['val']._loaded_options = None + _globals['_FLOATINCORRECTTYPE'].fields_by_name['val']._serialized_options = b'\272H\013\022\t!\000\000\000\000\000\000\000\000' + _globals['_DOUBLECONST'].fields_by_name['val']._loaded_options = None + _globals['_DOUBLECONST'].fields_by_name['val']._serialized_options = b'\272H\013\022\t\t\256G\341z\024\256\363?' + _globals['_DOUBLEIN'].fields_by_name['val']._loaded_options = None + _globals['_DOUBLEIN'].fields_by_name['val']._serialized_options = b'\272H\024\022\0222\020=\n\327\243p=\022@\217\302\365(\\\217\037@' + _globals['_DOUBLENOTIN'].fields_by_name['val']._loaded_options = None + _globals['_DOUBLENOTIN'].fields_by_name['val']._serialized_options = b'\272H\014\022\n:\010\000\000\000\000\000\000\000\000' + _globals['_DOUBLELT'].fields_by_name['val']._loaded_options = None + _globals['_DOUBLELT'].fields_by_name['val']._serialized_options = b'\272H\013\022\t\021\000\000\000\000\000\000\000\000' + _globals['_DOUBLELTE'].fields_by_name['val']._loaded_options = None + _globals['_DOUBLELTE'].fields_by_name['val']._serialized_options = b'\272H\013\022\t\031\000\000\000\000\000\000P@' + _globals['_DOUBLEGT'].fields_by_name['val']._loaded_options = None + _globals['_DOUBLEGT'].fields_by_name['val']._serialized_options = b'\272H\013\022\t!\000\000\000\000\000\0000@' + _globals['_DOUBLEGTE'].fields_by_name['val']._loaded_options = None + _globals['_DOUBLEGTE'].fields_by_name['val']._serialized_options = b'\272H\013\022\t)\000\000\000\000\000\000 @' + _globals['_DOUBLEGTLT'].fields_by_name['val']._loaded_options = None + _globals['_DOUBLEGTLT'].fields_by_name['val']._serialized_options = b'\272H\024\022\022\021\000\000\000\000\000\000$@!\000\000\000\000\000\000\000\000' + _globals['_DOUBLEEXLTGT'].fields_by_name['val']._loaded_options = None + _globals['_DOUBLEEXLTGT'].fields_by_name['val']._serialized_options = b'\272H\024\022\022\021\000\000\000\000\000\000\000\000!\000\000\000\000\000\000$@' + _globals['_DOUBLEGTELTE'].fields_by_name['val']._loaded_options = None + _globals['_DOUBLEGTELTE'].fields_by_name['val']._serialized_options = b'\272H\024\022\022\031\000\000\000\000\000\000p@)\000\000\000\000\000\000`@' + _globals['_DOUBLEEXGTELTE'].fields_by_name['val']._loaded_options = None + _globals['_DOUBLEEXGTELTE'].fields_by_name['val']._serialized_options = b'\272H\024\022\022\031\000\000\000\000\000\000`@)\000\000\000\000\000\000p@' + _globals['_DOUBLEFINITE'].fields_by_name['val']._loaded_options = None + _globals['_DOUBLEFINITE'].fields_by_name['val']._serialized_options = b'\272H\004\022\002@\001' + _globals['_DOUBLEIGNORE'].fields_by_name['val']._loaded_options = None + _globals['_DOUBLEIGNORE'].fields_by_name['val']._serialized_options = b'\272H\027\022\022\031\000\000\000\000\000\000p@)\000\000\000\000\000\000`@\320\001\001' + _globals['_DOUBLEINCORRECTTYPE'].fields_by_name['val']._loaded_options = None + _globals['_DOUBLEINCORRECTTYPE'].fields_by_name['val']._serialized_options = b'\272H\007\n\005%\000\000\000\000' + _globals['_INT32CONST'].fields_by_name['val']._loaded_options = None + _globals['_INT32CONST'].fields_by_name['val']._serialized_options = b'\272H\004\032\002\010\001' + _globals['_INT32IN'].fields_by_name['val']._loaded_options = None + _globals['_INT32IN'].fields_by_name['val']._serialized_options = b'\272H\006\032\0042\002\002\003' + _globals['_INT32NOTIN'].fields_by_name['val']._loaded_options = None + _globals['_INT32NOTIN'].fields_by_name['val']._serialized_options = b'\272H\005\032\003:\001\000' + _globals['_INT32LT'].fields_by_name['val']._loaded_options = None + _globals['_INT32LT'].fields_by_name['val']._serialized_options = b'\272H\004\032\002\020\000' + _globals['_INT32LTE'].fields_by_name['val']._loaded_options = None + _globals['_INT32LTE'].fields_by_name['val']._serialized_options = b'\272H\004\032\002\030@' + _globals['_INT32GT'].fields_by_name['val']._loaded_options = None + _globals['_INT32GT'].fields_by_name['val']._serialized_options = b'\272H\004\032\002 \020' + _globals['_INT32GTE'].fields_by_name['val']._loaded_options = None + _globals['_INT32GTE'].fields_by_name['val']._serialized_options = b'\272H\004\032\002(\010' + _globals['_INT32GTLT'].fields_by_name['val']._loaded_options = None + _globals['_INT32GTLT'].fields_by_name['val']._serialized_options = b'\272H\006\032\004\020\n \000' + _globals['_INT32EXLTGT'].fields_by_name['val']._loaded_options = None + _globals['_INT32EXLTGT'].fields_by_name['val']._serialized_options = b'\272H\006\032\004\020\000 \n' + _globals['_INT32GTELTE'].fields_by_name['val']._loaded_options = None + _globals['_INT32GTELTE'].fields_by_name['val']._serialized_options = b'\272H\010\032\006\030\200\002(\200\001' + _globals['_INT32EXGTELTE'].fields_by_name['val']._loaded_options = None + _globals['_INT32EXGTELTE'].fields_by_name['val']._serialized_options = b'\272H\010\032\006\030\200\001(\200\002' + _globals['_INT32IGNORE'].fields_by_name['val']._loaded_options = None + _globals['_INT32IGNORE'].fields_by_name['val']._serialized_options = b'\272H\013\032\006\030\200\002(\200\001\320\001\001' + _globals['_INT32INCORRECTTYPE'].fields_by_name['val']._loaded_options = None + _globals['_INT32INCORRECTTYPE'].fields_by_name['val']._serialized_options = b'\272H\007\n\005%\000\000\000\000' + _globals['_INT64CONST'].fields_by_name['val']._loaded_options = None + _globals['_INT64CONST'].fields_by_name['val']._serialized_options = b'\272H\004\"\002\010\001' + _globals['_INT64IN'].fields_by_name['val']._loaded_options = None + _globals['_INT64IN'].fields_by_name['val']._serialized_options = b'\272H\006\"\0042\002\002\003' + _globals['_INT64NOTIN'].fields_by_name['val']._loaded_options = None + _globals['_INT64NOTIN'].fields_by_name['val']._serialized_options = b'\272H\005\"\003:\001\000' + _globals['_INT64LT'].fields_by_name['val']._loaded_options = None + _globals['_INT64LT'].fields_by_name['val']._serialized_options = b'\272H\004\"\002\020\000' + _globals['_INT64LTE'].fields_by_name['val']._loaded_options = None + _globals['_INT64LTE'].fields_by_name['val']._serialized_options = b'\272H\004\"\002\030@' + _globals['_INT64GT'].fields_by_name['val']._loaded_options = None + _globals['_INT64GT'].fields_by_name['val']._serialized_options = b'\272H\004\"\002 \020' + _globals['_INT64GTE'].fields_by_name['val']._loaded_options = None + _globals['_INT64GTE'].fields_by_name['val']._serialized_options = b'\272H\004\"\002(\010' + _globals['_INT64GTLT'].fields_by_name['val']._loaded_options = None + _globals['_INT64GTLT'].fields_by_name['val']._serialized_options = b'\272H\006\"\004\020\n \000' + _globals['_INT64EXLTGT'].fields_by_name['val']._loaded_options = None + _globals['_INT64EXLTGT'].fields_by_name['val']._serialized_options = b'\272H\006\"\004\020\000 \n' + _globals['_INT64GTELTE'].fields_by_name['val']._loaded_options = None + _globals['_INT64GTELTE'].fields_by_name['val']._serialized_options = b'\272H\010\"\006\030\200\002(\200\001' + _globals['_INT64EXGTELTE'].fields_by_name['val']._loaded_options = None + _globals['_INT64EXGTELTE'].fields_by_name['val']._serialized_options = b'\272H\010\"\006\030\200\001(\200\002' + _globals['_INT64IGNORE'].fields_by_name['val']._loaded_options = None + _globals['_INT64IGNORE'].fields_by_name['val']._serialized_options = b'\272H\013\"\006\030\200\002(\200\001\320\001\001' + _globals['_INT64BIGCONSTRAINTS'].fields_by_name['lt_pos']._loaded_options = None + _globals['_INT64BIGCONSTRAINTS'].fields_by_name['lt_pos']._serialized_options = b'\272H\010\"\006\020\246\335\207\244\024' + _globals['_INT64BIGCONSTRAINTS'].fields_by_name['lt_neg']._loaded_options = None + _globals['_INT64BIGCONSTRAINTS'].fields_by_name['lt_neg']._serialized_options = b'\272H\r\"\013\020\332\242\370\333\353\377\377\377\377\001' + _globals['_INT64BIGCONSTRAINTS'].fields_by_name['gt_pos']._loaded_options = None + _globals['_INT64BIGCONSTRAINTS'].fields_by_name['gt_pos']._serialized_options = b'\272H\010\"\006 \246\335\207\244\024' + _globals['_INT64BIGCONSTRAINTS'].fields_by_name['gt_neg']._loaded_options = None + _globals['_INT64BIGCONSTRAINTS'].fields_by_name['gt_neg']._serialized_options = b'\272H\r\"\013 \332\242\370\333\353\377\377\377\377\001' + _globals['_INT64BIGCONSTRAINTS'].fields_by_name['lte_pos']._loaded_options = None + _globals['_INT64BIGCONSTRAINTS'].fields_by_name['lte_pos']._serialized_options = b'\272H\010\"\006\030\246\335\207\244\024' + _globals['_INT64BIGCONSTRAINTS'].fields_by_name['lte_neg']._loaded_options = None + _globals['_INT64BIGCONSTRAINTS'].fields_by_name['lte_neg']._serialized_options = b'\272H\r\"\013\030\332\242\370\333\353\377\377\377\377\001' + _globals['_INT64BIGCONSTRAINTS'].fields_by_name['gte_pos']._loaded_options = None + _globals['_INT64BIGCONSTRAINTS'].fields_by_name['gte_pos']._serialized_options = b'\272H\010\"\006(\246\335\207\244\024' + _globals['_INT64BIGCONSTRAINTS'].fields_by_name['gte_neg']._loaded_options = None + _globals['_INT64BIGCONSTRAINTS'].fields_by_name['gte_neg']._serialized_options = b'\272H\r\"\013(\332\242\370\333\353\377\377\377\377\001' + _globals['_INT64BIGCONSTRAINTS'].fields_by_name['constant_pos']._loaded_options = None + _globals['_INT64BIGCONSTRAINTS'].fields_by_name['constant_pos']._serialized_options = b'\272H\010\"\006\010\246\335\207\244\024' + _globals['_INT64BIGCONSTRAINTS'].fields_by_name['constant_neg']._loaded_options = None + _globals['_INT64BIGCONSTRAINTS'].fields_by_name['constant_neg']._serialized_options = b'\272H\r\"\013\010\332\242\370\333\353\377\377\377\377\001' + _globals['_INT64BIGCONSTRAINTS'].fields_by_name['in']._loaded_options = None + _globals['_INT64BIGCONSTRAINTS'].fields_by_name['in']._serialized_options = b'\272H\023\"\0212\017\246\335\207\244\024\332\242\370\333\353\377\377\377\377\001' + _globals['_INT64BIGCONSTRAINTS'].fields_by_name['notin']._loaded_options = None + _globals['_INT64BIGCONSTRAINTS'].fields_by_name['notin']._serialized_options = b'\272H\023\"\021:\017\246\335\207\244\024\332\242\370\333\353\377\377\377\377\001' + _globals['_INT64INCORRECTTYPE'].fields_by_name['val']._loaded_options = None + _globals['_INT64INCORRECTTYPE'].fields_by_name['val']._serialized_options = b'\272H\007\n\005%\000\000\000\000' + _globals['_UINT32CONST'].fields_by_name['val']._loaded_options = None + _globals['_UINT32CONST'].fields_by_name['val']._serialized_options = b'\272H\004*\002\010\001' + _globals['_UINT32IN'].fields_by_name['val']._loaded_options = None + _globals['_UINT32IN'].fields_by_name['val']._serialized_options = b'\272H\006*\0042\002\002\003' + _globals['_UINT32NOTIN'].fields_by_name['val']._loaded_options = None + _globals['_UINT32NOTIN'].fields_by_name['val']._serialized_options = b'\272H\005*\003:\001\000' + _globals['_UINT32LT'].fields_by_name['val']._loaded_options = None + _globals['_UINT32LT'].fields_by_name['val']._serialized_options = b'\272H\004*\002\020\005' + _globals['_UINT32LTE'].fields_by_name['val']._loaded_options = None + _globals['_UINT32LTE'].fields_by_name['val']._serialized_options = b'\272H\004*\002\030@' + _globals['_UINT32GT'].fields_by_name['val']._loaded_options = None + _globals['_UINT32GT'].fields_by_name['val']._serialized_options = b'\272H\004*\002 \020' + _globals['_UINT32GTE'].fields_by_name['val']._loaded_options = None + _globals['_UINT32GTE'].fields_by_name['val']._serialized_options = b'\272H\004*\002(\010' + _globals['_UINT32GTLT'].fields_by_name['val']._loaded_options = None + _globals['_UINT32GTLT'].fields_by_name['val']._serialized_options = b'\272H\006*\004\020\n \005' + _globals['_UINT32EXLTGT'].fields_by_name['val']._loaded_options = None + _globals['_UINT32EXLTGT'].fields_by_name['val']._serialized_options = b'\272H\006*\004\020\005 \n' + _globals['_UINT32GTELTE'].fields_by_name['val']._loaded_options = None + _globals['_UINT32GTELTE'].fields_by_name['val']._serialized_options = b'\272H\010*\006\030\200\002(\200\001' + _globals['_UINT32EXGTELTE'].fields_by_name['val']._loaded_options = None + _globals['_UINT32EXGTELTE'].fields_by_name['val']._serialized_options = b'\272H\010*\006\030\200\001(\200\002' + _globals['_UINT32IGNORE'].fields_by_name['val']._loaded_options = None + _globals['_UINT32IGNORE'].fields_by_name['val']._serialized_options = b'\272H\013*\006\030\200\002(\200\001\320\001\001' + _globals['_UINT32INCORRECTTYPE'].fields_by_name['val']._loaded_options = None + _globals['_UINT32INCORRECTTYPE'].fields_by_name['val']._serialized_options = b'\272H\007\n\005%\000\000\000\000' + _globals['_UINT64CONST'].fields_by_name['val']._loaded_options = None + _globals['_UINT64CONST'].fields_by_name['val']._serialized_options = b'\272H\0042\002\010\001' + _globals['_UINT64IN'].fields_by_name['val']._loaded_options = None + _globals['_UINT64IN'].fields_by_name['val']._serialized_options = b'\272H\0062\0042\002\002\003' + _globals['_UINT64NOTIN'].fields_by_name['val']._loaded_options = None + _globals['_UINT64NOTIN'].fields_by_name['val']._serialized_options = b'\272H\0052\003:\001\000' + _globals['_UINT64LT'].fields_by_name['val']._loaded_options = None + _globals['_UINT64LT'].fields_by_name['val']._serialized_options = b'\272H\0042\002\020\005' + _globals['_UINT64LTE'].fields_by_name['val']._loaded_options = None + _globals['_UINT64LTE'].fields_by_name['val']._serialized_options = b'\272H\0042\002\030@' + _globals['_UINT64GT'].fields_by_name['val']._loaded_options = None + _globals['_UINT64GT'].fields_by_name['val']._serialized_options = b'\272H\0042\002 \020' + _globals['_UINT64GTE'].fields_by_name['val']._loaded_options = None + _globals['_UINT64GTE'].fields_by_name['val']._serialized_options = b'\272H\0042\002(\010' + _globals['_UINT64GTLT'].fields_by_name['val']._loaded_options = None + _globals['_UINT64GTLT'].fields_by_name['val']._serialized_options = b'\272H\0062\004\020\n \005' + _globals['_UINT64EXLTGT'].fields_by_name['val']._loaded_options = None + _globals['_UINT64EXLTGT'].fields_by_name['val']._serialized_options = b'\272H\0062\004\020\005 \n' + _globals['_UINT64GTELTE'].fields_by_name['val']._loaded_options = None + _globals['_UINT64GTELTE'].fields_by_name['val']._serialized_options = b'\272H\0102\006\030\200\002(\200\001' + _globals['_UINT64EXGTELTE'].fields_by_name['val']._loaded_options = None + _globals['_UINT64EXGTELTE'].fields_by_name['val']._serialized_options = b'\272H\0102\006\030\200\001(\200\002' + _globals['_UINT64IGNORE'].fields_by_name['val']._loaded_options = None + _globals['_UINT64IGNORE'].fields_by_name['val']._serialized_options = b'\272H\0132\006\030\200\002(\200\001\320\001\001' + _globals['_UINT64INCORRECTTYPE'].fields_by_name['val']._loaded_options = None + _globals['_UINT64INCORRECTTYPE'].fields_by_name['val']._serialized_options = b'\272H\007\n\005%\000\000\000\000' + _globals['_SINT32CONST'].fields_by_name['val']._loaded_options = None + _globals['_SINT32CONST'].fields_by_name['val']._serialized_options = b'\272H\004:\002\010\002' + _globals['_SINT32IN'].fields_by_name['val']._loaded_options = None + _globals['_SINT32IN'].fields_by_name['val']._serialized_options = b'\272H\006:\0042\002\004\006' + _globals['_SINT32NOTIN'].fields_by_name['val']._loaded_options = None + _globals['_SINT32NOTIN'].fields_by_name['val']._serialized_options = b'\272H\005:\003:\001\000' + _globals['_SINT32LT'].fields_by_name['val']._loaded_options = None + _globals['_SINT32LT'].fields_by_name['val']._serialized_options = b'\272H\004:\002\020\000' + _globals['_SINT32LTE'].fields_by_name['val']._loaded_options = None + _globals['_SINT32LTE'].fields_by_name['val']._serialized_options = b'\272H\005:\003\030\200\001' + _globals['_SINT32GT'].fields_by_name['val']._loaded_options = None + _globals['_SINT32GT'].fields_by_name['val']._serialized_options = b'\272H\004:\002 ' + _globals['_SINT32GTE'].fields_by_name['val']._loaded_options = None + _globals['_SINT32GTE'].fields_by_name['val']._serialized_options = b'\272H\004:\002(\020' + _globals['_SINT32GTLT'].fields_by_name['val']._loaded_options = None + _globals['_SINT32GTLT'].fields_by_name['val']._serialized_options = b'\272H\006:\004\020\024 \000' + _globals['_SINT32EXLTGT'].fields_by_name['val']._loaded_options = None + _globals['_SINT32EXLTGT'].fields_by_name['val']._serialized_options = b'\272H\006:\004\020\000 \024' + _globals['_SINT32GTELTE'].fields_by_name['val']._loaded_options = None + _globals['_SINT32GTELTE'].fields_by_name['val']._serialized_options = b'\272H\010:\006\030\200\004(\200\002' + _globals['_SINT32EXGTELTE'].fields_by_name['val']._loaded_options = None + _globals['_SINT32EXGTELTE'].fields_by_name['val']._serialized_options = b'\272H\010:\006\030\200\002(\200\004' + _globals['_SINT32IGNORE'].fields_by_name['val']._loaded_options = None + _globals['_SINT32IGNORE'].fields_by_name['val']._serialized_options = b'\272H\013:\006\030\200\004(\200\002\320\001\001' + _globals['_SINT32INCORRECTTYPE'].fields_by_name['val']._loaded_options = None + _globals['_SINT32INCORRECTTYPE'].fields_by_name['val']._serialized_options = b'\272H\007\n\005%\000\000\000\000' + _globals['_SINT64CONST'].fields_by_name['val']._loaded_options = None + _globals['_SINT64CONST'].fields_by_name['val']._serialized_options = b'\272H\004B\002\010\002' + _globals['_SINT64IN'].fields_by_name['val']._loaded_options = None + _globals['_SINT64IN'].fields_by_name['val']._serialized_options = b'\272H\006B\0042\002\004\006' + _globals['_SINT64NOTIN'].fields_by_name['val']._loaded_options = None + _globals['_SINT64NOTIN'].fields_by_name['val']._serialized_options = b'\272H\005B\003:\001\000' + _globals['_SINT64LT'].fields_by_name['val']._loaded_options = None + _globals['_SINT64LT'].fields_by_name['val']._serialized_options = b'\272H\004B\002\020\000' + _globals['_SINT64LTE'].fields_by_name['val']._loaded_options = None + _globals['_SINT64LTE'].fields_by_name['val']._serialized_options = b'\272H\005B\003\030\200\001' + _globals['_SINT64GT'].fields_by_name['val']._loaded_options = None + _globals['_SINT64GT'].fields_by_name['val']._serialized_options = b'\272H\004B\002 ' + _globals['_SINT64GTE'].fields_by_name['val']._loaded_options = None + _globals['_SINT64GTE'].fields_by_name['val']._serialized_options = b'\272H\004B\002(\020' + _globals['_SINT64GTLT'].fields_by_name['val']._loaded_options = None + _globals['_SINT64GTLT'].fields_by_name['val']._serialized_options = b'\272H\006B\004\020\024 \000' + _globals['_SINT64EXLTGT'].fields_by_name['val']._loaded_options = None + _globals['_SINT64EXLTGT'].fields_by_name['val']._serialized_options = b'\272H\006B\004\020\000 \024' + _globals['_SINT64GTELTE'].fields_by_name['val']._loaded_options = None + _globals['_SINT64GTELTE'].fields_by_name['val']._serialized_options = b'\272H\010B\006\030\200\004(\200\002' + _globals['_SINT64EXGTELTE'].fields_by_name['val']._loaded_options = None + _globals['_SINT64EXGTELTE'].fields_by_name['val']._serialized_options = b'\272H\010B\006\030\200\002(\200\004' + _globals['_SINT64IGNORE'].fields_by_name['val']._loaded_options = None + _globals['_SINT64IGNORE'].fields_by_name['val']._serialized_options = b'\272H\013B\006\030\200\004(\200\002\320\001\001' + _globals['_SINT64INCORRECTTYPE'].fields_by_name['val']._loaded_options = None + _globals['_SINT64INCORRECTTYPE'].fields_by_name['val']._serialized_options = b'\272H\007\n\005%\000\000\000\000' + _globals['_FIXED32CONST'].fields_by_name['val']._loaded_options = None + _globals['_FIXED32CONST'].fields_by_name['val']._serialized_options = b'\272H\007J\005\r\001\000\000\000' + _globals['_FIXED32IN'].fields_by_name['val']._loaded_options = None + _globals['_FIXED32IN'].fields_by_name['val']._serialized_options = b'\272H\014J\n2\010\002\000\000\000\003\000\000\000' + _globals['_FIXED32NOTIN'].fields_by_name['val']._loaded_options = None + _globals['_FIXED32NOTIN'].fields_by_name['val']._serialized_options = b'\272H\010J\006:\004\000\000\000\000' + _globals['_FIXED32LT'].fields_by_name['val']._loaded_options = None + _globals['_FIXED32LT'].fields_by_name['val']._serialized_options = b'\272H\007J\005\025\005\000\000\000' + _globals['_FIXED32LTE'].fields_by_name['val']._loaded_options = None + _globals['_FIXED32LTE'].fields_by_name['val']._serialized_options = b'\272H\007J\005\035@\000\000\000' + _globals['_FIXED32GT'].fields_by_name['val']._loaded_options = None + _globals['_FIXED32GT'].fields_by_name['val']._serialized_options = b'\272H\007J\005%\020\000\000\000' + _globals['_FIXED32GTE'].fields_by_name['val']._loaded_options = None + _globals['_FIXED32GTE'].fields_by_name['val']._serialized_options = b'\272H\007J\005-\010\000\000\000' + _globals['_FIXED32GTLT'].fields_by_name['val']._loaded_options = None + _globals['_FIXED32GTLT'].fields_by_name['val']._serialized_options = b'\272H\014J\n\025\n\000\000\000%\005\000\000\000' + _globals['_FIXED32EXLTGT'].fields_by_name['val']._loaded_options = None + _globals['_FIXED32EXLTGT'].fields_by_name['val']._serialized_options = b'\272H\014J\n\025\005\000\000\000%\n\000\000\000' + _globals['_FIXED32GTELTE'].fields_by_name['val']._loaded_options = None + _globals['_FIXED32GTELTE'].fields_by_name['val']._serialized_options = b'\272H\014J\n\035\000\001\000\000-\200\000\000\000' + _globals['_FIXED32EXGTELTE'].fields_by_name['val']._loaded_options = None + _globals['_FIXED32EXGTELTE'].fields_by_name['val']._serialized_options = b'\272H\014J\n\035\200\000\000\000-\000\001\000\000' + _globals['_FIXED32IGNORE'].fields_by_name['val']._loaded_options = None + _globals['_FIXED32IGNORE'].fields_by_name['val']._serialized_options = b'\272H\017J\n\035\000\001\000\000-\200\000\000\000\320\001\001' + _globals['_FIXED32INCORRECTTYPE'].fields_by_name['val']._loaded_options = None + _globals['_FIXED32INCORRECTTYPE'].fields_by_name['val']._serialized_options = b'\272H\007\n\005%\000\000\000\000' + _globals['_FIXED64CONST'].fields_by_name['val']._loaded_options = None + _globals['_FIXED64CONST'].fields_by_name['val']._serialized_options = b'\272H\013R\t\t\001\000\000\000\000\000\000\000' + _globals['_FIXED64IN'].fields_by_name['val']._loaded_options = None + _globals['_FIXED64IN'].fields_by_name['val']._serialized_options = b'\272H\024R\0222\020\002\000\000\000\000\000\000\000\003\000\000\000\000\000\000\000' + _globals['_FIXED64NOTIN'].fields_by_name['val']._loaded_options = None + _globals['_FIXED64NOTIN'].fields_by_name['val']._serialized_options = b'\272H\014R\n:\010\000\000\000\000\000\000\000\000' + _globals['_FIXED64LT'].fields_by_name['val']._loaded_options = None + _globals['_FIXED64LT'].fields_by_name['val']._serialized_options = b'\272H\013R\t\021\005\000\000\000\000\000\000\000' + _globals['_FIXED64LTE'].fields_by_name['val']._loaded_options = None + _globals['_FIXED64LTE'].fields_by_name['val']._serialized_options = b'\272H\013R\t\031@\000\000\000\000\000\000\000' + _globals['_FIXED64GT'].fields_by_name['val']._loaded_options = None + _globals['_FIXED64GT'].fields_by_name['val']._serialized_options = b'\272H\013R\t!\020\000\000\000\000\000\000\000' + _globals['_FIXED64GTE'].fields_by_name['val']._loaded_options = None + _globals['_FIXED64GTE'].fields_by_name['val']._serialized_options = b'\272H\013R\t)\010\000\000\000\000\000\000\000' + _globals['_FIXED64GTLT'].fields_by_name['val']._loaded_options = None + _globals['_FIXED64GTLT'].fields_by_name['val']._serialized_options = b'\272H\024R\022\021\n\000\000\000\000\000\000\000!\005\000\000\000\000\000\000\000' + _globals['_FIXED64EXLTGT'].fields_by_name['val']._loaded_options = None + _globals['_FIXED64EXLTGT'].fields_by_name['val']._serialized_options = b'\272H\024R\022\021\005\000\000\000\000\000\000\000!\n\000\000\000\000\000\000\000' + _globals['_FIXED64GTELTE'].fields_by_name['val']._loaded_options = None + _globals['_FIXED64GTELTE'].fields_by_name['val']._serialized_options = b'\272H\024R\022\031\000\001\000\000\000\000\000\000)\200\000\000\000\000\000\000\000' + _globals['_FIXED64EXGTELTE'].fields_by_name['val']._loaded_options = None + _globals['_FIXED64EXGTELTE'].fields_by_name['val']._serialized_options = b'\272H\024R\022\031\200\000\000\000\000\000\000\000)\000\001\000\000\000\000\000\000' + _globals['_FIXED64IGNORE'].fields_by_name['val']._loaded_options = None + _globals['_FIXED64IGNORE'].fields_by_name['val']._serialized_options = b'\272H\027R\022\031\000\001\000\000\000\000\000\000)\200\000\000\000\000\000\000\000\320\001\001' + _globals['_FIXED64INCORRECTTYPE'].fields_by_name['val']._loaded_options = None + _globals['_FIXED64INCORRECTTYPE'].fields_by_name['val']._serialized_options = b'\272H\007\n\005%\000\000\000\000' + _globals['_SFIXED32CONST'].fields_by_name['val']._loaded_options = None + _globals['_SFIXED32CONST'].fields_by_name['val']._serialized_options = b'\272H\007Z\005\r\001\000\000\000' + _globals['_SFIXED32IN'].fields_by_name['val']._loaded_options = None + _globals['_SFIXED32IN'].fields_by_name['val']._serialized_options = b'\272H\014Z\n2\010\002\000\000\000\003\000\000\000' + _globals['_SFIXED32NOTIN'].fields_by_name['val']._loaded_options = None + _globals['_SFIXED32NOTIN'].fields_by_name['val']._serialized_options = b'\272H\010Z\006:\004\000\000\000\000' + _globals['_SFIXED32LT'].fields_by_name['val']._loaded_options = None + _globals['_SFIXED32LT'].fields_by_name['val']._serialized_options = b'\272H\007Z\005\025\000\000\000\000' + _globals['_SFIXED32LTE'].fields_by_name['val']._loaded_options = None + _globals['_SFIXED32LTE'].fields_by_name['val']._serialized_options = b'\272H\007Z\005\035@\000\000\000' + _globals['_SFIXED32GT'].fields_by_name['val']._loaded_options = None + _globals['_SFIXED32GT'].fields_by_name['val']._serialized_options = b'\272H\007Z\005%\020\000\000\000' + _globals['_SFIXED32GTE'].fields_by_name['val']._loaded_options = None + _globals['_SFIXED32GTE'].fields_by_name['val']._serialized_options = b'\272H\007Z\005-\010\000\000\000' + _globals['_SFIXED32GTLT'].fields_by_name['val']._loaded_options = None + _globals['_SFIXED32GTLT'].fields_by_name['val']._serialized_options = b'\272H\014Z\n\025\n\000\000\000%\000\000\000\000' + _globals['_SFIXED32EXLTGT'].fields_by_name['val']._loaded_options = None + _globals['_SFIXED32EXLTGT'].fields_by_name['val']._serialized_options = b'\272H\014Z\n\025\000\000\000\000%\n\000\000\000' + _globals['_SFIXED32GTELTE'].fields_by_name['val']._loaded_options = None + _globals['_SFIXED32GTELTE'].fields_by_name['val']._serialized_options = b'\272H\014Z\n\035\000\001\000\000-\200\000\000\000' + _globals['_SFIXED32EXGTELTE'].fields_by_name['val']._loaded_options = None + _globals['_SFIXED32EXGTELTE'].fields_by_name['val']._serialized_options = b'\272H\014Z\n\035\200\000\000\000-\000\001\000\000' + _globals['_SFIXED32IGNORE'].fields_by_name['val']._loaded_options = None + _globals['_SFIXED32IGNORE'].fields_by_name['val']._serialized_options = b'\272H\017Z\n\035\000\001\000\000-\200\000\000\000\320\001\001' + _globals['_SFIXED32INCORRECTTYPE'].fields_by_name['val']._loaded_options = None + _globals['_SFIXED32INCORRECTTYPE'].fields_by_name['val']._serialized_options = b'\272H\007\n\005%\000\000\000\000' + _globals['_SFIXED64CONST'].fields_by_name['val']._loaded_options = None + _globals['_SFIXED64CONST'].fields_by_name['val']._serialized_options = b'\272H\013b\t\t\001\000\000\000\000\000\000\000' + _globals['_SFIXED64IN'].fields_by_name['val']._loaded_options = None + _globals['_SFIXED64IN'].fields_by_name['val']._serialized_options = b'\272H\024b\0222\020\002\000\000\000\000\000\000\000\003\000\000\000\000\000\000\000' + _globals['_SFIXED64NOTIN'].fields_by_name['val']._loaded_options = None + _globals['_SFIXED64NOTIN'].fields_by_name['val']._serialized_options = b'\272H\014b\n:\010\000\000\000\000\000\000\000\000' + _globals['_SFIXED64LT'].fields_by_name['val']._loaded_options = None + _globals['_SFIXED64LT'].fields_by_name['val']._serialized_options = b'\272H\013b\t\021\000\000\000\000\000\000\000\000' + _globals['_SFIXED64LTE'].fields_by_name['val']._loaded_options = None + _globals['_SFIXED64LTE'].fields_by_name['val']._serialized_options = b'\272H\013b\t\031@\000\000\000\000\000\000\000' + _globals['_SFIXED64GT'].fields_by_name['val']._loaded_options = None + _globals['_SFIXED64GT'].fields_by_name['val']._serialized_options = b'\272H\013b\t!\020\000\000\000\000\000\000\000' + _globals['_SFIXED64GTE'].fields_by_name['val']._loaded_options = None + _globals['_SFIXED64GTE'].fields_by_name['val']._serialized_options = b'\272H\013b\t)\010\000\000\000\000\000\000\000' + _globals['_SFIXED64GTLT'].fields_by_name['val']._loaded_options = None + _globals['_SFIXED64GTLT'].fields_by_name['val']._serialized_options = b'\272H\024b\022\021\n\000\000\000\000\000\000\000!\000\000\000\000\000\000\000\000' + _globals['_SFIXED64EXLTGT'].fields_by_name['val']._loaded_options = None + _globals['_SFIXED64EXLTGT'].fields_by_name['val']._serialized_options = b'\272H\024b\022\021\000\000\000\000\000\000\000\000!\n\000\000\000\000\000\000\000' + _globals['_SFIXED64GTELTE'].fields_by_name['val']._loaded_options = None + _globals['_SFIXED64GTELTE'].fields_by_name['val']._serialized_options = b'\272H\024b\022\031\000\001\000\000\000\000\000\000)\200\000\000\000\000\000\000\000' + _globals['_SFIXED64EXGTELTE'].fields_by_name['val']._loaded_options = None + _globals['_SFIXED64EXGTELTE'].fields_by_name['val']._serialized_options = b'\272H\024b\022\031\200\000\000\000\000\000\000\000)\000\001\000\000\000\000\000\000' + _globals['_SFIXED64IGNORE'].fields_by_name['val']._loaded_options = None + _globals['_SFIXED64IGNORE'].fields_by_name['val']._serialized_options = b'\272H\027b\022\031\000\001\000\000\000\000\000\000)\200\000\000\000\000\000\000\000\320\001\001' + _globals['_SFIXED64INCORRECTTYPE'].fields_by_name['val']._loaded_options = None + _globals['_SFIXED64INCORRECTTYPE'].fields_by_name['val']._serialized_options = b'\272H\007\n\005%\000\000\000\000' + _globals['_INT64LTEOPTIONAL'].fields_by_name['val']._loaded_options = None + _globals['_INT64LTEOPTIONAL'].fields_by_name['val']._serialized_options = b'\272H\004\"\002\030@' _globals['_FLOATNONE']._serialized_start=109 _globals['_FLOATNONE']._serialized_end=138 _globals['_FLOATCONST']._serialized_start=140 diff --git a/gen/buf/validate/conformance/cases/numbers_pb2.pyi b/gen/buf/validate/conformance/cases/numbers_pb2.pyi index e7c2546..8241b19 100644 --- a/gen/buf/validate/conformance/cases/numbers_pb2.pyi +++ b/gen/buf/validate/conformance/cases/numbers_pb2.pyi @@ -20,349 +20,349 @@ from typing import ClassVar as _ClassVar, Optional as _Optional DESCRIPTOR: _descriptor.FileDescriptor class FloatNone(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class FloatConst(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class FloatIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class FloatNotIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class FloatLT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class FloatLTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class FloatGT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class FloatGTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class FloatGTLT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class FloatExLTGT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class FloatGTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class FloatExGTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class FloatFinite(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class FloatIgnore(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class FloatIncorrectType(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class DoubleNone(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class DoubleConst(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class DoubleIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class DoubleNotIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class DoubleLT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class DoubleLTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class DoubleGT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class DoubleGTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class DoubleGTLT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class DoubleExLTGT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class DoubleGTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class DoubleExGTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class DoubleFinite(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class DoubleIgnore(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class DoubleIncorrectType(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: float def __init__(self, val: _Optional[float] = ...) -> None: ... class Int32None(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int32Const(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int32In(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int32NotIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int32LT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int32LTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int32GT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int32GTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int32GTLT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int32ExLTGT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int32GTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int32ExGTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int32Ignore(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int32IncorrectType(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int64None(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int64Const(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int64In(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int64NotIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int64LT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int64LTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int64GT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int64GTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int64GTLT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int64ExLTGT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int64GTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int64ExGTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int64Ignore(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int64BigConstraints(_message.Message): - __slots__ = ["lt_pos", "lt_neg", "gt_pos", "gt_neg", "lte_pos", "lte_neg", "gte_pos", "gte_neg", "constant_pos", "constant_neg", "notin"] + __slots__ = ("lt_pos", "lt_neg", "gt_pos", "gt_neg", "lte_pos", "lte_neg", "gte_pos", "gte_neg", "constant_pos", "constant_neg", "notin") LT_POS_FIELD_NUMBER: _ClassVar[int] LT_NEG_FIELD_NUMBER: _ClassVar[int] GT_POS_FIELD_NUMBER: _ClassVar[int] @@ -389,685 +389,685 @@ class Int64BigConstraints(_message.Message): def __init__(self, lt_pos: _Optional[int] = ..., lt_neg: _Optional[int] = ..., gt_pos: _Optional[int] = ..., gt_neg: _Optional[int] = ..., lte_pos: _Optional[int] = ..., lte_neg: _Optional[int] = ..., gte_pos: _Optional[int] = ..., gte_neg: _Optional[int] = ..., constant_pos: _Optional[int] = ..., constant_neg: _Optional[int] = ..., notin: _Optional[int] = ..., **kwargs) -> None: ... class Int64IncorrectType(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt32None(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt32Const(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt32In(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt32NotIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt32LT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt32LTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt32GT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt32GTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt32GTLT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt32ExLTGT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt32GTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt32ExGTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt32Ignore(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt32IncorrectType(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt64None(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt64Const(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt64In(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt64NotIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt64LT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt64LTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt64GT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt64GTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt64GTLT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt64ExLTGT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt64GTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt64ExGTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt64Ignore(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class UInt64IncorrectType(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt32None(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt32Const(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt32In(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt32NotIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt32LT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt32LTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt32GT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt32GTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt32GTLT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt32ExLTGT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt32GTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt32ExGTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt32Ignore(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt32IncorrectType(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt64None(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt64Const(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt64In(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt64NotIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt64LT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt64LTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt64GT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt64GTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt64GTLT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt64ExLTGT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt64GTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt64ExGTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt64Ignore(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SInt64IncorrectType(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed32None(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed32Const(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed32In(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed32NotIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed32LT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed32LTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed32GT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed32GTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed32GTLT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed32ExLTGT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed32GTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed32ExGTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed32Ignore(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed32IncorrectType(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed64None(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed64Const(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed64In(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed64NotIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed64LT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed64LTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed64GT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed64GTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed64GTLT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed64ExLTGT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed64GTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed64ExGTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed64Ignore(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Fixed64IncorrectType(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed32None(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed32Const(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed32In(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed32NotIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed32LT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed32LTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed32GT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed32GTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed32GTLT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed32ExLTGT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed32GTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed32ExGTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed32Ignore(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed32IncorrectType(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed64None(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed64Const(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed64In(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed64NotIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed64LT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed64LTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed64GT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed64GTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed64GTLT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed64ExLTGT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed64GTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed64ExGTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed64Ignore(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class SFixed64IncorrectType(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class Int64LTEOptional(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... diff --git a/gen/buf/validate/conformance/cases/oneofs_pb2.py b/gen/buf/validate/conformance/cases/oneofs_pb2.py index 02126a6..02aefb8 100644 --- a/gen/buf/validate/conformance/cases/oneofs_pb2.py +++ b/gen/buf/validate/conformance/cases/oneofs_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/conformance/cases/oneofs.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/oneofs.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -33,21 +44,20 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.oneofs_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _TESTONEOFMSG.fields_by_name['val']._options = None - _TESTONEOFMSG.fields_by_name['val']._serialized_options = b'\272H\004j\002\010\001' - _ONEOF.fields_by_name['x']._options = None - _ONEOF.fields_by_name['x']._serialized_options = b'\272H\007r\005:\003foo' - _ONEOF.fields_by_name['y']._options = None - _ONEOF.fields_by_name['y']._serialized_options = b'\272H\004\032\002 \000' - _ONEOFREQUIRED.oneofs_by_name['o']._options = None - _ONEOFREQUIRED.oneofs_by_name['o']._serialized_options = b'\272H\002\010\001' - _ONEOFREQUIREDWITHREQUIREDFIELD.oneofs_by_name['o']._options = None - _ONEOFREQUIREDWITHREQUIREDFIELD.oneofs_by_name['o']._serialized_options = b'\272H\002\010\001' - _ONEOFREQUIREDWITHREQUIREDFIELD.fields_by_name['a']._options = None - _ONEOFREQUIREDWITHREQUIREDFIELD.fields_by_name['a']._serialized_options = b'\272H\003\310\001\001' +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_TESTONEOFMSG'].fields_by_name['val']._loaded_options = None + _globals['_TESTONEOFMSG'].fields_by_name['val']._serialized_options = b'\272H\004j\002\010\001' + _globals['_ONEOF'].fields_by_name['x']._loaded_options = None + _globals['_ONEOF'].fields_by_name['x']._serialized_options = b'\272H\007r\005:\003foo' + _globals['_ONEOF'].fields_by_name['y']._loaded_options = None + _globals['_ONEOF'].fields_by_name['y']._serialized_options = b'\272H\004\032\002 \000' + _globals['_ONEOFREQUIRED'].oneofs_by_name['o']._loaded_options = None + _globals['_ONEOFREQUIRED'].oneofs_by_name['o']._serialized_options = b'\272H\002\010\001' + _globals['_ONEOFREQUIREDWITHREQUIREDFIELD'].oneofs_by_name['o']._loaded_options = None + _globals['_ONEOFREQUIREDWITHREQUIREDFIELD'].oneofs_by_name['o']._serialized_options = b'\272H\002\010\001' + _globals['_ONEOFREQUIREDWITHREQUIREDFIELD'].fields_by_name['a']._loaded_options = None + _globals['_ONEOFREQUIREDWITHREQUIREDFIELD'].fields_by_name['a']._serialized_options = b'\272H\003\310\001\001' _globals['_TESTONEOFMSG']._serialized_start=108 _globals['_TESTONEOFMSG']._serialized_end=149 _globals['_ONEOFNONE']._serialized_start=151 diff --git a/gen/buf/validate/conformance/cases/oneofs_pb2.pyi b/gen/buf/validate/conformance/cases/oneofs_pb2.pyi index af02888..0ffd633 100644 --- a/gen/buf/validate/conformance/cases/oneofs_pb2.pyi +++ b/gen/buf/validate/conformance/cases/oneofs_pb2.pyi @@ -20,13 +20,13 @@ from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Opti DESCRIPTOR: _descriptor.FileDescriptor class TestOneofMsg(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: bool def __init__(self, val: bool = ...) -> None: ... class OneofNone(_message.Message): - __slots__ = ["x", "y"] + __slots__ = ("x", "y") X_FIELD_NUMBER: _ClassVar[int] Y_FIELD_NUMBER: _ClassVar[int] x: str @@ -34,7 +34,7 @@ class OneofNone(_message.Message): def __init__(self, x: _Optional[str] = ..., y: _Optional[int] = ...) -> None: ... class Oneof(_message.Message): - __slots__ = ["x", "y", "z"] + __slots__ = ("x", "y", "z") X_FIELD_NUMBER: _ClassVar[int] Y_FIELD_NUMBER: _ClassVar[int] Z_FIELD_NUMBER: _ClassVar[int] @@ -44,7 +44,7 @@ class Oneof(_message.Message): def __init__(self, x: _Optional[str] = ..., y: _Optional[int] = ..., z: _Optional[_Union[TestOneofMsg, _Mapping]] = ...) -> None: ... class OneofRequired(_message.Message): - __slots__ = ["x", "y", "name_with_underscores", "under_and_1_number"] + __slots__ = ("x", "y", "name_with_underscores", "under_and_1_number") X_FIELD_NUMBER: _ClassVar[int] Y_FIELD_NUMBER: _ClassVar[int] NAME_WITH_UNDERSCORES_FIELD_NUMBER: _ClassVar[int] @@ -56,7 +56,7 @@ class OneofRequired(_message.Message): def __init__(self, x: _Optional[str] = ..., y: _Optional[int] = ..., name_with_underscores: _Optional[int] = ..., under_and_1_number: _Optional[int] = ...) -> None: ... class OneofRequiredWithRequiredField(_message.Message): - __slots__ = ["a", "b"] + __slots__ = ("a", "b") A_FIELD_NUMBER: _ClassVar[int] B_FIELD_NUMBER: _ClassVar[int] a: str diff --git a/gen/buf/validate/conformance/cases/other_package/embed_pb2.py b/gen/buf/validate/conformance/cases/other_package/embed_pb2.py index a7c70f7..7669599 100644 --- a/gen/buf/validate/conformance/cases/other_package/embed_pb2.py +++ b/gen/buf/validate/conformance/cases/other_package/embed_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/conformance/cases/other_package/embed.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/other_package/embed.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -33,11 +44,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.other_package.embed_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _EMBED.fields_by_name['val']._options = None - _EMBED.fields_by_name['val']._serialized_options = b'\272H\004\"\002 \000' +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_EMBED'].fields_by_name['val']._loaded_options = None + _globals['_EMBED'].fields_by_name['val']._serialized_options = b'\272H\004\"\002 \000' _globals['_EMBED']._serialized_start=136 _globals['_EMBED']._serialized_end=333 _globals['_EMBED_DOUBLEEMBED']._serialized_start=172 diff --git a/gen/buf/validate/conformance/cases/other_package/embed_pb2.pyi b/gen/buf/validate/conformance/cases/other_package/embed_pb2.pyi index feddd45..93c2315 100644 --- a/gen/buf/validate/conformance/cases/other_package/embed_pb2.pyi +++ b/gen/buf/validate/conformance/cases/other_package/embed_pb2.pyi @@ -21,17 +21,17 @@ from typing import ClassVar as _ClassVar, Optional as _Optional DESCRIPTOR: _descriptor.FileDescriptor class Embed(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class Enumerated(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] + __slots__ = () ENUMERATED_UNSPECIFIED: _ClassVar[Embed.Enumerated] ENUMERATED_VALUE: _ClassVar[Embed.Enumerated] ENUMERATED_UNSPECIFIED: Embed.Enumerated ENUMERATED_VALUE: Embed.Enumerated class DoubleEmbed(_message.Message): - __slots__ = [] + __slots__ = () class DoubleEnumerated(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] + __slots__ = () DOUBLE_ENUMERATED_UNSPECIFIED: _ClassVar[Embed.DoubleEmbed.DoubleEnumerated] DOUBLE_ENUMERATED_VALUE: _ClassVar[Embed.DoubleEmbed.DoubleEnumerated] DOUBLE_ENUMERATED_UNSPECIFIED: Embed.DoubleEmbed.DoubleEnumerated diff --git a/gen/buf/validate/conformance/cases/repeated_pb2.py b/gen/buf/validate/conformance/cases/repeated_pb2.py index c82f9a5..cd27490 100644 --- a/gen/buf/validate/conformance/cases/repeated_pb2.py +++ b/gen/buf/validate/conformance/cases/repeated_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/conformance/cases/repeated.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/repeated.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -31,60 +42,59 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-buf/validate/conformance/cases/repeated.proto\x12\x1e\x62uf.validate.conformance.cases\x1a\x38\x62uf/validate/conformance/cases/other_package/embed.proto\x1a\x1b\x62uf/validate/validate.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\"\"\n\x05\x45mbed\x12\x19\n\x03val\x18\x01 \x01(\x03\x42\x07\xbaH\x04\"\x02 \x00R\x03val\" \n\x0cRepeatedNone\x12\x10\n\x03val\x18\x01 \x03(\x03R\x03val\"L\n\x11RepeatedEmbedNone\x12\x37\n\x03val\x18\x01 \x03(\x0b\x32%.buf.validate.conformance.cases.EmbedR\x03val\"f\n\x1dRepeatedEmbedCrossPackageNone\x12\x45\n\x03val\x18\x01 \x03(\x0b\x32\x33.buf.validate.conformance.cases.other_package.EmbedR\x03val\"P\n\x0bRepeatedMin\x12\x41\n\x03val\x18\x01 \x03(\x0b\x32%.buf.validate.conformance.cases.EmbedB\x08\xbaH\x05\x92\x01\x02\x08\x02R\x03val\")\n\x0bRepeatedMax\x12\x1a\n\x03val\x18\x01 \x03(\x01\x42\x08\xbaH\x05\x92\x01\x02\x10\x03R\x03val\".\n\x0eRepeatedMinMax\x12\x1c\n\x03val\x18\x01 \x03(\x0f\x42\n\xbaH\x07\x92\x01\x04\x08\x02\x10\x04R\x03val\"-\n\rRepeatedExact\x12\x1c\n\x03val\x18\x01 \x03(\rB\n\xbaH\x07\x92\x01\x04\x08\x03\x10\x03R\x03val\",\n\x0eRepeatedUnique\x12\x1a\n\x03val\x18\x01 \x03(\tB\x08\xbaH\x05\x92\x01\x02\x18\x01R\x03val\"H\n\x16RepeatedMultipleUnique\x12\x16\n\x01\x61\x18\x01 \x03(\tB\x08\xbaH\x05\x92\x01\x02\x18\x01R\x01\x61\x12\x16\n\x01\x62\x18\x02 \x03(\x05\x42\x08\xbaH\x05\x92\x01\x02\x18\x01R\x01\x62\"5\n\x10RepeatedItemRule\x12!\n\x03val\x18\x01 \x03(\x02\x42\x0f\xbaH\x0c\x92\x01\t\"\x07\n\x05%\x00\x00\x00\x00R\x03val\"D\n\x13RepeatedItemPattern\x12-\n\x03val\x18\x01 \x03(\tB\x1b\xbaH\x18\x92\x01\x15\"\x13r\x11\x32\x0f(?i)^[a-z0-9]+$R\x03val\"Y\n\x11RepeatedEmbedSkip\x12\x44\n\x03val\x18\x01 \x03(\x0b\x32%.buf.validate.conformance.cases.EmbedB\x0b\xbaH\x08\x92\x01\x05\"\x03\xc0\x01\x01R\x03val\"8\n\x0eRepeatedItemIn\x12&\n\x03val\x18\x01 \x03(\tB\x14\xbaH\x11\x92\x01\x0e\"\x0cr\nR\x03\x66ooR\x03\x62\x61rR\x03val\";\n\x11RepeatedItemNotIn\x12&\n\x03val\x18\x01 \x03(\tB\x14\xbaH\x11\x92\x01\x0e\"\x0cr\nZ\x03\x66ooZ\x03\x62\x61rR\x03val\"Z\n\x0eRepeatedEnumIn\x12H\n\x03val\x18\x01 \x03(\x0e\x32&.buf.validate.conformance.cases.AnEnumB\x0e\xbaH\x0b\x92\x01\x08\"\x06\x82\x01\x03\x1a\x01\x00R\x03val\"]\n\x11RepeatedEnumNotIn\x12H\n\x03val\x18\x01 \x03(\x0e\x32&.buf.validate.conformance.cases.AnEnumB\x0e\xbaH\x0b\x92\x01\x08\"\x06\x82\x01\x03\"\x01\x00R\x03val\"\xe0\x01\n\x16RepeatedEmbeddedEnumIn\x12\x66\n\x03val\x18\x01 \x03(\x0e\x32\x44.buf.validate.conformance.cases.RepeatedEmbeddedEnumIn.AnotherInEnumB\x0e\xbaH\x0b\x92\x01\x08\"\x06\x82\x01\x03\x1a\x01\x00R\x03val\"^\n\rAnotherInEnum\x12\x1f\n\x1b\x41NOTHER_IN_ENUM_UNSPECIFIED\x10\x00\x12\x15\n\x11\x41NOTHER_IN_ENUM_A\x10\x01\x12\x15\n\x11\x41NOTHER_IN_ENUM_B\x10\x02\"\xf8\x01\n\x19RepeatedEmbeddedEnumNotIn\x12l\n\x03val\x18\x01 \x03(\x0e\x32J.buf.validate.conformance.cases.RepeatedEmbeddedEnumNotIn.AnotherNotInEnumB\x0e\xbaH\x0b\x92\x01\x08\"\x06\x82\x01\x03\"\x01\x00R\x03val\"m\n\x10\x41notherNotInEnum\x12#\n\x1f\x41NOTHER_NOT_IN_ENUM_UNSPECIFIED\x10\x00\x12\x19\n\x15\x41NOTHER_NOT_IN_ENUM_A\x10\x01\x12\x19\n\x15\x41NOTHER_NOT_IN_ENUM_B\x10\x02\"r\n\rRepeatedAnyIn\x12\x61\n\x03val\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyB9\xbaH6\x92\x01\x33\"1\xa2\x01.\x12,type.googleapis.com/google.protobuf.DurationR\x03val\"v\n\x10RepeatedAnyNotIn\x12\x62\n\x03val\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyB:\xbaH7\x92\x01\x34\"2\xa2\x01/\x1a-type.googleapis.com/google.protobuf.TimestampR\x03val\":\n\x15RepeatedMinAndItemLen\x12!\n\x03val\x18\x01 \x03(\tB\x0f\xbaH\x0c\x92\x01\t\x08\x01\"\x05r\x03\x98\x01\x03R\x03val\"8\n\x18RepeatedMinAndMaxItemLen\x12\x1c\n\x03val\x18\x01 \x03(\tB\n\xbaH\x07\x92\x01\x04\x08\x01\x10\x03R\x03val\"R\n\x10RepeatedDuration\x12>\n\x03val\x18\x01 \x03(\x0b\x32\x19.google.protobuf.DurationB\x11\xbaH\x0e\x92\x01\x0b\"\t\xaa\x01\x06\x32\x04\x10\xc0\x84=R\x03val\"6\n\x13RepeatedExactIgnore\x12\x1f\n\x03val\x18\x01 \x03(\rB\r\xbaH\n\x92\x01\x04\x08\x03\x10\x03\xd0\x01\x01R\x03val*?\n\x06\x41nEnum\x12\x17\n\x13\x41N_ENUM_UNSPECIFIED\x10\x00\x12\r\n\tAN_ENUM_X\x10\x01\x12\r\n\tAN_ENUM_Y\x10\x02\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-buf/validate/conformance/cases/repeated.proto\x12\x1e\x62uf.validate.conformance.cases\x1a\x38\x62uf/validate/conformance/cases/other_package/embed.proto\x1a\x1b\x62uf/validate/validate.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\"\"\n\x05\x45mbed\x12\x19\n\x03val\x18\x01 \x01(\x03\x42\x07\xbaH\x04\"\x02 \x00R\x03val\" \n\x0cRepeatedNone\x12\x10\n\x03val\x18\x01 \x03(\x03R\x03val\"L\n\x11RepeatedEmbedNone\x12\x37\n\x03val\x18\x01 \x03(\x0b\x32%.buf.validate.conformance.cases.EmbedR\x03val\"f\n\x1dRepeatedEmbedCrossPackageNone\x12\x45\n\x03val\x18\x01 \x03(\x0b\x32\x33.buf.validate.conformance.cases.other_package.EmbedR\x03val\"P\n\x0bRepeatedMin\x12\x41\n\x03val\x18\x01 \x03(\x0b\x32%.buf.validate.conformance.cases.EmbedB\x08\xbaH\x05\x92\x01\x02\x08\x02R\x03val\")\n\x0bRepeatedMax\x12\x1a\n\x03val\x18\x01 \x03(\x01\x42\x08\xbaH\x05\x92\x01\x02\x10\x03R\x03val\".\n\x0eRepeatedMinMax\x12\x1c\n\x03val\x18\x01 \x03(\x0f\x42\n\xbaH\x07\x92\x01\x04\x08\x02\x10\x04R\x03val\"-\n\rRepeatedExact\x12\x1c\n\x03val\x18\x01 \x03(\rB\n\xbaH\x07\x92\x01\x04\x08\x03\x10\x03R\x03val\",\n\x0eRepeatedUnique\x12\x1a\n\x03val\x18\x01 \x03(\tB\x08\xbaH\x05\x92\x01\x02\x18\x01R\x03val\"H\n\x16RepeatedMultipleUnique\x12\x16\n\x01\x61\x18\x01 \x03(\tB\x08\xbaH\x05\x92\x01\x02\x18\x01R\x01\x61\x12\x16\n\x01\x62\x18\x02 \x03(\x05\x42\x08\xbaH\x05\x92\x01\x02\x18\x01R\x01\x62\"5\n\x10RepeatedItemRule\x12!\n\x03val\x18\x01 \x03(\x02\x42\x0f\xbaH\x0c\x92\x01\t\"\x07\n\x05%\x00\x00\x00\x00R\x03val\"D\n\x13RepeatedItemPattern\x12-\n\x03val\x18\x01 \x03(\tB\x1b\xbaH\x18\x92\x01\x15\"\x13r\x11\x32\x0f(?i)^[a-z0-9]+$R\x03val\"Y\n\x11RepeatedEmbedSkip\x12\x44\n\x03val\x18\x01 \x03(\x0b\x32%.buf.validate.conformance.cases.EmbedB\x0b\xbaH\x08\x92\x01\x05\"\x03\xd8\x01\x03R\x03val\"8\n\x0eRepeatedItemIn\x12&\n\x03val\x18\x01 \x03(\tB\x14\xbaH\x11\x92\x01\x0e\"\x0cr\nR\x03\x66ooR\x03\x62\x61rR\x03val\";\n\x11RepeatedItemNotIn\x12&\n\x03val\x18\x01 \x03(\tB\x14\xbaH\x11\x92\x01\x0e\"\x0cr\nZ\x03\x66ooZ\x03\x62\x61rR\x03val\"Z\n\x0eRepeatedEnumIn\x12H\n\x03val\x18\x01 \x03(\x0e\x32&.buf.validate.conformance.cases.AnEnumB\x0e\xbaH\x0b\x92\x01\x08\"\x06\x82\x01\x03\x1a\x01\x00R\x03val\"]\n\x11RepeatedEnumNotIn\x12H\n\x03val\x18\x01 \x03(\x0e\x32&.buf.validate.conformance.cases.AnEnumB\x0e\xbaH\x0b\x92\x01\x08\"\x06\x82\x01\x03\"\x01\x00R\x03val\"\xe0\x01\n\x16RepeatedEmbeddedEnumIn\x12\x66\n\x03val\x18\x01 \x03(\x0e\x32\x44.buf.validate.conformance.cases.RepeatedEmbeddedEnumIn.AnotherInEnumB\x0e\xbaH\x0b\x92\x01\x08\"\x06\x82\x01\x03\x1a\x01\x00R\x03val\"^\n\rAnotherInEnum\x12\x1f\n\x1b\x41NOTHER_IN_ENUM_UNSPECIFIED\x10\x00\x12\x15\n\x11\x41NOTHER_IN_ENUM_A\x10\x01\x12\x15\n\x11\x41NOTHER_IN_ENUM_B\x10\x02\"\xf8\x01\n\x19RepeatedEmbeddedEnumNotIn\x12l\n\x03val\x18\x01 \x03(\x0e\x32J.buf.validate.conformance.cases.RepeatedEmbeddedEnumNotIn.AnotherNotInEnumB\x0e\xbaH\x0b\x92\x01\x08\"\x06\x82\x01\x03\"\x01\x00R\x03val\"m\n\x10\x41notherNotInEnum\x12#\n\x1f\x41NOTHER_NOT_IN_ENUM_UNSPECIFIED\x10\x00\x12\x19\n\x15\x41NOTHER_NOT_IN_ENUM_A\x10\x01\x12\x19\n\x15\x41NOTHER_NOT_IN_ENUM_B\x10\x02\"r\n\rRepeatedAnyIn\x12\x61\n\x03val\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyB9\xbaH6\x92\x01\x33\"1\xa2\x01.\x12,type.googleapis.com/google.protobuf.DurationR\x03val\"v\n\x10RepeatedAnyNotIn\x12\x62\n\x03val\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyB:\xbaH7\x92\x01\x34\"2\xa2\x01/\x1a-type.googleapis.com/google.protobuf.TimestampR\x03val\":\n\x15RepeatedMinAndItemLen\x12!\n\x03val\x18\x01 \x03(\tB\x0f\xbaH\x0c\x92\x01\t\x08\x01\"\x05r\x03\x98\x01\x03R\x03val\"8\n\x18RepeatedMinAndMaxItemLen\x12\x1c\n\x03val\x18\x01 \x03(\tB\n\xbaH\x07\x92\x01\x04\x08\x01\x10\x03R\x03val\"R\n\x10RepeatedDuration\x12>\n\x03val\x18\x01 \x03(\x0b\x32\x19.google.protobuf.DurationB\x11\xbaH\x0e\x92\x01\x0b\"\t\xaa\x01\x06\x32\x04\x10\xc0\x84=R\x03val\"6\n\x13RepeatedExactIgnore\x12\x1f\n\x03val\x18\x01 \x03(\rB\r\xbaH\n\x92\x01\x04\x08\x03\x10\x03\xd0\x01\x01R\x03val*?\n\x06\x41nEnum\x12\x17\n\x13\x41N_ENUM_UNSPECIFIED\x10\x00\x12\r\n\tAN_ENUM_X\x10\x01\x12\r\n\tAN_ENUM_Y\x10\x02\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.repeated_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _EMBED.fields_by_name['val']._options = None - _EMBED.fields_by_name['val']._serialized_options = b'\272H\004\"\002 \000' - _REPEATEDMIN.fields_by_name['val']._options = None - _REPEATEDMIN.fields_by_name['val']._serialized_options = b'\272H\005\222\001\002\010\002' - _REPEATEDMAX.fields_by_name['val']._options = None - _REPEATEDMAX.fields_by_name['val']._serialized_options = b'\272H\005\222\001\002\020\003' - _REPEATEDMINMAX.fields_by_name['val']._options = None - _REPEATEDMINMAX.fields_by_name['val']._serialized_options = b'\272H\007\222\001\004\010\002\020\004' - _REPEATEDEXACT.fields_by_name['val']._options = None - _REPEATEDEXACT.fields_by_name['val']._serialized_options = b'\272H\007\222\001\004\010\003\020\003' - _REPEATEDUNIQUE.fields_by_name['val']._options = None - _REPEATEDUNIQUE.fields_by_name['val']._serialized_options = b'\272H\005\222\001\002\030\001' - _REPEATEDMULTIPLEUNIQUE.fields_by_name['a']._options = None - _REPEATEDMULTIPLEUNIQUE.fields_by_name['a']._serialized_options = b'\272H\005\222\001\002\030\001' - _REPEATEDMULTIPLEUNIQUE.fields_by_name['b']._options = None - _REPEATEDMULTIPLEUNIQUE.fields_by_name['b']._serialized_options = b'\272H\005\222\001\002\030\001' - _REPEATEDITEMRULE.fields_by_name['val']._options = None - _REPEATEDITEMRULE.fields_by_name['val']._serialized_options = b'\272H\014\222\001\t\"\007\n\005%\000\000\000\000' - _REPEATEDITEMPATTERN.fields_by_name['val']._options = None - _REPEATEDITEMPATTERN.fields_by_name['val']._serialized_options = b'\272H\030\222\001\025\"\023r\0212\017(?i)^[a-z0-9]+$' - _REPEATEDEMBEDSKIP.fields_by_name['val']._options = None - _REPEATEDEMBEDSKIP.fields_by_name['val']._serialized_options = b'\272H\010\222\001\005\"\003\300\001\001' - _REPEATEDITEMIN.fields_by_name['val']._options = None - _REPEATEDITEMIN.fields_by_name['val']._serialized_options = b'\272H\021\222\001\016\"\014r\nR\003fooR\003bar' - _REPEATEDITEMNOTIN.fields_by_name['val']._options = None - _REPEATEDITEMNOTIN.fields_by_name['val']._serialized_options = b'\272H\021\222\001\016\"\014r\nZ\003fooZ\003bar' - _REPEATEDENUMIN.fields_by_name['val']._options = None - _REPEATEDENUMIN.fields_by_name['val']._serialized_options = b'\272H\013\222\001\010\"\006\202\001\003\032\001\000' - _REPEATEDENUMNOTIN.fields_by_name['val']._options = None - _REPEATEDENUMNOTIN.fields_by_name['val']._serialized_options = b'\272H\013\222\001\010\"\006\202\001\003\"\001\000' - _REPEATEDEMBEDDEDENUMIN.fields_by_name['val']._options = None - _REPEATEDEMBEDDEDENUMIN.fields_by_name['val']._serialized_options = b'\272H\013\222\001\010\"\006\202\001\003\032\001\000' - _REPEATEDEMBEDDEDENUMNOTIN.fields_by_name['val']._options = None - _REPEATEDEMBEDDEDENUMNOTIN.fields_by_name['val']._serialized_options = b'\272H\013\222\001\010\"\006\202\001\003\"\001\000' - _REPEATEDANYIN.fields_by_name['val']._options = None - _REPEATEDANYIN.fields_by_name['val']._serialized_options = b'\272H6\222\0013\"1\242\001.\022,type.googleapis.com/google.protobuf.Duration' - _REPEATEDANYNOTIN.fields_by_name['val']._options = None - _REPEATEDANYNOTIN.fields_by_name['val']._serialized_options = b'\272H7\222\0014\"2\242\001/\032-type.googleapis.com/google.protobuf.Timestamp' - _REPEATEDMINANDITEMLEN.fields_by_name['val']._options = None - _REPEATEDMINANDITEMLEN.fields_by_name['val']._serialized_options = b'\272H\014\222\001\t\010\001\"\005r\003\230\001\003' - _REPEATEDMINANDMAXITEMLEN.fields_by_name['val']._options = None - _REPEATEDMINANDMAXITEMLEN.fields_by_name['val']._serialized_options = b'\272H\007\222\001\004\010\001\020\003' - _REPEATEDDURATION.fields_by_name['val']._options = None - _REPEATEDDURATION.fields_by_name['val']._serialized_options = b'\272H\016\222\001\013\"\t\252\001\0062\004\020\300\204=' - _REPEATEDEXACTIGNORE.fields_by_name['val']._options = None - _REPEATEDEXACTIGNORE.fields_by_name['val']._serialized_options = b'\272H\n\222\001\004\010\003\020\003\320\001\001' +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_EMBED'].fields_by_name['val']._loaded_options = None + _globals['_EMBED'].fields_by_name['val']._serialized_options = b'\272H\004\"\002 \000' + _globals['_REPEATEDMIN'].fields_by_name['val']._loaded_options = None + _globals['_REPEATEDMIN'].fields_by_name['val']._serialized_options = b'\272H\005\222\001\002\010\002' + _globals['_REPEATEDMAX'].fields_by_name['val']._loaded_options = None + _globals['_REPEATEDMAX'].fields_by_name['val']._serialized_options = b'\272H\005\222\001\002\020\003' + _globals['_REPEATEDMINMAX'].fields_by_name['val']._loaded_options = None + _globals['_REPEATEDMINMAX'].fields_by_name['val']._serialized_options = b'\272H\007\222\001\004\010\002\020\004' + _globals['_REPEATEDEXACT'].fields_by_name['val']._loaded_options = None + _globals['_REPEATEDEXACT'].fields_by_name['val']._serialized_options = b'\272H\007\222\001\004\010\003\020\003' + _globals['_REPEATEDUNIQUE'].fields_by_name['val']._loaded_options = None + _globals['_REPEATEDUNIQUE'].fields_by_name['val']._serialized_options = b'\272H\005\222\001\002\030\001' + _globals['_REPEATEDMULTIPLEUNIQUE'].fields_by_name['a']._loaded_options = None + _globals['_REPEATEDMULTIPLEUNIQUE'].fields_by_name['a']._serialized_options = b'\272H\005\222\001\002\030\001' + _globals['_REPEATEDMULTIPLEUNIQUE'].fields_by_name['b']._loaded_options = None + _globals['_REPEATEDMULTIPLEUNIQUE'].fields_by_name['b']._serialized_options = b'\272H\005\222\001\002\030\001' + _globals['_REPEATEDITEMRULE'].fields_by_name['val']._loaded_options = None + _globals['_REPEATEDITEMRULE'].fields_by_name['val']._serialized_options = b'\272H\014\222\001\t\"\007\n\005%\000\000\000\000' + _globals['_REPEATEDITEMPATTERN'].fields_by_name['val']._loaded_options = None + _globals['_REPEATEDITEMPATTERN'].fields_by_name['val']._serialized_options = b'\272H\030\222\001\025\"\023r\0212\017(?i)^[a-z0-9]+$' + _globals['_REPEATEDEMBEDSKIP'].fields_by_name['val']._loaded_options = None + _globals['_REPEATEDEMBEDSKIP'].fields_by_name['val']._serialized_options = b'\272H\010\222\001\005\"\003\330\001\003' + _globals['_REPEATEDITEMIN'].fields_by_name['val']._loaded_options = None + _globals['_REPEATEDITEMIN'].fields_by_name['val']._serialized_options = b'\272H\021\222\001\016\"\014r\nR\003fooR\003bar' + _globals['_REPEATEDITEMNOTIN'].fields_by_name['val']._loaded_options = None + _globals['_REPEATEDITEMNOTIN'].fields_by_name['val']._serialized_options = b'\272H\021\222\001\016\"\014r\nZ\003fooZ\003bar' + _globals['_REPEATEDENUMIN'].fields_by_name['val']._loaded_options = None + _globals['_REPEATEDENUMIN'].fields_by_name['val']._serialized_options = b'\272H\013\222\001\010\"\006\202\001\003\032\001\000' + _globals['_REPEATEDENUMNOTIN'].fields_by_name['val']._loaded_options = None + _globals['_REPEATEDENUMNOTIN'].fields_by_name['val']._serialized_options = b'\272H\013\222\001\010\"\006\202\001\003\"\001\000' + _globals['_REPEATEDEMBEDDEDENUMIN'].fields_by_name['val']._loaded_options = None + _globals['_REPEATEDEMBEDDEDENUMIN'].fields_by_name['val']._serialized_options = b'\272H\013\222\001\010\"\006\202\001\003\032\001\000' + _globals['_REPEATEDEMBEDDEDENUMNOTIN'].fields_by_name['val']._loaded_options = None + _globals['_REPEATEDEMBEDDEDENUMNOTIN'].fields_by_name['val']._serialized_options = b'\272H\013\222\001\010\"\006\202\001\003\"\001\000' + _globals['_REPEATEDANYIN'].fields_by_name['val']._loaded_options = None + _globals['_REPEATEDANYIN'].fields_by_name['val']._serialized_options = b'\272H6\222\0013\"1\242\001.\022,type.googleapis.com/google.protobuf.Duration' + _globals['_REPEATEDANYNOTIN'].fields_by_name['val']._loaded_options = None + _globals['_REPEATEDANYNOTIN'].fields_by_name['val']._serialized_options = b'\272H7\222\0014\"2\242\001/\032-type.googleapis.com/google.protobuf.Timestamp' + _globals['_REPEATEDMINANDITEMLEN'].fields_by_name['val']._loaded_options = None + _globals['_REPEATEDMINANDITEMLEN'].fields_by_name['val']._serialized_options = b'\272H\014\222\001\t\010\001\"\005r\003\230\001\003' + _globals['_REPEATEDMINANDMAXITEMLEN'].fields_by_name['val']._loaded_options = None + _globals['_REPEATEDMINANDMAXITEMLEN'].fields_by_name['val']._serialized_options = b'\272H\007\222\001\004\010\001\020\003' + _globals['_REPEATEDDURATION'].fields_by_name['val']._loaded_options = None + _globals['_REPEATEDDURATION'].fields_by_name['val']._serialized_options = b'\272H\016\222\001\013\"\t\252\001\0062\004\020\300\204=' + _globals['_REPEATEDEXACTIGNORE'].fields_by_name['val']._loaded_options = None + _globals['_REPEATEDEXACTIGNORE'].fields_by_name['val']._serialized_options = b'\272H\n\222\001\004\010\003\020\003\320\001\001' _globals['_ANENUM']._serialized_start=2313 _globals['_ANENUM']._serialized_end=2376 _globals['_EMBED']._serialized_start=227 diff --git a/gen/buf/validate/conformance/cases/repeated_pb2.pyi b/gen/buf/validate/conformance/cases/repeated_pb2.pyi index 685cca5..90c6441 100644 --- a/gen/buf/validate/conformance/cases/repeated_pb2.pyi +++ b/gen/buf/validate/conformance/cases/repeated_pb2.pyi @@ -25,7 +25,7 @@ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Map DESCRIPTOR: _descriptor.FileDescriptor class AnEnum(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] + __slots__ = () AN_ENUM_UNSPECIFIED: _ClassVar[AnEnum] AN_ENUM_X: _ClassVar[AnEnum] AN_ENUM_Y: _ClassVar[AnEnum] @@ -34,61 +34,61 @@ AN_ENUM_X: AnEnum AN_ENUM_Y: AnEnum class Embed(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: int def __init__(self, val: _Optional[int] = ...) -> None: ... class RepeatedNone(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedScalarFieldContainer[int] def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... class RepeatedEmbedNone(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedCompositeFieldContainer[Embed] def __init__(self, val: _Optional[_Iterable[_Union[Embed, _Mapping]]] = ...) -> None: ... class RepeatedEmbedCrossPackageNone(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedCompositeFieldContainer[_embed_pb2.Embed] def __init__(self, val: _Optional[_Iterable[_Union[_embed_pb2.Embed, _Mapping]]] = ...) -> None: ... class RepeatedMin(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedCompositeFieldContainer[Embed] def __init__(self, val: _Optional[_Iterable[_Union[Embed, _Mapping]]] = ...) -> None: ... class RepeatedMax(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedScalarFieldContainer[float] def __init__(self, val: _Optional[_Iterable[float]] = ...) -> None: ... class RepeatedMinMax(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedScalarFieldContainer[int] def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... class RepeatedExact(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedScalarFieldContainer[int] def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... class RepeatedUnique(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedScalarFieldContainer[str] def __init__(self, val: _Optional[_Iterable[str]] = ...) -> None: ... class RepeatedMultipleUnique(_message.Message): - __slots__ = ["a", "b"] + __slots__ = ("a", "b") A_FIELD_NUMBER: _ClassVar[int] B_FIELD_NUMBER: _ClassVar[int] a: _containers.RepeatedScalarFieldContainer[str] @@ -96,51 +96,51 @@ class RepeatedMultipleUnique(_message.Message): def __init__(self, a: _Optional[_Iterable[str]] = ..., b: _Optional[_Iterable[int]] = ...) -> None: ... class RepeatedItemRule(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedScalarFieldContainer[float] def __init__(self, val: _Optional[_Iterable[float]] = ...) -> None: ... class RepeatedItemPattern(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedScalarFieldContainer[str] def __init__(self, val: _Optional[_Iterable[str]] = ...) -> None: ... class RepeatedEmbedSkip(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedCompositeFieldContainer[Embed] def __init__(self, val: _Optional[_Iterable[_Union[Embed, _Mapping]]] = ...) -> None: ... class RepeatedItemIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedScalarFieldContainer[str] def __init__(self, val: _Optional[_Iterable[str]] = ...) -> None: ... class RepeatedItemNotIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedScalarFieldContainer[str] def __init__(self, val: _Optional[_Iterable[str]] = ...) -> None: ... class RepeatedEnumIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedScalarFieldContainer[AnEnum] def __init__(self, val: _Optional[_Iterable[_Union[AnEnum, str]]] = ...) -> None: ... class RepeatedEnumNotIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedScalarFieldContainer[AnEnum] def __init__(self, val: _Optional[_Iterable[_Union[AnEnum, str]]] = ...) -> None: ... class RepeatedEmbeddedEnumIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class AnotherInEnum(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] + __slots__ = () ANOTHER_IN_ENUM_UNSPECIFIED: _ClassVar[RepeatedEmbeddedEnumIn.AnotherInEnum] ANOTHER_IN_ENUM_A: _ClassVar[RepeatedEmbeddedEnumIn.AnotherInEnum] ANOTHER_IN_ENUM_B: _ClassVar[RepeatedEmbeddedEnumIn.AnotherInEnum] @@ -152,9 +152,9 @@ class RepeatedEmbeddedEnumIn(_message.Message): def __init__(self, val: _Optional[_Iterable[_Union[RepeatedEmbeddedEnumIn.AnotherInEnum, str]]] = ...) -> None: ... class RepeatedEmbeddedEnumNotIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class AnotherNotInEnum(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] + __slots__ = () ANOTHER_NOT_IN_ENUM_UNSPECIFIED: _ClassVar[RepeatedEmbeddedEnumNotIn.AnotherNotInEnum] ANOTHER_NOT_IN_ENUM_A: _ClassVar[RepeatedEmbeddedEnumNotIn.AnotherNotInEnum] ANOTHER_NOT_IN_ENUM_B: _ClassVar[RepeatedEmbeddedEnumNotIn.AnotherNotInEnum] @@ -166,37 +166,37 @@ class RepeatedEmbeddedEnumNotIn(_message.Message): def __init__(self, val: _Optional[_Iterable[_Union[RepeatedEmbeddedEnumNotIn.AnotherNotInEnum, str]]] = ...) -> None: ... class RepeatedAnyIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedCompositeFieldContainer[_any_pb2.Any] def __init__(self, val: _Optional[_Iterable[_Union[_any_pb2.Any, _Mapping]]] = ...) -> None: ... class RepeatedAnyNotIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedCompositeFieldContainer[_any_pb2.Any] def __init__(self, val: _Optional[_Iterable[_Union[_any_pb2.Any, _Mapping]]] = ...) -> None: ... class RepeatedMinAndItemLen(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedScalarFieldContainer[str] def __init__(self, val: _Optional[_Iterable[str]] = ...) -> None: ... class RepeatedMinAndMaxItemLen(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedScalarFieldContainer[str] def __init__(self, val: _Optional[_Iterable[str]] = ...) -> None: ... class RepeatedDuration(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedCompositeFieldContainer[_duration_pb2.Duration] def __init__(self, val: _Optional[_Iterable[_Union[_duration_pb2.Duration, _Mapping]]] = ...) -> None: ... class RepeatedExactIgnore(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedScalarFieldContainer[int] def __init__(self, val: _Optional[_Iterable[int]] = ...) -> None: ... diff --git a/gen/buf/validate/conformance/cases/required_field_proto2_pb2.py b/gen/buf/validate/conformance/cases/required_field_proto2_pb2.py index 9f80b5e..c9d8185 100644 --- a/gen/buf/validate/conformance/cases/required_field_proto2_pb2.py +++ b/gen/buf/validate/conformance/cases/required_field_proto2_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/conformance/cases/required_field_proto2.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/required_field_proto2.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -33,25 +44,24 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.required_field_proto2_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _REQUIREDPROTO2SCALAROPTIONAL.fields_by_name['val']._options = None - _REQUIREDPROTO2SCALAROPTIONAL.fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' - _REQUIREDPROTO2SCALAROPTIONALDEFAULT.fields_by_name['val']._options = None - _REQUIREDPROTO2SCALAROPTIONALDEFAULT.fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' - _REQUIREDPROTO2SCALARREQUIRED.fields_by_name['val']._options = None - _REQUIREDPROTO2SCALARREQUIRED.fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' - _REQUIREDPROTO2MESSAGE.fields_by_name['val']._options = None - _REQUIREDPROTO2MESSAGE.fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' - _REQUIREDPROTO2ONEOF.fields_by_name['a']._options = None - _REQUIREDPROTO2ONEOF.fields_by_name['a']._serialized_options = b'\272H\003\310\001\001' - _REQUIREDPROTO2REPEATED.fields_by_name['val']._options = None - _REQUIREDPROTO2REPEATED.fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' - _REQUIREDPROTO2MAP_VALENTRY._options = None - _REQUIREDPROTO2MAP_VALENTRY._serialized_options = b'8\001' - _REQUIREDPROTO2MAP.fields_by_name['val']._options = None - _REQUIREDPROTO2MAP.fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_REQUIREDPROTO2SCALAROPTIONAL'].fields_by_name['val']._loaded_options = None + _globals['_REQUIREDPROTO2SCALAROPTIONAL'].fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' + _globals['_REQUIREDPROTO2SCALAROPTIONALDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_REQUIREDPROTO2SCALAROPTIONALDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' + _globals['_REQUIREDPROTO2SCALARREQUIRED'].fields_by_name['val']._loaded_options = None + _globals['_REQUIREDPROTO2SCALARREQUIRED'].fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' + _globals['_REQUIREDPROTO2MESSAGE'].fields_by_name['val']._loaded_options = None + _globals['_REQUIREDPROTO2MESSAGE'].fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' + _globals['_REQUIREDPROTO2ONEOF'].fields_by_name['a']._loaded_options = None + _globals['_REQUIREDPROTO2ONEOF'].fields_by_name['a']._serialized_options = b'\272H\003\310\001\001' + _globals['_REQUIREDPROTO2REPEATED'].fields_by_name['val']._loaded_options = None + _globals['_REQUIREDPROTO2REPEATED'].fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' + _globals['_REQUIREDPROTO2MAP_VALENTRY']._loaded_options = None + _globals['_REQUIREDPROTO2MAP_VALENTRY']._serialized_options = b'8\001' + _globals['_REQUIREDPROTO2MAP'].fields_by_name['val']._loaded_options = None + _globals['_REQUIREDPROTO2MAP'].fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' _globals['_REQUIREDPROTO2SCALAROPTIONAL']._serialized_start=123 _globals['_REQUIREDPROTO2SCALAROPTIONAL']._serialized_end=179 _globals['_REQUIREDPROTO2SCALAROPTIONALDEFAULT']._serialized_start=181 diff --git a/gen/buf/validate/conformance/cases/required_field_proto2_pb2.pyi b/gen/buf/validate/conformance/cases/required_field_proto2_pb2.pyi index a324fe6..19e3f16 100644 --- a/gen/buf/validate/conformance/cases/required_field_proto2_pb2.pyi +++ b/gen/buf/validate/conformance/cases/required_field_proto2_pb2.pyi @@ -21,27 +21,27 @@ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Map DESCRIPTOR: _descriptor.FileDescriptor class RequiredProto2ScalarOptional(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class RequiredProto2ScalarOptionalDefault(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class RequiredProto2ScalarRequired(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class RequiredProto2Message(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class Msg(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... @@ -50,7 +50,7 @@ class RequiredProto2Message(_message.Message): def __init__(self, val: _Optional[_Union[RequiredProto2Message.Msg, _Mapping]] = ...) -> None: ... class RequiredProto2Oneof(_message.Message): - __slots__ = ["a", "b"] + __slots__ = ("a", "b") A_FIELD_NUMBER: _ClassVar[int] B_FIELD_NUMBER: _ClassVar[int] a: str @@ -58,15 +58,15 @@ class RequiredProto2Oneof(_message.Message): def __init__(self, a: _Optional[str] = ..., b: _Optional[str] = ...) -> None: ... class RequiredProto2Repeated(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedScalarFieldContainer[str] def __init__(self, val: _Optional[_Iterable[str]] = ...) -> None: ... class RequiredProto2Map(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class ValEntry(_message.Message): - __slots__ = ["key", "value"] + __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] VALUE_FIELD_NUMBER: _ClassVar[int] key: str diff --git a/gen/buf/validate/conformance/cases/required_field_proto3_pb2.py b/gen/buf/validate/conformance/cases/required_field_proto3_pb2.py index 07aca56..1b3dc5c 100644 --- a/gen/buf/validate/conformance/cases/required_field_proto3_pb2.py +++ b/gen/buf/validate/conformance/cases/required_field_proto3_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/conformance/cases/required_field_proto3.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/required_field_proto3.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -33,23 +44,22 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.required_field_proto3_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _REQUIREDPROTO3SCALAR.fields_by_name['val']._options = None - _REQUIREDPROTO3SCALAR.fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' - _REQUIREDPROTO3OPTIONALSCALAR.fields_by_name['val']._options = None - _REQUIREDPROTO3OPTIONALSCALAR.fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' - _REQUIREDPROTO3MESSAGE.fields_by_name['val']._options = None - _REQUIREDPROTO3MESSAGE.fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' - _REQUIREDPROTO3ONEOF.fields_by_name['a']._options = None - _REQUIREDPROTO3ONEOF.fields_by_name['a']._serialized_options = b'\272H\003\310\001\001' - _REQUIREDPROTO3REPEATED.fields_by_name['val']._options = None - _REQUIREDPROTO3REPEATED.fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' - _REQUIREDPROTO3MAP_VALENTRY._options = None - _REQUIREDPROTO3MAP_VALENTRY._serialized_options = b'8\001' - _REQUIREDPROTO3MAP.fields_by_name['val']._options = None - _REQUIREDPROTO3MAP.fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_REQUIREDPROTO3SCALAR'].fields_by_name['val']._loaded_options = None + _globals['_REQUIREDPROTO3SCALAR'].fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' + _globals['_REQUIREDPROTO3OPTIONALSCALAR'].fields_by_name['val']._loaded_options = None + _globals['_REQUIREDPROTO3OPTIONALSCALAR'].fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' + _globals['_REQUIREDPROTO3MESSAGE'].fields_by_name['val']._loaded_options = None + _globals['_REQUIREDPROTO3MESSAGE'].fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' + _globals['_REQUIREDPROTO3ONEOF'].fields_by_name['a']._loaded_options = None + _globals['_REQUIREDPROTO3ONEOF'].fields_by_name['a']._serialized_options = b'\272H\003\310\001\001' + _globals['_REQUIREDPROTO3REPEATED'].fields_by_name['val']._loaded_options = None + _globals['_REQUIREDPROTO3REPEATED'].fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' + _globals['_REQUIREDPROTO3MAP_VALENTRY']._loaded_options = None + _globals['_REQUIREDPROTO3MAP_VALENTRY']._serialized_options = b'8\001' + _globals['_REQUIREDPROTO3MAP'].fields_by_name['val']._loaded_options = None + _globals['_REQUIREDPROTO3MAP'].fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' _globals['_REQUIREDPROTO3SCALAR']._serialized_start=123 _globals['_REQUIREDPROTO3SCALAR']._serialized_end=171 _globals['_REQUIREDPROTO3OPTIONALSCALAR']._serialized_start=173 diff --git a/gen/buf/validate/conformance/cases/required_field_proto3_pb2.pyi b/gen/buf/validate/conformance/cases/required_field_proto3_pb2.pyi index b3dfc89..81dc7c6 100644 --- a/gen/buf/validate/conformance/cases/required_field_proto3_pb2.pyi +++ b/gen/buf/validate/conformance/cases/required_field_proto3_pb2.pyi @@ -21,21 +21,21 @@ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Map DESCRIPTOR: _descriptor.FileDescriptor class RequiredProto3Scalar(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class RequiredProto3OptionalScalar(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class RequiredProto3Message(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class Msg(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... @@ -44,7 +44,7 @@ class RequiredProto3Message(_message.Message): def __init__(self, val: _Optional[_Union[RequiredProto3Message.Msg, _Mapping]] = ...) -> None: ... class RequiredProto3OneOf(_message.Message): - __slots__ = ["a", "b"] + __slots__ = ("a", "b") A_FIELD_NUMBER: _ClassVar[int] B_FIELD_NUMBER: _ClassVar[int] a: str @@ -52,15 +52,15 @@ class RequiredProto3OneOf(_message.Message): def __init__(self, a: _Optional[str] = ..., b: _Optional[str] = ...) -> None: ... class RequiredProto3Repeated(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _containers.RepeatedScalarFieldContainer[str] def __init__(self, val: _Optional[_Iterable[str]] = ...) -> None: ... class RequiredProto3Map(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class ValEntry(_message.Message): - __slots__ = ["key", "value"] + __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] VALUE_FIELD_NUMBER: _ClassVar[int] key: str diff --git a/gen/buf/validate/conformance/cases/required_field_proto_editions_pb2.py b/gen/buf/validate/conformance/cases/required_field_proto_editions_pb2.py new file mode 100644 index 0000000..62853b7 --- /dev/null +++ b/gen/buf/validate/conformance/cases/required_field_proto_editions_pb2.py @@ -0,0 +1,109 @@ +# Copyright 2023 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. + +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: buf/validate/conformance/cases/required_field_proto_editions.proto +# Protobuf Python Version: 5.27.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/required_field_proto_editions.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nBbuf/validate/conformance/cases/required_field_proto_editions.proto\x12\x1e\x62uf.validate.conformance.cases\x1a\x1b\x62uf/validate/validate.proto\"B\n&RequiredEditionsScalarExplicitPresence\x12\x18\n\x03val\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x03val\"N\n-RequiredEditionsScalarExplicitPresenceDefault\x12\x1d\n\x03val\x18\x01 \x01(\t:\x03\x66ooB\x06\xbaH\x03\xc8\x01\x01R\x03val\"G\n&RequiredEditionsScalarImplicitPresence\x12\x1d\n\x03val\x18\x01 \x01(\tB\x0b\xaa\x01\x02\x08\x02\xbaH\x03\xc8\x01\x01R\x03val\"E\n$RequiredEditionsScalarLegacyRequired\x12\x1d\n\x03val\x18\x01 \x01(\tB\x0b\xaa\x01\x02\x08\x03\xbaH\x03\xc8\x01\x01R\x03val\"\xa9\x01\n\'RequiredEditionsMessageExplicitPresence\x12\x65\n\x03val\x18\x01 \x01(\x0b\x32K.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\"\xc0\x01\n0RequiredEditionsMessageExplicitPresenceDelimited\x12s\n\x03val\x18\x01 \x01(\x0b\x32T.buf.validate.conformance.cases.RequiredEditionsMessageExplicitPresenceDelimited.MsgB\x0b\xaa\x01\x02(\x02\xbaH\x03\xc8\x01\x01R\x03val\x1a\x17\n\x03Msg\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val\"\xaa\x01\n%RequiredEditionsMessageLegacyRequired\x12h\n\x03val\x18\x01 \x01(\x0b\x32I.buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequired.MsgB\x0b\xaa\x01\x02\x08\x03\xbaH\x03\xc8\x01\x01R\x03val\x1a\x17\n\x03Msg\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val\"\xbe\x01\n.RequiredEditionsMessageLegacyRequiredDelimited\x12s\n\x03val\x18\x01 \x01(\x0b\x32R.buf.validate.conformance.cases.RequiredEditionsMessageLegacyRequiredDelimited.MsgB\r\xaa\x01\x04\x08\x03(\x02\xbaH\x03\xc8\x01\x01R\x03val\x1a\x17\n\x03Msg\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val\"F\n\x15RequiredEditionsOneof\x12\x16\n\x01\x61\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01H\x00R\x01\x61\x12\x0e\n\x01\x62\x18\x02 \x01(\tH\x00R\x01\x62\x42\x05\n\x03val\"4\n\x18RequiredEditionsRepeated\x12\x18\n\x03val\x18\x01 \x03(\tB\x06\xbaH\x03\xc8\x01\x01R\x03val\"A\n RequiredEditionsRepeatedExpanded\x12\x1d\n\x03val\x18\x01 \x03(\tB\x0b\xaa\x01\x02\x18\x02\xbaH\x03\xc8\x01\x01R\x03val\"\xa5\x01\n\x13RequiredEditionsMap\x12V\n\x03val\x18\x01 \x03(\x0b\x32<.buf.validate.conformance.cases.RequiredEditionsMap.ValEntryB\x06\xbaH\x03\xc8\x01\x01R\x03val\x1a\x36\n\x08ValEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x62\x08\x65\x64itionsp\xe8\x07') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.required_field_proto_editions_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_REQUIREDEDITIONSSCALAREXPLICITPRESENCE'].fields_by_name['val']._loaded_options = None + _globals['_REQUIREDEDITIONSSCALAREXPLICITPRESENCE'].fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' + _globals['_REQUIREDEDITIONSSCALAREXPLICITPRESENCEDEFAULT'].fields_by_name['val']._loaded_options = None + _globals['_REQUIREDEDITIONSSCALAREXPLICITPRESENCEDEFAULT'].fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' + _globals['_REQUIREDEDITIONSSCALARIMPLICITPRESENCE'].fields_by_name['val']._loaded_options = None + _globals['_REQUIREDEDITIONSSCALARIMPLICITPRESENCE'].fields_by_name['val']._serialized_options = b'\252\001\002\010\002\272H\003\310\001\001' + _globals['_REQUIREDEDITIONSSCALARLEGACYREQUIRED'].fields_by_name['val']._loaded_options = None + _globals['_REQUIREDEDITIONSSCALARLEGACYREQUIRED'].fields_by_name['val']._serialized_options = b'\252\001\002\010\003\272H\003\310\001\001' + _globals['_REQUIREDEDITIONSMESSAGEEXPLICITPRESENCE'].fields_by_name['val']._loaded_options = None + _globals['_REQUIREDEDITIONSMESSAGEEXPLICITPRESENCE'].fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' + _globals['_REQUIREDEDITIONSMESSAGEEXPLICITPRESENCEDELIMITED'].fields_by_name['val']._loaded_options = None + _globals['_REQUIREDEDITIONSMESSAGEEXPLICITPRESENCEDELIMITED'].fields_by_name['val']._serialized_options = b'\252\001\002(\002\272H\003\310\001\001' + _globals['_REQUIREDEDITIONSMESSAGELEGACYREQUIRED'].fields_by_name['val']._loaded_options = None + _globals['_REQUIREDEDITIONSMESSAGELEGACYREQUIRED'].fields_by_name['val']._serialized_options = b'\252\001\002\010\003\272H\003\310\001\001' + _globals['_REQUIREDEDITIONSMESSAGELEGACYREQUIREDDELIMITED'].fields_by_name['val']._loaded_options = None + _globals['_REQUIREDEDITIONSMESSAGELEGACYREQUIREDDELIMITED'].fields_by_name['val']._serialized_options = b'\252\001\004\010\003(\002\272H\003\310\001\001' + _globals['_REQUIREDEDITIONSONEOF'].fields_by_name['a']._loaded_options = None + _globals['_REQUIREDEDITIONSONEOF'].fields_by_name['a']._serialized_options = b'\272H\003\310\001\001' + _globals['_REQUIREDEDITIONSREPEATED'].fields_by_name['val']._loaded_options = None + _globals['_REQUIREDEDITIONSREPEATED'].fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' + _globals['_REQUIREDEDITIONSREPEATEDEXPANDED'].fields_by_name['val']._loaded_options = None + _globals['_REQUIREDEDITIONSREPEATEDEXPANDED'].fields_by_name['val']._serialized_options = b'\252\001\002\030\002\272H\003\310\001\001' + _globals['_REQUIREDEDITIONSMAP_VALENTRY']._loaded_options = None + _globals['_REQUIREDEDITIONSMAP_VALENTRY']._serialized_options = b'8\001' + _globals['_REQUIREDEDITIONSMAP'].fields_by_name['val']._loaded_options = None + _globals['_REQUIREDEDITIONSMAP'].fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' + _globals['_REQUIREDEDITIONSSCALAREXPLICITPRESENCE']._serialized_start=131 + _globals['_REQUIREDEDITIONSSCALAREXPLICITPRESENCE']._serialized_end=197 + _globals['_REQUIREDEDITIONSSCALAREXPLICITPRESENCEDEFAULT']._serialized_start=199 + _globals['_REQUIREDEDITIONSSCALAREXPLICITPRESENCEDEFAULT']._serialized_end=277 + _globals['_REQUIREDEDITIONSSCALARIMPLICITPRESENCE']._serialized_start=279 + _globals['_REQUIREDEDITIONSSCALARIMPLICITPRESENCE']._serialized_end=350 + _globals['_REQUIREDEDITIONSSCALARLEGACYREQUIRED']._serialized_start=352 + _globals['_REQUIREDEDITIONSSCALARLEGACYREQUIRED']._serialized_end=421 + _globals['_REQUIREDEDITIONSMESSAGEEXPLICITPRESENCE']._serialized_start=424 + _globals['_REQUIREDEDITIONSMESSAGEEXPLICITPRESENCE']._serialized_end=593 + _globals['_REQUIREDEDITIONSMESSAGEEXPLICITPRESENCE_MSG']._serialized_start=570 + _globals['_REQUIREDEDITIONSMESSAGEEXPLICITPRESENCE_MSG']._serialized_end=593 + _globals['_REQUIREDEDITIONSMESSAGEEXPLICITPRESENCEDELIMITED']._serialized_start=596 + _globals['_REQUIREDEDITIONSMESSAGEEXPLICITPRESENCEDELIMITED']._serialized_end=788 + _globals['_REQUIREDEDITIONSMESSAGEEXPLICITPRESENCEDELIMITED_MSG']._serialized_start=570 + _globals['_REQUIREDEDITIONSMESSAGEEXPLICITPRESENCEDELIMITED_MSG']._serialized_end=593 + _globals['_REQUIREDEDITIONSMESSAGELEGACYREQUIRED']._serialized_start=791 + _globals['_REQUIREDEDITIONSMESSAGELEGACYREQUIRED']._serialized_end=961 + _globals['_REQUIREDEDITIONSMESSAGELEGACYREQUIRED_MSG']._serialized_start=570 + _globals['_REQUIREDEDITIONSMESSAGELEGACYREQUIRED_MSG']._serialized_end=593 + _globals['_REQUIREDEDITIONSMESSAGELEGACYREQUIREDDELIMITED']._serialized_start=964 + _globals['_REQUIREDEDITIONSMESSAGELEGACYREQUIREDDELIMITED']._serialized_end=1154 + _globals['_REQUIREDEDITIONSMESSAGELEGACYREQUIREDDELIMITED_MSG']._serialized_start=570 + _globals['_REQUIREDEDITIONSMESSAGELEGACYREQUIREDDELIMITED_MSG']._serialized_end=593 + _globals['_REQUIREDEDITIONSONEOF']._serialized_start=1156 + _globals['_REQUIREDEDITIONSONEOF']._serialized_end=1226 + _globals['_REQUIREDEDITIONSREPEATED']._serialized_start=1228 + _globals['_REQUIREDEDITIONSREPEATED']._serialized_end=1280 + _globals['_REQUIREDEDITIONSREPEATEDEXPANDED']._serialized_start=1282 + _globals['_REQUIREDEDITIONSREPEATEDEXPANDED']._serialized_end=1347 + _globals['_REQUIREDEDITIONSMAP']._serialized_start=1350 + _globals['_REQUIREDEDITIONSMAP']._serialized_end=1515 + _globals['_REQUIREDEDITIONSMAP_VALENTRY']._serialized_start=1461 + _globals['_REQUIREDEDITIONSMAP_VALENTRY']._serialized_end=1515 +# @@protoc_insertion_point(module_scope) diff --git a/gen/buf/validate/conformance/cases/required_field_proto_editions_pb2.pyi b/gen/buf/validate/conformance/cases/required_field_proto_editions_pb2.pyi new file mode 100644 index 0000000..03997a9 --- /dev/null +++ b/gen/buf/validate/conformance/cases/required_field_proto_editions_pb2.pyi @@ -0,0 +1,122 @@ +# Copyright 2023 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. + +from buf.validate import validate_pb2 as _validate_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class RequiredEditionsScalarExplicitPresence(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + +class RequiredEditionsScalarExplicitPresenceDefault(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + +class RequiredEditionsScalarImplicitPresence(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + +class RequiredEditionsScalarLegacyRequired(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + +class RequiredEditionsMessageExplicitPresence(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: RequiredEditionsMessageExplicitPresence.Msg + def __init__(self, val: _Optional[_Union[RequiredEditionsMessageExplicitPresence.Msg, _Mapping]] = ...) -> None: ... + +class RequiredEditionsMessageExplicitPresenceDelimited(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: RequiredEditionsMessageExplicitPresenceDelimited.Msg + def __init__(self, val: _Optional[_Union[RequiredEditionsMessageExplicitPresenceDelimited.Msg, _Mapping]] = ...) -> None: ... + +class RequiredEditionsMessageLegacyRequired(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: RequiredEditionsMessageLegacyRequired.Msg + def __init__(self, val: _Optional[_Union[RequiredEditionsMessageLegacyRequired.Msg, _Mapping]] = ...) -> None: ... + +class RequiredEditionsMessageLegacyRequiredDelimited(_message.Message): + __slots__ = ("val",) + class Msg(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: RequiredEditionsMessageLegacyRequiredDelimited.Msg + def __init__(self, val: _Optional[_Union[RequiredEditionsMessageLegacyRequiredDelimited.Msg, _Mapping]] = ...) -> None: ... + +class RequiredEditionsOneof(_message.Message): + __slots__ = ("a", "b") + A_FIELD_NUMBER: _ClassVar[int] + B_FIELD_NUMBER: _ClassVar[int] + a: str + b: str + def __init__(self, a: _Optional[str] = ..., b: _Optional[str] = ...) -> None: ... + +class RequiredEditionsRepeated(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[str] + def __init__(self, val: _Optional[_Iterable[str]] = ...) -> None: ... + +class RequiredEditionsRepeatedExpanded(_message.Message): + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.RepeatedScalarFieldContainer[str] + def __init__(self, val: _Optional[_Iterable[str]] = ...) -> None: ... + +class RequiredEditionsMap(_message.Message): + __slots__ = ("val",) + class ValEntry(_message.Message): + __slots__ = ("key", "value") + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: str + def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... + VAL_FIELD_NUMBER: _ClassVar[int] + val: _containers.ScalarMap[str, str] + def __init__(self, val: _Optional[_Mapping[str, str]] = ...) -> None: ... diff --git a/gen/buf/validate/conformance/cases/strings_pb2.py b/gen/buf/validate/conformance/cases/strings_pb2.py index 0adeba6..260d945 100644 --- a/gen/buf/validate/conformance/cases/strings_pb2.py +++ b/gen/buf/validate/conformance/cases/strings_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/conformance/cases/strings.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/strings.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -28,98 +39,99 @@ from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,buf/validate/conformance/cases/strings.proto\x12\x1e\x62uf.validate.conformance.cases\x1a\x1b\x62uf/validate/validate.proto\"\x1e\n\nStringNone\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val\"+\n\x0bStringConst\x12\x1c\n\x03val\x18\x01 \x01(\tB\n\xbaH\x07r\x05\n\x03\x66ooR\x03val\"-\n\x08StringIn\x12!\n\x03val\x18\x01 \x01(\tB\x0f\xbaH\x0cr\nR\x03\x62\x61rR\x03\x62\x61zR\x03val\"2\n\x0bStringNotIn\x12#\n\x03val\x18\x01 \x01(\tB\x11\xbaH\x0er\x0cZ\x04\x66izzZ\x04\x62uzzR\x03val\"\'\n\tStringLen\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\x98\x01\x03R\x03val\")\n\x0cStringMinLen\x12\x19\n\x03val\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x03R\x03val\")\n\x0cStringMaxLen\x12\x19\n\x03val\x18\x01 \x01(\tB\x07\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\x08\xbaH\x05r\x03\xa0\x01\x04R\x03val\"+\n\x0eStringMinBytes\x12\x19\n\x03val\x18\x01 \x01(\tB\x07\xbaH\x04r\x02 \x04R\x03val\"+\n\x0eStringMaxBytes\x12\x19\n\x03val\x18\x01 \x01(\tB\x07\xbaH\x04r\x02(\x08R\x03val\"0\n\x11StringMinMaxBytes\x12\x1b\n\x03val\x18\x01 \x01(\tB\t\xbaH\x06r\x04 \x04(\x08R\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\x11\x32\x0f(?i)^[a-z0-9]+$R\x03val\"9\n\x14StringPatternEscapes\x12!\n\x03val\x18\x01 \x01(\tB\x0f\xbaH\x0cr\n2\x08\\* \\\\ \\wR\x03val\",\n\x0cStringPrefix\x12\x1c\n\x03val\x18\x01 \x01(\tB\n\xbaH\x07r\x05:\x03\x66ooR\x03val\".\n\x0eStringContains\x12\x1c\n\x03val\x18\x01 \x01(\tB\n\xbaH\x07r\x05J\x03\x62\x61rR\x03val\"2\n\x11StringNotContains\x12\x1d\n\x03val\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xba\x01\x03\x62\x61rR\x03val\",\n\x0cStringSuffix\x12\x1c\n\x03val\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x42\x03\x62\x61zR\x03val\"(\n\x0bStringEmail\x12\x19\n\x03val\x18\x01 \x01(\tB\x07\xbaH\x04r\x02`\x01R\x03val\"+\n\rStringAddress\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xa8\x01\x01R\x03val\"+\n\x0eStringHostname\x12\x19\n\x03val\x18\x01 \x01(\tB\x07\xbaH\x04r\x02h\x01R\x03val\"%\n\x08StringIP\x12\x19\n\x03val\x18\x01 \x01(\tB\x07\xbaH\x04r\x02p\x01R\x03val\"\'\n\nStringIPv4\x12\x19\n\x03val\x18\x01 \x01(\tB\x07\xbaH\x04r\x02x\x01R\x03val\"(\n\nStringIPv6\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\x80\x01\x01R\x03val\"3\n\x15StringIPWithPrefixLen\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xd0\x01\x01R\x03val\"5\n\x17StringIPv4WithPrefixLen\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xd8\x01\x01R\x03val\"5\n\x17StringIPv6WithPrefixLen\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xe0\x01\x01R\x03val\",\n\x0eStringIPPrefix\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xe8\x01\x01R\x03val\".\n\x10StringIPv4Prefix\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xf0\x01\x01R\x03val\".\n\x10StringIPv6Prefix\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xf8\x01\x01R\x03val\"\'\n\tStringURI\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\x88\x01\x01R\x03val\"*\n\x0cStringURIRef\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\x90\x01\x01R\x03val\"(\n\nStringUUID\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x03val\"2\n\x14StringHttpHeaderName\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xc0\x01\x01R\x03val\"3\n\x15StringHttpHeaderValue\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xc0\x01\x02R\x03val\":\n\x19StringHttpHeaderNameLoose\x12\x1d\n\x03val\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc0\x01\x01\xc8\x01\x00R\x03val\";\n\x1aStringHttpHeaderValueLoose\x12\x1d\n\x03val\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc0\x01\x02\xc8\x01\x00R\x03val\"1\n\x10StringUUIDIgnore\x12\x1d\n\x03val\x18\x01 \x01(\tB\x0b\xbaH\x08r\x03\xb0\x01\x01\xd0\x01\x01R\x03val\"7\n\rStringInOneof\x12\x1f\n\x03\x62\x61r\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06R\x01\x61R\x01\x62H\x00R\x03\x62\x61rB\x05\n\x03\x66oo\"/\n\x11StringHostAndPort\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\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\x03valb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,buf/validate/conformance/cases/strings.proto\x12\x1e\x62uf.validate.conformance.cases\x1a\x1b\x62uf/validate/validate.proto\"\x1e\n\nStringNone\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val\"+\n\x0bStringConst\x12\x1c\n\x03val\x18\x01 \x01(\tB\n\xbaH\x07r\x05\n\x03\x66ooR\x03val\"-\n\x08StringIn\x12!\n\x03val\x18\x01 \x01(\tB\x0f\xbaH\x0cr\nR\x03\x62\x61rR\x03\x62\x61zR\x03val\"2\n\x0bStringNotIn\x12#\n\x03val\x18\x01 \x01(\tB\x11\xbaH\x0er\x0cZ\x04\x66izzZ\x04\x62uzzR\x03val\"\'\n\tStringLen\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\x98\x01\x03R\x03val\")\n\x0cStringMinLen\x12\x19\n\x03val\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x03R\x03val\")\n\x0cStringMaxLen\x12\x19\n\x03val\x18\x01 \x01(\tB\x07\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\x08\xbaH\x05r\x03\xa0\x01\x04R\x03val\"+\n\x0eStringMinBytes\x12\x19\n\x03val\x18\x01 \x01(\tB\x07\xbaH\x04r\x02 \x04R\x03val\"+\n\x0eStringMaxBytes\x12\x19\n\x03val\x18\x01 \x01(\tB\x07\xbaH\x04r\x02(\x08R\x03val\"0\n\x11StringMinMaxBytes\x12\x1b\n\x03val\x18\x01 \x01(\tB\t\xbaH\x06r\x04 \x04(\x08R\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\x11\x32\x0f(?i)^[a-z0-9]+$R\x03val\"9\n\x14StringPatternEscapes\x12!\n\x03val\x18\x01 \x01(\tB\x0f\xbaH\x0cr\n2\x08\\* \\\\ \\wR\x03val\",\n\x0cStringPrefix\x12\x1c\n\x03val\x18\x01 \x01(\tB\n\xbaH\x07r\x05:\x03\x66ooR\x03val\".\n\x0eStringContains\x12\x1c\n\x03val\x18\x01 \x01(\tB\n\xbaH\x07r\x05J\x03\x62\x61rR\x03val\"2\n\x11StringNotContains\x12\x1d\n\x03val\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xba\x01\x03\x62\x61rR\x03val\",\n\x0cStringSuffix\x12\x1c\n\x03val\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x42\x03\x62\x61zR\x03val\"(\n\x0bStringEmail\x12\x19\n\x03val\x18\x01 \x01(\tB\x07\xbaH\x04r\x02`\x01R\x03val\"+\n\rStringAddress\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xa8\x01\x01R\x03val\"+\n\x0eStringHostname\x12\x19\n\x03val\x18\x01 \x01(\tB\x07\xbaH\x04r\x02h\x01R\x03val\"%\n\x08StringIP\x12\x19\n\x03val\x18\x01 \x01(\tB\x07\xbaH\x04r\x02p\x01R\x03val\"\'\n\nStringIPv4\x12\x19\n\x03val\x18\x01 \x01(\tB\x07\xbaH\x04r\x02x\x01R\x03val\"(\n\nStringIPv6\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\x80\x01\x01R\x03val\"3\n\x15StringIPWithPrefixLen\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xd0\x01\x01R\x03val\"5\n\x17StringIPv4WithPrefixLen\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xd8\x01\x01R\x03val\"5\n\x17StringIPv6WithPrefixLen\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xe0\x01\x01R\x03val\",\n\x0eStringIPPrefix\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xe8\x01\x01R\x03val\".\n\x10StringIPv4Prefix\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xf0\x01\x01R\x03val\".\n\x10StringIPv6Prefix\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xf8\x01\x01R\x03val\"\'\n\tStringURI\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\x88\x01\x01R\x03val\"*\n\x0cStringURIRef\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\x90\x01\x01R\x03val\"(\n\nStringUUID\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x03val\")\n\x0bStringTUUID\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\x88\x02\x01R\x03val\"2\n\x14StringHttpHeaderName\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xc0\x01\x01R\x03val\"3\n\x15StringHttpHeaderValue\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xc0\x01\x02R\x03val\":\n\x19StringHttpHeaderNameLoose\x12\x1d\n\x03val\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc0\x01\x01\xc8\x01\x00R\x03val\";\n\x1aStringHttpHeaderValueLoose\x12\x1d\n\x03val\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc0\x01\x02\xc8\x01\x00R\x03val\"1\n\x10StringUUIDIgnore\x12\x1d\n\x03val\x18\x01 \x01(\tB\x0b\xbaH\x08r\x03\xb0\x01\x01\xd0\x01\x01R\x03val\"7\n\rStringInOneof\x12\x1f\n\x03\x62\x61r\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06R\x01\x61R\x01\x62H\x00R\x03\x62\x61rB\x05\n\x03\x66oo\"/\n\x11StringHostAndPort\x12\x1a\n\x03val\x18\x01 \x01(\tB\x08\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\x03valb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.strings_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _STRINGCONST.fields_by_name['val']._options = None - _STRINGCONST.fields_by_name['val']._serialized_options = b'\272H\007r\005\n\003foo' - _STRINGIN.fields_by_name['val']._options = None - _STRINGIN.fields_by_name['val']._serialized_options = b'\272H\014r\nR\003barR\003baz' - _STRINGNOTIN.fields_by_name['val']._options = None - _STRINGNOTIN.fields_by_name['val']._serialized_options = b'\272H\016r\014Z\004fizzZ\004buzz' - _STRINGLEN.fields_by_name['val']._options = None - _STRINGLEN.fields_by_name['val']._serialized_options = b'\272H\005r\003\230\001\003' - _STRINGMINLEN.fields_by_name['val']._options = None - _STRINGMINLEN.fields_by_name['val']._serialized_options = b'\272H\004r\002\020\003' - _STRINGMAXLEN.fields_by_name['val']._options = None - _STRINGMAXLEN.fields_by_name['val']._serialized_options = b'\272H\004r\002\030\005' - _STRINGMINMAXLEN.fields_by_name['val']._options = None - _STRINGMINMAXLEN.fields_by_name['val']._serialized_options = b'\272H\006r\004\020\003\030\005' - _STRINGEQUALMINMAXLEN.fields_by_name['val']._options = None - _STRINGEQUALMINMAXLEN.fields_by_name['val']._serialized_options = b'\272H\006r\004\020\005\030\005' - _STRINGLENBYTES.fields_by_name['val']._options = None - _STRINGLENBYTES.fields_by_name['val']._serialized_options = b'\272H\005r\003\240\001\004' - _STRINGMINBYTES.fields_by_name['val']._options = None - _STRINGMINBYTES.fields_by_name['val']._serialized_options = b'\272H\004r\002 \004' - _STRINGMAXBYTES.fields_by_name['val']._options = None - _STRINGMAXBYTES.fields_by_name['val']._serialized_options = b'\272H\004r\002(\010' - _STRINGMINMAXBYTES.fields_by_name['val']._options = None - _STRINGMINMAXBYTES.fields_by_name['val']._serialized_options = b'\272H\006r\004 \004(\010' - _STRINGEQUALMINMAXBYTES.fields_by_name['val']._options = None - _STRINGEQUALMINMAXBYTES.fields_by_name['val']._serialized_options = b'\272H\006r\004 \004(\004' - _STRINGPATTERN.fields_by_name['val']._options = None - _STRINGPATTERN.fields_by_name['val']._serialized_options = b'\272H\023r\0212\017(?i)^[a-z0-9]+$' - _STRINGPATTERNESCAPES.fields_by_name['val']._options = None - _STRINGPATTERNESCAPES.fields_by_name['val']._serialized_options = b'\272H\014r\n2\010\\* \\\\ \\w' - _STRINGPREFIX.fields_by_name['val']._options = None - _STRINGPREFIX.fields_by_name['val']._serialized_options = b'\272H\007r\005:\003foo' - _STRINGCONTAINS.fields_by_name['val']._options = None - _STRINGCONTAINS.fields_by_name['val']._serialized_options = b'\272H\007r\005J\003bar' - _STRINGNOTCONTAINS.fields_by_name['val']._options = None - _STRINGNOTCONTAINS.fields_by_name['val']._serialized_options = b'\272H\010r\006\272\001\003bar' - _STRINGSUFFIX.fields_by_name['val']._options = None - _STRINGSUFFIX.fields_by_name['val']._serialized_options = b'\272H\007r\005B\003baz' - _STRINGEMAIL.fields_by_name['val']._options = None - _STRINGEMAIL.fields_by_name['val']._serialized_options = b'\272H\004r\002`\001' - _STRINGADDRESS.fields_by_name['val']._options = None - _STRINGADDRESS.fields_by_name['val']._serialized_options = b'\272H\005r\003\250\001\001' - _STRINGHOSTNAME.fields_by_name['val']._options = None - _STRINGHOSTNAME.fields_by_name['val']._serialized_options = b'\272H\004r\002h\001' - _STRINGIP.fields_by_name['val']._options = None - _STRINGIP.fields_by_name['val']._serialized_options = b'\272H\004r\002p\001' - _STRINGIPV4.fields_by_name['val']._options = None - _STRINGIPV4.fields_by_name['val']._serialized_options = b'\272H\004r\002x\001' - _STRINGIPV6.fields_by_name['val']._options = None - _STRINGIPV6.fields_by_name['val']._serialized_options = b'\272H\005r\003\200\001\001' - _STRINGIPWITHPREFIXLEN.fields_by_name['val']._options = None - _STRINGIPWITHPREFIXLEN.fields_by_name['val']._serialized_options = b'\272H\005r\003\320\001\001' - _STRINGIPV4WITHPREFIXLEN.fields_by_name['val']._options = None - _STRINGIPV4WITHPREFIXLEN.fields_by_name['val']._serialized_options = b'\272H\005r\003\330\001\001' - _STRINGIPV6WITHPREFIXLEN.fields_by_name['val']._options = None - _STRINGIPV6WITHPREFIXLEN.fields_by_name['val']._serialized_options = b'\272H\005r\003\340\001\001' - _STRINGIPPREFIX.fields_by_name['val']._options = None - _STRINGIPPREFIX.fields_by_name['val']._serialized_options = b'\272H\005r\003\350\001\001' - _STRINGIPV4PREFIX.fields_by_name['val']._options = None - _STRINGIPV4PREFIX.fields_by_name['val']._serialized_options = b'\272H\005r\003\360\001\001' - _STRINGIPV6PREFIX.fields_by_name['val']._options = None - _STRINGIPV6PREFIX.fields_by_name['val']._serialized_options = b'\272H\005r\003\370\001\001' - _STRINGURI.fields_by_name['val']._options = None - _STRINGURI.fields_by_name['val']._serialized_options = b'\272H\005r\003\210\001\001' - _STRINGURIREF.fields_by_name['val']._options = None - _STRINGURIREF.fields_by_name['val']._serialized_options = b'\272H\005r\003\220\001\001' - _STRINGUUID.fields_by_name['val']._options = None - _STRINGUUID.fields_by_name['val']._serialized_options = b'\272H\005r\003\260\001\001' - _STRINGHTTPHEADERNAME.fields_by_name['val']._options = None - _STRINGHTTPHEADERNAME.fields_by_name['val']._serialized_options = b'\272H\005r\003\300\001\001' - _STRINGHTTPHEADERVALUE.fields_by_name['val']._options = None - _STRINGHTTPHEADERVALUE.fields_by_name['val']._serialized_options = b'\272H\005r\003\300\001\002' - _STRINGHTTPHEADERNAMELOOSE.fields_by_name['val']._options = None - _STRINGHTTPHEADERNAMELOOSE.fields_by_name['val']._serialized_options = b'\272H\010r\006\300\001\001\310\001\000' - _STRINGHTTPHEADERVALUELOOSE.fields_by_name['val']._options = None - _STRINGHTTPHEADERVALUELOOSE.fields_by_name['val']._serialized_options = b'\272H\010r\006\300\001\002\310\001\000' - _STRINGUUIDIGNORE.fields_by_name['val']._options = None - _STRINGUUIDIGNORE.fields_by_name['val']._serialized_options = b'\272H\010r\003\260\001\001\320\001\001' - _STRINGINONEOF.fields_by_name['bar']._options = None - _STRINGINONEOF.fields_by_name['bar']._serialized_options = b'\272H\010r\006R\001aR\001b' - _STRINGHOSTANDPORT.fields_by_name['val']._options = None - _STRINGHOSTANDPORT.fields_by_name['val']._serialized_options = b'\272H\005r\003\200\002\001' - _STRINGHOSTANDOPTIONALPORT.fields_by_name['val']._options = None - _STRINGHOSTANDOPTIONALPORT.fields_by_name['val']._serialized_options = b'\272Hq\272\001n\n\"string.host_and_port.optional_port\022-value must be a host and (optional) port pair\032\031this.isHostAndPort(false)' +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_STRINGCONST'].fields_by_name['val']._loaded_options = None + _globals['_STRINGCONST'].fields_by_name['val']._serialized_options = b'\272H\007r\005\n\003foo' + _globals['_STRINGIN'].fields_by_name['val']._loaded_options = None + _globals['_STRINGIN'].fields_by_name['val']._serialized_options = b'\272H\014r\nR\003barR\003baz' + _globals['_STRINGNOTIN'].fields_by_name['val']._loaded_options = None + _globals['_STRINGNOTIN'].fields_by_name['val']._serialized_options = b'\272H\016r\014Z\004fizzZ\004buzz' + _globals['_STRINGLEN'].fields_by_name['val']._loaded_options = None + _globals['_STRINGLEN'].fields_by_name['val']._serialized_options = b'\272H\005r\003\230\001\003' + _globals['_STRINGMINLEN'].fields_by_name['val']._loaded_options = None + _globals['_STRINGMINLEN'].fields_by_name['val']._serialized_options = b'\272H\004r\002\020\003' + _globals['_STRINGMAXLEN'].fields_by_name['val']._loaded_options = None + _globals['_STRINGMAXLEN'].fields_by_name['val']._serialized_options = b'\272H\004r\002\030\005' + _globals['_STRINGMINMAXLEN'].fields_by_name['val']._loaded_options = None + _globals['_STRINGMINMAXLEN'].fields_by_name['val']._serialized_options = b'\272H\006r\004\020\003\030\005' + _globals['_STRINGEQUALMINMAXLEN'].fields_by_name['val']._loaded_options = None + _globals['_STRINGEQUALMINMAXLEN'].fields_by_name['val']._serialized_options = b'\272H\006r\004\020\005\030\005' + _globals['_STRINGLENBYTES'].fields_by_name['val']._loaded_options = None + _globals['_STRINGLENBYTES'].fields_by_name['val']._serialized_options = b'\272H\005r\003\240\001\004' + _globals['_STRINGMINBYTES'].fields_by_name['val']._loaded_options = None + _globals['_STRINGMINBYTES'].fields_by_name['val']._serialized_options = b'\272H\004r\002 \004' + _globals['_STRINGMAXBYTES'].fields_by_name['val']._loaded_options = None + _globals['_STRINGMAXBYTES'].fields_by_name['val']._serialized_options = b'\272H\004r\002(\010' + _globals['_STRINGMINMAXBYTES'].fields_by_name['val']._loaded_options = None + _globals['_STRINGMINMAXBYTES'].fields_by_name['val']._serialized_options = b'\272H\006r\004 \004(\010' + _globals['_STRINGEQUALMINMAXBYTES'].fields_by_name['val']._loaded_options = None + _globals['_STRINGEQUALMINMAXBYTES'].fields_by_name['val']._serialized_options = b'\272H\006r\004 \004(\004' + _globals['_STRINGPATTERN'].fields_by_name['val']._loaded_options = None + _globals['_STRINGPATTERN'].fields_by_name['val']._serialized_options = b'\272H\023r\0212\017(?i)^[a-z0-9]+$' + _globals['_STRINGPATTERNESCAPES'].fields_by_name['val']._loaded_options = None + _globals['_STRINGPATTERNESCAPES'].fields_by_name['val']._serialized_options = b'\272H\014r\n2\010\\* \\\\ \\w' + _globals['_STRINGPREFIX'].fields_by_name['val']._loaded_options = None + _globals['_STRINGPREFIX'].fields_by_name['val']._serialized_options = b'\272H\007r\005:\003foo' + _globals['_STRINGCONTAINS'].fields_by_name['val']._loaded_options = None + _globals['_STRINGCONTAINS'].fields_by_name['val']._serialized_options = b'\272H\007r\005J\003bar' + _globals['_STRINGNOTCONTAINS'].fields_by_name['val']._loaded_options = None + _globals['_STRINGNOTCONTAINS'].fields_by_name['val']._serialized_options = b'\272H\010r\006\272\001\003bar' + _globals['_STRINGSUFFIX'].fields_by_name['val']._loaded_options = None + _globals['_STRINGSUFFIX'].fields_by_name['val']._serialized_options = b'\272H\007r\005B\003baz' + _globals['_STRINGEMAIL'].fields_by_name['val']._loaded_options = None + _globals['_STRINGEMAIL'].fields_by_name['val']._serialized_options = b'\272H\004r\002`\001' + _globals['_STRINGADDRESS'].fields_by_name['val']._loaded_options = None + _globals['_STRINGADDRESS'].fields_by_name['val']._serialized_options = b'\272H\005r\003\250\001\001' + _globals['_STRINGHOSTNAME'].fields_by_name['val']._loaded_options = None + _globals['_STRINGHOSTNAME'].fields_by_name['val']._serialized_options = b'\272H\004r\002h\001' + _globals['_STRINGIP'].fields_by_name['val']._loaded_options = None + _globals['_STRINGIP'].fields_by_name['val']._serialized_options = b'\272H\004r\002p\001' + _globals['_STRINGIPV4'].fields_by_name['val']._loaded_options = None + _globals['_STRINGIPV4'].fields_by_name['val']._serialized_options = b'\272H\004r\002x\001' + _globals['_STRINGIPV6'].fields_by_name['val']._loaded_options = None + _globals['_STRINGIPV6'].fields_by_name['val']._serialized_options = b'\272H\005r\003\200\001\001' + _globals['_STRINGIPWITHPREFIXLEN'].fields_by_name['val']._loaded_options = None + _globals['_STRINGIPWITHPREFIXLEN'].fields_by_name['val']._serialized_options = b'\272H\005r\003\320\001\001' + _globals['_STRINGIPV4WITHPREFIXLEN'].fields_by_name['val']._loaded_options = None + _globals['_STRINGIPV4WITHPREFIXLEN'].fields_by_name['val']._serialized_options = b'\272H\005r\003\330\001\001' + _globals['_STRINGIPV6WITHPREFIXLEN'].fields_by_name['val']._loaded_options = None + _globals['_STRINGIPV6WITHPREFIXLEN'].fields_by_name['val']._serialized_options = b'\272H\005r\003\340\001\001' + _globals['_STRINGIPPREFIX'].fields_by_name['val']._loaded_options = None + _globals['_STRINGIPPREFIX'].fields_by_name['val']._serialized_options = b'\272H\005r\003\350\001\001' + _globals['_STRINGIPV4PREFIX'].fields_by_name['val']._loaded_options = None + _globals['_STRINGIPV4PREFIX'].fields_by_name['val']._serialized_options = b'\272H\005r\003\360\001\001' + _globals['_STRINGIPV6PREFIX'].fields_by_name['val']._loaded_options = None + _globals['_STRINGIPV6PREFIX'].fields_by_name['val']._serialized_options = b'\272H\005r\003\370\001\001' + _globals['_STRINGURI'].fields_by_name['val']._loaded_options = None + _globals['_STRINGURI'].fields_by_name['val']._serialized_options = b'\272H\005r\003\210\001\001' + _globals['_STRINGURIREF'].fields_by_name['val']._loaded_options = None + _globals['_STRINGURIREF'].fields_by_name['val']._serialized_options = b'\272H\005r\003\220\001\001' + _globals['_STRINGUUID'].fields_by_name['val']._loaded_options = None + _globals['_STRINGUUID'].fields_by_name['val']._serialized_options = b'\272H\005r\003\260\001\001' + _globals['_STRINGTUUID'].fields_by_name['val']._loaded_options = None + _globals['_STRINGTUUID'].fields_by_name['val']._serialized_options = b'\272H\005r\003\210\002\001' + _globals['_STRINGHTTPHEADERNAME'].fields_by_name['val']._loaded_options = None + _globals['_STRINGHTTPHEADERNAME'].fields_by_name['val']._serialized_options = b'\272H\005r\003\300\001\001' + _globals['_STRINGHTTPHEADERVALUE'].fields_by_name['val']._loaded_options = None + _globals['_STRINGHTTPHEADERVALUE'].fields_by_name['val']._serialized_options = b'\272H\005r\003\300\001\002' + _globals['_STRINGHTTPHEADERNAMELOOSE'].fields_by_name['val']._loaded_options = None + _globals['_STRINGHTTPHEADERNAMELOOSE'].fields_by_name['val']._serialized_options = b'\272H\010r\006\300\001\001\310\001\000' + _globals['_STRINGHTTPHEADERVALUELOOSE'].fields_by_name['val']._loaded_options = None + _globals['_STRINGHTTPHEADERVALUELOOSE'].fields_by_name['val']._serialized_options = b'\272H\010r\006\300\001\002\310\001\000' + _globals['_STRINGUUIDIGNORE'].fields_by_name['val']._loaded_options = None + _globals['_STRINGUUIDIGNORE'].fields_by_name['val']._serialized_options = b'\272H\010r\003\260\001\001\320\001\001' + _globals['_STRINGINONEOF'].fields_by_name['bar']._loaded_options = None + _globals['_STRINGINONEOF'].fields_by_name['bar']._serialized_options = b'\272H\010r\006R\001aR\001b' + _globals['_STRINGHOSTANDPORT'].fields_by_name['val']._loaded_options = None + _globals['_STRINGHOSTANDPORT'].fields_by_name['val']._serialized_options = b'\272H\005r\003\200\002\001' + _globals['_STRINGHOSTANDOPTIONALPORT'].fields_by_name['val']._loaded_options = None + _globals['_STRINGHOSTANDOPTIONALPORT'].fields_by_name['val']._serialized_options = b'\272Hq\272\001n\n\"string.host_and_port.optional_port\022-value must be a host and (optional) port pair\032\031this.isHostAndPort(false)' _globals['_STRINGNONE']._serialized_start=109 _globals['_STRINGNONE']._serialized_end=139 _globals['_STRINGCONST']._serialized_start=141 @@ -190,20 +202,22 @@ _globals['_STRINGURIREF']._serialized_end=1706 _globals['_STRINGUUID']._serialized_start=1708 _globals['_STRINGUUID']._serialized_end=1748 - _globals['_STRINGHTTPHEADERNAME']._serialized_start=1750 - _globals['_STRINGHTTPHEADERNAME']._serialized_end=1800 - _globals['_STRINGHTTPHEADERVALUE']._serialized_start=1802 - _globals['_STRINGHTTPHEADERVALUE']._serialized_end=1853 - _globals['_STRINGHTTPHEADERNAMELOOSE']._serialized_start=1855 - _globals['_STRINGHTTPHEADERNAMELOOSE']._serialized_end=1913 - _globals['_STRINGHTTPHEADERVALUELOOSE']._serialized_start=1915 - _globals['_STRINGHTTPHEADERVALUELOOSE']._serialized_end=1974 - _globals['_STRINGUUIDIGNORE']._serialized_start=1976 - _globals['_STRINGUUIDIGNORE']._serialized_end=2025 - _globals['_STRINGINONEOF']._serialized_start=2027 - _globals['_STRINGINONEOF']._serialized_end=2082 - _globals['_STRINGHOSTANDPORT']._serialized_start=2084 - _globals['_STRINGHOSTANDPORT']._serialized_end=2131 - _globals['_STRINGHOSTANDOPTIONALPORT']._serialized_start=2134 - _globals['_STRINGHOSTANDOPTIONALPORT']._serialized_end=2298 + _globals['_STRINGTUUID']._serialized_start=1750 + _globals['_STRINGTUUID']._serialized_end=1791 + _globals['_STRINGHTTPHEADERNAME']._serialized_start=1793 + _globals['_STRINGHTTPHEADERNAME']._serialized_end=1843 + _globals['_STRINGHTTPHEADERVALUE']._serialized_start=1845 + _globals['_STRINGHTTPHEADERVALUE']._serialized_end=1896 + _globals['_STRINGHTTPHEADERNAMELOOSE']._serialized_start=1898 + _globals['_STRINGHTTPHEADERNAMELOOSE']._serialized_end=1956 + _globals['_STRINGHTTPHEADERVALUELOOSE']._serialized_start=1958 + _globals['_STRINGHTTPHEADERVALUELOOSE']._serialized_end=2017 + _globals['_STRINGUUIDIGNORE']._serialized_start=2019 + _globals['_STRINGUUIDIGNORE']._serialized_end=2068 + _globals['_STRINGINONEOF']._serialized_start=2070 + _globals['_STRINGINONEOF']._serialized_end=2125 + _globals['_STRINGHOSTANDPORT']._serialized_start=2127 + _globals['_STRINGHOSTANDPORT']._serialized_end=2174 + _globals['_STRINGHOSTANDOPTIONALPORT']._serialized_start=2177 + _globals['_STRINGHOSTANDOPTIONALPORT']._serialized_end=2341 # @@protoc_insertion_point(module_scope) diff --git a/gen/buf/validate/conformance/cases/strings_pb2.pyi b/gen/buf/validate/conformance/cases/strings_pb2.pyi index 62cf024..d6718ca 100644 --- a/gen/buf/validate/conformance/cases/strings_pb2.pyi +++ b/gen/buf/validate/conformance/cases/strings_pb2.pyi @@ -20,259 +20,265 @@ from typing import ClassVar as _ClassVar, Optional as _Optional DESCRIPTOR: _descriptor.FileDescriptor class StringNone(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringConst(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringNotIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringLen(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringMinLen(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringMaxLen(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringMinMaxLen(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringEqualMinMaxLen(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringLenBytes(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringMinBytes(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringMaxBytes(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringMinMaxBytes(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringEqualMinMaxBytes(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringPattern(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringPatternEscapes(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringPrefix(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringContains(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringNotContains(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringSuffix(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringEmail(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringAddress(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringHostname(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringIP(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringIPv4(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringIPv6(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringIPWithPrefixLen(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringIPv4WithPrefixLen(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringIPv6WithPrefixLen(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringIPPrefix(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringIPv4Prefix(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringIPv6Prefix(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringURI(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringURIRef(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringUUID(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) + VAL_FIELD_NUMBER: _ClassVar[int] + val: str + def __init__(self, val: _Optional[str] = ...) -> None: ... + +class StringTUUID(_message.Message): + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringHttpHeaderName(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringHttpHeaderValue(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringHttpHeaderNameLoose(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringHttpHeaderValueLoose(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringUUIDIgnore(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringInOneof(_message.Message): - __slots__ = ["bar"] + __slots__ = ("bar",) BAR_FIELD_NUMBER: _ClassVar[int] bar: str def __init__(self, bar: _Optional[str] = ...) -> None: ... class StringHostAndPort(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... class StringHostAndOptionalPort(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: str def __init__(self, val: _Optional[str] = ...) -> None: ... diff --git a/gen/buf/validate/conformance/cases/subdirectory/in_subdirectory_pb2.py b/gen/buf/validate/conformance/cases/subdirectory/in_subdirectory_pb2.py index 3b06b12..fffc139 100644 --- a/gen/buf/validate/conformance/cases/subdirectory/in_subdirectory_pb2.py +++ b/gen/buf/validate/conformance/cases/subdirectory/in_subdirectory_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/conformance/cases/subdirectory/in_subdirectory.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/subdirectory/in_subdirectory.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -33,7 +44,6 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.subdirectory.in_subdirectory_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None # @@protoc_insertion_point(module_scope) diff --git a/gen/buf/validate/conformance/cases/wkt_any_pb2.py b/gen/buf/validate/conformance/cases/wkt_any_pb2.py index 847b4a2..b7d950b 100644 --- a/gen/buf/validate/conformance/cases/wkt_any_pb2.py +++ b/gen/buf/validate/conformance/cases/wkt_any_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/conformance/cases/wkt_any.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/wkt_any.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -34,15 +45,14 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.wkt_any_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _ANYREQUIRED.fields_by_name['val']._options = None - _ANYREQUIRED.fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' - _ANYIN.fields_by_name['val']._options = None - _ANYIN.fields_by_name['val']._serialized_options = b'\272H1\242\001.\022,type.googleapis.com/google.protobuf.Duration' - _ANYNOTIN.fields_by_name['val']._options = None - _ANYNOTIN.fields_by_name['val']._serialized_options = b'\272H2\242\001/\032-type.googleapis.com/google.protobuf.Timestamp' +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_ANYREQUIRED'].fields_by_name['val']._loaded_options = None + _globals['_ANYREQUIRED'].fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' + _globals['_ANYIN'].fields_by_name['val']._loaded_options = None + _globals['_ANYIN'].fields_by_name['val']._serialized_options = b'\272H1\242\001.\022,type.googleapis.com/google.protobuf.Duration' + _globals['_ANYNOTIN'].fields_by_name['val']._loaded_options = None + _globals['_ANYNOTIN'].fields_by_name['val']._serialized_options = b'\272H2\242\001/\032-type.googleapis.com/google.protobuf.Timestamp' _globals['_ANYNONE']._serialized_start=136 _globals['_ANYNONE']._serialized_end=185 _globals['_ANYREQUIRED']._serialized_start=187 diff --git a/gen/buf/validate/conformance/cases/wkt_any_pb2.pyi b/gen/buf/validate/conformance/cases/wkt_any_pb2.pyi index 76968e2..60ff04f 100644 --- a/gen/buf/validate/conformance/cases/wkt_any_pb2.pyi +++ b/gen/buf/validate/conformance/cases/wkt_any_pb2.pyi @@ -21,25 +21,25 @@ from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Opti DESCRIPTOR: _descriptor.FileDescriptor class AnyNone(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _any_pb2.Any def __init__(self, val: _Optional[_Union[_any_pb2.Any, _Mapping]] = ...) -> None: ... class AnyRequired(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _any_pb2.Any def __init__(self, val: _Optional[_Union[_any_pb2.Any, _Mapping]] = ...) -> None: ... class AnyIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _any_pb2.Any def __init__(self, val: _Optional[_Union[_any_pb2.Any, _Mapping]] = ...) -> None: ... class AnyNotIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _any_pb2.Any def __init__(self, val: _Optional[_Union[_any_pb2.Any, _Mapping]] = ...) -> None: ... diff --git a/gen/buf/validate/conformance/cases/wkt_duration_pb2.py b/gen/buf/validate/conformance/cases/wkt_duration_pb2.py index 393ff64..3236ab1 100644 --- a/gen/buf/validate/conformance/cases/wkt_duration_pb2.py +++ b/gen/buf/validate/conformance/cases/wkt_duration_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/conformance/cases/wkt_duration.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/wkt_duration.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -34,37 +45,36 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.wkt_duration_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _DURATIONREQUIRED.fields_by_name['val']._options = None - _DURATIONREQUIRED.fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' - _DURATIONCONST.fields_by_name['val']._options = None - _DURATIONCONST.fields_by_name['val']._serialized_options = b'\272H\007\252\001\004\022\002\010\003' - _DURATIONIN.fields_by_name['val']._options = None - _DURATIONIN.fields_by_name['val']._serialized_options = b'\272H\014\252\001\t:\002\010\001:\003\020\350\007' - _DURATIONNOTIN.fields_by_name['val']._options = None - _DURATIONNOTIN.fields_by_name['val']._serialized_options = b'\272H\005\252\001\002B\000' - _DURATIONLT.fields_by_name['val']._options = None - _DURATIONLT.fields_by_name['val']._serialized_options = b'\272H\005\252\001\002\032\000' - _DURATIONLTE.fields_by_name['val']._options = None - _DURATIONLTE.fields_by_name['val']._serialized_options = b'\272H\007\252\001\004\"\002\010\001' - _DURATIONGT.fields_by_name['val']._options = None - _DURATIONGT.fields_by_name['val']._serialized_options = b'\272H\010\252\001\005*\003\020\350\007' - _DURATIONGTE.fields_by_name['val']._options = None - _DURATIONGTE.fields_by_name['val']._serialized_options = b'\272H\t\252\001\0062\004\020\300\204=' - _DURATIONGTLT.fields_by_name['val']._options = None - _DURATIONGTLT.fields_by_name['val']._serialized_options = b'\272H\t\252\001\006\032\002\010\001*\000' - _DURATIONEXLTGT.fields_by_name['val']._options = None - _DURATIONEXLTGT.fields_by_name['val']._serialized_options = b'\272H\t\252\001\006\032\000*\002\010\001' - _DURATIONGTELTE.fields_by_name['val']._options = None - _DURATIONGTELTE.fields_by_name['val']._serialized_options = b'\272H\014\252\001\t\"\003\010\220\0342\002\010<' - _DURATIONEXGTELTE.fields_by_name['val']._options = None - _DURATIONEXGTELTE.fields_by_name['val']._serialized_options = b'\272H\014\252\001\t\"\002\010<2\003\010\220\034' - _DURATIONFIELDWITHOTHERFIELDS.fields_by_name['duration_val']._options = None - _DURATIONFIELDWITHOTHERFIELDS.fields_by_name['duration_val']._serialized_options = b'\272H\007\252\001\004\"\002\010\001' - _DURATIONFIELDWITHOTHERFIELDS.fields_by_name['int_val']._options = None - _DURATIONFIELDWITHOTHERFIELDS.fields_by_name['int_val']._serialized_options = b'\272H\004\032\002 \020' +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_DURATIONREQUIRED'].fields_by_name['val']._loaded_options = None + _globals['_DURATIONREQUIRED'].fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' + _globals['_DURATIONCONST'].fields_by_name['val']._loaded_options = None + _globals['_DURATIONCONST'].fields_by_name['val']._serialized_options = b'\272H\007\252\001\004\022\002\010\003' + _globals['_DURATIONIN'].fields_by_name['val']._loaded_options = None + _globals['_DURATIONIN'].fields_by_name['val']._serialized_options = b'\272H\014\252\001\t:\002\010\001:\003\020\350\007' + _globals['_DURATIONNOTIN'].fields_by_name['val']._loaded_options = None + _globals['_DURATIONNOTIN'].fields_by_name['val']._serialized_options = b'\272H\005\252\001\002B\000' + _globals['_DURATIONLT'].fields_by_name['val']._loaded_options = None + _globals['_DURATIONLT'].fields_by_name['val']._serialized_options = b'\272H\005\252\001\002\032\000' + _globals['_DURATIONLTE'].fields_by_name['val']._loaded_options = None + _globals['_DURATIONLTE'].fields_by_name['val']._serialized_options = b'\272H\007\252\001\004\"\002\010\001' + _globals['_DURATIONGT'].fields_by_name['val']._loaded_options = None + _globals['_DURATIONGT'].fields_by_name['val']._serialized_options = b'\272H\010\252\001\005*\003\020\350\007' + _globals['_DURATIONGTE'].fields_by_name['val']._loaded_options = None + _globals['_DURATIONGTE'].fields_by_name['val']._serialized_options = b'\272H\t\252\001\0062\004\020\300\204=' + _globals['_DURATIONGTLT'].fields_by_name['val']._loaded_options = None + _globals['_DURATIONGTLT'].fields_by_name['val']._serialized_options = b'\272H\t\252\001\006\032\002\010\001*\000' + _globals['_DURATIONEXLTGT'].fields_by_name['val']._loaded_options = None + _globals['_DURATIONEXLTGT'].fields_by_name['val']._serialized_options = b'\272H\t\252\001\006\032\000*\002\010\001' + _globals['_DURATIONGTELTE'].fields_by_name['val']._loaded_options = None + _globals['_DURATIONGTELTE'].fields_by_name['val']._serialized_options = b'\272H\014\252\001\t\"\003\010\220\0342\002\010<' + _globals['_DURATIONEXGTELTE'].fields_by_name['val']._loaded_options = None + _globals['_DURATIONEXGTELTE'].fields_by_name['val']._serialized_options = b'\272H\014\252\001\t\"\002\010<2\003\010\220\034' + _globals['_DURATIONFIELDWITHOTHERFIELDS'].fields_by_name['duration_val']._loaded_options = None + _globals['_DURATIONFIELDWITHOTHERFIELDS'].fields_by_name['duration_val']._serialized_options = b'\272H\007\252\001\004\"\002\010\001' + _globals['_DURATIONFIELDWITHOTHERFIELDS'].fields_by_name['int_val']._loaded_options = None + _globals['_DURATIONFIELDWITHOTHERFIELDS'].fields_by_name['int_val']._serialized_options = b'\272H\004\032\002 \020' _globals['_DURATIONNONE']._serialized_start=146 _globals['_DURATIONNONE']._serialized_end=205 _globals['_DURATIONREQUIRED']._serialized_start=207 diff --git a/gen/buf/validate/conformance/cases/wkt_duration_pb2.pyi b/gen/buf/validate/conformance/cases/wkt_duration_pb2.pyi index dada9ec..f6e875e 100644 --- a/gen/buf/validate/conformance/cases/wkt_duration_pb2.pyi +++ b/gen/buf/validate/conformance/cases/wkt_duration_pb2.pyi @@ -21,85 +21,85 @@ from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Opti DESCRIPTOR: _descriptor.FileDescriptor class DurationNone(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _duration_pb2.Duration def __init__(self, val: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ... class DurationRequired(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _duration_pb2.Duration def __init__(self, val: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ... class DurationConst(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _duration_pb2.Duration def __init__(self, val: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ... class DurationIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _duration_pb2.Duration def __init__(self, val: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ... class DurationNotIn(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _duration_pb2.Duration def __init__(self, val: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ... class DurationLT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _duration_pb2.Duration def __init__(self, val: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ... class DurationLTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _duration_pb2.Duration def __init__(self, val: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ... class DurationGT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _duration_pb2.Duration def __init__(self, val: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ... class DurationGTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _duration_pb2.Duration def __init__(self, val: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ... class DurationGTLT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _duration_pb2.Duration def __init__(self, val: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ... class DurationExLTGT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _duration_pb2.Duration def __init__(self, val: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ... class DurationGTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _duration_pb2.Duration def __init__(self, val: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ... class DurationExGTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _duration_pb2.Duration def __init__(self, val: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ... class DurationFieldWithOtherFields(_message.Message): - __slots__ = ["duration_val", "int_val"] + __slots__ = ("duration_val", "int_val") DURATION_VAL_FIELD_NUMBER: _ClassVar[int] INT_VAL_FIELD_NUMBER: _ClassVar[int] duration_val: _duration_pb2.Duration diff --git a/gen/buf/validate/conformance/cases/wkt_nested_pb2.py b/gen/buf/validate/conformance/cases/wkt_nested_pb2.py index 3957226..36ab7c5 100644 --- a/gen/buf/validate/conformance/cases/wkt_nested_pb2.py +++ b/gen/buf/validate/conformance/cases/wkt_nested_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/conformance/cases/wkt_nested.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/wkt_nested.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -33,15 +44,14 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.wkt_nested_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _WKTLEVELONE_WKTLEVELTWO_WKTLEVELTHREE.fields_by_name['uuid']._options = None - _WKTLEVELONE_WKTLEVELTWO_WKTLEVELTHREE.fields_by_name['uuid']._serialized_options = b'\272H\005r\003\260\001\001' - _WKTLEVELONE_WKTLEVELTWO.fields_by_name['three']._options = None - _WKTLEVELONE_WKTLEVELTWO.fields_by_name['three']._serialized_options = b'\272H\003\310\001\001' - _WKTLEVELONE.fields_by_name['two']._options = None - _WKTLEVELONE.fields_by_name['two']._serialized_options = b'\272H\003\310\001\001' +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_WKTLEVELONE_WKTLEVELTWO_WKTLEVELTHREE'].fields_by_name['uuid']._loaded_options = None + _globals['_WKTLEVELONE_WKTLEVELTWO_WKTLEVELTHREE'].fields_by_name['uuid']._serialized_options = b'\272H\005r\003\260\001\001' + _globals['_WKTLEVELONE_WKTLEVELTWO'].fields_by_name['three']._loaded_options = None + _globals['_WKTLEVELONE_WKTLEVELTWO'].fields_by_name['three']._serialized_options = b'\272H\003\310\001\001' + _globals['_WKTLEVELONE'].fields_by_name['two']._loaded_options = None + _globals['_WKTLEVELONE'].fields_by_name['two']._serialized_options = b'\272H\003\310\001\001' _globals['_WKTLEVELONE']._serialized_start=113 _globals['_WKTLEVELONE']._serialized_end=373 _globals['_WKTLEVELONE_WKTLEVELTWO']._serialized_start=212 diff --git a/gen/buf/validate/conformance/cases/wkt_nested_pb2.pyi b/gen/buf/validate/conformance/cases/wkt_nested_pb2.pyi index db9b34c..6ef4cbf 100644 --- a/gen/buf/validate/conformance/cases/wkt_nested_pb2.pyi +++ b/gen/buf/validate/conformance/cases/wkt_nested_pb2.pyi @@ -20,11 +20,11 @@ from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Opti DESCRIPTOR: _descriptor.FileDescriptor class WktLevelOne(_message.Message): - __slots__ = ["two"] + __slots__ = ("two",) class WktLevelTwo(_message.Message): - __slots__ = ["three"] + __slots__ = ("three",) class WktLevelThree(_message.Message): - __slots__ = ["uuid"] + __slots__ = ("uuid",) UUID_FIELD_NUMBER: _ClassVar[int] uuid: str def __init__(self, uuid: _Optional[str] = ...) -> None: ... diff --git a/gen/buf/validate/conformance/cases/wkt_timestamp_pb2.py b/gen/buf/validate/conformance/cases/wkt_timestamp_pb2.py index 8361287..99260c3 100644 --- a/gen/buf/validate/conformance/cases/wkt_timestamp_pb2.py +++ b/gen/buf/validate/conformance/cases/wkt_timestamp_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/conformance/cases/wkt_timestamp.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/wkt_timestamp.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -34,39 +45,38 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.wkt_timestamp_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _TIMESTAMPREQUIRED.fields_by_name['val']._options = None - _TIMESTAMPREQUIRED.fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' - _TIMESTAMPCONST.fields_by_name['val']._options = None - _TIMESTAMPCONST.fields_by_name['val']._serialized_options = b'\272H\007\262\001\004\022\002\010\003' - _TIMESTAMPLT.fields_by_name['val']._options = None - _TIMESTAMPLT.fields_by_name['val']._serialized_options = b'\272H\005\262\001\002\032\000' - _TIMESTAMPLTE.fields_by_name['val']._options = None - _TIMESTAMPLTE.fields_by_name['val']._serialized_options = b'\272H\007\262\001\004\"\002\010\001' - _TIMESTAMPGT.fields_by_name['val']._options = None - _TIMESTAMPGT.fields_by_name['val']._serialized_options = b'\272H\010\262\001\005*\003\020\350\007' - _TIMESTAMPGTE.fields_by_name['val']._options = None - _TIMESTAMPGTE.fields_by_name['val']._serialized_options = b'\272H\t\262\001\0062\004\020\300\204=' - _TIMESTAMPGTLT.fields_by_name['val']._options = None - _TIMESTAMPGTLT.fields_by_name['val']._serialized_options = b'\272H\t\262\001\006\032\002\010\001*\000' - _TIMESTAMPEXLTGT.fields_by_name['val']._options = None - _TIMESTAMPEXLTGT.fields_by_name['val']._serialized_options = b'\272H\t\262\001\006\032\000*\002\010\001' - _TIMESTAMPGTELTE.fields_by_name['val']._options = None - _TIMESTAMPGTELTE.fields_by_name['val']._serialized_options = b'\272H\014\262\001\t\"\003\010\220\0342\002\010<' - _TIMESTAMPEXGTELTE.fields_by_name['val']._options = None - _TIMESTAMPEXGTELTE.fields_by_name['val']._serialized_options = b'\272H\014\262\001\t\"\002\010<2\003\010\220\034' - _TIMESTAMPLTNOW.fields_by_name['val']._options = None - _TIMESTAMPLTNOW.fields_by_name['val']._serialized_options = b'\272H\005\262\001\0028\001' - _TIMESTAMPGTNOW.fields_by_name['val']._options = None - _TIMESTAMPGTNOW.fields_by_name['val']._serialized_options = b'\272H\005\262\001\002@\001' - _TIMESTAMPWITHIN.fields_by_name['val']._options = None - _TIMESTAMPWITHIN.fields_by_name['val']._serialized_options = b'\272H\010\262\001\005J\003\010\220\034' - _TIMESTAMPLTNOWWITHIN.fields_by_name['val']._options = None - _TIMESTAMPLTNOWWITHIN.fields_by_name['val']._serialized_options = b'\272H\n\262\001\0078\001J\003\010\220\034' - _TIMESTAMPGTNOWWITHIN.fields_by_name['val']._options = None - _TIMESTAMPGTNOWWITHIN.fields_by_name['val']._serialized_options = b'\272H\n\262\001\007@\001J\003\010\220\034' +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_TIMESTAMPREQUIRED'].fields_by_name['val']._loaded_options = None + _globals['_TIMESTAMPREQUIRED'].fields_by_name['val']._serialized_options = b'\272H\003\310\001\001' + _globals['_TIMESTAMPCONST'].fields_by_name['val']._loaded_options = None + _globals['_TIMESTAMPCONST'].fields_by_name['val']._serialized_options = b'\272H\007\262\001\004\022\002\010\003' + _globals['_TIMESTAMPLT'].fields_by_name['val']._loaded_options = None + _globals['_TIMESTAMPLT'].fields_by_name['val']._serialized_options = b'\272H\005\262\001\002\032\000' + _globals['_TIMESTAMPLTE'].fields_by_name['val']._loaded_options = None + _globals['_TIMESTAMPLTE'].fields_by_name['val']._serialized_options = b'\272H\007\262\001\004\"\002\010\001' + _globals['_TIMESTAMPGT'].fields_by_name['val']._loaded_options = None + _globals['_TIMESTAMPGT'].fields_by_name['val']._serialized_options = b'\272H\010\262\001\005*\003\020\350\007' + _globals['_TIMESTAMPGTE'].fields_by_name['val']._loaded_options = None + _globals['_TIMESTAMPGTE'].fields_by_name['val']._serialized_options = b'\272H\t\262\001\0062\004\020\300\204=' + _globals['_TIMESTAMPGTLT'].fields_by_name['val']._loaded_options = None + _globals['_TIMESTAMPGTLT'].fields_by_name['val']._serialized_options = b'\272H\t\262\001\006\032\002\010\001*\000' + _globals['_TIMESTAMPEXLTGT'].fields_by_name['val']._loaded_options = None + _globals['_TIMESTAMPEXLTGT'].fields_by_name['val']._serialized_options = b'\272H\t\262\001\006\032\000*\002\010\001' + _globals['_TIMESTAMPGTELTE'].fields_by_name['val']._loaded_options = None + _globals['_TIMESTAMPGTELTE'].fields_by_name['val']._serialized_options = b'\272H\014\262\001\t\"\003\010\220\0342\002\010<' + _globals['_TIMESTAMPEXGTELTE'].fields_by_name['val']._loaded_options = None + _globals['_TIMESTAMPEXGTELTE'].fields_by_name['val']._serialized_options = b'\272H\014\262\001\t\"\002\010<2\003\010\220\034' + _globals['_TIMESTAMPLTNOW'].fields_by_name['val']._loaded_options = None + _globals['_TIMESTAMPLTNOW'].fields_by_name['val']._serialized_options = b'\272H\005\262\001\0028\001' + _globals['_TIMESTAMPGTNOW'].fields_by_name['val']._loaded_options = None + _globals['_TIMESTAMPGTNOW'].fields_by_name['val']._serialized_options = b'\272H\005\262\001\002@\001' + _globals['_TIMESTAMPWITHIN'].fields_by_name['val']._loaded_options = None + _globals['_TIMESTAMPWITHIN'].fields_by_name['val']._serialized_options = b'\272H\010\262\001\005J\003\010\220\034' + _globals['_TIMESTAMPLTNOWWITHIN'].fields_by_name['val']._loaded_options = None + _globals['_TIMESTAMPLTNOWWITHIN'].fields_by_name['val']._serialized_options = b'\272H\n\262\001\0078\001J\003\010\220\034' + _globals['_TIMESTAMPGTNOWWITHIN'].fields_by_name['val']._loaded_options = None + _globals['_TIMESTAMPGTNOWWITHIN'].fields_by_name['val']._serialized_options = b'\272H\n\262\001\007@\001J\003\010\220\034' _globals['_TIMESTAMPNONE']._serialized_start=148 _globals['_TIMESTAMPNONE']._serialized_end=209 _globals['_TIMESTAMPREQUIRED']._serialized_start=211 diff --git a/gen/buf/validate/conformance/cases/wkt_timestamp_pb2.pyi b/gen/buf/validate/conformance/cases/wkt_timestamp_pb2.pyi index 03c57b5..9b34235 100644 --- a/gen/buf/validate/conformance/cases/wkt_timestamp_pb2.pyi +++ b/gen/buf/validate/conformance/cases/wkt_timestamp_pb2.pyi @@ -21,97 +21,97 @@ from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Opti DESCRIPTOR: _descriptor.FileDescriptor class TimestampNone(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _timestamp_pb2.Timestamp def __init__(self, val: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class TimestampRequired(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _timestamp_pb2.Timestamp def __init__(self, val: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class TimestampConst(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _timestamp_pb2.Timestamp def __init__(self, val: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class TimestampLT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _timestamp_pb2.Timestamp def __init__(self, val: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class TimestampLTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _timestamp_pb2.Timestamp def __init__(self, val: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class TimestampGT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _timestamp_pb2.Timestamp def __init__(self, val: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class TimestampGTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _timestamp_pb2.Timestamp def __init__(self, val: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class TimestampGTLT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _timestamp_pb2.Timestamp def __init__(self, val: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class TimestampExLTGT(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _timestamp_pb2.Timestamp def __init__(self, val: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class TimestampGTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _timestamp_pb2.Timestamp def __init__(self, val: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class TimestampExGTELTE(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _timestamp_pb2.Timestamp def __init__(self, val: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class TimestampLTNow(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _timestamp_pb2.Timestamp def __init__(self, val: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class TimestampGTNow(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _timestamp_pb2.Timestamp def __init__(self, val: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class TimestampWithin(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _timestamp_pb2.Timestamp def __init__(self, val: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class TimestampLTNowWithin(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _timestamp_pb2.Timestamp def __init__(self, val: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class TimestampGTNowWithin(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _timestamp_pb2.Timestamp def __init__(self, val: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... diff --git a/gen/buf/validate/conformance/cases/wkt_wrappers_pb2.py b/gen/buf/validate/conformance/cases/wkt_wrappers_pb2.py index 26d5ed1..490a229 100644 --- a/gen/buf/validate/conformance/cases/wkt_wrappers_pb2.py +++ b/gen/buf/validate/conformance/cases/wkt_wrappers_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/conformance/cases/wkt_wrappers.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/wkt_wrappers.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -34,35 +45,34 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.wkt_wrappers_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _WRAPPERFLOAT.fields_by_name['val']._options = None - _WRAPPERFLOAT.fields_by_name['val']._serialized_options = b'\272H\007\n\005%\000\000\000\000' - _WRAPPERDOUBLE.fields_by_name['val']._options = None - _WRAPPERDOUBLE.fields_by_name['val']._serialized_options = b'\272H\013\022\t!\000\000\000\000\000\000\000\000' - _WRAPPERINT64.fields_by_name['val']._options = None - _WRAPPERINT64.fields_by_name['val']._serialized_options = b'\272H\004\"\002 \000' - _WRAPPERINT32.fields_by_name['val']._options = None - _WRAPPERINT32.fields_by_name['val']._serialized_options = b'\272H\004\032\002 \000' - _WRAPPERUINT64.fields_by_name['val']._options = None - _WRAPPERUINT64.fields_by_name['val']._serialized_options = b'\272H\0042\002 \000' - _WRAPPERUINT32.fields_by_name['val']._options = None - _WRAPPERUINT32.fields_by_name['val']._serialized_options = b'\272H\004*\002 \000' - _WRAPPERBOOL.fields_by_name['val']._options = None - _WRAPPERBOOL.fields_by_name['val']._serialized_options = b'\272H\004j\002\010\001' - _WRAPPERSTRING.fields_by_name['val']._options = None - _WRAPPERSTRING.fields_by_name['val']._serialized_options = b'\272H\007r\005B\003bar' - _WRAPPERBYTES.fields_by_name['val']._options = None - _WRAPPERBYTES.fields_by_name['val']._serialized_options = b'\272H\004z\002\020\003' - _WRAPPERREQUIREDSTRING.fields_by_name['val']._options = None - _WRAPPERREQUIREDSTRING.fields_by_name['val']._serialized_options = b'\272H\nr\005\n\003bar\310\001\001' - _WRAPPERREQUIREDEMPTYSTRING.fields_by_name['val']._options = None - _WRAPPERREQUIREDEMPTYSTRING.fields_by_name['val']._serialized_options = b'\272H\007r\002\n\000\310\001\001' - _WRAPPEROPTIONALUUIDSTRING.fields_by_name['val']._options = None - _WRAPPEROPTIONALUUIDSTRING.fields_by_name['val']._serialized_options = b'\272H\005r\003\260\001\001' - _WRAPPERREQUIREDFLOAT.fields_by_name['val']._options = None - _WRAPPERREQUIREDFLOAT.fields_by_name['val']._serialized_options = b'\272H\n\n\005%\000\000\000\000\310\001\001' +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_WRAPPERFLOAT'].fields_by_name['val']._loaded_options = None + _globals['_WRAPPERFLOAT'].fields_by_name['val']._serialized_options = b'\272H\007\n\005%\000\000\000\000' + _globals['_WRAPPERDOUBLE'].fields_by_name['val']._loaded_options = None + _globals['_WRAPPERDOUBLE'].fields_by_name['val']._serialized_options = b'\272H\013\022\t!\000\000\000\000\000\000\000\000' + _globals['_WRAPPERINT64'].fields_by_name['val']._loaded_options = None + _globals['_WRAPPERINT64'].fields_by_name['val']._serialized_options = b'\272H\004\"\002 \000' + _globals['_WRAPPERINT32'].fields_by_name['val']._loaded_options = None + _globals['_WRAPPERINT32'].fields_by_name['val']._serialized_options = b'\272H\004\032\002 \000' + _globals['_WRAPPERUINT64'].fields_by_name['val']._loaded_options = None + _globals['_WRAPPERUINT64'].fields_by_name['val']._serialized_options = b'\272H\0042\002 \000' + _globals['_WRAPPERUINT32'].fields_by_name['val']._loaded_options = None + _globals['_WRAPPERUINT32'].fields_by_name['val']._serialized_options = b'\272H\004*\002 \000' + _globals['_WRAPPERBOOL'].fields_by_name['val']._loaded_options = None + _globals['_WRAPPERBOOL'].fields_by_name['val']._serialized_options = b'\272H\004j\002\010\001' + _globals['_WRAPPERSTRING'].fields_by_name['val']._loaded_options = None + _globals['_WRAPPERSTRING'].fields_by_name['val']._serialized_options = b'\272H\007r\005B\003bar' + _globals['_WRAPPERBYTES'].fields_by_name['val']._loaded_options = None + _globals['_WRAPPERBYTES'].fields_by_name['val']._serialized_options = b'\272H\004z\002\020\003' + _globals['_WRAPPERREQUIREDSTRING'].fields_by_name['val']._loaded_options = None + _globals['_WRAPPERREQUIREDSTRING'].fields_by_name['val']._serialized_options = b'\272H\nr\005\n\003bar\310\001\001' + _globals['_WRAPPERREQUIREDEMPTYSTRING'].fields_by_name['val']._loaded_options = None + _globals['_WRAPPERREQUIREDEMPTYSTRING'].fields_by_name['val']._serialized_options = b'\272H\007r\002\n\000\310\001\001' + _globals['_WRAPPEROPTIONALUUIDSTRING'].fields_by_name['val']._loaded_options = None + _globals['_WRAPPEROPTIONALUUIDSTRING'].fields_by_name['val']._serialized_options = b'\272H\005r\003\260\001\001' + _globals['_WRAPPERREQUIREDFLOAT'].fields_by_name['val']._loaded_options = None + _globals['_WRAPPERREQUIREDFLOAT'].fields_by_name['val']._serialized_options = b'\272H\n\n\005%\000\000\000\000\310\001\001' _globals['_WRAPPERNONE']._serialized_start=146 _globals['_WRAPPERNONE']._serialized_end=206 _globals['_WRAPPERFLOAT']._serialized_start=208 diff --git a/gen/buf/validate/conformance/cases/wkt_wrappers_pb2.pyi b/gen/buf/validate/conformance/cases/wkt_wrappers_pb2.pyi index 1790f76..e90bb71 100644 --- a/gen/buf/validate/conformance/cases/wkt_wrappers_pb2.pyi +++ b/gen/buf/validate/conformance/cases/wkt_wrappers_pb2.pyi @@ -21,85 +21,85 @@ from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Opti DESCRIPTOR: _descriptor.FileDescriptor class WrapperNone(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _wrappers_pb2.Int32Value def __init__(self, val: _Optional[_Union[_wrappers_pb2.Int32Value, _Mapping]] = ...) -> None: ... class WrapperFloat(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _wrappers_pb2.FloatValue def __init__(self, val: _Optional[_Union[_wrappers_pb2.FloatValue, _Mapping]] = ...) -> None: ... class WrapperDouble(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _wrappers_pb2.DoubleValue def __init__(self, val: _Optional[_Union[_wrappers_pb2.DoubleValue, _Mapping]] = ...) -> None: ... class WrapperInt64(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _wrappers_pb2.Int64Value def __init__(self, val: _Optional[_Union[_wrappers_pb2.Int64Value, _Mapping]] = ...) -> None: ... class WrapperInt32(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _wrappers_pb2.Int32Value def __init__(self, val: _Optional[_Union[_wrappers_pb2.Int32Value, _Mapping]] = ...) -> None: ... class WrapperUInt64(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _wrappers_pb2.UInt64Value def __init__(self, val: _Optional[_Union[_wrappers_pb2.UInt64Value, _Mapping]] = ...) -> None: ... class WrapperUInt32(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _wrappers_pb2.UInt32Value def __init__(self, val: _Optional[_Union[_wrappers_pb2.UInt32Value, _Mapping]] = ...) -> None: ... class WrapperBool(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _wrappers_pb2.BoolValue def __init__(self, val: _Optional[_Union[_wrappers_pb2.BoolValue, _Mapping]] = ...) -> None: ... class WrapperString(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _wrappers_pb2.StringValue def __init__(self, val: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ...) -> None: ... class WrapperBytes(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _wrappers_pb2.BytesValue def __init__(self, val: _Optional[_Union[_wrappers_pb2.BytesValue, _Mapping]] = ...) -> None: ... class WrapperRequiredString(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _wrappers_pb2.StringValue def __init__(self, val: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ...) -> None: ... class WrapperRequiredEmptyString(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _wrappers_pb2.StringValue def __init__(self, val: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ...) -> None: ... class WrapperOptionalUuidString(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _wrappers_pb2.StringValue def __init__(self, val: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ...) -> None: ... class WrapperRequiredFloat(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) VAL_FIELD_NUMBER: _ClassVar[int] val: _wrappers_pb2.FloatValue def __init__(self, val: _Optional[_Union[_wrappers_pb2.FloatValue, _Mapping]] = ...) -> None: ... diff --git a/gen/buf/validate/conformance/cases/yet_another_package/embed2_pb2.py b/gen/buf/validate/conformance/cases/yet_another_package/embed2_pb2.py index caf1148..977969b 100644 --- a/gen/buf/validate/conformance/cases/yet_another_package/embed2_pb2.py +++ b/gen/buf/validate/conformance/cases/yet_another_package/embed2_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/conformance/cases/yet_another_package/embed2.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/cases/yet_another_package/embed2.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -33,11 +44,10 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.yet_another_package.embed2_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _EMBED.fields_by_name['val']._options = None - _EMBED.fields_by_name['val']._serialized_options = b'\272H\004\"\002 \000' +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_EMBED'].fields_by_name['val']._loaded_options = None + _globals['_EMBED'].fields_by_name['val']._serialized_options = b'\272H\004\"\002 \000' _globals['_EMBED']._serialized_start=148 _globals['_EMBED']._serialized_end=246 _globals['_EMBED_ENUMERATED']._serialized_start=184 diff --git a/gen/buf/validate/conformance/cases/yet_another_package/embed2_pb2.pyi b/gen/buf/validate/conformance/cases/yet_another_package/embed2_pb2.pyi index aec95ff..557ca06 100644 --- a/gen/buf/validate/conformance/cases/yet_another_package/embed2_pb2.pyi +++ b/gen/buf/validate/conformance/cases/yet_another_package/embed2_pb2.pyi @@ -21,9 +21,9 @@ from typing import ClassVar as _ClassVar, Optional as _Optional DESCRIPTOR: _descriptor.FileDescriptor class Embed(_message.Message): - __slots__ = ["val"] + __slots__ = ("val",) class Enumerated(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] + __slots__ = () ENUMERATED_UNSPECIFIED: _ClassVar[Embed.Enumerated] ENUMERATED_VALUE: _ClassVar[Embed.Enumerated] ENUMERATED_UNSPECIFIED: Embed.Enumerated diff --git a/gen/buf/validate/conformance/harness/harness_pb2.py b/gen/buf/validate/conformance/harness/harness_pb2.py index 599257c..355dcfe 100644 --- a/gen/buf/validate/conformance/harness/harness_pb2.py +++ b/gen/buf/validate/conformance/harness/harness_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/conformance/harness/harness.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/harness/harness.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -35,13 +46,12 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.harness.harness_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - _TESTCONFORMANCEREQUEST_CASESENTRY._options = None - _TESTCONFORMANCEREQUEST_CASESENTRY._serialized_options = b'8\001' - _TESTCONFORMANCERESPONSE_RESULTSENTRY._options = None - _TESTCONFORMANCERESPONSE_RESULTSENTRY._serialized_options = b'8\001' +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals['_TESTCONFORMANCEREQUEST_CASESENTRY']._loaded_options = None + _globals['_TESTCONFORMANCEREQUEST_CASESENTRY']._serialized_options = b'8\001' + _globals['_TESTCONFORMANCERESPONSE_RESULTSENTRY']._loaded_options = None + _globals['_TESTCONFORMANCERESPONSE_RESULTSENTRY']._serialized_options = b'8\001' _globals['_TESTCONFORMANCEREQUEST']._serialized_start=177 _globals['_TESTCONFORMANCEREQUEST']._serialized_end=430 _globals['_TESTCONFORMANCEREQUEST_CASESENTRY']._serialized_start=352 diff --git a/gen/buf/validate/conformance/harness/harness_pb2.pyi b/gen/buf/validate/conformance/harness/harness_pb2.pyi index 78a98a7..6fb85ef 100644 --- a/gen/buf/validate/conformance/harness/harness_pb2.pyi +++ b/gen/buf/validate/conformance/harness/harness_pb2.pyi @@ -23,9 +23,9 @@ from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Opti DESCRIPTOR: _descriptor.FileDescriptor class TestConformanceRequest(_message.Message): - __slots__ = ["fdset", "cases"] + __slots__ = ("fdset", "cases") class CasesEntry(_message.Message): - __slots__ = ["key", "value"] + __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] VALUE_FIELD_NUMBER: _ClassVar[int] key: str @@ -38,9 +38,9 @@ class TestConformanceRequest(_message.Message): def __init__(self, fdset: _Optional[_Union[_descriptor_pb2.FileDescriptorSet, _Mapping]] = ..., cases: _Optional[_Mapping[str, _any_pb2.Any]] = ...) -> None: ... class TestConformanceResponse(_message.Message): - __slots__ = ["results"] + __slots__ = ("results",) class ResultsEntry(_message.Message): - __slots__ = ["key", "value"] + __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] VALUE_FIELD_NUMBER: _ClassVar[int] key: str @@ -51,7 +51,7 @@ class TestConformanceResponse(_message.Message): def __init__(self, results: _Optional[_Mapping[str, TestResult]] = ...) -> None: ... class TestResult(_message.Message): - __slots__ = ["success", "validation_error", "compilation_error", "runtime_error", "unexpected_error"] + __slots__ = ("success", "validation_error", "compilation_error", "runtime_error", "unexpected_error") SUCCESS_FIELD_NUMBER: _ClassVar[int] VALIDATION_ERROR_FIELD_NUMBER: _ClassVar[int] COMPILATION_ERROR_FIELD_NUMBER: _ClassVar[int] diff --git a/gen/buf/validate/conformance/harness/results_pb2.py b/gen/buf/validate/conformance/harness/results_pb2.py index 74473e4..6c0a5a9 100644 --- a/gen/buf/validate/conformance/harness/results_pb2.py +++ b/gen/buf/validate/conformance/harness/results_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/conformance/harness/results.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/conformance/harness/results.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -35,9 +46,8 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.harness.results_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None _globals['_RESULTOPTIONS']._serialized_start=194 _globals['_RESULTOPTIONS']._serialized_end=401 _globals['_RESULTSET']._serialized_start=404 diff --git a/gen/buf/validate/conformance/harness/results_pb2.pyi b/gen/buf/validate/conformance/harness/results_pb2.pyi index 9836bb2..1816b5e 100644 --- a/gen/buf/validate/conformance/harness/results_pb2.pyi +++ b/gen/buf/validate/conformance/harness/results_pb2.pyi @@ -23,7 +23,7 @@ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Map DESCRIPTOR: _descriptor.FileDescriptor class ResultOptions(_message.Message): - __slots__ = ["suite_filter", "case_filter", "verbose", "strict", "strict_message", "strict_error"] + __slots__ = ("suite_filter", "case_filter", "verbose", "strict", "strict_message", "strict_error") SUITE_FILTER_FIELD_NUMBER: _ClassVar[int] CASE_FILTER_FIELD_NUMBER: _ClassVar[int] VERBOSE_FIELD_NUMBER: _ClassVar[int] @@ -39,7 +39,7 @@ class ResultOptions(_message.Message): def __init__(self, suite_filter: _Optional[str] = ..., case_filter: _Optional[str] = ..., verbose: bool = ..., strict: bool = ..., strict_message: bool = ..., strict_error: bool = ...) -> None: ... class ResultSet(_message.Message): - __slots__ = ["successes", "failures", "suites", "options", "expected_failures"] + __slots__ = ("successes", "failures", "suites", "options", "expected_failures") SUCCESSES_FIELD_NUMBER: _ClassVar[int] FAILURES_FIELD_NUMBER: _ClassVar[int] SUITES_FIELD_NUMBER: _ClassVar[int] @@ -53,7 +53,7 @@ class ResultSet(_message.Message): def __init__(self, successes: _Optional[int] = ..., failures: _Optional[int] = ..., suites: _Optional[_Iterable[_Union[SuiteResults, _Mapping]]] = ..., options: _Optional[_Union[ResultOptions, _Mapping]] = ..., expected_failures: _Optional[int] = ...) -> None: ... class SuiteResults(_message.Message): - __slots__ = ["name", "successes", "failures", "cases", "fdset", "expected_failures"] + __slots__ = ("name", "successes", "failures", "cases", "fdset", "expected_failures") NAME_FIELD_NUMBER: _ClassVar[int] SUCCESSES_FIELD_NUMBER: _ClassVar[int] FAILURES_FIELD_NUMBER: _ClassVar[int] @@ -69,7 +69,7 @@ class SuiteResults(_message.Message): def __init__(self, name: _Optional[str] = ..., successes: _Optional[int] = ..., failures: _Optional[int] = ..., cases: _Optional[_Iterable[_Union[CaseResult, _Mapping]]] = ..., fdset: _Optional[_Union[_descriptor_pb2.FileDescriptorSet, _Mapping]] = ..., expected_failures: _Optional[int] = ...) -> None: ... class CaseResult(_message.Message): - __slots__ = ["name", "success", "wanted", "got", "input", "expected_failure"] + __slots__ = ("name", "success", "wanted", "got", "input", "expected_failure") NAME_FIELD_NUMBER: _ClassVar[int] SUCCESS_FIELD_NUMBER: _ClassVar[int] WANTED_FIELD_NUMBER: _ClassVar[int] diff --git a/gen/buf/validate/expression_pb2.py b/gen/buf/validate/expression_pb2.py index 7230285..87f4c3b 100644 --- a/gen/buf/validate/expression_pb2.py +++ b/gen/buf/validate/expression_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/expression.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/expression.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -32,10 +43,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.expression_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\022build.buf.validateB\017ExpressionProtoP\001ZGbuf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate' +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\022build.buf.validateB\017ExpressionProtoP\001ZGbuf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate' _globals['_CONSTRAINT']._serialized_start=47 _globals['_CONSTRAINT']._serialized_end=133 _globals['_VIOLATIONS']._serialized_start=135 diff --git a/gen/buf/validate/expression_pb2.pyi b/gen/buf/validate/expression_pb2.pyi index 9331643..fd25f00 100644 --- a/gen/buf/validate/expression_pb2.pyi +++ b/gen/buf/validate/expression_pb2.pyi @@ -20,7 +20,7 @@ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Map DESCRIPTOR: _descriptor.FileDescriptor class Constraint(_message.Message): - __slots__ = ["id", "message", "expression"] + __slots__ = ("id", "message", "expression") ID_FIELD_NUMBER: _ClassVar[int] MESSAGE_FIELD_NUMBER: _ClassVar[int] EXPRESSION_FIELD_NUMBER: _ClassVar[int] @@ -30,13 +30,13 @@ class Constraint(_message.Message): def __init__(self, id: _Optional[str] = ..., message: _Optional[str] = ..., expression: _Optional[str] = ...) -> None: ... class Violations(_message.Message): - __slots__ = ["violations"] + __slots__ = ("violations",) VIOLATIONS_FIELD_NUMBER: _ClassVar[int] violations: _containers.RepeatedCompositeFieldContainer[Violation] def __init__(self, violations: _Optional[_Iterable[_Union[Violation, _Mapping]]] = ...) -> None: ... class Violation(_message.Message): - __slots__ = ["field_path", "constraint_id", "message", "for_key"] + __slots__ = ("field_path", "constraint_id", "message", "for_key") FIELD_PATH_FIELD_NUMBER: _ClassVar[int] CONSTRAINT_ID_FIELD_NUMBER: _ClassVar[int] MESSAGE_FIELD_NUMBER: _ClassVar[int] diff --git a/gen/buf/validate/priv/private_pb2.py b/gen/buf/validate/priv/private_pb2.py index bec1b75..a19d5b7 100644 --- a/gen/buf/validate/priv/private_pb2.py +++ b/gen/buf/validate/priv/private_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/priv/private.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/priv/private.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -33,11 +44,9 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.priv.private_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(field) - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\027build.buf.validate.privB\014PrivateProtoP\001ZLbuf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate/priv' +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027build.buf.validate.privB\014PrivateProtoP\001ZLbuf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate/priv' _globals['_FIELDCONSTRAINTS']._serialized_start=88 _globals['_FIELDCONSTRAINTS']._serialized_end=155 _globals['_CONSTRAINT']._serialized_start=157 diff --git a/gen/buf/validate/priv/private_pb2.pyi b/gen/buf/validate/priv/private_pb2.pyi index 539d46d..fe28949 100644 --- a/gen/buf/validate/priv/private_pb2.pyi +++ b/gen/buf/validate/priv/private_pb2.pyi @@ -23,13 +23,13 @@ FIELD_FIELD_NUMBER: _ClassVar[int] field: _descriptor.FieldDescriptor class FieldConstraints(_message.Message): - __slots__ = ["cel"] + __slots__ = ("cel",) CEL_FIELD_NUMBER: _ClassVar[int] cel: _containers.RepeatedCompositeFieldContainer[Constraint] def __init__(self, cel: _Optional[_Iterable[_Union[Constraint, _Mapping]]] = ...) -> None: ... class Constraint(_message.Message): - __slots__ = ["id", "message", "expression"] + __slots__ = ("id", "message", "expression") ID_FIELD_NUMBER: _ClassVar[int] MESSAGE_FIELD_NUMBER: _ClassVar[int] EXPRESSION_FIELD_NUMBER: _ClassVar[int] diff --git a/gen/buf/validate/validate_pb2.py b/gen/buf/validate/validate_pb2.py index 713e38c..37fe6be 100644 --- a/gen/buf/validate/validate_pb2.py +++ b/gen/buf/validate/validate_pb2.py @@ -14,12 +14,23 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/validate.proto +# Protobuf Python Version: 5.27.2 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 27, + 2, + '', + 'buf/validate/validate.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -32,378 +43,384 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x62uf/validate/validate.proto\x12\x0c\x62uf.validate\x1a\x1d\x62uf/validate/expression.proto\x1a\x1f\x62uf/validate/priv/private.proto\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"n\n\x12MessageConstraints\x12\x1f\n\x08\x64isabled\x18\x01 \x01(\x08H\x00R\x08\x64isabled\x88\x01\x01\x12*\n\x03\x63\x65l\x18\x03 \x03(\x0b\x32\x18.buf.validate.ConstraintR\x03\x63\x65lB\x0b\n\t_disabled\"@\n\x10OneofConstraints\x12\x1f\n\x08required\x18\x01 \x01(\x08H\x00R\x08required\x88\x01\x01\x42\x0b\n\t_required\"\xa7\n\n\x10\x46ieldConstraints\x12*\n\x03\x63\x65l\x18\x17 \x03(\x0b\x32\x18.buf.validate.ConstraintR\x03\x63\x65l\x12\x18\n\x07skipped\x18\x18 \x01(\x08R\x07skipped\x12\x1a\n\x08required\x18\x19 \x01(\x08R\x08required\x12%\n\x0cignore_empty\x18\x1a \x01(\x08\x42\x02\x18\x01R\x0bignoreEmpty\x12,\n\x06ignore\x18\x1b \x01(\x0e\x32\x14.buf.validate.IgnoreR\x06ignore\x12\x30\n\x05\x66loat\x18\x01 \x01(\x0b\x32\x18.buf.validate.FloatRulesH\x00R\x05\x66loat\x12\x33\n\x06\x64ouble\x18\x02 \x01(\x0b\x32\x19.buf.validate.DoubleRulesH\x00R\x06\x64ouble\x12\x30\n\x05int32\x18\x03 \x01(\x0b\x32\x18.buf.validate.Int32RulesH\x00R\x05int32\x12\x30\n\x05int64\x18\x04 \x01(\x0b\x32\x18.buf.validate.Int64RulesH\x00R\x05int64\x12\x33\n\x06uint32\x18\x05 \x01(\x0b\x32\x19.buf.validate.UInt32RulesH\x00R\x06uint32\x12\x33\n\x06uint64\x18\x06 \x01(\x0b\x32\x19.buf.validate.UInt64RulesH\x00R\x06uint64\x12\x33\n\x06sint32\x18\x07 \x01(\x0b\x32\x19.buf.validate.SInt32RulesH\x00R\x06sint32\x12\x33\n\x06sint64\x18\x08 \x01(\x0b\x32\x19.buf.validate.SInt64RulesH\x00R\x06sint64\x12\x36\n\x07\x66ixed32\x18\t \x01(\x0b\x32\x1a.buf.validate.Fixed32RulesH\x00R\x07\x66ixed32\x12\x36\n\x07\x66ixed64\x18\n \x01(\x0b\x32\x1a.buf.validate.Fixed64RulesH\x00R\x07\x66ixed64\x12\x39\n\x08sfixed32\x18\x0b \x01(\x0b\x32\x1b.buf.validate.SFixed32RulesH\x00R\x08sfixed32\x12\x39\n\x08sfixed64\x18\x0c \x01(\x0b\x32\x1b.buf.validate.SFixed64RulesH\x00R\x08sfixed64\x12-\n\x04\x62ool\x18\r \x01(\x0b\x32\x17.buf.validate.BoolRulesH\x00R\x04\x62ool\x12\x33\n\x06string\x18\x0e \x01(\x0b\x32\x19.buf.validate.StringRulesH\x00R\x06string\x12\x30\n\x05\x62ytes\x18\x0f \x01(\x0b\x32\x18.buf.validate.BytesRulesH\x00R\x05\x62ytes\x12-\n\x04\x65num\x18\x10 \x01(\x0b\x32\x17.buf.validate.EnumRulesH\x00R\x04\x65num\x12\x39\n\x08repeated\x18\x12 \x01(\x0b\x32\x1b.buf.validate.RepeatedRulesH\x00R\x08repeated\x12*\n\x03map\x18\x13 \x01(\x0b\x32\x16.buf.validate.MapRulesH\x00R\x03map\x12*\n\x03\x61ny\x18\x14 \x01(\x0b\x32\x16.buf.validate.AnyRulesH\x00R\x03\x61ny\x12\x39\n\x08\x64uration\x18\x15 \x01(\x0b\x32\x1b.buf.validate.DurationRulesH\x00R\x08\x64uration\x12<\n\ttimestamp\x18\x16 \x01(\x0b\x32\x1c.buf.validate.TimestampRulesH\x00R\ttimestampB\x06\n\x04type\"\xa2\x17\n\nFloatRules\x12u\n\x05\x63onst\x18\x01 \x01(\x02\x42Z\xc2HW\nU\n\x0b\x66loat.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\xa3\x01\n\x02lt\x18\x02 \x01(\x02\x42\x90\x01\xc2H\x8c\x01\n\x89\x01\n\x08\x66loat.lt\x1a}!has(rules.gte) && !has(rules.gt) && (this.isNan() || this >= rules.lt)? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xb4\x01\n\x03lte\x18\x03 \x01(\x02\x42\x9f\x01\xc2H\x9b\x01\n\x98\x01\n\tfloat.lte\x1a\x8a\x01!has(rules.gte) && !has(rules.gt) && (this.isNan() || this > rules.lte)? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\xf3\x07\n\x02gt\x18\x04 \x01(\x02\x42\xe0\x07\xc2H\xdc\x07\n\x8d\x01\n\x08\x66loat.gt\x1a\x80\x01!has(rules.lt) && !has(rules.lte) && (this.isNan() || this <= rules.gt)? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xc3\x01\n\x0b\x66loat.gt_lt\x1a\xb3\x01has(rules.lt) && rules.lt >= rules.gt && (this.isNan() || this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xcd\x01\n\x15\x66loat.gt_lt_exclusive\x1a\xb3\x01has(rules.lt) && rules.lt < rules.gt && (this.isNan() || (rules.lt <= this && this <= rules.gt))? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xd3\x01\n\x0c\x66loat.gt_lte\x1a\xc2\x01has(rules.lte) && rules.lte >= rules.gt && (this.isNan() || this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xdd\x01\n\x16\x66loat.gt_lte_exclusive\x1a\xc2\x01has(rules.lte) && rules.lte < rules.gt && (this.isNan() || (rules.lte < this && this <= rules.gt))? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\xbf\x08\n\x03gte\x18\x05 \x01(\x02\x42\xaa\x08\xc2H\xa6\x08\n\x9b\x01\n\tfloat.gte\x1a\x8d\x01!has(rules.lt) && !has(rules.lte) && (this.isNan() || this < rules.gte)? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xd2\x01\n\x0c\x66loat.gte_lt\x1a\xc1\x01has(rules.lt) && rules.lt >= rules.gte && (this.isNan() || this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xdc\x01\n\x16\x66loat.gte_lt_exclusive\x1a\xc1\x01has(rules.lt) && rules.lt < rules.gte && (this.isNan() || (rules.lt <= this && this < rules.gte))? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xe2\x01\n\rfloat.gte_lte\x1a\xd0\x01has(rules.lte) && rules.lte >= rules.gte && (this.isNan() || this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xec\x01\n\x17\x66loat.gte_lte_exclusive\x1a\xd0\x01has(rules.lte) && rules.lte < rules.gte && (this.isNan() || (rules.lte < this && this < rules.gte))? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12y\n\x02in\x18\x06 \x03(\x02\x42i\xc2Hf\nd\n\x08\x66loat.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12}\n\x06not_in\x18\x07 \x03(\x02\x42\x66\xc2Hc\na\n\x0c\x66loat.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notIn\x12g\n\x06\x66inite\x18\x08 \x01(\x08\x42O\xc2HL\nJ\n\x0c\x66loat.finite\x1a:this.isNan() || this.isInf() ? \'value must be finite\' : \'\'R\x06\x66initeB\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_const\"\xb3\x17\n\x0b\x44oubleRules\x12v\n\x05\x63onst\x18\x01 \x01(\x01\x42[\xc2HX\nV\n\x0c\x64ouble.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\xa4\x01\n\x02lt\x18\x02 \x01(\x01\x42\x91\x01\xc2H\x8d\x01\n\x8a\x01\n\tdouble.lt\x1a}!has(rules.gte) && !has(rules.gt) && (this.isNan() || this >= rules.lt)? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xb5\x01\n\x03lte\x18\x03 \x01(\x01\x42\xa0\x01\xc2H\x9c\x01\n\x99\x01\n\ndouble.lte\x1a\x8a\x01!has(rules.gte) && !has(rules.gt) && (this.isNan() || this > rules.lte)? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\xf8\x07\n\x02gt\x18\x04 \x01(\x01\x42\xe5\x07\xc2H\xe1\x07\n\x8e\x01\n\tdouble.gt\x1a\x80\x01!has(rules.lt) && !has(rules.lte) && (this.isNan() || this <= rules.gt)? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xc4\x01\n\x0c\x64ouble.gt_lt\x1a\xb3\x01has(rules.lt) && rules.lt >= rules.gt && (this.isNan() || this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xce\x01\n\x16\x64ouble.gt_lt_exclusive\x1a\xb3\x01has(rules.lt) && rules.lt < rules.gt && (this.isNan() || (rules.lt <= this && this <= rules.gt))? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xd4\x01\n\rdouble.gt_lte\x1a\xc2\x01has(rules.lte) && rules.lte >= rules.gt && (this.isNan() || this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xde\x01\n\x17\x64ouble.gt_lte_exclusive\x1a\xc2\x01has(rules.lte) && rules.lte < rules.gt && (this.isNan() || (rules.lte < this && this <= rules.gt))? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\xc4\x08\n\x03gte\x18\x05 \x01(\x01\x42\xaf\x08\xc2H\xab\x08\n\x9c\x01\n\ndouble.gte\x1a\x8d\x01!has(rules.lt) && !has(rules.lte) && (this.isNan() || this < rules.gte)? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xd3\x01\n\rdouble.gte_lt\x1a\xc1\x01has(rules.lt) && rules.lt >= rules.gte && (this.isNan() || this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xdd\x01\n\x17\x64ouble.gte_lt_exclusive\x1a\xc1\x01has(rules.lt) && rules.lt < rules.gte && (this.isNan() || (rules.lt <= this && this < rules.gte))? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xe3\x01\n\x0e\x64ouble.gte_lte\x1a\xd0\x01has(rules.lte) && rules.lte >= rules.gte && (this.isNan() || this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xed\x01\n\x18\x64ouble.gte_lte_exclusive\x1a\xd0\x01has(rules.lte) && rules.lte < rules.gte && (this.isNan() || (rules.lte < this && this < rules.gte))? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12z\n\x02in\x18\x06 \x03(\x01\x42j\xc2Hg\ne\n\tdouble.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12~\n\x06not_in\x18\x07 \x03(\x01\x42g\xc2Hd\nb\n\rdouble.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notIn\x12h\n\x06\x66inite\x18\x08 \x01(\x08\x42P\xc2HM\nK\n\rdouble.finite\x1a:this.isNan() || this.isInf() ? \'value must be finite\' : \'\'R\x06\x66initeB\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_const\"\xe2\x14\n\nInt32Rules\x12u\n\x05\x63onst\x18\x01 \x01(\x05\x42Z\xc2HW\nU\n\x0bint32.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\x8e\x01\n\x02lt\x18\x02 \x01(\x05\x42|\xc2Hy\nw\n\x08int32.lt\x1ak!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xa1\x01\n\x03lte\x18\x03 \x01(\x05\x42\x8c\x01\xc2H\x88\x01\n\x85\x01\n\tint32.lte\x1ax!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\x9b\x07\n\x02gt\x18\x04 \x01(\x05\x42\x88\x07\xc2H\x84\x07\nz\n\x08int32.gt\x1an!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xb3\x01\n\x0bint32.gt_lt\x1a\xa3\x01has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xbb\x01\n\x15int32.gt_lt_exclusive\x1a\xa1\x01has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xc3\x01\n\x0cint32.gt_lte\x1a\xb2\x01has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xcb\x01\n\x16int32.gt_lte_exclusive\x1a\xb0\x01has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\xe8\x07\n\x03gte\x18\x05 \x01(\x05\x42\xd3\x07\xc2H\xcf\x07\n\x88\x01\n\tint32.gte\x1a{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xc2\x01\n\x0cint32.gte_lt\x1a\xb1\x01has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xca\x01\n\x16int32.gte_lt_exclusive\x1a\xaf\x01has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xd2\x01\n\rint32.gte_lte\x1a\xc0\x01has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xda\x01\n\x17int32.gte_lte_exclusive\x1a\xbe\x01has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12y\n\x02in\x18\x06 \x03(\x05\x42i\xc2Hf\nd\n\x08int32.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12}\n\x06not_in\x18\x07 \x03(\x05\x42\x66\xc2Hc\na\n\x0cint32.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notInB\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_const\"\xe2\x14\n\nInt64Rules\x12u\n\x05\x63onst\x18\x01 \x01(\x03\x42Z\xc2HW\nU\n\x0bint64.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\x8e\x01\n\x02lt\x18\x02 \x01(\x03\x42|\xc2Hy\nw\n\x08int64.lt\x1ak!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xa1\x01\n\x03lte\x18\x03 \x01(\x03\x42\x8c\x01\xc2H\x88\x01\n\x85\x01\n\tint64.lte\x1ax!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\x9b\x07\n\x02gt\x18\x04 \x01(\x03\x42\x88\x07\xc2H\x84\x07\nz\n\x08int64.gt\x1an!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xb3\x01\n\x0bint64.gt_lt\x1a\xa3\x01has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xbb\x01\n\x15int64.gt_lt_exclusive\x1a\xa1\x01has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xc3\x01\n\x0cint64.gt_lte\x1a\xb2\x01has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xcb\x01\n\x16int64.gt_lte_exclusive\x1a\xb0\x01has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\xe8\x07\n\x03gte\x18\x05 \x01(\x03\x42\xd3\x07\xc2H\xcf\x07\n\x88\x01\n\tint64.gte\x1a{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xc2\x01\n\x0cint64.gte_lt\x1a\xb1\x01has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xca\x01\n\x16int64.gte_lt_exclusive\x1a\xaf\x01has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xd2\x01\n\rint64.gte_lte\x1a\xc0\x01has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xda\x01\n\x17int64.gte_lte_exclusive\x1a\xbe\x01has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12y\n\x02in\x18\x06 \x03(\x03\x42i\xc2Hf\nd\n\x08int64.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12}\n\x06not_in\x18\x07 \x03(\x03\x42\x66\xc2Hc\na\n\x0cint64.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notInB\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_const\"\xf2\x14\n\x0bUInt32Rules\x12v\n\x05\x63onst\x18\x01 \x01(\rB[\xc2HX\nV\n\x0cuint32.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\x8f\x01\n\x02lt\x18\x02 \x01(\rB}\xc2Hz\nx\n\tuint32.lt\x1ak!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xa2\x01\n\x03lte\x18\x03 \x01(\rB\x8d\x01\xc2H\x89\x01\n\x86\x01\n\nuint32.lte\x1ax!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\xa0\x07\n\x02gt\x18\x04 \x01(\rB\x8d\x07\xc2H\x89\x07\n{\n\tuint32.gt\x1an!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xb4\x01\n\x0cuint32.gt_lt\x1a\xa3\x01has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xbc\x01\n\x16uint32.gt_lt_exclusive\x1a\xa1\x01has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xc4\x01\n\ruint32.gt_lte\x1a\xb2\x01has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xcc\x01\n\x17uint32.gt_lte_exclusive\x1a\xb0\x01has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\xed\x07\n\x03gte\x18\x05 \x01(\rB\xd8\x07\xc2H\xd4\x07\n\x89\x01\n\nuint32.gte\x1a{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xc3\x01\n\ruint32.gte_lt\x1a\xb1\x01has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xcb\x01\n\x17uint32.gte_lt_exclusive\x1a\xaf\x01has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xd3\x01\n\x0euint32.gte_lte\x1a\xc0\x01has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xdb\x01\n\x18uint32.gte_lte_exclusive\x1a\xbe\x01has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12z\n\x02in\x18\x06 \x03(\rBj\xc2Hg\ne\n\tuint32.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12~\n\x06not_in\x18\x07 \x03(\rBg\xc2Hd\nb\n\ruint32.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notInB\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_const\"\xf2\x14\n\x0bUInt64Rules\x12v\n\x05\x63onst\x18\x01 \x01(\x04\x42[\xc2HX\nV\n\x0cuint64.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\x8f\x01\n\x02lt\x18\x02 \x01(\x04\x42}\xc2Hz\nx\n\tuint64.lt\x1ak!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xa2\x01\n\x03lte\x18\x03 \x01(\x04\x42\x8d\x01\xc2H\x89\x01\n\x86\x01\n\nuint64.lte\x1ax!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\xa0\x07\n\x02gt\x18\x04 \x01(\x04\x42\x8d\x07\xc2H\x89\x07\n{\n\tuint64.gt\x1an!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xb4\x01\n\x0cuint64.gt_lt\x1a\xa3\x01has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xbc\x01\n\x16uint64.gt_lt_exclusive\x1a\xa1\x01has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xc4\x01\n\ruint64.gt_lte\x1a\xb2\x01has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xcc\x01\n\x17uint64.gt_lte_exclusive\x1a\xb0\x01has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\xed\x07\n\x03gte\x18\x05 \x01(\x04\x42\xd8\x07\xc2H\xd4\x07\n\x89\x01\n\nuint64.gte\x1a{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xc3\x01\n\ruint64.gte_lt\x1a\xb1\x01has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xcb\x01\n\x17uint64.gte_lt_exclusive\x1a\xaf\x01has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xd3\x01\n\x0euint64.gte_lte\x1a\xc0\x01has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xdb\x01\n\x18uint64.gte_lte_exclusive\x1a\xbe\x01has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12z\n\x02in\x18\x06 \x03(\x04\x42j\xc2Hg\ne\n\tuint64.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12~\n\x06not_in\x18\x07 \x03(\x04\x42g\xc2Hd\nb\n\ruint64.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notInB\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_const\"\xf2\x14\n\x0bSInt32Rules\x12v\n\x05\x63onst\x18\x01 \x01(\x11\x42[\xc2HX\nV\n\x0csint32.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\x8f\x01\n\x02lt\x18\x02 \x01(\x11\x42}\xc2Hz\nx\n\tsint32.lt\x1ak!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xa2\x01\n\x03lte\x18\x03 \x01(\x11\x42\x8d\x01\xc2H\x89\x01\n\x86\x01\n\nsint32.lte\x1ax!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\xa0\x07\n\x02gt\x18\x04 \x01(\x11\x42\x8d\x07\xc2H\x89\x07\n{\n\tsint32.gt\x1an!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xb4\x01\n\x0csint32.gt_lt\x1a\xa3\x01has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xbc\x01\n\x16sint32.gt_lt_exclusive\x1a\xa1\x01has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xc4\x01\n\rsint32.gt_lte\x1a\xb2\x01has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xcc\x01\n\x17sint32.gt_lte_exclusive\x1a\xb0\x01has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\xed\x07\n\x03gte\x18\x05 \x01(\x11\x42\xd8\x07\xc2H\xd4\x07\n\x89\x01\n\nsint32.gte\x1a{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xc3\x01\n\rsint32.gte_lt\x1a\xb1\x01has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xcb\x01\n\x17sint32.gte_lt_exclusive\x1a\xaf\x01has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xd3\x01\n\x0esint32.gte_lte\x1a\xc0\x01has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xdb\x01\n\x18sint32.gte_lte_exclusive\x1a\xbe\x01has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12z\n\x02in\x18\x06 \x03(\x11\x42j\xc2Hg\ne\n\tsint32.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12~\n\x06not_in\x18\x07 \x03(\x11\x42g\xc2Hd\nb\n\rsint32.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notInB\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_const\"\xf2\x14\n\x0bSInt64Rules\x12v\n\x05\x63onst\x18\x01 \x01(\x12\x42[\xc2HX\nV\n\x0csint64.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\x8f\x01\n\x02lt\x18\x02 \x01(\x12\x42}\xc2Hz\nx\n\tsint64.lt\x1ak!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xa2\x01\n\x03lte\x18\x03 \x01(\x12\x42\x8d\x01\xc2H\x89\x01\n\x86\x01\n\nsint64.lte\x1ax!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\xa0\x07\n\x02gt\x18\x04 \x01(\x12\x42\x8d\x07\xc2H\x89\x07\n{\n\tsint64.gt\x1an!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xb4\x01\n\x0csint64.gt_lt\x1a\xa3\x01has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xbc\x01\n\x16sint64.gt_lt_exclusive\x1a\xa1\x01has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xc4\x01\n\rsint64.gt_lte\x1a\xb2\x01has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xcc\x01\n\x17sint64.gt_lte_exclusive\x1a\xb0\x01has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\xed\x07\n\x03gte\x18\x05 \x01(\x12\x42\xd8\x07\xc2H\xd4\x07\n\x89\x01\n\nsint64.gte\x1a{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xc3\x01\n\rsint64.gte_lt\x1a\xb1\x01has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xcb\x01\n\x17sint64.gte_lt_exclusive\x1a\xaf\x01has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xd3\x01\n\x0esint64.gte_lte\x1a\xc0\x01has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xdb\x01\n\x18sint64.gte_lte_exclusive\x1a\xbe\x01has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12z\n\x02in\x18\x06 \x03(\x12\x42j\xc2Hg\ne\n\tsint64.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12~\n\x06not_in\x18\x07 \x03(\x12\x42g\xc2Hd\nb\n\rsint64.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notInB\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_const\"\x82\x15\n\x0c\x46ixed32Rules\x12w\n\x05\x63onst\x18\x01 \x01(\x07\x42\\\xc2HY\nW\n\rfixed32.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\x90\x01\n\x02lt\x18\x02 \x01(\x07\x42~\xc2H{\ny\n\nfixed32.lt\x1ak!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xa3\x01\n\x03lte\x18\x03 \x01(\x07\x42\x8e\x01\xc2H\x8a\x01\n\x87\x01\n\x0b\x66ixed32.lte\x1ax!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\xa5\x07\n\x02gt\x18\x04 \x01(\x07\x42\x92\x07\xc2H\x8e\x07\n|\n\nfixed32.gt\x1an!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xb5\x01\n\rfixed32.gt_lt\x1a\xa3\x01has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xbd\x01\n\x17\x66ixed32.gt_lt_exclusive\x1a\xa1\x01has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xc5\x01\n\x0e\x66ixed32.gt_lte\x1a\xb2\x01has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xcd\x01\n\x18\x66ixed32.gt_lte_exclusive\x1a\xb0\x01has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\xf2\x07\n\x03gte\x18\x05 \x01(\x07\x42\xdd\x07\xc2H\xd9\x07\n\x8a\x01\n\x0b\x66ixed32.gte\x1a{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xc4\x01\n\x0e\x66ixed32.gte_lt\x1a\xb1\x01has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xcc\x01\n\x18\x66ixed32.gte_lt_exclusive\x1a\xaf\x01has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xd4\x01\n\x0f\x66ixed32.gte_lte\x1a\xc0\x01has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xdc\x01\n\x19\x66ixed32.gte_lte_exclusive\x1a\xbe\x01has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12{\n\x02in\x18\x06 \x03(\x07\x42k\xc2Hh\nf\n\nfixed32.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12\x7f\n\x06not_in\x18\x07 \x03(\x07\x42h\xc2He\nc\n\x0e\x66ixed32.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notInB\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_const\"\x82\x15\n\x0c\x46ixed64Rules\x12w\n\x05\x63onst\x18\x01 \x01(\x06\x42\\\xc2HY\nW\n\rfixed64.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\x90\x01\n\x02lt\x18\x02 \x01(\x06\x42~\xc2H{\ny\n\nfixed64.lt\x1ak!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xa3\x01\n\x03lte\x18\x03 \x01(\x06\x42\x8e\x01\xc2H\x8a\x01\n\x87\x01\n\x0b\x66ixed64.lte\x1ax!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\xa5\x07\n\x02gt\x18\x04 \x01(\x06\x42\x92\x07\xc2H\x8e\x07\n|\n\nfixed64.gt\x1an!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xb5\x01\n\rfixed64.gt_lt\x1a\xa3\x01has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xbd\x01\n\x17\x66ixed64.gt_lt_exclusive\x1a\xa1\x01has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xc5\x01\n\x0e\x66ixed64.gt_lte\x1a\xb2\x01has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xcd\x01\n\x18\x66ixed64.gt_lte_exclusive\x1a\xb0\x01has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\xf2\x07\n\x03gte\x18\x05 \x01(\x06\x42\xdd\x07\xc2H\xd9\x07\n\x8a\x01\n\x0b\x66ixed64.gte\x1a{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xc4\x01\n\x0e\x66ixed64.gte_lt\x1a\xb1\x01has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xcc\x01\n\x18\x66ixed64.gte_lt_exclusive\x1a\xaf\x01has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xd4\x01\n\x0f\x66ixed64.gte_lte\x1a\xc0\x01has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xdc\x01\n\x19\x66ixed64.gte_lte_exclusive\x1a\xbe\x01has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12{\n\x02in\x18\x06 \x03(\x06\x42k\xc2Hh\nf\n\nfixed64.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12\x7f\n\x06not_in\x18\x07 \x03(\x06\x42h\xc2He\nc\n\x0e\x66ixed64.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notInB\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_const\"\x93\x15\n\rSFixed32Rules\x12x\n\x05\x63onst\x18\x01 \x01(\x0f\x42]\xc2HZ\nX\n\x0esfixed32.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\x91\x01\n\x02lt\x18\x02 \x01(\x0f\x42\x7f\xc2H|\nz\n\x0bsfixed32.lt\x1ak!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xa4\x01\n\x03lte\x18\x03 \x01(\x0f\x42\x8f\x01\xc2H\x8b\x01\n\x88\x01\n\x0csfixed32.lte\x1ax!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\xaa\x07\n\x02gt\x18\x04 \x01(\x0f\x42\x97\x07\xc2H\x93\x07\n}\n\x0bsfixed32.gt\x1an!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xb6\x01\n\x0esfixed32.gt_lt\x1a\xa3\x01has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xbe\x01\n\x18sfixed32.gt_lt_exclusive\x1a\xa1\x01has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xc6\x01\n\x0fsfixed32.gt_lte\x1a\xb2\x01has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xce\x01\n\x19sfixed32.gt_lte_exclusive\x1a\xb0\x01has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\xf7\x07\n\x03gte\x18\x05 \x01(\x0f\x42\xe2\x07\xc2H\xde\x07\n\x8b\x01\n\x0csfixed32.gte\x1a{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xc5\x01\n\x0fsfixed32.gte_lt\x1a\xb1\x01has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xcd\x01\n\x19sfixed32.gte_lt_exclusive\x1a\xaf\x01has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xd5\x01\n\x10sfixed32.gte_lte\x1a\xc0\x01has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xdd\x01\n\x1asfixed32.gte_lte_exclusive\x1a\xbe\x01has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12|\n\x02in\x18\x06 \x03(\x0f\x42l\xc2Hi\ng\n\x0bsfixed32.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12\x80\x01\n\x06not_in\x18\x07 \x03(\x0f\x42i\xc2Hf\nd\n\x0fsfixed32.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notInB\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_const\"\x93\x15\n\rSFixed64Rules\x12x\n\x05\x63onst\x18\x01 \x01(\x10\x42]\xc2HZ\nX\n\x0esfixed64.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\x91\x01\n\x02lt\x18\x02 \x01(\x10\x42\x7f\xc2H|\nz\n\x0bsfixed64.lt\x1ak!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xa4\x01\n\x03lte\x18\x03 \x01(\x10\x42\x8f\x01\xc2H\x8b\x01\n\x88\x01\n\x0csfixed64.lte\x1ax!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\xaa\x07\n\x02gt\x18\x04 \x01(\x10\x42\x97\x07\xc2H\x93\x07\n}\n\x0bsfixed64.gt\x1an!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xb6\x01\n\x0esfixed64.gt_lt\x1a\xa3\x01has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xbe\x01\n\x18sfixed64.gt_lt_exclusive\x1a\xa1\x01has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xc6\x01\n\x0fsfixed64.gt_lte\x1a\xb2\x01has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xce\x01\n\x19sfixed64.gt_lte_exclusive\x1a\xb0\x01has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\xf7\x07\n\x03gte\x18\x05 \x01(\x10\x42\xe2\x07\xc2H\xde\x07\n\x8b\x01\n\x0csfixed64.gte\x1a{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xc5\x01\n\x0fsfixed64.gte_lt\x1a\xb1\x01has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xcd\x01\n\x19sfixed64.gte_lt_exclusive\x1a\xaf\x01has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xd5\x01\n\x10sfixed64.gte_lte\x1a\xc0\x01has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xdd\x01\n\x1asfixed64.gte_lte_exclusive\x1a\xbe\x01has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12|\n\x02in\x18\x06 \x03(\x10\x42l\xc2Hi\ng\n\x0bsfixed64.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12\x80\x01\n\x06not_in\x18\x07 \x03(\x10\x42i\xc2Hf\nd\n\x0fsfixed64.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notInB\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_const\"\x8b\x01\n\tBoolRules\x12t\n\x05\x63onst\x18\x01 \x01(\x08\x42Y\xc2HV\nT\n\nbool.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x00R\x05\x63onst\x88\x01\x01\x42\x08\n\x06_const\"\xd4\x33\n\x0bStringRules\x12x\n\x05\x63onst\x18\x01 \x01(\tB]\xc2HZ\nX\n\x0cstring.const\x1aHthis != rules.const ? \'value must equal `%s`\'.format([rules.const]) : \'\'H\x01R\x05\x63onst\x88\x01\x01\x12\x88\x01\n\x03len\x18\x13 \x01(\x04\x42q\xc2Hn\nl\n\nstring.len\x1a^uint(this.size()) != rules.len ? \'value length must be %s characters\'.format([rules.len]) : \'\'H\x02R\x03len\x88\x01\x01\x12\xa6\x01\n\x07min_len\x18\x02 \x01(\x04\x42\x87\x01\xc2H\x83\x01\n\x80\x01\n\x0estring.min_len\x1anuint(this.size()) < rules.min_len ? \'value length must be at least %s characters\'.format([rules.min_len]) : \'\'H\x03R\x06minLen\x88\x01\x01\x12\xa4\x01\n\x07max_len\x18\x03 \x01(\x04\x42\x85\x01\xc2H\x81\x01\n\x7f\n\x0estring.max_len\x1amuint(this.size()) > rules.max_len ? \'value length must be at most %s characters\'.format([rules.max_len]) : \'\'H\x04R\x06maxLen\x88\x01\x01\x12\xaa\x01\n\tlen_bytes\x18\x14 \x01(\x04\x42\x87\x01\xc2H\x83\x01\n\x80\x01\n\x10string.len_bytes\x1aluint(bytes(this).size()) != rules.len_bytes ? \'value length must be %s bytes\'.format([rules.len_bytes]) : \'\'H\x05R\x08lenBytes\x88\x01\x01\x12\xb2\x01\n\tmin_bytes\x18\x04 \x01(\x04\x42\x8f\x01\xc2H\x8b\x01\n\x88\x01\n\x10string.min_bytes\x1atuint(bytes(this).size()) < rules.min_bytes ? \'value length must be at least %s bytes\'.format([rules.min_bytes]) : \'\'H\x06R\x08minBytes\x88\x01\x01\x12\xb1\x01\n\tmax_bytes\x18\x05 \x01(\x04\x42\x8e\x01\xc2H\x8a\x01\n\x87\x01\n\x10string.max_bytes\x1asuint(bytes(this).size()) > rules.max_bytes ? \'value length must be at most %s bytes\'.format([rules.max_bytes]) : \'\'H\x07R\x08maxBytes\x88\x01\x01\x12\x9b\x01\n\x07pattern\x18\x06 \x01(\tB|\xc2Hy\nw\n\x0estring.pattern\x1a\x65!this.matches(rules.pattern) ? \'value does not match regex pattern `%s`\'.format([rules.pattern]) : \'\'H\x08R\x07pattern\x88\x01\x01\x12\x91\x01\n\x06prefix\x18\x07 \x01(\tBt\xc2Hq\no\n\rstring.prefix\x1a^!this.startsWith(rules.prefix) ? \'value does not have prefix `%s`\'.format([rules.prefix]) : \'\'H\tR\x06prefix\x88\x01\x01\x12\x8f\x01\n\x06suffix\x18\x08 \x01(\tBr\xc2Ho\nm\n\rstring.suffix\x1a\\!this.endsWith(rules.suffix) ? \'value does not have suffix `%s`\'.format([rules.suffix]) : \'\'H\nR\x06suffix\x88\x01\x01\x12\x9f\x01\n\x08\x63ontains\x18\t \x01(\tB~\xc2H{\ny\n\x0fstring.contains\x1a\x66!this.contains(rules.contains) ? \'value does not contain substring `%s`\'.format([rules.contains]) : \'\'H\x0bR\x08\x63ontains\x88\x01\x01\x12\xaa\x01\n\x0cnot_contains\x18\x17 \x01(\tB\x81\x01\xc2H~\n|\n\x13string.not_contains\x1a\x65this.contains(rules.not_contains) ? \'value contains substring `%s`\'.format([rules.not_contains]) : \'\'H\x0cR\x0bnotContains\x88\x01\x01\x12z\n\x02in\x18\n \x03(\tBj\xc2Hg\ne\n\tstring.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12~\n\x06not_in\x18\x0b \x03(\tBg\xc2Hd\nb\n\rstring.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notIn\x12\xc6\x01\n\x05\x65mail\x18\x0c \x01(\x08\x42\xad\x01\xc2H\xa9\x01\nQ\n\x0cstring.email\x12#value must be a valid email address\x1a\x1cthis == \'\' || this.isEmail()\nT\n\x12string.email_empty\x12\x32value is empty, which is not a valid email address\x1a\nthis != \'\'H\x00R\x05\x65mail\x12\xcb\x01\n\x08hostname\x18\r \x01(\x08\x42\xac\x01\xc2H\xa8\x01\nR\n\x0fstring.hostname\x12\x1evalue must be a valid hostname\x1a\x1fthis == \'\' || this.isHostname()\nR\n\x15string.hostname_empty\x12-value is empty, which is not a valid hostname\x1a\nthis != \'\'H\x00R\x08hostname\x12\xb1\x01\n\x02ip\x18\x0e \x01(\x08\x42\x9e\x01\xc2H\x9a\x01\nH\n\tstring.ip\x12 value must be a valid IP address\x1a\x19this == \'\' || this.isIp()\nN\n\x0fstring.ip_empty\x12/value is empty, which is not a valid IP address\x1a\nthis != \'\'H\x00R\x02ip\x12\xbe\x01\n\x04ipv4\x18\x0f \x01(\x08\x42\xa7\x01\xc2H\xa3\x01\nM\n\x0bstring.ipv4\x12\"value must be a valid IPv4 address\x1a\x1athis == \'\' || this.isIp(4)\nR\n\x11string.ipv4_empty\x12\x31value is empty, which is not a valid IPv4 address\x1a\nthis != \'\'H\x00R\x04ipv4\x12\xbe\x01\n\x04ipv6\x18\x10 \x01(\x08\x42\xa7\x01\xc2H\xa3\x01\nM\n\x0bstring.ipv6\x12\"value must be a valid IPv6 address\x1a\x1athis == \'\' || this.isIp(6)\nR\n\x11string.ipv6_empty\x12\x31value is empty, which is not a valid IPv6 address\x1a\nthis != \'\'H\x00R\x04ipv6\x12\xa8\x01\n\x03uri\x18\x11 \x01(\x08\x42\x93\x01\xc2H\x8f\x01\nC\n\nstring.uri\x12\x19value must be a valid URI\x1a\x1athis == \'\' || this.isUri()\nH\n\x10string.uri_empty\x12(value is empty, which is not a valid URI\x1a\nthis != \'\'H\x00R\x03uri\x12\\\n\x07uri_ref\x18\x12 \x01(\x08\x42\x41\xc2H>\n<\n\x0estring.uri_ref\x12\x19value must be a valid URI\x1a\x0fthis.isUriRef()H\x00R\x06uriRef\x12\xf4\x01\n\x07\x61\x64\x64ress\x18\x15 \x01(\x08\x42\xd7\x01\xc2H\xd3\x01\no\n\x0estring.address\x12-value must be a valid hostname, or ip address\x1a.this == \'\' || this.isHostname() || this.isIp()\n`\n\x14string.address_empty\x12 rules.max_len ? \'value must be at most %s bytes\'.format([rules.max_len]) : \'\'H\x04R\x06maxLen\x88\x01\x01\x12\x9e\x01\n\x07pattern\x18\x04 \x01(\tB\x7f\xc2H|\nz\n\rbytes.pattern\x1ai!string(this).matches(rules.pattern) ? \'value must match regex pattern `%s`\'.format([rules.pattern]) : \'\'H\x05R\x07pattern\x88\x01\x01\x12\x8e\x01\n\x06prefix\x18\x05 \x01(\x0c\x42q\xc2Hn\nl\n\x0c\x62ytes.prefix\x1a\\!this.startsWith(rules.prefix) ? \'value does not have prefix %x\'.format([rules.prefix]) : \'\'H\x06R\x06prefix\x88\x01\x01\x12\x8c\x01\n\x06suffix\x18\x06 \x01(\x0c\x42o\xc2Hl\nj\n\x0c\x62ytes.suffix\x1aZ!this.endsWith(rules.suffix) ? \'value does not have suffix %x\'.format([rules.suffix]) : \'\'H\x07R\x06suffix\x88\x01\x01\x12\x92\x01\n\x08\x63ontains\x18\x07 \x01(\x0c\x42q\xc2Hn\nl\n\x0e\x62ytes.contains\x1aZ!this.contains(rules.contains) ? \'value does not contain %x\'.format([rules.contains]) : \'\'H\x08R\x08\x63ontains\x88\x01\x01\x12\x9b\x01\n\x02in\x18\x08 \x03(\x0c\x42\x8a\x01\xc2H\x86\x01\n\x83\x01\n\x08\x62ytes.in\x1awdyn(rules)[\'in\'].size() > 0 && !(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12}\n\x06not_in\x18\t \x03(\x0c\x42\x66\xc2Hc\na\n\x0c\x62ytes.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notIn\x12\xd5\x01\n\x02ip\x18\n \x01(\x08\x42\xc2\x01\xc2H\xbe\x01\ng\n\x08\x62ytes.ip\x12 value must be a valid IP address\x1a\x39this.size() == 0 || this.size() == 4 || this.size() == 16\nS\n\x0e\x62ytes.ip_empty\x12/value is empty, which is not a valid IP address\x1a\x10this.size() != 0H\x00R\x02ip\x12\xcc\x01\n\x04ipv4\x18\x0b \x01(\x08\x42\xb5\x01\xc2H\xb1\x01\nV\n\nbytes.ipv4\x12\"value must be a valid IPv4 address\x1a$this.size() == 0 || this.size() == 4\nW\n\x10\x62ytes.ipv4_empty\x12\x31value is empty, which is not a valid IPv4 address\x1a\x10this.size() != 0H\x00R\x04ipv4\x12\xcd\x01\n\x04ipv6\x18\x0c \x01(\x08\x42\xb6\x01\xc2H\xb2\x01\nW\n\nbytes.ipv6\x12\"value must be a valid IPv6 address\x1a%this.size() == 0 || this.size() == 16\nW\n\x10\x62ytes.ipv6_empty\x12\x31value is empty, which is not a valid IPv6 address\x1a\x10this.size() != 0H\x00R\x04ipv6B\x0c\n\nwell_knownB\x08\n\x06_constB\x06\n\x04_lenB\n\n\x08_min_lenB\n\n\x08_max_lenB\n\n\x08_patternB\t\n\x07_prefixB\t\n\x07_suffixB\x0b\n\t_contains\"\xbc\x03\n\tEnumRules\x12t\n\x05\x63onst\x18\x01 \x01(\x05\x42Y\xc2HV\nT\n\nenum.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x00R\x05\x63onst\x88\x01\x01\x12&\n\x0c\x64\x65\x66ined_only\x18\x02 \x01(\x08H\x01R\x0b\x64\x65\x66inedOnly\x88\x01\x01\x12x\n\x02in\x18\x03 \x03(\x05\x42h\xc2He\nc\n\x07\x65num.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12|\n\x06not_in\x18\x04 \x03(\x05\x42\x65\xc2Hb\n`\n\x0b\x65num.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notInB\x08\n\x06_constB\x0f\n\r_defined_only\"\xcd\x04\n\rRepeatedRules\x12\xad\x01\n\tmin_items\x18\x01 \x01(\x04\x42\x8a\x01\xc2H\x86\x01\n\x83\x01\n\x12repeated.min_items\x1amuint(this.size()) < rules.min_items ? \'value must contain at least %d item(s)\'.format([rules.min_items]) : \'\'H\x00R\x08minItems\x88\x01\x01\x12\xb1\x01\n\tmax_items\x18\x02 \x01(\x04\x42\x8e\x01\xc2H\x8a\x01\n\x87\x01\n\x12repeated.max_items\x1aquint(this.size()) > rules.max_items ? \'value must contain no more than %s item(s)\'.format([rules.max_items]) : \'\'H\x01R\x08maxItems\x88\x01\x01\x12l\n\x06unique\x18\x03 \x01(\x08\x42O\xc2HL\nJ\n\x0frepeated.unique\x12(repeated value must contain unique items\x1a\rthis.unique()H\x02R\x06unique\x88\x01\x01\x12\x39\n\x05items\x18\x04 \x01(\x0b\x32\x1e.buf.validate.FieldConstraintsH\x03R\x05items\x88\x01\x01\x42\x0c\n\n_min_itemsB\x0c\n\n_max_itemsB\t\n\x07_uniqueB\x08\n\x06_items\"\xf1\x03\n\x08MapRules\x12\x9e\x01\n\tmin_pairs\x18\x01 \x01(\x04\x42|\xc2Hy\nw\n\rmap.min_pairs\x1a\x66uint(this.size()) < rules.min_pairs ? \'map must be at least %d entries\'.format([rules.min_pairs]) : \'\'H\x00R\x08minPairs\x88\x01\x01\x12\x9d\x01\n\tmax_pairs\x18\x02 \x01(\x04\x42{\xc2Hx\nv\n\rmap.max_pairs\x1a\x65uint(this.size()) > rules.max_pairs ? \'map must be at most %d entries\'.format([rules.max_pairs]) : \'\'H\x01R\x08maxPairs\x88\x01\x01\x12\x37\n\x04keys\x18\x04 \x01(\x0b\x32\x1e.buf.validate.FieldConstraintsH\x02R\x04keys\x88\x01\x01\x12;\n\x06values\x18\x05 \x01(\x0b\x32\x1e.buf.validate.FieldConstraintsH\x03R\x06values\x88\x01\x01\x42\x0c\n\n_min_pairsB\x0c\n\n_max_pairsB\x07\n\x05_keysB\t\n\x07_values\"1\n\x08\x41nyRules\x12\x0e\n\x02in\x18\x02 \x03(\tR\x02in\x12\x15\n\x06not_in\x18\x03 \x03(\tR\x05notIn\"\xd2\x16\n\rDurationRules\x12\x93\x01\n\x05\x63onst\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB]\xc2HZ\nX\n\x0e\x64uration.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\xac\x01\n\x02lt\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x7f\xc2H|\nz\n\x0b\x64uration.lt\x1ak!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xbf\x01\n\x03lte\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x8f\x01\xc2H\x8b\x01\n\x88\x01\n\x0c\x64uration.lte\x1ax!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\xc5\x07\n\x02gt\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x97\x07\xc2H\x93\x07\n}\n\x0b\x64uration.gt\x1an!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xb6\x01\n\x0e\x64uration.gt_lt\x1a\xa3\x01has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xbe\x01\n\x18\x64uration.gt_lt_exclusive\x1a\xa1\x01has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xc6\x01\n\x0f\x64uration.gt_lte\x1a\xb2\x01has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xce\x01\n\x19\x64uration.gt_lte_exclusive\x1a\xb0\x01has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\x92\x08\n\x03gte\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\xe2\x07\xc2H\xde\x07\n\x8b\x01\n\x0c\x64uration.gte\x1a{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xc5\x01\n\x0f\x64uration.gte_lt\x1a\xb1\x01has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xcd\x01\n\x19\x64uration.gte_lt_exclusive\x1a\xaf\x01has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xd5\x01\n\x10\x64uration.gte_lte\x1a\xc0\x01has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xdd\x01\n\x1a\x64uration.gte_lte_exclusive\x1a\xbe\x01has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12\x97\x01\n\x02in\x18\x07 \x03(\x0b\x32\x19.google.protobuf.DurationBl\xc2Hi\ng\n\x0b\x64uration.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12\x9b\x01\n\x06not_in\x18\x08 \x03(\x0b\x32\x19.google.protobuf.DurationBi\xc2Hf\nd\n\x0f\x64uration.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notInB\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_const\"\xca\x17\n\x0eTimestampRules\x12\x95\x01\n\x05\x63onst\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB^\xc2H[\nY\n\x0ftimestamp.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\xaf\x01\n\x02lt\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x80\x01\xc2H}\n{\n\x0ctimestamp.lt\x1ak!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xc1\x01\n\x03lte\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x90\x01\xc2H\x8c\x01\n\x89\x01\n\rtimestamp.lte\x1ax!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\x61\n\x06lt_now\x18\x07 \x01(\x08\x42H\xc2HE\nC\n\x10timestamp.lt_now\x1a/this > now ? \'value must be less than now\' : \'\'H\x00R\x05ltNow\x12\xcb\x07\n\x02gt\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x9c\x07\xc2H\x98\x07\n~\n\x0ctimestamp.gt\x1an!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xb7\x01\n\x0ftimestamp.gt_lt\x1a\xa3\x01has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xbf\x01\n\x19timestamp.gt_lt_exclusive\x1a\xa1\x01has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xc7\x01\n\x10timestamp.gt_lte\x1a\xb2\x01has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xcf\x01\n\x1atimestamp.gt_lte_exclusive\x1a\xb0\x01has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\x98\x08\n\x03gte\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\xe7\x07\xc2H\xe3\x07\n\x8c\x01\n\rtimestamp.gte\x1a{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xc6\x01\n\x10timestamp.gte_lt\x1a\xb1\x01has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xce\x01\n\x1atimestamp.gte_lt_exclusive\x1a\xaf\x01has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xd6\x01\n\x11timestamp.gte_lte\x1a\xc0\x01has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xde\x01\n\x1btimestamp.gte_lte_exclusive\x1a\xbe\x01has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12\x64\n\x06gt_now\x18\x08 \x01(\x08\x42K\xc2HH\nF\n\x10timestamp.gt_now\x1a\x32this < now ? \'value must be greater than now\' : \'\'H\x01R\x05gtNow\x12\xc5\x01\n\x06within\x18\t \x01(\x0b\x32\x19.google.protobuf.DurationB\x8c\x01\xc2H\x88\x01\n\x85\x01\n\x10timestamp.within\x1aqthis < now-rules.within || this > now+rules.within ? \'value must be within %s of now\'.format([rules.within]) : \'\'H\x03R\x06within\x88\x01\x01\x42\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_constB\t\n\x07_within*F\n\x06Ignore\x12\x16\n\x12IGNORE_UNSPECIFIED\x10\x00\x12\x10\n\x0cIGNORE_EMPTY\x10\x01\x12\x12\n\x0eIGNORE_DEFAULT\x10\x02*n\n\nKnownRegex\x12\x1b\n\x17KNOWN_REGEX_UNSPECIFIED\x10\x00\x12 \n\x1cKNOWN_REGEX_HTTP_HEADER_NAME\x10\x01\x12!\n\x1dKNOWN_REGEX_HTTP_HEADER_VALUE\x10\x02:_\n\x07message\x12\x1f.google.protobuf.MessageOptions\x18\x87\t \x01(\x0b\x32 .buf.validate.MessageConstraintsR\x07message\x88\x01\x01:W\n\x05oneof\x12\x1d.google.protobuf.OneofOptions\x18\x87\t \x01(\x0b\x32\x1e.buf.validate.OneofConstraintsR\x05oneof\x88\x01\x01:W\n\x05\x66ield\x12\x1d.google.protobuf.FieldOptions\x18\x87\t \x01(\x0b\x32\x1e.buf.validate.FieldConstraintsR\x05\x66ield\x88\x01\x01\x42n\n\x12\x62uild.buf.validateB\rValidateProtoP\x01ZGbuf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validateb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x62uf/validate/validate.proto\x12\x0c\x62uf.validate\x1a\x1d\x62uf/validate/expression.proto\x1a\x1f\x62uf/validate/priv/private.proto\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"n\n\x12MessageConstraints\x12\x1f\n\x08\x64isabled\x18\x01 \x01(\x08H\x00R\x08\x64isabled\x88\x01\x01\x12*\n\x03\x63\x65l\x18\x03 \x03(\x0b\x32\x18.buf.validate.ConstraintR\x03\x63\x65lB\x0b\n\t_disabled\"@\n\x10OneofConstraints\x12\x1f\n\x08required\x18\x01 \x01(\x08H\x00R\x08required\x88\x01\x01\x42\x0b\n\t_required\"\xab\n\n\x10\x46ieldConstraints\x12*\n\x03\x63\x65l\x18\x17 \x03(\x0b\x32\x18.buf.validate.ConstraintR\x03\x63\x65l\x12\x1a\n\x08required\x18\x19 \x01(\x08R\x08required\x12,\n\x06ignore\x18\x1b \x01(\x0e\x32\x14.buf.validate.IgnoreR\x06ignore\x12\x30\n\x05\x66loat\x18\x01 \x01(\x0b\x32\x18.buf.validate.FloatRulesH\x00R\x05\x66loat\x12\x33\n\x06\x64ouble\x18\x02 \x01(\x0b\x32\x19.buf.validate.DoubleRulesH\x00R\x06\x64ouble\x12\x30\n\x05int32\x18\x03 \x01(\x0b\x32\x18.buf.validate.Int32RulesH\x00R\x05int32\x12\x30\n\x05int64\x18\x04 \x01(\x0b\x32\x18.buf.validate.Int64RulesH\x00R\x05int64\x12\x33\n\x06uint32\x18\x05 \x01(\x0b\x32\x19.buf.validate.UInt32RulesH\x00R\x06uint32\x12\x33\n\x06uint64\x18\x06 \x01(\x0b\x32\x19.buf.validate.UInt64RulesH\x00R\x06uint64\x12\x33\n\x06sint32\x18\x07 \x01(\x0b\x32\x19.buf.validate.SInt32RulesH\x00R\x06sint32\x12\x33\n\x06sint64\x18\x08 \x01(\x0b\x32\x19.buf.validate.SInt64RulesH\x00R\x06sint64\x12\x36\n\x07\x66ixed32\x18\t \x01(\x0b\x32\x1a.buf.validate.Fixed32RulesH\x00R\x07\x66ixed32\x12\x36\n\x07\x66ixed64\x18\n \x01(\x0b\x32\x1a.buf.validate.Fixed64RulesH\x00R\x07\x66ixed64\x12\x39\n\x08sfixed32\x18\x0b \x01(\x0b\x32\x1b.buf.validate.SFixed32RulesH\x00R\x08sfixed32\x12\x39\n\x08sfixed64\x18\x0c \x01(\x0b\x32\x1b.buf.validate.SFixed64RulesH\x00R\x08sfixed64\x12-\n\x04\x62ool\x18\r \x01(\x0b\x32\x17.buf.validate.BoolRulesH\x00R\x04\x62ool\x12\x33\n\x06string\x18\x0e \x01(\x0b\x32\x19.buf.validate.StringRulesH\x00R\x06string\x12\x30\n\x05\x62ytes\x18\x0f \x01(\x0b\x32\x18.buf.validate.BytesRulesH\x00R\x05\x62ytes\x12-\n\x04\x65num\x18\x10 \x01(\x0b\x32\x17.buf.validate.EnumRulesH\x00R\x04\x65num\x12\x39\n\x08repeated\x18\x12 \x01(\x0b\x32\x1b.buf.validate.RepeatedRulesH\x00R\x08repeated\x12*\n\x03map\x18\x13 \x01(\x0b\x32\x16.buf.validate.MapRulesH\x00R\x03map\x12*\n\x03\x61ny\x18\x14 \x01(\x0b\x32\x16.buf.validate.AnyRulesH\x00R\x03\x61ny\x12\x39\n\x08\x64uration\x18\x15 \x01(\x0b\x32\x1b.buf.validate.DurationRulesH\x00R\x08\x64uration\x12<\n\ttimestamp\x18\x16 \x01(\x0b\x32\x1c.buf.validate.TimestampRulesH\x00R\ttimestamp\x12\x1c\n\x07skipped\x18\x18 \x01(\x08\x42\x02\x18\x01R\x07skipped\x12%\n\x0cignore_empty\x18\x1a \x01(\x08\x42\x02\x18\x01R\x0bignoreEmptyB\x06\n\x04type\"\xa2\x17\n\nFloatRules\x12u\n\x05\x63onst\x18\x01 \x01(\x02\x42Z\xc2HW\nU\n\x0b\x66loat.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\xa3\x01\n\x02lt\x18\x02 \x01(\x02\x42\x90\x01\xc2H\x8c\x01\n\x89\x01\n\x08\x66loat.lt\x1a}!has(rules.gte) && !has(rules.gt) && (this.isNan() || this >= rules.lt)? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xb4\x01\n\x03lte\x18\x03 \x01(\x02\x42\x9f\x01\xc2H\x9b\x01\n\x98\x01\n\tfloat.lte\x1a\x8a\x01!has(rules.gte) && !has(rules.gt) && (this.isNan() || this > rules.lte)? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\xf3\x07\n\x02gt\x18\x04 \x01(\x02\x42\xe0\x07\xc2H\xdc\x07\n\x8d\x01\n\x08\x66loat.gt\x1a\x80\x01!has(rules.lt) && !has(rules.lte) && (this.isNan() || this <= rules.gt)? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xc3\x01\n\x0b\x66loat.gt_lt\x1a\xb3\x01has(rules.lt) && rules.lt >= rules.gt && (this.isNan() || this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xcd\x01\n\x15\x66loat.gt_lt_exclusive\x1a\xb3\x01has(rules.lt) && rules.lt < rules.gt && (this.isNan() || (rules.lt <= this && this <= rules.gt))? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xd3\x01\n\x0c\x66loat.gt_lte\x1a\xc2\x01has(rules.lte) && rules.lte >= rules.gt && (this.isNan() || this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xdd\x01\n\x16\x66loat.gt_lte_exclusive\x1a\xc2\x01has(rules.lte) && rules.lte < rules.gt && (this.isNan() || (rules.lte < this && this <= rules.gt))? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\xbf\x08\n\x03gte\x18\x05 \x01(\x02\x42\xaa\x08\xc2H\xa6\x08\n\x9b\x01\n\tfloat.gte\x1a\x8d\x01!has(rules.lt) && !has(rules.lte) && (this.isNan() || this < rules.gte)? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xd2\x01\n\x0c\x66loat.gte_lt\x1a\xc1\x01has(rules.lt) && rules.lt >= rules.gte && (this.isNan() || this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xdc\x01\n\x16\x66loat.gte_lt_exclusive\x1a\xc1\x01has(rules.lt) && rules.lt < rules.gte && (this.isNan() || (rules.lt <= this && this < rules.gte))? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xe2\x01\n\rfloat.gte_lte\x1a\xd0\x01has(rules.lte) && rules.lte >= rules.gte && (this.isNan() || this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xec\x01\n\x17\x66loat.gte_lte_exclusive\x1a\xd0\x01has(rules.lte) && rules.lte < rules.gte && (this.isNan() || (rules.lte < this && this < rules.gte))? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12y\n\x02in\x18\x06 \x03(\x02\x42i\xc2Hf\nd\n\x08\x66loat.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12}\n\x06not_in\x18\x07 \x03(\x02\x42\x66\xc2Hc\na\n\x0c\x66loat.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notIn\x12g\n\x06\x66inite\x18\x08 \x01(\x08\x42O\xc2HL\nJ\n\x0c\x66loat.finite\x1a:this.isNan() || this.isInf() ? \'value must be finite\' : \'\'R\x06\x66initeB\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_const\"\xb3\x17\n\x0b\x44oubleRules\x12v\n\x05\x63onst\x18\x01 \x01(\x01\x42[\xc2HX\nV\n\x0c\x64ouble.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\xa4\x01\n\x02lt\x18\x02 \x01(\x01\x42\x91\x01\xc2H\x8d\x01\n\x8a\x01\n\tdouble.lt\x1a}!has(rules.gte) && !has(rules.gt) && (this.isNan() || this >= rules.lt)? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xb5\x01\n\x03lte\x18\x03 \x01(\x01\x42\xa0\x01\xc2H\x9c\x01\n\x99\x01\n\ndouble.lte\x1a\x8a\x01!has(rules.gte) && !has(rules.gt) && (this.isNan() || this > rules.lte)? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\xf8\x07\n\x02gt\x18\x04 \x01(\x01\x42\xe5\x07\xc2H\xe1\x07\n\x8e\x01\n\tdouble.gt\x1a\x80\x01!has(rules.lt) && !has(rules.lte) && (this.isNan() || this <= rules.gt)? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xc4\x01\n\x0c\x64ouble.gt_lt\x1a\xb3\x01has(rules.lt) && rules.lt >= rules.gt && (this.isNan() || this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xce\x01\n\x16\x64ouble.gt_lt_exclusive\x1a\xb3\x01has(rules.lt) && rules.lt < rules.gt && (this.isNan() || (rules.lt <= this && this <= rules.gt))? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xd4\x01\n\rdouble.gt_lte\x1a\xc2\x01has(rules.lte) && rules.lte >= rules.gt && (this.isNan() || this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xde\x01\n\x17\x64ouble.gt_lte_exclusive\x1a\xc2\x01has(rules.lte) && rules.lte < rules.gt && (this.isNan() || (rules.lte < this && this <= rules.gt))? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\xc4\x08\n\x03gte\x18\x05 \x01(\x01\x42\xaf\x08\xc2H\xab\x08\n\x9c\x01\n\ndouble.gte\x1a\x8d\x01!has(rules.lt) && !has(rules.lte) && (this.isNan() || this < rules.gte)? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xd3\x01\n\rdouble.gte_lt\x1a\xc1\x01has(rules.lt) && rules.lt >= rules.gte && (this.isNan() || this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xdd\x01\n\x17\x64ouble.gte_lt_exclusive\x1a\xc1\x01has(rules.lt) && rules.lt < rules.gte && (this.isNan() || (rules.lt <= this && this < rules.gte))? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xe3\x01\n\x0e\x64ouble.gte_lte\x1a\xd0\x01has(rules.lte) && rules.lte >= rules.gte && (this.isNan() || this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xed\x01\n\x18\x64ouble.gte_lte_exclusive\x1a\xd0\x01has(rules.lte) && rules.lte < rules.gte && (this.isNan() || (rules.lte < this && this < rules.gte))? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12z\n\x02in\x18\x06 \x03(\x01\x42j\xc2Hg\ne\n\tdouble.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12~\n\x06not_in\x18\x07 \x03(\x01\x42g\xc2Hd\nb\n\rdouble.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notIn\x12h\n\x06\x66inite\x18\x08 \x01(\x08\x42P\xc2HM\nK\n\rdouble.finite\x1a:this.isNan() || this.isInf() ? \'value must be finite\' : \'\'R\x06\x66initeB\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_const\"\xe2\x14\n\nInt32Rules\x12u\n\x05\x63onst\x18\x01 \x01(\x05\x42Z\xc2HW\nU\n\x0bint32.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\x8e\x01\n\x02lt\x18\x02 \x01(\x05\x42|\xc2Hy\nw\n\x08int32.lt\x1ak!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xa1\x01\n\x03lte\x18\x03 \x01(\x05\x42\x8c\x01\xc2H\x88\x01\n\x85\x01\n\tint32.lte\x1ax!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\x9b\x07\n\x02gt\x18\x04 \x01(\x05\x42\x88\x07\xc2H\x84\x07\nz\n\x08int32.gt\x1an!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xb3\x01\n\x0bint32.gt_lt\x1a\xa3\x01has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xbb\x01\n\x15int32.gt_lt_exclusive\x1a\xa1\x01has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xc3\x01\n\x0cint32.gt_lte\x1a\xb2\x01has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xcb\x01\n\x16int32.gt_lte_exclusive\x1a\xb0\x01has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\xe8\x07\n\x03gte\x18\x05 \x01(\x05\x42\xd3\x07\xc2H\xcf\x07\n\x88\x01\n\tint32.gte\x1a{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xc2\x01\n\x0cint32.gte_lt\x1a\xb1\x01has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xca\x01\n\x16int32.gte_lt_exclusive\x1a\xaf\x01has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xd2\x01\n\rint32.gte_lte\x1a\xc0\x01has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xda\x01\n\x17int32.gte_lte_exclusive\x1a\xbe\x01has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12y\n\x02in\x18\x06 \x03(\x05\x42i\xc2Hf\nd\n\x08int32.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12}\n\x06not_in\x18\x07 \x03(\x05\x42\x66\xc2Hc\na\n\x0cint32.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notInB\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_const\"\xe2\x14\n\nInt64Rules\x12u\n\x05\x63onst\x18\x01 \x01(\x03\x42Z\xc2HW\nU\n\x0bint64.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\x8e\x01\n\x02lt\x18\x02 \x01(\x03\x42|\xc2Hy\nw\n\x08int64.lt\x1ak!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xa1\x01\n\x03lte\x18\x03 \x01(\x03\x42\x8c\x01\xc2H\x88\x01\n\x85\x01\n\tint64.lte\x1ax!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\x9b\x07\n\x02gt\x18\x04 \x01(\x03\x42\x88\x07\xc2H\x84\x07\nz\n\x08int64.gt\x1an!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xb3\x01\n\x0bint64.gt_lt\x1a\xa3\x01has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xbb\x01\n\x15int64.gt_lt_exclusive\x1a\xa1\x01has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xc3\x01\n\x0cint64.gt_lte\x1a\xb2\x01has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xcb\x01\n\x16int64.gt_lte_exclusive\x1a\xb0\x01has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\xe8\x07\n\x03gte\x18\x05 \x01(\x03\x42\xd3\x07\xc2H\xcf\x07\n\x88\x01\n\tint64.gte\x1a{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xc2\x01\n\x0cint64.gte_lt\x1a\xb1\x01has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xca\x01\n\x16int64.gte_lt_exclusive\x1a\xaf\x01has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xd2\x01\n\rint64.gte_lte\x1a\xc0\x01has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xda\x01\n\x17int64.gte_lte_exclusive\x1a\xbe\x01has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12y\n\x02in\x18\x06 \x03(\x03\x42i\xc2Hf\nd\n\x08int64.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12}\n\x06not_in\x18\x07 \x03(\x03\x42\x66\xc2Hc\na\n\x0cint64.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notInB\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_const\"\xf2\x14\n\x0bUInt32Rules\x12v\n\x05\x63onst\x18\x01 \x01(\rB[\xc2HX\nV\n\x0cuint32.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\x8f\x01\n\x02lt\x18\x02 \x01(\rB}\xc2Hz\nx\n\tuint32.lt\x1ak!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xa2\x01\n\x03lte\x18\x03 \x01(\rB\x8d\x01\xc2H\x89\x01\n\x86\x01\n\nuint32.lte\x1ax!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\xa0\x07\n\x02gt\x18\x04 \x01(\rB\x8d\x07\xc2H\x89\x07\n{\n\tuint32.gt\x1an!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xb4\x01\n\x0cuint32.gt_lt\x1a\xa3\x01has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xbc\x01\n\x16uint32.gt_lt_exclusive\x1a\xa1\x01has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xc4\x01\n\ruint32.gt_lte\x1a\xb2\x01has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xcc\x01\n\x17uint32.gt_lte_exclusive\x1a\xb0\x01has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\xed\x07\n\x03gte\x18\x05 \x01(\rB\xd8\x07\xc2H\xd4\x07\n\x89\x01\n\nuint32.gte\x1a{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xc3\x01\n\ruint32.gte_lt\x1a\xb1\x01has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xcb\x01\n\x17uint32.gte_lt_exclusive\x1a\xaf\x01has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xd3\x01\n\x0euint32.gte_lte\x1a\xc0\x01has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xdb\x01\n\x18uint32.gte_lte_exclusive\x1a\xbe\x01has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12z\n\x02in\x18\x06 \x03(\rBj\xc2Hg\ne\n\tuint32.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12~\n\x06not_in\x18\x07 \x03(\rBg\xc2Hd\nb\n\ruint32.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notInB\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_const\"\xf2\x14\n\x0bUInt64Rules\x12v\n\x05\x63onst\x18\x01 \x01(\x04\x42[\xc2HX\nV\n\x0cuint64.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\x8f\x01\n\x02lt\x18\x02 \x01(\x04\x42}\xc2Hz\nx\n\tuint64.lt\x1ak!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xa2\x01\n\x03lte\x18\x03 \x01(\x04\x42\x8d\x01\xc2H\x89\x01\n\x86\x01\n\nuint64.lte\x1ax!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\xa0\x07\n\x02gt\x18\x04 \x01(\x04\x42\x8d\x07\xc2H\x89\x07\n{\n\tuint64.gt\x1an!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xb4\x01\n\x0cuint64.gt_lt\x1a\xa3\x01has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xbc\x01\n\x16uint64.gt_lt_exclusive\x1a\xa1\x01has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xc4\x01\n\ruint64.gt_lte\x1a\xb2\x01has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xcc\x01\n\x17uint64.gt_lte_exclusive\x1a\xb0\x01has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\xed\x07\n\x03gte\x18\x05 \x01(\x04\x42\xd8\x07\xc2H\xd4\x07\n\x89\x01\n\nuint64.gte\x1a{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xc3\x01\n\ruint64.gte_lt\x1a\xb1\x01has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xcb\x01\n\x17uint64.gte_lt_exclusive\x1a\xaf\x01has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xd3\x01\n\x0euint64.gte_lte\x1a\xc0\x01has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xdb\x01\n\x18uint64.gte_lte_exclusive\x1a\xbe\x01has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12z\n\x02in\x18\x06 \x03(\x04\x42j\xc2Hg\ne\n\tuint64.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12~\n\x06not_in\x18\x07 \x03(\x04\x42g\xc2Hd\nb\n\ruint64.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notInB\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_const\"\xf2\x14\n\x0bSInt32Rules\x12v\n\x05\x63onst\x18\x01 \x01(\x11\x42[\xc2HX\nV\n\x0csint32.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\x8f\x01\n\x02lt\x18\x02 \x01(\x11\x42}\xc2Hz\nx\n\tsint32.lt\x1ak!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xa2\x01\n\x03lte\x18\x03 \x01(\x11\x42\x8d\x01\xc2H\x89\x01\n\x86\x01\n\nsint32.lte\x1ax!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\xa0\x07\n\x02gt\x18\x04 \x01(\x11\x42\x8d\x07\xc2H\x89\x07\n{\n\tsint32.gt\x1an!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xb4\x01\n\x0csint32.gt_lt\x1a\xa3\x01has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xbc\x01\n\x16sint32.gt_lt_exclusive\x1a\xa1\x01has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xc4\x01\n\rsint32.gt_lte\x1a\xb2\x01has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xcc\x01\n\x17sint32.gt_lte_exclusive\x1a\xb0\x01has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\xed\x07\n\x03gte\x18\x05 \x01(\x11\x42\xd8\x07\xc2H\xd4\x07\n\x89\x01\n\nsint32.gte\x1a{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xc3\x01\n\rsint32.gte_lt\x1a\xb1\x01has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xcb\x01\n\x17sint32.gte_lt_exclusive\x1a\xaf\x01has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xd3\x01\n\x0esint32.gte_lte\x1a\xc0\x01has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xdb\x01\n\x18sint32.gte_lte_exclusive\x1a\xbe\x01has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12z\n\x02in\x18\x06 \x03(\x11\x42j\xc2Hg\ne\n\tsint32.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12~\n\x06not_in\x18\x07 \x03(\x11\x42g\xc2Hd\nb\n\rsint32.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notInB\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_const\"\xf2\x14\n\x0bSInt64Rules\x12v\n\x05\x63onst\x18\x01 \x01(\x12\x42[\xc2HX\nV\n\x0csint64.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\x8f\x01\n\x02lt\x18\x02 \x01(\x12\x42}\xc2Hz\nx\n\tsint64.lt\x1ak!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xa2\x01\n\x03lte\x18\x03 \x01(\x12\x42\x8d\x01\xc2H\x89\x01\n\x86\x01\n\nsint64.lte\x1ax!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\xa0\x07\n\x02gt\x18\x04 \x01(\x12\x42\x8d\x07\xc2H\x89\x07\n{\n\tsint64.gt\x1an!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xb4\x01\n\x0csint64.gt_lt\x1a\xa3\x01has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xbc\x01\n\x16sint64.gt_lt_exclusive\x1a\xa1\x01has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xc4\x01\n\rsint64.gt_lte\x1a\xb2\x01has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xcc\x01\n\x17sint64.gt_lte_exclusive\x1a\xb0\x01has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\xed\x07\n\x03gte\x18\x05 \x01(\x12\x42\xd8\x07\xc2H\xd4\x07\n\x89\x01\n\nsint64.gte\x1a{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xc3\x01\n\rsint64.gte_lt\x1a\xb1\x01has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xcb\x01\n\x17sint64.gte_lt_exclusive\x1a\xaf\x01has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xd3\x01\n\x0esint64.gte_lte\x1a\xc0\x01has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xdb\x01\n\x18sint64.gte_lte_exclusive\x1a\xbe\x01has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12z\n\x02in\x18\x06 \x03(\x12\x42j\xc2Hg\ne\n\tsint64.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12~\n\x06not_in\x18\x07 \x03(\x12\x42g\xc2Hd\nb\n\rsint64.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notInB\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_const\"\x82\x15\n\x0c\x46ixed32Rules\x12w\n\x05\x63onst\x18\x01 \x01(\x07\x42\\\xc2HY\nW\n\rfixed32.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\x90\x01\n\x02lt\x18\x02 \x01(\x07\x42~\xc2H{\ny\n\nfixed32.lt\x1ak!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xa3\x01\n\x03lte\x18\x03 \x01(\x07\x42\x8e\x01\xc2H\x8a\x01\n\x87\x01\n\x0b\x66ixed32.lte\x1ax!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\xa5\x07\n\x02gt\x18\x04 \x01(\x07\x42\x92\x07\xc2H\x8e\x07\n|\n\nfixed32.gt\x1an!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xb5\x01\n\rfixed32.gt_lt\x1a\xa3\x01has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xbd\x01\n\x17\x66ixed32.gt_lt_exclusive\x1a\xa1\x01has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xc5\x01\n\x0e\x66ixed32.gt_lte\x1a\xb2\x01has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xcd\x01\n\x18\x66ixed32.gt_lte_exclusive\x1a\xb0\x01has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\xf2\x07\n\x03gte\x18\x05 \x01(\x07\x42\xdd\x07\xc2H\xd9\x07\n\x8a\x01\n\x0b\x66ixed32.gte\x1a{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xc4\x01\n\x0e\x66ixed32.gte_lt\x1a\xb1\x01has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xcc\x01\n\x18\x66ixed32.gte_lt_exclusive\x1a\xaf\x01has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xd4\x01\n\x0f\x66ixed32.gte_lte\x1a\xc0\x01has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xdc\x01\n\x19\x66ixed32.gte_lte_exclusive\x1a\xbe\x01has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12{\n\x02in\x18\x06 \x03(\x07\x42k\xc2Hh\nf\n\nfixed32.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12\x7f\n\x06not_in\x18\x07 \x03(\x07\x42h\xc2He\nc\n\x0e\x66ixed32.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notInB\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_const\"\x82\x15\n\x0c\x46ixed64Rules\x12w\n\x05\x63onst\x18\x01 \x01(\x06\x42\\\xc2HY\nW\n\rfixed64.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\x90\x01\n\x02lt\x18\x02 \x01(\x06\x42~\xc2H{\ny\n\nfixed64.lt\x1ak!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xa3\x01\n\x03lte\x18\x03 \x01(\x06\x42\x8e\x01\xc2H\x8a\x01\n\x87\x01\n\x0b\x66ixed64.lte\x1ax!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\xa5\x07\n\x02gt\x18\x04 \x01(\x06\x42\x92\x07\xc2H\x8e\x07\n|\n\nfixed64.gt\x1an!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xb5\x01\n\rfixed64.gt_lt\x1a\xa3\x01has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xbd\x01\n\x17\x66ixed64.gt_lt_exclusive\x1a\xa1\x01has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xc5\x01\n\x0e\x66ixed64.gt_lte\x1a\xb2\x01has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xcd\x01\n\x18\x66ixed64.gt_lte_exclusive\x1a\xb0\x01has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\xf2\x07\n\x03gte\x18\x05 \x01(\x06\x42\xdd\x07\xc2H\xd9\x07\n\x8a\x01\n\x0b\x66ixed64.gte\x1a{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xc4\x01\n\x0e\x66ixed64.gte_lt\x1a\xb1\x01has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xcc\x01\n\x18\x66ixed64.gte_lt_exclusive\x1a\xaf\x01has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xd4\x01\n\x0f\x66ixed64.gte_lte\x1a\xc0\x01has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xdc\x01\n\x19\x66ixed64.gte_lte_exclusive\x1a\xbe\x01has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12{\n\x02in\x18\x06 \x03(\x06\x42k\xc2Hh\nf\n\nfixed64.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12\x7f\n\x06not_in\x18\x07 \x03(\x06\x42h\xc2He\nc\n\x0e\x66ixed64.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notInB\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_const\"\x93\x15\n\rSFixed32Rules\x12x\n\x05\x63onst\x18\x01 \x01(\x0f\x42]\xc2HZ\nX\n\x0esfixed32.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\x91\x01\n\x02lt\x18\x02 \x01(\x0f\x42\x7f\xc2H|\nz\n\x0bsfixed32.lt\x1ak!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xa4\x01\n\x03lte\x18\x03 \x01(\x0f\x42\x8f\x01\xc2H\x8b\x01\n\x88\x01\n\x0csfixed32.lte\x1ax!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\xaa\x07\n\x02gt\x18\x04 \x01(\x0f\x42\x97\x07\xc2H\x93\x07\n}\n\x0bsfixed32.gt\x1an!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xb6\x01\n\x0esfixed32.gt_lt\x1a\xa3\x01has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xbe\x01\n\x18sfixed32.gt_lt_exclusive\x1a\xa1\x01has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xc6\x01\n\x0fsfixed32.gt_lte\x1a\xb2\x01has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xce\x01\n\x19sfixed32.gt_lte_exclusive\x1a\xb0\x01has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\xf7\x07\n\x03gte\x18\x05 \x01(\x0f\x42\xe2\x07\xc2H\xde\x07\n\x8b\x01\n\x0csfixed32.gte\x1a{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xc5\x01\n\x0fsfixed32.gte_lt\x1a\xb1\x01has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xcd\x01\n\x19sfixed32.gte_lt_exclusive\x1a\xaf\x01has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xd5\x01\n\x10sfixed32.gte_lte\x1a\xc0\x01has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xdd\x01\n\x1asfixed32.gte_lte_exclusive\x1a\xbe\x01has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12|\n\x02in\x18\x06 \x03(\x0f\x42l\xc2Hi\ng\n\x0bsfixed32.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12\x80\x01\n\x06not_in\x18\x07 \x03(\x0f\x42i\xc2Hf\nd\n\x0fsfixed32.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notInB\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_const\"\x93\x15\n\rSFixed64Rules\x12x\n\x05\x63onst\x18\x01 \x01(\x10\x42]\xc2HZ\nX\n\x0esfixed64.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\x91\x01\n\x02lt\x18\x02 \x01(\x10\x42\x7f\xc2H|\nz\n\x0bsfixed64.lt\x1ak!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xa4\x01\n\x03lte\x18\x03 \x01(\x10\x42\x8f\x01\xc2H\x8b\x01\n\x88\x01\n\x0csfixed64.lte\x1ax!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\xaa\x07\n\x02gt\x18\x04 \x01(\x10\x42\x97\x07\xc2H\x93\x07\n}\n\x0bsfixed64.gt\x1an!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xb6\x01\n\x0esfixed64.gt_lt\x1a\xa3\x01has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xbe\x01\n\x18sfixed64.gt_lt_exclusive\x1a\xa1\x01has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xc6\x01\n\x0fsfixed64.gt_lte\x1a\xb2\x01has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xce\x01\n\x19sfixed64.gt_lte_exclusive\x1a\xb0\x01has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\xf7\x07\n\x03gte\x18\x05 \x01(\x10\x42\xe2\x07\xc2H\xde\x07\n\x8b\x01\n\x0csfixed64.gte\x1a{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xc5\x01\n\x0fsfixed64.gte_lt\x1a\xb1\x01has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xcd\x01\n\x19sfixed64.gte_lt_exclusive\x1a\xaf\x01has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xd5\x01\n\x10sfixed64.gte_lte\x1a\xc0\x01has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xdd\x01\n\x1asfixed64.gte_lte_exclusive\x1a\xbe\x01has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12|\n\x02in\x18\x06 \x03(\x10\x42l\xc2Hi\ng\n\x0bsfixed64.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12\x80\x01\n\x06not_in\x18\x07 \x03(\x10\x42i\xc2Hf\nd\n\x0fsfixed64.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notInB\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_const\"\x8b\x01\n\tBoolRules\x12t\n\x05\x63onst\x18\x01 \x01(\x08\x42Y\xc2HV\nT\n\nbool.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x00R\x05\x63onst\x88\x01\x01\x42\x08\n\x06_const\"\xae\x35\n\x0bStringRules\x12x\n\x05\x63onst\x18\x01 \x01(\tB]\xc2HZ\nX\n\x0cstring.const\x1aHthis != rules.const ? \'value must equal `%s`\'.format([rules.const]) : \'\'H\x01R\x05\x63onst\x88\x01\x01\x12\x88\x01\n\x03len\x18\x13 \x01(\x04\x42q\xc2Hn\nl\n\nstring.len\x1a^uint(this.size()) != rules.len ? \'value length must be %s characters\'.format([rules.len]) : \'\'H\x02R\x03len\x88\x01\x01\x12\xa6\x01\n\x07min_len\x18\x02 \x01(\x04\x42\x87\x01\xc2H\x83\x01\n\x80\x01\n\x0estring.min_len\x1anuint(this.size()) < rules.min_len ? \'value length must be at least %s characters\'.format([rules.min_len]) : \'\'H\x03R\x06minLen\x88\x01\x01\x12\xa4\x01\n\x07max_len\x18\x03 \x01(\x04\x42\x85\x01\xc2H\x81\x01\n\x7f\n\x0estring.max_len\x1amuint(this.size()) > rules.max_len ? \'value length must be at most %s characters\'.format([rules.max_len]) : \'\'H\x04R\x06maxLen\x88\x01\x01\x12\xaa\x01\n\tlen_bytes\x18\x14 \x01(\x04\x42\x87\x01\xc2H\x83\x01\n\x80\x01\n\x10string.len_bytes\x1aluint(bytes(this).size()) != rules.len_bytes ? \'value length must be %s bytes\'.format([rules.len_bytes]) : \'\'H\x05R\x08lenBytes\x88\x01\x01\x12\xb2\x01\n\tmin_bytes\x18\x04 \x01(\x04\x42\x8f\x01\xc2H\x8b\x01\n\x88\x01\n\x10string.min_bytes\x1atuint(bytes(this).size()) < rules.min_bytes ? \'value length must be at least %s bytes\'.format([rules.min_bytes]) : \'\'H\x06R\x08minBytes\x88\x01\x01\x12\xb1\x01\n\tmax_bytes\x18\x05 \x01(\x04\x42\x8e\x01\xc2H\x8a\x01\n\x87\x01\n\x10string.max_bytes\x1asuint(bytes(this).size()) > rules.max_bytes ? \'value length must be at most %s bytes\'.format([rules.max_bytes]) : \'\'H\x07R\x08maxBytes\x88\x01\x01\x12\x9b\x01\n\x07pattern\x18\x06 \x01(\tB|\xc2Hy\nw\n\x0estring.pattern\x1a\x65!this.matches(rules.pattern) ? \'value does not match regex pattern `%s`\'.format([rules.pattern]) : \'\'H\x08R\x07pattern\x88\x01\x01\x12\x91\x01\n\x06prefix\x18\x07 \x01(\tBt\xc2Hq\no\n\rstring.prefix\x1a^!this.startsWith(rules.prefix) ? \'value does not have prefix `%s`\'.format([rules.prefix]) : \'\'H\tR\x06prefix\x88\x01\x01\x12\x8f\x01\n\x06suffix\x18\x08 \x01(\tBr\xc2Ho\nm\n\rstring.suffix\x1a\\!this.endsWith(rules.suffix) ? \'value does not have suffix `%s`\'.format([rules.suffix]) : \'\'H\nR\x06suffix\x88\x01\x01\x12\x9f\x01\n\x08\x63ontains\x18\t \x01(\tB~\xc2H{\ny\n\x0fstring.contains\x1a\x66!this.contains(rules.contains) ? \'value does not contain substring `%s`\'.format([rules.contains]) : \'\'H\x0bR\x08\x63ontains\x88\x01\x01\x12\xaa\x01\n\x0cnot_contains\x18\x17 \x01(\tB\x81\x01\xc2H~\n|\n\x13string.not_contains\x1a\x65this.contains(rules.not_contains) ? \'value contains substring `%s`\'.format([rules.not_contains]) : \'\'H\x0cR\x0bnotContains\x88\x01\x01\x12z\n\x02in\x18\n \x03(\tBj\xc2Hg\ne\n\tstring.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12~\n\x06not_in\x18\x0b \x03(\tBg\xc2Hd\nb\n\rstring.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notIn\x12\xc6\x01\n\x05\x65mail\x18\x0c \x01(\x08\x42\xad\x01\xc2H\xa9\x01\nQ\n\x0cstring.email\x12#value must be a valid email address\x1a\x1cthis == \'\' || this.isEmail()\nT\n\x12string.email_empty\x12\x32value is empty, which is not a valid email address\x1a\nthis != \'\'H\x00R\x05\x65mail\x12\xcb\x01\n\x08hostname\x18\r \x01(\x08\x42\xac\x01\xc2H\xa8\x01\nR\n\x0fstring.hostname\x12\x1evalue must be a valid hostname\x1a\x1fthis == \'\' || this.isHostname()\nR\n\x15string.hostname_empty\x12-value is empty, which is not a valid hostname\x1a\nthis != \'\'H\x00R\x08hostname\x12\xb1\x01\n\x02ip\x18\x0e \x01(\x08\x42\x9e\x01\xc2H\x9a\x01\nH\n\tstring.ip\x12 value must be a valid IP address\x1a\x19this == \'\' || this.isIp()\nN\n\x0fstring.ip_empty\x12/value is empty, which is not a valid IP address\x1a\nthis != \'\'H\x00R\x02ip\x12\xbe\x01\n\x04ipv4\x18\x0f \x01(\x08\x42\xa7\x01\xc2H\xa3\x01\nM\n\x0bstring.ipv4\x12\"value must be a valid IPv4 address\x1a\x1athis == \'\' || this.isIp(4)\nR\n\x11string.ipv4_empty\x12\x31value is empty, which is not a valid IPv4 address\x1a\nthis != \'\'H\x00R\x04ipv4\x12\xbe\x01\n\x04ipv6\x18\x10 \x01(\x08\x42\xa7\x01\xc2H\xa3\x01\nM\n\x0bstring.ipv6\x12\"value must be a valid IPv6 address\x1a\x1athis == \'\' || this.isIp(6)\nR\n\x11string.ipv6_empty\x12\x31value is empty, which is not a valid IPv6 address\x1a\nthis != \'\'H\x00R\x04ipv6\x12\xa8\x01\n\x03uri\x18\x11 \x01(\x08\x42\x93\x01\xc2H\x8f\x01\nC\n\nstring.uri\x12\x19value must be a valid URI\x1a\x1athis == \'\' || this.isUri()\nH\n\x10string.uri_empty\x12(value is empty, which is not a valid URI\x1a\nthis != \'\'H\x00R\x03uri\x12\\\n\x07uri_ref\x18\x12 \x01(\x08\x42\x41\xc2H>\n<\n\x0estring.uri_ref\x12\x19value must be a valid URI\x1a\x0fthis.isUriRef()H\x00R\x06uriRef\x12\xf4\x01\n\x07\x61\x64\x64ress\x18\x15 \x01(\x08\x42\xd7\x01\xc2H\xd3\x01\no\n\x0estring.address\x12-value must be a valid hostname, or ip address\x1a.this == \'\' || this.isHostname() || this.isIp()\n`\n\x14string.address_empty\x12 rules.max_len ? \'value must be at most %s bytes\'.format([rules.max_len]) : \'\'H\x04R\x06maxLen\x88\x01\x01\x12\x9e\x01\n\x07pattern\x18\x04 \x01(\tB\x7f\xc2H|\nz\n\rbytes.pattern\x1ai!string(this).matches(rules.pattern) ? \'value must match regex pattern `%s`\'.format([rules.pattern]) : \'\'H\x05R\x07pattern\x88\x01\x01\x12\x8e\x01\n\x06prefix\x18\x05 \x01(\x0c\x42q\xc2Hn\nl\n\x0c\x62ytes.prefix\x1a\\!this.startsWith(rules.prefix) ? \'value does not have prefix %x\'.format([rules.prefix]) : \'\'H\x06R\x06prefix\x88\x01\x01\x12\x8c\x01\n\x06suffix\x18\x06 \x01(\x0c\x42o\xc2Hl\nj\n\x0c\x62ytes.suffix\x1aZ!this.endsWith(rules.suffix) ? \'value does not have suffix %x\'.format([rules.suffix]) : \'\'H\x07R\x06suffix\x88\x01\x01\x12\x92\x01\n\x08\x63ontains\x18\x07 \x01(\x0c\x42q\xc2Hn\nl\n\x0e\x62ytes.contains\x1aZ!this.contains(rules.contains) ? \'value does not contain %x\'.format([rules.contains]) : \'\'H\x08R\x08\x63ontains\x88\x01\x01\x12\x9b\x01\n\x02in\x18\x08 \x03(\x0c\x42\x8a\x01\xc2H\x86\x01\n\x83\x01\n\x08\x62ytes.in\x1awdyn(rules)[\'in\'].size() > 0 && !(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12}\n\x06not_in\x18\t \x03(\x0c\x42\x66\xc2Hc\na\n\x0c\x62ytes.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notIn\x12\xd5\x01\n\x02ip\x18\n \x01(\x08\x42\xc2\x01\xc2H\xbe\x01\ng\n\x08\x62ytes.ip\x12 value must be a valid IP address\x1a\x39this.size() == 0 || this.size() == 4 || this.size() == 16\nS\n\x0e\x62ytes.ip_empty\x12/value is empty, which is not a valid IP address\x1a\x10this.size() != 0H\x00R\x02ip\x12\xcc\x01\n\x04ipv4\x18\x0b \x01(\x08\x42\xb5\x01\xc2H\xb1\x01\nV\n\nbytes.ipv4\x12\"value must be a valid IPv4 address\x1a$this.size() == 0 || this.size() == 4\nW\n\x10\x62ytes.ipv4_empty\x12\x31value is empty, which is not a valid IPv4 address\x1a\x10this.size() != 0H\x00R\x04ipv4\x12\xcd\x01\n\x04ipv6\x18\x0c \x01(\x08\x42\xb6\x01\xc2H\xb2\x01\nW\n\nbytes.ipv6\x12\"value must be a valid IPv6 address\x1a%this.size() == 0 || this.size() == 16\nW\n\x10\x62ytes.ipv6_empty\x12\x31value is empty, which is not a valid IPv6 address\x1a\x10this.size() != 0H\x00R\x04ipv6B\x0c\n\nwell_knownB\x08\n\x06_constB\x06\n\x04_lenB\n\n\x08_min_lenB\n\n\x08_max_lenB\n\n\x08_patternB\t\n\x07_prefixB\t\n\x07_suffixB\x0b\n\t_contains\"\xbc\x03\n\tEnumRules\x12t\n\x05\x63onst\x18\x01 \x01(\x05\x42Y\xc2HV\nT\n\nenum.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x00R\x05\x63onst\x88\x01\x01\x12&\n\x0c\x64\x65\x66ined_only\x18\x02 \x01(\x08H\x01R\x0b\x64\x65\x66inedOnly\x88\x01\x01\x12x\n\x02in\x18\x03 \x03(\x05\x42h\xc2He\nc\n\x07\x65num.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12|\n\x06not_in\x18\x04 \x03(\x05\x42\x65\xc2Hb\n`\n\x0b\x65num.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notInB\x08\n\x06_constB\x0f\n\r_defined_only\"\xcd\x04\n\rRepeatedRules\x12\xad\x01\n\tmin_items\x18\x01 \x01(\x04\x42\x8a\x01\xc2H\x86\x01\n\x83\x01\n\x12repeated.min_items\x1amuint(this.size()) < rules.min_items ? \'value must contain at least %d item(s)\'.format([rules.min_items]) : \'\'H\x00R\x08minItems\x88\x01\x01\x12\xb1\x01\n\tmax_items\x18\x02 \x01(\x04\x42\x8e\x01\xc2H\x8a\x01\n\x87\x01\n\x12repeated.max_items\x1aquint(this.size()) > rules.max_items ? \'value must contain no more than %s item(s)\'.format([rules.max_items]) : \'\'H\x01R\x08maxItems\x88\x01\x01\x12l\n\x06unique\x18\x03 \x01(\x08\x42O\xc2HL\nJ\n\x0frepeated.unique\x12(repeated value must contain unique items\x1a\rthis.unique()H\x02R\x06unique\x88\x01\x01\x12\x39\n\x05items\x18\x04 \x01(\x0b\x32\x1e.buf.validate.FieldConstraintsH\x03R\x05items\x88\x01\x01\x42\x0c\n\n_min_itemsB\x0c\n\n_max_itemsB\t\n\x07_uniqueB\x08\n\x06_items\"\xf1\x03\n\x08MapRules\x12\x9e\x01\n\tmin_pairs\x18\x01 \x01(\x04\x42|\xc2Hy\nw\n\rmap.min_pairs\x1a\x66uint(this.size()) < rules.min_pairs ? \'map must be at least %d entries\'.format([rules.min_pairs]) : \'\'H\x00R\x08minPairs\x88\x01\x01\x12\x9d\x01\n\tmax_pairs\x18\x02 \x01(\x04\x42{\xc2Hx\nv\n\rmap.max_pairs\x1a\x65uint(this.size()) > rules.max_pairs ? \'map must be at most %d entries\'.format([rules.max_pairs]) : \'\'H\x01R\x08maxPairs\x88\x01\x01\x12\x37\n\x04keys\x18\x04 \x01(\x0b\x32\x1e.buf.validate.FieldConstraintsH\x02R\x04keys\x88\x01\x01\x12;\n\x06values\x18\x05 \x01(\x0b\x32\x1e.buf.validate.FieldConstraintsH\x03R\x06values\x88\x01\x01\x42\x0c\n\n_min_pairsB\x0c\n\n_max_pairsB\x07\n\x05_keysB\t\n\x07_values\"1\n\x08\x41nyRules\x12\x0e\n\x02in\x18\x02 \x03(\tR\x02in\x12\x15\n\x06not_in\x18\x03 \x03(\tR\x05notIn\"\xd2\x16\n\rDurationRules\x12\x93\x01\n\x05\x63onst\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB]\xc2HZ\nX\n\x0e\x64uration.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\xac\x01\n\x02lt\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x7f\xc2H|\nz\n\x0b\x64uration.lt\x1ak!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xbf\x01\n\x03lte\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x8f\x01\xc2H\x8b\x01\n\x88\x01\n\x0c\x64uration.lte\x1ax!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\xc5\x07\n\x02gt\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x97\x07\xc2H\x93\x07\n}\n\x0b\x64uration.gt\x1an!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xb6\x01\n\x0e\x64uration.gt_lt\x1a\xa3\x01has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xbe\x01\n\x18\x64uration.gt_lt_exclusive\x1a\xa1\x01has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xc6\x01\n\x0f\x64uration.gt_lte\x1a\xb2\x01has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xce\x01\n\x19\x64uration.gt_lte_exclusive\x1a\xb0\x01has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\x92\x08\n\x03gte\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\xe2\x07\xc2H\xde\x07\n\x8b\x01\n\x0c\x64uration.gte\x1a{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xc5\x01\n\x0f\x64uration.gte_lt\x1a\xb1\x01has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xcd\x01\n\x19\x64uration.gte_lt_exclusive\x1a\xaf\x01has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xd5\x01\n\x10\x64uration.gte_lte\x1a\xc0\x01has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xdd\x01\n\x1a\x64uration.gte_lte_exclusive\x1a\xbe\x01has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12\x97\x01\n\x02in\x18\x07 \x03(\x0b\x32\x19.google.protobuf.DurationBl\xc2Hi\ng\n\x0b\x64uration.in\x1aX!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'R\x02in\x12\x9b\x01\n\x06not_in\x18\x08 \x03(\x0b\x32\x19.google.protobuf.DurationBi\xc2Hf\nd\n\x0f\x64uration.not_in\x1aQthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'R\x05notInB\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_const\"\xca\x17\n\x0eTimestampRules\x12\x95\x01\n\x05\x63onst\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB^\xc2H[\nY\n\x0ftimestamp.const\x1a\x46this != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'H\x02R\x05\x63onst\x88\x01\x01\x12\xaf\x01\n\x02lt\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x80\x01\xc2H}\n{\n\x0ctimestamp.lt\x1ak!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'H\x00R\x02lt\x12\xc1\x01\n\x03lte\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x90\x01\xc2H\x8c\x01\n\x89\x01\n\rtimestamp.lte\x1ax!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'H\x00R\x03lte\x12\x61\n\x06lt_now\x18\x07 \x01(\x08\x42H\xc2HE\nC\n\x10timestamp.lt_now\x1a/this > now ? \'value must be less than now\' : \'\'H\x00R\x05ltNow\x12\xcb\x07\n\x02gt\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x9c\x07\xc2H\x98\x07\n~\n\x0ctimestamp.gt\x1an!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\xb7\x01\n\x0ftimestamp.gt_lt\x1a\xa3\x01has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xbf\x01\n\x19timestamp.gt_lt_exclusive\x1a\xa1\x01has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\xc7\x01\n\x10timestamp.gt_lte\x1a\xb2\x01has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\xcf\x01\n\x1atimestamp.gt_lte_exclusive\x1a\xb0\x01has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'H\x01R\x02gt\x12\x98\x08\n\x03gte\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\xe7\x07\xc2H\xe3\x07\n\x8c\x01\n\rtimestamp.gte\x1a{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\xc6\x01\n\x10timestamp.gte_lt\x1a\xb1\x01has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xce\x01\n\x1atimestamp.gte_lt_exclusive\x1a\xaf\x01has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\xd6\x01\n\x11timestamp.gte_lte\x1a\xc0\x01has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\xde\x01\n\x1btimestamp.gte_lte_exclusive\x1a\xbe\x01has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'H\x01R\x03gte\x12\x64\n\x06gt_now\x18\x08 \x01(\x08\x42K\xc2HH\nF\n\x10timestamp.gt_now\x1a\x32this < now ? \'value must be greater than now\' : \'\'H\x01R\x05gtNow\x12\xc5\x01\n\x06within\x18\t \x01(\x0b\x32\x19.google.protobuf.DurationB\x8c\x01\xc2H\x88\x01\n\x85\x01\n\x10timestamp.within\x1aqthis < now-rules.within || this > now+rules.within ? \'value must be within %s of now\'.format([rules.within]) : \'\'H\x03R\x06within\x88\x01\x01\x42\x0b\n\tless_thanB\x0e\n\x0cgreater_thanB\x08\n\x06_constB\t\n\x07_within*\x9d\x01\n\x06Ignore\x12\x16\n\x12IGNORE_UNSPECIFIED\x10\x00\x12\x19\n\x15IGNORE_IF_UNPOPULATED\x10\x01\x12\x1b\n\x17IGNORE_IF_DEFAULT_VALUE\x10\x02\x12\x11\n\rIGNORE_ALWAYS\x10\x03\x12\x14\n\x0cIGNORE_EMPTY\x10\x01\x1a\x02\x08\x01\x12\x16\n\x0eIGNORE_DEFAULT\x10\x02\x1a\x02\x08\x01\x1a\x02\x10\x01*n\n\nKnownRegex\x12\x1b\n\x17KNOWN_REGEX_UNSPECIFIED\x10\x00\x12 \n\x1cKNOWN_REGEX_HTTP_HEADER_NAME\x10\x01\x12!\n\x1dKNOWN_REGEX_HTTP_HEADER_VALUE\x10\x02:_\n\x07message\x12\x1f.google.protobuf.MessageOptions\x18\x87\t \x01(\x0b\x32 .buf.validate.MessageConstraintsR\x07message\x88\x01\x01:W\n\x05oneof\x12\x1d.google.protobuf.OneofOptions\x18\x87\t \x01(\x0b\x32\x1e.buf.validate.OneofConstraintsR\x05oneof\x88\x01\x01:W\n\x05\x66ield\x12\x1d.google.protobuf.FieldOptions\x18\x87\t \x01(\x0b\x32\x1e.buf.validate.FieldConstraintsR\x05\x66ield\x88\x01\x01\x42n\n\x12\x62uild.buf.validateB\rValidateProtoP\x01ZGbuf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validateb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.validate_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(message) - google_dot_protobuf_dot_descriptor__pb2.OneofOptions.RegisterExtension(oneof) - google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(field) - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\022build.buf.validateB\rValidateProtoP\001ZGbuf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate' - _FIELDCONSTRAINTS.fields_by_name['ignore_empty']._options = None - _FIELDCONSTRAINTS.fields_by_name['ignore_empty']._serialized_options = b'\030\001' - _FLOATRULES.fields_by_name['const']._options = None - _FLOATRULES.fields_by_name['const']._serialized_options = b'\302HW\nU\n\013float.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' - _FLOATRULES.fields_by_name['lt']._options = None - _FLOATRULES.fields_by_name['lt']._serialized_options = b'\302H\214\001\n\211\001\n\010float.lt\032}!has(rules.gte) && !has(rules.gt) && (this.isNan() || this >= rules.lt)? \'value must be less than %s\'.format([rules.lt]) : \'\'' - _FLOATRULES.fields_by_name['lte']._options = None - _FLOATRULES.fields_by_name['lte']._serialized_options = b'\302H\233\001\n\230\001\n\tfloat.lte\032\212\001!has(rules.gte) && !has(rules.gt) && (this.isNan() || this > rules.lte)? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' - _FLOATRULES.fields_by_name['gt']._options = None - _FLOATRULES.fields_by_name['gt']._serialized_options = b'\302H\334\007\n\215\001\n\010float.gt\032\200\001!has(rules.lt) && !has(rules.lte) && (this.isNan() || this <= rules.gt)? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\303\001\n\013float.gt_lt\032\263\001has(rules.lt) && rules.lt >= rules.gt && (this.isNan() || this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\315\001\n\025float.gt_lt_exclusive\032\263\001has(rules.lt) && rules.lt < rules.gt && (this.isNan() || (rules.lt <= this && this <= rules.gt))? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\323\001\n\014float.gt_lte\032\302\001has(rules.lte) && rules.lte >= rules.gt && (this.isNan() || this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\335\001\n\026float.gt_lte_exclusive\032\302\001has(rules.lte) && rules.lte < rules.gt && (this.isNan() || (rules.lte < this && this <= rules.gt))? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' - _FLOATRULES.fields_by_name['gte']._options = None - _FLOATRULES.fields_by_name['gte']._serialized_options = b'\302H\246\010\n\233\001\n\tfloat.gte\032\215\001!has(rules.lt) && !has(rules.lte) && (this.isNan() || this < rules.gte)? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\322\001\n\014float.gte_lt\032\301\001has(rules.lt) && rules.lt >= rules.gte && (this.isNan() || this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\334\001\n\026float.gte_lt_exclusive\032\301\001has(rules.lt) && rules.lt < rules.gte && (this.isNan() || (rules.lt <= this && this < rules.gte))? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\342\001\n\rfloat.gte_lte\032\320\001has(rules.lte) && rules.lte >= rules.gte && (this.isNan() || this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\354\001\n\027float.gte_lte_exclusive\032\320\001has(rules.lte) && rules.lte < rules.gte && (this.isNan() || (rules.lte < this && this < rules.gte))? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' - _FLOATRULES.fields_by_name['in']._options = None - _FLOATRULES.fields_by_name['in']._serialized_options = b'\302Hf\nd\n\010float.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' - _FLOATRULES.fields_by_name['not_in']._options = None - _FLOATRULES.fields_by_name['not_in']._serialized_options = b'\302Hc\na\n\014float.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' - _FLOATRULES.fields_by_name['finite']._options = None - _FLOATRULES.fields_by_name['finite']._serialized_options = b'\302HL\nJ\n\014float.finite\032:this.isNan() || this.isInf() ? \'value must be finite\' : \'\'' - _DOUBLERULES.fields_by_name['const']._options = None - _DOUBLERULES.fields_by_name['const']._serialized_options = b'\302HX\nV\n\014double.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' - _DOUBLERULES.fields_by_name['lt']._options = None - _DOUBLERULES.fields_by_name['lt']._serialized_options = b'\302H\215\001\n\212\001\n\tdouble.lt\032}!has(rules.gte) && !has(rules.gt) && (this.isNan() || this >= rules.lt)? \'value must be less than %s\'.format([rules.lt]) : \'\'' - _DOUBLERULES.fields_by_name['lte']._options = None - _DOUBLERULES.fields_by_name['lte']._serialized_options = b'\302H\234\001\n\231\001\n\ndouble.lte\032\212\001!has(rules.gte) && !has(rules.gt) && (this.isNan() || this > rules.lte)? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' - _DOUBLERULES.fields_by_name['gt']._options = None - _DOUBLERULES.fields_by_name['gt']._serialized_options = b'\302H\341\007\n\216\001\n\tdouble.gt\032\200\001!has(rules.lt) && !has(rules.lte) && (this.isNan() || this <= rules.gt)? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\304\001\n\014double.gt_lt\032\263\001has(rules.lt) && rules.lt >= rules.gt && (this.isNan() || this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\316\001\n\026double.gt_lt_exclusive\032\263\001has(rules.lt) && rules.lt < rules.gt && (this.isNan() || (rules.lt <= this && this <= rules.gt))? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\324\001\n\rdouble.gt_lte\032\302\001has(rules.lte) && rules.lte >= rules.gt && (this.isNan() || this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\336\001\n\027double.gt_lte_exclusive\032\302\001has(rules.lte) && rules.lte < rules.gt && (this.isNan() || (rules.lte < this && this <= rules.gt))? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' - _DOUBLERULES.fields_by_name['gte']._options = None - _DOUBLERULES.fields_by_name['gte']._serialized_options = b'\302H\253\010\n\234\001\n\ndouble.gte\032\215\001!has(rules.lt) && !has(rules.lte) && (this.isNan() || this < rules.gte)? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\323\001\n\rdouble.gte_lt\032\301\001has(rules.lt) && rules.lt >= rules.gte && (this.isNan() || this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\335\001\n\027double.gte_lt_exclusive\032\301\001has(rules.lt) && rules.lt < rules.gte && (this.isNan() || (rules.lt <= this && this < rules.gte))? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\343\001\n\016double.gte_lte\032\320\001has(rules.lte) && rules.lte >= rules.gte && (this.isNan() || this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\355\001\n\030double.gte_lte_exclusive\032\320\001has(rules.lte) && rules.lte < rules.gte && (this.isNan() || (rules.lte < this && this < rules.gte))? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' - _DOUBLERULES.fields_by_name['in']._options = None - _DOUBLERULES.fields_by_name['in']._serialized_options = b'\302Hg\ne\n\tdouble.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' - _DOUBLERULES.fields_by_name['not_in']._options = None - _DOUBLERULES.fields_by_name['not_in']._serialized_options = b'\302Hd\nb\n\rdouble.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' - _DOUBLERULES.fields_by_name['finite']._options = None - _DOUBLERULES.fields_by_name['finite']._serialized_options = b'\302HM\nK\n\rdouble.finite\032:this.isNan() || this.isInf() ? \'value must be finite\' : \'\'' - _INT32RULES.fields_by_name['const']._options = None - _INT32RULES.fields_by_name['const']._serialized_options = b'\302HW\nU\n\013int32.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' - _INT32RULES.fields_by_name['lt']._options = None - _INT32RULES.fields_by_name['lt']._serialized_options = b'\302Hy\nw\n\010int32.lt\032k!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'' - _INT32RULES.fields_by_name['lte']._options = None - _INT32RULES.fields_by_name['lte']._serialized_options = b'\302H\210\001\n\205\001\n\tint32.lte\032x!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' - _INT32RULES.fields_by_name['gt']._options = None - _INT32RULES.fields_by_name['gt']._serialized_options = b'\302H\204\007\nz\n\010int32.gt\032n!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\263\001\n\013int32.gt_lt\032\243\001has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\273\001\n\025int32.gt_lt_exclusive\032\241\001has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\303\001\n\014int32.gt_lte\032\262\001has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\313\001\n\026int32.gt_lte_exclusive\032\260\001has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' - _INT32RULES.fields_by_name['gte']._options = None - _INT32RULES.fields_by_name['gte']._serialized_options = b'\302H\317\007\n\210\001\n\tint32.gte\032{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\302\001\n\014int32.gte_lt\032\261\001has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\312\001\n\026int32.gte_lt_exclusive\032\257\001has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\322\001\n\rint32.gte_lte\032\300\001has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\332\001\n\027int32.gte_lte_exclusive\032\276\001has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' - _INT32RULES.fields_by_name['in']._options = None - _INT32RULES.fields_by_name['in']._serialized_options = b'\302Hf\nd\n\010int32.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' - _INT32RULES.fields_by_name['not_in']._options = None - _INT32RULES.fields_by_name['not_in']._serialized_options = b'\302Hc\na\n\014int32.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' - _INT64RULES.fields_by_name['const']._options = None - _INT64RULES.fields_by_name['const']._serialized_options = b'\302HW\nU\n\013int64.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' - _INT64RULES.fields_by_name['lt']._options = None - _INT64RULES.fields_by_name['lt']._serialized_options = b'\302Hy\nw\n\010int64.lt\032k!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'' - _INT64RULES.fields_by_name['lte']._options = None - _INT64RULES.fields_by_name['lte']._serialized_options = b'\302H\210\001\n\205\001\n\tint64.lte\032x!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' - _INT64RULES.fields_by_name['gt']._options = None - _INT64RULES.fields_by_name['gt']._serialized_options = b'\302H\204\007\nz\n\010int64.gt\032n!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\263\001\n\013int64.gt_lt\032\243\001has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\273\001\n\025int64.gt_lt_exclusive\032\241\001has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\303\001\n\014int64.gt_lte\032\262\001has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\313\001\n\026int64.gt_lte_exclusive\032\260\001has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' - _INT64RULES.fields_by_name['gte']._options = None - _INT64RULES.fields_by_name['gte']._serialized_options = b'\302H\317\007\n\210\001\n\tint64.gte\032{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\302\001\n\014int64.gte_lt\032\261\001has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\312\001\n\026int64.gte_lt_exclusive\032\257\001has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\322\001\n\rint64.gte_lte\032\300\001has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\332\001\n\027int64.gte_lte_exclusive\032\276\001has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' - _INT64RULES.fields_by_name['in']._options = None - _INT64RULES.fields_by_name['in']._serialized_options = b'\302Hf\nd\n\010int64.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' - _INT64RULES.fields_by_name['not_in']._options = None - _INT64RULES.fields_by_name['not_in']._serialized_options = b'\302Hc\na\n\014int64.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' - _UINT32RULES.fields_by_name['const']._options = None - _UINT32RULES.fields_by_name['const']._serialized_options = b'\302HX\nV\n\014uint32.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' - _UINT32RULES.fields_by_name['lt']._options = None - _UINT32RULES.fields_by_name['lt']._serialized_options = b'\302Hz\nx\n\tuint32.lt\032k!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'' - _UINT32RULES.fields_by_name['lte']._options = None - _UINT32RULES.fields_by_name['lte']._serialized_options = b'\302H\211\001\n\206\001\n\nuint32.lte\032x!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' - _UINT32RULES.fields_by_name['gt']._options = None - _UINT32RULES.fields_by_name['gt']._serialized_options = b'\302H\211\007\n{\n\tuint32.gt\032n!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\264\001\n\014uint32.gt_lt\032\243\001has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\274\001\n\026uint32.gt_lt_exclusive\032\241\001has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\304\001\n\ruint32.gt_lte\032\262\001has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\314\001\n\027uint32.gt_lte_exclusive\032\260\001has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' - _UINT32RULES.fields_by_name['gte']._options = None - _UINT32RULES.fields_by_name['gte']._serialized_options = b'\302H\324\007\n\211\001\n\nuint32.gte\032{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\303\001\n\ruint32.gte_lt\032\261\001has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\313\001\n\027uint32.gte_lt_exclusive\032\257\001has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\323\001\n\016uint32.gte_lte\032\300\001has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\333\001\n\030uint32.gte_lte_exclusive\032\276\001has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' - _UINT32RULES.fields_by_name['in']._options = None - _UINT32RULES.fields_by_name['in']._serialized_options = b'\302Hg\ne\n\tuint32.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' - _UINT32RULES.fields_by_name['not_in']._options = None - _UINT32RULES.fields_by_name['not_in']._serialized_options = b'\302Hd\nb\n\ruint32.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' - _UINT64RULES.fields_by_name['const']._options = None - _UINT64RULES.fields_by_name['const']._serialized_options = b'\302HX\nV\n\014uint64.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' - _UINT64RULES.fields_by_name['lt']._options = None - _UINT64RULES.fields_by_name['lt']._serialized_options = b'\302Hz\nx\n\tuint64.lt\032k!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'' - _UINT64RULES.fields_by_name['lte']._options = None - _UINT64RULES.fields_by_name['lte']._serialized_options = b'\302H\211\001\n\206\001\n\nuint64.lte\032x!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' - _UINT64RULES.fields_by_name['gt']._options = None - _UINT64RULES.fields_by_name['gt']._serialized_options = b'\302H\211\007\n{\n\tuint64.gt\032n!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\264\001\n\014uint64.gt_lt\032\243\001has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\274\001\n\026uint64.gt_lt_exclusive\032\241\001has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\304\001\n\ruint64.gt_lte\032\262\001has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\314\001\n\027uint64.gt_lte_exclusive\032\260\001has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' - _UINT64RULES.fields_by_name['gte']._options = None - _UINT64RULES.fields_by_name['gte']._serialized_options = b'\302H\324\007\n\211\001\n\nuint64.gte\032{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\303\001\n\ruint64.gte_lt\032\261\001has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\313\001\n\027uint64.gte_lt_exclusive\032\257\001has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\323\001\n\016uint64.gte_lte\032\300\001has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\333\001\n\030uint64.gte_lte_exclusive\032\276\001has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' - _UINT64RULES.fields_by_name['in']._options = None - _UINT64RULES.fields_by_name['in']._serialized_options = b'\302Hg\ne\n\tuint64.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' - _UINT64RULES.fields_by_name['not_in']._options = None - _UINT64RULES.fields_by_name['not_in']._serialized_options = b'\302Hd\nb\n\ruint64.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' - _SINT32RULES.fields_by_name['const']._options = None - _SINT32RULES.fields_by_name['const']._serialized_options = b'\302HX\nV\n\014sint32.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' - _SINT32RULES.fields_by_name['lt']._options = None - _SINT32RULES.fields_by_name['lt']._serialized_options = b'\302Hz\nx\n\tsint32.lt\032k!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'' - _SINT32RULES.fields_by_name['lte']._options = None - _SINT32RULES.fields_by_name['lte']._serialized_options = b'\302H\211\001\n\206\001\n\nsint32.lte\032x!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' - _SINT32RULES.fields_by_name['gt']._options = None - _SINT32RULES.fields_by_name['gt']._serialized_options = b'\302H\211\007\n{\n\tsint32.gt\032n!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\264\001\n\014sint32.gt_lt\032\243\001has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\274\001\n\026sint32.gt_lt_exclusive\032\241\001has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\304\001\n\rsint32.gt_lte\032\262\001has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\314\001\n\027sint32.gt_lte_exclusive\032\260\001has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' - _SINT32RULES.fields_by_name['gte']._options = None - _SINT32RULES.fields_by_name['gte']._serialized_options = b'\302H\324\007\n\211\001\n\nsint32.gte\032{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\303\001\n\rsint32.gte_lt\032\261\001has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\313\001\n\027sint32.gte_lt_exclusive\032\257\001has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\323\001\n\016sint32.gte_lte\032\300\001has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\333\001\n\030sint32.gte_lte_exclusive\032\276\001has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' - _SINT32RULES.fields_by_name['in']._options = None - _SINT32RULES.fields_by_name['in']._serialized_options = b'\302Hg\ne\n\tsint32.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' - _SINT32RULES.fields_by_name['not_in']._options = None - _SINT32RULES.fields_by_name['not_in']._serialized_options = b'\302Hd\nb\n\rsint32.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' - _SINT64RULES.fields_by_name['const']._options = None - _SINT64RULES.fields_by_name['const']._serialized_options = b'\302HX\nV\n\014sint64.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' - _SINT64RULES.fields_by_name['lt']._options = None - _SINT64RULES.fields_by_name['lt']._serialized_options = b'\302Hz\nx\n\tsint64.lt\032k!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'' - _SINT64RULES.fields_by_name['lte']._options = None - _SINT64RULES.fields_by_name['lte']._serialized_options = b'\302H\211\001\n\206\001\n\nsint64.lte\032x!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' - _SINT64RULES.fields_by_name['gt']._options = None - _SINT64RULES.fields_by_name['gt']._serialized_options = b'\302H\211\007\n{\n\tsint64.gt\032n!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\264\001\n\014sint64.gt_lt\032\243\001has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\274\001\n\026sint64.gt_lt_exclusive\032\241\001has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\304\001\n\rsint64.gt_lte\032\262\001has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\314\001\n\027sint64.gt_lte_exclusive\032\260\001has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' - _SINT64RULES.fields_by_name['gte']._options = None - _SINT64RULES.fields_by_name['gte']._serialized_options = b'\302H\324\007\n\211\001\n\nsint64.gte\032{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\303\001\n\rsint64.gte_lt\032\261\001has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\313\001\n\027sint64.gte_lt_exclusive\032\257\001has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\323\001\n\016sint64.gte_lte\032\300\001has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\333\001\n\030sint64.gte_lte_exclusive\032\276\001has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' - _SINT64RULES.fields_by_name['in']._options = None - _SINT64RULES.fields_by_name['in']._serialized_options = b'\302Hg\ne\n\tsint64.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' - _SINT64RULES.fields_by_name['not_in']._options = None - _SINT64RULES.fields_by_name['not_in']._serialized_options = b'\302Hd\nb\n\rsint64.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' - _FIXED32RULES.fields_by_name['const']._options = None - _FIXED32RULES.fields_by_name['const']._serialized_options = b'\302HY\nW\n\rfixed32.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' - _FIXED32RULES.fields_by_name['lt']._options = None - _FIXED32RULES.fields_by_name['lt']._serialized_options = b'\302H{\ny\n\nfixed32.lt\032k!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'' - _FIXED32RULES.fields_by_name['lte']._options = None - _FIXED32RULES.fields_by_name['lte']._serialized_options = b'\302H\212\001\n\207\001\n\013fixed32.lte\032x!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' - _FIXED32RULES.fields_by_name['gt']._options = None - _FIXED32RULES.fields_by_name['gt']._serialized_options = b'\302H\216\007\n|\n\nfixed32.gt\032n!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\265\001\n\rfixed32.gt_lt\032\243\001has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\275\001\n\027fixed32.gt_lt_exclusive\032\241\001has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\305\001\n\016fixed32.gt_lte\032\262\001has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\315\001\n\030fixed32.gt_lte_exclusive\032\260\001has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' - _FIXED32RULES.fields_by_name['gte']._options = None - _FIXED32RULES.fields_by_name['gte']._serialized_options = b'\302H\331\007\n\212\001\n\013fixed32.gte\032{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\304\001\n\016fixed32.gte_lt\032\261\001has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\314\001\n\030fixed32.gte_lt_exclusive\032\257\001has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\324\001\n\017fixed32.gte_lte\032\300\001has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\334\001\n\031fixed32.gte_lte_exclusive\032\276\001has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' - _FIXED32RULES.fields_by_name['in']._options = None - _FIXED32RULES.fields_by_name['in']._serialized_options = b'\302Hh\nf\n\nfixed32.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' - _FIXED32RULES.fields_by_name['not_in']._options = None - _FIXED32RULES.fields_by_name['not_in']._serialized_options = b'\302He\nc\n\016fixed32.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' - _FIXED64RULES.fields_by_name['const']._options = None - _FIXED64RULES.fields_by_name['const']._serialized_options = b'\302HY\nW\n\rfixed64.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' - _FIXED64RULES.fields_by_name['lt']._options = None - _FIXED64RULES.fields_by_name['lt']._serialized_options = b'\302H{\ny\n\nfixed64.lt\032k!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'' - _FIXED64RULES.fields_by_name['lte']._options = None - _FIXED64RULES.fields_by_name['lte']._serialized_options = b'\302H\212\001\n\207\001\n\013fixed64.lte\032x!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' - _FIXED64RULES.fields_by_name['gt']._options = None - _FIXED64RULES.fields_by_name['gt']._serialized_options = b'\302H\216\007\n|\n\nfixed64.gt\032n!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\265\001\n\rfixed64.gt_lt\032\243\001has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\275\001\n\027fixed64.gt_lt_exclusive\032\241\001has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\305\001\n\016fixed64.gt_lte\032\262\001has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\315\001\n\030fixed64.gt_lte_exclusive\032\260\001has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' - _FIXED64RULES.fields_by_name['gte']._options = None - _FIXED64RULES.fields_by_name['gte']._serialized_options = b'\302H\331\007\n\212\001\n\013fixed64.gte\032{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\304\001\n\016fixed64.gte_lt\032\261\001has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\314\001\n\030fixed64.gte_lt_exclusive\032\257\001has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\324\001\n\017fixed64.gte_lte\032\300\001has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\334\001\n\031fixed64.gte_lte_exclusive\032\276\001has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' - _FIXED64RULES.fields_by_name['in']._options = None - _FIXED64RULES.fields_by_name['in']._serialized_options = b'\302Hh\nf\n\nfixed64.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' - _FIXED64RULES.fields_by_name['not_in']._options = None - _FIXED64RULES.fields_by_name['not_in']._serialized_options = b'\302He\nc\n\016fixed64.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' - _SFIXED32RULES.fields_by_name['const']._options = None - _SFIXED32RULES.fields_by_name['const']._serialized_options = b'\302HZ\nX\n\016sfixed32.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' - _SFIXED32RULES.fields_by_name['lt']._options = None - _SFIXED32RULES.fields_by_name['lt']._serialized_options = b'\302H|\nz\n\013sfixed32.lt\032k!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'' - _SFIXED32RULES.fields_by_name['lte']._options = None - _SFIXED32RULES.fields_by_name['lte']._serialized_options = b'\302H\213\001\n\210\001\n\014sfixed32.lte\032x!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' - _SFIXED32RULES.fields_by_name['gt']._options = None - _SFIXED32RULES.fields_by_name['gt']._serialized_options = b'\302H\223\007\n}\n\013sfixed32.gt\032n!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\266\001\n\016sfixed32.gt_lt\032\243\001has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\276\001\n\030sfixed32.gt_lt_exclusive\032\241\001has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\306\001\n\017sfixed32.gt_lte\032\262\001has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\316\001\n\031sfixed32.gt_lte_exclusive\032\260\001has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' - _SFIXED32RULES.fields_by_name['gte']._options = None - _SFIXED32RULES.fields_by_name['gte']._serialized_options = b'\302H\336\007\n\213\001\n\014sfixed32.gte\032{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\305\001\n\017sfixed32.gte_lt\032\261\001has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\315\001\n\031sfixed32.gte_lt_exclusive\032\257\001has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\325\001\n\020sfixed32.gte_lte\032\300\001has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\335\001\n\032sfixed32.gte_lte_exclusive\032\276\001has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' - _SFIXED32RULES.fields_by_name['in']._options = None - _SFIXED32RULES.fields_by_name['in']._serialized_options = b'\302Hi\ng\n\013sfixed32.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' - _SFIXED32RULES.fields_by_name['not_in']._options = None - _SFIXED32RULES.fields_by_name['not_in']._serialized_options = b'\302Hf\nd\n\017sfixed32.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' - _SFIXED64RULES.fields_by_name['const']._options = None - _SFIXED64RULES.fields_by_name['const']._serialized_options = b'\302HZ\nX\n\016sfixed64.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' - _SFIXED64RULES.fields_by_name['lt']._options = None - _SFIXED64RULES.fields_by_name['lt']._serialized_options = b'\302H|\nz\n\013sfixed64.lt\032k!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'' - _SFIXED64RULES.fields_by_name['lte']._options = None - _SFIXED64RULES.fields_by_name['lte']._serialized_options = b'\302H\213\001\n\210\001\n\014sfixed64.lte\032x!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' - _SFIXED64RULES.fields_by_name['gt']._options = None - _SFIXED64RULES.fields_by_name['gt']._serialized_options = b'\302H\223\007\n}\n\013sfixed64.gt\032n!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\266\001\n\016sfixed64.gt_lt\032\243\001has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\276\001\n\030sfixed64.gt_lt_exclusive\032\241\001has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\306\001\n\017sfixed64.gt_lte\032\262\001has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\316\001\n\031sfixed64.gt_lte_exclusive\032\260\001has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' - _SFIXED64RULES.fields_by_name['gte']._options = None - _SFIXED64RULES.fields_by_name['gte']._serialized_options = b'\302H\336\007\n\213\001\n\014sfixed64.gte\032{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\305\001\n\017sfixed64.gte_lt\032\261\001has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\315\001\n\031sfixed64.gte_lt_exclusive\032\257\001has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\325\001\n\020sfixed64.gte_lte\032\300\001has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\335\001\n\032sfixed64.gte_lte_exclusive\032\276\001has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' - _SFIXED64RULES.fields_by_name['in']._options = None - _SFIXED64RULES.fields_by_name['in']._serialized_options = b'\302Hi\ng\n\013sfixed64.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' - _SFIXED64RULES.fields_by_name['not_in']._options = None - _SFIXED64RULES.fields_by_name['not_in']._serialized_options = b'\302Hf\nd\n\017sfixed64.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' - _BOOLRULES.fields_by_name['const']._options = None - _BOOLRULES.fields_by_name['const']._serialized_options = b'\302HV\nT\n\nbool.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' - _STRINGRULES.fields_by_name['const']._options = None - _STRINGRULES.fields_by_name['const']._serialized_options = b'\302HZ\nX\n\014string.const\032Hthis != rules.const ? \'value must equal `%s`\'.format([rules.const]) : \'\'' - _STRINGRULES.fields_by_name['len']._options = None - _STRINGRULES.fields_by_name['len']._serialized_options = b'\302Hn\nl\n\nstring.len\032^uint(this.size()) != rules.len ? \'value length must be %s characters\'.format([rules.len]) : \'\'' - _STRINGRULES.fields_by_name['min_len']._options = None - _STRINGRULES.fields_by_name['min_len']._serialized_options = b'\302H\203\001\n\200\001\n\016string.min_len\032nuint(this.size()) < rules.min_len ? \'value length must be at least %s characters\'.format([rules.min_len]) : \'\'' - _STRINGRULES.fields_by_name['max_len']._options = None - _STRINGRULES.fields_by_name['max_len']._serialized_options = b'\302H\201\001\n\177\n\016string.max_len\032muint(this.size()) > rules.max_len ? \'value length must be at most %s characters\'.format([rules.max_len]) : \'\'' - _STRINGRULES.fields_by_name['len_bytes']._options = None - _STRINGRULES.fields_by_name['len_bytes']._serialized_options = b'\302H\203\001\n\200\001\n\020string.len_bytes\032luint(bytes(this).size()) != rules.len_bytes ? \'value length must be %s bytes\'.format([rules.len_bytes]) : \'\'' - _STRINGRULES.fields_by_name['min_bytes']._options = None - _STRINGRULES.fields_by_name['min_bytes']._serialized_options = b'\302H\213\001\n\210\001\n\020string.min_bytes\032tuint(bytes(this).size()) < rules.min_bytes ? \'value length must be at least %s bytes\'.format([rules.min_bytes]) : \'\'' - _STRINGRULES.fields_by_name['max_bytes']._options = None - _STRINGRULES.fields_by_name['max_bytes']._serialized_options = b'\302H\212\001\n\207\001\n\020string.max_bytes\032suint(bytes(this).size()) > rules.max_bytes ? \'value length must be at most %s bytes\'.format([rules.max_bytes]) : \'\'' - _STRINGRULES.fields_by_name['pattern']._options = None - _STRINGRULES.fields_by_name['pattern']._serialized_options = b'\302Hy\nw\n\016string.pattern\032e!this.matches(rules.pattern) ? \'value does not match regex pattern `%s`\'.format([rules.pattern]) : \'\'' - _STRINGRULES.fields_by_name['prefix']._options = None - _STRINGRULES.fields_by_name['prefix']._serialized_options = b'\302Hq\no\n\rstring.prefix\032^!this.startsWith(rules.prefix) ? \'value does not have prefix `%s`\'.format([rules.prefix]) : \'\'' - _STRINGRULES.fields_by_name['suffix']._options = None - _STRINGRULES.fields_by_name['suffix']._serialized_options = b'\302Ho\nm\n\rstring.suffix\032\\!this.endsWith(rules.suffix) ? \'value does not have suffix `%s`\'.format([rules.suffix]) : \'\'' - _STRINGRULES.fields_by_name['contains']._options = None - _STRINGRULES.fields_by_name['contains']._serialized_options = b'\302H{\ny\n\017string.contains\032f!this.contains(rules.contains) ? \'value does not contain substring `%s`\'.format([rules.contains]) : \'\'' - _STRINGRULES.fields_by_name['not_contains']._options = None - _STRINGRULES.fields_by_name['not_contains']._serialized_options = b'\302H~\n|\n\023string.not_contains\032ethis.contains(rules.not_contains) ? \'value contains substring `%s`\'.format([rules.not_contains]) : \'\'' - _STRINGRULES.fields_by_name['in']._options = None - _STRINGRULES.fields_by_name['in']._serialized_options = b'\302Hg\ne\n\tstring.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' - _STRINGRULES.fields_by_name['not_in']._options = None - _STRINGRULES.fields_by_name['not_in']._serialized_options = b'\302Hd\nb\n\rstring.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' - _STRINGRULES.fields_by_name['email']._options = None - _STRINGRULES.fields_by_name['email']._serialized_options = b'\302H\251\001\nQ\n\014string.email\022#value must be a valid email address\032\034this == \'\' || this.isEmail()\nT\n\022string.email_empty\0222value is empty, which is not a valid email address\032\nthis != \'\'' - _STRINGRULES.fields_by_name['hostname']._options = None - _STRINGRULES.fields_by_name['hostname']._serialized_options = b'\302H\250\001\nR\n\017string.hostname\022\036value must be a valid hostname\032\037this == \'\' || this.isHostname()\nR\n\025string.hostname_empty\022-value is empty, which is not a valid hostname\032\nthis != \'\'' - _STRINGRULES.fields_by_name['ip']._options = None - _STRINGRULES.fields_by_name['ip']._serialized_options = b'\302H\232\001\nH\n\tstring.ip\022 value must be a valid IP address\032\031this == \'\' || this.isIp()\nN\n\017string.ip_empty\022/value is empty, which is not a valid IP address\032\nthis != \'\'' - _STRINGRULES.fields_by_name['ipv4']._options = None - _STRINGRULES.fields_by_name['ipv4']._serialized_options = b'\302H\243\001\nM\n\013string.ipv4\022\"value must be a valid IPv4 address\032\032this == \'\' || this.isIp(4)\nR\n\021string.ipv4_empty\0221value is empty, which is not a valid IPv4 address\032\nthis != \'\'' - _STRINGRULES.fields_by_name['ipv6']._options = None - _STRINGRULES.fields_by_name['ipv6']._serialized_options = b'\302H\243\001\nM\n\013string.ipv6\022\"value must be a valid IPv6 address\032\032this == \'\' || this.isIp(6)\nR\n\021string.ipv6_empty\0221value is empty, which is not a valid IPv6 address\032\nthis != \'\'' - _STRINGRULES.fields_by_name['uri']._options = None - _STRINGRULES.fields_by_name['uri']._serialized_options = b'\302H\217\001\nC\n\nstring.uri\022\031value must be a valid URI\032\032this == \'\' || this.isUri()\nH\n\020string.uri_empty\022(value is empty, which is not a valid URI\032\nthis != \'\'' - _STRINGRULES.fields_by_name['uri_ref']._options = None - _STRINGRULES.fields_by_name['uri_ref']._serialized_options = b'\302H>\n<\n\016string.uri_ref\022\031value must be a valid URI\032\017this.isUriRef()' - _STRINGRULES.fields_by_name['address']._options = None - _STRINGRULES.fields_by_name['address']._serialized_options = b'\302H\323\001\no\n\016string.address\022-value must be a valid hostname, or ip address\032.this == \'\' || this.isHostname() || this.isIp()\n`\n\024string.address_empty\022 rules.max_len ? \'value must be at most %s bytes\'.format([rules.max_len]) : \'\'' - _BYTESRULES.fields_by_name['pattern']._options = None - _BYTESRULES.fields_by_name['pattern']._serialized_options = b'\302H|\nz\n\rbytes.pattern\032i!string(this).matches(rules.pattern) ? \'value must match regex pattern `%s`\'.format([rules.pattern]) : \'\'' - _BYTESRULES.fields_by_name['prefix']._options = None - _BYTESRULES.fields_by_name['prefix']._serialized_options = b'\302Hn\nl\n\014bytes.prefix\032\\!this.startsWith(rules.prefix) ? \'value does not have prefix %x\'.format([rules.prefix]) : \'\'' - _BYTESRULES.fields_by_name['suffix']._options = None - _BYTESRULES.fields_by_name['suffix']._serialized_options = b'\302Hl\nj\n\014bytes.suffix\032Z!this.endsWith(rules.suffix) ? \'value does not have suffix %x\'.format([rules.suffix]) : \'\'' - _BYTESRULES.fields_by_name['contains']._options = None - _BYTESRULES.fields_by_name['contains']._serialized_options = b'\302Hn\nl\n\016bytes.contains\032Z!this.contains(rules.contains) ? \'value does not contain %x\'.format([rules.contains]) : \'\'' - _BYTESRULES.fields_by_name['in']._options = None - _BYTESRULES.fields_by_name['in']._serialized_options = b'\302H\206\001\n\203\001\n\010bytes.in\032wdyn(rules)[\'in\'].size() > 0 && !(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' - _BYTESRULES.fields_by_name['not_in']._options = None - _BYTESRULES.fields_by_name['not_in']._serialized_options = b'\302Hc\na\n\014bytes.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' - _BYTESRULES.fields_by_name['ip']._options = None - _BYTESRULES.fields_by_name['ip']._serialized_options = b'\302H\276\001\ng\n\010bytes.ip\022 value must be a valid IP address\0329this.size() == 0 || this.size() == 4 || this.size() == 16\nS\n\016bytes.ip_empty\022/value is empty, which is not a valid IP address\032\020this.size() != 0' - _BYTESRULES.fields_by_name['ipv4']._options = None - _BYTESRULES.fields_by_name['ipv4']._serialized_options = b'\302H\261\001\nV\n\nbytes.ipv4\022\"value must be a valid IPv4 address\032$this.size() == 0 || this.size() == 4\nW\n\020bytes.ipv4_empty\0221value is empty, which is not a valid IPv4 address\032\020this.size() != 0' - _BYTESRULES.fields_by_name['ipv6']._options = None - _BYTESRULES.fields_by_name['ipv6']._serialized_options = b'\302H\262\001\nW\n\nbytes.ipv6\022\"value must be a valid IPv6 address\032%this.size() == 0 || this.size() == 16\nW\n\020bytes.ipv6_empty\0221value is empty, which is not a valid IPv6 address\032\020this.size() != 0' - _ENUMRULES.fields_by_name['const']._options = None - _ENUMRULES.fields_by_name['const']._serialized_options = b'\302HV\nT\n\nenum.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' - _ENUMRULES.fields_by_name['in']._options = None - _ENUMRULES.fields_by_name['in']._serialized_options = b'\302He\nc\n\007enum.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' - _ENUMRULES.fields_by_name['not_in']._options = None - _ENUMRULES.fields_by_name['not_in']._serialized_options = b'\302Hb\n`\n\013enum.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' - _REPEATEDRULES.fields_by_name['min_items']._options = None - _REPEATEDRULES.fields_by_name['min_items']._serialized_options = b'\302H\206\001\n\203\001\n\022repeated.min_items\032muint(this.size()) < rules.min_items ? \'value must contain at least %d item(s)\'.format([rules.min_items]) : \'\'' - _REPEATEDRULES.fields_by_name['max_items']._options = None - _REPEATEDRULES.fields_by_name['max_items']._serialized_options = b'\302H\212\001\n\207\001\n\022repeated.max_items\032quint(this.size()) > rules.max_items ? \'value must contain no more than %s item(s)\'.format([rules.max_items]) : \'\'' - _REPEATEDRULES.fields_by_name['unique']._options = None - _REPEATEDRULES.fields_by_name['unique']._serialized_options = b'\302HL\nJ\n\017repeated.unique\022(repeated value must contain unique items\032\rthis.unique()' - _MAPRULES.fields_by_name['min_pairs']._options = None - _MAPRULES.fields_by_name['min_pairs']._serialized_options = b'\302Hy\nw\n\rmap.min_pairs\032fuint(this.size()) < rules.min_pairs ? \'map must be at least %d entries\'.format([rules.min_pairs]) : \'\'' - _MAPRULES.fields_by_name['max_pairs']._options = None - _MAPRULES.fields_by_name['max_pairs']._serialized_options = b'\302Hx\nv\n\rmap.max_pairs\032euint(this.size()) > rules.max_pairs ? \'map must be at most %d entries\'.format([rules.max_pairs]) : \'\'' - _DURATIONRULES.fields_by_name['const']._options = None - _DURATIONRULES.fields_by_name['const']._serialized_options = b'\302HZ\nX\n\016duration.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' - _DURATIONRULES.fields_by_name['lt']._options = None - _DURATIONRULES.fields_by_name['lt']._serialized_options = b'\302H|\nz\n\013duration.lt\032k!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'' - _DURATIONRULES.fields_by_name['lte']._options = None - _DURATIONRULES.fields_by_name['lte']._serialized_options = b'\302H\213\001\n\210\001\n\014duration.lte\032x!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' - _DURATIONRULES.fields_by_name['gt']._options = None - _DURATIONRULES.fields_by_name['gt']._serialized_options = b'\302H\223\007\n}\n\013duration.gt\032n!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\266\001\n\016duration.gt_lt\032\243\001has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\276\001\n\030duration.gt_lt_exclusive\032\241\001has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\306\001\n\017duration.gt_lte\032\262\001has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\316\001\n\031duration.gt_lte_exclusive\032\260\001has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' - _DURATIONRULES.fields_by_name['gte']._options = None - _DURATIONRULES.fields_by_name['gte']._serialized_options = b'\302H\336\007\n\213\001\n\014duration.gte\032{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\305\001\n\017duration.gte_lt\032\261\001has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\315\001\n\031duration.gte_lt_exclusive\032\257\001has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\325\001\n\020duration.gte_lte\032\300\001has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\335\001\n\032duration.gte_lte_exclusive\032\276\001has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' - _DURATIONRULES.fields_by_name['in']._options = None - _DURATIONRULES.fields_by_name['in']._serialized_options = b'\302Hi\ng\n\013duration.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' - _DURATIONRULES.fields_by_name['not_in']._options = None - _DURATIONRULES.fields_by_name['not_in']._serialized_options = b'\302Hf\nd\n\017duration.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' - _TIMESTAMPRULES.fields_by_name['const']._options = None - _TIMESTAMPRULES.fields_by_name['const']._serialized_options = b'\302H[\nY\n\017timestamp.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' - _TIMESTAMPRULES.fields_by_name['lt']._options = None - _TIMESTAMPRULES.fields_by_name['lt']._serialized_options = b'\302H}\n{\n\014timestamp.lt\032k!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'' - _TIMESTAMPRULES.fields_by_name['lte']._options = None - _TIMESTAMPRULES.fields_by_name['lte']._serialized_options = b'\302H\214\001\n\211\001\n\rtimestamp.lte\032x!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' - _TIMESTAMPRULES.fields_by_name['lt_now']._options = None - _TIMESTAMPRULES.fields_by_name['lt_now']._serialized_options = b'\302HE\nC\n\020timestamp.lt_now\032/this > now ? \'value must be less than now\' : \'\'' - _TIMESTAMPRULES.fields_by_name['gt']._options = None - _TIMESTAMPRULES.fields_by_name['gt']._serialized_options = b'\302H\230\007\n~\n\014timestamp.gt\032n!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\267\001\n\017timestamp.gt_lt\032\243\001has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\277\001\n\031timestamp.gt_lt_exclusive\032\241\001has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\307\001\n\020timestamp.gt_lte\032\262\001has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\317\001\n\032timestamp.gt_lte_exclusive\032\260\001has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' - _TIMESTAMPRULES.fields_by_name['gte']._options = None - _TIMESTAMPRULES.fields_by_name['gte']._serialized_options = b'\302H\343\007\n\214\001\n\rtimestamp.gte\032{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\306\001\n\020timestamp.gte_lt\032\261\001has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\316\001\n\032timestamp.gte_lt_exclusive\032\257\001has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\326\001\n\021timestamp.gte_lte\032\300\001has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\336\001\n\033timestamp.gte_lte_exclusive\032\276\001has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' - _TIMESTAMPRULES.fields_by_name['gt_now']._options = None - _TIMESTAMPRULES.fields_by_name['gt_now']._serialized_options = b'\302HH\nF\n\020timestamp.gt_now\0322this < now ? \'value must be greater than now\' : \'\'' - _TIMESTAMPRULES.fields_by_name['within']._options = None - _TIMESTAMPRULES.fields_by_name['within']._serialized_options = b'\302H\210\001\n\205\001\n\020timestamp.within\032qthis < now-rules.within || this > now+rules.within ? \'value must be within %s of now\'.format([rules.within]) : \'\'' - _globals['_IGNORE']._serialized_start=50985 - _globals['_IGNORE']._serialized_end=51055 - _globals['_KNOWNREGEX']._serialized_start=51057 - _globals['_KNOWNREGEX']._serialized_end=51167 +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\022build.buf.validateB\rValidateProtoP\001ZGbuf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate' + _globals['_IGNORE']._loaded_options = None + _globals['_IGNORE']._serialized_options = b'\020\001' + _globals['_IGNORE'].values_by_name["IGNORE_EMPTY"]._loaded_options = None + _globals['_IGNORE'].values_by_name["IGNORE_EMPTY"]._serialized_options = b'\010\001' + _globals['_IGNORE'].values_by_name["IGNORE_DEFAULT"]._loaded_options = None + _globals['_IGNORE'].values_by_name["IGNORE_DEFAULT"]._serialized_options = b'\010\001' + _globals['_FIELDCONSTRAINTS'].fields_by_name['skipped']._loaded_options = None + _globals['_FIELDCONSTRAINTS'].fields_by_name['skipped']._serialized_options = b'\030\001' + _globals['_FIELDCONSTRAINTS'].fields_by_name['ignore_empty']._loaded_options = None + _globals['_FIELDCONSTRAINTS'].fields_by_name['ignore_empty']._serialized_options = b'\030\001' + _globals['_FLOATRULES'].fields_by_name['const']._loaded_options = None + _globals['_FLOATRULES'].fields_by_name['const']._serialized_options = b'\302HW\nU\n\013float.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' + _globals['_FLOATRULES'].fields_by_name['lt']._loaded_options = None + _globals['_FLOATRULES'].fields_by_name['lt']._serialized_options = b'\302H\214\001\n\211\001\n\010float.lt\032}!has(rules.gte) && !has(rules.gt) && (this.isNan() || this >= rules.lt)? \'value must be less than %s\'.format([rules.lt]) : \'\'' + _globals['_FLOATRULES'].fields_by_name['lte']._loaded_options = None + _globals['_FLOATRULES'].fields_by_name['lte']._serialized_options = b'\302H\233\001\n\230\001\n\tfloat.lte\032\212\001!has(rules.gte) && !has(rules.gt) && (this.isNan() || this > rules.lte)? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' + _globals['_FLOATRULES'].fields_by_name['gt']._loaded_options = None + _globals['_FLOATRULES'].fields_by_name['gt']._serialized_options = b'\302H\334\007\n\215\001\n\010float.gt\032\200\001!has(rules.lt) && !has(rules.lte) && (this.isNan() || this <= rules.gt)? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\303\001\n\013float.gt_lt\032\263\001has(rules.lt) && rules.lt >= rules.gt && (this.isNan() || this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\315\001\n\025float.gt_lt_exclusive\032\263\001has(rules.lt) && rules.lt < rules.gt && (this.isNan() || (rules.lt <= this && this <= rules.gt))? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\323\001\n\014float.gt_lte\032\302\001has(rules.lte) && rules.lte >= rules.gt && (this.isNan() || this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\335\001\n\026float.gt_lte_exclusive\032\302\001has(rules.lte) && rules.lte < rules.gt && (this.isNan() || (rules.lte < this && this <= rules.gt))? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' + _globals['_FLOATRULES'].fields_by_name['gte']._loaded_options = None + _globals['_FLOATRULES'].fields_by_name['gte']._serialized_options = b'\302H\246\010\n\233\001\n\tfloat.gte\032\215\001!has(rules.lt) && !has(rules.lte) && (this.isNan() || this < rules.gte)? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\322\001\n\014float.gte_lt\032\301\001has(rules.lt) && rules.lt >= rules.gte && (this.isNan() || this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\334\001\n\026float.gte_lt_exclusive\032\301\001has(rules.lt) && rules.lt < rules.gte && (this.isNan() || (rules.lt <= this && this < rules.gte))? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\342\001\n\rfloat.gte_lte\032\320\001has(rules.lte) && rules.lte >= rules.gte && (this.isNan() || this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\354\001\n\027float.gte_lte_exclusive\032\320\001has(rules.lte) && rules.lte < rules.gte && (this.isNan() || (rules.lte < this && this < rules.gte))? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' + _globals['_FLOATRULES'].fields_by_name['in']._loaded_options = None + _globals['_FLOATRULES'].fields_by_name['in']._serialized_options = b'\302Hf\nd\n\010float.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' + _globals['_FLOATRULES'].fields_by_name['not_in']._loaded_options = None + _globals['_FLOATRULES'].fields_by_name['not_in']._serialized_options = b'\302Hc\na\n\014float.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' + _globals['_FLOATRULES'].fields_by_name['finite']._loaded_options = None + _globals['_FLOATRULES'].fields_by_name['finite']._serialized_options = b'\302HL\nJ\n\014float.finite\032:this.isNan() || this.isInf() ? \'value must be finite\' : \'\'' + _globals['_DOUBLERULES'].fields_by_name['const']._loaded_options = None + _globals['_DOUBLERULES'].fields_by_name['const']._serialized_options = b'\302HX\nV\n\014double.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' + _globals['_DOUBLERULES'].fields_by_name['lt']._loaded_options = None + _globals['_DOUBLERULES'].fields_by_name['lt']._serialized_options = b'\302H\215\001\n\212\001\n\tdouble.lt\032}!has(rules.gte) && !has(rules.gt) && (this.isNan() || this >= rules.lt)? \'value must be less than %s\'.format([rules.lt]) : \'\'' + _globals['_DOUBLERULES'].fields_by_name['lte']._loaded_options = None + _globals['_DOUBLERULES'].fields_by_name['lte']._serialized_options = b'\302H\234\001\n\231\001\n\ndouble.lte\032\212\001!has(rules.gte) && !has(rules.gt) && (this.isNan() || this > rules.lte)? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' + _globals['_DOUBLERULES'].fields_by_name['gt']._loaded_options = None + _globals['_DOUBLERULES'].fields_by_name['gt']._serialized_options = b'\302H\341\007\n\216\001\n\tdouble.gt\032\200\001!has(rules.lt) && !has(rules.lte) && (this.isNan() || this <= rules.gt)? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\304\001\n\014double.gt_lt\032\263\001has(rules.lt) && rules.lt >= rules.gt && (this.isNan() || this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\316\001\n\026double.gt_lt_exclusive\032\263\001has(rules.lt) && rules.lt < rules.gt && (this.isNan() || (rules.lt <= this && this <= rules.gt))? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\324\001\n\rdouble.gt_lte\032\302\001has(rules.lte) && rules.lte >= rules.gt && (this.isNan() || this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\336\001\n\027double.gt_lte_exclusive\032\302\001has(rules.lte) && rules.lte < rules.gt && (this.isNan() || (rules.lte < this && this <= rules.gt))? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' + _globals['_DOUBLERULES'].fields_by_name['gte']._loaded_options = None + _globals['_DOUBLERULES'].fields_by_name['gte']._serialized_options = b'\302H\253\010\n\234\001\n\ndouble.gte\032\215\001!has(rules.lt) && !has(rules.lte) && (this.isNan() || this < rules.gte)? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\323\001\n\rdouble.gte_lt\032\301\001has(rules.lt) && rules.lt >= rules.gte && (this.isNan() || this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\335\001\n\027double.gte_lt_exclusive\032\301\001has(rules.lt) && rules.lt < rules.gte && (this.isNan() || (rules.lt <= this && this < rules.gte))? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\343\001\n\016double.gte_lte\032\320\001has(rules.lte) && rules.lte >= rules.gte && (this.isNan() || this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\355\001\n\030double.gte_lte_exclusive\032\320\001has(rules.lte) && rules.lte < rules.gte && (this.isNan() || (rules.lte < this && this < rules.gte))? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' + _globals['_DOUBLERULES'].fields_by_name['in']._loaded_options = None + _globals['_DOUBLERULES'].fields_by_name['in']._serialized_options = b'\302Hg\ne\n\tdouble.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' + _globals['_DOUBLERULES'].fields_by_name['not_in']._loaded_options = None + _globals['_DOUBLERULES'].fields_by_name['not_in']._serialized_options = b'\302Hd\nb\n\rdouble.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' + _globals['_DOUBLERULES'].fields_by_name['finite']._loaded_options = None + _globals['_DOUBLERULES'].fields_by_name['finite']._serialized_options = b'\302HM\nK\n\rdouble.finite\032:this.isNan() || this.isInf() ? \'value must be finite\' : \'\'' + _globals['_INT32RULES'].fields_by_name['const']._loaded_options = None + _globals['_INT32RULES'].fields_by_name['const']._serialized_options = b'\302HW\nU\n\013int32.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' + _globals['_INT32RULES'].fields_by_name['lt']._loaded_options = None + _globals['_INT32RULES'].fields_by_name['lt']._serialized_options = b'\302Hy\nw\n\010int32.lt\032k!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'' + _globals['_INT32RULES'].fields_by_name['lte']._loaded_options = None + _globals['_INT32RULES'].fields_by_name['lte']._serialized_options = b'\302H\210\001\n\205\001\n\tint32.lte\032x!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' + _globals['_INT32RULES'].fields_by_name['gt']._loaded_options = None + _globals['_INT32RULES'].fields_by_name['gt']._serialized_options = b'\302H\204\007\nz\n\010int32.gt\032n!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\263\001\n\013int32.gt_lt\032\243\001has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\273\001\n\025int32.gt_lt_exclusive\032\241\001has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\303\001\n\014int32.gt_lte\032\262\001has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\313\001\n\026int32.gt_lte_exclusive\032\260\001has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' + _globals['_INT32RULES'].fields_by_name['gte']._loaded_options = None + _globals['_INT32RULES'].fields_by_name['gte']._serialized_options = b'\302H\317\007\n\210\001\n\tint32.gte\032{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\302\001\n\014int32.gte_lt\032\261\001has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\312\001\n\026int32.gte_lt_exclusive\032\257\001has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\322\001\n\rint32.gte_lte\032\300\001has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\332\001\n\027int32.gte_lte_exclusive\032\276\001has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' + _globals['_INT32RULES'].fields_by_name['in']._loaded_options = None + _globals['_INT32RULES'].fields_by_name['in']._serialized_options = b'\302Hf\nd\n\010int32.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' + _globals['_INT32RULES'].fields_by_name['not_in']._loaded_options = None + _globals['_INT32RULES'].fields_by_name['not_in']._serialized_options = b'\302Hc\na\n\014int32.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' + _globals['_INT64RULES'].fields_by_name['const']._loaded_options = None + _globals['_INT64RULES'].fields_by_name['const']._serialized_options = b'\302HW\nU\n\013int64.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' + _globals['_INT64RULES'].fields_by_name['lt']._loaded_options = None + _globals['_INT64RULES'].fields_by_name['lt']._serialized_options = b'\302Hy\nw\n\010int64.lt\032k!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'' + _globals['_INT64RULES'].fields_by_name['lte']._loaded_options = None + _globals['_INT64RULES'].fields_by_name['lte']._serialized_options = b'\302H\210\001\n\205\001\n\tint64.lte\032x!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' + _globals['_INT64RULES'].fields_by_name['gt']._loaded_options = None + _globals['_INT64RULES'].fields_by_name['gt']._serialized_options = b'\302H\204\007\nz\n\010int64.gt\032n!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\263\001\n\013int64.gt_lt\032\243\001has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\273\001\n\025int64.gt_lt_exclusive\032\241\001has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\303\001\n\014int64.gt_lte\032\262\001has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\313\001\n\026int64.gt_lte_exclusive\032\260\001has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' + _globals['_INT64RULES'].fields_by_name['gte']._loaded_options = None + _globals['_INT64RULES'].fields_by_name['gte']._serialized_options = b'\302H\317\007\n\210\001\n\tint64.gte\032{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\302\001\n\014int64.gte_lt\032\261\001has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\312\001\n\026int64.gte_lt_exclusive\032\257\001has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\322\001\n\rint64.gte_lte\032\300\001has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\332\001\n\027int64.gte_lte_exclusive\032\276\001has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' + _globals['_INT64RULES'].fields_by_name['in']._loaded_options = None + _globals['_INT64RULES'].fields_by_name['in']._serialized_options = b'\302Hf\nd\n\010int64.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' + _globals['_INT64RULES'].fields_by_name['not_in']._loaded_options = None + _globals['_INT64RULES'].fields_by_name['not_in']._serialized_options = b'\302Hc\na\n\014int64.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' + _globals['_UINT32RULES'].fields_by_name['const']._loaded_options = None + _globals['_UINT32RULES'].fields_by_name['const']._serialized_options = b'\302HX\nV\n\014uint32.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' + _globals['_UINT32RULES'].fields_by_name['lt']._loaded_options = None + _globals['_UINT32RULES'].fields_by_name['lt']._serialized_options = b'\302Hz\nx\n\tuint32.lt\032k!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'' + _globals['_UINT32RULES'].fields_by_name['lte']._loaded_options = None + _globals['_UINT32RULES'].fields_by_name['lte']._serialized_options = b'\302H\211\001\n\206\001\n\nuint32.lte\032x!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' + _globals['_UINT32RULES'].fields_by_name['gt']._loaded_options = None + _globals['_UINT32RULES'].fields_by_name['gt']._serialized_options = b'\302H\211\007\n{\n\tuint32.gt\032n!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\264\001\n\014uint32.gt_lt\032\243\001has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\274\001\n\026uint32.gt_lt_exclusive\032\241\001has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\304\001\n\ruint32.gt_lte\032\262\001has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\314\001\n\027uint32.gt_lte_exclusive\032\260\001has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' + _globals['_UINT32RULES'].fields_by_name['gte']._loaded_options = None + _globals['_UINT32RULES'].fields_by_name['gte']._serialized_options = b'\302H\324\007\n\211\001\n\nuint32.gte\032{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\303\001\n\ruint32.gte_lt\032\261\001has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\313\001\n\027uint32.gte_lt_exclusive\032\257\001has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\323\001\n\016uint32.gte_lte\032\300\001has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\333\001\n\030uint32.gte_lte_exclusive\032\276\001has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' + _globals['_UINT32RULES'].fields_by_name['in']._loaded_options = None + _globals['_UINT32RULES'].fields_by_name['in']._serialized_options = b'\302Hg\ne\n\tuint32.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' + _globals['_UINT32RULES'].fields_by_name['not_in']._loaded_options = None + _globals['_UINT32RULES'].fields_by_name['not_in']._serialized_options = b'\302Hd\nb\n\ruint32.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' + _globals['_UINT64RULES'].fields_by_name['const']._loaded_options = None + _globals['_UINT64RULES'].fields_by_name['const']._serialized_options = b'\302HX\nV\n\014uint64.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' + _globals['_UINT64RULES'].fields_by_name['lt']._loaded_options = None + _globals['_UINT64RULES'].fields_by_name['lt']._serialized_options = b'\302Hz\nx\n\tuint64.lt\032k!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'' + _globals['_UINT64RULES'].fields_by_name['lte']._loaded_options = None + _globals['_UINT64RULES'].fields_by_name['lte']._serialized_options = b'\302H\211\001\n\206\001\n\nuint64.lte\032x!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' + _globals['_UINT64RULES'].fields_by_name['gt']._loaded_options = None + _globals['_UINT64RULES'].fields_by_name['gt']._serialized_options = b'\302H\211\007\n{\n\tuint64.gt\032n!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\264\001\n\014uint64.gt_lt\032\243\001has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\274\001\n\026uint64.gt_lt_exclusive\032\241\001has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\304\001\n\ruint64.gt_lte\032\262\001has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\314\001\n\027uint64.gt_lte_exclusive\032\260\001has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' + _globals['_UINT64RULES'].fields_by_name['gte']._loaded_options = None + _globals['_UINT64RULES'].fields_by_name['gte']._serialized_options = b'\302H\324\007\n\211\001\n\nuint64.gte\032{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\303\001\n\ruint64.gte_lt\032\261\001has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\313\001\n\027uint64.gte_lt_exclusive\032\257\001has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\323\001\n\016uint64.gte_lte\032\300\001has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\333\001\n\030uint64.gte_lte_exclusive\032\276\001has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' + _globals['_UINT64RULES'].fields_by_name['in']._loaded_options = None + _globals['_UINT64RULES'].fields_by_name['in']._serialized_options = b'\302Hg\ne\n\tuint64.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' + _globals['_UINT64RULES'].fields_by_name['not_in']._loaded_options = None + _globals['_UINT64RULES'].fields_by_name['not_in']._serialized_options = b'\302Hd\nb\n\ruint64.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' + _globals['_SINT32RULES'].fields_by_name['const']._loaded_options = None + _globals['_SINT32RULES'].fields_by_name['const']._serialized_options = b'\302HX\nV\n\014sint32.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' + _globals['_SINT32RULES'].fields_by_name['lt']._loaded_options = None + _globals['_SINT32RULES'].fields_by_name['lt']._serialized_options = b'\302Hz\nx\n\tsint32.lt\032k!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'' + _globals['_SINT32RULES'].fields_by_name['lte']._loaded_options = None + _globals['_SINT32RULES'].fields_by_name['lte']._serialized_options = b'\302H\211\001\n\206\001\n\nsint32.lte\032x!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' + _globals['_SINT32RULES'].fields_by_name['gt']._loaded_options = None + _globals['_SINT32RULES'].fields_by_name['gt']._serialized_options = b'\302H\211\007\n{\n\tsint32.gt\032n!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\264\001\n\014sint32.gt_lt\032\243\001has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\274\001\n\026sint32.gt_lt_exclusive\032\241\001has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\304\001\n\rsint32.gt_lte\032\262\001has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\314\001\n\027sint32.gt_lte_exclusive\032\260\001has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' + _globals['_SINT32RULES'].fields_by_name['gte']._loaded_options = None + _globals['_SINT32RULES'].fields_by_name['gte']._serialized_options = b'\302H\324\007\n\211\001\n\nsint32.gte\032{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\303\001\n\rsint32.gte_lt\032\261\001has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\313\001\n\027sint32.gte_lt_exclusive\032\257\001has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\323\001\n\016sint32.gte_lte\032\300\001has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\333\001\n\030sint32.gte_lte_exclusive\032\276\001has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' + _globals['_SINT32RULES'].fields_by_name['in']._loaded_options = None + _globals['_SINT32RULES'].fields_by_name['in']._serialized_options = b'\302Hg\ne\n\tsint32.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' + _globals['_SINT32RULES'].fields_by_name['not_in']._loaded_options = None + _globals['_SINT32RULES'].fields_by_name['not_in']._serialized_options = b'\302Hd\nb\n\rsint32.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' + _globals['_SINT64RULES'].fields_by_name['const']._loaded_options = None + _globals['_SINT64RULES'].fields_by_name['const']._serialized_options = b'\302HX\nV\n\014sint64.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' + _globals['_SINT64RULES'].fields_by_name['lt']._loaded_options = None + _globals['_SINT64RULES'].fields_by_name['lt']._serialized_options = b'\302Hz\nx\n\tsint64.lt\032k!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'' + _globals['_SINT64RULES'].fields_by_name['lte']._loaded_options = None + _globals['_SINT64RULES'].fields_by_name['lte']._serialized_options = b'\302H\211\001\n\206\001\n\nsint64.lte\032x!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' + _globals['_SINT64RULES'].fields_by_name['gt']._loaded_options = None + _globals['_SINT64RULES'].fields_by_name['gt']._serialized_options = b'\302H\211\007\n{\n\tsint64.gt\032n!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\264\001\n\014sint64.gt_lt\032\243\001has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\274\001\n\026sint64.gt_lt_exclusive\032\241\001has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\304\001\n\rsint64.gt_lte\032\262\001has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\314\001\n\027sint64.gt_lte_exclusive\032\260\001has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' + _globals['_SINT64RULES'].fields_by_name['gte']._loaded_options = None + _globals['_SINT64RULES'].fields_by_name['gte']._serialized_options = b'\302H\324\007\n\211\001\n\nsint64.gte\032{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\303\001\n\rsint64.gte_lt\032\261\001has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\313\001\n\027sint64.gte_lt_exclusive\032\257\001has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\323\001\n\016sint64.gte_lte\032\300\001has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\333\001\n\030sint64.gte_lte_exclusive\032\276\001has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' + _globals['_SINT64RULES'].fields_by_name['in']._loaded_options = None + _globals['_SINT64RULES'].fields_by_name['in']._serialized_options = b'\302Hg\ne\n\tsint64.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' + _globals['_SINT64RULES'].fields_by_name['not_in']._loaded_options = None + _globals['_SINT64RULES'].fields_by_name['not_in']._serialized_options = b'\302Hd\nb\n\rsint64.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' + _globals['_FIXED32RULES'].fields_by_name['const']._loaded_options = None + _globals['_FIXED32RULES'].fields_by_name['const']._serialized_options = b'\302HY\nW\n\rfixed32.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' + _globals['_FIXED32RULES'].fields_by_name['lt']._loaded_options = None + _globals['_FIXED32RULES'].fields_by_name['lt']._serialized_options = b'\302H{\ny\n\nfixed32.lt\032k!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'' + _globals['_FIXED32RULES'].fields_by_name['lte']._loaded_options = None + _globals['_FIXED32RULES'].fields_by_name['lte']._serialized_options = b'\302H\212\001\n\207\001\n\013fixed32.lte\032x!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' + _globals['_FIXED32RULES'].fields_by_name['gt']._loaded_options = None + _globals['_FIXED32RULES'].fields_by_name['gt']._serialized_options = b'\302H\216\007\n|\n\nfixed32.gt\032n!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\265\001\n\rfixed32.gt_lt\032\243\001has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\275\001\n\027fixed32.gt_lt_exclusive\032\241\001has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\305\001\n\016fixed32.gt_lte\032\262\001has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\315\001\n\030fixed32.gt_lte_exclusive\032\260\001has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' + _globals['_FIXED32RULES'].fields_by_name['gte']._loaded_options = None + _globals['_FIXED32RULES'].fields_by_name['gte']._serialized_options = b'\302H\331\007\n\212\001\n\013fixed32.gte\032{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\304\001\n\016fixed32.gte_lt\032\261\001has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\314\001\n\030fixed32.gte_lt_exclusive\032\257\001has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\324\001\n\017fixed32.gte_lte\032\300\001has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\334\001\n\031fixed32.gte_lte_exclusive\032\276\001has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' + _globals['_FIXED32RULES'].fields_by_name['in']._loaded_options = None + _globals['_FIXED32RULES'].fields_by_name['in']._serialized_options = b'\302Hh\nf\n\nfixed32.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' + _globals['_FIXED32RULES'].fields_by_name['not_in']._loaded_options = None + _globals['_FIXED32RULES'].fields_by_name['not_in']._serialized_options = b'\302He\nc\n\016fixed32.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' + _globals['_FIXED64RULES'].fields_by_name['const']._loaded_options = None + _globals['_FIXED64RULES'].fields_by_name['const']._serialized_options = b'\302HY\nW\n\rfixed64.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' + _globals['_FIXED64RULES'].fields_by_name['lt']._loaded_options = None + _globals['_FIXED64RULES'].fields_by_name['lt']._serialized_options = b'\302H{\ny\n\nfixed64.lt\032k!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'' + _globals['_FIXED64RULES'].fields_by_name['lte']._loaded_options = None + _globals['_FIXED64RULES'].fields_by_name['lte']._serialized_options = b'\302H\212\001\n\207\001\n\013fixed64.lte\032x!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' + _globals['_FIXED64RULES'].fields_by_name['gt']._loaded_options = None + _globals['_FIXED64RULES'].fields_by_name['gt']._serialized_options = b'\302H\216\007\n|\n\nfixed64.gt\032n!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\265\001\n\rfixed64.gt_lt\032\243\001has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\275\001\n\027fixed64.gt_lt_exclusive\032\241\001has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\305\001\n\016fixed64.gt_lte\032\262\001has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\315\001\n\030fixed64.gt_lte_exclusive\032\260\001has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' + _globals['_FIXED64RULES'].fields_by_name['gte']._loaded_options = None + _globals['_FIXED64RULES'].fields_by_name['gte']._serialized_options = b'\302H\331\007\n\212\001\n\013fixed64.gte\032{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\304\001\n\016fixed64.gte_lt\032\261\001has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\314\001\n\030fixed64.gte_lt_exclusive\032\257\001has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\324\001\n\017fixed64.gte_lte\032\300\001has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\334\001\n\031fixed64.gte_lte_exclusive\032\276\001has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' + _globals['_FIXED64RULES'].fields_by_name['in']._loaded_options = None + _globals['_FIXED64RULES'].fields_by_name['in']._serialized_options = b'\302Hh\nf\n\nfixed64.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' + _globals['_FIXED64RULES'].fields_by_name['not_in']._loaded_options = None + _globals['_FIXED64RULES'].fields_by_name['not_in']._serialized_options = b'\302He\nc\n\016fixed64.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' + _globals['_SFIXED32RULES'].fields_by_name['const']._loaded_options = None + _globals['_SFIXED32RULES'].fields_by_name['const']._serialized_options = b'\302HZ\nX\n\016sfixed32.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' + _globals['_SFIXED32RULES'].fields_by_name['lt']._loaded_options = None + _globals['_SFIXED32RULES'].fields_by_name['lt']._serialized_options = b'\302H|\nz\n\013sfixed32.lt\032k!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'' + _globals['_SFIXED32RULES'].fields_by_name['lte']._loaded_options = None + _globals['_SFIXED32RULES'].fields_by_name['lte']._serialized_options = b'\302H\213\001\n\210\001\n\014sfixed32.lte\032x!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' + _globals['_SFIXED32RULES'].fields_by_name['gt']._loaded_options = None + _globals['_SFIXED32RULES'].fields_by_name['gt']._serialized_options = b'\302H\223\007\n}\n\013sfixed32.gt\032n!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\266\001\n\016sfixed32.gt_lt\032\243\001has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\276\001\n\030sfixed32.gt_lt_exclusive\032\241\001has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\306\001\n\017sfixed32.gt_lte\032\262\001has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\316\001\n\031sfixed32.gt_lte_exclusive\032\260\001has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' + _globals['_SFIXED32RULES'].fields_by_name['gte']._loaded_options = None + _globals['_SFIXED32RULES'].fields_by_name['gte']._serialized_options = b'\302H\336\007\n\213\001\n\014sfixed32.gte\032{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\305\001\n\017sfixed32.gte_lt\032\261\001has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\315\001\n\031sfixed32.gte_lt_exclusive\032\257\001has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\325\001\n\020sfixed32.gte_lte\032\300\001has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\335\001\n\032sfixed32.gte_lte_exclusive\032\276\001has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' + _globals['_SFIXED32RULES'].fields_by_name['in']._loaded_options = None + _globals['_SFIXED32RULES'].fields_by_name['in']._serialized_options = b'\302Hi\ng\n\013sfixed32.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' + _globals['_SFIXED32RULES'].fields_by_name['not_in']._loaded_options = None + _globals['_SFIXED32RULES'].fields_by_name['not_in']._serialized_options = b'\302Hf\nd\n\017sfixed32.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' + _globals['_SFIXED64RULES'].fields_by_name['const']._loaded_options = None + _globals['_SFIXED64RULES'].fields_by_name['const']._serialized_options = b'\302HZ\nX\n\016sfixed64.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' + _globals['_SFIXED64RULES'].fields_by_name['lt']._loaded_options = None + _globals['_SFIXED64RULES'].fields_by_name['lt']._serialized_options = b'\302H|\nz\n\013sfixed64.lt\032k!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'' + _globals['_SFIXED64RULES'].fields_by_name['lte']._loaded_options = None + _globals['_SFIXED64RULES'].fields_by_name['lte']._serialized_options = b'\302H\213\001\n\210\001\n\014sfixed64.lte\032x!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' + _globals['_SFIXED64RULES'].fields_by_name['gt']._loaded_options = None + _globals['_SFIXED64RULES'].fields_by_name['gt']._serialized_options = b'\302H\223\007\n}\n\013sfixed64.gt\032n!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\266\001\n\016sfixed64.gt_lt\032\243\001has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\276\001\n\030sfixed64.gt_lt_exclusive\032\241\001has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\306\001\n\017sfixed64.gt_lte\032\262\001has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\316\001\n\031sfixed64.gt_lte_exclusive\032\260\001has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' + _globals['_SFIXED64RULES'].fields_by_name['gte']._loaded_options = None + _globals['_SFIXED64RULES'].fields_by_name['gte']._serialized_options = b'\302H\336\007\n\213\001\n\014sfixed64.gte\032{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\305\001\n\017sfixed64.gte_lt\032\261\001has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\315\001\n\031sfixed64.gte_lt_exclusive\032\257\001has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\325\001\n\020sfixed64.gte_lte\032\300\001has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\335\001\n\032sfixed64.gte_lte_exclusive\032\276\001has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' + _globals['_SFIXED64RULES'].fields_by_name['in']._loaded_options = None + _globals['_SFIXED64RULES'].fields_by_name['in']._serialized_options = b'\302Hi\ng\n\013sfixed64.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' + _globals['_SFIXED64RULES'].fields_by_name['not_in']._loaded_options = None + _globals['_SFIXED64RULES'].fields_by_name['not_in']._serialized_options = b'\302Hf\nd\n\017sfixed64.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' + _globals['_BOOLRULES'].fields_by_name['const']._loaded_options = None + _globals['_BOOLRULES'].fields_by_name['const']._serialized_options = b'\302HV\nT\n\nbool.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' + _globals['_STRINGRULES'].fields_by_name['const']._loaded_options = None + _globals['_STRINGRULES'].fields_by_name['const']._serialized_options = b'\302HZ\nX\n\014string.const\032Hthis != rules.const ? \'value must equal `%s`\'.format([rules.const]) : \'\'' + _globals['_STRINGRULES'].fields_by_name['len']._loaded_options = None + _globals['_STRINGRULES'].fields_by_name['len']._serialized_options = b'\302Hn\nl\n\nstring.len\032^uint(this.size()) != rules.len ? \'value length must be %s characters\'.format([rules.len]) : \'\'' + _globals['_STRINGRULES'].fields_by_name['min_len']._loaded_options = None + _globals['_STRINGRULES'].fields_by_name['min_len']._serialized_options = b'\302H\203\001\n\200\001\n\016string.min_len\032nuint(this.size()) < rules.min_len ? \'value length must be at least %s characters\'.format([rules.min_len]) : \'\'' + _globals['_STRINGRULES'].fields_by_name['max_len']._loaded_options = None + _globals['_STRINGRULES'].fields_by_name['max_len']._serialized_options = b'\302H\201\001\n\177\n\016string.max_len\032muint(this.size()) > rules.max_len ? \'value length must be at most %s characters\'.format([rules.max_len]) : \'\'' + _globals['_STRINGRULES'].fields_by_name['len_bytes']._loaded_options = None + _globals['_STRINGRULES'].fields_by_name['len_bytes']._serialized_options = b'\302H\203\001\n\200\001\n\020string.len_bytes\032luint(bytes(this).size()) != rules.len_bytes ? \'value length must be %s bytes\'.format([rules.len_bytes]) : \'\'' + _globals['_STRINGRULES'].fields_by_name['min_bytes']._loaded_options = None + _globals['_STRINGRULES'].fields_by_name['min_bytes']._serialized_options = b'\302H\213\001\n\210\001\n\020string.min_bytes\032tuint(bytes(this).size()) < rules.min_bytes ? \'value length must be at least %s bytes\'.format([rules.min_bytes]) : \'\'' + _globals['_STRINGRULES'].fields_by_name['max_bytes']._loaded_options = None + _globals['_STRINGRULES'].fields_by_name['max_bytes']._serialized_options = b'\302H\212\001\n\207\001\n\020string.max_bytes\032suint(bytes(this).size()) > rules.max_bytes ? \'value length must be at most %s bytes\'.format([rules.max_bytes]) : \'\'' + _globals['_STRINGRULES'].fields_by_name['pattern']._loaded_options = None + _globals['_STRINGRULES'].fields_by_name['pattern']._serialized_options = b'\302Hy\nw\n\016string.pattern\032e!this.matches(rules.pattern) ? \'value does not match regex pattern `%s`\'.format([rules.pattern]) : \'\'' + _globals['_STRINGRULES'].fields_by_name['prefix']._loaded_options = None + _globals['_STRINGRULES'].fields_by_name['prefix']._serialized_options = b'\302Hq\no\n\rstring.prefix\032^!this.startsWith(rules.prefix) ? \'value does not have prefix `%s`\'.format([rules.prefix]) : \'\'' + _globals['_STRINGRULES'].fields_by_name['suffix']._loaded_options = None + _globals['_STRINGRULES'].fields_by_name['suffix']._serialized_options = b'\302Ho\nm\n\rstring.suffix\032\\!this.endsWith(rules.suffix) ? \'value does not have suffix `%s`\'.format([rules.suffix]) : \'\'' + _globals['_STRINGRULES'].fields_by_name['contains']._loaded_options = None + _globals['_STRINGRULES'].fields_by_name['contains']._serialized_options = b'\302H{\ny\n\017string.contains\032f!this.contains(rules.contains) ? \'value does not contain substring `%s`\'.format([rules.contains]) : \'\'' + _globals['_STRINGRULES'].fields_by_name['not_contains']._loaded_options = None + _globals['_STRINGRULES'].fields_by_name['not_contains']._serialized_options = b'\302H~\n|\n\023string.not_contains\032ethis.contains(rules.not_contains) ? \'value contains substring `%s`\'.format([rules.not_contains]) : \'\'' + _globals['_STRINGRULES'].fields_by_name['in']._loaded_options = None + _globals['_STRINGRULES'].fields_by_name['in']._serialized_options = b'\302Hg\ne\n\tstring.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' + _globals['_STRINGRULES'].fields_by_name['not_in']._loaded_options = None + _globals['_STRINGRULES'].fields_by_name['not_in']._serialized_options = b'\302Hd\nb\n\rstring.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' + _globals['_STRINGRULES'].fields_by_name['email']._loaded_options = None + _globals['_STRINGRULES'].fields_by_name['email']._serialized_options = b'\302H\251\001\nQ\n\014string.email\022#value must be a valid email address\032\034this == \'\' || this.isEmail()\nT\n\022string.email_empty\0222value is empty, which is not a valid email address\032\nthis != \'\'' + _globals['_STRINGRULES'].fields_by_name['hostname']._loaded_options = None + _globals['_STRINGRULES'].fields_by_name['hostname']._serialized_options = b'\302H\250\001\nR\n\017string.hostname\022\036value must be a valid hostname\032\037this == \'\' || this.isHostname()\nR\n\025string.hostname_empty\022-value is empty, which is not a valid hostname\032\nthis != \'\'' + _globals['_STRINGRULES'].fields_by_name['ip']._loaded_options = None + _globals['_STRINGRULES'].fields_by_name['ip']._serialized_options = b'\302H\232\001\nH\n\tstring.ip\022 value must be a valid IP address\032\031this == \'\' || this.isIp()\nN\n\017string.ip_empty\022/value is empty, which is not a valid IP address\032\nthis != \'\'' + _globals['_STRINGRULES'].fields_by_name['ipv4']._loaded_options = None + _globals['_STRINGRULES'].fields_by_name['ipv4']._serialized_options = b'\302H\243\001\nM\n\013string.ipv4\022\"value must be a valid IPv4 address\032\032this == \'\' || this.isIp(4)\nR\n\021string.ipv4_empty\0221value is empty, which is not a valid IPv4 address\032\nthis != \'\'' + _globals['_STRINGRULES'].fields_by_name['ipv6']._loaded_options = None + _globals['_STRINGRULES'].fields_by_name['ipv6']._serialized_options = b'\302H\243\001\nM\n\013string.ipv6\022\"value must be a valid IPv6 address\032\032this == \'\' || this.isIp(6)\nR\n\021string.ipv6_empty\0221value is empty, which is not a valid IPv6 address\032\nthis != \'\'' + _globals['_STRINGRULES'].fields_by_name['uri']._loaded_options = None + _globals['_STRINGRULES'].fields_by_name['uri']._serialized_options = b'\302H\217\001\nC\n\nstring.uri\022\031value must be a valid URI\032\032this == \'\' || this.isUri()\nH\n\020string.uri_empty\022(value is empty, which is not a valid URI\032\nthis != \'\'' + _globals['_STRINGRULES'].fields_by_name['uri_ref']._loaded_options = None + _globals['_STRINGRULES'].fields_by_name['uri_ref']._serialized_options = b'\302H>\n<\n\016string.uri_ref\022\031value must be a valid URI\032\017this.isUriRef()' + _globals['_STRINGRULES'].fields_by_name['address']._loaded_options = None + _globals['_STRINGRULES'].fields_by_name['address']._serialized_options = b'\302H\323\001\no\n\016string.address\022-value must be a valid hostname, or ip address\032.this == \'\' || this.isHostname() || this.isIp()\n`\n\024string.address_empty\022 rules.max_len ? \'value must be at most %s bytes\'.format([rules.max_len]) : \'\'' + _globals['_BYTESRULES'].fields_by_name['pattern']._loaded_options = None + _globals['_BYTESRULES'].fields_by_name['pattern']._serialized_options = b'\302H|\nz\n\rbytes.pattern\032i!string(this).matches(rules.pattern) ? \'value must match regex pattern `%s`\'.format([rules.pattern]) : \'\'' + _globals['_BYTESRULES'].fields_by_name['prefix']._loaded_options = None + _globals['_BYTESRULES'].fields_by_name['prefix']._serialized_options = b'\302Hn\nl\n\014bytes.prefix\032\\!this.startsWith(rules.prefix) ? \'value does not have prefix %x\'.format([rules.prefix]) : \'\'' + _globals['_BYTESRULES'].fields_by_name['suffix']._loaded_options = None + _globals['_BYTESRULES'].fields_by_name['suffix']._serialized_options = b'\302Hl\nj\n\014bytes.suffix\032Z!this.endsWith(rules.suffix) ? \'value does not have suffix %x\'.format([rules.suffix]) : \'\'' + _globals['_BYTESRULES'].fields_by_name['contains']._loaded_options = None + _globals['_BYTESRULES'].fields_by_name['contains']._serialized_options = b'\302Hn\nl\n\016bytes.contains\032Z!this.contains(rules.contains) ? \'value does not contain %x\'.format([rules.contains]) : \'\'' + _globals['_BYTESRULES'].fields_by_name['in']._loaded_options = None + _globals['_BYTESRULES'].fields_by_name['in']._serialized_options = b'\302H\206\001\n\203\001\n\010bytes.in\032wdyn(rules)[\'in\'].size() > 0 && !(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' + _globals['_BYTESRULES'].fields_by_name['not_in']._loaded_options = None + _globals['_BYTESRULES'].fields_by_name['not_in']._serialized_options = b'\302Hc\na\n\014bytes.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' + _globals['_BYTESRULES'].fields_by_name['ip']._loaded_options = None + _globals['_BYTESRULES'].fields_by_name['ip']._serialized_options = b'\302H\276\001\ng\n\010bytes.ip\022 value must be a valid IP address\0329this.size() == 0 || this.size() == 4 || this.size() == 16\nS\n\016bytes.ip_empty\022/value is empty, which is not a valid IP address\032\020this.size() != 0' + _globals['_BYTESRULES'].fields_by_name['ipv4']._loaded_options = None + _globals['_BYTESRULES'].fields_by_name['ipv4']._serialized_options = b'\302H\261\001\nV\n\nbytes.ipv4\022\"value must be a valid IPv4 address\032$this.size() == 0 || this.size() == 4\nW\n\020bytes.ipv4_empty\0221value is empty, which is not a valid IPv4 address\032\020this.size() != 0' + _globals['_BYTESRULES'].fields_by_name['ipv6']._loaded_options = None + _globals['_BYTESRULES'].fields_by_name['ipv6']._serialized_options = b'\302H\262\001\nW\n\nbytes.ipv6\022\"value must be a valid IPv6 address\032%this.size() == 0 || this.size() == 16\nW\n\020bytes.ipv6_empty\0221value is empty, which is not a valid IPv6 address\032\020this.size() != 0' + _globals['_ENUMRULES'].fields_by_name['const']._loaded_options = None + _globals['_ENUMRULES'].fields_by_name['const']._serialized_options = b'\302HV\nT\n\nenum.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' + _globals['_ENUMRULES'].fields_by_name['in']._loaded_options = None + _globals['_ENUMRULES'].fields_by_name['in']._serialized_options = b'\302He\nc\n\007enum.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' + _globals['_ENUMRULES'].fields_by_name['not_in']._loaded_options = None + _globals['_ENUMRULES'].fields_by_name['not_in']._serialized_options = b'\302Hb\n`\n\013enum.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' + _globals['_REPEATEDRULES'].fields_by_name['min_items']._loaded_options = None + _globals['_REPEATEDRULES'].fields_by_name['min_items']._serialized_options = b'\302H\206\001\n\203\001\n\022repeated.min_items\032muint(this.size()) < rules.min_items ? \'value must contain at least %d item(s)\'.format([rules.min_items]) : \'\'' + _globals['_REPEATEDRULES'].fields_by_name['max_items']._loaded_options = None + _globals['_REPEATEDRULES'].fields_by_name['max_items']._serialized_options = b'\302H\212\001\n\207\001\n\022repeated.max_items\032quint(this.size()) > rules.max_items ? \'value must contain no more than %s item(s)\'.format([rules.max_items]) : \'\'' + _globals['_REPEATEDRULES'].fields_by_name['unique']._loaded_options = None + _globals['_REPEATEDRULES'].fields_by_name['unique']._serialized_options = b'\302HL\nJ\n\017repeated.unique\022(repeated value must contain unique items\032\rthis.unique()' + _globals['_MAPRULES'].fields_by_name['min_pairs']._loaded_options = None + _globals['_MAPRULES'].fields_by_name['min_pairs']._serialized_options = b'\302Hy\nw\n\rmap.min_pairs\032fuint(this.size()) < rules.min_pairs ? \'map must be at least %d entries\'.format([rules.min_pairs]) : \'\'' + _globals['_MAPRULES'].fields_by_name['max_pairs']._loaded_options = None + _globals['_MAPRULES'].fields_by_name['max_pairs']._serialized_options = b'\302Hx\nv\n\rmap.max_pairs\032euint(this.size()) > rules.max_pairs ? \'map must be at most %d entries\'.format([rules.max_pairs]) : \'\'' + _globals['_DURATIONRULES'].fields_by_name['const']._loaded_options = None + _globals['_DURATIONRULES'].fields_by_name['const']._serialized_options = b'\302HZ\nX\n\016duration.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' + _globals['_DURATIONRULES'].fields_by_name['lt']._loaded_options = None + _globals['_DURATIONRULES'].fields_by_name['lt']._serialized_options = b'\302H|\nz\n\013duration.lt\032k!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'' + _globals['_DURATIONRULES'].fields_by_name['lte']._loaded_options = None + _globals['_DURATIONRULES'].fields_by_name['lte']._serialized_options = b'\302H\213\001\n\210\001\n\014duration.lte\032x!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' + _globals['_DURATIONRULES'].fields_by_name['gt']._loaded_options = None + _globals['_DURATIONRULES'].fields_by_name['gt']._serialized_options = b'\302H\223\007\n}\n\013duration.gt\032n!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\266\001\n\016duration.gt_lt\032\243\001has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\276\001\n\030duration.gt_lt_exclusive\032\241\001has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\306\001\n\017duration.gt_lte\032\262\001has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\316\001\n\031duration.gt_lte_exclusive\032\260\001has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' + _globals['_DURATIONRULES'].fields_by_name['gte']._loaded_options = None + _globals['_DURATIONRULES'].fields_by_name['gte']._serialized_options = b'\302H\336\007\n\213\001\n\014duration.gte\032{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\305\001\n\017duration.gte_lt\032\261\001has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\315\001\n\031duration.gte_lt_exclusive\032\257\001has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\325\001\n\020duration.gte_lte\032\300\001has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\335\001\n\032duration.gte_lte_exclusive\032\276\001has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' + _globals['_DURATIONRULES'].fields_by_name['in']._loaded_options = None + _globals['_DURATIONRULES'].fields_by_name['in']._serialized_options = b'\302Hi\ng\n\013duration.in\032X!(this in dyn(rules)[\'in\']) ? \'value must be in list %s\'.format([dyn(rules)[\'in\']]) : \'\'' + _globals['_DURATIONRULES'].fields_by_name['not_in']._loaded_options = None + _globals['_DURATIONRULES'].fields_by_name['not_in']._serialized_options = b'\302Hf\nd\n\017duration.not_in\032Qthis in rules.not_in ? \'value must not be in list %s\'.format([rules.not_in]) : \'\'' + _globals['_TIMESTAMPRULES'].fields_by_name['const']._loaded_options = None + _globals['_TIMESTAMPRULES'].fields_by_name['const']._serialized_options = b'\302H[\nY\n\017timestamp.const\032Fthis != rules.const ? \'value must equal %s\'.format([rules.const]) : \'\'' + _globals['_TIMESTAMPRULES'].fields_by_name['lt']._loaded_options = None + _globals['_TIMESTAMPRULES'].fields_by_name['lt']._serialized_options = b'\302H}\n{\n\014timestamp.lt\032k!has(rules.gte) && !has(rules.gt) && this >= rules.lt? \'value must be less than %s\'.format([rules.lt]) : \'\'' + _globals['_TIMESTAMPRULES'].fields_by_name['lte']._loaded_options = None + _globals['_TIMESTAMPRULES'].fields_by_name['lte']._serialized_options = b'\302H\214\001\n\211\001\n\rtimestamp.lte\032x!has(rules.gte) && !has(rules.gt) && this > rules.lte? \'value must be less than or equal to %s\'.format([rules.lte]) : \'\'' + _globals['_TIMESTAMPRULES'].fields_by_name['lt_now']._loaded_options = None + _globals['_TIMESTAMPRULES'].fields_by_name['lt_now']._serialized_options = b'\302HE\nC\n\020timestamp.lt_now\032/this > now ? \'value must be less than now\' : \'\'' + _globals['_TIMESTAMPRULES'].fields_by_name['gt']._loaded_options = None + _globals['_TIMESTAMPRULES'].fields_by_name['gt']._serialized_options = b'\302H\230\007\n~\n\014timestamp.gt\032n!has(rules.lt) && !has(rules.lte) && this <= rules.gt? \'value must be greater than %s\'.format([rules.gt]) : \'\'\n\267\001\n\017timestamp.gt_lt\032\243\001has(rules.lt) && rules.lt >= rules.gt && (this >= rules.lt || this <= rules.gt)? \'value must be greater than %s and less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\277\001\n\031timestamp.gt_lt_exclusive\032\241\001has(rules.lt) && rules.lt < rules.gt && (rules.lt <= this && this <= rules.gt)? \'value must be greater than %s or less than %s\'.format([rules.gt, rules.lt]) : \'\'\n\307\001\n\020timestamp.gt_lte\032\262\001has(rules.lte) && rules.lte >= rules.gt && (this > rules.lte || this <= rules.gt)? \'value must be greater than %s and less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'\n\317\001\n\032timestamp.gt_lte_exclusive\032\260\001has(rules.lte) && rules.lte < rules.gt && (rules.lte < this && this <= rules.gt)? \'value must be greater than %s or less than or equal to %s\'.format([rules.gt, rules.lte]) : \'\'' + _globals['_TIMESTAMPRULES'].fields_by_name['gte']._loaded_options = None + _globals['_TIMESTAMPRULES'].fields_by_name['gte']._serialized_options = b'\302H\343\007\n\214\001\n\rtimestamp.gte\032{!has(rules.lt) && !has(rules.lte) && this < rules.gte? \'value must be greater than or equal to %s\'.format([rules.gte]) : \'\'\n\306\001\n\020timestamp.gte_lt\032\261\001has(rules.lt) && rules.lt >= rules.gte && (this >= rules.lt || this < rules.gte)? \'value must be greater than or equal to %s and less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\316\001\n\032timestamp.gte_lt_exclusive\032\257\001has(rules.lt) && rules.lt < rules.gte && (rules.lt <= this && this < rules.gte)? \'value must be greater than or equal to %s or less than %s\'.format([rules.gte, rules.lt]) : \'\'\n\326\001\n\021timestamp.gte_lte\032\300\001has(rules.lte) && rules.lte >= rules.gte && (this > rules.lte || this < rules.gte)? \'value must be greater than or equal to %s and less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'\n\336\001\n\033timestamp.gte_lte_exclusive\032\276\001has(rules.lte) && rules.lte < rules.gte && (rules.lte < this && this < rules.gte)? \'value must be greater than or equal to %s or less than or equal to %s\'.format([rules.gte, rules.lte]) : \'\'' + _globals['_TIMESTAMPRULES'].fields_by_name['gt_now']._loaded_options = None + _globals['_TIMESTAMPRULES'].fields_by_name['gt_now']._serialized_options = b'\302HH\nF\n\020timestamp.gt_now\0322this < now ? \'value must be greater than now\' : \'\'' + _globals['_TIMESTAMPRULES'].fields_by_name['within']._loaded_options = None + _globals['_TIMESTAMPRULES'].fields_by_name['within']._serialized_options = b'\302H\210\001\n\205\001\n\020timestamp.within\032qthis < now-rules.within || this > now+rules.within ? \'value must be within %s of now\'.format([rules.within]) : \'\'' + _globals['_IGNORE']._serialized_start=51208 + _globals['_IGNORE']._serialized_end=51365 + _globals['_KNOWNREGEX']._serialized_start=51367 + _globals['_KNOWNREGEX']._serialized_end=51477 _globals['_MESSAGECONSTRAINTS']._serialized_start=208 _globals['_MESSAGECONSTRAINTS']._serialized_end=318 _globals['_ONEOFCONSTRAINTS']._serialized_start=320 _globals['_ONEOFCONSTRAINTS']._serialized_end=384 _globals['_FIELDCONSTRAINTS']._serialized_start=387 - _globals['_FIELDCONSTRAINTS']._serialized_end=1706 - _globals['_FLOATRULES']._serialized_start=1709 - _globals['_FLOATRULES']._serialized_end=4687 - _globals['_DOUBLERULES']._serialized_start=4690 - _globals['_DOUBLERULES']._serialized_end=7685 - _globals['_INT32RULES']._serialized_start=7688 - _globals['_INT32RULES']._serialized_end=10346 - _globals['_INT64RULES']._serialized_start=10349 - _globals['_INT64RULES']._serialized_end=13007 - _globals['_UINT32RULES']._serialized_start=13010 - _globals['_UINT32RULES']._serialized_end=15684 - _globals['_UINT64RULES']._serialized_start=15687 - _globals['_UINT64RULES']._serialized_end=18361 - _globals['_SINT32RULES']._serialized_start=18364 - _globals['_SINT32RULES']._serialized_end=21038 - _globals['_SINT64RULES']._serialized_start=21041 - _globals['_SINT64RULES']._serialized_end=23715 - _globals['_FIXED32RULES']._serialized_start=23718 - _globals['_FIXED32RULES']._serialized_end=26408 - _globals['_FIXED64RULES']._serialized_start=26411 - _globals['_FIXED64RULES']._serialized_end=29101 - _globals['_SFIXED32RULES']._serialized_start=29104 - _globals['_SFIXED32RULES']._serialized_end=31811 - _globals['_SFIXED64RULES']._serialized_start=31814 - _globals['_SFIXED64RULES']._serialized_end=34521 - _globals['_BOOLRULES']._serialized_start=34524 - _globals['_BOOLRULES']._serialized_end=34663 - _globals['_STRINGRULES']._serialized_start=34666 - _globals['_STRINGRULES']._serialized_end=41278 - _globals['_BYTESRULES']._serialized_start=41281 - _globals['_BYTESRULES']._serialized_end=43471 - _globals['_ENUMRULES']._serialized_start=43474 - _globals['_ENUMRULES']._serialized_end=43918 - _globals['_REPEATEDRULES']._serialized_start=43921 - _globals['_REPEATEDRULES']._serialized_end=44510 - _globals['_MAPRULES']._serialized_start=44513 - _globals['_MAPRULES']._serialized_end=45010 - _globals['_ANYRULES']._serialized_start=45012 - _globals['_ANYRULES']._serialized_end=45061 - _globals['_DURATIONRULES']._serialized_start=45064 - _globals['_DURATIONRULES']._serialized_end=47962 - _globals['_TIMESTAMPRULES']._serialized_start=47965 - _globals['_TIMESTAMPRULES']._serialized_end=50983 + _globals['_FIELDCONSTRAINTS']._serialized_end=1710 + _globals['_FLOATRULES']._serialized_start=1713 + _globals['_FLOATRULES']._serialized_end=4691 + _globals['_DOUBLERULES']._serialized_start=4694 + _globals['_DOUBLERULES']._serialized_end=7689 + _globals['_INT32RULES']._serialized_start=7692 + _globals['_INT32RULES']._serialized_end=10350 + _globals['_INT64RULES']._serialized_start=10353 + _globals['_INT64RULES']._serialized_end=13011 + _globals['_UINT32RULES']._serialized_start=13014 + _globals['_UINT32RULES']._serialized_end=15688 + _globals['_UINT64RULES']._serialized_start=15691 + _globals['_UINT64RULES']._serialized_end=18365 + _globals['_SINT32RULES']._serialized_start=18368 + _globals['_SINT32RULES']._serialized_end=21042 + _globals['_SINT64RULES']._serialized_start=21045 + _globals['_SINT64RULES']._serialized_end=23719 + _globals['_FIXED32RULES']._serialized_start=23722 + _globals['_FIXED32RULES']._serialized_end=26412 + _globals['_FIXED64RULES']._serialized_start=26415 + _globals['_FIXED64RULES']._serialized_end=29105 + _globals['_SFIXED32RULES']._serialized_start=29108 + _globals['_SFIXED32RULES']._serialized_end=31815 + _globals['_SFIXED64RULES']._serialized_start=31818 + _globals['_SFIXED64RULES']._serialized_end=34525 + _globals['_BOOLRULES']._serialized_start=34528 + _globals['_BOOLRULES']._serialized_end=34667 + _globals['_STRINGRULES']._serialized_start=34670 + _globals['_STRINGRULES']._serialized_end=41500 + _globals['_BYTESRULES']._serialized_start=41503 + _globals['_BYTESRULES']._serialized_end=43693 + _globals['_ENUMRULES']._serialized_start=43696 + _globals['_ENUMRULES']._serialized_end=44140 + _globals['_REPEATEDRULES']._serialized_start=44143 + _globals['_REPEATEDRULES']._serialized_end=44732 + _globals['_MAPRULES']._serialized_start=44735 + _globals['_MAPRULES']._serialized_end=45232 + _globals['_ANYRULES']._serialized_start=45234 + _globals['_ANYRULES']._serialized_end=45283 + _globals['_DURATIONRULES']._serialized_start=45286 + _globals['_DURATIONRULES']._serialized_end=48184 + _globals['_TIMESTAMPRULES']._serialized_start=48187 + _globals['_TIMESTAMPRULES']._serialized_end=51205 # @@protoc_insertion_point(module_scope) diff --git a/gen/buf/validate/validate_pb2.pyi b/gen/buf/validate/validate_pb2.pyi index 02e113f..e49a08c 100644 --- a/gen/buf/validate/validate_pb2.pyi +++ b/gen/buf/validate/validate_pb2.pyi @@ -26,17 +26,23 @@ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Map DESCRIPTOR: _descriptor.FileDescriptor class Ignore(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] + __slots__ = () IGNORE_UNSPECIFIED: _ClassVar[Ignore] + IGNORE_IF_UNPOPULATED: _ClassVar[Ignore] + IGNORE_IF_DEFAULT_VALUE: _ClassVar[Ignore] + IGNORE_ALWAYS: _ClassVar[Ignore] IGNORE_EMPTY: _ClassVar[Ignore] IGNORE_DEFAULT: _ClassVar[Ignore] class KnownRegex(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] + __slots__ = () KNOWN_REGEX_UNSPECIFIED: _ClassVar[KnownRegex] KNOWN_REGEX_HTTP_HEADER_NAME: _ClassVar[KnownRegex] KNOWN_REGEX_HTTP_HEADER_VALUE: _ClassVar[KnownRegex] IGNORE_UNSPECIFIED: Ignore +IGNORE_IF_UNPOPULATED: Ignore +IGNORE_IF_DEFAULT_VALUE: Ignore +IGNORE_ALWAYS: Ignore IGNORE_EMPTY: Ignore IGNORE_DEFAULT: Ignore KNOWN_REGEX_UNSPECIFIED: KnownRegex @@ -50,7 +56,7 @@ FIELD_FIELD_NUMBER: _ClassVar[int] field: _descriptor.FieldDescriptor class MessageConstraints(_message.Message): - __slots__ = ["disabled", "cel"] + __slots__ = ("disabled", "cel") DISABLED_FIELD_NUMBER: _ClassVar[int] CEL_FIELD_NUMBER: _ClassVar[int] disabled: bool @@ -58,17 +64,15 @@ class MessageConstraints(_message.Message): def __init__(self, disabled: bool = ..., cel: _Optional[_Iterable[_Union[_expression_pb2.Constraint, _Mapping]]] = ...) -> None: ... class OneofConstraints(_message.Message): - __slots__ = ["required"] + __slots__ = ("required",) REQUIRED_FIELD_NUMBER: _ClassVar[int] required: bool def __init__(self, required: bool = ...) -> None: ... class FieldConstraints(_message.Message): - __slots__ = ["cel", "skipped", "required", "ignore_empty", "ignore", "float", "double", "int32", "int64", "uint32", "uint64", "sint32", "sint64", "fixed32", "fixed64", "sfixed32", "sfixed64", "bool", "string", "bytes", "enum", "repeated", "map", "any", "duration", "timestamp"] + __slots__ = ("cel", "required", "ignore", "float", "double", "int32", "int64", "uint32", "uint64", "sint32", "sint64", "fixed32", "fixed64", "sfixed32", "sfixed64", "bool", "string", "bytes", "enum", "repeated", "map", "any", "duration", "timestamp", "skipped", "ignore_empty") CEL_FIELD_NUMBER: _ClassVar[int] - SKIPPED_FIELD_NUMBER: _ClassVar[int] REQUIRED_FIELD_NUMBER: _ClassVar[int] - IGNORE_EMPTY_FIELD_NUMBER: _ClassVar[int] IGNORE_FIELD_NUMBER: _ClassVar[int] FLOAT_FIELD_NUMBER: _ClassVar[int] DOUBLE_FIELD_NUMBER: _ClassVar[int] @@ -91,10 +95,10 @@ class FieldConstraints(_message.Message): ANY_FIELD_NUMBER: _ClassVar[int] DURATION_FIELD_NUMBER: _ClassVar[int] TIMESTAMP_FIELD_NUMBER: _ClassVar[int] + SKIPPED_FIELD_NUMBER: _ClassVar[int] + IGNORE_EMPTY_FIELD_NUMBER: _ClassVar[int] cel: _containers.RepeatedCompositeFieldContainer[_expression_pb2.Constraint] - skipped: bool required: bool - ignore_empty: bool ignore: Ignore float: FloatRules double: DoubleRules @@ -117,10 +121,12 @@ class FieldConstraints(_message.Message): any: AnyRules duration: DurationRules timestamp: TimestampRules - def __init__(self, cel: _Optional[_Iterable[_Union[_expression_pb2.Constraint, _Mapping]]] = ..., skipped: bool = ..., required: bool = ..., ignore_empty: bool = ..., ignore: _Optional[_Union[Ignore, str]] = ..., float: _Optional[_Union[FloatRules, _Mapping]] = ..., double: _Optional[_Union[DoubleRules, _Mapping]] = ..., int32: _Optional[_Union[Int32Rules, _Mapping]] = ..., int64: _Optional[_Union[Int64Rules, _Mapping]] = ..., uint32: _Optional[_Union[UInt32Rules, _Mapping]] = ..., uint64: _Optional[_Union[UInt64Rules, _Mapping]] = ..., sint32: _Optional[_Union[SInt32Rules, _Mapping]] = ..., sint64: _Optional[_Union[SInt64Rules, _Mapping]] = ..., fixed32: _Optional[_Union[Fixed32Rules, _Mapping]] = ..., fixed64: _Optional[_Union[Fixed64Rules, _Mapping]] = ..., sfixed32: _Optional[_Union[SFixed32Rules, _Mapping]] = ..., sfixed64: _Optional[_Union[SFixed64Rules, _Mapping]] = ..., bool: _Optional[_Union[BoolRules, _Mapping]] = ..., string: _Optional[_Union[StringRules, _Mapping]] = ..., bytes: _Optional[_Union[BytesRules, _Mapping]] = ..., enum: _Optional[_Union[EnumRules, _Mapping]] = ..., repeated: _Optional[_Union[RepeatedRules, _Mapping]] = ..., map: _Optional[_Union[MapRules, _Mapping]] = ..., any: _Optional[_Union[AnyRules, _Mapping]] = ..., duration: _Optional[_Union[DurationRules, _Mapping]] = ..., timestamp: _Optional[_Union[TimestampRules, _Mapping]] = ...) -> None: ... + skipped: bool + ignore_empty: bool + def __init__(self, cel: _Optional[_Iterable[_Union[_expression_pb2.Constraint, _Mapping]]] = ..., required: bool = ..., ignore: _Optional[_Union[Ignore, str]] = ..., float: _Optional[_Union[FloatRules, _Mapping]] = ..., double: _Optional[_Union[DoubleRules, _Mapping]] = ..., int32: _Optional[_Union[Int32Rules, _Mapping]] = ..., int64: _Optional[_Union[Int64Rules, _Mapping]] = ..., uint32: _Optional[_Union[UInt32Rules, _Mapping]] = ..., uint64: _Optional[_Union[UInt64Rules, _Mapping]] = ..., sint32: _Optional[_Union[SInt32Rules, _Mapping]] = ..., sint64: _Optional[_Union[SInt64Rules, _Mapping]] = ..., fixed32: _Optional[_Union[Fixed32Rules, _Mapping]] = ..., fixed64: _Optional[_Union[Fixed64Rules, _Mapping]] = ..., sfixed32: _Optional[_Union[SFixed32Rules, _Mapping]] = ..., sfixed64: _Optional[_Union[SFixed64Rules, _Mapping]] = ..., bool: _Optional[_Union[BoolRules, _Mapping]] = ..., string: _Optional[_Union[StringRules, _Mapping]] = ..., bytes: _Optional[_Union[BytesRules, _Mapping]] = ..., enum: _Optional[_Union[EnumRules, _Mapping]] = ..., repeated: _Optional[_Union[RepeatedRules, _Mapping]] = ..., map: _Optional[_Union[MapRules, _Mapping]] = ..., any: _Optional[_Union[AnyRules, _Mapping]] = ..., duration: _Optional[_Union[DurationRules, _Mapping]] = ..., timestamp: _Optional[_Union[TimestampRules, _Mapping]] = ..., skipped: bool = ..., ignore_empty: bool = ...) -> None: ... class FloatRules(_message.Message): - __slots__ = ["const", "lt", "lte", "gt", "gte", "not_in", "finite"] + __slots__ = ("const", "lt", "lte", "gt", "gte", "not_in", "finite") CONST_FIELD_NUMBER: _ClassVar[int] LT_FIELD_NUMBER: _ClassVar[int] LTE_FIELD_NUMBER: _ClassVar[int] @@ -139,7 +145,7 @@ class FloatRules(_message.Message): def __init__(self, const: _Optional[float] = ..., lt: _Optional[float] = ..., lte: _Optional[float] = ..., gt: _Optional[float] = ..., gte: _Optional[float] = ..., not_in: _Optional[_Iterable[float]] = ..., finite: bool = ..., **kwargs) -> None: ... class DoubleRules(_message.Message): - __slots__ = ["const", "lt", "lte", "gt", "gte", "not_in", "finite"] + __slots__ = ("const", "lt", "lte", "gt", "gte", "not_in", "finite") CONST_FIELD_NUMBER: _ClassVar[int] LT_FIELD_NUMBER: _ClassVar[int] LTE_FIELD_NUMBER: _ClassVar[int] @@ -158,7 +164,7 @@ class DoubleRules(_message.Message): def __init__(self, const: _Optional[float] = ..., lt: _Optional[float] = ..., lte: _Optional[float] = ..., gt: _Optional[float] = ..., gte: _Optional[float] = ..., not_in: _Optional[_Iterable[float]] = ..., finite: bool = ..., **kwargs) -> None: ... class Int32Rules(_message.Message): - __slots__ = ["const", "lt", "lte", "gt", "gte", "not_in"] + __slots__ = ("const", "lt", "lte", "gt", "gte", "not_in") CONST_FIELD_NUMBER: _ClassVar[int] LT_FIELD_NUMBER: _ClassVar[int] LTE_FIELD_NUMBER: _ClassVar[int] @@ -175,7 +181,7 @@ class Int32Rules(_message.Message): def __init__(self, const: _Optional[int] = ..., lt: _Optional[int] = ..., lte: _Optional[int] = ..., gt: _Optional[int] = ..., gte: _Optional[int] = ..., not_in: _Optional[_Iterable[int]] = ..., **kwargs) -> None: ... class Int64Rules(_message.Message): - __slots__ = ["const", "lt", "lte", "gt", "gte", "not_in"] + __slots__ = ("const", "lt", "lte", "gt", "gte", "not_in") CONST_FIELD_NUMBER: _ClassVar[int] LT_FIELD_NUMBER: _ClassVar[int] LTE_FIELD_NUMBER: _ClassVar[int] @@ -192,7 +198,7 @@ class Int64Rules(_message.Message): def __init__(self, const: _Optional[int] = ..., lt: _Optional[int] = ..., lte: _Optional[int] = ..., gt: _Optional[int] = ..., gte: _Optional[int] = ..., not_in: _Optional[_Iterable[int]] = ..., **kwargs) -> None: ... class UInt32Rules(_message.Message): - __slots__ = ["const", "lt", "lte", "gt", "gte", "not_in"] + __slots__ = ("const", "lt", "lte", "gt", "gte", "not_in") CONST_FIELD_NUMBER: _ClassVar[int] LT_FIELD_NUMBER: _ClassVar[int] LTE_FIELD_NUMBER: _ClassVar[int] @@ -209,7 +215,7 @@ class UInt32Rules(_message.Message): def __init__(self, const: _Optional[int] = ..., lt: _Optional[int] = ..., lte: _Optional[int] = ..., gt: _Optional[int] = ..., gte: _Optional[int] = ..., not_in: _Optional[_Iterable[int]] = ..., **kwargs) -> None: ... class UInt64Rules(_message.Message): - __slots__ = ["const", "lt", "lte", "gt", "gte", "not_in"] + __slots__ = ("const", "lt", "lte", "gt", "gte", "not_in") CONST_FIELD_NUMBER: _ClassVar[int] LT_FIELD_NUMBER: _ClassVar[int] LTE_FIELD_NUMBER: _ClassVar[int] @@ -226,7 +232,7 @@ class UInt64Rules(_message.Message): def __init__(self, const: _Optional[int] = ..., lt: _Optional[int] = ..., lte: _Optional[int] = ..., gt: _Optional[int] = ..., gte: _Optional[int] = ..., not_in: _Optional[_Iterable[int]] = ..., **kwargs) -> None: ... class SInt32Rules(_message.Message): - __slots__ = ["const", "lt", "lte", "gt", "gte", "not_in"] + __slots__ = ("const", "lt", "lte", "gt", "gte", "not_in") CONST_FIELD_NUMBER: _ClassVar[int] LT_FIELD_NUMBER: _ClassVar[int] LTE_FIELD_NUMBER: _ClassVar[int] @@ -243,7 +249,7 @@ class SInt32Rules(_message.Message): def __init__(self, const: _Optional[int] = ..., lt: _Optional[int] = ..., lte: _Optional[int] = ..., gt: _Optional[int] = ..., gte: _Optional[int] = ..., not_in: _Optional[_Iterable[int]] = ..., **kwargs) -> None: ... class SInt64Rules(_message.Message): - __slots__ = ["const", "lt", "lte", "gt", "gte", "not_in"] + __slots__ = ("const", "lt", "lte", "gt", "gte", "not_in") CONST_FIELD_NUMBER: _ClassVar[int] LT_FIELD_NUMBER: _ClassVar[int] LTE_FIELD_NUMBER: _ClassVar[int] @@ -260,7 +266,7 @@ class SInt64Rules(_message.Message): def __init__(self, const: _Optional[int] = ..., lt: _Optional[int] = ..., lte: _Optional[int] = ..., gt: _Optional[int] = ..., gte: _Optional[int] = ..., not_in: _Optional[_Iterable[int]] = ..., **kwargs) -> None: ... class Fixed32Rules(_message.Message): - __slots__ = ["const", "lt", "lte", "gt", "gte", "not_in"] + __slots__ = ("const", "lt", "lte", "gt", "gte", "not_in") CONST_FIELD_NUMBER: _ClassVar[int] LT_FIELD_NUMBER: _ClassVar[int] LTE_FIELD_NUMBER: _ClassVar[int] @@ -277,7 +283,7 @@ class Fixed32Rules(_message.Message): def __init__(self, const: _Optional[int] = ..., lt: _Optional[int] = ..., lte: _Optional[int] = ..., gt: _Optional[int] = ..., gte: _Optional[int] = ..., not_in: _Optional[_Iterable[int]] = ..., **kwargs) -> None: ... class Fixed64Rules(_message.Message): - __slots__ = ["const", "lt", "lte", "gt", "gte", "not_in"] + __slots__ = ("const", "lt", "lte", "gt", "gte", "not_in") CONST_FIELD_NUMBER: _ClassVar[int] LT_FIELD_NUMBER: _ClassVar[int] LTE_FIELD_NUMBER: _ClassVar[int] @@ -294,7 +300,7 @@ class Fixed64Rules(_message.Message): def __init__(self, const: _Optional[int] = ..., lt: _Optional[int] = ..., lte: _Optional[int] = ..., gt: _Optional[int] = ..., gte: _Optional[int] = ..., not_in: _Optional[_Iterable[int]] = ..., **kwargs) -> None: ... class SFixed32Rules(_message.Message): - __slots__ = ["const", "lt", "lte", "gt", "gte", "not_in"] + __slots__ = ("const", "lt", "lte", "gt", "gte", "not_in") CONST_FIELD_NUMBER: _ClassVar[int] LT_FIELD_NUMBER: _ClassVar[int] LTE_FIELD_NUMBER: _ClassVar[int] @@ -311,7 +317,7 @@ class SFixed32Rules(_message.Message): def __init__(self, const: _Optional[int] = ..., lt: _Optional[int] = ..., lte: _Optional[int] = ..., gt: _Optional[int] = ..., gte: _Optional[int] = ..., not_in: _Optional[_Iterable[int]] = ..., **kwargs) -> None: ... class SFixed64Rules(_message.Message): - __slots__ = ["const", "lt", "lte", "gt", "gte", "not_in"] + __slots__ = ("const", "lt", "lte", "gt", "gte", "not_in") CONST_FIELD_NUMBER: _ClassVar[int] LT_FIELD_NUMBER: _ClassVar[int] LTE_FIELD_NUMBER: _ClassVar[int] @@ -328,13 +334,13 @@ class SFixed64Rules(_message.Message): def __init__(self, const: _Optional[int] = ..., lt: _Optional[int] = ..., lte: _Optional[int] = ..., gt: _Optional[int] = ..., gte: _Optional[int] = ..., not_in: _Optional[_Iterable[int]] = ..., **kwargs) -> None: ... class BoolRules(_message.Message): - __slots__ = ["const"] + __slots__ = ("const",) CONST_FIELD_NUMBER: _ClassVar[int] const: bool def __init__(self, const: bool = ...) -> None: ... class StringRules(_message.Message): - __slots__ = ["const", "len", "min_len", "max_len", "len_bytes", "min_bytes", "max_bytes", "pattern", "prefix", "suffix", "contains", "not_contains", "not_in", "email", "hostname", "ip", "ipv4", "ipv6", "uri", "uri_ref", "address", "uuid", "ip_with_prefixlen", "ipv4_with_prefixlen", "ipv6_with_prefixlen", "ip_prefix", "ipv4_prefix", "ipv6_prefix", "host_and_port", "well_known_regex", "strict"] + __slots__ = ("const", "len", "min_len", "max_len", "len_bytes", "min_bytes", "max_bytes", "pattern", "prefix", "suffix", "contains", "not_contains", "not_in", "email", "hostname", "ip", "ipv4", "ipv6", "uri", "uri_ref", "address", "uuid", "tuuid", "ip_with_prefixlen", "ipv4_with_prefixlen", "ipv6_with_prefixlen", "ip_prefix", "ipv4_prefix", "ipv6_prefix", "host_and_port", "well_known_regex", "strict") CONST_FIELD_NUMBER: _ClassVar[int] LEN_FIELD_NUMBER: _ClassVar[int] MIN_LEN_FIELD_NUMBER: _ClassVar[int] @@ -358,6 +364,7 @@ class StringRules(_message.Message): URI_REF_FIELD_NUMBER: _ClassVar[int] ADDRESS_FIELD_NUMBER: _ClassVar[int] UUID_FIELD_NUMBER: _ClassVar[int] + TUUID_FIELD_NUMBER: _ClassVar[int] IP_WITH_PREFIXLEN_FIELD_NUMBER: _ClassVar[int] IPV4_WITH_PREFIXLEN_FIELD_NUMBER: _ClassVar[int] IPV6_WITH_PREFIXLEN_FIELD_NUMBER: _ClassVar[int] @@ -389,6 +396,7 @@ class StringRules(_message.Message): uri_ref: bool address: bool uuid: bool + tuuid: bool ip_with_prefixlen: bool ipv4_with_prefixlen: bool ipv6_with_prefixlen: bool @@ -398,10 +406,10 @@ class StringRules(_message.Message): host_and_port: bool well_known_regex: KnownRegex strict: bool - def __init__(self, const: _Optional[str] = ..., len: _Optional[int] = ..., min_len: _Optional[int] = ..., max_len: _Optional[int] = ..., len_bytes: _Optional[int] = ..., min_bytes: _Optional[int] = ..., max_bytes: _Optional[int] = ..., pattern: _Optional[str] = ..., prefix: _Optional[str] = ..., suffix: _Optional[str] = ..., contains: _Optional[str] = ..., not_contains: _Optional[str] = ..., not_in: _Optional[_Iterable[str]] = ..., email: bool = ..., hostname: bool = ..., ip: bool = ..., ipv4: bool = ..., ipv6: bool = ..., uri: bool = ..., uri_ref: bool = ..., address: bool = ..., uuid: bool = ..., ip_with_prefixlen: bool = ..., ipv4_with_prefixlen: bool = ..., ipv6_with_prefixlen: bool = ..., ip_prefix: bool = ..., ipv4_prefix: bool = ..., ipv6_prefix: bool = ..., host_and_port: bool = ..., well_known_regex: _Optional[_Union[KnownRegex, str]] = ..., strict: bool = ..., **kwargs) -> None: ... + def __init__(self, const: _Optional[str] = ..., len: _Optional[int] = ..., min_len: _Optional[int] = ..., max_len: _Optional[int] = ..., len_bytes: _Optional[int] = ..., min_bytes: _Optional[int] = ..., max_bytes: _Optional[int] = ..., pattern: _Optional[str] = ..., prefix: _Optional[str] = ..., suffix: _Optional[str] = ..., contains: _Optional[str] = ..., not_contains: _Optional[str] = ..., not_in: _Optional[_Iterable[str]] = ..., email: bool = ..., hostname: bool = ..., ip: bool = ..., ipv4: bool = ..., ipv6: bool = ..., uri: bool = ..., uri_ref: bool = ..., address: bool = ..., uuid: bool = ..., tuuid: bool = ..., ip_with_prefixlen: bool = ..., ipv4_with_prefixlen: bool = ..., ipv6_with_prefixlen: bool = ..., ip_prefix: bool = ..., ipv4_prefix: bool = ..., ipv6_prefix: bool = ..., host_and_port: bool = ..., well_known_regex: _Optional[_Union[KnownRegex, str]] = ..., strict: bool = ..., **kwargs) -> None: ... class BytesRules(_message.Message): - __slots__ = ["const", "len", "min_len", "max_len", "pattern", "prefix", "suffix", "contains", "not_in", "ip", "ipv4", "ipv6"] + __slots__ = ("const", "len", "min_len", "max_len", "pattern", "prefix", "suffix", "contains", "not_in", "ip", "ipv4", "ipv6") CONST_FIELD_NUMBER: _ClassVar[int] LEN_FIELD_NUMBER: _ClassVar[int] MIN_LEN_FIELD_NUMBER: _ClassVar[int] @@ -430,7 +438,7 @@ class BytesRules(_message.Message): def __init__(self, const: _Optional[bytes] = ..., len: _Optional[int] = ..., min_len: _Optional[int] = ..., max_len: _Optional[int] = ..., pattern: _Optional[str] = ..., prefix: _Optional[bytes] = ..., suffix: _Optional[bytes] = ..., contains: _Optional[bytes] = ..., not_in: _Optional[_Iterable[bytes]] = ..., ip: bool = ..., ipv4: bool = ..., ipv6: bool = ..., **kwargs) -> None: ... class EnumRules(_message.Message): - __slots__ = ["const", "defined_only", "not_in"] + __slots__ = ("const", "defined_only", "not_in") CONST_FIELD_NUMBER: _ClassVar[int] DEFINED_ONLY_FIELD_NUMBER: _ClassVar[int] IN_FIELD_NUMBER: _ClassVar[int] @@ -441,7 +449,7 @@ class EnumRules(_message.Message): def __init__(self, const: _Optional[int] = ..., defined_only: bool = ..., not_in: _Optional[_Iterable[int]] = ..., **kwargs) -> None: ... class RepeatedRules(_message.Message): - __slots__ = ["min_items", "max_items", "unique", "items"] + __slots__ = ("min_items", "max_items", "unique", "items") MIN_ITEMS_FIELD_NUMBER: _ClassVar[int] MAX_ITEMS_FIELD_NUMBER: _ClassVar[int] UNIQUE_FIELD_NUMBER: _ClassVar[int] @@ -453,7 +461,7 @@ class RepeatedRules(_message.Message): def __init__(self, min_items: _Optional[int] = ..., max_items: _Optional[int] = ..., unique: bool = ..., items: _Optional[_Union[FieldConstraints, _Mapping]] = ...) -> None: ... class MapRules(_message.Message): - __slots__ = ["min_pairs", "max_pairs", "keys", "values"] + __slots__ = ("min_pairs", "max_pairs", "keys", "values") MIN_PAIRS_FIELD_NUMBER: _ClassVar[int] MAX_PAIRS_FIELD_NUMBER: _ClassVar[int] KEYS_FIELD_NUMBER: _ClassVar[int] @@ -465,14 +473,14 @@ class MapRules(_message.Message): def __init__(self, min_pairs: _Optional[int] = ..., max_pairs: _Optional[int] = ..., keys: _Optional[_Union[FieldConstraints, _Mapping]] = ..., values: _Optional[_Union[FieldConstraints, _Mapping]] = ...) -> None: ... class AnyRules(_message.Message): - __slots__ = ["not_in"] + __slots__ = ("not_in",) IN_FIELD_NUMBER: _ClassVar[int] NOT_IN_FIELD_NUMBER: _ClassVar[int] not_in: _containers.RepeatedScalarFieldContainer[str] def __init__(self, not_in: _Optional[_Iterable[str]] = ..., **kwargs) -> None: ... class DurationRules(_message.Message): - __slots__ = ["const", "lt", "lte", "gt", "gte", "not_in"] + __slots__ = ("const", "lt", "lte", "gt", "gte", "not_in") CONST_FIELD_NUMBER: _ClassVar[int] LT_FIELD_NUMBER: _ClassVar[int] LTE_FIELD_NUMBER: _ClassVar[int] @@ -489,7 +497,7 @@ class DurationRules(_message.Message): def __init__(self, const: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., lt: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., lte: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., gt: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., gte: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., not_in: _Optional[_Iterable[_Union[_duration_pb2.Duration, _Mapping]]] = ..., **kwargs) -> None: ... class TimestampRules(_message.Message): - __slots__ = ["const", "lt", "lte", "lt_now", "gt", "gte", "gt_now", "within"] + __slots__ = ("const", "lt", "lte", "lt_now", "gt", "gte", "gt_now", "within") CONST_FIELD_NUMBER: _ClassVar[int] LT_FIELD_NUMBER: _ClassVar[int] LTE_FIELD_NUMBER: _ClassVar[int] diff --git a/protovalidate/internal/cel_field_presence.py b/protovalidate/internal/cel_field_presence.py new file mode 100644 index 0000000..a6bf487 --- /dev/null +++ b/protovalidate/internal/cel_field_presence.py @@ -0,0 +1,45 @@ +# Copyright 2023 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. + +import threading + +import celpy # type: ignore + +_has_state = threading.local() + + +def in_has() -> bool: + """ + Returns true if inside of CEL interpreter `has` macro. + + This enables working around an issue in cel-python where it is not possible + to implement protobuf semantics around the `has` macro. + + https://github.com/cloud-custodian/cel-python/issues/73 + """ + return getattr(_has_state, "in_has", False) + + +class InterpretedRunner(celpy.InterpretedRunner): + def evaluate(self, context): + class Evaluator(celpy.Evaluator): + def macro_has_eval(self, exprlist): + _has_state.in_has = True + result = super().macro_has_eval(exprlist) + _has_state.in_has = False + return result + + e = Evaluator(ast=self.ast, activation=self.new_activation(context), functions=self.functions) + value = e.evaluate() + return value diff --git a/protovalidate/internal/constraints.py b/protovalidate/internal/constraints.py index 3c8e729..50a6f5d 100644 --- a/protovalidate/internal/constraints.py +++ b/protovalidate/internal/constraints.py @@ -17,11 +17,12 @@ import celpy # type: ignore from celpy import celtypes # type: ignore -from google.protobuf import any_pb2, descriptor, message +from google.protobuf import any_pb2, descriptor, message, message_factory from buf.validate import expression_pb2, validate_pb2 # type: ignore from buf.validate.priv import private_pb2 # type: ignore from protovalidate.internal import string_format +from protovalidate.internal.cel_field_presence import InterpretedRunner, in_has class CompilationError(Exception): @@ -62,21 +63,37 @@ def unwrap(msg: message.Message) -> celtypes.Value: } +class MessageType(celtypes.MapType): + msg: message.Message + desc: descriptor.Descriptor + + def __init__(self, msg: message.Message): + super().__init__() + self.msg = msg + self.desc = msg.DESCRIPTOR + field: descriptor.FieldDescriptor + for field in self.desc.fields: + if field.containing_oneof is not None and not self.msg.HasField(field.name): + continue + self[field.name] = _field_to_cel(self.msg, field) + + def __getitem__(self, name): + field = self.desc.fields_by_name[name] + if not in_has() and field.has_presence and not self.msg.HasField(name): + return _zero_value(field) + return super().__getitem__(name) + + def _msg_to_cel(msg: message.Message) -> typing.Dict[str, celtypes.Value]: ctor = _MSG_TYPE_URL_TO_CTOR.get(msg.DESCRIPTOR.full_name) if ctor is not None: return ctor(msg) - result = celtypes.MapType() - field: descriptor.FieldDescriptor - for field in msg.DESCRIPTOR.fields: - if field.containing_oneof is not None and not msg.HasField(field.name): - continue - result[field.name] = _field_to_cel(msg, field) - return result + return MessageType(msg) _TYPE_TO_CTOR = { descriptor.FieldDescriptor.TYPE_MESSAGE: _msg_to_cel, + descriptor.FieldDescriptor.TYPE_GROUP: _msg_to_cel, descriptor.FieldDescriptor.TYPE_ENUM: celtypes.IntType, descriptor.FieldDescriptor.TYPE_BOOL: celtypes.BoolType, descriptor.FieldDescriptor.TYPE_BYTES: celtypes.BytesType, @@ -269,11 +286,32 @@ def check_field_type(field: descriptor.FieldDescriptor, expected: int, wrapper_n raise CompilationError(msg) +def _is_map(field: descriptor.FieldDescriptor): + return ( + field.label == descriptor.FieldDescriptor.LABEL_REPEATED + and field.message_type is not None + and field.message_type.GetOptions().map_entry + ) + + +def _is_list(field: descriptor.FieldDescriptor): + return field.label == descriptor.FieldDescriptor.LABEL_REPEATED and not _is_map(field) + + +def _zero_value(field: descriptor.FieldDescriptor): + if field.message_type is not None and field.label != descriptor.FieldDescriptor.LABEL_REPEATED: + return _field_value_to_cel(message_factory.GetMessageClass(field.message_type)(), field) + else: + return _field_value_to_cel(field.default_value, field) + + class FieldConstraintRules(CelConstraintRules): """Field-level rules.""" _ignore_empty = False + _ignore_default = False _required = False + _zero = None def __init__( self, @@ -281,12 +319,22 @@ def __init__( funcs: typing.Dict[str, celpy.CELFunction], field: descriptor.FieldDescriptor, field_level: validate_pb2.FieldConstraints, + *, + for_items: bool = False, ): type_case = field_level.WhichOneof("type") super().__init__(None if type_case is None else getattr(field_level, type_case)) self._field = field - self._ignore_empty = field_level.ignore_empty or field.has_presence # type: ignore[attr-defined] + self._ignore_empty = ( + field_level.ignore_empty + or field_level.ignore in (validate_pb2.IGNORE_IF_UNPOPULATED, validate_pb2.IGNORE_IF_DEFAULT_VALUE) + or field.has_presence # type: ignore[attr-defined] + and not for_items + ) + self._ignore_default = field.has_presence and field_level.ignore == validate_pb2.IGNORE_IF_DEFAULT_VALUE # type: ignore[attr-defined] self._required = field_level.required + if self._ignore_default: + self._zero = _zero_value(field) type_case = field_level.WhichOneof("type") if type_case is not None: rules = getattr(field_level, type_case) @@ -311,8 +359,11 @@ def validate(self, ctx: ConstraintContext, message: message.Message): if self._ignore_empty: return val = getattr(message, self._field.name) + cel_val = _field_value_to_cel(val, self._field) + if self._ignore_default and cel_val == self._zero: + return self._validate_value(ctx, self._field.name, val) - self._validate_cel(ctx, self._field.name, {"this": _field_value_to_cel(val, self._field)}) + self._validate_cel(ctx, self._field.name, {"this": cel_val}) def validate_item(self, ctx: ConstraintContext, field_path: str, val: typing.Any, *, for_key: bool = False): self._validate_value(ctx, field_path, val, for_key=for_key) @@ -370,8 +421,10 @@ def __init__( funcs: typing.Dict[str, celpy.CELFunction], field: descriptor.FieldDescriptor, field_level: validate_pb2.FieldConstraints, + *, + for_items: bool = False, ): - super().__init__(env, funcs, field, field_level) + super().__init__(env, funcs, field, field_level, for_items=for_items) if field_level.enum.defined_only: self._defined_only = True @@ -489,7 +542,7 @@ class ConstraintFactory: _cache: typing.Dict[descriptor.Descriptor, typing.Union[typing.List[ConstraintRules], Exception]] def __init__(self, funcs: typing.Dict[str, celpy.CELFunction]): - self._env = celpy.Environment() + self._env = celpy.Environment(runner_class=InterpretedRunner) self._funcs = funcs self._cache = {} @@ -514,28 +567,30 @@ def _new_scalar_field_constraint( self, field: descriptor.FieldDescriptor, field_level: validate_pb2.field, + *, + for_items: bool = False, ): - if field_level.skipped: + if field_level.ignore == validate_pb2.IGNORE_ALWAYS or field_level.skipped: return None type_case = field_level.WhichOneof("type") if type_case is None: - result = FieldConstraintRules(self._env, self._funcs, field, field_level) + result = FieldConstraintRules(self._env, self._funcs, field, field_level, for_items=for_items) return result elif type_case == "duration": check_field_type(field, 0, "google.protobuf.Duration") - result = FieldConstraintRules(self._env, self._funcs, field, field_level) + result = FieldConstraintRules(self._env, self._funcs, field, field_level, for_items=for_items) return result elif type_case == "timestamp": check_field_type(field, 0, "google.protobuf.Timestamp") - result = FieldConstraintRules(self._env, self._funcs, field, field_level) + result = FieldConstraintRules(self._env, self._funcs, field, field_level, for_items=for_items) return result elif type_case == "enum": check_field_type(field, descriptor.FieldDescriptor.TYPE_ENUM) - result = EnumConstraintRules(self._env, self._funcs, field, field_level) + result = EnumConstraintRules(self._env, self._funcs, field, field_level, for_items=for_items) return result elif type_case == "bool": check_field_type(field, descriptor.FieldDescriptor.TYPE_BOOL, "google.protobuf.BoolValue") - result = FieldConstraintRules(self._env, self._funcs, field, field_level) + result = FieldConstraintRules(self._env, self._funcs, field, field_level, for_items=for_items) return result elif type_case == "bytes": check_field_type( @@ -543,15 +598,15 @@ def _new_scalar_field_constraint( descriptor.FieldDescriptor.TYPE_BYTES, "google.protobuf.BytesValue", ) - result = FieldConstraintRules(self._env, self._funcs, field, field_level) + result = FieldConstraintRules(self._env, self._funcs, field, field_level, for_items=for_items) return result elif type_case == "fixed32": check_field_type(field, descriptor.FieldDescriptor.TYPE_FIXED32) - result = FieldConstraintRules(self._env, self._funcs, field, field_level) + result = FieldConstraintRules(self._env, self._funcs, field, field_level, for_items=for_items) return result elif type_case == "fixed64": check_field_type(field, descriptor.FieldDescriptor.TYPE_FIXED64) - result = FieldConstraintRules(self._env, self._funcs, field, field_level) + result = FieldConstraintRules(self._env, self._funcs, field, field_level, for_items=for_items) return result elif type_case == "float": check_field_type( @@ -559,7 +614,7 @@ def _new_scalar_field_constraint( descriptor.FieldDescriptor.TYPE_FLOAT, "google.protobuf.FloatValue", ) - result = FieldConstraintRules(self._env, self._funcs, field, field_level) + result = FieldConstraintRules(self._env, self._funcs, field, field_level, for_items=for_items) return result elif type_case == "double": check_field_type( @@ -567,7 +622,7 @@ def _new_scalar_field_constraint( descriptor.FieldDescriptor.TYPE_DOUBLE, "google.protobuf.DoubleValue", ) - result = FieldConstraintRules(self._env, self._funcs, field, field_level) + result = FieldConstraintRules(self._env, self._funcs, field, field_level, for_items=for_items) return result elif type_case == "int32": check_field_type( @@ -575,7 +630,7 @@ def _new_scalar_field_constraint( descriptor.FieldDescriptor.TYPE_INT32, "google.protobuf.Int32Value", ) - result = FieldConstraintRules(self._env, self._funcs, field, field_level) + result = FieldConstraintRules(self._env, self._funcs, field, field_level, for_items=for_items) return result elif type_case == "int64": check_field_type( @@ -583,23 +638,23 @@ def _new_scalar_field_constraint( descriptor.FieldDescriptor.TYPE_INT64, "google.protobuf.Int64Value", ) - result = FieldConstraintRules(self._env, self._funcs, field, field_level) + result = FieldConstraintRules(self._env, self._funcs, field, field_level, for_items=for_items) return result elif type_case == "sfixed32": check_field_type(field, descriptor.FieldDescriptor.TYPE_SFIXED32) - result = FieldConstraintRules(self._env, self._funcs, field, field_level) + result = FieldConstraintRules(self._env, self._funcs, field, field_level, for_items=for_items) return result elif type_case == "sfixed64": check_field_type(field, descriptor.FieldDescriptor.TYPE_SFIXED64) - result = FieldConstraintRules(self._env, self._funcs, field, field_level) + result = FieldConstraintRules(self._env, self._funcs, field, field_level, for_items=for_items) return result elif type_case == "sint32": check_field_type(field, descriptor.FieldDescriptor.TYPE_SINT32) - result = FieldConstraintRules(self._env, self._funcs, field, field_level) + result = FieldConstraintRules(self._env, self._funcs, field, field_level, for_items=for_items) return result elif type_case == "sint64": check_field_type(field, descriptor.FieldDescriptor.TYPE_SINT64) - result = FieldConstraintRules(self._env, self._funcs, field, field_level) + result = FieldConstraintRules(self._env, self._funcs, field, field_level, for_items=for_items) return result elif type_case == "uint32": check_field_type( @@ -607,7 +662,7 @@ def _new_scalar_field_constraint( descriptor.FieldDescriptor.TYPE_UINT32, "google.protobuf.UInt32Value", ) - result = FieldConstraintRules(self._env, self._funcs, field, field_level) + result = FieldConstraintRules(self._env, self._funcs, field, field_level, for_items=for_items) return result elif type_case == "uint64": check_field_type( @@ -615,7 +670,7 @@ def _new_scalar_field_constraint( descriptor.FieldDescriptor.TYPE_UINT64, "google.protobuf.UInt64Value", ) - result = FieldConstraintRules(self._env, self._funcs, field, field_level) + result = FieldConstraintRules(self._env, self._funcs, field, field_level, for_items=for_items) return result elif type_case == "string": check_field_type( @@ -623,7 +678,7 @@ def _new_scalar_field_constraint( descriptor.FieldDescriptor.TYPE_STRING, "google.protobuf.StringValue", ) - result = FieldConstraintRules(self._env, self._funcs, field, field_level) + result = FieldConstraintRules(self._env, self._funcs, field, field_level, for_items=for_items) return result elif type_case == "any": check_field_type(field, descriptor.FieldDescriptor.TYPE_MESSAGE, "google.protobuf.Any") @@ -641,11 +696,11 @@ def _new_field_constraint( key_rules = None if rules.map.HasField("keys"): key_field = field.message_type.fields_by_name["key"] - key_rules = self._new_scalar_field_constraint(key_field, rules.map.keys) + key_rules = self._new_scalar_field_constraint(key_field, rules.map.keys, for_items=True) value_rules = None if rules.map.HasField("values"): value_field = field.message_type.fields_by_name["value"] - value_rules = self._new_scalar_field_constraint(value_field, rules.map.values) + value_rules = self._new_scalar_field_constraint(value_field, rules.map.values, for_items=True) return MapConstraintRules(self._env, self._funcs, field, rules, key_rules, value_rules) item_rule = None if rules.repeated.HasField("items"): @@ -670,10 +725,13 @@ def _new_constraints(self, desc: descriptor.Descriptor) -> typing.List[Constrain for field in desc.fields: if validate_pb2.field in field.GetOptions().Extensions: field_level = field.GetOptions().Extensions[validate_pb2.field] - if field_level.skipped: + if field_level.ignore == validate_pb2.IGNORE_ALWAYS or field_level.skipped: continue result.append(self._new_field_constraint(field, field_level)) - if field_level.repeated.items.skipped: + if ( + field_level.repeated.items.ignore == validate_pb2.IGNORE_ALWAYS + or field_level.repeated.items.skipped + ): continue if field.message_type is None: continue diff --git a/protovalidate/internal/extra_func.py b/protovalidate/internal/extra_func.py index 4374c9b..60a85da 100644 --- a/protovalidate/internal/extra_func.py +++ b/protovalidate/internal/extra_func.py @@ -14,6 +14,7 @@ import math import typing +from email.utils import parseaddr from ipaddress import IPv4Address, IPv4Network, IPv6Address, IPv6Network, ip_address, ip_network from urllib import parse as urlparse @@ -49,9 +50,11 @@ def _validate_hostname(host): def validate_email(addr): - if "<" in addr and ">" in addr: - addr = addr.split("<")[1].split(">")[0] + parts = parseaddr(addr) + if addr != parts[1]: + return False + addr = parts[1] if len(addr) > 254: return False diff --git a/tests/conformance/runner.py b/tests/conformance/runner.py index f5f41d2..1a961fe 100644 --- a/tests/conformance/runner.py +++ b/tests/conformance/runner.py @@ -30,6 +30,10 @@ filename_with_dash_pb2, # noqa: F401 ignore_empty_proto2_pb2, # noqa: F401 ignore_empty_proto3_pb2, # noqa: F401 + ignore_empty_proto_editions_pb2, # noqa: F401 + ignore_proto2_pb2, # noqa: F401 + ignore_proto3_pb2, # noqa: F401 + ignore_proto_editions_pb2, # noqa: F401 kitchen_sink_pb2, # noqa: F401 maps_pb2, # noqa: F401 messages_pb2, # noqa: F401 @@ -38,6 +42,7 @@ repeated_pb2, # noqa: F401 required_field_proto2_pb2, # noqa: F401 required_field_proto3_pb2, # noqa: F401 + required_field_proto_editions_pb2, # noqa: F401 strings_pb2, # noqa: F401 wkt_any_pb2, # noqa: F401 wkt_duration_pb2, # noqa: F401