From c5ebc68d0d5b193d065f3785a6d624271342ea84 Mon Sep 17 00:00:00 2001 From: so1n Date: Wed, 27 Sep 2023 00:09:40 +0800 Subject: [PATCH] Modify, Fix, fix #22 --- example/example_proto/demo/demo.proto | 1 + example/proto_3_20/demo_gen_code.py | 88 - example/proto_3_20/demo_gen_code_by_p2p.py | 648 - example/proto_3_20/demo_gen_code_by_pgv.py | 437 - ...gen_code_by_text_comment_protobuf_field.py | 91 - .../demo_gen_code_by_text_comment_pyi.py | 91 - .../example/example_proto/common/__init__.py | 0 .../example_proto/common/p2p_validate_pb2.py | 12615 ---------------- .../example_proto/common/p2p_validate_pb2.pyi | 6868 --------- .../common/p2p_validate_pb2_grpc.py | 2 - .../common/p2p_validate_pb2_grpc.pyi | 4 - .../example_proto/common/single_p2p.py | 18 - .../example_proto/common/single_pb2.py | 164 - .../example_proto/common/single_pb2.pyi | 58 - .../example_proto/common/single_pb2_grpc.py | 2 - .../example_proto/common/single_pb2_grpc.pyi | 4 - .../example_proto/common/validate_pb2.py | 4813 ------ .../example_proto/common/validate_pb2.pyi | 2228 --- .../example_proto/common/validate_pb2_grpc.py | 2 - .../common/validate_pb2_grpc.pyi | 4 - .../example/example_proto/demo/__init__.py | 0 .../example/example_proto/demo/demo_p2p.py | 73 - .../example/example_proto/demo/demo_pb2.py | 1250 -- .../example/example_proto/demo/demo_pb2.pyi | 405 - .../example_proto/demo/demo_pb2_grpc.py | 2 - .../example_proto/demo/demo_pb2_grpc.pyi | 4 - .../example_proto/p2p_validate/__init__.py | 0 .../example_proto/p2p_validate/demo_p2p.py | 645 - .../example_proto/p2p_validate/demo_pb2.py | 10296 ------------- .../example_proto/p2p_validate/demo_pb2.pyi | 2903 ---- .../p2p_validate/demo_pb2_grpc.py | 2 - .../p2p_validate/demo_pb2_grpc.pyi | 4 - .../example_proto/validate/__init__.py | 0 .../example_proto/validate/demo_p2p.py | 436 - .../example_proto/validate/demo_pb2.py | 5106 ------- .../example_proto/validate/demo_pb2.pyi | 1506 -- .../example_proto/validate/demo_pb2_grpc.py | 2 - .../example_proto/validate/demo_pb2_grpc.pyi | 4 - .../proto_3_20_pydanticv1/demo_gen_code.py | 1 + ...gen_code_by_text_comment_protobuf_field.py | 1 + .../demo_gen_code_by_text_comment_pyi.py | 1 + .../example/example_proto/demo/demo_p2p.py | 1 + .../example/example_proto/demo/demo_pb2.py | 24 +- .../example/example_proto/demo/demo_pb2.pyi | 10 +- .../proto_3_20_pydanticv2/demo_gen_code.py | 1 + ...gen_code_by_text_comment_protobuf_field.py | 1 + .../demo_gen_code_by_text_comment_pyi.py | 1 + .../example/example_proto/demo/demo_p2p.py | 1 + .../example/example_proto/demo/demo_pb2.py | 24 +- .../example/example_proto/demo/demo_pb2.pyi | 10 +- example/proto_pydanticv1/demo_gen_code.py | 1 + ...gen_code_by_text_comment_protobuf_field.py | 1 + .../demo_gen_code_by_text_comment_pyi.py | 1 + .../example/example_proto/demo/demo_p2p.py | 1 + .../example/example_proto/demo/demo_pb2.py | 8 +- .../example/example_proto/demo/demo_pb2.pyi | 10 +- example/proto_pydanticv2/demo_gen_code.py | 1 + ...gen_code_by_text_comment_protobuf_field.py | 1 + .../demo_gen_code_by_text_comment_pyi.py | 1 + .../example/example_proto/demo/demo_p2p.py | 1 + .../example/example_proto/demo/demo_pb2.py | 8 +- .../example/example_proto/demo/demo_pb2.pyi | 10 +- protobuf_to_pydantic/gen_model.py | 3 + .../plugin/field_desc_proto_to_code.py | 11 +- tests/test_gen_code_output/test_simple.py | 1 + .../test_p2p_validate.py | 4 +- .../test_pgv_validate.py | 4 +- 67 files changed, 114 insertions(+), 50805 deletions(-) delete mode 100644 example/proto_3_20/demo_gen_code.py delete mode 100644 example/proto_3_20/demo_gen_code_by_p2p.py delete mode 100644 example/proto_3_20/demo_gen_code_by_pgv.py delete mode 100644 example/proto_3_20/demo_gen_code_by_text_comment_protobuf_field.py delete mode 100644 example/proto_3_20/demo_gen_code_by_text_comment_pyi.py delete mode 100644 example/proto_3_20/example/example_proto/common/__init__.py delete mode 100644 example/proto_3_20/example/example_proto/common/p2p_validate_pb2.py delete mode 100644 example/proto_3_20/example/example_proto/common/p2p_validate_pb2.pyi delete mode 100644 example/proto_3_20/example/example_proto/common/p2p_validate_pb2_grpc.py delete mode 100644 example/proto_3_20/example/example_proto/common/p2p_validate_pb2_grpc.pyi delete mode 100644 example/proto_3_20/example/example_proto/common/single_p2p.py delete mode 100644 example/proto_3_20/example/example_proto/common/single_pb2.py delete mode 100644 example/proto_3_20/example/example_proto/common/single_pb2.pyi delete mode 100644 example/proto_3_20/example/example_proto/common/single_pb2_grpc.py delete mode 100644 example/proto_3_20/example/example_proto/common/single_pb2_grpc.pyi delete mode 100644 example/proto_3_20/example/example_proto/common/validate_pb2.py delete mode 100644 example/proto_3_20/example/example_proto/common/validate_pb2.pyi delete mode 100644 example/proto_3_20/example/example_proto/common/validate_pb2_grpc.py delete mode 100644 example/proto_3_20/example/example_proto/common/validate_pb2_grpc.pyi delete mode 100644 example/proto_3_20/example/example_proto/demo/__init__.py delete mode 100644 example/proto_3_20/example/example_proto/demo/demo_p2p.py delete mode 100644 example/proto_3_20/example/example_proto/demo/demo_pb2.py delete mode 100644 example/proto_3_20/example/example_proto/demo/demo_pb2.pyi delete mode 100644 example/proto_3_20/example/example_proto/demo/demo_pb2_grpc.py delete mode 100644 example/proto_3_20/example/example_proto/demo/demo_pb2_grpc.pyi delete mode 100644 example/proto_3_20/example/example_proto/p2p_validate/__init__.py delete mode 100644 example/proto_3_20/example/example_proto/p2p_validate/demo_p2p.py delete mode 100644 example/proto_3_20/example/example_proto/p2p_validate/demo_pb2.py delete mode 100644 example/proto_3_20/example/example_proto/p2p_validate/demo_pb2.pyi delete mode 100644 example/proto_3_20/example/example_proto/p2p_validate/demo_pb2_grpc.py delete mode 100644 example/proto_3_20/example/example_proto/p2p_validate/demo_pb2_grpc.pyi delete mode 100644 example/proto_3_20/example/example_proto/validate/__init__.py delete mode 100644 example/proto_3_20/example/example_proto/validate/demo_p2p.py delete mode 100644 example/proto_3_20/example/example_proto/validate/demo_pb2.py delete mode 100644 example/proto_3_20/example/example_proto/validate/demo_pb2.pyi delete mode 100644 example/proto_3_20/example/example_proto/validate/demo_pb2_grpc.py delete mode 100644 example/proto_3_20/example/example_proto/validate/demo_pb2_grpc.pyi diff --git a/example/example_proto/demo/demo.proto b/example/example_proto/demo/demo.proto index 66cb43b..4c96e22 100644 --- a/example/example_proto/demo/demo.proto +++ b/example/example_proto/demo/demo.proto @@ -85,4 +85,5 @@ message EmptyMessage {}; message OptionalMessage{ optional string name = 1; optional int32 age= 2; + optional InvoiceItem item = 3; }; diff --git a/example/proto_3_20/demo_gen_code.py b/example/proto_3_20/demo_gen_code.py deleted file mode 100644 index 143c244..0000000 --- a/example/proto_3_20/demo_gen_code.py +++ /dev/null @@ -1,88 +0,0 @@ -# This is an automatically generated file, please do not change -# gen by protobuf_to_pydantic[v0.1.7.3](https://github.com/so1n/protobuf_to_pydantic) -import typing -from datetime import datetime -from enum import IntEnum - -from pydantic import BaseModel, Field - - -class AfterReferMessage(BaseModel): - uid: str = Field(default="") - age: int = Field(default=0) - - -class EmptyMessage(BaseModel): - pass - - -class InvoiceItem(BaseModel): - name: str = Field(default="") - amount: int = Field(default=0) - quantity: int = Field(default=0) - items: typing.List["InvoiceItem"] = Field(default_factory=list) - - -class SexType(IntEnum): - man = 0 - women = 1 - - -class ExampleExampleProtoCommonSingleDemoEnum(IntEnum): - """Note: The current class does not belong to the package - ExampleExampleProtoCommonSingleDemoEnum protobuf path:example/example_proto/common/single.proto""" - - zero = 0 - one = 1 - two = 3 - - -class ExampleExampleProtoCommonSingleDemoMessage(BaseModel): - """Note: The current class does not belong to the package - ExampleExampleProtoCommonSingleDemoMessage protobuf path:example/example_proto/common/single.proto""" - - earth: str = Field(default="") - mercury: str = Field(default="") - mars: str = Field(default="") - - -class UserMessage(BaseModel): - uid: str = Field(default="") - age: int = Field(default=0) - height: float = Field(default=0.0) - sex: SexType = Field(default=0) - demo: ExampleExampleProtoCommonSingleDemoEnum = Field(default=0) - is_adult: bool = Field(default=False) - user_name: str = Field(default="") - demo_message: ExampleExampleProtoCommonSingleDemoMessage = Field() - - -class MapMessage(BaseModel): - user_map: typing.Dict[str, UserMessage] = Field(default_factory=dict) - user_flag: typing.Dict[str, bool] = Field(default_factory=dict) - - -class RepeatedMessage(BaseModel): - str_list: typing.List[str] = Field(default_factory=list) - int_list: typing.List[int] = Field(default_factory=list) - user_list: typing.List[UserMessage] = Field(default_factory=list) - - -class NestedMessage(BaseModel): - class UserPayMessage(BaseModel): - bank_number: str = Field(default="") - exp: datetime = Field(default_factory=datetime.now) - uuid: str = Field(default="") - - class IncludeEnum(IntEnum): - zero = 0 - one = 1 - two = 2 - - user_list_map: typing.Dict[str, RepeatedMessage] = Field(default_factory=dict) - user_map: typing.Dict[str, MapMessage] = Field(default_factory=dict) - user_pay: UserPayMessage = Field() - include_enum: IncludeEnum = Field(default=0) - not_enable_user_pay: UserPayMessage = Field() - empty: typing.Any = Field() - after_refer: AfterReferMessage = Field() diff --git a/example/proto_3_20/demo_gen_code_by_p2p.py b/example/proto_3_20/demo_gen_code_by_p2p.py deleted file mode 100644 index 5a00af2..0000000 --- a/example/proto_3_20/demo_gen_code_by_p2p.py +++ /dev/null @@ -1,648 +0,0 @@ -# This is an automatically generated file, please do not change -# gen by protobuf_to_pydantic[v0.1.7.3](https://github.com/so1n/protobuf_to_pydantic) -import typing -from datetime import datetime, timedelta -from enum import IntEnum -from ipaddress import IPv4Address, IPv6Address -from uuid import UUID, uuid4 - -from google.protobuf.any_pb2 import Any # type: ignore -from google.protobuf.duration_pb2 import Duration # type: ignore -from google.protobuf.timestamp_pb2 import Timestamp # type: ignore -from pydantic import BaseModel, Field, root_validator, validator -from pydantic.networks import AnyUrl, EmailStr, IPvAnyAddress -from pydantic.types import conbytes, confloat, conint, conlist, constr - -from example.gen_p2p_code import CustomerField, customer_any -from protobuf_to_pydantic.customer_con_type import contimedelta, contimestamp -from protobuf_to_pydantic.customer_validator import ( - any_in_validator, - any_not_in_validator, - check_one_of, - contains_validator, - duration_const_validator, - duration_ge_validator, - duration_gt_validator, - duration_in_validator, - duration_le_validator, - duration_lt_validator, - duration_not_in_validator, - in_validator, - len_validator, - map_max_pairs_validator, - map_min_pairs_validator, - not_contains_validator, - not_in_validator, - prefix_validator, - suffix_validator, - timestamp_const_validator, - timestamp_ge_validator, - timestamp_gt_now_validator, - timestamp_gt_validator, - timestamp_le_validator, - timestamp_lt_now_validator, - timestamp_lt_validator, - timestamp_within_validator, -) -from protobuf_to_pydantic.get_desc.from_pb_option.types import HostNameStr, UriRefStr -from protobuf_to_pydantic.util import Timedelta - - -class AfterReferMessage(BaseModel): - uid: str = Field(title="UID", description="user union id", example="10086") - age: int = Field(default=0, title="use age", ge=0, example=18.0) - - -class AnyTest(BaseModel): - class Config: - arbitrary_types_allowed = True - - required_test: Any = Field() - not_in_test: Any = Field( - default_factory=Any, - any_not_in=["type.googleapis.com/google.protobuf.Duration", "type.googleapis.com/google.protobuf.Timestamp"], - ) - in_test: Any = Field( - default_factory=Any, - any_in=[ - Any(type_url="type.googleapis.com/google.protobuf.Duration"), - "type.googleapis.com/google.protobuf.Timestamp", - ], - ) - default_test: Any = Field(default=Any(type_url="type.googleapis.com/google.protobuf.Duration")) - default_factory_test: Any = Field(default_factory=customer_any) - miss_default_test: Any = Field() - alias_test: Any = Field(default_factory=Any, alias="alias", alias_priority=2) - desc_test: Any = Field(default_factory=Any, description="test desc") - example_test: Any = Field(default_factory=Any, example="type.googleapis.com/google.protobuf.Duration") - example_factory_test: Any = Field(default_factory=Any, example=customer_any) - field_test: Any = CustomerField(default_factory=Any) - title_test: Any = Field(default_factory=Any, title="title_test") - extra_test: Any = Field(default_factory=Any, customer_string="c1", customer_int=1) - - any_not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(any_not_in_validator) - any_in_validator_in_test = validator("in_test", allow_reuse=True)(any_in_validator) - - -class BoolTest(BaseModel): - bool_1_test: bool = Field(default=True, const=True) - bool_2_test: bool = Field(default=False, const=True) - default_test: bool = Field(default=True) - miss_default_test: bool = Field() - alias_test: bool = Field(default=False, alias="alias", alias_priority=2) - desc_test: bool = Field(default=False, description="test desc") - example_test: bool = Field(default=False, example=True) - field_test: bool = CustomerField(default=False) - title_test: bool = Field(default=False, title="title_test") - extra_test: bool = Field(default=False, customer_string="c1", customer_int=1) - - -class BytesTest(BaseModel): - const_test: bytes = Field(default=b"demo", const=True) - range_len_test: bytes = Field(default=b"", min_length=1, max_length=4) - prefix_test: bytes = Field(default=b"", prefix=b"prefix") - suffix_test: bytes = Field(default=b"", suffix=b"suffix") - contains_test: bytes = Field(default=b"", contains=b"contains") - in_test: bytes = Field(default=b"", in_=[b"a", b"b", b"c"]) - not_in_test: bytes = Field(default=b"", not_in=[b"a", b"b", b"c"]) - default_test: bytes = Field(default=b"default") - default_factory_test: bytes = Field(default_factory=bytes) - miss_default_test: bytes = Field() - alias_test: bytes = Field(default=b"", alias="alias", alias_priority=2) - desc_test: bytes = Field(default=b"", description="test desc") - example_test: bytes = Field(default=b"", example=b"example") - example_factory_test: bytes = Field(default=b"", example=bytes) - field_test: bytes = CustomerField(default=b"") - title_test: bytes = Field(default=b"", title="title_test") - type_test: constr() = Field(default=b"") - extra_test: bytes = Field(default=b"", customer_string="c1", customer_int=1) - - prefix_validator_prefix_test = validator("prefix_test", allow_reuse=True)(prefix_validator) - suffix_validator_suffix_test = validator("suffix_test", allow_reuse=True)(suffix_validator) - contains_validator_contains_test = validator("contains_test", allow_reuse=True)(contains_validator) - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class DoubleTest(BaseModel): - const_test: float = Field(default=1.0, const=True) - range_e_test: float = Field(default=0.0, ge=1, le=10) - range_test: float = Field(default=0.0, gt=1, lt=10) - in_test: float = Field(default=0.0, in_=[1.0, 2.0, 3.0]) - not_in_test: float = Field(default=0.0, not_in=[1.0, 2.0, 3.0]) - default_test: float = Field(default=1.0) - default_factory_test: float = Field(default_factory=float) - miss_default_test: float = Field() - alias_test: float = Field(default=0.0, alias="alias", alias_priority=2) - desc_test: float = Field(default=0.0, description="test desc") - multiple_of_test: float = Field(default=0.0, multiple_of=3) - example_test: float = Field(default=0.0, example=1.0) - example_factory: float = Field(default=0.0, example=float) - field_test: float = CustomerField(default=0.0) - type_test: confloat() = Field(default=0.0) - title_test: float = Field(default=0.0, title="title_test") - extra_test: float = Field(default=0.0, customer_string="c1", customer_int=1) - - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class DurationTest(BaseModel): - const_test: Timedelta = Field(default_factory=Timedelta, duration_const=timedelta(seconds=1, microseconds=500000)) - range_test: Timedelta = Field( - default_factory=Timedelta, - duration_lt=timedelta(seconds=10, microseconds=500000), - duration_gt=timedelta(seconds=5, microseconds=500000), - ) - range_e_test: Timedelta = Field( - default_factory=Timedelta, - duration_le=timedelta(seconds=10, microseconds=500000), - duration_ge=timedelta(seconds=5, microseconds=500000), - ) - in_test: Timedelta = Field( - default_factory=Timedelta, - duration_in=[timedelta(seconds=1, microseconds=500000), timedelta(seconds=3, microseconds=500000)], - ) - not_in_test: Timedelta = Field( - default_factory=Timedelta, - duration_not_in=[timedelta(seconds=1, microseconds=500000), timedelta(seconds=3, microseconds=500000)], - ) - default_test: Timedelta = Field(default=timedelta(seconds=1, microseconds=500000)) - default_factory_test: Timedelta = Field(default_factory=timedelta) - miss_default_test: Timedelta = Field() - alias_test: Timedelta = Field(default_factory=Timedelta, alias="alias", alias_priority=2) - desc_test: Timedelta = Field(default_factory=Timedelta, description="test desc") - example_test: Timedelta = Field(default_factory=Timedelta, example=timedelta(seconds=1, microseconds=500000)) - example_factory_test: Timedelta = Field(default_factory=Timedelta, example=timedelta) - field_test: Timedelta = CustomerField(default_factory=Timedelta) - title_test: Timedelta = Field(default_factory=Timedelta, title="title_test") - type_test: timedelta = Field(default_factory=Timedelta) - extra_test: Timedelta = Field(default_factory=Timedelta, customer_string="c1", customer_int=1) - - duration_const_validator_const_test = validator("const_test", allow_reuse=True)(duration_const_validator) - duration_lt_validator_range_test = validator("range_test", allow_reuse=True)(duration_lt_validator) - duration_gt_validator_range_test = validator("range_test", allow_reuse=True)(duration_gt_validator) - duration_le_validator_range_e_test = validator("range_e_test", allow_reuse=True)(duration_le_validator) - duration_ge_validator_range_e_test = validator("range_e_test", allow_reuse=True)(duration_ge_validator) - duration_in_validator_in_test = validator("in_test", allow_reuse=True)(duration_in_validator) - duration_not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(duration_not_in_validator) - - -class State(IntEnum): - INACTIVE = 0 - PENDING = 1 - ACTIVE = 2 - - -class EnumTest(BaseModel): - const_test: State = Field(default=2, const=True) - in_test: State = Field(default=0, in_=[0, 2]) - not_in_test: State = Field(default=0, not_in=[0, 2]) - default_test: State = Field(default=1) - miss_default_test: State = Field() - alias_test: State = Field(default=0, alias="alias", alias_priority=2) - desc_test: State = Field(default=0, description="test desc") - example_test: State = Field(default=0, example=2) - field_test: State = CustomerField(default=0) - title_test: State = Field(default=0, title="title_test") - extra_test: State = Field(default=0, customer_string="c1", customer_int=1) - - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class Fixed32Test(BaseModel): - const_test: float = Field(default=1, const=True) - range_e_test: float = Field(default=0, ge=1, le=10) - range_test: float = Field(default=0, gt=1, lt=10) - in_test: float = Field(default=0, in_=[1, 2, 3]) - not_in_test: float = Field(default=0, not_in=[1, 2, 3]) - default_test: float = Field(default=1.0) - default_factory_test: float = Field(default_factory=float) - miss_default_test: float = Field() - alias_test: float = Field(default=0, alias="alias", alias_priority=2) - desc_test: float = Field(default=0, description="test desc") - multiple_of_test: float = Field(default=0, multiple_of=3) - example_test: float = Field(default=0, example=1.0) - example_factory: float = Field(default=0, example=float) - field_test: float = CustomerField(default=0) - type_test: confloat() = Field(default=0) - title_test: float = Field(default=0, title="title_test") - extra_test: float = Field(default=0, customer_string="c1", customer_int=1) - - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class Fixed64Test(BaseModel): - const_test: float = Field(default=0) - range_e_test: float = Field(default=0, ge=1, le=10) - range_test: float = Field(default=0, gt=1, lt=10) - in_test: float = Field(default=0, in_=[1, 2, 3]) - not_in_test: float = Field(default=0, not_in=[1, 2, 3]) - default_test: float = Field(default=1.0) - default_factory_test: float = Field(default_factory=float) - miss_default_test: float = Field() - alias_test: float = Field(default=0, alias="alias", alias_priority=2) - desc_test: float = Field(default=0, description="test desc") - multiple_of_test: float = Field(default=0, multiple_of=3) - example_test: float = Field(default=0, example=1.0) - example_factory: float = Field(default=0, example=float) - field_test: float = CustomerField(default=0) - type_test: confloat() = Field(default=0) - title_test: float = Field(default=0, title="title_test") - extra_test: float = Field(default=0, customer_string="c1", customer_int=1) - - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class FloatTest(BaseModel): - const_test: float = Field(default=1.0, const=True) - range_e_test: float = Field(default=0.0, ge=1, le=10) - range_test: float = Field(default=0.0, gt=1, lt=10) - in_test: float = Field(default=0.0, in_=[1.0, 2.0, 3.0]) - not_in_test: float = Field(default=0.0, not_in=[1.0, 2.0, 3.0]) - default_test: float = Field(default=1.0) - default_factory_test: float = Field(default_factory=float) - miss_default_test: float = Field() - alias_test: float = Field(default=0.0, alias="alias", alias_priority=2) - desc_test: float = Field(default=0.0, description="test desc") - multiple_of_test: float = Field(default=0.0, multiple_of=3) - example_test: float = Field(default=0.0, example=1.0) - example_factory: float = Field(default=0.0, example=float) - field_test: float = CustomerField(default=0.0) - type_test: confloat() = Field(default=0.0) - title_test: float = Field(default=0.0, title="title_test") - extra_test: float = Field(default=0.0, customer_string="c1", customer_int=1) - - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class Int32Test(BaseModel): - const_test: int = Field(default=1, const=True) - range_e_test: int = Field(default=0, ge=1, le=10) - range_test: int = Field(default=0, gt=1, lt=10) - in_test: int = Field(default=0, in_=[1, 2, 3]) - not_in_test: int = Field(default=0, not_in=[1, 2, 3]) - default_test: int = Field(default=1.0) - default_factory_test: int = Field(default_factory=int) - miss_default_test: int = Field() - alias_test: int = Field(default=0, alias="alias", alias_priority=2) - desc_test: int = Field(default=0, description="test desc") - multiple_of_test: int = Field(default=0, multiple_of=3) - example_test: int = Field(default=0, example=1.0) - example_factory: int = Field(default=0, example=int) - field_test: int = CustomerField(default=0) - type_test: confloat() = Field(default=0) - title_test: int = Field(default=0, title="title_test") - extra_test: int = Field(default=0, customer_string="c1", customer_int=1) - - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class Int64Test(BaseModel): - const_test: int = Field(default=1, const=True) - range_e_test: int = Field(default=0, ge=1, le=10) - range_test: int = Field(default=0, gt=1, lt=10) - in_test: int = Field(default=0, in_=[1, 2, 3]) - not_in_test: int = Field(default=0, not_in=[1, 2, 3]) - default_test: int = Field(default=1.0) - default_factory_test: int = Field(default_factory=int) - miss_default_test: int = Field() - alias_test: int = Field(default=0, alias="alias", alias_priority=2) - desc_test: int = Field(default=0, description="test desc") - multiple_of_test: int = Field(default=0, multiple_of=3) - example_test: int = Field(default=0, example=1.0) - example_factory: int = Field(default=0, example=int) - field_test: int = CustomerField(default=0) - type_test: confloat() = Field(default=0) - title_test: int = Field(default=0, title="title_test") - extra_test: int = Field(default=0, customer_string="c1", customer_int=1) - - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class MapTest(BaseModel): - pair_test: typing.Dict[str, int] = Field(default_factory=dict, map_min_pairs=1, map_max_pairs=5) - keys_test: typing.Dict[constr(min_length=1, max_length=5), int] = Field(default_factory=dict) - values_test: typing.Dict[str, conint(ge=5, le=5)] = Field(default_factory=dict) - keys_values_test: typing.Dict[constr(min_length=1, max_length=5), contimestamp(timestamp_gt_now=True)] = Field( - default_factory=dict - ) - default_factory_test: typing.Dict[str, int] = Field(default_factory=dict) - miss_default_test: typing.Dict[str, int] = Field() - alias_test: typing.Dict[str, int] = Field(default_factory=dict, alias="alias", alias_priority=2) - desc_test: typing.Dict[str, int] = Field(default_factory=dict, description="test desc") - example_factory_test: typing.Dict[str, int] = Field(default_factory=dict, example=dict) - field_test: typing.Dict[str, int] = CustomerField(default_factory=dict) - title_test: typing.Dict[str, int] = Field(default_factory=dict, title="title_test") - type_test: dict = Field(default_factory=dict) - extra_test: typing.Dict[str, int] = Field(default_factory=dict, customer_string="c1", customer_int=1) - - map_min_pairs_validator_pair_test = validator("pair_test", allow_reuse=True)(map_min_pairs_validator) - map_max_pairs_validator_pair_test = validator("pair_test", allow_reuse=True)(map_max_pairs_validator) - - -class MessageIgnoredTest(BaseModel): - const_test: int = Field(default=0) - range_e_test: int = Field(default=0) - range_test: int = Field(default=0) - - -class MessageTest(BaseModel): - skip_test: str = Field(default="") - required_test: str = Field() - extra_test: str = Field(default="") - - -class StringTest(BaseModel): - const_test: str = Field(default="aaa", const=True) - len_test: str = Field(default="", len=3) - s_range_len_test: str = Field(default="", min_length=1, max_length=3) - pattern_test: str = Field(default="", regex="^test") - prefix_test: str = Field(default="", prefix="prefix") - suffix_test: str = Field(default="", suffix="suffix") - contains_test: str = Field(default="", contains="contains") - not_contains_test: str = Field(default="", not_contains="not_contains") - in_test: str = Field(default="", in_=["a", "b", "c"]) - not_in_test: str = Field(default="", not_in=["a", "b", "c"]) - email_test: EmailStr = Field(default="") - hostname_test: HostNameStr = Field(default="") - ip_test: IPvAnyAddress = Field(default="") - ipv4_test: IPv4Address = Field(default="") - ipv6_test: IPv6Address = Field(default="") - uri_test: AnyUrl = Field(default="") - uri_ref_test: UriRefStr = Field(default="") - address_test: IPvAnyAddress = Field(default="") - uuid_test: UUID = Field(default="") - pydantic_type_test: str = Field(default="") - default_test: str = Field(default="default") - default_factory_test: str = Field(default_factory=uuid4) - miss_default_test: str = Field() - alias_test: str = Field(default="", alias="alias", alias_priority=2) - desc_test: str = Field(default="", description="test desc") - example_test: str = Field(default="", example="example") - example_factory_test: str = Field(default="", example=uuid4) - field_test: str = CustomerField(default="") - title_test: str = Field(default="", title="title_test") - type_test: constr() = Field(default="") - extra_test: str = Field(default="", customer_string="c1", customer_int=1) - - len_validator_len_test = validator("len_test", allow_reuse=True)(len_validator) - prefix_validator_prefix_test = validator("prefix_test", allow_reuse=True)(prefix_validator) - suffix_validator_suffix_test = validator("suffix_test", allow_reuse=True)(suffix_validator) - contains_validator_contains_test = validator("contains_test", allow_reuse=True)(contains_validator) - not_contains_validator_not_contains_test = validator("not_contains_test", allow_reuse=True)(not_contains_validator) - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class NestedMessage(BaseModel): - class UserPayMessage(BaseModel): - bank_number: str = Field(default="", min_length=13, max_length=19) - exp: datetime = Field(default_factory=datetime.now, timestamp_gt_now=True) - uuid: UUID = Field(default="") - - timestamp_gt_now_validator_exp = validator("exp", allow_reuse=True)(timestamp_gt_now_validator) - - class NotEnableUserPayMessage(BaseModel): - bank_number: str = Field(default="") - exp: datetime = Field(default_factory=datetime.now) - uuid: str = Field(default="") - - string_in_map_test: typing.Dict[str, StringTest] = Field(default_factory=dict) - map_in_map_test: typing.Dict[str, MapTest] = Field(default_factory=dict) - user_pay: UserPayMessage = Field() - not_enable_user_pay: NotEnableUserPayMessage = Field() - empty: typing.Any = Field() - after_refer: AfterReferMessage = Field() - - -class OneOfNotTest(BaseModel): - _one_of_dict = {"p2p_validate_test.OneOfNotTest.id": {"fields": {"x", "y"}, "required": False}} - - header: str = Field(default="") - x: str = Field(default="") - y: int = Field(default=0) - - _check_one_of = root_validator(pre=True, allow_reuse=True)(check_one_of) - - -class OneOfTest(BaseModel): - _one_of_dict = {"p2p_validate_test.OneOfTest.id": {"fields": {"x", "y"}, "required": True}} - - header: str = Field(default="") - x: str = Field(default="") - y: int = Field(default=0) - - _check_one_of = root_validator(pre=True, allow_reuse=True)(check_one_of) - - -class RepeatedTest(BaseModel): - range_test: typing.List[str] = Field(default_factory=list, min_items=1, max_items=5) - unique_test: typing.List[str] = Field(default_factory=list, unique_items=True) - items_string_test: conlist(item_type=constr(min_length=1, max_length=5), min_items=1, max_items=5) = Field( - default_factory=list - ) - items_double_test: conlist(item_type=confloat(gt=1, lt=5), min_items=1, max_items=5) = Field(default_factory=list) - items_int32_test: conlist(item_type=conint(gt=1, lt=5), min_items=1, max_items=5) = Field(default_factory=list) - items_timestamp_test: conlist( - item_type=contimestamp(timestamp_gt=1600000000.0, timestamp_lt=1600000010.0), min_items=1, max_items=5 - ) = Field(default_factory=list) - items_duration_test: conlist( - item_type=contimedelta(duration_ge=timedelta(seconds=10), duration_le=timedelta(seconds=10)), - min_items=1, - max_items=5, - ) = Field(default_factory=list) - items_bytes_test: conlist(item_type=conbytes(min_length=1, max_length=5), min_items=1, max_items=5) = Field( - default_factory=list - ) - default_factory_test: typing.List[str] = Field(default_factory=list) - miss_default_test: typing.List[str] = Field() - alias_test: typing.List[str] = Field(default_factory=list, alias="alias", alias_priority=2) - desc_test: typing.List[str] = Field(default_factory=list, description="test desc") - example_factory_test: typing.List[str] = Field(default_factory=list, example=list) - field_test: typing.List[str] = CustomerField(default_factory=list) - title_test: typing.List[str] = Field(default_factory=list, title="title_test") - type_test: list = Field(default_factory=list) - extra_test: typing.List[str] = Field(default_factory=list, customer_string="c1", customer_int=1) - - -class Sfixed32Test(BaseModel): - const_test: float = Field(default=0) - range_e_test: float = Field(default=0, ge=1, le=10) - range_test: float = Field(default=0, gt=1, lt=10) - in_test: float = Field(default=0, in_=[1, 2, 3]) - not_in_test: float = Field(default=0, not_in=[1, 2, 3]) - default_test: float = Field(default=1.0) - default_factory_test: float = Field(default_factory=float) - miss_default_test: float = Field() - alias_test: float = Field(default=0, alias="alias", alias_priority=2) - desc_test: float = Field(default=0, description="test desc") - multiple_of_test: float = Field(default=0, multiple_of=3) - example_test: float = Field(default=0, example=1.0) - example_factory: float = Field(default=0, example=float) - field_test: float = CustomerField(default=0) - type_test: confloat() = Field(default=0) - title_test: float = Field(default=0, title="title_test") - extra_test: float = Field(default=0, customer_string="c1", customer_int=1) - - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class Sfixed64Test(BaseModel): - const_test: float = Field(default=0) - range_e_test: float = Field(default=0, ge=1, le=10) - range_test: float = Field(default=0, gt=1, lt=10) - in_test: float = Field(default=0, in_=[1, 2, 3]) - not_in_test: float = Field(default=0, not_in=[1, 2, 3]) - default_test: float = Field(default=1.0) - default_factory_test: float = Field(default_factory=float) - miss_default_test: float = Field() - alias_test: float = Field(default=0, alias="alias", alias_priority=2) - desc_test: float = Field(default=0, description="test desc") - multiple_of_test: float = Field(default=0, multiple_of=3) - example_test: float = Field(default=0, example=1.0) - example_factory: float = Field(default=0, example=float) - field_test: float = CustomerField(default=0) - type_test: confloat() = Field(default=0) - title_test: float = Field(default=0, title="title_test") - extra_test: float = Field(default=0, customer_string="c1", customer_int=1) - - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class Sint32Test(BaseModel): - const_test: int = Field(default=1, const=True) - range_e_test: int = Field(default=0, ge=1, le=10) - range_test: int = Field(default=0, gt=1, lt=10) - in_test: int = Field(default=0, in_=[1, 2, 3]) - not_in_test: int = Field(default=0, not_in=[1, 2, 3]) - default_test: int = Field(default=1.0) - default_factory_test: int = Field(default_factory=int) - miss_default_test: int = Field() - alias_test: int = Field(default=0, alias="alias", alias_priority=2) - desc_test: int = Field(default=0, description="test desc") - multiple_of_test: int = Field(default=0, multiple_of=3) - example_test: int = Field(default=0, example=1.0) - example_factory: int = Field(default=0, example=int) - field_test: int = CustomerField(default=0) - type_test: conint() = Field(default=0) - title_test: int = Field(default=0, title="title_test") - extra_test: int = Field(default=0, customer_string="c1", customer_int=1) - - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class Sint64Test(BaseModel): - const_test: int = Field(default=1, const=True) - range_e_test: int = Field(default=0, ge=1, le=10) - range_test: int = Field(default=0, gt=1, lt=10) - in_test: int = Field(default=0, in_=[1, 2, 3]) - not_in_test: int = Field(default=0, not_in=[1, 2, 3]) - default_test: int = Field(default=1.0) - default_factory_test: int = Field(default_factory=int) - miss_default_test: int = Field() - alias_test: int = Field(default=0, alias="alias", alias_priority=2) - desc_test: int = Field(default=0, description="test desc") - multiple_of_test: int = Field(default=0, multiple_of=3) - example_test: int = Field(default=0, example=1.0) - example_factory: int = Field(default=0, example=int) - field_test: int = CustomerField(default=0) - type_test: conint() = Field(default=0) - title_test: int = Field(default=0, title="title_test") - extra_test: int = Field(default=0, customer_string="c1", customer_int=1) - - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class TimestampTest(BaseModel): - const_test: datetime = Field(default_factory=datetime.now, timestamp_const=1600000000.0) - range_test: datetime = Field(default_factory=datetime.now, timestamp_lt=1600000010.0, timestamp_gt=1600000000.0) - range_e_test: datetime = Field(default_factory=datetime.now, timestamp_le=1600000010.0, timestamp_ge=1600000000.0) - lt_now_test: datetime = Field(default_factory=datetime.now, timestamp_lt_now=True) - gt_now_test: datetime = Field(default_factory=datetime.now, timestamp_gt_now=True) - within_test: datetime = Field(default_factory=datetime.now, timestamp_within=timedelta(seconds=1)) - within_and_gt_now_test: datetime = Field( - default_factory=datetime.now, timestamp_gt_now=True, timestamp_within=timedelta(seconds=3600) - ) - default_test: datetime = Field(default=1.5) - default_factory_test: datetime = Field(default_factory=datetime.now) - miss_default_test: datetime = Field() - alias_test: datetime = Field(default_factory=datetime.now, alias="alias", alias_priority=2) - desc_test: datetime = Field(default_factory=datetime.now, description="test desc") - example_test: datetime = Field(default_factory=datetime.now, example=1.5) - example_factory_test: datetime = Field(default_factory=datetime.now, example=datetime.now) - field_test: datetime = CustomerField(default_factory=datetime.now) - title_test: datetime = Field(default_factory=datetime.now, title="title_test") - type_test: datetime = Field(default_factory=datetime.now) - extra_test: datetime = Field(default_factory=datetime.now, customer_string="c1", customer_int=1) - - timestamp_const_validator_const_test = validator("const_test", allow_reuse=True)(timestamp_const_validator) - timestamp_lt_validator_range_test = validator("range_test", allow_reuse=True)(timestamp_lt_validator) - timestamp_gt_validator_range_test = validator("range_test", allow_reuse=True)(timestamp_gt_validator) - timestamp_le_validator_range_e_test = validator("range_e_test", allow_reuse=True)(timestamp_le_validator) - timestamp_ge_validator_range_e_test = validator("range_e_test", allow_reuse=True)(timestamp_ge_validator) - timestamp_lt_now_validator_lt_now_test = validator("lt_now_test", allow_reuse=True)(timestamp_lt_now_validator) - timestamp_gt_now_validator_gt_now_test = validator("gt_now_test", allow_reuse=True)(timestamp_gt_now_validator) - timestamp_within_validator_within_test = validator("within_test", allow_reuse=True)(timestamp_within_validator) - timestamp_gt_now_validator_within_and_gt_now_test = validator("within_and_gt_now_test", allow_reuse=True)( - timestamp_gt_now_validator - ) - timestamp_within_validator_within_and_gt_now_test = validator("within_and_gt_now_test", allow_reuse=True)( - timestamp_within_validator - ) - - -class Uint32Test(BaseModel): - const_test: int = Field(default=1, const=True) - range_e_test: int = Field(default=0, ge=1, le=10) - range_test: int = Field(default=0, gt=1, lt=10) - in_test: int = Field(default=0, in_=[1, 2, 3]) - not_in_test: int = Field(default=0, not_in=[1, 2, 3]) - default_test: int = Field(default=1.0) - default_factory_test: int = Field(default_factory=int) - miss_default_test: int = Field() - alias_test: int = Field(default=0, alias="alias", alias_priority=2) - desc_test: int = Field(default=0, description="test desc") - multiple_of_test: int = Field(default=0, multiple_of=3) - example_test: int = Field(default=0, example=1.0) - example_factory: int = Field(default=0, example=int) - field_test: int = CustomerField(default=0) - type_test: conint() = Field(default=0) - title_test: int = Field(default=0, title="title_test") - extra_test: int = Field(default=0, customer_string="c1", customer_int=1) - - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class Uint64Test(BaseModel): - const_test: int = Field(default=1, const=True) - range_e_test: int = Field(default=0, ge=1, le=10) - range_test: int = Field(default=0, gt=1, lt=10) - in_test: int = Field(default=0, in_=[1, 2, 3]) - not_in_test: int = Field(default=0, not_in=[1, 2, 3]) - default_test: int = Field(default=1.0) - default_factory_test: int = Field(default_factory=int) - miss_default_test: int = Field() - alias_test: int = Field(default=0, alias="alias", alias_priority=2) - desc_test: int = Field(default=0, description="test desc") - multiple_of_test: int = Field(default=0, multiple_of=3) - example_test: int = Field(default=0, example=1.0) - example_factory: int = Field(default=0, example=int) - field_test: int = CustomerField(default=0) - type_test: conint() = Field(default=0) - title_test: int = Field(default=0, title="title_test") - extra_test: int = Field(default=0, customer_string="c1", customer_int=1) - - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) diff --git a/example/proto_3_20/demo_gen_code_by_pgv.py b/example/proto_3_20/demo_gen_code_by_pgv.py deleted file mode 100644 index 0378934..0000000 --- a/example/proto_3_20/demo_gen_code_by_pgv.py +++ /dev/null @@ -1,437 +0,0 @@ -# This is an automatically generated file, please do not change -# gen by protobuf_to_pydantic[v0.1.7.3](https://github.com/so1n/protobuf_to_pydantic) -import typing -from datetime import datetime, timedelta -from enum import IntEnum -from ipaddress import IPv4Address, IPv6Address -from uuid import UUID - -from google.protobuf.any_pb2 import Any # type: ignore -from pydantic import BaseModel, Field, root_validator, validator -from pydantic.networks import AnyUrl, EmailStr, IPvAnyAddress -from pydantic.types import conbytes, confloat, conint, conlist, constr - -from protobuf_to_pydantic.customer_con_type import contimedelta, contimestamp -from protobuf_to_pydantic.customer_validator import ( - any_in_validator, - any_not_in_validator, - check_one_of, - contains_validator, - duration_const_validator, - duration_ge_validator, - duration_gt_validator, - duration_in_validator, - duration_le_validator, - duration_lt_validator, - duration_not_in_validator, - in_validator, - len_validator, - map_max_pairs_validator, - map_min_pairs_validator, - not_contains_validator, - not_in_validator, - prefix_validator, - suffix_validator, - timestamp_const_validator, - timestamp_ge_validator, - timestamp_gt_now_validator, - timestamp_gt_validator, - timestamp_le_validator, - timestamp_lt_now_validator, - timestamp_lt_validator, - timestamp_within_validator, -) -from protobuf_to_pydantic.get_desc.from_pb_option.types import HostNameStr, UriRefStr -from protobuf_to_pydantic.util import Timedelta - - -class AfterReferMessage(BaseModel): - uid: str = Field(default="", min_length=1) - age: int = Field(default=0, ge=0, lt=500) - - -class AnyTest(BaseModel): - class Config: - arbitrary_types_allowed = True - - required_test: Any = Field() - not_in_test: Any = Field( - default_factory=Any, - any_not_in=["type.googleapis.com/google.protobuf.Duration", "type.googleapis.com/google.protobuf.Timestamp"], - ) - in_test: Any = Field( - default_factory=Any, - any_in=["type.googleapis.com/google.protobuf.Duration", "type.googleapis.com/google.protobuf.Timestamp"], - ) - - any_not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(any_not_in_validator) - any_in_validator_in_test = validator("in_test", allow_reuse=True)(any_in_validator) - - -class BoolTest(BaseModel): - bool_1_test: bool = Field(default=True, const=True) - bool_2_test: bool = Field(default=False, const=True) - - -class BytesTest(BaseModel): - const_test: bytes = Field(default=b"demo", const=True) - len_test: bytes = Field(default=b"", len=4) - range_len_test: bytes = Field(default=b"", min_length=1, max_length=4) - pattern_test: bytes = Field(default=b"") - prefix_test: bytes = Field(default=b"", prefix=b"prefix") - suffix_test: bytes = Field(default=b"", suffix=b"suffix") - contains_test: bytes = Field(default=b"", contains=b"contains") - in_test: bytes = Field(default=b"", in_=[b"a", b"b", b"c"]) - not_in_test: bytes = Field(default=b"", not_in=[b"a", b"b", b"c"]) - - len_validator_len_test = validator("len_test", allow_reuse=True)(len_validator) - prefix_validator_prefix_test = validator("prefix_test", allow_reuse=True)(prefix_validator) - suffix_validator_suffix_test = validator("suffix_test", allow_reuse=True)(suffix_validator) - contains_validator_contains_test = validator("contains_test", allow_reuse=True)(contains_validator) - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class DoubleTest(BaseModel): - const_test: float = Field(default=1.0, const=True) - range_e_test: float = Field(default=0.0, ge=1, le=10) - range_test: float = Field(default=0.0, gt=1, lt=10) - in_test: float = Field(default=0.0, in_=[1.0, 2.0, 3.0]) - not_in_test: float = Field(default=0.0, not_in=[1.0, 2.0, 3.0]) - ignore_test: float = Field(default=0.0) - - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class DurationTest(BaseModel): - required_test: Timedelta = Field() - const_test: Timedelta = Field(default_factory=Timedelta, duration_const=timedelta(seconds=1, microseconds=500000)) - range_test: Timedelta = Field( - default_factory=Timedelta, - duration_lt=timedelta(seconds=10, microseconds=500000), - duration_gt=timedelta(seconds=5, microseconds=500000), - ) - range_e_test: Timedelta = Field( - default_factory=Timedelta, - duration_le=timedelta(seconds=10, microseconds=500000), - duration_ge=timedelta(seconds=5, microseconds=500000), - ) - in_test: Timedelta = Field( - default_factory=Timedelta, - duration_in=[timedelta(seconds=1, microseconds=500000), timedelta(seconds=3, microseconds=500000)], - ) - not_in_test: Timedelta = Field( - default_factory=Timedelta, - duration_not_in=[timedelta(seconds=1, microseconds=500000), timedelta(seconds=3, microseconds=500000)], - ) - - duration_const_validator_const_test = validator("const_test", allow_reuse=True)(duration_const_validator) - duration_lt_validator_range_test = validator("range_test", allow_reuse=True)(duration_lt_validator) - duration_gt_validator_range_test = validator("range_test", allow_reuse=True)(duration_gt_validator) - duration_le_validator_range_e_test = validator("range_e_test", allow_reuse=True)(duration_le_validator) - duration_ge_validator_range_e_test = validator("range_e_test", allow_reuse=True)(duration_ge_validator) - duration_in_validator_in_test = validator("in_test", allow_reuse=True)(duration_in_validator) - duration_not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(duration_not_in_validator) - - -class State(IntEnum): - INACTIVE = 0 - PENDING = 1 - ACTIVE = 2 - - -class EnumTest(BaseModel): - const_test: State = Field(default=2, const=True) - defined_only_test: State = Field(default=0) - in_test: State = Field(default=0, in_=[0, 2]) - not_in_test: State = Field(default=0, not_in=[0, 2]) - - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class Fixed32Test(BaseModel): - const_test: float = Field(default=1, const=True) - range_e_test: float = Field(default=0, ge=1, le=10) - range_test: float = Field(default=0, gt=1, lt=10) - in_test: float = Field(default=0, in_=[1, 2, 3]) - not_in_test: float = Field(default=0, not_in=[1, 2, 3]) - ignore_test: float = Field(default=0) - - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class Fixed64Test(BaseModel): - const_test: float = Field(default=1, const=True) - range_e_test: float = Field(default=0, ge=1, le=10) - range_test: float = Field(default=0, gt=1, lt=10) - in_test: float = Field(default=0, in_=[1, 2, 3]) - not_in_test: float = Field(default=0, not_in=[1, 2, 3]) - ignore_test: float = Field(default=0) - - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class FloatTest(BaseModel): - const_test: float = Field(default=1.0, const=True) - range_e_test: float = Field(default=0.0, ge=1, le=10) - range_test: float = Field(default=0.0, gt=1, lt=10) - in_test: float = Field(default=0.0, in_=[1.0, 2.0, 3.0]) - not_in_test: float = Field(default=0.0, not_in=[1.0, 2.0, 3.0]) - ignore_test: float = Field(default=0.0) - - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class Int32Test(BaseModel): - const_test: int = Field(default=1, const=True) - range_e_test: int = Field(default=0, ge=1, le=10) - range_test: int = Field(default=0, gt=1, lt=10) - in_test: int = Field(default=0, in_=[1, 2, 3]) - not_in_test: int = Field(default=0, not_in=[1, 2, 3]) - ignore_test: int = Field(default=0) - - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class Int64Test(BaseModel): - const_test: int = Field(default=1, const=True) - range_e_test: int = Field(default=0, ge=1, le=10) - range_test: int = Field(default=0, gt=1, lt=10) - in_test: int = Field(default=0, in_=[1, 2, 3]) - not_in_test: int = Field(default=0, not_in=[1, 2, 3]) - ignore_test: int = Field(default=0) - - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class MapTest(BaseModel): - pair_test: typing.Dict[str, int] = Field(default_factory=dict, map_min_pairs=1, map_max_pairs=5) - no_parse_test: typing.Dict[str, int] = Field(default_factory=dict) - keys_test: typing.Dict[constr(min_length=1, max_length=5), int] = Field(default_factory=dict) - values_test: typing.Dict[str, conint(ge=5, le=5)] = Field(default_factory=dict) - keys_values_test: typing.Dict[constr(min_length=1, max_length=5), contimestamp(timestamp_gt_now=True)] = Field( - default_factory=dict - ) - ignore_test: typing.Dict[str, int] = Field(default_factory=dict) - - map_min_pairs_validator_pair_test = validator("pair_test", allow_reuse=True)(map_min_pairs_validator) - map_max_pairs_validator_pair_test = validator("pair_test", allow_reuse=True)(map_max_pairs_validator) - - -class MessageDisabledTest(BaseModel): - const_test: int = Field(default=0) - range_e_test: int = Field(default=0) - range_test: int = Field(default=0) - - -class MessageIgnoredTest(BaseModel): - const_test: int = Field(default=0) - range_e_test: int = Field(default=0) - range_test: int = Field(default=0) - - -class MessageTest(BaseModel): - skip_test: str = Field(default="") - required_test: str = Field() - - -class StringTest(BaseModel): - const_test: str = Field(default="aaa", const=True) - len_test: str = Field(default="", len=3) - s_range_len_test: str = Field(default="", min_length=1, max_length=3) - b_range_len_test: str = Field(default="") - pattern_test: str = Field(default="", regex="^test") - prefix_test: str = Field(default="", prefix="prefix") - suffix_test: str = Field(default="", suffix="suffix") - contains_test: str = Field(default="", contains="contains") - not_contains_test: str = Field(default="", not_contains="not_contains") - in_test: str = Field(default="", in_=["a", "b", "c"]) - not_in_test: str = Field(default="", not_in=["a", "b", "c"]) - email_test: EmailStr = Field(default="") - hostname_test: HostNameStr = Field(default="") - ip_test: IPvAnyAddress = Field(default="") - ipv4_test: IPv4Address = Field(default="") - ipv6_test: IPv6Address = Field(default="") - uri_test: AnyUrl = Field(default="") - uri_ref_test: UriRefStr = Field(default="") - address_test: IPvAnyAddress = Field(default="") - uuid_test: UUID = Field(default="") - ignore_test: str = Field(default="") - - len_validator_len_test = validator("len_test", allow_reuse=True)(len_validator) - prefix_validator_prefix_test = validator("prefix_test", allow_reuse=True)(prefix_validator) - suffix_validator_suffix_test = validator("suffix_test", allow_reuse=True)(suffix_validator) - contains_validator_contains_test = validator("contains_test", allow_reuse=True)(contains_validator) - not_contains_validator_not_contains_test = validator("not_contains_test", allow_reuse=True)(not_contains_validator) - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class NestedMessage(BaseModel): - class UserPayMessage(BaseModel): - bank_number: str = Field(default="", min_length=13, max_length=19) - exp: datetime = Field(default_factory=datetime.now, timestamp_gt_now=True) - uuid: UUID = Field(default="") - - timestamp_gt_now_validator_exp = validator("exp", allow_reuse=True)(timestamp_gt_now_validator) - - class NotEnableUserPayMessage(BaseModel): - bank_number: str = Field(default="") - exp: datetime = Field(default_factory=datetime.now) - uuid: str = Field(default="") - - string_in_map_test: typing.Dict[str, StringTest] = Field(default_factory=dict) - map_in_map_test: typing.Dict[str, MapTest] = Field(default_factory=dict) - user_pay: UserPayMessage = Field() - not_enable_user_pay: NotEnableUserPayMessage = Field() - empty: typing.Any = Field() - after_refer: AfterReferMessage = Field() - - -class OneOfNotTest(BaseModel): - _one_of_dict = {"validate_test.OneOfNotTest.id": {"fields": {"x", "y"}, "required": False}} - - header: str = Field(default="") - x: str = Field(default="") - y: int = Field(default=0) - - _check_one_of = root_validator(pre=True, allow_reuse=True)(check_one_of) - - -class OneOfTest(BaseModel): - _one_of_dict = {"validate_test.OneOfTest.id": {"fields": {"x", "y"}, "required": True}} - - header: str = Field(default="") - x: str = Field(default="") - y: int = Field(default=0) - - _check_one_of = root_validator(pre=True, allow_reuse=True)(check_one_of) - - -class RepeatedTest(BaseModel): - range_test: typing.List[str] = Field(default_factory=list, min_items=1, max_items=5) - unique_test: typing.List[str] = Field(default_factory=list, unique_items=True) - items_string_test: conlist(item_type=constr(min_length=1, max_length=5), min_items=1, max_items=5) = Field( - default_factory=list - ) - items_double_test: conlist(item_type=confloat(gt=1, lt=5), min_items=1, max_items=5) = Field(default_factory=list) - items_int32_test: conlist(item_type=conint(gt=1, lt=5), min_items=1, max_items=5) = Field(default_factory=list) - items_timestamp_test: conlist( - item_type=contimestamp(timestamp_gt=1600000000.0, timestamp_lt=1600000010.0), min_items=1, max_items=5 - ) = Field(default_factory=list) - items_duration_test: conlist( - item_type=contimedelta(duration_gt=timedelta(seconds=10), duration_lt=timedelta(seconds=20)), - min_items=1, - max_items=5, - ) = Field(default_factory=list) - items_bytes_test: conlist(item_type=conbytes(min_length=1, max_length=5), min_items=1, max_items=5) = Field( - default_factory=list - ) - ignore_test: typing.List[str] = Field(default_factory=list) - - -class Sfixed32Test(BaseModel): - const_test: float = Field(default=1, const=True) - range_e_test: float = Field(default=0, ge=1, le=10) - range_test: float = Field(default=0, gt=1, lt=10) - in_test: float = Field(default=0, in_=[1, 2, 3]) - not_in_test: float = Field(default=0, not_in=[1, 2, 3]) - ignore_test: float = Field(default=0) - - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class Sfixed64Test(BaseModel): - const_test: float = Field(default=1, const=True) - range_e_test: float = Field(default=0, ge=1, le=10) - range_test: float = Field(default=0, gt=1, lt=10) - in_test: float = Field(default=0, in_=[1, 2, 3]) - not_in_test: float = Field(default=0, not_in=[1, 2, 3]) - ignore_test: float = Field(default=0) - - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class Sint32Test(BaseModel): - const_test: int = Field(default=1, const=True) - range_e_test: int = Field(default=0, ge=1, le=10) - range_test: int = Field(default=0, gt=1, lt=10) - in_test: int = Field(default=0, in_=[1, 2, 3]) - not_in_test: int = Field(default=0, not_in=[1, 2, 3]) - ignore_test: int = Field(default=0) - - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class Sint64Test(BaseModel): - const_test: int = Field(default=1, const=True) - range_e_test: int = Field(default=0, ge=1, le=10) - range_test: int = Field(default=0, gt=1, lt=10) - in_test: int = Field(default=0, in_=[1, 2, 3]) - not_in_test: int = Field(default=0, not_in=[1, 2, 3]) - ignore_test: int = Field(default=0) - - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class TimestampTest(BaseModel): - required_test: datetime = Field() - const_test: datetime = Field(default_factory=datetime.now, timestamp_const=1600000000.0) - range_test: datetime = Field(default_factory=datetime.now, timestamp_lt=1600000010.0, timestamp_gt=1600000000.0) - range_e_test: datetime = Field(default_factory=datetime.now, timestamp_le=1600000010.0, timestamp_ge=1600000000.0) - lt_now_test: datetime = Field(default_factory=datetime.now, timestamp_lt_now=True) - gt_now_test: datetime = Field(default_factory=datetime.now, timestamp_gt_now=True) - within_test: datetime = Field(default_factory=datetime.now, timestamp_within=timedelta(seconds=1)) - within_and_gt_now_test: datetime = Field( - default_factory=datetime.now, timestamp_gt_now=True, timestamp_within=timedelta(seconds=3600) - ) - - timestamp_const_validator_const_test = validator("const_test", allow_reuse=True)(timestamp_const_validator) - timestamp_lt_validator_range_test = validator("range_test", allow_reuse=True)(timestamp_lt_validator) - timestamp_gt_validator_range_test = validator("range_test", allow_reuse=True)(timestamp_gt_validator) - timestamp_le_validator_range_e_test = validator("range_e_test", allow_reuse=True)(timestamp_le_validator) - timestamp_ge_validator_range_e_test = validator("range_e_test", allow_reuse=True)(timestamp_ge_validator) - timestamp_lt_now_validator_lt_now_test = validator("lt_now_test", allow_reuse=True)(timestamp_lt_now_validator) - timestamp_gt_now_validator_gt_now_test = validator("gt_now_test", allow_reuse=True)(timestamp_gt_now_validator) - timestamp_within_validator_within_test = validator("within_test", allow_reuse=True)(timestamp_within_validator) - timestamp_gt_now_validator_within_and_gt_now_test = validator("within_and_gt_now_test", allow_reuse=True)( - timestamp_gt_now_validator - ) - timestamp_within_validator_within_and_gt_now_test = validator("within_and_gt_now_test", allow_reuse=True)( - timestamp_within_validator - ) - - -class Uint32Test(BaseModel): - const_test: int = Field(default=1, const=True) - range_e_test: int = Field(default=0, ge=1, le=10) - range_test: int = Field(default=0, gt=1, lt=10) - in_test: int = Field(default=0, in_=[1, 2, 3]) - not_in_test: int = Field(default=0, not_in=[1, 2, 3]) - ignore_test: int = Field(default=0) - - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) - - -class Uint64Test(BaseModel): - const_test: int = Field(default=1, const=True) - range_e_test: int = Field(default=0, ge=1, le=10) - range_test: int = Field(default=0, gt=1, lt=10) - in_test: int = Field(default=0, in_=[1, 2, 3]) - not_in_test: int = Field(default=0, not_in=[1, 2, 3]) - ignore_test: int = Field(default=0) - - in_validator_in_test = validator("in_test", allow_reuse=True)(in_validator) - not_in_validator_not_in_test = validator("not_in_test", allow_reuse=True)(not_in_validator) diff --git a/example/proto_3_20/demo_gen_code_by_text_comment_protobuf_field.py b/example/proto_3_20/demo_gen_code_by_text_comment_protobuf_field.py deleted file mode 100644 index 8c2efa3..0000000 --- a/example/proto_3_20/demo_gen_code_by_text_comment_protobuf_field.py +++ /dev/null @@ -1,91 +0,0 @@ -# This is an automatically generated file, please do not change -# gen by protobuf_to_pydantic[v0.1.7.3](https://github.com/so1n/protobuf_to_pydantic) -import typing -from datetime import datetime -from enum import IntEnum -from uuid import uuid4 - -from pydantic import BaseModel, Field -from pydantic.types import PaymentCardNumber - -from example.gen_text_comment_code import exp_time - - -class AfterReferMessage(BaseModel): - uid: str = Field(title="UID", description="user union id", example="10086") - age: int = Field(default=0, title="use age", ge=0, example=18) - - -class EmptyMessage(BaseModel): - pass - - -class InvoiceItem(BaseModel): - name: str = Field(default="") - amount: int = Field(default=0) - quantity: int = Field(default=0) - items: typing.List["InvoiceItem"] = Field(default_factory=list) - - -class SexType(IntEnum): - man = 0 - women = 1 - - -class ExampleExampleProtoCommonSingleDemoEnum(IntEnum): - """Note: The current class does not belong to the package - ExampleExampleProtoCommonSingleDemoEnum protobuf path:example/example_proto/common/single.proto""" - - zero = 0 - one = 1 - two = 3 - - -class ExampleExampleProtoCommonSingleDemoMessage(BaseModel): - """Note: The current class does not belong to the package - ExampleExampleProtoCommonSingleDemoMessage protobuf path:example/example_proto/common/single.proto""" - - earth: str = Field(default="") - mercury: str = Field(default="") - mars: str = Field(default="") - - -class UserMessage(BaseModel): - uid: str = Field(title="UID", description="user union id", example="10086") - age: int = Field(default=0, title="use age", ge=0, example=18) - height: float = Field(default=0.0, ge=0, le=2) - sex: SexType = Field(default=0) - demo: ExampleExampleProtoCommonSingleDemoEnum = Field(default=0) - is_adult: bool = Field(default=False) - user_name: str = Field(default="", description="user name", min_length=1, max_length=10, example="so1n") - demo_message: ExampleExampleProtoCommonSingleDemoMessage = Field(customer_string="c1", customer_int=1) - - -class MapMessage(BaseModel): - user_map: typing.Dict[str, UserMessage] = Field(default_factory=dict) - user_flag: typing.Dict[str, bool] = Field(default_factory=dict) - - -class RepeatedMessage(BaseModel): - str_list: typing.List[str] = Field(default_factory=list, min_items=3, max_items=5) - int_list: typing.List[int] = Field(default_factory=list, min_items=1, max_items=5, unique_items=True) - user_list: typing.List[UserMessage] = Field(default_factory=list) - - -class NestedMessage(BaseModel): - class UserPayMessage(BaseModel): - bank_number: PaymentCardNumber = Field(default="") - exp: datetime = Field(default_factory=exp_time) - uuid: str = Field(default_factory=uuid4) - - class IncludeEnum(IntEnum): - zero = 0 - one = 1 - two = 2 - - user_list_map: typing.Dict[str, RepeatedMessage] = Field(default_factory=dict) - user_map: typing.Dict[str, MapMessage] = Field(default_factory=dict) - user_pay: UserPayMessage = Field() - include_enum: IncludeEnum = Field(default=0) - empty: typing.Any = Field() - after_refer: AfterReferMessage = Field() diff --git a/example/proto_3_20/demo_gen_code_by_text_comment_pyi.py b/example/proto_3_20/demo_gen_code_by_text_comment_pyi.py deleted file mode 100644 index 8c2efa3..0000000 --- a/example/proto_3_20/demo_gen_code_by_text_comment_pyi.py +++ /dev/null @@ -1,91 +0,0 @@ -# This is an automatically generated file, please do not change -# gen by protobuf_to_pydantic[v0.1.7.3](https://github.com/so1n/protobuf_to_pydantic) -import typing -from datetime import datetime -from enum import IntEnum -from uuid import uuid4 - -from pydantic import BaseModel, Field -from pydantic.types import PaymentCardNumber - -from example.gen_text_comment_code import exp_time - - -class AfterReferMessage(BaseModel): - uid: str = Field(title="UID", description="user union id", example="10086") - age: int = Field(default=0, title="use age", ge=0, example=18) - - -class EmptyMessage(BaseModel): - pass - - -class InvoiceItem(BaseModel): - name: str = Field(default="") - amount: int = Field(default=0) - quantity: int = Field(default=0) - items: typing.List["InvoiceItem"] = Field(default_factory=list) - - -class SexType(IntEnum): - man = 0 - women = 1 - - -class ExampleExampleProtoCommonSingleDemoEnum(IntEnum): - """Note: The current class does not belong to the package - ExampleExampleProtoCommonSingleDemoEnum protobuf path:example/example_proto/common/single.proto""" - - zero = 0 - one = 1 - two = 3 - - -class ExampleExampleProtoCommonSingleDemoMessage(BaseModel): - """Note: The current class does not belong to the package - ExampleExampleProtoCommonSingleDemoMessage protobuf path:example/example_proto/common/single.proto""" - - earth: str = Field(default="") - mercury: str = Field(default="") - mars: str = Field(default="") - - -class UserMessage(BaseModel): - uid: str = Field(title="UID", description="user union id", example="10086") - age: int = Field(default=0, title="use age", ge=0, example=18) - height: float = Field(default=0.0, ge=0, le=2) - sex: SexType = Field(default=0) - demo: ExampleExampleProtoCommonSingleDemoEnum = Field(default=0) - is_adult: bool = Field(default=False) - user_name: str = Field(default="", description="user name", min_length=1, max_length=10, example="so1n") - demo_message: ExampleExampleProtoCommonSingleDemoMessage = Field(customer_string="c1", customer_int=1) - - -class MapMessage(BaseModel): - user_map: typing.Dict[str, UserMessage] = Field(default_factory=dict) - user_flag: typing.Dict[str, bool] = Field(default_factory=dict) - - -class RepeatedMessage(BaseModel): - str_list: typing.List[str] = Field(default_factory=list, min_items=3, max_items=5) - int_list: typing.List[int] = Field(default_factory=list, min_items=1, max_items=5, unique_items=True) - user_list: typing.List[UserMessage] = Field(default_factory=list) - - -class NestedMessage(BaseModel): - class UserPayMessage(BaseModel): - bank_number: PaymentCardNumber = Field(default="") - exp: datetime = Field(default_factory=exp_time) - uuid: str = Field(default_factory=uuid4) - - class IncludeEnum(IntEnum): - zero = 0 - one = 1 - two = 2 - - user_list_map: typing.Dict[str, RepeatedMessage] = Field(default_factory=dict) - user_map: typing.Dict[str, MapMessage] = Field(default_factory=dict) - user_pay: UserPayMessage = Field() - include_enum: IncludeEnum = Field(default=0) - empty: typing.Any = Field() - after_refer: AfterReferMessage = Field() diff --git a/example/proto_3_20/example/example_proto/common/__init__.py b/example/proto_3_20/example/example_proto/common/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/example/proto_3_20/example/example_proto/common/p2p_validate_pb2.py b/example/proto_3_20/example/example_proto/common/p2p_validate_pb2.py deleted file mode 100644 index 609dd60..0000000 --- a/example/proto_3_20/example/example_proto/common/p2p_validate_pb2.py +++ /dev/null @@ -1,12615 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: example/example_proto/common/p2p_validate.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database - -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - -DESCRIPTOR = _descriptor.FileDescriptor( - name="example/example_proto/common/p2p_validate.proto", - package="p2p_validate", - syntax="proto3", - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n/example/example_proto/common/p2p_validate.proto\x12\x0cp2p_validate\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x81\x08\n\nFieldRules\x12\x30\n\x07message\x18\x11 \x01(\x0b\x32\x1a.p2p_validate.MessageRulesH\x01\x88\x01\x01\x12)\n\x05\x66loat\x18\x01 \x01(\x0b\x32\x18.p2p_validate.FloatRulesH\x00\x12+\n\x06\x64ouble\x18\x02 \x01(\x0b\x32\x19.p2p_validate.DoubleRulesH\x00\x12)\n\x05int32\x18\x03 \x01(\x0b\x32\x18.p2p_validate.Int32RulesH\x00\x12)\n\x05int64\x18\x04 \x01(\x0b\x32\x18.p2p_validate.Int64RulesH\x00\x12+\n\x06uint32\x18\x05 \x01(\x0b\x32\x19.p2p_validate.UInt32RulesH\x00\x12+\n\x06uint64\x18\x06 \x01(\x0b\x32\x19.p2p_validate.UInt64RulesH\x00\x12+\n\x06sint32\x18\x07 \x01(\x0b\x32\x19.p2p_validate.SInt32RulesH\x00\x12+\n\x06sint64\x18\x08 \x01(\x0b\x32\x19.p2p_validate.SInt64RulesH\x00\x12-\n\x07\x66ixed32\x18\t \x01(\x0b\x32\x1a.p2p_validate.Fixed32RulesH\x00\x12-\n\x07\x66ixed64\x18\n \x01(\x0b\x32\x1a.p2p_validate.Fixed64RulesH\x00\x12/\n\x08sfixed32\x18\x0b \x01(\x0b\x32\x1b.p2p_validate.SFixed32RulesH\x00\x12/\n\x08sfixed64\x18\x0c \x01(\x0b\x32\x1b.p2p_validate.SFixed64RulesH\x00\x12\'\n\x04\x62ool\x18\r \x01(\x0b\x32\x17.p2p_validate.BoolRulesH\x00\x12+\n\x06string\x18\x0e \x01(\x0b\x32\x19.p2p_validate.StringRulesH\x00\x12)\n\x05\x62ytes\x18\x0f \x01(\x0b\x32\x18.p2p_validate.BytesRulesH\x00\x12\'\n\x04\x65num\x18\x10 \x01(\x0b\x32\x17.p2p_validate.EnumRulesH\x00\x12/\n\x08repeated\x18\x12 \x01(\x0b\x32\x1b.p2p_validate.RepeatedRulesH\x00\x12%\n\x03map\x18\x13 \x01(\x0b\x32\x16.p2p_validate.MapRulesH\x00\x12%\n\x03\x61ny\x18\x14 \x01(\x0b\x32\x16.p2p_validate.AnyRulesH\x00\x12/\n\x08\x64uration\x18\x15 \x01(\x0b\x32\x1b.p2p_validate.DurationRulesH\x00\x12\x31\n\ttimestamp\x18\x16 \x01(\x0b\x32\x1c.p2p_validate.TimestampRulesH\x00\x42\x06\n\x04typeB\n\n\x08_message"\xc6\x04\n\nFloatRules\x12\x12\n\x05\x63onst\x18\x01 \x01(\x02H\x02\x88\x01\x01\x12\x0f\n\x02lt\x18\x02 \x01(\x02H\x03\x88\x01\x01\x12\x0f\n\x02le\x18\x03 \x01(\x02H\x04\x88\x01\x01\x12\x0f\n\x02gt\x18\x04 \x01(\x02H\x05\x88\x01\x01\x12\x0f\n\x02ge\x18\x05 \x01(\x02H\x06\x88\x01\x01\x12\n\n\x02in\x18\x06 \x03(\x02\x12\x0e\n\x06not_in\x18\x07 \x03(\x02\x12\x13\n\x06\x65nable\x18\x08 \x01(\x08H\x07\x88\x01\x01\x12\x11\n\x07\x64\x65\x66\x61ult\x18\t \x01(\x02H\x00\x12\x19\n\x0f\x64\x65\x66\x61ult_factory\x18\n \x01(\tH\x00\x12\x16\n\x0cmiss_default\x18\x0b \x01(\x08H\x00\x12\x12\n\x05\x61lias\x18\x0c \x01(\tH\x08\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\r \x01(\tH\t\x88\x01\x01\x12\x18\n\x0bmultiple_of\x18\x0e \x01(\x02H\n\x88\x01\x01\x12\x11\n\x07\x65xample\x18\x0f \x01(\x02H\x01\x12\x19\n\x0f\x65xample_factory\x18\x10 \x01(\tH\x01\x12\x12\n\x05\x66ield\x18\x11 \x01(\tH\x0b\x88\x01\x01\x12\x11\n\x04type\x18\x12 \x01(\tH\x0c\x88\x01\x01\x12\x12\n\x05title\x18\x13 \x01(\tH\r\x88\x01\x01\x12\x12\n\x05\x65xtra\x18\x14 \x01(\tH\x0e\x88\x01\x01\x42\x10\n\x0e\x64\x65\x66\x61ult_configB\x10\n\x0e\x65xample_configB\x08\n\x06_constB\x05\n\x03_ltB\x05\n\x03_leB\x05\n\x03_gtB\x05\n\x03_geB\t\n\x07_enableB\x08\n\x06_aliasB\x0e\n\x0c_descriptionB\x0e\n\x0c_multiple_ofB\x08\n\x06_fieldB\x07\n\x05_typeB\x08\n\x06_titleB\x08\n\x06_extra"\xc7\x04\n\x0b\x44oubleRules\x12\x12\n\x05\x63onst\x18\x01 \x01(\x01H\x02\x88\x01\x01\x12\x0f\n\x02lt\x18\x02 \x01(\x01H\x03\x88\x01\x01\x12\x0f\n\x02le\x18\x03 \x01(\x01H\x04\x88\x01\x01\x12\x0f\n\x02gt\x18\x04 \x01(\x01H\x05\x88\x01\x01\x12\x0f\n\x02ge\x18\x05 \x01(\x01H\x06\x88\x01\x01\x12\n\n\x02in\x18\x06 \x03(\x01\x12\x0e\n\x06not_in\x18\x07 \x03(\x01\x12\x13\n\x06\x65nable\x18\x08 \x01(\x08H\x07\x88\x01\x01\x12\x11\n\x07\x64\x65\x66\x61ult\x18\t \x01(\x02H\x00\x12\x19\n\x0f\x64\x65\x66\x61ult_factory\x18\n \x01(\tH\x00\x12\x16\n\x0cmiss_default\x18\x0b \x01(\x08H\x00\x12\x12\n\x05\x61lias\x18\x0c \x01(\tH\x08\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\r \x01(\tH\t\x88\x01\x01\x12\x18\n\x0bmultiple_of\x18\x0e \x01(\x02H\n\x88\x01\x01\x12\x11\n\x07\x65xample\x18\x0f \x01(\x02H\x01\x12\x19\n\x0f\x65xample_factory\x18\x10 \x01(\tH\x01\x12\x12\n\x05\x66ield\x18\x11 \x01(\tH\x0b\x88\x01\x01\x12\x11\n\x04type\x18\x12 \x01(\tH\x0c\x88\x01\x01\x12\x12\n\x05title\x18\x13 \x01(\tH\r\x88\x01\x01\x12\x12\n\x05\x65xtra\x18\x14 \x01(\tH\x0e\x88\x01\x01\x42\x10\n\x0e\x64\x65\x66\x61ult_configB\x10\n\x0e\x65xample_configB\x08\n\x06_constB\x05\n\x03_ltB\x05\n\x03_leB\x05\n\x03_gtB\x05\n\x03_geB\t\n\x07_enableB\x08\n\x06_aliasB\x0e\n\x0c_descriptionB\x0e\n\x0c_multiple_ofB\x08\n\x06_fieldB\x07\n\x05_typeB\x08\n\x06_titleB\x08\n\x06_extra"\xc6\x04\n\nInt32Rules\x12\x12\n\x05\x63onst\x18\x01 \x01(\x05H\x02\x88\x01\x01\x12\x0f\n\x02lt\x18\x02 \x01(\x05H\x03\x88\x01\x01\x12\x0f\n\x02le\x18\x03 \x01(\x05H\x04\x88\x01\x01\x12\x0f\n\x02gt\x18\x04 \x01(\x05H\x05\x88\x01\x01\x12\x0f\n\x02ge\x18\x05 \x01(\x05H\x06\x88\x01\x01\x12\n\n\x02in\x18\x06 \x03(\x05\x12\x0e\n\x06not_in\x18\x07 \x03(\x05\x12\x13\n\x06\x65nable\x18\x08 \x01(\x08H\x07\x88\x01\x01\x12\x11\n\x07\x64\x65\x66\x61ult\x18\t \x01(\x02H\x00\x12\x19\n\x0f\x64\x65\x66\x61ult_factory\x18\n \x01(\tH\x00\x12\x16\n\x0cmiss_default\x18\x0b \x01(\x08H\x00\x12\x12\n\x05\x61lias\x18\x0c \x01(\tH\x08\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\r \x01(\tH\t\x88\x01\x01\x12\x18\n\x0bmultiple_of\x18\x0e \x01(\x02H\n\x88\x01\x01\x12\x11\n\x07\x65xample\x18\x0f \x01(\x02H\x01\x12\x19\n\x0f\x65xample_factory\x18\x10 \x01(\tH\x01\x12\x12\n\x05\x66ield\x18\x11 \x01(\tH\x0b\x88\x01\x01\x12\x11\n\x04type\x18\x12 \x01(\tH\x0c\x88\x01\x01\x12\x12\n\x05title\x18\x13 \x01(\tH\r\x88\x01\x01\x12\x12\n\x05\x65xtra\x18\x14 \x01(\tH\x0e\x88\x01\x01\x42\x10\n\x0e\x64\x65\x66\x61ult_configB\x10\n\x0e\x65xample_configB\x08\n\x06_constB\x05\n\x03_ltB\x05\n\x03_leB\x05\n\x03_gtB\x05\n\x03_geB\t\n\x07_enableB\x08\n\x06_aliasB\x0e\n\x0c_descriptionB\x0e\n\x0c_multiple_ofB\x08\n\x06_fieldB\x07\n\x05_typeB\x08\n\x06_titleB\x08\n\x06_extra"\xc6\x04\n\nInt64Rules\x12\x12\n\x05\x63onst\x18\x01 \x01(\x03H\x02\x88\x01\x01\x12\x0f\n\x02lt\x18\x02 \x01(\x03H\x03\x88\x01\x01\x12\x0f\n\x02le\x18\x03 \x01(\x03H\x04\x88\x01\x01\x12\x0f\n\x02gt\x18\x04 \x01(\x03H\x05\x88\x01\x01\x12\x0f\n\x02ge\x18\x05 \x01(\x03H\x06\x88\x01\x01\x12\n\n\x02in\x18\x06 \x03(\x03\x12\x0e\n\x06not_in\x18\x07 \x03(\x03\x12\x13\n\x06\x65nable\x18\x08 \x01(\x08H\x07\x88\x01\x01\x12\x11\n\x07\x64\x65\x66\x61ult\x18\t \x01(\x02H\x00\x12\x19\n\x0f\x64\x65\x66\x61ult_factory\x18\n \x01(\tH\x00\x12\x16\n\x0cmiss_default\x18\x0b \x01(\x08H\x00\x12\x12\n\x05\x61lias\x18\x0c \x01(\tH\x08\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\r \x01(\tH\t\x88\x01\x01\x12\x18\n\x0bmultiple_of\x18\x0e \x01(\x02H\n\x88\x01\x01\x12\x11\n\x07\x65xample\x18\x0f \x01(\x02H\x01\x12\x19\n\x0f\x65xample_factory\x18\x10 \x01(\tH\x01\x12\x12\n\x05\x66ield\x18\x11 \x01(\tH\x0b\x88\x01\x01\x12\x11\n\x04type\x18\x12 \x01(\tH\x0c\x88\x01\x01\x12\x12\n\x05title\x18\x13 \x01(\tH\r\x88\x01\x01\x12\x12\n\x05\x65xtra\x18\x14 \x01(\tH\x0e\x88\x01\x01\x42\x10\n\x0e\x64\x65\x66\x61ult_configB\x10\n\x0e\x65xample_configB\x08\n\x06_constB\x05\n\x03_ltB\x05\n\x03_leB\x05\n\x03_gtB\x05\n\x03_geB\t\n\x07_enableB\x08\n\x06_aliasB\x0e\n\x0c_descriptionB\x0e\n\x0c_multiple_ofB\x08\n\x06_fieldB\x07\n\x05_typeB\x08\n\x06_titleB\x08\n\x06_extra"\xc7\x04\n\x0bUInt32Rules\x12\x12\n\x05\x63onst\x18\x01 \x01(\rH\x02\x88\x01\x01\x12\x0f\n\x02lt\x18\x02 \x01(\rH\x03\x88\x01\x01\x12\x0f\n\x02le\x18\x03 \x01(\rH\x04\x88\x01\x01\x12\x0f\n\x02gt\x18\x04 \x01(\rH\x05\x88\x01\x01\x12\x0f\n\x02ge\x18\x05 \x01(\rH\x06\x88\x01\x01\x12\n\n\x02in\x18\x06 \x03(\r\x12\x0e\n\x06not_in\x18\x07 \x03(\r\x12\x13\n\x06\x65nable\x18\x08 \x01(\x08H\x07\x88\x01\x01\x12\x11\n\x07\x64\x65\x66\x61ult\x18\t \x01(\x02H\x00\x12\x19\n\x0f\x64\x65\x66\x61ult_factory\x18\n \x01(\tH\x00\x12\x16\n\x0cmiss_default\x18\x0b \x01(\x08H\x00\x12\x12\n\x05\x61lias\x18\x0c \x01(\tH\x08\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\r \x01(\tH\t\x88\x01\x01\x12\x18\n\x0bmultiple_of\x18\x0e \x01(\x02H\n\x88\x01\x01\x12\x11\n\x07\x65xample\x18\x0f \x01(\x02H\x01\x12\x19\n\x0f\x65xample_factory\x18\x10 \x01(\tH\x01\x12\x12\n\x05\x66ield\x18\x11 \x01(\tH\x0b\x88\x01\x01\x12\x11\n\x04type\x18\x12 \x01(\tH\x0c\x88\x01\x01\x12\x12\n\x05title\x18\x13 \x01(\tH\r\x88\x01\x01\x12\x12\n\x05\x65xtra\x18\x14 \x01(\tH\x0e\x88\x01\x01\x42\x10\n\x0e\x64\x65\x66\x61ult_configB\x10\n\x0e\x65xample_configB\x08\n\x06_constB\x05\n\x03_ltB\x05\n\x03_leB\x05\n\x03_gtB\x05\n\x03_geB\t\n\x07_enableB\x08\n\x06_aliasB\x0e\n\x0c_descriptionB\x0e\n\x0c_multiple_ofB\x08\n\x06_fieldB\x07\n\x05_typeB\x08\n\x06_titleB\x08\n\x06_extra"\xc7\x04\n\x0bUInt64Rules\x12\x12\n\x05\x63onst\x18\x01 \x01(\x04H\x02\x88\x01\x01\x12\x0f\n\x02lt\x18\x02 \x01(\x04H\x03\x88\x01\x01\x12\x0f\n\x02le\x18\x03 \x01(\x04H\x04\x88\x01\x01\x12\x0f\n\x02gt\x18\x04 \x01(\x04H\x05\x88\x01\x01\x12\x0f\n\x02ge\x18\x05 \x01(\x04H\x06\x88\x01\x01\x12\n\n\x02in\x18\x06 \x03(\x04\x12\x0e\n\x06not_in\x18\x07 \x03(\x04\x12\x13\n\x06\x65nable\x18\x08 \x01(\x08H\x07\x88\x01\x01\x12\x11\n\x07\x64\x65\x66\x61ult\x18\t \x01(\x02H\x00\x12\x19\n\x0f\x64\x65\x66\x61ult_factory\x18\n \x01(\tH\x00\x12\x16\n\x0cmiss_default\x18\x0b \x01(\x08H\x00\x12\x12\n\x05\x61lias\x18\x0c \x01(\tH\x08\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\r \x01(\tH\t\x88\x01\x01\x12\x18\n\x0bmultiple_of\x18\x0e \x01(\x02H\n\x88\x01\x01\x12\x11\n\x07\x65xample\x18\x0f \x01(\x02H\x01\x12\x19\n\x0f\x65xample_factory\x18\x10 \x01(\tH\x01\x12\x12\n\x05\x66ield\x18\x11 \x01(\tH\x0b\x88\x01\x01\x12\x11\n\x04type\x18\x12 \x01(\tH\x0c\x88\x01\x01\x12\x12\n\x05title\x18\x13 \x01(\tH\r\x88\x01\x01\x12\x12\n\x05\x65xtra\x18\x14 \x01(\tH\x0e\x88\x01\x01\x42\x10\n\x0e\x64\x65\x66\x61ult_configB\x10\n\x0e\x65xample_configB\x08\n\x06_constB\x05\n\x03_ltB\x05\n\x03_leB\x05\n\x03_gtB\x05\n\x03_geB\t\n\x07_enableB\x08\n\x06_aliasB\x0e\n\x0c_descriptionB\x0e\n\x0c_multiple_ofB\x08\n\x06_fieldB\x07\n\x05_typeB\x08\n\x06_titleB\x08\n\x06_extra"\xc7\x04\n\x0bSInt32Rules\x12\x12\n\x05\x63onst\x18\x01 \x01(\x11H\x02\x88\x01\x01\x12\x0f\n\x02lt\x18\x02 \x01(\x11H\x03\x88\x01\x01\x12\x0f\n\x02le\x18\x03 \x01(\x11H\x04\x88\x01\x01\x12\x0f\n\x02gt\x18\x04 \x01(\x11H\x05\x88\x01\x01\x12\x0f\n\x02ge\x18\x05 \x01(\x11H\x06\x88\x01\x01\x12\n\n\x02in\x18\x06 \x03(\x11\x12\x0e\n\x06not_in\x18\x07 \x03(\x11\x12\x13\n\x06\x65nable\x18\x08 \x01(\x08H\x07\x88\x01\x01\x12\x11\n\x07\x64\x65\x66\x61ult\x18\t \x01(\x02H\x00\x12\x19\n\x0f\x64\x65\x66\x61ult_factory\x18\n \x01(\tH\x00\x12\x16\n\x0cmiss_default\x18\x0b \x01(\x08H\x00\x12\x12\n\x05\x61lias\x18\x0c \x01(\tH\x08\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\r \x01(\tH\t\x88\x01\x01\x12\x18\n\x0bmultiple_of\x18\x0e \x01(\x02H\n\x88\x01\x01\x12\x11\n\x07\x65xample\x18\x0f \x01(\x02H\x01\x12\x19\n\x0f\x65xample_factory\x18\x10 \x01(\tH\x01\x12\x12\n\x05\x66ield\x18\x11 \x01(\tH\x0b\x88\x01\x01\x12\x11\n\x04type\x18\x12 \x01(\tH\x0c\x88\x01\x01\x12\x12\n\x05title\x18\x13 \x01(\tH\r\x88\x01\x01\x12\x12\n\x05\x65xtra\x18\x14 \x01(\tH\x0e\x88\x01\x01\x42\x10\n\x0e\x64\x65\x66\x61ult_configB\x10\n\x0e\x65xample_configB\x08\n\x06_constB\x05\n\x03_ltB\x05\n\x03_leB\x05\n\x03_gtB\x05\n\x03_geB\t\n\x07_enableB\x08\n\x06_aliasB\x0e\n\x0c_descriptionB\x0e\n\x0c_multiple_ofB\x08\n\x06_fieldB\x07\n\x05_typeB\x08\n\x06_titleB\x08\n\x06_extra"\xc7\x04\n\x0bSInt64Rules\x12\x12\n\x05\x63onst\x18\x01 \x01(\x12H\x02\x88\x01\x01\x12\x0f\n\x02lt\x18\x02 \x01(\x12H\x03\x88\x01\x01\x12\x0f\n\x02le\x18\x03 \x01(\x12H\x04\x88\x01\x01\x12\x0f\n\x02gt\x18\x04 \x01(\x12H\x05\x88\x01\x01\x12\x0f\n\x02ge\x18\x05 \x01(\x12H\x06\x88\x01\x01\x12\n\n\x02in\x18\x06 \x03(\x12\x12\x0e\n\x06not_in\x18\x07 \x03(\x12\x12\x13\n\x06\x65nable\x18\x08 \x01(\x08H\x07\x88\x01\x01\x12\x11\n\x07\x64\x65\x66\x61ult\x18\t \x01(\x02H\x00\x12\x19\n\x0f\x64\x65\x66\x61ult_factory\x18\n \x01(\tH\x00\x12\x16\n\x0cmiss_default\x18\x0b \x01(\x08H\x00\x12\x12\n\x05\x61lias\x18\x0c \x01(\tH\x08\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\r \x01(\tH\t\x88\x01\x01\x12\x18\n\x0bmultiple_of\x18\x0e \x01(\x02H\n\x88\x01\x01\x12\x11\n\x07\x65xample\x18\x0f \x01(\x02H\x01\x12\x19\n\x0f\x65xample_factory\x18\x10 \x01(\tH\x01\x12\x12\n\x05\x66ield\x18\x11 \x01(\tH\x0b\x88\x01\x01\x12\x11\n\x04type\x18\x12 \x01(\tH\x0c\x88\x01\x01\x12\x12\n\x05title\x18\x13 \x01(\tH\r\x88\x01\x01\x12\x12\n\x05\x65xtra\x18\x14 \x01(\tH\x0e\x88\x01\x01\x42\x10\n\x0e\x64\x65\x66\x61ult_configB\x10\n\x0e\x65xample_configB\x08\n\x06_constB\x05\n\x03_ltB\x05\n\x03_leB\x05\n\x03_gtB\x05\n\x03_geB\t\n\x07_enableB\x08\n\x06_aliasB\x0e\n\x0c_descriptionB\x0e\n\x0c_multiple_ofB\x08\n\x06_fieldB\x07\n\x05_typeB\x08\n\x06_titleB\x08\n\x06_extra"\xc8\x04\n\x0c\x46ixed32Rules\x12\x12\n\x05\x63onst\x18\x01 \x01(\x07H\x02\x88\x01\x01\x12\x0f\n\x02lt\x18\x02 \x01(\x07H\x03\x88\x01\x01\x12\x0f\n\x02le\x18\x03 \x01(\x07H\x04\x88\x01\x01\x12\x0f\n\x02gt\x18\x04 \x01(\x07H\x05\x88\x01\x01\x12\x0f\n\x02ge\x18\x05 \x01(\x07H\x06\x88\x01\x01\x12\n\n\x02in\x18\x06 \x03(\x07\x12\x0e\n\x06not_in\x18\x07 \x03(\x07\x12\x13\n\x06\x65nable\x18\x08 \x01(\x08H\x07\x88\x01\x01\x12\x11\n\x07\x64\x65\x66\x61ult\x18\t \x01(\x02H\x00\x12\x19\n\x0f\x64\x65\x66\x61ult_factory\x18\n \x01(\tH\x00\x12\x16\n\x0cmiss_default\x18\x0b \x01(\x08H\x00\x12\x12\n\x05\x61lias\x18\x0c \x01(\tH\x08\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\r \x01(\tH\t\x88\x01\x01\x12\x18\n\x0bmultiple_of\x18\x0e \x01(\x02H\n\x88\x01\x01\x12\x11\n\x07\x65xample\x18\x0f \x01(\x02H\x01\x12\x19\n\x0f\x65xample_factory\x18\x10 \x01(\tH\x01\x12\x12\n\x05\x66ield\x18\x11 \x01(\tH\x0b\x88\x01\x01\x12\x11\n\x04type\x18\x12 \x01(\tH\x0c\x88\x01\x01\x12\x12\n\x05title\x18\x13 \x01(\tH\r\x88\x01\x01\x12\x12\n\x05\x65xtra\x18\x14 \x01(\tH\x0e\x88\x01\x01\x42\x10\n\x0e\x64\x65\x66\x61ult_configB\x10\n\x0e\x65xample_configB\x08\n\x06_constB\x05\n\x03_ltB\x05\n\x03_leB\x05\n\x03_gtB\x05\n\x03_geB\t\n\x07_enableB\x08\n\x06_aliasB\x0e\n\x0c_descriptionB\x0e\n\x0c_multiple_ofB\x08\n\x06_fieldB\x07\n\x05_typeB\x08\n\x06_titleB\x08\n\x06_extra"\xc8\x04\n\x0c\x46ixed64Rules\x12\x12\n\x05\x63onst\x18\x01 \x01(\x06H\x02\x88\x01\x01\x12\x0f\n\x02lt\x18\x02 \x01(\x06H\x03\x88\x01\x01\x12\x0f\n\x02le\x18\x03 \x01(\x06H\x04\x88\x01\x01\x12\x0f\n\x02gt\x18\x04 \x01(\x06H\x05\x88\x01\x01\x12\x0f\n\x02ge\x18\x05 \x01(\x06H\x06\x88\x01\x01\x12\n\n\x02in\x18\x06 \x03(\x06\x12\x0e\n\x06not_in\x18\x07 \x03(\x06\x12\x13\n\x06\x65nable\x18\x08 \x01(\x08H\x07\x88\x01\x01\x12\x11\n\x07\x64\x65\x66\x61ult\x18\t \x01(\x02H\x00\x12\x19\n\x0f\x64\x65\x66\x61ult_factory\x18\n \x01(\tH\x00\x12\x16\n\x0cmiss_default\x18\x0b \x01(\x08H\x00\x12\x12\n\x05\x61lias\x18\x0c \x01(\tH\x08\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\r \x01(\tH\t\x88\x01\x01\x12\x18\n\x0bmultiple_of\x18\x0e \x01(\x02H\n\x88\x01\x01\x12\x11\n\x07\x65xample\x18\x0f \x01(\x02H\x01\x12\x19\n\x0f\x65xample_factory\x18\x10 \x01(\tH\x01\x12\x12\n\x05\x66ield\x18\x11 \x01(\tH\x0b\x88\x01\x01\x12\x11\n\x04type\x18\x12 \x01(\tH\x0c\x88\x01\x01\x12\x12\n\x05title\x18\x13 \x01(\tH\r\x88\x01\x01\x12\x12\n\x05\x65xtra\x18\x14 \x01(\tH\x0e\x88\x01\x01\x42\x10\n\x0e\x64\x65\x66\x61ult_configB\x10\n\x0e\x65xample_configB\x08\n\x06_constB\x05\n\x03_ltB\x05\n\x03_leB\x05\n\x03_gtB\x05\n\x03_geB\t\n\x07_enableB\x08\n\x06_aliasB\x0e\n\x0c_descriptionB\x0e\n\x0c_multiple_ofB\x08\n\x06_fieldB\x07\n\x05_typeB\x08\n\x06_titleB\x08\n\x06_extra"\xc9\x04\n\rSFixed32Rules\x12\x12\n\x05\x63onst\x18\x01 \x01(\x0fH\x02\x88\x01\x01\x12\x0f\n\x02lt\x18\x02 \x01(\x0fH\x03\x88\x01\x01\x12\x0f\n\x02le\x18\x03 \x01(\x0fH\x04\x88\x01\x01\x12\x0f\n\x02gt\x18\x04 \x01(\x0fH\x05\x88\x01\x01\x12\x0f\n\x02ge\x18\x05 \x01(\x0fH\x06\x88\x01\x01\x12\n\n\x02in\x18\x06 \x03(\x0f\x12\x0e\n\x06not_in\x18\x07 \x03(\x0f\x12\x13\n\x06\x65nable\x18\x08 \x01(\x08H\x07\x88\x01\x01\x12\x11\n\x07\x64\x65\x66\x61ult\x18\t \x01(\x02H\x00\x12\x19\n\x0f\x64\x65\x66\x61ult_factory\x18\n \x01(\tH\x00\x12\x16\n\x0cmiss_default\x18\x0b \x01(\x08H\x00\x12\x12\n\x05\x61lias\x18\x0c \x01(\tH\x08\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\r \x01(\tH\t\x88\x01\x01\x12\x18\n\x0bmultiple_of\x18\x0e \x01(\x02H\n\x88\x01\x01\x12\x11\n\x07\x65xample\x18\x0f \x01(\x02H\x01\x12\x19\n\x0f\x65xample_factory\x18\x10 \x01(\tH\x01\x12\x12\n\x05\x66ield\x18\x11 \x01(\tH\x0b\x88\x01\x01\x12\x11\n\x04type\x18\x12 \x01(\tH\x0c\x88\x01\x01\x12\x12\n\x05title\x18\x13 \x01(\tH\r\x88\x01\x01\x12\x12\n\x05\x65xtra\x18\x14 \x01(\tH\x0e\x88\x01\x01\x42\x10\n\x0e\x64\x65\x66\x61ult_configB\x10\n\x0e\x65xample_configB\x08\n\x06_constB\x05\n\x03_ltB\x05\n\x03_leB\x05\n\x03_gtB\x05\n\x03_geB\t\n\x07_enableB\x08\n\x06_aliasB\x0e\n\x0c_descriptionB\x0e\n\x0c_multiple_ofB\x08\n\x06_fieldB\x07\n\x05_typeB\x08\n\x06_titleB\x08\n\x06_extra"\xc9\x04\n\rSFixed64Rules\x12\x12\n\x05\x63onst\x18\x01 \x01(\x10H\x02\x88\x01\x01\x12\x0f\n\x02lt\x18\x02 \x01(\x10H\x03\x88\x01\x01\x12\x0f\n\x02le\x18\x03 \x01(\x10H\x04\x88\x01\x01\x12\x0f\n\x02gt\x18\x04 \x01(\x10H\x05\x88\x01\x01\x12\x0f\n\x02ge\x18\x05 \x01(\x10H\x06\x88\x01\x01\x12\n\n\x02in\x18\x06 \x03(\x10\x12\x0e\n\x06not_in\x18\x07 \x03(\x10\x12\x13\n\x06\x65nable\x18\x08 \x01(\x08H\x07\x88\x01\x01\x12\x11\n\x07\x64\x65\x66\x61ult\x18\t \x01(\x02H\x00\x12\x19\n\x0f\x64\x65\x66\x61ult_factory\x18\n \x01(\tH\x00\x12\x16\n\x0cmiss_default\x18\x0b \x01(\x08H\x00\x12\x12\n\x05\x61lias\x18\x0c \x01(\tH\x08\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\r \x01(\tH\t\x88\x01\x01\x12\x18\n\x0bmultiple_of\x18\x0e \x01(\x02H\n\x88\x01\x01\x12\x11\n\x07\x65xample\x18\x0f \x01(\x02H\x01\x12\x19\n\x0f\x65xample_factory\x18\x10 \x01(\tH\x01\x12\x12\n\x05\x66ield\x18\x11 \x01(\tH\x0b\x88\x01\x01\x12\x11\n\x04type\x18\x12 \x01(\tH\x0c\x88\x01\x01\x12\x12\n\x05title\x18\x13 \x01(\tH\r\x88\x01\x01\x12\x12\n\x05\x65xtra\x18\x14 \x01(\tH\x0e\x88\x01\x01\x42\x10\n\x0e\x64\x65\x66\x61ult_configB\x10\n\x0e\x65xample_configB\x08\n\x06_constB\x05\n\x03_ltB\x05\n\x03_leB\x05\n\x03_gtB\x05\n\x03_geB\t\n\x07_enableB\x08\n\x06_aliasB\x0e\n\x0c_descriptionB\x0e\n\x0c_multiple_ofB\x08\n\x06_fieldB\x07\n\x05_typeB\x08\n\x06_titleB\x08\n\x06_extra"\xe6\x02\n\tBoolRules\x12\x12\n\x05\x63onst\x18\x01 \x01(\x08H\x01\x88\x01\x01\x12\x13\n\x06\x65nable\x18\x02 \x01(\x08H\x02\x88\x01\x01\x12\x11\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\x08H\x00\x12\x16\n\x0cmiss_default\x18\x04 \x01(\x08H\x00\x12\x12\n\x05\x61lias\x18\x05 \x01(\tH\x03\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x06 \x01(\tH\x04\x88\x01\x01\x12\x14\n\x07\x65xample\x18\x07 \x01(\x08H\x05\x88\x01\x01\x12\x12\n\x05\x66ield\x18\x08 \x01(\tH\x06\x88\x01\x01\x12\x11\n\x04type\x18\t \x01(\tH\x07\x88\x01\x01\x12\x12\n\x05title\x18\x13 \x01(\tH\x08\x88\x01\x01\x12\x12\n\x05\x65xtra\x18\x14 \x01(\tH\t\x88\x01\x01\x42\x10\n\x0e\x64\x65\x66\x61ult_configB\x08\n\x06_constB\t\n\x07_enableB\x08\n\x06_aliasB\x0e\n\x0c_descriptionB\n\n\x08_exampleB\x08\n\x06_fieldB\x07\n\x05_typeB\x08\n\x06_titleB\x08\n\x06_extra"\x98\x07\n\x0bStringRules\x12\x12\n\x05\x63onst\x18\x01 \x01(\tH\x03\x88\x01\x01\x12\x10\n\x03len\x18\x02 \x01(\x04H\x04\x88\x01\x01\x12\x17\n\nmin_length\x18\x03 \x01(\x04H\x05\x88\x01\x01\x12\x17\n\nmax_length\x18\x04 \x01(\x04H\x06\x88\x01\x01\x12\x14\n\x07pattern\x18\x05 \x01(\tH\x07\x88\x01\x01\x12\x13\n\x06prefix\x18\x06 \x01(\tH\x08\x88\x01\x01\x12\x13\n\x06suffix\x18\x07 \x01(\tH\t\x88\x01\x01\x12\x15\n\x08\x63ontains\x18\x08 \x01(\tH\n\x88\x01\x01\x12\x19\n\x0cnot_contains\x18\t \x01(\tH\x0b\x88\x01\x01\x12\n\n\x02in\x18\n \x03(\t\x12\x0e\n\x06not_in\x18\x0b \x03(\t\x12\x0f\n\x05\x65mail\x18\x0c \x01(\x08H\x00\x12\x12\n\x08hostname\x18\r \x01(\x08H\x00\x12\x0c\n\x02ip\x18\x0e \x01(\x08H\x00\x12\x0e\n\x04ipv4\x18\x0f \x01(\x08H\x00\x12\x0e\n\x04ipv6\x18\x10 \x01(\x08H\x00\x12\r\n\x03uri\x18\x11 \x01(\x08H\x00\x12\x11\n\x07uri_ref\x18\x12 \x01(\x08H\x00\x12\x11\n\x07\x61\x64\x64ress\x18\x15 \x01(\x08H\x00\x12\x0e\n\x04uuid\x18\x16 \x01(\x08H\x00\x12\x17\n\rpydantic_type\x18\x63 \x01(\tH\x00\x12\x13\n\x06\x65nable\x18\x17 \x01(\x08H\x0c\x88\x01\x01\x12\x11\n\x07\x64\x65\x66\x61ult\x18\x18 \x01(\tH\x01\x12\x19\n\x0f\x64\x65\x66\x61ult_factory\x18\x19 \x01(\tH\x01\x12\x16\n\x0cmiss_default\x18\x1a \x01(\x08H\x01\x12\x12\n\x05\x61lias\x18\x1b \x01(\tH\r\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x1c \x01(\tH\x0e\x88\x01\x01\x12\x11\n\x07\x65xample\x18\x1e \x01(\tH\x02\x12\x19\n\x0f\x65xample_factory\x18\x1f \x01(\tH\x02\x12\x12\n\x05\x66ield\x18 \x01(\tH\x0f\x88\x01\x01\x12\x11\n\x04type\x18! \x01(\tH\x10\x88\x01\x01\x12\x12\n\x05title\x18" \x01(\tH\x11\x88\x01\x01\x12\x12\n\x05\x65xtra\x18\x14 \x01(\tH\x12\x88\x01\x01\x42\x0c\n\nwell_knownB\x10\n\x0e\x64\x65\x66\x61ult_configB\x10\n\x0e\x65xample_configB\x08\n\x06_constB\x06\n\x04_lenB\r\n\x0b_min_lengthB\r\n\x0b_max_lengthB\n\n\x08_patternB\t\n\x07_prefixB\t\n\x07_suffixB\x0b\n\t_containsB\x0f\n\r_not_containsB\t\n\x07_enableB\x08\n\x06_aliasB\x0e\n\x0c_descriptionB\x08\n\x06_fieldB\x07\n\x05_typeB\x08\n\x06_titleB\x08\n\x06_extra"\xd6\x05\n\nBytesRules\x12\x12\n\x05\x63onst\x18\x01 \x01(\x0cH\x03\x88\x01\x01\x12\x17\n\nmin_length\x18\x02 \x01(\x04H\x04\x88\x01\x01\x12\x17\n\nmax_length\x18\x03 \x01(\x04H\x05\x88\x01\x01\x12\x13\n\x06prefix\x18\x05 \x01(\x0cH\x06\x88\x01\x01\x12\x13\n\x06suffix\x18\x06 \x01(\x0cH\x07\x88\x01\x01\x12\x15\n\x08\x63ontains\x18\x07 \x01(\x0cH\x08\x88\x01\x01\x12\n\n\x02in\x18\x08 \x03(\x0c\x12\x0e\n\x06not_in\x18\t \x03(\x0c\x12\x13\n\x06\x65nable\x18\n \x01(\x08H\t\x88\x01\x01\x12\x11\n\x07\x64\x65\x66\x61ult\x18\x0b \x01(\x0cH\x00\x12\x19\n\x0f\x64\x65\x66\x61ult_factory\x18\x0c \x01(\tH\x00\x12\x16\n\x0cmiss_default\x18\r \x01(\x08H\x00\x12\x12\n\x05\x61lias\x18\x0e \x01(\tH\n\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x0f \x01(\tH\x0b\x88\x01\x01\x12\x18\n\x0bmultiple_of\x18\x10 \x01(\x02H\x0c\x88\x01\x01\x12\x11\n\x07\x65xample\x18\x11 \x01(\x0cH\x01\x12\x19\n\x0f\x65xample_factory\x18\x12 \x01(\tH\x01\x12\x12\n\x05\x66ield\x18\x13 \x01(\tH\r\x88\x01\x01\x12\x11\n\x04type\x18\x14 \x01(\tH\x0e\x88\x01\x01\x12\x0c\n\x02ip\x18\x15 \x01(\x08H\x02\x12\x0e\n\x04ipv4\x18\x16 \x01(\x08H\x02\x12\x0e\n\x04ipv6\x18\x17 \x01(\x08H\x02\x12\x12\n\x05title\x18\x18 \x01(\tH\x0f\x88\x01\x01\x12\x12\n\x05\x65xtra\x18\x19 \x01(\tH\x10\x88\x01\x01\x42\x10\n\x0e\x64\x65\x66\x61ult_configB\x10\n\x0e\x65xample_configB\x0c\n\nwell_knownB\x08\n\x06_constB\r\n\x0b_min_lengthB\r\n\x0b_max_lengthB\t\n\x07_prefixB\t\n\x07_suffixB\x0b\n\t_containsB\t\n\x07_enableB\x08\n\x06_aliasB\x0e\n\x0c_descriptionB\x0e\n\x0c_multiple_ofB\x08\n\x06_fieldB\x07\n\x05_typeB\x08\n\x06_titleB\x08\n\x06_extra"\x9f\x03\n\tEnumRules\x12\x12\n\x05\x63onst\x18\x01 \x01(\x05H\x02\x88\x01\x01\x12\n\n\x02in\x18\x03 \x03(\x05\x12\x0e\n\x06not_in\x18\x04 \x03(\x05\x12\x13\n\x06\x65nable\x18\x08 \x01(\x08H\x03\x88\x01\x01\x12\x11\n\x07\x64\x65\x66\x61ult\x18\t \x01(\x05H\x00\x12\x19\n\x0f\x64\x65\x66\x61ult_factory\x18\n \x01(\tH\x00\x12\x16\n\x0cmiss_default\x18\x0b \x01(\x08H\x00\x12\x12\n\x05\x61lias\x18\x0c \x01(\tH\x04\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\r \x01(\tH\x05\x88\x01\x01\x12\x11\n\x07\x65xample\x18\x0f \x01(\x05H\x01\x12\x19\n\x0f\x65xample_factory\x18\x10 \x01(\tH\x01\x12\x12\n\x05\x66ield\x18\x11 \x01(\tH\x06\x88\x01\x01\x12\x12\n\x05title\x18\x12 \x01(\tH\x07\x88\x01\x01\x12\x12\n\x05\x65xtra\x18\x14 \x01(\tH\x08\x88\x01\x01\x42\x10\n\x0e\x64\x65\x66\x61ult_configB\x10\n\x0e\x65xample_configB\x08\n\x06_constB\t\n\x07_enableB\x08\n\x06_aliasB\x0e\n\x0c_descriptionB\x08\n\x06_fieldB\x08\n\x06_titleB\x08\n\x06_extra"\xc4\x03\n\x0cMessageRules\x12\x11\n\x04skip\x18\x01 \x01(\x08H\x02\x88\x01\x01\x12\x15\n\x08required\x18\x02 \x01(\x08H\x03\x88\x01\x01\x12\x13\n\x06\x65nable\x18\x08 \x01(\x08H\x04\x88\x01\x01\x12\x11\n\x07\x64\x65\x66\x61ult\x18\t \x01(\x02H\x00\x12\x19\n\x0f\x64\x65\x66\x61ult_factory\x18\n \x01(\tH\x00\x12\x16\n\x0cmiss_default\x18\x0b \x01(\x08H\x00\x12\x12\n\x05\x61lias\x18\x0c \x01(\tH\x05\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\r \x01(\tH\x06\x88\x01\x01\x12\x11\n\x07\x65xample\x18\x0f \x01(\x02H\x01\x12\x19\n\x0f\x65xample_factory\x18\x10 \x01(\tH\x01\x12\x12\n\x05\x66ield\x18\x11 \x01(\tH\x07\x88\x01\x01\x12\x11\n\x04type\x18\x12 \x01(\tH\x08\x88\x01\x01\x12\x12\n\x05title\x18\x13 \x01(\tH\t\x88\x01\x01\x12\x12\n\x05\x65xtra\x18\x14 \x01(\tH\n\x88\x01\x01\x42\x10\n\x0e\x64\x65\x66\x61ult_configB\x10\n\x0e\x65xample_configB\x07\n\x05_skipB\x0b\n\t_requiredB\t\n\x07_enableB\x08\n\x06_aliasB\x0e\n\x0c_descriptionB\x08\n\x06_fieldB\x07\n\x05_typeB\x08\n\x06_titleB\x08\n\x06_extra"\x83\x04\n\rRepeatedRules\x12\x16\n\tmin_items\x18\x01 \x01(\x04H\x02\x88\x01\x01\x12\x16\n\tmax_items\x18\x02 \x01(\x04H\x03\x88\x01\x01\x12\x13\n\x06unique\x18\x03 \x01(\x08H\x04\x88\x01\x01\x12,\n\x05items\x18\x04 \x01(\x0b\x32\x18.p2p_validate.FieldRulesH\x05\x88\x01\x01\x12\x13\n\x06\x65nable\x18\x08 \x01(\x08H\x06\x88\x01\x01\x12\x19\n\x0f\x64\x65\x66\x61ult_factory\x18\n \x01(\tH\x00\x12\x16\n\x0cmiss_default\x18\x0b \x01(\x08H\x00\x12\x12\n\x05\x61lias\x18\x0c \x01(\tH\x07\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\r \x01(\tH\x08\x88\x01\x01\x12\x19\n\x0f\x65xample_factory\x18\x10 \x01(\tH\x01\x12\x12\n\x05\x66ield\x18\x11 \x01(\tH\t\x88\x01\x01\x12\x11\n\x04type\x18\x12 \x01(\tH\n\x88\x01\x01\x12\x12\n\x05title\x18\x13 \x01(\tH\x0b\x88\x01\x01\x12\x12\n\x05\x65xtra\x18\x14 \x01(\tH\x0c\x88\x01\x01\x42\x10\n\x0e\x64\x65\x66\x61ult_configB\x10\n\x0e\x65xample_configB\x0c\n\n_min_itemsB\x0c\n\n_max_itemsB\t\n\x07_uniqueB\x08\n\x06_itemsB\t\n\x07_enableB\x08\n\x06_aliasB\x0e\n\x0c_descriptionB\x08\n\x06_fieldB\x07\n\x05_typeB\x08\n\x06_titleB\x08\n\x06_extra"\x96\x04\n\x08MapRules\x12\x16\n\tmin_pairs\x18\x01 \x01(\x04H\x02\x88\x01\x01\x12\x16\n\tmax_pairs\x18\x02 \x01(\x04H\x03\x88\x01\x01\x12+\n\x04keys\x18\x04 \x01(\x0b\x32\x18.p2p_validate.FieldRulesH\x04\x88\x01\x01\x12-\n\x06values\x18\x05 \x01(\x0b\x32\x18.p2p_validate.FieldRulesH\x05\x88\x01\x01\x12\x13\n\x06\x65nable\x18\x08 \x01(\x08H\x06\x88\x01\x01\x12\x19\n\x0f\x64\x65\x66\x61ult_factory\x18\n \x01(\tH\x00\x12\x16\n\x0cmiss_default\x18\x0b \x01(\x08H\x00\x12\x12\n\x05\x61lias\x18\x0c \x01(\tH\x07\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\r \x01(\tH\x08\x88\x01\x01\x12\x19\n\x0f\x65xample_factory\x18\x10 \x01(\tH\x01\x12\x12\n\x05\x66ield\x18\x11 \x01(\tH\t\x88\x01\x01\x12\x11\n\x04type\x18\x12 \x01(\tH\n\x88\x01\x01\x12\x12\n\x05title\x18\x13 \x01(\tH\x0b\x88\x01\x01\x12\x12\n\x05\x65xtra\x18\x14 \x01(\tH\x0c\x88\x01\x01\x42\x10\n\x0e\x64\x65\x66\x61ult_configB\x10\n\x0e\x65xample_configB\x0c\n\n_min_pairsB\x0c\n\n_max_pairsB\x07\n\x05_keysB\t\n\x07_valuesB\t\n\x07_enableB\x08\n\x06_aliasB\x0e\n\x0c_descriptionB\x08\n\x06_fieldB\x07\n\x05_typeB\x08\n\x06_titleB\x08\n\x06_extra"\xa4\x03\n\x08\x41nyRules\x12\x15\n\x08required\x18\x01 \x01(\x08H\x02\x88\x01\x01\x12\n\n\x02in\x18\x02 \x03(\t\x12\x0e\n\x06not_in\x18\x03 \x03(\t\x12\x13\n\x06\x65nable\x18\x08 \x01(\x08H\x03\x88\x01\x01\x12\x11\n\x07\x64\x65\x66\x61ult\x18\t \x01(\tH\x00\x12\x19\n\x0f\x64\x65\x66\x61ult_factory\x18\n \x01(\tH\x00\x12\x16\n\x0cmiss_default\x18\x0b \x01(\x08H\x00\x12\x12\n\x05\x61lias\x18\x0c \x01(\tH\x04\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\r \x01(\tH\x05\x88\x01\x01\x12\x11\n\x07\x65xample\x18\x0e \x01(\tH\x01\x12\x19\n\x0f\x65xample_factory\x18\x0f \x01(\tH\x01\x12\x12\n\x05\x66ield\x18\x10 \x01(\tH\x06\x88\x01\x01\x12\x12\n\x05title\x18\x11 \x01(\tH\x07\x88\x01\x01\x12\x12\n\x05\x65xtra\x18\x14 \x01(\tH\x08\x88\x01\x01\x42\x10\n\x0e\x64\x65\x66\x61ult_configB\x10\n\x0e\x65xample_configB\x0b\n\t_requiredB\t\n\x07_enableB\x08\n\x06_aliasB\x0e\n\x0c_descriptionB\x08\n\x06_fieldB\x08\n\x06_titleB\x08\n\x06_extra"\x92\x06\n\rDurationRules\x12-\n\x05\x63onst\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationH\x02\x88\x01\x01\x12*\n\x02lt\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationH\x03\x88\x01\x01\x12*\n\x02le\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationH\x04\x88\x01\x01\x12*\n\x02gt\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationH\x05\x88\x01\x01\x12*\n\x02ge\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationH\x06\x88\x01\x01\x12%\n\x02in\x18\x07 \x03(\x0b\x32\x19.google.protobuf.Duration\x12)\n\x06not_in\x18\x08 \x03(\x0b\x32\x19.google.protobuf.Duration\x12\x13\n\x06\x65nable\x18\x0e \x01(\x08H\x07\x88\x01\x01\x12,\n\x07\x64\x65\x66\x61ult\x18\t \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x19\n\x0f\x64\x65\x66\x61ult_factory\x18\n \x01(\tH\x00\x12\x16\n\x0cmiss_default\x18\x0b \x01(\x08H\x00\x12\x12\n\x05\x61lias\x18\x0c \x01(\tH\x08\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\r \x01(\tH\t\x88\x01\x01\x12,\n\x07\x65xample\x18\x0f \x01(\x0b\x32\x19.google.protobuf.DurationH\x01\x12\x19\n\x0f\x65xample_factory\x18\x10 \x01(\tH\x01\x12\x12\n\x05\x66ield\x18\x11 \x01(\tH\n\x88\x01\x01\x12\x11\n\x04type\x18\x12 \x01(\tH\x0b\x88\x01\x01\x12\x12\n\x05title\x18\x13 \x01(\tH\x0c\x88\x01\x01\x12\x12\n\x05\x65xtra\x18\x14 \x01(\tH\r\x88\x01\x01\x42\x10\n\x0e\x64\x65\x66\x61ult_configB\x10\n\x0e\x65xample_configB\x08\n\x06_constB\x05\n\x03_ltB\x05\n\x03_leB\x05\n\x03_gtB\x05\n\x03_geB\t\n\x07_enableB\x08\n\x06_aliasB\x0e\n\x0c_descriptionB\x08\n\x06_fieldB\x07\n\x05_typeB\x08\n\x06_titleB\x08\n\x06_extra"\xc3\x06\n\x0eTimestampRules\x12.\n\x05\x63onst\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02\x88\x01\x01\x12+\n\x02lt\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x03\x88\x01\x01\x12+\n\x02le\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x04\x88\x01\x01\x12+\n\x02gt\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x05\x88\x01\x01\x12+\n\x02ge\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x06\x88\x01\x01\x12\x13\n\x06lt_now\x18\x07 \x01(\x08H\x07\x88\x01\x01\x12\x13\n\x06gt_now\x18\x08 \x01(\x08H\x08\x88\x01\x01\x12.\n\x06within\x18\t \x01(\x0b\x32\x19.google.protobuf.DurationH\t\x88\x01\x01\x12\x13\n\x06\x65nable\x18\n \x01(\x08H\n\x88\x01\x01\x12-\n\x07\x64\x65\x66\x61ult\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12\x19\n\x0f\x64\x65\x66\x61ult_factory\x18\x0c \x01(\tH\x00\x12\x16\n\x0cmiss_default\x18\r \x01(\x08H\x00\x12\x12\n\x05\x61lias\x18\x0e \x01(\tH\x0b\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x0f \x01(\tH\x0c\x88\x01\x01\x12-\n\x07\x65xample\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01\x12\x19\n\x0f\x65xample_factory\x18\x11 \x01(\tH\x01\x12\x12\n\x05\x66ield\x18\x12 \x01(\tH\r\x88\x01\x01\x12\x11\n\x04type\x18\x13 \x01(\tH\x0e\x88\x01\x01\x12\x12\n\x05title\x18\x14 \x01(\tH\x0f\x88\x01\x01\x12\x12\n\x05\x65xtra\x18\x15 \x01(\tH\x10\x88\x01\x01\x42\x10\n\x0e\x64\x65\x66\x61ult_configB\x10\n\x0e\x65xample_configB\x08\n\x06_constB\x05\n\x03_ltB\x05\n\x03_leB\x05\n\x03_gtB\x05\n\x03_geB\t\n\x07_lt_nowB\t\n\x07_gt_nowB\t\n\x07_withinB\t\n\x07_enableB\x08\n\x06_aliasB\x0e\n\x0c_descriptionB\x08\n\x06_fieldB\x07\n\x05_typeB\x08\n\x06_titleB\x08\n\x06_extra:4\n\x07ignored\x12\x1f.google.protobuf.MessageOptions\x18\xb1\x08 \x01(\x08\x88\x01\x01:3\n\x08required\x12\x1d.google.protobuf.OneofOptions\x18\xb1\x08 \x01(\x08\x88\x01\x01:J\n\x05rules\x12\x1d.google.protobuf.FieldOptions\x18\xb1\x08 \x01(\x0b\x32\x18.p2p_validate.FieldRules\x88\x01\x01\x62\x06proto3', - dependencies=[ - google_dot_protobuf_dot_descriptor__pb2.DESCRIPTOR, - google_dot_protobuf_dot_duration__pb2.DESCRIPTOR, - google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR, - ], -) - - -IGNORED_FIELD_NUMBER = 1073 -ignored = _descriptor.FieldDescriptor( - name="ignored", - full_name="p2p_validate.ignored", - index=0, - number=1073, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -REQUIRED_FIELD_NUMBER = 1073 -required = _descriptor.FieldDescriptor( - name="required", - full_name="p2p_validate.required", - index=1, - number=1073, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -RULES_FIELD_NUMBER = 1073 -rules = _descriptor.FieldDescriptor( - name="rules", - full_name="p2p_validate.rules", - index=2, - number=1073, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) - - -_FIELDRULES = _descriptor.Descriptor( - name="FieldRules", - full_name="p2p_validate.FieldRules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="message", - full_name="p2p_validate.FieldRules.message", - index=0, - number=17, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="float", - full_name="p2p_validate.FieldRules.float", - index=1, - number=1, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="double", - full_name="p2p_validate.FieldRules.double", - index=2, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="int32", - full_name="p2p_validate.FieldRules.int32", - index=3, - number=3, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="int64", - full_name="p2p_validate.FieldRules.int64", - index=4, - number=4, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="uint32", - full_name="p2p_validate.FieldRules.uint32", - index=5, - number=5, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="uint64", - full_name="p2p_validate.FieldRules.uint64", - index=6, - number=6, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="sint32", - full_name="p2p_validate.FieldRules.sint32", - index=7, - number=7, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="sint64", - full_name="p2p_validate.FieldRules.sint64", - index=8, - number=8, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="fixed32", - full_name="p2p_validate.FieldRules.fixed32", - index=9, - number=9, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="fixed64", - full_name="p2p_validate.FieldRules.fixed64", - index=10, - number=10, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="sfixed32", - full_name="p2p_validate.FieldRules.sfixed32", - index=11, - number=11, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="sfixed64", - full_name="p2p_validate.FieldRules.sfixed64", - index=12, - number=12, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="bool", - full_name="p2p_validate.FieldRules.bool", - index=13, - number=13, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="string", - full_name="p2p_validate.FieldRules.string", - index=14, - number=14, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="bytes", - full_name="p2p_validate.FieldRules.bytes", - index=15, - number=15, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enum", - full_name="p2p_validate.FieldRules.enum", - index=16, - number=16, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="repeated", - full_name="p2p_validate.FieldRules.repeated", - index=17, - number=18, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="map", - full_name="p2p_validate.FieldRules.map", - index=18, - number=19, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="any", - full_name="p2p_validate.FieldRules.any", - index=19, - number=20, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="duration", - full_name="p2p_validate.FieldRules.duration", - index=20, - number=21, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="timestamp", - full_name="p2p_validate.FieldRules.timestamp", - index=21, - number=22, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="type", - full_name="p2p_validate.FieldRules.type", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_message", - full_name="p2p_validate.FieldRules._message", - index=1, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=165, - serialized_end=1190, -) - - -_FLOATRULES = _descriptor.Descriptor( - name="FloatRules", - full_name="p2p_validate.FloatRules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="p2p_validate.FloatRules.const", - index=0, - number=1, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="p2p_validate.FloatRules.lt", - index=1, - number=2, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="le", - full_name="p2p_validate.FloatRules.le", - index=2, - number=3, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="p2p_validate.FloatRules.gt", - index=3, - number=4, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ge", - full_name="p2p_validate.FloatRules.ge", - index=4, - number=5, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="p2p_validate.FloatRules.in", - index=5, - number=6, - type=2, - cpp_type=6, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="p2p_validate.FloatRules.not_in", - index=6, - number=7, - type=2, - cpp_type=6, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable", - full_name="p2p_validate.FloatRules.enable", - index=7, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default", - full_name="p2p_validate.FloatRules.default", - index=8, - number=9, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory", - full_name="p2p_validate.FloatRules.default_factory", - index=9, - number=10, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default", - full_name="p2p_validate.FloatRules.miss_default", - index=10, - number=11, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias", - full_name="p2p_validate.FloatRules.alias", - index=11, - number=12, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="description", - full_name="p2p_validate.FloatRules.description", - index=12, - number=13, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="multiple_of", - full_name="p2p_validate.FloatRules.multiple_of", - index=13, - number=14, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example", - full_name="p2p_validate.FloatRules.example", - index=14, - number=15, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate.FloatRules.example_factory", - index=15, - number=16, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field", - full_name="p2p_validate.FloatRules.field", - index=16, - number=17, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type", - full_name="p2p_validate.FloatRules.type", - index=17, - number=18, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title", - full_name="p2p_validate.FloatRules.title", - index=18, - number=19, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra", - full_name="p2p_validate.FloatRules.extra", - index=19, - number=20, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="default_config", - full_name="p2p_validate.FloatRules.default_config", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="example_config", - full_name="p2p_validate.FloatRules.example_config", - index=1, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_const", - full_name="p2p_validate.FloatRules._const", - index=2, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_lt", - full_name="p2p_validate.FloatRules._lt", - index=3, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_le", - full_name="p2p_validate.FloatRules._le", - index=4, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_gt", - full_name="p2p_validate.FloatRules._gt", - index=5, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_ge", - full_name="p2p_validate.FloatRules._ge", - index=6, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_enable", - full_name="p2p_validate.FloatRules._enable", - index=7, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_alias", - full_name="p2p_validate.FloatRules._alias", - index=8, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_description", - full_name="p2p_validate.FloatRules._description", - index=9, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_multiple_of", - full_name="p2p_validate.FloatRules._multiple_of", - index=10, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_field", - full_name="p2p_validate.FloatRules._field", - index=11, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_type", - full_name="p2p_validate.FloatRules._type", - index=12, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_title", - full_name="p2p_validate.FloatRules._title", - index=13, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_extra", - full_name="p2p_validate.FloatRules._extra", - index=14, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=1193, - serialized_end=1775, -) - - -_DOUBLERULES = _descriptor.Descriptor( - name="DoubleRules", - full_name="p2p_validate.DoubleRules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="p2p_validate.DoubleRules.const", - index=0, - number=1, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="p2p_validate.DoubleRules.lt", - index=1, - number=2, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="le", - full_name="p2p_validate.DoubleRules.le", - index=2, - number=3, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="p2p_validate.DoubleRules.gt", - index=3, - number=4, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ge", - full_name="p2p_validate.DoubleRules.ge", - index=4, - number=5, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="p2p_validate.DoubleRules.in", - index=5, - number=6, - type=1, - cpp_type=5, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="p2p_validate.DoubleRules.not_in", - index=6, - number=7, - type=1, - cpp_type=5, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable", - full_name="p2p_validate.DoubleRules.enable", - index=7, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default", - full_name="p2p_validate.DoubleRules.default", - index=8, - number=9, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory", - full_name="p2p_validate.DoubleRules.default_factory", - index=9, - number=10, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default", - full_name="p2p_validate.DoubleRules.miss_default", - index=10, - number=11, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias", - full_name="p2p_validate.DoubleRules.alias", - index=11, - number=12, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="description", - full_name="p2p_validate.DoubleRules.description", - index=12, - number=13, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="multiple_of", - full_name="p2p_validate.DoubleRules.multiple_of", - index=13, - number=14, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example", - full_name="p2p_validate.DoubleRules.example", - index=14, - number=15, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate.DoubleRules.example_factory", - index=15, - number=16, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field", - full_name="p2p_validate.DoubleRules.field", - index=16, - number=17, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type", - full_name="p2p_validate.DoubleRules.type", - index=17, - number=18, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title", - full_name="p2p_validate.DoubleRules.title", - index=18, - number=19, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra", - full_name="p2p_validate.DoubleRules.extra", - index=19, - number=20, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="default_config", - full_name="p2p_validate.DoubleRules.default_config", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="example_config", - full_name="p2p_validate.DoubleRules.example_config", - index=1, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_const", - full_name="p2p_validate.DoubleRules._const", - index=2, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_lt", - full_name="p2p_validate.DoubleRules._lt", - index=3, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_le", - full_name="p2p_validate.DoubleRules._le", - index=4, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_gt", - full_name="p2p_validate.DoubleRules._gt", - index=5, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_ge", - full_name="p2p_validate.DoubleRules._ge", - index=6, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_enable", - full_name="p2p_validate.DoubleRules._enable", - index=7, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_alias", - full_name="p2p_validate.DoubleRules._alias", - index=8, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_description", - full_name="p2p_validate.DoubleRules._description", - index=9, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_multiple_of", - full_name="p2p_validate.DoubleRules._multiple_of", - index=10, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_field", - full_name="p2p_validate.DoubleRules._field", - index=11, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_type", - full_name="p2p_validate.DoubleRules._type", - index=12, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_title", - full_name="p2p_validate.DoubleRules._title", - index=13, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_extra", - full_name="p2p_validate.DoubleRules._extra", - index=14, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=1778, - serialized_end=2361, -) - - -_INT32RULES = _descriptor.Descriptor( - name="Int32Rules", - full_name="p2p_validate.Int32Rules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="p2p_validate.Int32Rules.const", - index=0, - number=1, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="p2p_validate.Int32Rules.lt", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="le", - full_name="p2p_validate.Int32Rules.le", - index=2, - number=3, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="p2p_validate.Int32Rules.gt", - index=3, - number=4, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ge", - full_name="p2p_validate.Int32Rules.ge", - index=4, - number=5, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="p2p_validate.Int32Rules.in", - index=5, - number=6, - type=5, - cpp_type=1, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="p2p_validate.Int32Rules.not_in", - index=6, - number=7, - type=5, - cpp_type=1, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable", - full_name="p2p_validate.Int32Rules.enable", - index=7, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default", - full_name="p2p_validate.Int32Rules.default", - index=8, - number=9, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory", - full_name="p2p_validate.Int32Rules.default_factory", - index=9, - number=10, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default", - full_name="p2p_validate.Int32Rules.miss_default", - index=10, - number=11, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias", - full_name="p2p_validate.Int32Rules.alias", - index=11, - number=12, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="description", - full_name="p2p_validate.Int32Rules.description", - index=12, - number=13, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="multiple_of", - full_name="p2p_validate.Int32Rules.multiple_of", - index=13, - number=14, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example", - full_name="p2p_validate.Int32Rules.example", - index=14, - number=15, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate.Int32Rules.example_factory", - index=15, - number=16, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field", - full_name="p2p_validate.Int32Rules.field", - index=16, - number=17, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type", - full_name="p2p_validate.Int32Rules.type", - index=17, - number=18, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title", - full_name="p2p_validate.Int32Rules.title", - index=18, - number=19, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra", - full_name="p2p_validate.Int32Rules.extra", - index=19, - number=20, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="default_config", - full_name="p2p_validate.Int32Rules.default_config", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="example_config", - full_name="p2p_validate.Int32Rules.example_config", - index=1, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_const", - full_name="p2p_validate.Int32Rules._const", - index=2, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_lt", - full_name="p2p_validate.Int32Rules._lt", - index=3, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_le", - full_name="p2p_validate.Int32Rules._le", - index=4, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_gt", - full_name="p2p_validate.Int32Rules._gt", - index=5, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_ge", - full_name="p2p_validate.Int32Rules._ge", - index=6, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_enable", - full_name="p2p_validate.Int32Rules._enable", - index=7, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_alias", - full_name="p2p_validate.Int32Rules._alias", - index=8, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_description", - full_name="p2p_validate.Int32Rules._description", - index=9, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_multiple_of", - full_name="p2p_validate.Int32Rules._multiple_of", - index=10, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_field", - full_name="p2p_validate.Int32Rules._field", - index=11, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_type", - full_name="p2p_validate.Int32Rules._type", - index=12, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_title", - full_name="p2p_validate.Int32Rules._title", - index=13, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_extra", - full_name="p2p_validate.Int32Rules._extra", - index=14, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=2364, - serialized_end=2946, -) - - -_INT64RULES = _descriptor.Descriptor( - name="Int64Rules", - full_name="p2p_validate.Int64Rules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="p2p_validate.Int64Rules.const", - index=0, - number=1, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="p2p_validate.Int64Rules.lt", - index=1, - number=2, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="le", - full_name="p2p_validate.Int64Rules.le", - index=2, - number=3, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="p2p_validate.Int64Rules.gt", - index=3, - number=4, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ge", - full_name="p2p_validate.Int64Rules.ge", - index=4, - number=5, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="p2p_validate.Int64Rules.in", - index=5, - number=6, - type=3, - cpp_type=2, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="p2p_validate.Int64Rules.not_in", - index=6, - number=7, - type=3, - cpp_type=2, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable", - full_name="p2p_validate.Int64Rules.enable", - index=7, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default", - full_name="p2p_validate.Int64Rules.default", - index=8, - number=9, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory", - full_name="p2p_validate.Int64Rules.default_factory", - index=9, - number=10, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default", - full_name="p2p_validate.Int64Rules.miss_default", - index=10, - number=11, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias", - full_name="p2p_validate.Int64Rules.alias", - index=11, - number=12, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="description", - full_name="p2p_validate.Int64Rules.description", - index=12, - number=13, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="multiple_of", - full_name="p2p_validate.Int64Rules.multiple_of", - index=13, - number=14, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example", - full_name="p2p_validate.Int64Rules.example", - index=14, - number=15, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate.Int64Rules.example_factory", - index=15, - number=16, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field", - full_name="p2p_validate.Int64Rules.field", - index=16, - number=17, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type", - full_name="p2p_validate.Int64Rules.type", - index=17, - number=18, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title", - full_name="p2p_validate.Int64Rules.title", - index=18, - number=19, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra", - full_name="p2p_validate.Int64Rules.extra", - index=19, - number=20, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="default_config", - full_name="p2p_validate.Int64Rules.default_config", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="example_config", - full_name="p2p_validate.Int64Rules.example_config", - index=1, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_const", - full_name="p2p_validate.Int64Rules._const", - index=2, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_lt", - full_name="p2p_validate.Int64Rules._lt", - index=3, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_le", - full_name="p2p_validate.Int64Rules._le", - index=4, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_gt", - full_name="p2p_validate.Int64Rules._gt", - index=5, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_ge", - full_name="p2p_validate.Int64Rules._ge", - index=6, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_enable", - full_name="p2p_validate.Int64Rules._enable", - index=7, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_alias", - full_name="p2p_validate.Int64Rules._alias", - index=8, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_description", - full_name="p2p_validate.Int64Rules._description", - index=9, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_multiple_of", - full_name="p2p_validate.Int64Rules._multiple_of", - index=10, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_field", - full_name="p2p_validate.Int64Rules._field", - index=11, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_type", - full_name="p2p_validate.Int64Rules._type", - index=12, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_title", - full_name="p2p_validate.Int64Rules._title", - index=13, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_extra", - full_name="p2p_validate.Int64Rules._extra", - index=14, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=2949, - serialized_end=3531, -) - - -_UINT32RULES = _descriptor.Descriptor( - name="UInt32Rules", - full_name="p2p_validate.UInt32Rules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="p2p_validate.UInt32Rules.const", - index=0, - number=1, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="p2p_validate.UInt32Rules.lt", - index=1, - number=2, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="le", - full_name="p2p_validate.UInt32Rules.le", - index=2, - number=3, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="p2p_validate.UInt32Rules.gt", - index=3, - number=4, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ge", - full_name="p2p_validate.UInt32Rules.ge", - index=4, - number=5, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="p2p_validate.UInt32Rules.in", - index=5, - number=6, - type=13, - cpp_type=3, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="p2p_validate.UInt32Rules.not_in", - index=6, - number=7, - type=13, - cpp_type=3, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable", - full_name="p2p_validate.UInt32Rules.enable", - index=7, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default", - full_name="p2p_validate.UInt32Rules.default", - index=8, - number=9, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory", - full_name="p2p_validate.UInt32Rules.default_factory", - index=9, - number=10, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default", - full_name="p2p_validate.UInt32Rules.miss_default", - index=10, - number=11, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias", - full_name="p2p_validate.UInt32Rules.alias", - index=11, - number=12, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="description", - full_name="p2p_validate.UInt32Rules.description", - index=12, - number=13, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="multiple_of", - full_name="p2p_validate.UInt32Rules.multiple_of", - index=13, - number=14, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example", - full_name="p2p_validate.UInt32Rules.example", - index=14, - number=15, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate.UInt32Rules.example_factory", - index=15, - number=16, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field", - full_name="p2p_validate.UInt32Rules.field", - index=16, - number=17, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type", - full_name="p2p_validate.UInt32Rules.type", - index=17, - number=18, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title", - full_name="p2p_validate.UInt32Rules.title", - index=18, - number=19, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra", - full_name="p2p_validate.UInt32Rules.extra", - index=19, - number=20, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="default_config", - full_name="p2p_validate.UInt32Rules.default_config", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="example_config", - full_name="p2p_validate.UInt32Rules.example_config", - index=1, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_const", - full_name="p2p_validate.UInt32Rules._const", - index=2, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_lt", - full_name="p2p_validate.UInt32Rules._lt", - index=3, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_le", - full_name="p2p_validate.UInt32Rules._le", - index=4, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_gt", - full_name="p2p_validate.UInt32Rules._gt", - index=5, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_ge", - full_name="p2p_validate.UInt32Rules._ge", - index=6, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_enable", - full_name="p2p_validate.UInt32Rules._enable", - index=7, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_alias", - full_name="p2p_validate.UInt32Rules._alias", - index=8, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_description", - full_name="p2p_validate.UInt32Rules._description", - index=9, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_multiple_of", - full_name="p2p_validate.UInt32Rules._multiple_of", - index=10, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_field", - full_name="p2p_validate.UInt32Rules._field", - index=11, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_type", - full_name="p2p_validate.UInt32Rules._type", - index=12, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_title", - full_name="p2p_validate.UInt32Rules._title", - index=13, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_extra", - full_name="p2p_validate.UInt32Rules._extra", - index=14, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=3534, - serialized_end=4117, -) - - -_UINT64RULES = _descriptor.Descriptor( - name="UInt64Rules", - full_name="p2p_validate.UInt64Rules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="p2p_validate.UInt64Rules.const", - index=0, - number=1, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="p2p_validate.UInt64Rules.lt", - index=1, - number=2, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="le", - full_name="p2p_validate.UInt64Rules.le", - index=2, - number=3, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="p2p_validate.UInt64Rules.gt", - index=3, - number=4, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ge", - full_name="p2p_validate.UInt64Rules.ge", - index=4, - number=5, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="p2p_validate.UInt64Rules.in", - index=5, - number=6, - type=4, - cpp_type=4, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="p2p_validate.UInt64Rules.not_in", - index=6, - number=7, - type=4, - cpp_type=4, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable", - full_name="p2p_validate.UInt64Rules.enable", - index=7, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default", - full_name="p2p_validate.UInt64Rules.default", - index=8, - number=9, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory", - full_name="p2p_validate.UInt64Rules.default_factory", - index=9, - number=10, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default", - full_name="p2p_validate.UInt64Rules.miss_default", - index=10, - number=11, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias", - full_name="p2p_validate.UInt64Rules.alias", - index=11, - number=12, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="description", - full_name="p2p_validate.UInt64Rules.description", - index=12, - number=13, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="multiple_of", - full_name="p2p_validate.UInt64Rules.multiple_of", - index=13, - number=14, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example", - full_name="p2p_validate.UInt64Rules.example", - index=14, - number=15, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate.UInt64Rules.example_factory", - index=15, - number=16, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field", - full_name="p2p_validate.UInt64Rules.field", - index=16, - number=17, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type", - full_name="p2p_validate.UInt64Rules.type", - index=17, - number=18, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title", - full_name="p2p_validate.UInt64Rules.title", - index=18, - number=19, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra", - full_name="p2p_validate.UInt64Rules.extra", - index=19, - number=20, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="default_config", - full_name="p2p_validate.UInt64Rules.default_config", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="example_config", - full_name="p2p_validate.UInt64Rules.example_config", - index=1, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_const", - full_name="p2p_validate.UInt64Rules._const", - index=2, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_lt", - full_name="p2p_validate.UInt64Rules._lt", - index=3, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_le", - full_name="p2p_validate.UInt64Rules._le", - index=4, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_gt", - full_name="p2p_validate.UInt64Rules._gt", - index=5, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_ge", - full_name="p2p_validate.UInt64Rules._ge", - index=6, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_enable", - full_name="p2p_validate.UInt64Rules._enable", - index=7, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_alias", - full_name="p2p_validate.UInt64Rules._alias", - index=8, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_description", - full_name="p2p_validate.UInt64Rules._description", - index=9, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_multiple_of", - full_name="p2p_validate.UInt64Rules._multiple_of", - index=10, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_field", - full_name="p2p_validate.UInt64Rules._field", - index=11, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_type", - full_name="p2p_validate.UInt64Rules._type", - index=12, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_title", - full_name="p2p_validate.UInt64Rules._title", - index=13, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_extra", - full_name="p2p_validate.UInt64Rules._extra", - index=14, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=4120, - serialized_end=4703, -) - - -_SINT32RULES = _descriptor.Descriptor( - name="SInt32Rules", - full_name="p2p_validate.SInt32Rules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="p2p_validate.SInt32Rules.const", - index=0, - number=1, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="p2p_validate.SInt32Rules.lt", - index=1, - number=2, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="le", - full_name="p2p_validate.SInt32Rules.le", - index=2, - number=3, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="p2p_validate.SInt32Rules.gt", - index=3, - number=4, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ge", - full_name="p2p_validate.SInt32Rules.ge", - index=4, - number=5, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="p2p_validate.SInt32Rules.in", - index=5, - number=6, - type=17, - cpp_type=1, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="p2p_validate.SInt32Rules.not_in", - index=6, - number=7, - type=17, - cpp_type=1, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable", - full_name="p2p_validate.SInt32Rules.enable", - index=7, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default", - full_name="p2p_validate.SInt32Rules.default", - index=8, - number=9, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory", - full_name="p2p_validate.SInt32Rules.default_factory", - index=9, - number=10, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default", - full_name="p2p_validate.SInt32Rules.miss_default", - index=10, - number=11, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias", - full_name="p2p_validate.SInt32Rules.alias", - index=11, - number=12, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="description", - full_name="p2p_validate.SInt32Rules.description", - index=12, - number=13, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="multiple_of", - full_name="p2p_validate.SInt32Rules.multiple_of", - index=13, - number=14, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example", - full_name="p2p_validate.SInt32Rules.example", - index=14, - number=15, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate.SInt32Rules.example_factory", - index=15, - number=16, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field", - full_name="p2p_validate.SInt32Rules.field", - index=16, - number=17, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type", - full_name="p2p_validate.SInt32Rules.type", - index=17, - number=18, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title", - full_name="p2p_validate.SInt32Rules.title", - index=18, - number=19, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra", - full_name="p2p_validate.SInt32Rules.extra", - index=19, - number=20, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="default_config", - full_name="p2p_validate.SInt32Rules.default_config", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="example_config", - full_name="p2p_validate.SInt32Rules.example_config", - index=1, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_const", - full_name="p2p_validate.SInt32Rules._const", - index=2, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_lt", - full_name="p2p_validate.SInt32Rules._lt", - index=3, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_le", - full_name="p2p_validate.SInt32Rules._le", - index=4, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_gt", - full_name="p2p_validate.SInt32Rules._gt", - index=5, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_ge", - full_name="p2p_validate.SInt32Rules._ge", - index=6, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_enable", - full_name="p2p_validate.SInt32Rules._enable", - index=7, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_alias", - full_name="p2p_validate.SInt32Rules._alias", - index=8, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_description", - full_name="p2p_validate.SInt32Rules._description", - index=9, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_multiple_of", - full_name="p2p_validate.SInt32Rules._multiple_of", - index=10, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_field", - full_name="p2p_validate.SInt32Rules._field", - index=11, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_type", - full_name="p2p_validate.SInt32Rules._type", - index=12, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_title", - full_name="p2p_validate.SInt32Rules._title", - index=13, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_extra", - full_name="p2p_validate.SInt32Rules._extra", - index=14, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=4706, - serialized_end=5289, -) - - -_SINT64RULES = _descriptor.Descriptor( - name="SInt64Rules", - full_name="p2p_validate.SInt64Rules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="p2p_validate.SInt64Rules.const", - index=0, - number=1, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="p2p_validate.SInt64Rules.lt", - index=1, - number=2, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="le", - full_name="p2p_validate.SInt64Rules.le", - index=2, - number=3, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="p2p_validate.SInt64Rules.gt", - index=3, - number=4, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ge", - full_name="p2p_validate.SInt64Rules.ge", - index=4, - number=5, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="p2p_validate.SInt64Rules.in", - index=5, - number=6, - type=18, - cpp_type=2, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="p2p_validate.SInt64Rules.not_in", - index=6, - number=7, - type=18, - cpp_type=2, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable", - full_name="p2p_validate.SInt64Rules.enable", - index=7, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default", - full_name="p2p_validate.SInt64Rules.default", - index=8, - number=9, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory", - full_name="p2p_validate.SInt64Rules.default_factory", - index=9, - number=10, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default", - full_name="p2p_validate.SInt64Rules.miss_default", - index=10, - number=11, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias", - full_name="p2p_validate.SInt64Rules.alias", - index=11, - number=12, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="description", - full_name="p2p_validate.SInt64Rules.description", - index=12, - number=13, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="multiple_of", - full_name="p2p_validate.SInt64Rules.multiple_of", - index=13, - number=14, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example", - full_name="p2p_validate.SInt64Rules.example", - index=14, - number=15, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate.SInt64Rules.example_factory", - index=15, - number=16, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field", - full_name="p2p_validate.SInt64Rules.field", - index=16, - number=17, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type", - full_name="p2p_validate.SInt64Rules.type", - index=17, - number=18, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title", - full_name="p2p_validate.SInt64Rules.title", - index=18, - number=19, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra", - full_name="p2p_validate.SInt64Rules.extra", - index=19, - number=20, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="default_config", - full_name="p2p_validate.SInt64Rules.default_config", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="example_config", - full_name="p2p_validate.SInt64Rules.example_config", - index=1, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_const", - full_name="p2p_validate.SInt64Rules._const", - index=2, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_lt", - full_name="p2p_validate.SInt64Rules._lt", - index=3, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_le", - full_name="p2p_validate.SInt64Rules._le", - index=4, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_gt", - full_name="p2p_validate.SInt64Rules._gt", - index=5, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_ge", - full_name="p2p_validate.SInt64Rules._ge", - index=6, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_enable", - full_name="p2p_validate.SInt64Rules._enable", - index=7, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_alias", - full_name="p2p_validate.SInt64Rules._alias", - index=8, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_description", - full_name="p2p_validate.SInt64Rules._description", - index=9, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_multiple_of", - full_name="p2p_validate.SInt64Rules._multiple_of", - index=10, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_field", - full_name="p2p_validate.SInt64Rules._field", - index=11, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_type", - full_name="p2p_validate.SInt64Rules._type", - index=12, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_title", - full_name="p2p_validate.SInt64Rules._title", - index=13, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_extra", - full_name="p2p_validate.SInt64Rules._extra", - index=14, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=5292, - serialized_end=5875, -) - - -_FIXED32RULES = _descriptor.Descriptor( - name="Fixed32Rules", - full_name="p2p_validate.Fixed32Rules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="p2p_validate.Fixed32Rules.const", - index=0, - number=1, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="p2p_validate.Fixed32Rules.lt", - index=1, - number=2, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="le", - full_name="p2p_validate.Fixed32Rules.le", - index=2, - number=3, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="p2p_validate.Fixed32Rules.gt", - index=3, - number=4, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ge", - full_name="p2p_validate.Fixed32Rules.ge", - index=4, - number=5, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="p2p_validate.Fixed32Rules.in", - index=5, - number=6, - type=7, - cpp_type=3, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="p2p_validate.Fixed32Rules.not_in", - index=6, - number=7, - type=7, - cpp_type=3, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable", - full_name="p2p_validate.Fixed32Rules.enable", - index=7, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default", - full_name="p2p_validate.Fixed32Rules.default", - index=8, - number=9, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory", - full_name="p2p_validate.Fixed32Rules.default_factory", - index=9, - number=10, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default", - full_name="p2p_validate.Fixed32Rules.miss_default", - index=10, - number=11, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias", - full_name="p2p_validate.Fixed32Rules.alias", - index=11, - number=12, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="description", - full_name="p2p_validate.Fixed32Rules.description", - index=12, - number=13, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="multiple_of", - full_name="p2p_validate.Fixed32Rules.multiple_of", - index=13, - number=14, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example", - full_name="p2p_validate.Fixed32Rules.example", - index=14, - number=15, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate.Fixed32Rules.example_factory", - index=15, - number=16, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field", - full_name="p2p_validate.Fixed32Rules.field", - index=16, - number=17, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type", - full_name="p2p_validate.Fixed32Rules.type", - index=17, - number=18, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title", - full_name="p2p_validate.Fixed32Rules.title", - index=18, - number=19, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra", - full_name="p2p_validate.Fixed32Rules.extra", - index=19, - number=20, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="default_config", - full_name="p2p_validate.Fixed32Rules.default_config", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="example_config", - full_name="p2p_validate.Fixed32Rules.example_config", - index=1, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_const", - full_name="p2p_validate.Fixed32Rules._const", - index=2, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_lt", - full_name="p2p_validate.Fixed32Rules._lt", - index=3, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_le", - full_name="p2p_validate.Fixed32Rules._le", - index=4, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_gt", - full_name="p2p_validate.Fixed32Rules._gt", - index=5, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_ge", - full_name="p2p_validate.Fixed32Rules._ge", - index=6, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_enable", - full_name="p2p_validate.Fixed32Rules._enable", - index=7, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_alias", - full_name="p2p_validate.Fixed32Rules._alias", - index=8, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_description", - full_name="p2p_validate.Fixed32Rules._description", - index=9, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_multiple_of", - full_name="p2p_validate.Fixed32Rules._multiple_of", - index=10, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_field", - full_name="p2p_validate.Fixed32Rules._field", - index=11, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_type", - full_name="p2p_validate.Fixed32Rules._type", - index=12, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_title", - full_name="p2p_validate.Fixed32Rules._title", - index=13, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_extra", - full_name="p2p_validate.Fixed32Rules._extra", - index=14, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=5878, - serialized_end=6462, -) - - -_FIXED64RULES = _descriptor.Descriptor( - name="Fixed64Rules", - full_name="p2p_validate.Fixed64Rules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="p2p_validate.Fixed64Rules.const", - index=0, - number=1, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="p2p_validate.Fixed64Rules.lt", - index=1, - number=2, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="le", - full_name="p2p_validate.Fixed64Rules.le", - index=2, - number=3, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="p2p_validate.Fixed64Rules.gt", - index=3, - number=4, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ge", - full_name="p2p_validate.Fixed64Rules.ge", - index=4, - number=5, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="p2p_validate.Fixed64Rules.in", - index=5, - number=6, - type=6, - cpp_type=4, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="p2p_validate.Fixed64Rules.not_in", - index=6, - number=7, - type=6, - cpp_type=4, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable", - full_name="p2p_validate.Fixed64Rules.enable", - index=7, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default", - full_name="p2p_validate.Fixed64Rules.default", - index=8, - number=9, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory", - full_name="p2p_validate.Fixed64Rules.default_factory", - index=9, - number=10, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default", - full_name="p2p_validate.Fixed64Rules.miss_default", - index=10, - number=11, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias", - full_name="p2p_validate.Fixed64Rules.alias", - index=11, - number=12, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="description", - full_name="p2p_validate.Fixed64Rules.description", - index=12, - number=13, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="multiple_of", - full_name="p2p_validate.Fixed64Rules.multiple_of", - index=13, - number=14, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example", - full_name="p2p_validate.Fixed64Rules.example", - index=14, - number=15, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate.Fixed64Rules.example_factory", - index=15, - number=16, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field", - full_name="p2p_validate.Fixed64Rules.field", - index=16, - number=17, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type", - full_name="p2p_validate.Fixed64Rules.type", - index=17, - number=18, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title", - full_name="p2p_validate.Fixed64Rules.title", - index=18, - number=19, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra", - full_name="p2p_validate.Fixed64Rules.extra", - index=19, - number=20, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="default_config", - full_name="p2p_validate.Fixed64Rules.default_config", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="example_config", - full_name="p2p_validate.Fixed64Rules.example_config", - index=1, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_const", - full_name="p2p_validate.Fixed64Rules._const", - index=2, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_lt", - full_name="p2p_validate.Fixed64Rules._lt", - index=3, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_le", - full_name="p2p_validate.Fixed64Rules._le", - index=4, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_gt", - full_name="p2p_validate.Fixed64Rules._gt", - index=5, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_ge", - full_name="p2p_validate.Fixed64Rules._ge", - index=6, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_enable", - full_name="p2p_validate.Fixed64Rules._enable", - index=7, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_alias", - full_name="p2p_validate.Fixed64Rules._alias", - index=8, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_description", - full_name="p2p_validate.Fixed64Rules._description", - index=9, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_multiple_of", - full_name="p2p_validate.Fixed64Rules._multiple_of", - index=10, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_field", - full_name="p2p_validate.Fixed64Rules._field", - index=11, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_type", - full_name="p2p_validate.Fixed64Rules._type", - index=12, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_title", - full_name="p2p_validate.Fixed64Rules._title", - index=13, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_extra", - full_name="p2p_validate.Fixed64Rules._extra", - index=14, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=6465, - serialized_end=7049, -) - - -_SFIXED32RULES = _descriptor.Descriptor( - name="SFixed32Rules", - full_name="p2p_validate.SFixed32Rules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="p2p_validate.SFixed32Rules.const", - index=0, - number=1, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="p2p_validate.SFixed32Rules.lt", - index=1, - number=2, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="le", - full_name="p2p_validate.SFixed32Rules.le", - index=2, - number=3, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="p2p_validate.SFixed32Rules.gt", - index=3, - number=4, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ge", - full_name="p2p_validate.SFixed32Rules.ge", - index=4, - number=5, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="p2p_validate.SFixed32Rules.in", - index=5, - number=6, - type=15, - cpp_type=1, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="p2p_validate.SFixed32Rules.not_in", - index=6, - number=7, - type=15, - cpp_type=1, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable", - full_name="p2p_validate.SFixed32Rules.enable", - index=7, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default", - full_name="p2p_validate.SFixed32Rules.default", - index=8, - number=9, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory", - full_name="p2p_validate.SFixed32Rules.default_factory", - index=9, - number=10, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default", - full_name="p2p_validate.SFixed32Rules.miss_default", - index=10, - number=11, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias", - full_name="p2p_validate.SFixed32Rules.alias", - index=11, - number=12, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="description", - full_name="p2p_validate.SFixed32Rules.description", - index=12, - number=13, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="multiple_of", - full_name="p2p_validate.SFixed32Rules.multiple_of", - index=13, - number=14, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example", - full_name="p2p_validate.SFixed32Rules.example", - index=14, - number=15, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate.SFixed32Rules.example_factory", - index=15, - number=16, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field", - full_name="p2p_validate.SFixed32Rules.field", - index=16, - number=17, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type", - full_name="p2p_validate.SFixed32Rules.type", - index=17, - number=18, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title", - full_name="p2p_validate.SFixed32Rules.title", - index=18, - number=19, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra", - full_name="p2p_validate.SFixed32Rules.extra", - index=19, - number=20, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="default_config", - full_name="p2p_validate.SFixed32Rules.default_config", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="example_config", - full_name="p2p_validate.SFixed32Rules.example_config", - index=1, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_const", - full_name="p2p_validate.SFixed32Rules._const", - index=2, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_lt", - full_name="p2p_validate.SFixed32Rules._lt", - index=3, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_le", - full_name="p2p_validate.SFixed32Rules._le", - index=4, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_gt", - full_name="p2p_validate.SFixed32Rules._gt", - index=5, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_ge", - full_name="p2p_validate.SFixed32Rules._ge", - index=6, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_enable", - full_name="p2p_validate.SFixed32Rules._enable", - index=7, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_alias", - full_name="p2p_validate.SFixed32Rules._alias", - index=8, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_description", - full_name="p2p_validate.SFixed32Rules._description", - index=9, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_multiple_of", - full_name="p2p_validate.SFixed32Rules._multiple_of", - index=10, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_field", - full_name="p2p_validate.SFixed32Rules._field", - index=11, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_type", - full_name="p2p_validate.SFixed32Rules._type", - index=12, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_title", - full_name="p2p_validate.SFixed32Rules._title", - index=13, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_extra", - full_name="p2p_validate.SFixed32Rules._extra", - index=14, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=7052, - serialized_end=7637, -) - - -_SFIXED64RULES = _descriptor.Descriptor( - name="SFixed64Rules", - full_name="p2p_validate.SFixed64Rules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="p2p_validate.SFixed64Rules.const", - index=0, - number=1, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="p2p_validate.SFixed64Rules.lt", - index=1, - number=2, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="le", - full_name="p2p_validate.SFixed64Rules.le", - index=2, - number=3, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="p2p_validate.SFixed64Rules.gt", - index=3, - number=4, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ge", - full_name="p2p_validate.SFixed64Rules.ge", - index=4, - number=5, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="p2p_validate.SFixed64Rules.in", - index=5, - number=6, - type=16, - cpp_type=2, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="p2p_validate.SFixed64Rules.not_in", - index=6, - number=7, - type=16, - cpp_type=2, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable", - full_name="p2p_validate.SFixed64Rules.enable", - index=7, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default", - full_name="p2p_validate.SFixed64Rules.default", - index=8, - number=9, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory", - full_name="p2p_validate.SFixed64Rules.default_factory", - index=9, - number=10, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default", - full_name="p2p_validate.SFixed64Rules.miss_default", - index=10, - number=11, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias", - full_name="p2p_validate.SFixed64Rules.alias", - index=11, - number=12, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="description", - full_name="p2p_validate.SFixed64Rules.description", - index=12, - number=13, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="multiple_of", - full_name="p2p_validate.SFixed64Rules.multiple_of", - index=13, - number=14, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example", - full_name="p2p_validate.SFixed64Rules.example", - index=14, - number=15, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate.SFixed64Rules.example_factory", - index=15, - number=16, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field", - full_name="p2p_validate.SFixed64Rules.field", - index=16, - number=17, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type", - full_name="p2p_validate.SFixed64Rules.type", - index=17, - number=18, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title", - full_name="p2p_validate.SFixed64Rules.title", - index=18, - number=19, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra", - full_name="p2p_validate.SFixed64Rules.extra", - index=19, - number=20, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="default_config", - full_name="p2p_validate.SFixed64Rules.default_config", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="example_config", - full_name="p2p_validate.SFixed64Rules.example_config", - index=1, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_const", - full_name="p2p_validate.SFixed64Rules._const", - index=2, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_lt", - full_name="p2p_validate.SFixed64Rules._lt", - index=3, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_le", - full_name="p2p_validate.SFixed64Rules._le", - index=4, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_gt", - full_name="p2p_validate.SFixed64Rules._gt", - index=5, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_ge", - full_name="p2p_validate.SFixed64Rules._ge", - index=6, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_enable", - full_name="p2p_validate.SFixed64Rules._enable", - index=7, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_alias", - full_name="p2p_validate.SFixed64Rules._alias", - index=8, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_description", - full_name="p2p_validate.SFixed64Rules._description", - index=9, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_multiple_of", - full_name="p2p_validate.SFixed64Rules._multiple_of", - index=10, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_field", - full_name="p2p_validate.SFixed64Rules._field", - index=11, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_type", - full_name="p2p_validate.SFixed64Rules._type", - index=12, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_title", - full_name="p2p_validate.SFixed64Rules._title", - index=13, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_extra", - full_name="p2p_validate.SFixed64Rules._extra", - index=14, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=7640, - serialized_end=8225, -) - - -_BOOLRULES = _descriptor.Descriptor( - name="BoolRules", - full_name="p2p_validate.BoolRules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="p2p_validate.BoolRules.const", - index=0, - number=1, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable", - full_name="p2p_validate.BoolRules.enable", - index=1, - number=2, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default", - full_name="p2p_validate.BoolRules.default", - index=2, - number=3, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default", - full_name="p2p_validate.BoolRules.miss_default", - index=3, - number=4, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias", - full_name="p2p_validate.BoolRules.alias", - index=4, - number=5, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="description", - full_name="p2p_validate.BoolRules.description", - index=5, - number=6, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example", - full_name="p2p_validate.BoolRules.example", - index=6, - number=7, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field", - full_name="p2p_validate.BoolRules.field", - index=7, - number=8, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type", - full_name="p2p_validate.BoolRules.type", - index=8, - number=9, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title", - full_name="p2p_validate.BoolRules.title", - index=9, - number=19, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra", - full_name="p2p_validate.BoolRules.extra", - index=10, - number=20, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="default_config", - full_name="p2p_validate.BoolRules.default_config", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_const", - full_name="p2p_validate.BoolRules._const", - index=1, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_enable", - full_name="p2p_validate.BoolRules._enable", - index=2, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_alias", - full_name="p2p_validate.BoolRules._alias", - index=3, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_description", - full_name="p2p_validate.BoolRules._description", - index=4, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_example", - full_name="p2p_validate.BoolRules._example", - index=5, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_field", - full_name="p2p_validate.BoolRules._field", - index=6, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_type", - full_name="p2p_validate.BoolRules._type", - index=7, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_title", - full_name="p2p_validate.BoolRules._title", - index=8, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_extra", - full_name="p2p_validate.BoolRules._extra", - index=9, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=8228, - serialized_end=8586, -) - - -_STRINGRULES = _descriptor.Descriptor( - name="StringRules", - full_name="p2p_validate.StringRules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="p2p_validate.StringRules.const", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="len", - full_name="p2p_validate.StringRules.len", - index=1, - number=2, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="min_length", - full_name="p2p_validate.StringRules.min_length", - index=2, - number=3, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="max_length", - full_name="p2p_validate.StringRules.max_length", - index=3, - number=4, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="pattern", - full_name="p2p_validate.StringRules.pattern", - index=4, - number=5, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="prefix", - full_name="p2p_validate.StringRules.prefix", - index=5, - number=6, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="suffix", - full_name="p2p_validate.StringRules.suffix", - index=6, - number=7, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="contains", - full_name="p2p_validate.StringRules.contains", - index=7, - number=8, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_contains", - full_name="p2p_validate.StringRules.not_contains", - index=8, - number=9, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="p2p_validate.StringRules.in", - index=9, - number=10, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="p2p_validate.StringRules.not_in", - index=10, - number=11, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="email", - full_name="p2p_validate.StringRules.email", - index=11, - number=12, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="hostname", - full_name="p2p_validate.StringRules.hostname", - index=12, - number=13, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ip", - full_name="p2p_validate.StringRules.ip", - index=13, - number=14, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ipv4", - full_name="p2p_validate.StringRules.ipv4", - index=14, - number=15, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ipv6", - full_name="p2p_validate.StringRules.ipv6", - index=15, - number=16, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="uri", - full_name="p2p_validate.StringRules.uri", - index=16, - number=17, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="uri_ref", - full_name="p2p_validate.StringRules.uri_ref", - index=17, - number=18, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="address", - full_name="p2p_validate.StringRules.address", - index=18, - number=21, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="uuid", - full_name="p2p_validate.StringRules.uuid", - index=19, - number=22, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="pydantic_type", - full_name="p2p_validate.StringRules.pydantic_type", - index=20, - number=99, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable", - full_name="p2p_validate.StringRules.enable", - index=21, - number=23, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default", - full_name="p2p_validate.StringRules.default", - index=22, - number=24, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory", - full_name="p2p_validate.StringRules.default_factory", - index=23, - number=25, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default", - full_name="p2p_validate.StringRules.miss_default", - index=24, - number=26, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias", - full_name="p2p_validate.StringRules.alias", - index=25, - number=27, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="description", - full_name="p2p_validate.StringRules.description", - index=26, - number=28, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example", - full_name="p2p_validate.StringRules.example", - index=27, - number=30, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate.StringRules.example_factory", - index=28, - number=31, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field", - full_name="p2p_validate.StringRules.field", - index=29, - number=32, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type", - full_name="p2p_validate.StringRules.type", - index=30, - number=33, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title", - full_name="p2p_validate.StringRules.title", - index=31, - number=34, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra", - full_name="p2p_validate.StringRules.extra", - index=32, - number=20, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="well_known", - full_name="p2p_validate.StringRules.well_known", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="default_config", - full_name="p2p_validate.StringRules.default_config", - index=1, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="example_config", - full_name="p2p_validate.StringRules.example_config", - index=2, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_const", - full_name="p2p_validate.StringRules._const", - index=3, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_len", - full_name="p2p_validate.StringRules._len", - index=4, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_min_length", - full_name="p2p_validate.StringRules._min_length", - index=5, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_max_length", - full_name="p2p_validate.StringRules._max_length", - index=6, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_pattern", - full_name="p2p_validate.StringRules._pattern", - index=7, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_prefix", - full_name="p2p_validate.StringRules._prefix", - index=8, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_suffix", - full_name="p2p_validate.StringRules._suffix", - index=9, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_contains", - full_name="p2p_validate.StringRules._contains", - index=10, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_not_contains", - full_name="p2p_validate.StringRules._not_contains", - index=11, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_enable", - full_name="p2p_validate.StringRules._enable", - index=12, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_alias", - full_name="p2p_validate.StringRules._alias", - index=13, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_description", - full_name="p2p_validate.StringRules._description", - index=14, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_field", - full_name="p2p_validate.StringRules._field", - index=15, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_type", - full_name="p2p_validate.StringRules._type", - index=16, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_title", - full_name="p2p_validate.StringRules._title", - index=17, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_extra", - full_name="p2p_validate.StringRules._extra", - index=18, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=8589, - serialized_end=9509, -) - - -_BYTESRULES = _descriptor.Descriptor( - name="BytesRules", - full_name="p2p_validate.BytesRules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="p2p_validate.BytesRules.const", - index=0, - number=1, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="min_length", - full_name="p2p_validate.BytesRules.min_length", - index=1, - number=2, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="max_length", - full_name="p2p_validate.BytesRules.max_length", - index=2, - number=3, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="prefix", - full_name="p2p_validate.BytesRules.prefix", - index=3, - number=5, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="suffix", - full_name="p2p_validate.BytesRules.suffix", - index=4, - number=6, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="contains", - full_name="p2p_validate.BytesRules.contains", - index=5, - number=7, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="p2p_validate.BytesRules.in", - index=6, - number=8, - type=12, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="p2p_validate.BytesRules.not_in", - index=7, - number=9, - type=12, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable", - full_name="p2p_validate.BytesRules.enable", - index=8, - number=10, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default", - full_name="p2p_validate.BytesRules.default", - index=9, - number=11, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory", - full_name="p2p_validate.BytesRules.default_factory", - index=10, - number=12, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default", - full_name="p2p_validate.BytesRules.miss_default", - index=11, - number=13, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias", - full_name="p2p_validate.BytesRules.alias", - index=12, - number=14, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="description", - full_name="p2p_validate.BytesRules.description", - index=13, - number=15, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="multiple_of", - full_name="p2p_validate.BytesRules.multiple_of", - index=14, - number=16, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example", - full_name="p2p_validate.BytesRules.example", - index=15, - number=17, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate.BytesRules.example_factory", - index=16, - number=18, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field", - full_name="p2p_validate.BytesRules.field", - index=17, - number=19, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type", - full_name="p2p_validate.BytesRules.type", - index=18, - number=20, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ip", - full_name="p2p_validate.BytesRules.ip", - index=19, - number=21, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ipv4", - full_name="p2p_validate.BytesRules.ipv4", - index=20, - number=22, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ipv6", - full_name="p2p_validate.BytesRules.ipv6", - index=21, - number=23, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title", - full_name="p2p_validate.BytesRules.title", - index=22, - number=24, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra", - full_name="p2p_validate.BytesRules.extra", - index=23, - number=25, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="default_config", - full_name="p2p_validate.BytesRules.default_config", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="example_config", - full_name="p2p_validate.BytesRules.example_config", - index=1, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="well_known", - full_name="p2p_validate.BytesRules.well_known", - index=2, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_const", - full_name="p2p_validate.BytesRules._const", - index=3, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_min_length", - full_name="p2p_validate.BytesRules._min_length", - index=4, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_max_length", - full_name="p2p_validate.BytesRules._max_length", - index=5, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_prefix", - full_name="p2p_validate.BytesRules._prefix", - index=6, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_suffix", - full_name="p2p_validate.BytesRules._suffix", - index=7, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_contains", - full_name="p2p_validate.BytesRules._contains", - index=8, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_enable", - full_name="p2p_validate.BytesRules._enable", - index=9, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_alias", - full_name="p2p_validate.BytesRules._alias", - index=10, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_description", - full_name="p2p_validate.BytesRules._description", - index=11, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_multiple_of", - full_name="p2p_validate.BytesRules._multiple_of", - index=12, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_field", - full_name="p2p_validate.BytesRules._field", - index=13, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_type", - full_name="p2p_validate.BytesRules._type", - index=14, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_title", - full_name="p2p_validate.BytesRules._title", - index=15, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_extra", - full_name="p2p_validate.BytesRules._extra", - index=16, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=9512, - serialized_end=10238, -) - - -_ENUMRULES = _descriptor.Descriptor( - name="EnumRules", - full_name="p2p_validate.EnumRules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="p2p_validate.EnumRules.const", - index=0, - number=1, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="p2p_validate.EnumRules.in", - index=1, - number=3, - type=5, - cpp_type=1, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="p2p_validate.EnumRules.not_in", - index=2, - number=4, - type=5, - cpp_type=1, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable", - full_name="p2p_validate.EnumRules.enable", - index=3, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default", - full_name="p2p_validate.EnumRules.default", - index=4, - number=9, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory", - full_name="p2p_validate.EnumRules.default_factory", - index=5, - number=10, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default", - full_name="p2p_validate.EnumRules.miss_default", - index=6, - number=11, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias", - full_name="p2p_validate.EnumRules.alias", - index=7, - number=12, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="description", - full_name="p2p_validate.EnumRules.description", - index=8, - number=13, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example", - full_name="p2p_validate.EnumRules.example", - index=9, - number=15, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate.EnumRules.example_factory", - index=10, - number=16, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field", - full_name="p2p_validate.EnumRules.field", - index=11, - number=17, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title", - full_name="p2p_validate.EnumRules.title", - index=12, - number=18, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra", - full_name="p2p_validate.EnumRules.extra", - index=13, - number=20, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="default_config", - full_name="p2p_validate.EnumRules.default_config", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="example_config", - full_name="p2p_validate.EnumRules.example_config", - index=1, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_const", - full_name="p2p_validate.EnumRules._const", - index=2, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_enable", - full_name="p2p_validate.EnumRules._enable", - index=3, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_alias", - full_name="p2p_validate.EnumRules._alias", - index=4, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_description", - full_name="p2p_validate.EnumRules._description", - index=5, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_field", - full_name="p2p_validate.EnumRules._field", - index=6, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_title", - full_name="p2p_validate.EnumRules._title", - index=7, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_extra", - full_name="p2p_validate.EnumRules._extra", - index=8, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=10241, - serialized_end=10656, -) - - -_MESSAGERULES = _descriptor.Descriptor( - name="MessageRules", - full_name="p2p_validate.MessageRules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="skip", - full_name="p2p_validate.MessageRules.skip", - index=0, - number=1, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="required", - full_name="p2p_validate.MessageRules.required", - index=1, - number=2, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable", - full_name="p2p_validate.MessageRules.enable", - index=2, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default", - full_name="p2p_validate.MessageRules.default", - index=3, - number=9, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory", - full_name="p2p_validate.MessageRules.default_factory", - index=4, - number=10, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default", - full_name="p2p_validate.MessageRules.miss_default", - index=5, - number=11, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias", - full_name="p2p_validate.MessageRules.alias", - index=6, - number=12, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="description", - full_name="p2p_validate.MessageRules.description", - index=7, - number=13, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example", - full_name="p2p_validate.MessageRules.example", - index=8, - number=15, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate.MessageRules.example_factory", - index=9, - number=16, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field", - full_name="p2p_validate.MessageRules.field", - index=10, - number=17, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type", - full_name="p2p_validate.MessageRules.type", - index=11, - number=18, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title", - full_name="p2p_validate.MessageRules.title", - index=12, - number=19, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra", - full_name="p2p_validate.MessageRules.extra", - index=13, - number=20, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="default_config", - full_name="p2p_validate.MessageRules.default_config", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="example_config", - full_name="p2p_validate.MessageRules.example_config", - index=1, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_skip", - full_name="p2p_validate.MessageRules._skip", - index=2, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_required", - full_name="p2p_validate.MessageRules._required", - index=3, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_enable", - full_name="p2p_validate.MessageRules._enable", - index=4, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_alias", - full_name="p2p_validate.MessageRules._alias", - index=5, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_description", - full_name="p2p_validate.MessageRules._description", - index=6, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_field", - full_name="p2p_validate.MessageRules._field", - index=7, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_type", - full_name="p2p_validate.MessageRules._type", - index=8, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_title", - full_name="p2p_validate.MessageRules._title", - index=9, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_extra", - full_name="p2p_validate.MessageRules._extra", - index=10, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=10659, - serialized_end=11111, -) - - -_REPEATEDRULES = _descriptor.Descriptor( - name="RepeatedRules", - full_name="p2p_validate.RepeatedRules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="min_items", - full_name="p2p_validate.RepeatedRules.min_items", - index=0, - number=1, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="max_items", - full_name="p2p_validate.RepeatedRules.max_items", - index=1, - number=2, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="unique", - full_name="p2p_validate.RepeatedRules.unique", - index=2, - number=3, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="items", - full_name="p2p_validate.RepeatedRules.items", - index=3, - number=4, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable", - full_name="p2p_validate.RepeatedRules.enable", - index=4, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory", - full_name="p2p_validate.RepeatedRules.default_factory", - index=5, - number=10, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default", - full_name="p2p_validate.RepeatedRules.miss_default", - index=6, - number=11, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias", - full_name="p2p_validate.RepeatedRules.alias", - index=7, - number=12, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="description", - full_name="p2p_validate.RepeatedRules.description", - index=8, - number=13, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate.RepeatedRules.example_factory", - index=9, - number=16, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field", - full_name="p2p_validate.RepeatedRules.field", - index=10, - number=17, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type", - full_name="p2p_validate.RepeatedRules.type", - index=11, - number=18, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title", - full_name="p2p_validate.RepeatedRules.title", - index=12, - number=19, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra", - full_name="p2p_validate.RepeatedRules.extra", - index=13, - number=20, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="default_config", - full_name="p2p_validate.RepeatedRules.default_config", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="example_config", - full_name="p2p_validate.RepeatedRules.example_config", - index=1, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_min_items", - full_name="p2p_validate.RepeatedRules._min_items", - index=2, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_max_items", - full_name="p2p_validate.RepeatedRules._max_items", - index=3, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_unique", - full_name="p2p_validate.RepeatedRules._unique", - index=4, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_items", - full_name="p2p_validate.RepeatedRules._items", - index=5, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_enable", - full_name="p2p_validate.RepeatedRules._enable", - index=6, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_alias", - full_name="p2p_validate.RepeatedRules._alias", - index=7, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_description", - full_name="p2p_validate.RepeatedRules._description", - index=8, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_field", - full_name="p2p_validate.RepeatedRules._field", - index=9, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_type", - full_name="p2p_validate.RepeatedRules._type", - index=10, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_title", - full_name="p2p_validate.RepeatedRules._title", - index=11, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_extra", - full_name="p2p_validate.RepeatedRules._extra", - index=12, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=11114, - serialized_end=11629, -) - - -_MAPRULES = _descriptor.Descriptor( - name="MapRules", - full_name="p2p_validate.MapRules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="min_pairs", - full_name="p2p_validate.MapRules.min_pairs", - index=0, - number=1, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="max_pairs", - full_name="p2p_validate.MapRules.max_pairs", - index=1, - number=2, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="keys", - full_name="p2p_validate.MapRules.keys", - index=2, - number=4, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="values", - full_name="p2p_validate.MapRules.values", - index=3, - number=5, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable", - full_name="p2p_validate.MapRules.enable", - index=4, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory", - full_name="p2p_validate.MapRules.default_factory", - index=5, - number=10, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default", - full_name="p2p_validate.MapRules.miss_default", - index=6, - number=11, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias", - full_name="p2p_validate.MapRules.alias", - index=7, - number=12, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="description", - full_name="p2p_validate.MapRules.description", - index=8, - number=13, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate.MapRules.example_factory", - index=9, - number=16, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field", - full_name="p2p_validate.MapRules.field", - index=10, - number=17, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type", - full_name="p2p_validate.MapRules.type", - index=11, - number=18, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title", - full_name="p2p_validate.MapRules.title", - index=12, - number=19, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra", - full_name="p2p_validate.MapRules.extra", - index=13, - number=20, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="default_config", - full_name="p2p_validate.MapRules.default_config", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="example_config", - full_name="p2p_validate.MapRules.example_config", - index=1, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_min_pairs", - full_name="p2p_validate.MapRules._min_pairs", - index=2, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_max_pairs", - full_name="p2p_validate.MapRules._max_pairs", - index=3, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_keys", - full_name="p2p_validate.MapRules._keys", - index=4, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_values", - full_name="p2p_validate.MapRules._values", - index=5, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_enable", - full_name="p2p_validate.MapRules._enable", - index=6, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_alias", - full_name="p2p_validate.MapRules._alias", - index=7, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_description", - full_name="p2p_validate.MapRules._description", - index=8, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_field", - full_name="p2p_validate.MapRules._field", - index=9, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_type", - full_name="p2p_validate.MapRules._type", - index=10, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_title", - full_name="p2p_validate.MapRules._title", - index=11, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_extra", - full_name="p2p_validate.MapRules._extra", - index=12, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=11632, - serialized_end=12166, -) - - -_ANYRULES = _descriptor.Descriptor( - name="AnyRules", - full_name="p2p_validate.AnyRules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="required", - full_name="p2p_validate.AnyRules.required", - index=0, - number=1, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="p2p_validate.AnyRules.in", - index=1, - number=2, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="p2p_validate.AnyRules.not_in", - index=2, - number=3, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable", - full_name="p2p_validate.AnyRules.enable", - index=3, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default", - full_name="p2p_validate.AnyRules.default", - index=4, - number=9, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory", - full_name="p2p_validate.AnyRules.default_factory", - index=5, - number=10, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default", - full_name="p2p_validate.AnyRules.miss_default", - index=6, - number=11, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias", - full_name="p2p_validate.AnyRules.alias", - index=7, - number=12, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="description", - full_name="p2p_validate.AnyRules.description", - index=8, - number=13, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example", - full_name="p2p_validate.AnyRules.example", - index=9, - number=14, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate.AnyRules.example_factory", - index=10, - number=15, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field", - full_name="p2p_validate.AnyRules.field", - index=11, - number=16, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title", - full_name="p2p_validate.AnyRules.title", - index=12, - number=17, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra", - full_name="p2p_validate.AnyRules.extra", - index=13, - number=20, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="default_config", - full_name="p2p_validate.AnyRules.default_config", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="example_config", - full_name="p2p_validate.AnyRules.example_config", - index=1, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_required", - full_name="p2p_validate.AnyRules._required", - index=2, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_enable", - full_name="p2p_validate.AnyRules._enable", - index=3, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_alias", - full_name="p2p_validate.AnyRules._alias", - index=4, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_description", - full_name="p2p_validate.AnyRules._description", - index=5, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_field", - full_name="p2p_validate.AnyRules._field", - index=6, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_title", - full_name="p2p_validate.AnyRules._title", - index=7, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_extra", - full_name="p2p_validate.AnyRules._extra", - index=8, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=12169, - serialized_end=12589, -) - - -_DURATIONRULES = _descriptor.Descriptor( - name="DurationRules", - full_name="p2p_validate.DurationRules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="p2p_validate.DurationRules.const", - index=0, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="p2p_validate.DurationRules.lt", - index=1, - number=3, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="le", - full_name="p2p_validate.DurationRules.le", - index=2, - number=4, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="p2p_validate.DurationRules.gt", - index=3, - number=5, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ge", - full_name="p2p_validate.DurationRules.ge", - index=4, - number=6, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="p2p_validate.DurationRules.in", - index=5, - number=7, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="p2p_validate.DurationRules.not_in", - index=6, - number=8, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable", - full_name="p2p_validate.DurationRules.enable", - index=7, - number=14, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default", - full_name="p2p_validate.DurationRules.default", - index=8, - number=9, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory", - full_name="p2p_validate.DurationRules.default_factory", - index=9, - number=10, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default", - full_name="p2p_validate.DurationRules.miss_default", - index=10, - number=11, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias", - full_name="p2p_validate.DurationRules.alias", - index=11, - number=12, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="description", - full_name="p2p_validate.DurationRules.description", - index=12, - number=13, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example", - full_name="p2p_validate.DurationRules.example", - index=13, - number=15, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate.DurationRules.example_factory", - index=14, - number=16, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field", - full_name="p2p_validate.DurationRules.field", - index=15, - number=17, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type", - full_name="p2p_validate.DurationRules.type", - index=16, - number=18, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title", - full_name="p2p_validate.DurationRules.title", - index=17, - number=19, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra", - full_name="p2p_validate.DurationRules.extra", - index=18, - number=20, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="default_config", - full_name="p2p_validate.DurationRules.default_config", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="example_config", - full_name="p2p_validate.DurationRules.example_config", - index=1, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_const", - full_name="p2p_validate.DurationRules._const", - index=2, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_lt", - full_name="p2p_validate.DurationRules._lt", - index=3, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_le", - full_name="p2p_validate.DurationRules._le", - index=4, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_gt", - full_name="p2p_validate.DurationRules._gt", - index=5, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_ge", - full_name="p2p_validate.DurationRules._ge", - index=6, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_enable", - full_name="p2p_validate.DurationRules._enable", - index=7, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_alias", - full_name="p2p_validate.DurationRules._alias", - index=8, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_description", - full_name="p2p_validate.DurationRules._description", - index=9, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_field", - full_name="p2p_validate.DurationRules._field", - index=10, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_type", - full_name="p2p_validate.DurationRules._type", - index=11, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_title", - full_name="p2p_validate.DurationRules._title", - index=12, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_extra", - full_name="p2p_validate.DurationRules._extra", - index=13, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=12592, - serialized_end=13378, -) - - -_TIMESTAMPRULES = _descriptor.Descriptor( - name="TimestampRules", - full_name="p2p_validate.TimestampRules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="p2p_validate.TimestampRules.const", - index=0, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="p2p_validate.TimestampRules.lt", - index=1, - number=3, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="le", - full_name="p2p_validate.TimestampRules.le", - index=2, - number=4, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="p2p_validate.TimestampRules.gt", - index=3, - number=5, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ge", - full_name="p2p_validate.TimestampRules.ge", - index=4, - number=6, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt_now", - full_name="p2p_validate.TimestampRules.lt_now", - index=5, - number=7, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt_now", - full_name="p2p_validate.TimestampRules.gt_now", - index=6, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="within", - full_name="p2p_validate.TimestampRules.within", - index=7, - number=9, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable", - full_name="p2p_validate.TimestampRules.enable", - index=8, - number=10, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default", - full_name="p2p_validate.TimestampRules.default", - index=9, - number=11, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory", - full_name="p2p_validate.TimestampRules.default_factory", - index=10, - number=12, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default", - full_name="p2p_validate.TimestampRules.miss_default", - index=11, - number=13, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias", - full_name="p2p_validate.TimestampRules.alias", - index=12, - number=14, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="description", - full_name="p2p_validate.TimestampRules.description", - index=13, - number=15, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example", - full_name="p2p_validate.TimestampRules.example", - index=14, - number=16, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate.TimestampRules.example_factory", - index=15, - number=17, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field", - full_name="p2p_validate.TimestampRules.field", - index=16, - number=18, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type", - full_name="p2p_validate.TimestampRules.type", - index=17, - number=19, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title", - full_name="p2p_validate.TimestampRules.title", - index=18, - number=20, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra", - full_name="p2p_validate.TimestampRules.extra", - index=19, - number=21, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="default_config", - full_name="p2p_validate.TimestampRules.default_config", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="example_config", - full_name="p2p_validate.TimestampRules.example_config", - index=1, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_const", - full_name="p2p_validate.TimestampRules._const", - index=2, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_lt", - full_name="p2p_validate.TimestampRules._lt", - index=3, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_le", - full_name="p2p_validate.TimestampRules._le", - index=4, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_gt", - full_name="p2p_validate.TimestampRules._gt", - index=5, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_ge", - full_name="p2p_validate.TimestampRules._ge", - index=6, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_lt_now", - full_name="p2p_validate.TimestampRules._lt_now", - index=7, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_gt_now", - full_name="p2p_validate.TimestampRules._gt_now", - index=8, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_within", - full_name="p2p_validate.TimestampRules._within", - index=9, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_enable", - full_name="p2p_validate.TimestampRules._enable", - index=10, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_alias", - full_name="p2p_validate.TimestampRules._alias", - index=11, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_description", - full_name="p2p_validate.TimestampRules._description", - index=12, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_field", - full_name="p2p_validate.TimestampRules._field", - index=13, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_type", - full_name="p2p_validate.TimestampRules._type", - index=14, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_title", - full_name="p2p_validate.TimestampRules._title", - index=15, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - _descriptor.OneofDescriptor( - name="_extra", - full_name="p2p_validate.TimestampRules._extra", - index=16, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=13381, - serialized_end=14216, -) - -_FIELDRULES.fields_by_name["message"].message_type = _MESSAGERULES -_FIELDRULES.fields_by_name["float"].message_type = _FLOATRULES -_FIELDRULES.fields_by_name["double"].message_type = _DOUBLERULES -_FIELDRULES.fields_by_name["int32"].message_type = _INT32RULES -_FIELDRULES.fields_by_name["int64"].message_type = _INT64RULES -_FIELDRULES.fields_by_name["uint32"].message_type = _UINT32RULES -_FIELDRULES.fields_by_name["uint64"].message_type = _UINT64RULES -_FIELDRULES.fields_by_name["sint32"].message_type = _SINT32RULES -_FIELDRULES.fields_by_name["sint64"].message_type = _SINT64RULES -_FIELDRULES.fields_by_name["fixed32"].message_type = _FIXED32RULES -_FIELDRULES.fields_by_name["fixed64"].message_type = _FIXED64RULES -_FIELDRULES.fields_by_name["sfixed32"].message_type = _SFIXED32RULES -_FIELDRULES.fields_by_name["sfixed64"].message_type = _SFIXED64RULES -_FIELDRULES.fields_by_name["bool"].message_type = _BOOLRULES -_FIELDRULES.fields_by_name["string"].message_type = _STRINGRULES -_FIELDRULES.fields_by_name["bytes"].message_type = _BYTESRULES -_FIELDRULES.fields_by_name["enum"].message_type = _ENUMRULES -_FIELDRULES.fields_by_name["repeated"].message_type = _REPEATEDRULES -_FIELDRULES.fields_by_name["map"].message_type = _MAPRULES -_FIELDRULES.fields_by_name["any"].message_type = _ANYRULES -_FIELDRULES.fields_by_name["duration"].message_type = _DURATIONRULES -_FIELDRULES.fields_by_name["timestamp"].message_type = _TIMESTAMPRULES -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["float"]) -_FIELDRULES.fields_by_name["float"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["double"]) -_FIELDRULES.fields_by_name["double"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["int32"]) -_FIELDRULES.fields_by_name["int32"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["int64"]) -_FIELDRULES.fields_by_name["int64"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["uint32"]) -_FIELDRULES.fields_by_name["uint32"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["uint64"]) -_FIELDRULES.fields_by_name["uint64"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["sint32"]) -_FIELDRULES.fields_by_name["sint32"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["sint64"]) -_FIELDRULES.fields_by_name["sint64"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["fixed32"]) -_FIELDRULES.fields_by_name["fixed32"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["fixed64"]) -_FIELDRULES.fields_by_name["fixed64"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["sfixed32"]) -_FIELDRULES.fields_by_name["sfixed32"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["sfixed64"]) -_FIELDRULES.fields_by_name["sfixed64"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["bool"]) -_FIELDRULES.fields_by_name["bool"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["string"]) -_FIELDRULES.fields_by_name["string"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["bytes"]) -_FIELDRULES.fields_by_name["bytes"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["enum"]) -_FIELDRULES.fields_by_name["enum"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["repeated"]) -_FIELDRULES.fields_by_name["repeated"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["map"]) -_FIELDRULES.fields_by_name["map"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["any"]) -_FIELDRULES.fields_by_name["any"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["duration"]) -_FIELDRULES.fields_by_name["duration"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["timestamp"]) -_FIELDRULES.fields_by_name["timestamp"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["_message"].fields.append(_FIELDRULES.fields_by_name["message"]) -_FIELDRULES.fields_by_name["message"].containing_oneof = _FIELDRULES.oneofs_by_name["_message"] -_FLOATRULES.oneofs_by_name["default_config"].fields.append(_FLOATRULES.fields_by_name["default"]) -_FLOATRULES.fields_by_name["default"].containing_oneof = _FLOATRULES.oneofs_by_name["default_config"] -_FLOATRULES.oneofs_by_name["default_config"].fields.append(_FLOATRULES.fields_by_name["default_factory"]) -_FLOATRULES.fields_by_name["default_factory"].containing_oneof = _FLOATRULES.oneofs_by_name["default_config"] -_FLOATRULES.oneofs_by_name["default_config"].fields.append(_FLOATRULES.fields_by_name["miss_default"]) -_FLOATRULES.fields_by_name["miss_default"].containing_oneof = _FLOATRULES.oneofs_by_name["default_config"] -_FLOATRULES.oneofs_by_name["example_config"].fields.append(_FLOATRULES.fields_by_name["example"]) -_FLOATRULES.fields_by_name["example"].containing_oneof = _FLOATRULES.oneofs_by_name["example_config"] -_FLOATRULES.oneofs_by_name["example_config"].fields.append(_FLOATRULES.fields_by_name["example_factory"]) -_FLOATRULES.fields_by_name["example_factory"].containing_oneof = _FLOATRULES.oneofs_by_name["example_config"] -_FLOATRULES.oneofs_by_name["_const"].fields.append(_FLOATRULES.fields_by_name["const"]) -_FLOATRULES.fields_by_name["const"].containing_oneof = _FLOATRULES.oneofs_by_name["_const"] -_FLOATRULES.oneofs_by_name["_lt"].fields.append(_FLOATRULES.fields_by_name["lt"]) -_FLOATRULES.fields_by_name["lt"].containing_oneof = _FLOATRULES.oneofs_by_name["_lt"] -_FLOATRULES.oneofs_by_name["_le"].fields.append(_FLOATRULES.fields_by_name["le"]) -_FLOATRULES.fields_by_name["le"].containing_oneof = _FLOATRULES.oneofs_by_name["_le"] -_FLOATRULES.oneofs_by_name["_gt"].fields.append(_FLOATRULES.fields_by_name["gt"]) -_FLOATRULES.fields_by_name["gt"].containing_oneof = _FLOATRULES.oneofs_by_name["_gt"] -_FLOATRULES.oneofs_by_name["_ge"].fields.append(_FLOATRULES.fields_by_name["ge"]) -_FLOATRULES.fields_by_name["ge"].containing_oneof = _FLOATRULES.oneofs_by_name["_ge"] -_FLOATRULES.oneofs_by_name["_enable"].fields.append(_FLOATRULES.fields_by_name["enable"]) -_FLOATRULES.fields_by_name["enable"].containing_oneof = _FLOATRULES.oneofs_by_name["_enable"] -_FLOATRULES.oneofs_by_name["_alias"].fields.append(_FLOATRULES.fields_by_name["alias"]) -_FLOATRULES.fields_by_name["alias"].containing_oneof = _FLOATRULES.oneofs_by_name["_alias"] -_FLOATRULES.oneofs_by_name["_description"].fields.append(_FLOATRULES.fields_by_name["description"]) -_FLOATRULES.fields_by_name["description"].containing_oneof = _FLOATRULES.oneofs_by_name["_description"] -_FLOATRULES.oneofs_by_name["_multiple_of"].fields.append(_FLOATRULES.fields_by_name["multiple_of"]) -_FLOATRULES.fields_by_name["multiple_of"].containing_oneof = _FLOATRULES.oneofs_by_name["_multiple_of"] -_FLOATRULES.oneofs_by_name["_field"].fields.append(_FLOATRULES.fields_by_name["field"]) -_FLOATRULES.fields_by_name["field"].containing_oneof = _FLOATRULES.oneofs_by_name["_field"] -_FLOATRULES.oneofs_by_name["_type"].fields.append(_FLOATRULES.fields_by_name["type"]) -_FLOATRULES.fields_by_name["type"].containing_oneof = _FLOATRULES.oneofs_by_name["_type"] -_FLOATRULES.oneofs_by_name["_title"].fields.append(_FLOATRULES.fields_by_name["title"]) -_FLOATRULES.fields_by_name["title"].containing_oneof = _FLOATRULES.oneofs_by_name["_title"] -_FLOATRULES.oneofs_by_name["_extra"].fields.append(_FLOATRULES.fields_by_name["extra"]) -_FLOATRULES.fields_by_name["extra"].containing_oneof = _FLOATRULES.oneofs_by_name["_extra"] -_DOUBLERULES.oneofs_by_name["default_config"].fields.append(_DOUBLERULES.fields_by_name["default"]) -_DOUBLERULES.fields_by_name["default"].containing_oneof = _DOUBLERULES.oneofs_by_name["default_config"] -_DOUBLERULES.oneofs_by_name["default_config"].fields.append(_DOUBLERULES.fields_by_name["default_factory"]) -_DOUBLERULES.fields_by_name["default_factory"].containing_oneof = _DOUBLERULES.oneofs_by_name["default_config"] -_DOUBLERULES.oneofs_by_name["default_config"].fields.append(_DOUBLERULES.fields_by_name["miss_default"]) -_DOUBLERULES.fields_by_name["miss_default"].containing_oneof = _DOUBLERULES.oneofs_by_name["default_config"] -_DOUBLERULES.oneofs_by_name["example_config"].fields.append(_DOUBLERULES.fields_by_name["example"]) -_DOUBLERULES.fields_by_name["example"].containing_oneof = _DOUBLERULES.oneofs_by_name["example_config"] -_DOUBLERULES.oneofs_by_name["example_config"].fields.append(_DOUBLERULES.fields_by_name["example_factory"]) -_DOUBLERULES.fields_by_name["example_factory"].containing_oneof = _DOUBLERULES.oneofs_by_name["example_config"] -_DOUBLERULES.oneofs_by_name["_const"].fields.append(_DOUBLERULES.fields_by_name["const"]) -_DOUBLERULES.fields_by_name["const"].containing_oneof = _DOUBLERULES.oneofs_by_name["_const"] -_DOUBLERULES.oneofs_by_name["_lt"].fields.append(_DOUBLERULES.fields_by_name["lt"]) -_DOUBLERULES.fields_by_name["lt"].containing_oneof = _DOUBLERULES.oneofs_by_name["_lt"] -_DOUBLERULES.oneofs_by_name["_le"].fields.append(_DOUBLERULES.fields_by_name["le"]) -_DOUBLERULES.fields_by_name["le"].containing_oneof = _DOUBLERULES.oneofs_by_name["_le"] -_DOUBLERULES.oneofs_by_name["_gt"].fields.append(_DOUBLERULES.fields_by_name["gt"]) -_DOUBLERULES.fields_by_name["gt"].containing_oneof = _DOUBLERULES.oneofs_by_name["_gt"] -_DOUBLERULES.oneofs_by_name["_ge"].fields.append(_DOUBLERULES.fields_by_name["ge"]) -_DOUBLERULES.fields_by_name["ge"].containing_oneof = _DOUBLERULES.oneofs_by_name["_ge"] -_DOUBLERULES.oneofs_by_name["_enable"].fields.append(_DOUBLERULES.fields_by_name["enable"]) -_DOUBLERULES.fields_by_name["enable"].containing_oneof = _DOUBLERULES.oneofs_by_name["_enable"] -_DOUBLERULES.oneofs_by_name["_alias"].fields.append(_DOUBLERULES.fields_by_name["alias"]) -_DOUBLERULES.fields_by_name["alias"].containing_oneof = _DOUBLERULES.oneofs_by_name["_alias"] -_DOUBLERULES.oneofs_by_name["_description"].fields.append(_DOUBLERULES.fields_by_name["description"]) -_DOUBLERULES.fields_by_name["description"].containing_oneof = _DOUBLERULES.oneofs_by_name["_description"] -_DOUBLERULES.oneofs_by_name["_multiple_of"].fields.append(_DOUBLERULES.fields_by_name["multiple_of"]) -_DOUBLERULES.fields_by_name["multiple_of"].containing_oneof = _DOUBLERULES.oneofs_by_name["_multiple_of"] -_DOUBLERULES.oneofs_by_name["_field"].fields.append(_DOUBLERULES.fields_by_name["field"]) -_DOUBLERULES.fields_by_name["field"].containing_oneof = _DOUBLERULES.oneofs_by_name["_field"] -_DOUBLERULES.oneofs_by_name["_type"].fields.append(_DOUBLERULES.fields_by_name["type"]) -_DOUBLERULES.fields_by_name["type"].containing_oneof = _DOUBLERULES.oneofs_by_name["_type"] -_DOUBLERULES.oneofs_by_name["_title"].fields.append(_DOUBLERULES.fields_by_name["title"]) -_DOUBLERULES.fields_by_name["title"].containing_oneof = _DOUBLERULES.oneofs_by_name["_title"] -_DOUBLERULES.oneofs_by_name["_extra"].fields.append(_DOUBLERULES.fields_by_name["extra"]) -_DOUBLERULES.fields_by_name["extra"].containing_oneof = _DOUBLERULES.oneofs_by_name["_extra"] -_INT32RULES.oneofs_by_name["default_config"].fields.append(_INT32RULES.fields_by_name["default"]) -_INT32RULES.fields_by_name["default"].containing_oneof = _INT32RULES.oneofs_by_name["default_config"] -_INT32RULES.oneofs_by_name["default_config"].fields.append(_INT32RULES.fields_by_name["default_factory"]) -_INT32RULES.fields_by_name["default_factory"].containing_oneof = _INT32RULES.oneofs_by_name["default_config"] -_INT32RULES.oneofs_by_name["default_config"].fields.append(_INT32RULES.fields_by_name["miss_default"]) -_INT32RULES.fields_by_name["miss_default"].containing_oneof = _INT32RULES.oneofs_by_name["default_config"] -_INT32RULES.oneofs_by_name["example_config"].fields.append(_INT32RULES.fields_by_name["example"]) -_INT32RULES.fields_by_name["example"].containing_oneof = _INT32RULES.oneofs_by_name["example_config"] -_INT32RULES.oneofs_by_name["example_config"].fields.append(_INT32RULES.fields_by_name["example_factory"]) -_INT32RULES.fields_by_name["example_factory"].containing_oneof = _INT32RULES.oneofs_by_name["example_config"] -_INT32RULES.oneofs_by_name["_const"].fields.append(_INT32RULES.fields_by_name["const"]) -_INT32RULES.fields_by_name["const"].containing_oneof = _INT32RULES.oneofs_by_name["_const"] -_INT32RULES.oneofs_by_name["_lt"].fields.append(_INT32RULES.fields_by_name["lt"]) -_INT32RULES.fields_by_name["lt"].containing_oneof = _INT32RULES.oneofs_by_name["_lt"] -_INT32RULES.oneofs_by_name["_le"].fields.append(_INT32RULES.fields_by_name["le"]) -_INT32RULES.fields_by_name["le"].containing_oneof = _INT32RULES.oneofs_by_name["_le"] -_INT32RULES.oneofs_by_name["_gt"].fields.append(_INT32RULES.fields_by_name["gt"]) -_INT32RULES.fields_by_name["gt"].containing_oneof = _INT32RULES.oneofs_by_name["_gt"] -_INT32RULES.oneofs_by_name["_ge"].fields.append(_INT32RULES.fields_by_name["ge"]) -_INT32RULES.fields_by_name["ge"].containing_oneof = _INT32RULES.oneofs_by_name["_ge"] -_INT32RULES.oneofs_by_name["_enable"].fields.append(_INT32RULES.fields_by_name["enable"]) -_INT32RULES.fields_by_name["enable"].containing_oneof = _INT32RULES.oneofs_by_name["_enable"] -_INT32RULES.oneofs_by_name["_alias"].fields.append(_INT32RULES.fields_by_name["alias"]) -_INT32RULES.fields_by_name["alias"].containing_oneof = _INT32RULES.oneofs_by_name["_alias"] -_INT32RULES.oneofs_by_name["_description"].fields.append(_INT32RULES.fields_by_name["description"]) -_INT32RULES.fields_by_name["description"].containing_oneof = _INT32RULES.oneofs_by_name["_description"] -_INT32RULES.oneofs_by_name["_multiple_of"].fields.append(_INT32RULES.fields_by_name["multiple_of"]) -_INT32RULES.fields_by_name["multiple_of"].containing_oneof = _INT32RULES.oneofs_by_name["_multiple_of"] -_INT32RULES.oneofs_by_name["_field"].fields.append(_INT32RULES.fields_by_name["field"]) -_INT32RULES.fields_by_name["field"].containing_oneof = _INT32RULES.oneofs_by_name["_field"] -_INT32RULES.oneofs_by_name["_type"].fields.append(_INT32RULES.fields_by_name["type"]) -_INT32RULES.fields_by_name["type"].containing_oneof = _INT32RULES.oneofs_by_name["_type"] -_INT32RULES.oneofs_by_name["_title"].fields.append(_INT32RULES.fields_by_name["title"]) -_INT32RULES.fields_by_name["title"].containing_oneof = _INT32RULES.oneofs_by_name["_title"] -_INT32RULES.oneofs_by_name["_extra"].fields.append(_INT32RULES.fields_by_name["extra"]) -_INT32RULES.fields_by_name["extra"].containing_oneof = _INT32RULES.oneofs_by_name["_extra"] -_INT64RULES.oneofs_by_name["default_config"].fields.append(_INT64RULES.fields_by_name["default"]) -_INT64RULES.fields_by_name["default"].containing_oneof = _INT64RULES.oneofs_by_name["default_config"] -_INT64RULES.oneofs_by_name["default_config"].fields.append(_INT64RULES.fields_by_name["default_factory"]) -_INT64RULES.fields_by_name["default_factory"].containing_oneof = _INT64RULES.oneofs_by_name["default_config"] -_INT64RULES.oneofs_by_name["default_config"].fields.append(_INT64RULES.fields_by_name["miss_default"]) -_INT64RULES.fields_by_name["miss_default"].containing_oneof = _INT64RULES.oneofs_by_name["default_config"] -_INT64RULES.oneofs_by_name["example_config"].fields.append(_INT64RULES.fields_by_name["example"]) -_INT64RULES.fields_by_name["example"].containing_oneof = _INT64RULES.oneofs_by_name["example_config"] -_INT64RULES.oneofs_by_name["example_config"].fields.append(_INT64RULES.fields_by_name["example_factory"]) -_INT64RULES.fields_by_name["example_factory"].containing_oneof = _INT64RULES.oneofs_by_name["example_config"] -_INT64RULES.oneofs_by_name["_const"].fields.append(_INT64RULES.fields_by_name["const"]) -_INT64RULES.fields_by_name["const"].containing_oneof = _INT64RULES.oneofs_by_name["_const"] -_INT64RULES.oneofs_by_name["_lt"].fields.append(_INT64RULES.fields_by_name["lt"]) -_INT64RULES.fields_by_name["lt"].containing_oneof = _INT64RULES.oneofs_by_name["_lt"] -_INT64RULES.oneofs_by_name["_le"].fields.append(_INT64RULES.fields_by_name["le"]) -_INT64RULES.fields_by_name["le"].containing_oneof = _INT64RULES.oneofs_by_name["_le"] -_INT64RULES.oneofs_by_name["_gt"].fields.append(_INT64RULES.fields_by_name["gt"]) -_INT64RULES.fields_by_name["gt"].containing_oneof = _INT64RULES.oneofs_by_name["_gt"] -_INT64RULES.oneofs_by_name["_ge"].fields.append(_INT64RULES.fields_by_name["ge"]) -_INT64RULES.fields_by_name["ge"].containing_oneof = _INT64RULES.oneofs_by_name["_ge"] -_INT64RULES.oneofs_by_name["_enable"].fields.append(_INT64RULES.fields_by_name["enable"]) -_INT64RULES.fields_by_name["enable"].containing_oneof = _INT64RULES.oneofs_by_name["_enable"] -_INT64RULES.oneofs_by_name["_alias"].fields.append(_INT64RULES.fields_by_name["alias"]) -_INT64RULES.fields_by_name["alias"].containing_oneof = _INT64RULES.oneofs_by_name["_alias"] -_INT64RULES.oneofs_by_name["_description"].fields.append(_INT64RULES.fields_by_name["description"]) -_INT64RULES.fields_by_name["description"].containing_oneof = _INT64RULES.oneofs_by_name["_description"] -_INT64RULES.oneofs_by_name["_multiple_of"].fields.append(_INT64RULES.fields_by_name["multiple_of"]) -_INT64RULES.fields_by_name["multiple_of"].containing_oneof = _INT64RULES.oneofs_by_name["_multiple_of"] -_INT64RULES.oneofs_by_name["_field"].fields.append(_INT64RULES.fields_by_name["field"]) -_INT64RULES.fields_by_name["field"].containing_oneof = _INT64RULES.oneofs_by_name["_field"] -_INT64RULES.oneofs_by_name["_type"].fields.append(_INT64RULES.fields_by_name["type"]) -_INT64RULES.fields_by_name["type"].containing_oneof = _INT64RULES.oneofs_by_name["_type"] -_INT64RULES.oneofs_by_name["_title"].fields.append(_INT64RULES.fields_by_name["title"]) -_INT64RULES.fields_by_name["title"].containing_oneof = _INT64RULES.oneofs_by_name["_title"] -_INT64RULES.oneofs_by_name["_extra"].fields.append(_INT64RULES.fields_by_name["extra"]) -_INT64RULES.fields_by_name["extra"].containing_oneof = _INT64RULES.oneofs_by_name["_extra"] -_UINT32RULES.oneofs_by_name["default_config"].fields.append(_UINT32RULES.fields_by_name["default"]) -_UINT32RULES.fields_by_name["default"].containing_oneof = _UINT32RULES.oneofs_by_name["default_config"] -_UINT32RULES.oneofs_by_name["default_config"].fields.append(_UINT32RULES.fields_by_name["default_factory"]) -_UINT32RULES.fields_by_name["default_factory"].containing_oneof = _UINT32RULES.oneofs_by_name["default_config"] -_UINT32RULES.oneofs_by_name["default_config"].fields.append(_UINT32RULES.fields_by_name["miss_default"]) -_UINT32RULES.fields_by_name["miss_default"].containing_oneof = _UINT32RULES.oneofs_by_name["default_config"] -_UINT32RULES.oneofs_by_name["example_config"].fields.append(_UINT32RULES.fields_by_name["example"]) -_UINT32RULES.fields_by_name["example"].containing_oneof = _UINT32RULES.oneofs_by_name["example_config"] -_UINT32RULES.oneofs_by_name["example_config"].fields.append(_UINT32RULES.fields_by_name["example_factory"]) -_UINT32RULES.fields_by_name["example_factory"].containing_oneof = _UINT32RULES.oneofs_by_name["example_config"] -_UINT32RULES.oneofs_by_name["_const"].fields.append(_UINT32RULES.fields_by_name["const"]) -_UINT32RULES.fields_by_name["const"].containing_oneof = _UINT32RULES.oneofs_by_name["_const"] -_UINT32RULES.oneofs_by_name["_lt"].fields.append(_UINT32RULES.fields_by_name["lt"]) -_UINT32RULES.fields_by_name["lt"].containing_oneof = _UINT32RULES.oneofs_by_name["_lt"] -_UINT32RULES.oneofs_by_name["_le"].fields.append(_UINT32RULES.fields_by_name["le"]) -_UINT32RULES.fields_by_name["le"].containing_oneof = _UINT32RULES.oneofs_by_name["_le"] -_UINT32RULES.oneofs_by_name["_gt"].fields.append(_UINT32RULES.fields_by_name["gt"]) -_UINT32RULES.fields_by_name["gt"].containing_oneof = _UINT32RULES.oneofs_by_name["_gt"] -_UINT32RULES.oneofs_by_name["_ge"].fields.append(_UINT32RULES.fields_by_name["ge"]) -_UINT32RULES.fields_by_name["ge"].containing_oneof = _UINT32RULES.oneofs_by_name["_ge"] -_UINT32RULES.oneofs_by_name["_enable"].fields.append(_UINT32RULES.fields_by_name["enable"]) -_UINT32RULES.fields_by_name["enable"].containing_oneof = _UINT32RULES.oneofs_by_name["_enable"] -_UINT32RULES.oneofs_by_name["_alias"].fields.append(_UINT32RULES.fields_by_name["alias"]) -_UINT32RULES.fields_by_name["alias"].containing_oneof = _UINT32RULES.oneofs_by_name["_alias"] -_UINT32RULES.oneofs_by_name["_description"].fields.append(_UINT32RULES.fields_by_name["description"]) -_UINT32RULES.fields_by_name["description"].containing_oneof = _UINT32RULES.oneofs_by_name["_description"] -_UINT32RULES.oneofs_by_name["_multiple_of"].fields.append(_UINT32RULES.fields_by_name["multiple_of"]) -_UINT32RULES.fields_by_name["multiple_of"].containing_oneof = _UINT32RULES.oneofs_by_name["_multiple_of"] -_UINT32RULES.oneofs_by_name["_field"].fields.append(_UINT32RULES.fields_by_name["field"]) -_UINT32RULES.fields_by_name["field"].containing_oneof = _UINT32RULES.oneofs_by_name["_field"] -_UINT32RULES.oneofs_by_name["_type"].fields.append(_UINT32RULES.fields_by_name["type"]) -_UINT32RULES.fields_by_name["type"].containing_oneof = _UINT32RULES.oneofs_by_name["_type"] -_UINT32RULES.oneofs_by_name["_title"].fields.append(_UINT32RULES.fields_by_name["title"]) -_UINT32RULES.fields_by_name["title"].containing_oneof = _UINT32RULES.oneofs_by_name["_title"] -_UINT32RULES.oneofs_by_name["_extra"].fields.append(_UINT32RULES.fields_by_name["extra"]) -_UINT32RULES.fields_by_name["extra"].containing_oneof = _UINT32RULES.oneofs_by_name["_extra"] -_UINT64RULES.oneofs_by_name["default_config"].fields.append(_UINT64RULES.fields_by_name["default"]) -_UINT64RULES.fields_by_name["default"].containing_oneof = _UINT64RULES.oneofs_by_name["default_config"] -_UINT64RULES.oneofs_by_name["default_config"].fields.append(_UINT64RULES.fields_by_name["default_factory"]) -_UINT64RULES.fields_by_name["default_factory"].containing_oneof = _UINT64RULES.oneofs_by_name["default_config"] -_UINT64RULES.oneofs_by_name["default_config"].fields.append(_UINT64RULES.fields_by_name["miss_default"]) -_UINT64RULES.fields_by_name["miss_default"].containing_oneof = _UINT64RULES.oneofs_by_name["default_config"] -_UINT64RULES.oneofs_by_name["example_config"].fields.append(_UINT64RULES.fields_by_name["example"]) -_UINT64RULES.fields_by_name["example"].containing_oneof = _UINT64RULES.oneofs_by_name["example_config"] -_UINT64RULES.oneofs_by_name["example_config"].fields.append(_UINT64RULES.fields_by_name["example_factory"]) -_UINT64RULES.fields_by_name["example_factory"].containing_oneof = _UINT64RULES.oneofs_by_name["example_config"] -_UINT64RULES.oneofs_by_name["_const"].fields.append(_UINT64RULES.fields_by_name["const"]) -_UINT64RULES.fields_by_name["const"].containing_oneof = _UINT64RULES.oneofs_by_name["_const"] -_UINT64RULES.oneofs_by_name["_lt"].fields.append(_UINT64RULES.fields_by_name["lt"]) -_UINT64RULES.fields_by_name["lt"].containing_oneof = _UINT64RULES.oneofs_by_name["_lt"] -_UINT64RULES.oneofs_by_name["_le"].fields.append(_UINT64RULES.fields_by_name["le"]) -_UINT64RULES.fields_by_name["le"].containing_oneof = _UINT64RULES.oneofs_by_name["_le"] -_UINT64RULES.oneofs_by_name["_gt"].fields.append(_UINT64RULES.fields_by_name["gt"]) -_UINT64RULES.fields_by_name["gt"].containing_oneof = _UINT64RULES.oneofs_by_name["_gt"] -_UINT64RULES.oneofs_by_name["_ge"].fields.append(_UINT64RULES.fields_by_name["ge"]) -_UINT64RULES.fields_by_name["ge"].containing_oneof = _UINT64RULES.oneofs_by_name["_ge"] -_UINT64RULES.oneofs_by_name["_enable"].fields.append(_UINT64RULES.fields_by_name["enable"]) -_UINT64RULES.fields_by_name["enable"].containing_oneof = _UINT64RULES.oneofs_by_name["_enable"] -_UINT64RULES.oneofs_by_name["_alias"].fields.append(_UINT64RULES.fields_by_name["alias"]) -_UINT64RULES.fields_by_name["alias"].containing_oneof = _UINT64RULES.oneofs_by_name["_alias"] -_UINT64RULES.oneofs_by_name["_description"].fields.append(_UINT64RULES.fields_by_name["description"]) -_UINT64RULES.fields_by_name["description"].containing_oneof = _UINT64RULES.oneofs_by_name["_description"] -_UINT64RULES.oneofs_by_name["_multiple_of"].fields.append(_UINT64RULES.fields_by_name["multiple_of"]) -_UINT64RULES.fields_by_name["multiple_of"].containing_oneof = _UINT64RULES.oneofs_by_name["_multiple_of"] -_UINT64RULES.oneofs_by_name["_field"].fields.append(_UINT64RULES.fields_by_name["field"]) -_UINT64RULES.fields_by_name["field"].containing_oneof = _UINT64RULES.oneofs_by_name["_field"] -_UINT64RULES.oneofs_by_name["_type"].fields.append(_UINT64RULES.fields_by_name["type"]) -_UINT64RULES.fields_by_name["type"].containing_oneof = _UINT64RULES.oneofs_by_name["_type"] -_UINT64RULES.oneofs_by_name["_title"].fields.append(_UINT64RULES.fields_by_name["title"]) -_UINT64RULES.fields_by_name["title"].containing_oneof = _UINT64RULES.oneofs_by_name["_title"] -_UINT64RULES.oneofs_by_name["_extra"].fields.append(_UINT64RULES.fields_by_name["extra"]) -_UINT64RULES.fields_by_name["extra"].containing_oneof = _UINT64RULES.oneofs_by_name["_extra"] -_SINT32RULES.oneofs_by_name["default_config"].fields.append(_SINT32RULES.fields_by_name["default"]) -_SINT32RULES.fields_by_name["default"].containing_oneof = _SINT32RULES.oneofs_by_name["default_config"] -_SINT32RULES.oneofs_by_name["default_config"].fields.append(_SINT32RULES.fields_by_name["default_factory"]) -_SINT32RULES.fields_by_name["default_factory"].containing_oneof = _SINT32RULES.oneofs_by_name["default_config"] -_SINT32RULES.oneofs_by_name["default_config"].fields.append(_SINT32RULES.fields_by_name["miss_default"]) -_SINT32RULES.fields_by_name["miss_default"].containing_oneof = _SINT32RULES.oneofs_by_name["default_config"] -_SINT32RULES.oneofs_by_name["example_config"].fields.append(_SINT32RULES.fields_by_name["example"]) -_SINT32RULES.fields_by_name["example"].containing_oneof = _SINT32RULES.oneofs_by_name["example_config"] -_SINT32RULES.oneofs_by_name["example_config"].fields.append(_SINT32RULES.fields_by_name["example_factory"]) -_SINT32RULES.fields_by_name["example_factory"].containing_oneof = _SINT32RULES.oneofs_by_name["example_config"] -_SINT32RULES.oneofs_by_name["_const"].fields.append(_SINT32RULES.fields_by_name["const"]) -_SINT32RULES.fields_by_name["const"].containing_oneof = _SINT32RULES.oneofs_by_name["_const"] -_SINT32RULES.oneofs_by_name["_lt"].fields.append(_SINT32RULES.fields_by_name["lt"]) -_SINT32RULES.fields_by_name["lt"].containing_oneof = _SINT32RULES.oneofs_by_name["_lt"] -_SINT32RULES.oneofs_by_name["_le"].fields.append(_SINT32RULES.fields_by_name["le"]) -_SINT32RULES.fields_by_name["le"].containing_oneof = _SINT32RULES.oneofs_by_name["_le"] -_SINT32RULES.oneofs_by_name["_gt"].fields.append(_SINT32RULES.fields_by_name["gt"]) -_SINT32RULES.fields_by_name["gt"].containing_oneof = _SINT32RULES.oneofs_by_name["_gt"] -_SINT32RULES.oneofs_by_name["_ge"].fields.append(_SINT32RULES.fields_by_name["ge"]) -_SINT32RULES.fields_by_name["ge"].containing_oneof = _SINT32RULES.oneofs_by_name["_ge"] -_SINT32RULES.oneofs_by_name["_enable"].fields.append(_SINT32RULES.fields_by_name["enable"]) -_SINT32RULES.fields_by_name["enable"].containing_oneof = _SINT32RULES.oneofs_by_name["_enable"] -_SINT32RULES.oneofs_by_name["_alias"].fields.append(_SINT32RULES.fields_by_name["alias"]) -_SINT32RULES.fields_by_name["alias"].containing_oneof = _SINT32RULES.oneofs_by_name["_alias"] -_SINT32RULES.oneofs_by_name["_description"].fields.append(_SINT32RULES.fields_by_name["description"]) -_SINT32RULES.fields_by_name["description"].containing_oneof = _SINT32RULES.oneofs_by_name["_description"] -_SINT32RULES.oneofs_by_name["_multiple_of"].fields.append(_SINT32RULES.fields_by_name["multiple_of"]) -_SINT32RULES.fields_by_name["multiple_of"].containing_oneof = _SINT32RULES.oneofs_by_name["_multiple_of"] -_SINT32RULES.oneofs_by_name["_field"].fields.append(_SINT32RULES.fields_by_name["field"]) -_SINT32RULES.fields_by_name["field"].containing_oneof = _SINT32RULES.oneofs_by_name["_field"] -_SINT32RULES.oneofs_by_name["_type"].fields.append(_SINT32RULES.fields_by_name["type"]) -_SINT32RULES.fields_by_name["type"].containing_oneof = _SINT32RULES.oneofs_by_name["_type"] -_SINT32RULES.oneofs_by_name["_title"].fields.append(_SINT32RULES.fields_by_name["title"]) -_SINT32RULES.fields_by_name["title"].containing_oneof = _SINT32RULES.oneofs_by_name["_title"] -_SINT32RULES.oneofs_by_name["_extra"].fields.append(_SINT32RULES.fields_by_name["extra"]) -_SINT32RULES.fields_by_name["extra"].containing_oneof = _SINT32RULES.oneofs_by_name["_extra"] -_SINT64RULES.oneofs_by_name["default_config"].fields.append(_SINT64RULES.fields_by_name["default"]) -_SINT64RULES.fields_by_name["default"].containing_oneof = _SINT64RULES.oneofs_by_name["default_config"] -_SINT64RULES.oneofs_by_name["default_config"].fields.append(_SINT64RULES.fields_by_name["default_factory"]) -_SINT64RULES.fields_by_name["default_factory"].containing_oneof = _SINT64RULES.oneofs_by_name["default_config"] -_SINT64RULES.oneofs_by_name["default_config"].fields.append(_SINT64RULES.fields_by_name["miss_default"]) -_SINT64RULES.fields_by_name["miss_default"].containing_oneof = _SINT64RULES.oneofs_by_name["default_config"] -_SINT64RULES.oneofs_by_name["example_config"].fields.append(_SINT64RULES.fields_by_name["example"]) -_SINT64RULES.fields_by_name["example"].containing_oneof = _SINT64RULES.oneofs_by_name["example_config"] -_SINT64RULES.oneofs_by_name["example_config"].fields.append(_SINT64RULES.fields_by_name["example_factory"]) -_SINT64RULES.fields_by_name["example_factory"].containing_oneof = _SINT64RULES.oneofs_by_name["example_config"] -_SINT64RULES.oneofs_by_name["_const"].fields.append(_SINT64RULES.fields_by_name["const"]) -_SINT64RULES.fields_by_name["const"].containing_oneof = _SINT64RULES.oneofs_by_name["_const"] -_SINT64RULES.oneofs_by_name["_lt"].fields.append(_SINT64RULES.fields_by_name["lt"]) -_SINT64RULES.fields_by_name["lt"].containing_oneof = _SINT64RULES.oneofs_by_name["_lt"] -_SINT64RULES.oneofs_by_name["_le"].fields.append(_SINT64RULES.fields_by_name["le"]) -_SINT64RULES.fields_by_name["le"].containing_oneof = _SINT64RULES.oneofs_by_name["_le"] -_SINT64RULES.oneofs_by_name["_gt"].fields.append(_SINT64RULES.fields_by_name["gt"]) -_SINT64RULES.fields_by_name["gt"].containing_oneof = _SINT64RULES.oneofs_by_name["_gt"] -_SINT64RULES.oneofs_by_name["_ge"].fields.append(_SINT64RULES.fields_by_name["ge"]) -_SINT64RULES.fields_by_name["ge"].containing_oneof = _SINT64RULES.oneofs_by_name["_ge"] -_SINT64RULES.oneofs_by_name["_enable"].fields.append(_SINT64RULES.fields_by_name["enable"]) -_SINT64RULES.fields_by_name["enable"].containing_oneof = _SINT64RULES.oneofs_by_name["_enable"] -_SINT64RULES.oneofs_by_name["_alias"].fields.append(_SINT64RULES.fields_by_name["alias"]) -_SINT64RULES.fields_by_name["alias"].containing_oneof = _SINT64RULES.oneofs_by_name["_alias"] -_SINT64RULES.oneofs_by_name["_description"].fields.append(_SINT64RULES.fields_by_name["description"]) -_SINT64RULES.fields_by_name["description"].containing_oneof = _SINT64RULES.oneofs_by_name["_description"] -_SINT64RULES.oneofs_by_name["_multiple_of"].fields.append(_SINT64RULES.fields_by_name["multiple_of"]) -_SINT64RULES.fields_by_name["multiple_of"].containing_oneof = _SINT64RULES.oneofs_by_name["_multiple_of"] -_SINT64RULES.oneofs_by_name["_field"].fields.append(_SINT64RULES.fields_by_name["field"]) -_SINT64RULES.fields_by_name["field"].containing_oneof = _SINT64RULES.oneofs_by_name["_field"] -_SINT64RULES.oneofs_by_name["_type"].fields.append(_SINT64RULES.fields_by_name["type"]) -_SINT64RULES.fields_by_name["type"].containing_oneof = _SINT64RULES.oneofs_by_name["_type"] -_SINT64RULES.oneofs_by_name["_title"].fields.append(_SINT64RULES.fields_by_name["title"]) -_SINT64RULES.fields_by_name["title"].containing_oneof = _SINT64RULES.oneofs_by_name["_title"] -_SINT64RULES.oneofs_by_name["_extra"].fields.append(_SINT64RULES.fields_by_name["extra"]) -_SINT64RULES.fields_by_name["extra"].containing_oneof = _SINT64RULES.oneofs_by_name["_extra"] -_FIXED32RULES.oneofs_by_name["default_config"].fields.append(_FIXED32RULES.fields_by_name["default"]) -_FIXED32RULES.fields_by_name["default"].containing_oneof = _FIXED32RULES.oneofs_by_name["default_config"] -_FIXED32RULES.oneofs_by_name["default_config"].fields.append(_FIXED32RULES.fields_by_name["default_factory"]) -_FIXED32RULES.fields_by_name["default_factory"].containing_oneof = _FIXED32RULES.oneofs_by_name["default_config"] -_FIXED32RULES.oneofs_by_name["default_config"].fields.append(_FIXED32RULES.fields_by_name["miss_default"]) -_FIXED32RULES.fields_by_name["miss_default"].containing_oneof = _FIXED32RULES.oneofs_by_name["default_config"] -_FIXED32RULES.oneofs_by_name["example_config"].fields.append(_FIXED32RULES.fields_by_name["example"]) -_FIXED32RULES.fields_by_name["example"].containing_oneof = _FIXED32RULES.oneofs_by_name["example_config"] -_FIXED32RULES.oneofs_by_name["example_config"].fields.append(_FIXED32RULES.fields_by_name["example_factory"]) -_FIXED32RULES.fields_by_name["example_factory"].containing_oneof = _FIXED32RULES.oneofs_by_name["example_config"] -_FIXED32RULES.oneofs_by_name["_const"].fields.append(_FIXED32RULES.fields_by_name["const"]) -_FIXED32RULES.fields_by_name["const"].containing_oneof = _FIXED32RULES.oneofs_by_name["_const"] -_FIXED32RULES.oneofs_by_name["_lt"].fields.append(_FIXED32RULES.fields_by_name["lt"]) -_FIXED32RULES.fields_by_name["lt"].containing_oneof = _FIXED32RULES.oneofs_by_name["_lt"] -_FIXED32RULES.oneofs_by_name["_le"].fields.append(_FIXED32RULES.fields_by_name["le"]) -_FIXED32RULES.fields_by_name["le"].containing_oneof = _FIXED32RULES.oneofs_by_name["_le"] -_FIXED32RULES.oneofs_by_name["_gt"].fields.append(_FIXED32RULES.fields_by_name["gt"]) -_FIXED32RULES.fields_by_name["gt"].containing_oneof = _FIXED32RULES.oneofs_by_name["_gt"] -_FIXED32RULES.oneofs_by_name["_ge"].fields.append(_FIXED32RULES.fields_by_name["ge"]) -_FIXED32RULES.fields_by_name["ge"].containing_oneof = _FIXED32RULES.oneofs_by_name["_ge"] -_FIXED32RULES.oneofs_by_name["_enable"].fields.append(_FIXED32RULES.fields_by_name["enable"]) -_FIXED32RULES.fields_by_name["enable"].containing_oneof = _FIXED32RULES.oneofs_by_name["_enable"] -_FIXED32RULES.oneofs_by_name["_alias"].fields.append(_FIXED32RULES.fields_by_name["alias"]) -_FIXED32RULES.fields_by_name["alias"].containing_oneof = _FIXED32RULES.oneofs_by_name["_alias"] -_FIXED32RULES.oneofs_by_name["_description"].fields.append(_FIXED32RULES.fields_by_name["description"]) -_FIXED32RULES.fields_by_name["description"].containing_oneof = _FIXED32RULES.oneofs_by_name["_description"] -_FIXED32RULES.oneofs_by_name["_multiple_of"].fields.append(_FIXED32RULES.fields_by_name["multiple_of"]) -_FIXED32RULES.fields_by_name["multiple_of"].containing_oneof = _FIXED32RULES.oneofs_by_name["_multiple_of"] -_FIXED32RULES.oneofs_by_name["_field"].fields.append(_FIXED32RULES.fields_by_name["field"]) -_FIXED32RULES.fields_by_name["field"].containing_oneof = _FIXED32RULES.oneofs_by_name["_field"] -_FIXED32RULES.oneofs_by_name["_type"].fields.append(_FIXED32RULES.fields_by_name["type"]) -_FIXED32RULES.fields_by_name["type"].containing_oneof = _FIXED32RULES.oneofs_by_name["_type"] -_FIXED32RULES.oneofs_by_name["_title"].fields.append(_FIXED32RULES.fields_by_name["title"]) -_FIXED32RULES.fields_by_name["title"].containing_oneof = _FIXED32RULES.oneofs_by_name["_title"] -_FIXED32RULES.oneofs_by_name["_extra"].fields.append(_FIXED32RULES.fields_by_name["extra"]) -_FIXED32RULES.fields_by_name["extra"].containing_oneof = _FIXED32RULES.oneofs_by_name["_extra"] -_FIXED64RULES.oneofs_by_name["default_config"].fields.append(_FIXED64RULES.fields_by_name["default"]) -_FIXED64RULES.fields_by_name["default"].containing_oneof = _FIXED64RULES.oneofs_by_name["default_config"] -_FIXED64RULES.oneofs_by_name["default_config"].fields.append(_FIXED64RULES.fields_by_name["default_factory"]) -_FIXED64RULES.fields_by_name["default_factory"].containing_oneof = _FIXED64RULES.oneofs_by_name["default_config"] -_FIXED64RULES.oneofs_by_name["default_config"].fields.append(_FIXED64RULES.fields_by_name["miss_default"]) -_FIXED64RULES.fields_by_name["miss_default"].containing_oneof = _FIXED64RULES.oneofs_by_name["default_config"] -_FIXED64RULES.oneofs_by_name["example_config"].fields.append(_FIXED64RULES.fields_by_name["example"]) -_FIXED64RULES.fields_by_name["example"].containing_oneof = _FIXED64RULES.oneofs_by_name["example_config"] -_FIXED64RULES.oneofs_by_name["example_config"].fields.append(_FIXED64RULES.fields_by_name["example_factory"]) -_FIXED64RULES.fields_by_name["example_factory"].containing_oneof = _FIXED64RULES.oneofs_by_name["example_config"] -_FIXED64RULES.oneofs_by_name["_const"].fields.append(_FIXED64RULES.fields_by_name["const"]) -_FIXED64RULES.fields_by_name["const"].containing_oneof = _FIXED64RULES.oneofs_by_name["_const"] -_FIXED64RULES.oneofs_by_name["_lt"].fields.append(_FIXED64RULES.fields_by_name["lt"]) -_FIXED64RULES.fields_by_name["lt"].containing_oneof = _FIXED64RULES.oneofs_by_name["_lt"] -_FIXED64RULES.oneofs_by_name["_le"].fields.append(_FIXED64RULES.fields_by_name["le"]) -_FIXED64RULES.fields_by_name["le"].containing_oneof = _FIXED64RULES.oneofs_by_name["_le"] -_FIXED64RULES.oneofs_by_name["_gt"].fields.append(_FIXED64RULES.fields_by_name["gt"]) -_FIXED64RULES.fields_by_name["gt"].containing_oneof = _FIXED64RULES.oneofs_by_name["_gt"] -_FIXED64RULES.oneofs_by_name["_ge"].fields.append(_FIXED64RULES.fields_by_name["ge"]) -_FIXED64RULES.fields_by_name["ge"].containing_oneof = _FIXED64RULES.oneofs_by_name["_ge"] -_FIXED64RULES.oneofs_by_name["_enable"].fields.append(_FIXED64RULES.fields_by_name["enable"]) -_FIXED64RULES.fields_by_name["enable"].containing_oneof = _FIXED64RULES.oneofs_by_name["_enable"] -_FIXED64RULES.oneofs_by_name["_alias"].fields.append(_FIXED64RULES.fields_by_name["alias"]) -_FIXED64RULES.fields_by_name["alias"].containing_oneof = _FIXED64RULES.oneofs_by_name["_alias"] -_FIXED64RULES.oneofs_by_name["_description"].fields.append(_FIXED64RULES.fields_by_name["description"]) -_FIXED64RULES.fields_by_name["description"].containing_oneof = _FIXED64RULES.oneofs_by_name["_description"] -_FIXED64RULES.oneofs_by_name["_multiple_of"].fields.append(_FIXED64RULES.fields_by_name["multiple_of"]) -_FIXED64RULES.fields_by_name["multiple_of"].containing_oneof = _FIXED64RULES.oneofs_by_name["_multiple_of"] -_FIXED64RULES.oneofs_by_name["_field"].fields.append(_FIXED64RULES.fields_by_name["field"]) -_FIXED64RULES.fields_by_name["field"].containing_oneof = _FIXED64RULES.oneofs_by_name["_field"] -_FIXED64RULES.oneofs_by_name["_type"].fields.append(_FIXED64RULES.fields_by_name["type"]) -_FIXED64RULES.fields_by_name["type"].containing_oneof = _FIXED64RULES.oneofs_by_name["_type"] -_FIXED64RULES.oneofs_by_name["_title"].fields.append(_FIXED64RULES.fields_by_name["title"]) -_FIXED64RULES.fields_by_name["title"].containing_oneof = _FIXED64RULES.oneofs_by_name["_title"] -_FIXED64RULES.oneofs_by_name["_extra"].fields.append(_FIXED64RULES.fields_by_name["extra"]) -_FIXED64RULES.fields_by_name["extra"].containing_oneof = _FIXED64RULES.oneofs_by_name["_extra"] -_SFIXED32RULES.oneofs_by_name["default_config"].fields.append(_SFIXED32RULES.fields_by_name["default"]) -_SFIXED32RULES.fields_by_name["default"].containing_oneof = _SFIXED32RULES.oneofs_by_name["default_config"] -_SFIXED32RULES.oneofs_by_name["default_config"].fields.append(_SFIXED32RULES.fields_by_name["default_factory"]) -_SFIXED32RULES.fields_by_name["default_factory"].containing_oneof = _SFIXED32RULES.oneofs_by_name["default_config"] -_SFIXED32RULES.oneofs_by_name["default_config"].fields.append(_SFIXED32RULES.fields_by_name["miss_default"]) -_SFIXED32RULES.fields_by_name["miss_default"].containing_oneof = _SFIXED32RULES.oneofs_by_name["default_config"] -_SFIXED32RULES.oneofs_by_name["example_config"].fields.append(_SFIXED32RULES.fields_by_name["example"]) -_SFIXED32RULES.fields_by_name["example"].containing_oneof = _SFIXED32RULES.oneofs_by_name["example_config"] -_SFIXED32RULES.oneofs_by_name["example_config"].fields.append(_SFIXED32RULES.fields_by_name["example_factory"]) -_SFIXED32RULES.fields_by_name["example_factory"].containing_oneof = _SFIXED32RULES.oneofs_by_name["example_config"] -_SFIXED32RULES.oneofs_by_name["_const"].fields.append(_SFIXED32RULES.fields_by_name["const"]) -_SFIXED32RULES.fields_by_name["const"].containing_oneof = _SFIXED32RULES.oneofs_by_name["_const"] -_SFIXED32RULES.oneofs_by_name["_lt"].fields.append(_SFIXED32RULES.fields_by_name["lt"]) -_SFIXED32RULES.fields_by_name["lt"].containing_oneof = _SFIXED32RULES.oneofs_by_name["_lt"] -_SFIXED32RULES.oneofs_by_name["_le"].fields.append(_SFIXED32RULES.fields_by_name["le"]) -_SFIXED32RULES.fields_by_name["le"].containing_oneof = _SFIXED32RULES.oneofs_by_name["_le"] -_SFIXED32RULES.oneofs_by_name["_gt"].fields.append(_SFIXED32RULES.fields_by_name["gt"]) -_SFIXED32RULES.fields_by_name["gt"].containing_oneof = _SFIXED32RULES.oneofs_by_name["_gt"] -_SFIXED32RULES.oneofs_by_name["_ge"].fields.append(_SFIXED32RULES.fields_by_name["ge"]) -_SFIXED32RULES.fields_by_name["ge"].containing_oneof = _SFIXED32RULES.oneofs_by_name["_ge"] -_SFIXED32RULES.oneofs_by_name["_enable"].fields.append(_SFIXED32RULES.fields_by_name["enable"]) -_SFIXED32RULES.fields_by_name["enable"].containing_oneof = _SFIXED32RULES.oneofs_by_name["_enable"] -_SFIXED32RULES.oneofs_by_name["_alias"].fields.append(_SFIXED32RULES.fields_by_name["alias"]) -_SFIXED32RULES.fields_by_name["alias"].containing_oneof = _SFIXED32RULES.oneofs_by_name["_alias"] -_SFIXED32RULES.oneofs_by_name["_description"].fields.append(_SFIXED32RULES.fields_by_name["description"]) -_SFIXED32RULES.fields_by_name["description"].containing_oneof = _SFIXED32RULES.oneofs_by_name["_description"] -_SFIXED32RULES.oneofs_by_name["_multiple_of"].fields.append(_SFIXED32RULES.fields_by_name["multiple_of"]) -_SFIXED32RULES.fields_by_name["multiple_of"].containing_oneof = _SFIXED32RULES.oneofs_by_name["_multiple_of"] -_SFIXED32RULES.oneofs_by_name["_field"].fields.append(_SFIXED32RULES.fields_by_name["field"]) -_SFIXED32RULES.fields_by_name["field"].containing_oneof = _SFIXED32RULES.oneofs_by_name["_field"] -_SFIXED32RULES.oneofs_by_name["_type"].fields.append(_SFIXED32RULES.fields_by_name["type"]) -_SFIXED32RULES.fields_by_name["type"].containing_oneof = _SFIXED32RULES.oneofs_by_name["_type"] -_SFIXED32RULES.oneofs_by_name["_title"].fields.append(_SFIXED32RULES.fields_by_name["title"]) -_SFIXED32RULES.fields_by_name["title"].containing_oneof = _SFIXED32RULES.oneofs_by_name["_title"] -_SFIXED32RULES.oneofs_by_name["_extra"].fields.append(_SFIXED32RULES.fields_by_name["extra"]) -_SFIXED32RULES.fields_by_name["extra"].containing_oneof = _SFIXED32RULES.oneofs_by_name["_extra"] -_SFIXED64RULES.oneofs_by_name["default_config"].fields.append(_SFIXED64RULES.fields_by_name["default"]) -_SFIXED64RULES.fields_by_name["default"].containing_oneof = _SFIXED64RULES.oneofs_by_name["default_config"] -_SFIXED64RULES.oneofs_by_name["default_config"].fields.append(_SFIXED64RULES.fields_by_name["default_factory"]) -_SFIXED64RULES.fields_by_name["default_factory"].containing_oneof = _SFIXED64RULES.oneofs_by_name["default_config"] -_SFIXED64RULES.oneofs_by_name["default_config"].fields.append(_SFIXED64RULES.fields_by_name["miss_default"]) -_SFIXED64RULES.fields_by_name["miss_default"].containing_oneof = _SFIXED64RULES.oneofs_by_name["default_config"] -_SFIXED64RULES.oneofs_by_name["example_config"].fields.append(_SFIXED64RULES.fields_by_name["example"]) -_SFIXED64RULES.fields_by_name["example"].containing_oneof = _SFIXED64RULES.oneofs_by_name["example_config"] -_SFIXED64RULES.oneofs_by_name["example_config"].fields.append(_SFIXED64RULES.fields_by_name["example_factory"]) -_SFIXED64RULES.fields_by_name["example_factory"].containing_oneof = _SFIXED64RULES.oneofs_by_name["example_config"] -_SFIXED64RULES.oneofs_by_name["_const"].fields.append(_SFIXED64RULES.fields_by_name["const"]) -_SFIXED64RULES.fields_by_name["const"].containing_oneof = _SFIXED64RULES.oneofs_by_name["_const"] -_SFIXED64RULES.oneofs_by_name["_lt"].fields.append(_SFIXED64RULES.fields_by_name["lt"]) -_SFIXED64RULES.fields_by_name["lt"].containing_oneof = _SFIXED64RULES.oneofs_by_name["_lt"] -_SFIXED64RULES.oneofs_by_name["_le"].fields.append(_SFIXED64RULES.fields_by_name["le"]) -_SFIXED64RULES.fields_by_name["le"].containing_oneof = _SFIXED64RULES.oneofs_by_name["_le"] -_SFIXED64RULES.oneofs_by_name["_gt"].fields.append(_SFIXED64RULES.fields_by_name["gt"]) -_SFIXED64RULES.fields_by_name["gt"].containing_oneof = _SFIXED64RULES.oneofs_by_name["_gt"] -_SFIXED64RULES.oneofs_by_name["_ge"].fields.append(_SFIXED64RULES.fields_by_name["ge"]) -_SFIXED64RULES.fields_by_name["ge"].containing_oneof = _SFIXED64RULES.oneofs_by_name["_ge"] -_SFIXED64RULES.oneofs_by_name["_enable"].fields.append(_SFIXED64RULES.fields_by_name["enable"]) -_SFIXED64RULES.fields_by_name["enable"].containing_oneof = _SFIXED64RULES.oneofs_by_name["_enable"] -_SFIXED64RULES.oneofs_by_name["_alias"].fields.append(_SFIXED64RULES.fields_by_name["alias"]) -_SFIXED64RULES.fields_by_name["alias"].containing_oneof = _SFIXED64RULES.oneofs_by_name["_alias"] -_SFIXED64RULES.oneofs_by_name["_description"].fields.append(_SFIXED64RULES.fields_by_name["description"]) -_SFIXED64RULES.fields_by_name["description"].containing_oneof = _SFIXED64RULES.oneofs_by_name["_description"] -_SFIXED64RULES.oneofs_by_name["_multiple_of"].fields.append(_SFIXED64RULES.fields_by_name["multiple_of"]) -_SFIXED64RULES.fields_by_name["multiple_of"].containing_oneof = _SFIXED64RULES.oneofs_by_name["_multiple_of"] -_SFIXED64RULES.oneofs_by_name["_field"].fields.append(_SFIXED64RULES.fields_by_name["field"]) -_SFIXED64RULES.fields_by_name["field"].containing_oneof = _SFIXED64RULES.oneofs_by_name["_field"] -_SFIXED64RULES.oneofs_by_name["_type"].fields.append(_SFIXED64RULES.fields_by_name["type"]) -_SFIXED64RULES.fields_by_name["type"].containing_oneof = _SFIXED64RULES.oneofs_by_name["_type"] -_SFIXED64RULES.oneofs_by_name["_title"].fields.append(_SFIXED64RULES.fields_by_name["title"]) -_SFIXED64RULES.fields_by_name["title"].containing_oneof = _SFIXED64RULES.oneofs_by_name["_title"] -_SFIXED64RULES.oneofs_by_name["_extra"].fields.append(_SFIXED64RULES.fields_by_name["extra"]) -_SFIXED64RULES.fields_by_name["extra"].containing_oneof = _SFIXED64RULES.oneofs_by_name["_extra"] -_BOOLRULES.oneofs_by_name["default_config"].fields.append(_BOOLRULES.fields_by_name["default"]) -_BOOLRULES.fields_by_name["default"].containing_oneof = _BOOLRULES.oneofs_by_name["default_config"] -_BOOLRULES.oneofs_by_name["default_config"].fields.append(_BOOLRULES.fields_by_name["miss_default"]) -_BOOLRULES.fields_by_name["miss_default"].containing_oneof = _BOOLRULES.oneofs_by_name["default_config"] -_BOOLRULES.oneofs_by_name["_const"].fields.append(_BOOLRULES.fields_by_name["const"]) -_BOOLRULES.fields_by_name["const"].containing_oneof = _BOOLRULES.oneofs_by_name["_const"] -_BOOLRULES.oneofs_by_name["_enable"].fields.append(_BOOLRULES.fields_by_name["enable"]) -_BOOLRULES.fields_by_name["enable"].containing_oneof = _BOOLRULES.oneofs_by_name["_enable"] -_BOOLRULES.oneofs_by_name["_alias"].fields.append(_BOOLRULES.fields_by_name["alias"]) -_BOOLRULES.fields_by_name["alias"].containing_oneof = _BOOLRULES.oneofs_by_name["_alias"] -_BOOLRULES.oneofs_by_name["_description"].fields.append(_BOOLRULES.fields_by_name["description"]) -_BOOLRULES.fields_by_name["description"].containing_oneof = _BOOLRULES.oneofs_by_name["_description"] -_BOOLRULES.oneofs_by_name["_example"].fields.append(_BOOLRULES.fields_by_name["example"]) -_BOOLRULES.fields_by_name["example"].containing_oneof = _BOOLRULES.oneofs_by_name["_example"] -_BOOLRULES.oneofs_by_name["_field"].fields.append(_BOOLRULES.fields_by_name["field"]) -_BOOLRULES.fields_by_name["field"].containing_oneof = _BOOLRULES.oneofs_by_name["_field"] -_BOOLRULES.oneofs_by_name["_type"].fields.append(_BOOLRULES.fields_by_name["type"]) -_BOOLRULES.fields_by_name["type"].containing_oneof = _BOOLRULES.oneofs_by_name["_type"] -_BOOLRULES.oneofs_by_name["_title"].fields.append(_BOOLRULES.fields_by_name["title"]) -_BOOLRULES.fields_by_name["title"].containing_oneof = _BOOLRULES.oneofs_by_name["_title"] -_BOOLRULES.oneofs_by_name["_extra"].fields.append(_BOOLRULES.fields_by_name["extra"]) -_BOOLRULES.fields_by_name["extra"].containing_oneof = _BOOLRULES.oneofs_by_name["_extra"] -_STRINGRULES.oneofs_by_name["well_known"].fields.append(_STRINGRULES.fields_by_name["email"]) -_STRINGRULES.fields_by_name["email"].containing_oneof = _STRINGRULES.oneofs_by_name["well_known"] -_STRINGRULES.oneofs_by_name["well_known"].fields.append(_STRINGRULES.fields_by_name["hostname"]) -_STRINGRULES.fields_by_name["hostname"].containing_oneof = _STRINGRULES.oneofs_by_name["well_known"] -_STRINGRULES.oneofs_by_name["well_known"].fields.append(_STRINGRULES.fields_by_name["ip"]) -_STRINGRULES.fields_by_name["ip"].containing_oneof = _STRINGRULES.oneofs_by_name["well_known"] -_STRINGRULES.oneofs_by_name["well_known"].fields.append(_STRINGRULES.fields_by_name["ipv4"]) -_STRINGRULES.fields_by_name["ipv4"].containing_oneof = _STRINGRULES.oneofs_by_name["well_known"] -_STRINGRULES.oneofs_by_name["well_known"].fields.append(_STRINGRULES.fields_by_name["ipv6"]) -_STRINGRULES.fields_by_name["ipv6"].containing_oneof = _STRINGRULES.oneofs_by_name["well_known"] -_STRINGRULES.oneofs_by_name["well_known"].fields.append(_STRINGRULES.fields_by_name["uri"]) -_STRINGRULES.fields_by_name["uri"].containing_oneof = _STRINGRULES.oneofs_by_name["well_known"] -_STRINGRULES.oneofs_by_name["well_known"].fields.append(_STRINGRULES.fields_by_name["uri_ref"]) -_STRINGRULES.fields_by_name["uri_ref"].containing_oneof = _STRINGRULES.oneofs_by_name["well_known"] -_STRINGRULES.oneofs_by_name["well_known"].fields.append(_STRINGRULES.fields_by_name["address"]) -_STRINGRULES.fields_by_name["address"].containing_oneof = _STRINGRULES.oneofs_by_name["well_known"] -_STRINGRULES.oneofs_by_name["well_known"].fields.append(_STRINGRULES.fields_by_name["uuid"]) -_STRINGRULES.fields_by_name["uuid"].containing_oneof = _STRINGRULES.oneofs_by_name["well_known"] -_STRINGRULES.oneofs_by_name["well_known"].fields.append(_STRINGRULES.fields_by_name["pydantic_type"]) -_STRINGRULES.fields_by_name["pydantic_type"].containing_oneof = _STRINGRULES.oneofs_by_name["well_known"] -_STRINGRULES.oneofs_by_name["default_config"].fields.append(_STRINGRULES.fields_by_name["default"]) -_STRINGRULES.fields_by_name["default"].containing_oneof = _STRINGRULES.oneofs_by_name["default_config"] -_STRINGRULES.oneofs_by_name["default_config"].fields.append(_STRINGRULES.fields_by_name["default_factory"]) -_STRINGRULES.fields_by_name["default_factory"].containing_oneof = _STRINGRULES.oneofs_by_name["default_config"] -_STRINGRULES.oneofs_by_name["default_config"].fields.append(_STRINGRULES.fields_by_name["miss_default"]) -_STRINGRULES.fields_by_name["miss_default"].containing_oneof = _STRINGRULES.oneofs_by_name["default_config"] -_STRINGRULES.oneofs_by_name["example_config"].fields.append(_STRINGRULES.fields_by_name["example"]) -_STRINGRULES.fields_by_name["example"].containing_oneof = _STRINGRULES.oneofs_by_name["example_config"] -_STRINGRULES.oneofs_by_name["example_config"].fields.append(_STRINGRULES.fields_by_name["example_factory"]) -_STRINGRULES.fields_by_name["example_factory"].containing_oneof = _STRINGRULES.oneofs_by_name["example_config"] -_STRINGRULES.oneofs_by_name["_const"].fields.append(_STRINGRULES.fields_by_name["const"]) -_STRINGRULES.fields_by_name["const"].containing_oneof = _STRINGRULES.oneofs_by_name["_const"] -_STRINGRULES.oneofs_by_name["_len"].fields.append(_STRINGRULES.fields_by_name["len"]) -_STRINGRULES.fields_by_name["len"].containing_oneof = _STRINGRULES.oneofs_by_name["_len"] -_STRINGRULES.oneofs_by_name["_min_length"].fields.append(_STRINGRULES.fields_by_name["min_length"]) -_STRINGRULES.fields_by_name["min_length"].containing_oneof = _STRINGRULES.oneofs_by_name["_min_length"] -_STRINGRULES.oneofs_by_name["_max_length"].fields.append(_STRINGRULES.fields_by_name["max_length"]) -_STRINGRULES.fields_by_name["max_length"].containing_oneof = _STRINGRULES.oneofs_by_name["_max_length"] -_STRINGRULES.oneofs_by_name["_pattern"].fields.append(_STRINGRULES.fields_by_name["pattern"]) -_STRINGRULES.fields_by_name["pattern"].containing_oneof = _STRINGRULES.oneofs_by_name["_pattern"] -_STRINGRULES.oneofs_by_name["_prefix"].fields.append(_STRINGRULES.fields_by_name["prefix"]) -_STRINGRULES.fields_by_name["prefix"].containing_oneof = _STRINGRULES.oneofs_by_name["_prefix"] -_STRINGRULES.oneofs_by_name["_suffix"].fields.append(_STRINGRULES.fields_by_name["suffix"]) -_STRINGRULES.fields_by_name["suffix"].containing_oneof = _STRINGRULES.oneofs_by_name["_suffix"] -_STRINGRULES.oneofs_by_name["_contains"].fields.append(_STRINGRULES.fields_by_name["contains"]) -_STRINGRULES.fields_by_name["contains"].containing_oneof = _STRINGRULES.oneofs_by_name["_contains"] -_STRINGRULES.oneofs_by_name["_not_contains"].fields.append(_STRINGRULES.fields_by_name["not_contains"]) -_STRINGRULES.fields_by_name["not_contains"].containing_oneof = _STRINGRULES.oneofs_by_name["_not_contains"] -_STRINGRULES.oneofs_by_name["_enable"].fields.append(_STRINGRULES.fields_by_name["enable"]) -_STRINGRULES.fields_by_name["enable"].containing_oneof = _STRINGRULES.oneofs_by_name["_enable"] -_STRINGRULES.oneofs_by_name["_alias"].fields.append(_STRINGRULES.fields_by_name["alias"]) -_STRINGRULES.fields_by_name["alias"].containing_oneof = _STRINGRULES.oneofs_by_name["_alias"] -_STRINGRULES.oneofs_by_name["_description"].fields.append(_STRINGRULES.fields_by_name["description"]) -_STRINGRULES.fields_by_name["description"].containing_oneof = _STRINGRULES.oneofs_by_name["_description"] -_STRINGRULES.oneofs_by_name["_field"].fields.append(_STRINGRULES.fields_by_name["field"]) -_STRINGRULES.fields_by_name["field"].containing_oneof = _STRINGRULES.oneofs_by_name["_field"] -_STRINGRULES.oneofs_by_name["_type"].fields.append(_STRINGRULES.fields_by_name["type"]) -_STRINGRULES.fields_by_name["type"].containing_oneof = _STRINGRULES.oneofs_by_name["_type"] -_STRINGRULES.oneofs_by_name["_title"].fields.append(_STRINGRULES.fields_by_name["title"]) -_STRINGRULES.fields_by_name["title"].containing_oneof = _STRINGRULES.oneofs_by_name["_title"] -_STRINGRULES.oneofs_by_name["_extra"].fields.append(_STRINGRULES.fields_by_name["extra"]) -_STRINGRULES.fields_by_name["extra"].containing_oneof = _STRINGRULES.oneofs_by_name["_extra"] -_BYTESRULES.oneofs_by_name["default_config"].fields.append(_BYTESRULES.fields_by_name["default"]) -_BYTESRULES.fields_by_name["default"].containing_oneof = _BYTESRULES.oneofs_by_name["default_config"] -_BYTESRULES.oneofs_by_name["default_config"].fields.append(_BYTESRULES.fields_by_name["default_factory"]) -_BYTESRULES.fields_by_name["default_factory"].containing_oneof = _BYTESRULES.oneofs_by_name["default_config"] -_BYTESRULES.oneofs_by_name["default_config"].fields.append(_BYTESRULES.fields_by_name["miss_default"]) -_BYTESRULES.fields_by_name["miss_default"].containing_oneof = _BYTESRULES.oneofs_by_name["default_config"] -_BYTESRULES.oneofs_by_name["example_config"].fields.append(_BYTESRULES.fields_by_name["example"]) -_BYTESRULES.fields_by_name["example"].containing_oneof = _BYTESRULES.oneofs_by_name["example_config"] -_BYTESRULES.oneofs_by_name["example_config"].fields.append(_BYTESRULES.fields_by_name["example_factory"]) -_BYTESRULES.fields_by_name["example_factory"].containing_oneof = _BYTESRULES.oneofs_by_name["example_config"] -_BYTESRULES.oneofs_by_name["well_known"].fields.append(_BYTESRULES.fields_by_name["ip"]) -_BYTESRULES.fields_by_name["ip"].containing_oneof = _BYTESRULES.oneofs_by_name["well_known"] -_BYTESRULES.oneofs_by_name["well_known"].fields.append(_BYTESRULES.fields_by_name["ipv4"]) -_BYTESRULES.fields_by_name["ipv4"].containing_oneof = _BYTESRULES.oneofs_by_name["well_known"] -_BYTESRULES.oneofs_by_name["well_known"].fields.append(_BYTESRULES.fields_by_name["ipv6"]) -_BYTESRULES.fields_by_name["ipv6"].containing_oneof = _BYTESRULES.oneofs_by_name["well_known"] -_BYTESRULES.oneofs_by_name["_const"].fields.append(_BYTESRULES.fields_by_name["const"]) -_BYTESRULES.fields_by_name["const"].containing_oneof = _BYTESRULES.oneofs_by_name["_const"] -_BYTESRULES.oneofs_by_name["_min_length"].fields.append(_BYTESRULES.fields_by_name["min_length"]) -_BYTESRULES.fields_by_name["min_length"].containing_oneof = _BYTESRULES.oneofs_by_name["_min_length"] -_BYTESRULES.oneofs_by_name["_max_length"].fields.append(_BYTESRULES.fields_by_name["max_length"]) -_BYTESRULES.fields_by_name["max_length"].containing_oneof = _BYTESRULES.oneofs_by_name["_max_length"] -_BYTESRULES.oneofs_by_name["_prefix"].fields.append(_BYTESRULES.fields_by_name["prefix"]) -_BYTESRULES.fields_by_name["prefix"].containing_oneof = _BYTESRULES.oneofs_by_name["_prefix"] -_BYTESRULES.oneofs_by_name["_suffix"].fields.append(_BYTESRULES.fields_by_name["suffix"]) -_BYTESRULES.fields_by_name["suffix"].containing_oneof = _BYTESRULES.oneofs_by_name["_suffix"] -_BYTESRULES.oneofs_by_name["_contains"].fields.append(_BYTESRULES.fields_by_name["contains"]) -_BYTESRULES.fields_by_name["contains"].containing_oneof = _BYTESRULES.oneofs_by_name["_contains"] -_BYTESRULES.oneofs_by_name["_enable"].fields.append(_BYTESRULES.fields_by_name["enable"]) -_BYTESRULES.fields_by_name["enable"].containing_oneof = _BYTESRULES.oneofs_by_name["_enable"] -_BYTESRULES.oneofs_by_name["_alias"].fields.append(_BYTESRULES.fields_by_name["alias"]) -_BYTESRULES.fields_by_name["alias"].containing_oneof = _BYTESRULES.oneofs_by_name["_alias"] -_BYTESRULES.oneofs_by_name["_description"].fields.append(_BYTESRULES.fields_by_name["description"]) -_BYTESRULES.fields_by_name["description"].containing_oneof = _BYTESRULES.oneofs_by_name["_description"] -_BYTESRULES.oneofs_by_name["_multiple_of"].fields.append(_BYTESRULES.fields_by_name["multiple_of"]) -_BYTESRULES.fields_by_name["multiple_of"].containing_oneof = _BYTESRULES.oneofs_by_name["_multiple_of"] -_BYTESRULES.oneofs_by_name["_field"].fields.append(_BYTESRULES.fields_by_name["field"]) -_BYTESRULES.fields_by_name["field"].containing_oneof = _BYTESRULES.oneofs_by_name["_field"] -_BYTESRULES.oneofs_by_name["_type"].fields.append(_BYTESRULES.fields_by_name["type"]) -_BYTESRULES.fields_by_name["type"].containing_oneof = _BYTESRULES.oneofs_by_name["_type"] -_BYTESRULES.oneofs_by_name["_title"].fields.append(_BYTESRULES.fields_by_name["title"]) -_BYTESRULES.fields_by_name["title"].containing_oneof = _BYTESRULES.oneofs_by_name["_title"] -_BYTESRULES.oneofs_by_name["_extra"].fields.append(_BYTESRULES.fields_by_name["extra"]) -_BYTESRULES.fields_by_name["extra"].containing_oneof = _BYTESRULES.oneofs_by_name["_extra"] -_ENUMRULES.oneofs_by_name["default_config"].fields.append(_ENUMRULES.fields_by_name["default"]) -_ENUMRULES.fields_by_name["default"].containing_oneof = _ENUMRULES.oneofs_by_name["default_config"] -_ENUMRULES.oneofs_by_name["default_config"].fields.append(_ENUMRULES.fields_by_name["default_factory"]) -_ENUMRULES.fields_by_name["default_factory"].containing_oneof = _ENUMRULES.oneofs_by_name["default_config"] -_ENUMRULES.oneofs_by_name["default_config"].fields.append(_ENUMRULES.fields_by_name["miss_default"]) -_ENUMRULES.fields_by_name["miss_default"].containing_oneof = _ENUMRULES.oneofs_by_name["default_config"] -_ENUMRULES.oneofs_by_name["example_config"].fields.append(_ENUMRULES.fields_by_name["example"]) -_ENUMRULES.fields_by_name["example"].containing_oneof = _ENUMRULES.oneofs_by_name["example_config"] -_ENUMRULES.oneofs_by_name["example_config"].fields.append(_ENUMRULES.fields_by_name["example_factory"]) -_ENUMRULES.fields_by_name["example_factory"].containing_oneof = _ENUMRULES.oneofs_by_name["example_config"] -_ENUMRULES.oneofs_by_name["_const"].fields.append(_ENUMRULES.fields_by_name["const"]) -_ENUMRULES.fields_by_name["const"].containing_oneof = _ENUMRULES.oneofs_by_name["_const"] -_ENUMRULES.oneofs_by_name["_enable"].fields.append(_ENUMRULES.fields_by_name["enable"]) -_ENUMRULES.fields_by_name["enable"].containing_oneof = _ENUMRULES.oneofs_by_name["_enable"] -_ENUMRULES.oneofs_by_name["_alias"].fields.append(_ENUMRULES.fields_by_name["alias"]) -_ENUMRULES.fields_by_name["alias"].containing_oneof = _ENUMRULES.oneofs_by_name["_alias"] -_ENUMRULES.oneofs_by_name["_description"].fields.append(_ENUMRULES.fields_by_name["description"]) -_ENUMRULES.fields_by_name["description"].containing_oneof = _ENUMRULES.oneofs_by_name["_description"] -_ENUMRULES.oneofs_by_name["_field"].fields.append(_ENUMRULES.fields_by_name["field"]) -_ENUMRULES.fields_by_name["field"].containing_oneof = _ENUMRULES.oneofs_by_name["_field"] -_ENUMRULES.oneofs_by_name["_title"].fields.append(_ENUMRULES.fields_by_name["title"]) -_ENUMRULES.fields_by_name["title"].containing_oneof = _ENUMRULES.oneofs_by_name["_title"] -_ENUMRULES.oneofs_by_name["_extra"].fields.append(_ENUMRULES.fields_by_name["extra"]) -_ENUMRULES.fields_by_name["extra"].containing_oneof = _ENUMRULES.oneofs_by_name["_extra"] -_MESSAGERULES.oneofs_by_name["default_config"].fields.append(_MESSAGERULES.fields_by_name["default"]) -_MESSAGERULES.fields_by_name["default"].containing_oneof = _MESSAGERULES.oneofs_by_name["default_config"] -_MESSAGERULES.oneofs_by_name["default_config"].fields.append(_MESSAGERULES.fields_by_name["default_factory"]) -_MESSAGERULES.fields_by_name["default_factory"].containing_oneof = _MESSAGERULES.oneofs_by_name["default_config"] -_MESSAGERULES.oneofs_by_name["default_config"].fields.append(_MESSAGERULES.fields_by_name["miss_default"]) -_MESSAGERULES.fields_by_name["miss_default"].containing_oneof = _MESSAGERULES.oneofs_by_name["default_config"] -_MESSAGERULES.oneofs_by_name["example_config"].fields.append(_MESSAGERULES.fields_by_name["example"]) -_MESSAGERULES.fields_by_name["example"].containing_oneof = _MESSAGERULES.oneofs_by_name["example_config"] -_MESSAGERULES.oneofs_by_name["example_config"].fields.append(_MESSAGERULES.fields_by_name["example_factory"]) -_MESSAGERULES.fields_by_name["example_factory"].containing_oneof = _MESSAGERULES.oneofs_by_name["example_config"] -_MESSAGERULES.oneofs_by_name["_skip"].fields.append(_MESSAGERULES.fields_by_name["skip"]) -_MESSAGERULES.fields_by_name["skip"].containing_oneof = _MESSAGERULES.oneofs_by_name["_skip"] -_MESSAGERULES.oneofs_by_name["_required"].fields.append(_MESSAGERULES.fields_by_name["required"]) -_MESSAGERULES.fields_by_name["required"].containing_oneof = _MESSAGERULES.oneofs_by_name["_required"] -_MESSAGERULES.oneofs_by_name["_enable"].fields.append(_MESSAGERULES.fields_by_name["enable"]) -_MESSAGERULES.fields_by_name["enable"].containing_oneof = _MESSAGERULES.oneofs_by_name["_enable"] -_MESSAGERULES.oneofs_by_name["_alias"].fields.append(_MESSAGERULES.fields_by_name["alias"]) -_MESSAGERULES.fields_by_name["alias"].containing_oneof = _MESSAGERULES.oneofs_by_name["_alias"] -_MESSAGERULES.oneofs_by_name["_description"].fields.append(_MESSAGERULES.fields_by_name["description"]) -_MESSAGERULES.fields_by_name["description"].containing_oneof = _MESSAGERULES.oneofs_by_name["_description"] -_MESSAGERULES.oneofs_by_name["_field"].fields.append(_MESSAGERULES.fields_by_name["field"]) -_MESSAGERULES.fields_by_name["field"].containing_oneof = _MESSAGERULES.oneofs_by_name["_field"] -_MESSAGERULES.oneofs_by_name["_type"].fields.append(_MESSAGERULES.fields_by_name["type"]) -_MESSAGERULES.fields_by_name["type"].containing_oneof = _MESSAGERULES.oneofs_by_name["_type"] -_MESSAGERULES.oneofs_by_name["_title"].fields.append(_MESSAGERULES.fields_by_name["title"]) -_MESSAGERULES.fields_by_name["title"].containing_oneof = _MESSAGERULES.oneofs_by_name["_title"] -_MESSAGERULES.oneofs_by_name["_extra"].fields.append(_MESSAGERULES.fields_by_name["extra"]) -_MESSAGERULES.fields_by_name["extra"].containing_oneof = _MESSAGERULES.oneofs_by_name["_extra"] -_REPEATEDRULES.fields_by_name["items"].message_type = _FIELDRULES -_REPEATEDRULES.oneofs_by_name["default_config"].fields.append(_REPEATEDRULES.fields_by_name["default_factory"]) -_REPEATEDRULES.fields_by_name["default_factory"].containing_oneof = _REPEATEDRULES.oneofs_by_name["default_config"] -_REPEATEDRULES.oneofs_by_name["default_config"].fields.append(_REPEATEDRULES.fields_by_name["miss_default"]) -_REPEATEDRULES.fields_by_name["miss_default"].containing_oneof = _REPEATEDRULES.oneofs_by_name["default_config"] -_REPEATEDRULES.oneofs_by_name["example_config"].fields.append(_REPEATEDRULES.fields_by_name["example_factory"]) -_REPEATEDRULES.fields_by_name["example_factory"].containing_oneof = _REPEATEDRULES.oneofs_by_name["example_config"] -_REPEATEDRULES.oneofs_by_name["_min_items"].fields.append(_REPEATEDRULES.fields_by_name["min_items"]) -_REPEATEDRULES.fields_by_name["min_items"].containing_oneof = _REPEATEDRULES.oneofs_by_name["_min_items"] -_REPEATEDRULES.oneofs_by_name["_max_items"].fields.append(_REPEATEDRULES.fields_by_name["max_items"]) -_REPEATEDRULES.fields_by_name["max_items"].containing_oneof = _REPEATEDRULES.oneofs_by_name["_max_items"] -_REPEATEDRULES.oneofs_by_name["_unique"].fields.append(_REPEATEDRULES.fields_by_name["unique"]) -_REPEATEDRULES.fields_by_name["unique"].containing_oneof = _REPEATEDRULES.oneofs_by_name["_unique"] -_REPEATEDRULES.oneofs_by_name["_items"].fields.append(_REPEATEDRULES.fields_by_name["items"]) -_REPEATEDRULES.fields_by_name["items"].containing_oneof = _REPEATEDRULES.oneofs_by_name["_items"] -_REPEATEDRULES.oneofs_by_name["_enable"].fields.append(_REPEATEDRULES.fields_by_name["enable"]) -_REPEATEDRULES.fields_by_name["enable"].containing_oneof = _REPEATEDRULES.oneofs_by_name["_enable"] -_REPEATEDRULES.oneofs_by_name["_alias"].fields.append(_REPEATEDRULES.fields_by_name["alias"]) -_REPEATEDRULES.fields_by_name["alias"].containing_oneof = _REPEATEDRULES.oneofs_by_name["_alias"] -_REPEATEDRULES.oneofs_by_name["_description"].fields.append(_REPEATEDRULES.fields_by_name["description"]) -_REPEATEDRULES.fields_by_name["description"].containing_oneof = _REPEATEDRULES.oneofs_by_name["_description"] -_REPEATEDRULES.oneofs_by_name["_field"].fields.append(_REPEATEDRULES.fields_by_name["field"]) -_REPEATEDRULES.fields_by_name["field"].containing_oneof = _REPEATEDRULES.oneofs_by_name["_field"] -_REPEATEDRULES.oneofs_by_name["_type"].fields.append(_REPEATEDRULES.fields_by_name["type"]) -_REPEATEDRULES.fields_by_name["type"].containing_oneof = _REPEATEDRULES.oneofs_by_name["_type"] -_REPEATEDRULES.oneofs_by_name["_title"].fields.append(_REPEATEDRULES.fields_by_name["title"]) -_REPEATEDRULES.fields_by_name["title"].containing_oneof = _REPEATEDRULES.oneofs_by_name["_title"] -_REPEATEDRULES.oneofs_by_name["_extra"].fields.append(_REPEATEDRULES.fields_by_name["extra"]) -_REPEATEDRULES.fields_by_name["extra"].containing_oneof = _REPEATEDRULES.oneofs_by_name["_extra"] -_MAPRULES.fields_by_name["keys"].message_type = _FIELDRULES -_MAPRULES.fields_by_name["values"].message_type = _FIELDRULES -_MAPRULES.oneofs_by_name["default_config"].fields.append(_MAPRULES.fields_by_name["default_factory"]) -_MAPRULES.fields_by_name["default_factory"].containing_oneof = _MAPRULES.oneofs_by_name["default_config"] -_MAPRULES.oneofs_by_name["default_config"].fields.append(_MAPRULES.fields_by_name["miss_default"]) -_MAPRULES.fields_by_name["miss_default"].containing_oneof = _MAPRULES.oneofs_by_name["default_config"] -_MAPRULES.oneofs_by_name["example_config"].fields.append(_MAPRULES.fields_by_name["example_factory"]) -_MAPRULES.fields_by_name["example_factory"].containing_oneof = _MAPRULES.oneofs_by_name["example_config"] -_MAPRULES.oneofs_by_name["_min_pairs"].fields.append(_MAPRULES.fields_by_name["min_pairs"]) -_MAPRULES.fields_by_name["min_pairs"].containing_oneof = _MAPRULES.oneofs_by_name["_min_pairs"] -_MAPRULES.oneofs_by_name["_max_pairs"].fields.append(_MAPRULES.fields_by_name["max_pairs"]) -_MAPRULES.fields_by_name["max_pairs"].containing_oneof = _MAPRULES.oneofs_by_name["_max_pairs"] -_MAPRULES.oneofs_by_name["_keys"].fields.append(_MAPRULES.fields_by_name["keys"]) -_MAPRULES.fields_by_name["keys"].containing_oneof = _MAPRULES.oneofs_by_name["_keys"] -_MAPRULES.oneofs_by_name["_values"].fields.append(_MAPRULES.fields_by_name["values"]) -_MAPRULES.fields_by_name["values"].containing_oneof = _MAPRULES.oneofs_by_name["_values"] -_MAPRULES.oneofs_by_name["_enable"].fields.append(_MAPRULES.fields_by_name["enable"]) -_MAPRULES.fields_by_name["enable"].containing_oneof = _MAPRULES.oneofs_by_name["_enable"] -_MAPRULES.oneofs_by_name["_alias"].fields.append(_MAPRULES.fields_by_name["alias"]) -_MAPRULES.fields_by_name["alias"].containing_oneof = _MAPRULES.oneofs_by_name["_alias"] -_MAPRULES.oneofs_by_name["_description"].fields.append(_MAPRULES.fields_by_name["description"]) -_MAPRULES.fields_by_name["description"].containing_oneof = _MAPRULES.oneofs_by_name["_description"] -_MAPRULES.oneofs_by_name["_field"].fields.append(_MAPRULES.fields_by_name["field"]) -_MAPRULES.fields_by_name["field"].containing_oneof = _MAPRULES.oneofs_by_name["_field"] -_MAPRULES.oneofs_by_name["_type"].fields.append(_MAPRULES.fields_by_name["type"]) -_MAPRULES.fields_by_name["type"].containing_oneof = _MAPRULES.oneofs_by_name["_type"] -_MAPRULES.oneofs_by_name["_title"].fields.append(_MAPRULES.fields_by_name["title"]) -_MAPRULES.fields_by_name["title"].containing_oneof = _MAPRULES.oneofs_by_name["_title"] -_MAPRULES.oneofs_by_name["_extra"].fields.append(_MAPRULES.fields_by_name["extra"]) -_MAPRULES.fields_by_name["extra"].containing_oneof = _MAPRULES.oneofs_by_name["_extra"] -_ANYRULES.oneofs_by_name["default_config"].fields.append(_ANYRULES.fields_by_name["default"]) -_ANYRULES.fields_by_name["default"].containing_oneof = _ANYRULES.oneofs_by_name["default_config"] -_ANYRULES.oneofs_by_name["default_config"].fields.append(_ANYRULES.fields_by_name["default_factory"]) -_ANYRULES.fields_by_name["default_factory"].containing_oneof = _ANYRULES.oneofs_by_name["default_config"] -_ANYRULES.oneofs_by_name["default_config"].fields.append(_ANYRULES.fields_by_name["miss_default"]) -_ANYRULES.fields_by_name["miss_default"].containing_oneof = _ANYRULES.oneofs_by_name["default_config"] -_ANYRULES.oneofs_by_name["example_config"].fields.append(_ANYRULES.fields_by_name["example"]) -_ANYRULES.fields_by_name["example"].containing_oneof = _ANYRULES.oneofs_by_name["example_config"] -_ANYRULES.oneofs_by_name["example_config"].fields.append(_ANYRULES.fields_by_name["example_factory"]) -_ANYRULES.fields_by_name["example_factory"].containing_oneof = _ANYRULES.oneofs_by_name["example_config"] -_ANYRULES.oneofs_by_name["_required"].fields.append(_ANYRULES.fields_by_name["required"]) -_ANYRULES.fields_by_name["required"].containing_oneof = _ANYRULES.oneofs_by_name["_required"] -_ANYRULES.oneofs_by_name["_enable"].fields.append(_ANYRULES.fields_by_name["enable"]) -_ANYRULES.fields_by_name["enable"].containing_oneof = _ANYRULES.oneofs_by_name["_enable"] -_ANYRULES.oneofs_by_name["_alias"].fields.append(_ANYRULES.fields_by_name["alias"]) -_ANYRULES.fields_by_name["alias"].containing_oneof = _ANYRULES.oneofs_by_name["_alias"] -_ANYRULES.oneofs_by_name["_description"].fields.append(_ANYRULES.fields_by_name["description"]) -_ANYRULES.fields_by_name["description"].containing_oneof = _ANYRULES.oneofs_by_name["_description"] -_ANYRULES.oneofs_by_name["_field"].fields.append(_ANYRULES.fields_by_name["field"]) -_ANYRULES.fields_by_name["field"].containing_oneof = _ANYRULES.oneofs_by_name["_field"] -_ANYRULES.oneofs_by_name["_title"].fields.append(_ANYRULES.fields_by_name["title"]) -_ANYRULES.fields_by_name["title"].containing_oneof = _ANYRULES.oneofs_by_name["_title"] -_ANYRULES.oneofs_by_name["_extra"].fields.append(_ANYRULES.fields_by_name["extra"]) -_ANYRULES.fields_by_name["extra"].containing_oneof = _ANYRULES.oneofs_by_name["_extra"] -_DURATIONRULES.fields_by_name["const"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONRULES.fields_by_name["lt"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONRULES.fields_by_name["le"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONRULES.fields_by_name["gt"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONRULES.fields_by_name["ge"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONRULES.fields_by_name["in"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONRULES.fields_by_name["not_in"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONRULES.fields_by_name["default"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONRULES.fields_by_name["example"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONRULES.oneofs_by_name["default_config"].fields.append(_DURATIONRULES.fields_by_name["default"]) -_DURATIONRULES.fields_by_name["default"].containing_oneof = _DURATIONRULES.oneofs_by_name["default_config"] -_DURATIONRULES.oneofs_by_name["default_config"].fields.append(_DURATIONRULES.fields_by_name["default_factory"]) -_DURATIONRULES.fields_by_name["default_factory"].containing_oneof = _DURATIONRULES.oneofs_by_name["default_config"] -_DURATIONRULES.oneofs_by_name["default_config"].fields.append(_DURATIONRULES.fields_by_name["miss_default"]) -_DURATIONRULES.fields_by_name["miss_default"].containing_oneof = _DURATIONRULES.oneofs_by_name["default_config"] -_DURATIONRULES.oneofs_by_name["example_config"].fields.append(_DURATIONRULES.fields_by_name["example"]) -_DURATIONRULES.fields_by_name["example"].containing_oneof = _DURATIONRULES.oneofs_by_name["example_config"] -_DURATIONRULES.oneofs_by_name["example_config"].fields.append(_DURATIONRULES.fields_by_name["example_factory"]) -_DURATIONRULES.fields_by_name["example_factory"].containing_oneof = _DURATIONRULES.oneofs_by_name["example_config"] -_DURATIONRULES.oneofs_by_name["_const"].fields.append(_DURATIONRULES.fields_by_name["const"]) -_DURATIONRULES.fields_by_name["const"].containing_oneof = _DURATIONRULES.oneofs_by_name["_const"] -_DURATIONRULES.oneofs_by_name["_lt"].fields.append(_DURATIONRULES.fields_by_name["lt"]) -_DURATIONRULES.fields_by_name["lt"].containing_oneof = _DURATIONRULES.oneofs_by_name["_lt"] -_DURATIONRULES.oneofs_by_name["_le"].fields.append(_DURATIONRULES.fields_by_name["le"]) -_DURATIONRULES.fields_by_name["le"].containing_oneof = _DURATIONRULES.oneofs_by_name["_le"] -_DURATIONRULES.oneofs_by_name["_gt"].fields.append(_DURATIONRULES.fields_by_name["gt"]) -_DURATIONRULES.fields_by_name["gt"].containing_oneof = _DURATIONRULES.oneofs_by_name["_gt"] -_DURATIONRULES.oneofs_by_name["_ge"].fields.append(_DURATIONRULES.fields_by_name["ge"]) -_DURATIONRULES.fields_by_name["ge"].containing_oneof = _DURATIONRULES.oneofs_by_name["_ge"] -_DURATIONRULES.oneofs_by_name["_enable"].fields.append(_DURATIONRULES.fields_by_name["enable"]) -_DURATIONRULES.fields_by_name["enable"].containing_oneof = _DURATIONRULES.oneofs_by_name["_enable"] -_DURATIONRULES.oneofs_by_name["_alias"].fields.append(_DURATIONRULES.fields_by_name["alias"]) -_DURATIONRULES.fields_by_name["alias"].containing_oneof = _DURATIONRULES.oneofs_by_name["_alias"] -_DURATIONRULES.oneofs_by_name["_description"].fields.append(_DURATIONRULES.fields_by_name["description"]) -_DURATIONRULES.fields_by_name["description"].containing_oneof = _DURATIONRULES.oneofs_by_name["_description"] -_DURATIONRULES.oneofs_by_name["_field"].fields.append(_DURATIONRULES.fields_by_name["field"]) -_DURATIONRULES.fields_by_name["field"].containing_oneof = _DURATIONRULES.oneofs_by_name["_field"] -_DURATIONRULES.oneofs_by_name["_type"].fields.append(_DURATIONRULES.fields_by_name["type"]) -_DURATIONRULES.fields_by_name["type"].containing_oneof = _DURATIONRULES.oneofs_by_name["_type"] -_DURATIONRULES.oneofs_by_name["_title"].fields.append(_DURATIONRULES.fields_by_name["title"]) -_DURATIONRULES.fields_by_name["title"].containing_oneof = _DURATIONRULES.oneofs_by_name["_title"] -_DURATIONRULES.oneofs_by_name["_extra"].fields.append(_DURATIONRULES.fields_by_name["extra"]) -_DURATIONRULES.fields_by_name["extra"].containing_oneof = _DURATIONRULES.oneofs_by_name["_extra"] -_TIMESTAMPRULES.fields_by_name["const"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPRULES.fields_by_name["lt"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPRULES.fields_by_name["le"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPRULES.fields_by_name["gt"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPRULES.fields_by_name["ge"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPRULES.fields_by_name["within"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_TIMESTAMPRULES.fields_by_name["default"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPRULES.fields_by_name["example"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPRULES.oneofs_by_name["default_config"].fields.append(_TIMESTAMPRULES.fields_by_name["default"]) -_TIMESTAMPRULES.fields_by_name["default"].containing_oneof = _TIMESTAMPRULES.oneofs_by_name["default_config"] -_TIMESTAMPRULES.oneofs_by_name["default_config"].fields.append(_TIMESTAMPRULES.fields_by_name["default_factory"]) -_TIMESTAMPRULES.fields_by_name["default_factory"].containing_oneof = _TIMESTAMPRULES.oneofs_by_name["default_config"] -_TIMESTAMPRULES.oneofs_by_name["default_config"].fields.append(_TIMESTAMPRULES.fields_by_name["miss_default"]) -_TIMESTAMPRULES.fields_by_name["miss_default"].containing_oneof = _TIMESTAMPRULES.oneofs_by_name["default_config"] -_TIMESTAMPRULES.oneofs_by_name["example_config"].fields.append(_TIMESTAMPRULES.fields_by_name["example"]) -_TIMESTAMPRULES.fields_by_name["example"].containing_oneof = _TIMESTAMPRULES.oneofs_by_name["example_config"] -_TIMESTAMPRULES.oneofs_by_name["example_config"].fields.append(_TIMESTAMPRULES.fields_by_name["example_factory"]) -_TIMESTAMPRULES.fields_by_name["example_factory"].containing_oneof = _TIMESTAMPRULES.oneofs_by_name["example_config"] -_TIMESTAMPRULES.oneofs_by_name["_const"].fields.append(_TIMESTAMPRULES.fields_by_name["const"]) -_TIMESTAMPRULES.fields_by_name["const"].containing_oneof = _TIMESTAMPRULES.oneofs_by_name["_const"] -_TIMESTAMPRULES.oneofs_by_name["_lt"].fields.append(_TIMESTAMPRULES.fields_by_name["lt"]) -_TIMESTAMPRULES.fields_by_name["lt"].containing_oneof = _TIMESTAMPRULES.oneofs_by_name["_lt"] -_TIMESTAMPRULES.oneofs_by_name["_le"].fields.append(_TIMESTAMPRULES.fields_by_name["le"]) -_TIMESTAMPRULES.fields_by_name["le"].containing_oneof = _TIMESTAMPRULES.oneofs_by_name["_le"] -_TIMESTAMPRULES.oneofs_by_name["_gt"].fields.append(_TIMESTAMPRULES.fields_by_name["gt"]) -_TIMESTAMPRULES.fields_by_name["gt"].containing_oneof = _TIMESTAMPRULES.oneofs_by_name["_gt"] -_TIMESTAMPRULES.oneofs_by_name["_ge"].fields.append(_TIMESTAMPRULES.fields_by_name["ge"]) -_TIMESTAMPRULES.fields_by_name["ge"].containing_oneof = _TIMESTAMPRULES.oneofs_by_name["_ge"] -_TIMESTAMPRULES.oneofs_by_name["_lt_now"].fields.append(_TIMESTAMPRULES.fields_by_name["lt_now"]) -_TIMESTAMPRULES.fields_by_name["lt_now"].containing_oneof = _TIMESTAMPRULES.oneofs_by_name["_lt_now"] -_TIMESTAMPRULES.oneofs_by_name["_gt_now"].fields.append(_TIMESTAMPRULES.fields_by_name["gt_now"]) -_TIMESTAMPRULES.fields_by_name["gt_now"].containing_oneof = _TIMESTAMPRULES.oneofs_by_name["_gt_now"] -_TIMESTAMPRULES.oneofs_by_name["_within"].fields.append(_TIMESTAMPRULES.fields_by_name["within"]) -_TIMESTAMPRULES.fields_by_name["within"].containing_oneof = _TIMESTAMPRULES.oneofs_by_name["_within"] -_TIMESTAMPRULES.oneofs_by_name["_enable"].fields.append(_TIMESTAMPRULES.fields_by_name["enable"]) -_TIMESTAMPRULES.fields_by_name["enable"].containing_oneof = _TIMESTAMPRULES.oneofs_by_name["_enable"] -_TIMESTAMPRULES.oneofs_by_name["_alias"].fields.append(_TIMESTAMPRULES.fields_by_name["alias"]) -_TIMESTAMPRULES.fields_by_name["alias"].containing_oneof = _TIMESTAMPRULES.oneofs_by_name["_alias"] -_TIMESTAMPRULES.oneofs_by_name["_description"].fields.append(_TIMESTAMPRULES.fields_by_name["description"]) -_TIMESTAMPRULES.fields_by_name["description"].containing_oneof = _TIMESTAMPRULES.oneofs_by_name["_description"] -_TIMESTAMPRULES.oneofs_by_name["_field"].fields.append(_TIMESTAMPRULES.fields_by_name["field"]) -_TIMESTAMPRULES.fields_by_name["field"].containing_oneof = _TIMESTAMPRULES.oneofs_by_name["_field"] -_TIMESTAMPRULES.oneofs_by_name["_type"].fields.append(_TIMESTAMPRULES.fields_by_name["type"]) -_TIMESTAMPRULES.fields_by_name["type"].containing_oneof = _TIMESTAMPRULES.oneofs_by_name["_type"] -_TIMESTAMPRULES.oneofs_by_name["_title"].fields.append(_TIMESTAMPRULES.fields_by_name["title"]) -_TIMESTAMPRULES.fields_by_name["title"].containing_oneof = _TIMESTAMPRULES.oneofs_by_name["_title"] -_TIMESTAMPRULES.oneofs_by_name["_extra"].fields.append(_TIMESTAMPRULES.fields_by_name["extra"]) -_TIMESTAMPRULES.fields_by_name["extra"].containing_oneof = _TIMESTAMPRULES.oneofs_by_name["_extra"] -DESCRIPTOR.message_types_by_name["FieldRules"] = _FIELDRULES -DESCRIPTOR.message_types_by_name["FloatRules"] = _FLOATRULES -DESCRIPTOR.message_types_by_name["DoubleRules"] = _DOUBLERULES -DESCRIPTOR.message_types_by_name["Int32Rules"] = _INT32RULES -DESCRIPTOR.message_types_by_name["Int64Rules"] = _INT64RULES -DESCRIPTOR.message_types_by_name["UInt32Rules"] = _UINT32RULES -DESCRIPTOR.message_types_by_name["UInt64Rules"] = _UINT64RULES -DESCRIPTOR.message_types_by_name["SInt32Rules"] = _SINT32RULES -DESCRIPTOR.message_types_by_name["SInt64Rules"] = _SINT64RULES -DESCRIPTOR.message_types_by_name["Fixed32Rules"] = _FIXED32RULES -DESCRIPTOR.message_types_by_name["Fixed64Rules"] = _FIXED64RULES -DESCRIPTOR.message_types_by_name["SFixed32Rules"] = _SFIXED32RULES -DESCRIPTOR.message_types_by_name["SFixed64Rules"] = _SFIXED64RULES -DESCRIPTOR.message_types_by_name["BoolRules"] = _BOOLRULES -DESCRIPTOR.message_types_by_name["StringRules"] = _STRINGRULES -DESCRIPTOR.message_types_by_name["BytesRules"] = _BYTESRULES -DESCRIPTOR.message_types_by_name["EnumRules"] = _ENUMRULES -DESCRIPTOR.message_types_by_name["MessageRules"] = _MESSAGERULES -DESCRIPTOR.message_types_by_name["RepeatedRules"] = _REPEATEDRULES -DESCRIPTOR.message_types_by_name["MapRules"] = _MAPRULES -DESCRIPTOR.message_types_by_name["AnyRules"] = _ANYRULES -DESCRIPTOR.message_types_by_name["DurationRules"] = _DURATIONRULES -DESCRIPTOR.message_types_by_name["TimestampRules"] = _TIMESTAMPRULES -DESCRIPTOR.extensions_by_name["ignored"] = ignored -DESCRIPTOR.extensions_by_name["required"] = required -DESCRIPTOR.extensions_by_name["rules"] = rules -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FieldRules = _reflection.GeneratedProtocolMessageType( - "FieldRules", - (_message.Message,), - { - "DESCRIPTOR": _FIELDRULES, - "__module__": "example.example_proto.common.p2p_validate_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate.FieldRules) - }, -) -_sym_db.RegisterMessage(FieldRules) - -FloatRules = _reflection.GeneratedProtocolMessageType( - "FloatRules", - (_message.Message,), - { - "DESCRIPTOR": _FLOATRULES, - "__module__": "example.example_proto.common.p2p_validate_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate.FloatRules) - }, -) -_sym_db.RegisterMessage(FloatRules) - -DoubleRules = _reflection.GeneratedProtocolMessageType( - "DoubleRules", - (_message.Message,), - { - "DESCRIPTOR": _DOUBLERULES, - "__module__": "example.example_proto.common.p2p_validate_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate.DoubleRules) - }, -) -_sym_db.RegisterMessage(DoubleRules) - -Int32Rules = _reflection.GeneratedProtocolMessageType( - "Int32Rules", - (_message.Message,), - { - "DESCRIPTOR": _INT32RULES, - "__module__": "example.example_proto.common.p2p_validate_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate.Int32Rules) - }, -) -_sym_db.RegisterMessage(Int32Rules) - -Int64Rules = _reflection.GeneratedProtocolMessageType( - "Int64Rules", - (_message.Message,), - { - "DESCRIPTOR": _INT64RULES, - "__module__": "example.example_proto.common.p2p_validate_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate.Int64Rules) - }, -) -_sym_db.RegisterMessage(Int64Rules) - -UInt32Rules = _reflection.GeneratedProtocolMessageType( - "UInt32Rules", - (_message.Message,), - { - "DESCRIPTOR": _UINT32RULES, - "__module__": "example.example_proto.common.p2p_validate_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate.UInt32Rules) - }, -) -_sym_db.RegisterMessage(UInt32Rules) - -UInt64Rules = _reflection.GeneratedProtocolMessageType( - "UInt64Rules", - (_message.Message,), - { - "DESCRIPTOR": _UINT64RULES, - "__module__": "example.example_proto.common.p2p_validate_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate.UInt64Rules) - }, -) -_sym_db.RegisterMessage(UInt64Rules) - -SInt32Rules = _reflection.GeneratedProtocolMessageType( - "SInt32Rules", - (_message.Message,), - { - "DESCRIPTOR": _SINT32RULES, - "__module__": "example.example_proto.common.p2p_validate_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate.SInt32Rules) - }, -) -_sym_db.RegisterMessage(SInt32Rules) - -SInt64Rules = _reflection.GeneratedProtocolMessageType( - "SInt64Rules", - (_message.Message,), - { - "DESCRIPTOR": _SINT64RULES, - "__module__": "example.example_proto.common.p2p_validate_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate.SInt64Rules) - }, -) -_sym_db.RegisterMessage(SInt64Rules) - -Fixed32Rules = _reflection.GeneratedProtocolMessageType( - "Fixed32Rules", - (_message.Message,), - { - "DESCRIPTOR": _FIXED32RULES, - "__module__": "example.example_proto.common.p2p_validate_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate.Fixed32Rules) - }, -) -_sym_db.RegisterMessage(Fixed32Rules) - -Fixed64Rules = _reflection.GeneratedProtocolMessageType( - "Fixed64Rules", - (_message.Message,), - { - "DESCRIPTOR": _FIXED64RULES, - "__module__": "example.example_proto.common.p2p_validate_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate.Fixed64Rules) - }, -) -_sym_db.RegisterMessage(Fixed64Rules) - -SFixed32Rules = _reflection.GeneratedProtocolMessageType( - "SFixed32Rules", - (_message.Message,), - { - "DESCRIPTOR": _SFIXED32RULES, - "__module__": "example.example_proto.common.p2p_validate_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate.SFixed32Rules) - }, -) -_sym_db.RegisterMessage(SFixed32Rules) - -SFixed64Rules = _reflection.GeneratedProtocolMessageType( - "SFixed64Rules", - (_message.Message,), - { - "DESCRIPTOR": _SFIXED64RULES, - "__module__": "example.example_proto.common.p2p_validate_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate.SFixed64Rules) - }, -) -_sym_db.RegisterMessage(SFixed64Rules) - -BoolRules = _reflection.GeneratedProtocolMessageType( - "BoolRules", - (_message.Message,), - { - "DESCRIPTOR": _BOOLRULES, - "__module__": "example.example_proto.common.p2p_validate_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate.BoolRules) - }, -) -_sym_db.RegisterMessage(BoolRules) - -StringRules = _reflection.GeneratedProtocolMessageType( - "StringRules", - (_message.Message,), - { - "DESCRIPTOR": _STRINGRULES, - "__module__": "example.example_proto.common.p2p_validate_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate.StringRules) - }, -) -_sym_db.RegisterMessage(StringRules) - -BytesRules = _reflection.GeneratedProtocolMessageType( - "BytesRules", - (_message.Message,), - { - "DESCRIPTOR": _BYTESRULES, - "__module__": "example.example_proto.common.p2p_validate_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate.BytesRules) - }, -) -_sym_db.RegisterMessage(BytesRules) - -EnumRules = _reflection.GeneratedProtocolMessageType( - "EnumRules", - (_message.Message,), - { - "DESCRIPTOR": _ENUMRULES, - "__module__": "example.example_proto.common.p2p_validate_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate.EnumRules) - }, -) -_sym_db.RegisterMessage(EnumRules) - -MessageRules = _reflection.GeneratedProtocolMessageType( - "MessageRules", - (_message.Message,), - { - "DESCRIPTOR": _MESSAGERULES, - "__module__": "example.example_proto.common.p2p_validate_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate.MessageRules) - }, -) -_sym_db.RegisterMessage(MessageRules) - -RepeatedRules = _reflection.GeneratedProtocolMessageType( - "RepeatedRules", - (_message.Message,), - { - "DESCRIPTOR": _REPEATEDRULES, - "__module__": "example.example_proto.common.p2p_validate_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate.RepeatedRules) - }, -) -_sym_db.RegisterMessage(RepeatedRules) - -MapRules = _reflection.GeneratedProtocolMessageType( - "MapRules", - (_message.Message,), - { - "DESCRIPTOR": _MAPRULES, - "__module__": "example.example_proto.common.p2p_validate_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate.MapRules) - }, -) -_sym_db.RegisterMessage(MapRules) - -AnyRules = _reflection.GeneratedProtocolMessageType( - "AnyRules", - (_message.Message,), - { - "DESCRIPTOR": _ANYRULES, - "__module__": "example.example_proto.common.p2p_validate_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate.AnyRules) - }, -) -_sym_db.RegisterMessage(AnyRules) - -DurationRules = _reflection.GeneratedProtocolMessageType( - "DurationRules", - (_message.Message,), - { - "DESCRIPTOR": _DURATIONRULES, - "__module__": "example.example_proto.common.p2p_validate_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate.DurationRules) - }, -) -_sym_db.RegisterMessage(DurationRules) - -TimestampRules = _reflection.GeneratedProtocolMessageType( - "TimestampRules", - (_message.Message,), - { - "DESCRIPTOR": _TIMESTAMPRULES, - "__module__": "example.example_proto.common.p2p_validate_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate.TimestampRules) - }, -) -_sym_db.RegisterMessage(TimestampRules) - -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(ignored) -google_dot_protobuf_dot_descriptor__pb2.OneofOptions.RegisterExtension(required) -rules.message_type = _FIELDRULES -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(rules) - -# @@protoc_insertion_point(module_scope) diff --git a/example/proto_3_20/example/example_proto/common/p2p_validate_pb2.pyi b/example/proto_3_20/example/example_proto/common/p2p_validate_pb2.pyi deleted file mode 100644 index 4e73230..0000000 --- a/example/proto_3_20/example/example_proto/common/p2p_validate_pb2.pyi +++ /dev/null @@ -1,6868 +0,0 @@ -""" -@generated by mypy-protobuf. Do not edit manually! -isort:skip_file -fork from https://github.com/envoyproxy/protoc-gen-validate/blob/main/validate/validate.proto""" -import builtins -import collections.abc -import google.protobuf.descriptor -import google.protobuf.descriptor_pb2 -import google.protobuf.duration_pb2 -import google.protobuf.internal.containers -import google.protobuf.internal.extension_dict -import google.protobuf.message -import google.protobuf.timestamp_pb2 -import sys -import typing - -if sys.version_info >= (3, 8): - import typing as typing_extensions -else: - import typing_extensions - -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor - -class FieldRules(google.protobuf.message.Message): - """FieldRules encapsulates the rules for each type of field. Depending on the - field, the correct set should be used to ensure proper validations. - """ - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - MESSAGE_FIELD_NUMBER: builtins.int - FLOAT_FIELD_NUMBER: builtins.int - DOUBLE_FIELD_NUMBER: builtins.int - INT32_FIELD_NUMBER: builtins.int - INT64_FIELD_NUMBER: builtins.int - UINT32_FIELD_NUMBER: builtins.int - UINT64_FIELD_NUMBER: builtins.int - SINT32_FIELD_NUMBER: builtins.int - SINT64_FIELD_NUMBER: builtins.int - FIXED32_FIELD_NUMBER: builtins.int - FIXED64_FIELD_NUMBER: builtins.int - SFIXED32_FIELD_NUMBER: builtins.int - SFIXED64_FIELD_NUMBER: builtins.int - BOOL_FIELD_NUMBER: builtins.int - STRING_FIELD_NUMBER: builtins.int - BYTES_FIELD_NUMBER: builtins.int - ENUM_FIELD_NUMBER: builtins.int - REPEATED_FIELD_NUMBER: builtins.int - MAP_FIELD_NUMBER: builtins.int - ANY_FIELD_NUMBER: builtins.int - DURATION_FIELD_NUMBER: builtins.int - TIMESTAMP_FIELD_NUMBER: builtins.int - @property - def message(self) -> global___MessageRules: ... - @property - def float(self) -> global___FloatRules: - """Scalar Field Types""" - @property - def double(self) -> global___DoubleRules: ... - @property - def int32(self) -> global___Int32Rules: ... - @property - def int64(self) -> global___Int64Rules: ... - @property - def uint32(self) -> global___UInt32Rules: ... - @property - def uint64(self) -> global___UInt64Rules: ... - @property - def sint32(self) -> global___SInt32Rules: ... - @property - def sint64(self) -> global___SInt64Rules: ... - @property - def fixed32(self) -> global___Fixed32Rules: ... - @property - def fixed64(self) -> global___Fixed64Rules: ... - @property - def sfixed32(self) -> global___SFixed32Rules: ... - @property - def sfixed64(self) -> global___SFixed64Rules: ... - @property - def bool(self) -> global___BoolRules: ... - @property - def string(self) -> global___StringRules: ... - @property - def bytes(self) -> global___BytesRules: ... - @property - def enum(self) -> global___EnumRules: - """Complex Field Types""" - @property - def repeated(self) -> global___RepeatedRules: ... - @property - def map(self) -> global___MapRules: ... - @property - def any(self) -> global___AnyRules: - """Well-Known Field Types""" - @property - def duration(self) -> global___DurationRules: ... - @property - def timestamp(self) -> global___TimestampRules: ... - def __init__( - self, - *, - message: global___MessageRules | None = ..., - float: global___FloatRules | None = ..., - double: global___DoubleRules | None = ..., - int32: global___Int32Rules | None = ..., - int64: global___Int64Rules | None = ..., - uint32: global___UInt32Rules | None = ..., - uint64: global___UInt64Rules | None = ..., - sint32: global___SInt32Rules | None = ..., - sint64: global___SInt64Rules | None = ..., - fixed32: global___Fixed32Rules | None = ..., - fixed64: global___Fixed64Rules | None = ..., - sfixed32: global___SFixed32Rules | None = ..., - sfixed64: global___SFixed64Rules | None = ..., - bool: global___BoolRules | None = ..., - string: global___StringRules | None = ..., - bytes: global___BytesRules | None = ..., - enum: global___EnumRules | None = ..., - repeated: global___RepeatedRules | None = ..., - map: global___MapRules | None = ..., - any: global___AnyRules | None = ..., - duration: global___DurationRules | None = ..., - timestamp: global___TimestampRules | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "_message", - b"_message", - "any", - b"any", - "bool", - b"bool", - "bytes", - b"bytes", - "double", - b"double", - "duration", - b"duration", - "enum", - b"enum", - "fixed32", - b"fixed32", - "fixed64", - b"fixed64", - "float", - b"float", - "int32", - b"int32", - "int64", - b"int64", - "map", - b"map", - "message", - b"message", - "repeated", - b"repeated", - "sfixed32", - b"sfixed32", - "sfixed64", - b"sfixed64", - "sint32", - b"sint32", - "sint64", - b"sint64", - "string", - b"string", - "timestamp", - b"timestamp", - "type", - b"type", - "uint32", - b"uint32", - "uint64", - b"uint64", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "_message", - b"_message", - "any", - b"any", - "bool", - b"bool", - "bytes", - b"bytes", - "double", - b"double", - "duration", - b"duration", - "enum", - b"enum", - "fixed32", - b"fixed32", - "fixed64", - b"fixed64", - "float", - b"float", - "int32", - b"int32", - "int64", - b"int64", - "map", - b"map", - "message", - b"message", - "repeated", - b"repeated", - "sfixed32", - b"sfixed32", - "sfixed64", - b"sfixed64", - "sint32", - b"sint32", - "sint64", - b"sint64", - "string", - b"string", - "timestamp", - b"timestamp", - "type", - b"type", - "uint32", - b"uint32", - "uint64", - b"uint64", - ], - ) -> None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_message", b"_message"] - ) -> typing_extensions.Literal["message"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["type", b"type"] - ) -> ( - typing_extensions.Literal[ - "float", - "double", - "int32", - "int64", - "uint32", - "uint64", - "sint32", - "sint64", - "fixed32", - "fixed64", - "sfixed32", - "sfixed64", - "bool", - "string", - "bytes", - "enum", - "repeated", - "map", - "any", - "duration", - "timestamp", - ] - | None - ): ... - -global___FieldRules = FieldRules - -class FloatRules(google.protobuf.message.Message): - """FloatRules describes the constraints applied to `float` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GE_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - ENABLE_FIELD_NUMBER: builtins.int - DEFAULT_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_FIELD_NUMBER: builtins.int - MISS_DEFAULT_FIELD_NUMBER: builtins.int - ALIAS_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - MULTIPLE_OF_FIELD_NUMBER: builtins.int - EXAMPLE_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - TITLE_FIELD_NUMBER: builtins.int - EXTRA_FIELD_NUMBER: builtins.int - const: builtins.float - """Const specifies that this field must be exactly the specified value""" - lt: builtins.float - """Lt specifies that this field must be less than the specified value, - exclusive - """ - le: builtins.float - """Lte specifies that this field must be less than or equal to the - specified value, inclusive - """ - gt: builtins.float - """Gt specifies that this field must be greater than the specified value, - exclusive. If the value of Gt is larger than a specified Lt or Lte, the - range is reversed. - """ - ge: builtins.float - """Gte specifies that this field must be greater than or equal to the - specified value, inclusive. If the value of Gte is larger than a - specified Lt or Lte, the range is reversed. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - enable: builtins.bool - """Whether to enable this field, if not, the generated Model will not carry this field""" - default: builtins.float - """The default value corresponding to the field, if not set, - the default value is the default value of the corresponding type of the field - """ - default_factory: builtins.str - """The default value factory function corresponding to the field, supports template variables, - such as `p2p@import|uuid|uuid4` - """ - miss_default: builtins.bool - """Set field required""" - alias: builtins.str - """Set the alias of the field in the pydantic.Base Model""" - description: builtins.str - """Set the description of the field""" - multiple_of: builtins.float - """Corresponding multiple validation of the set value""" - example: builtins.float - """Set the corresponding sample value""" - example_factory: builtins.str - """Set the corresponding sample value factory function, support template variables""" - field: builtins.str - """Set the Field object corresponding to the field, support template variables""" - type: builtins.str - """Set the type object corresponding to the field, support template variables""" - title: builtins.str - """The title corresponding to the field""" - extra: builtins.str - """Field's custom extension parameter in the format Json""" - def __init__( - self, - *, - const: builtins.float | None = ..., - lt: builtins.float | None = ..., - le: builtins.float | None = ..., - gt: builtins.float | None = ..., - ge: builtins.float | None = ..., - not_in: collections.abc.Iterable[builtins.float] | None = ..., - enable: builtins.bool | None = ..., - default: builtins.float = ..., - default_factory: builtins.str = ..., - miss_default: builtins.bool = ..., - alias: builtins.str | None = ..., - description: builtins.str | None = ..., - multiple_of: builtins.float | None = ..., - example: builtins.float = ..., - example_factory: builtins.str = ..., - field: builtins.str | None = ..., - type: builtins.str | None = ..., - title: builtins.str | None = ..., - extra: builtins.str | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_le", - b"_le", - "_lt", - b"_lt", - "_multiple_of", - b"_multiple_of", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "le", - b"le", - "lt", - b"lt", - "miss_default", - b"miss_default", - "multiple_of", - b"multiple_of", - "title", - b"title", - "type", - b"type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_le", - b"_le", - "_lt", - b"_lt", - "_multiple_of", - b"_multiple_of", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "in", - b"in", - "le", - b"le", - "lt", - b"lt", - "miss_default", - b"miss_default", - "multiple_of", - b"multiple_of", - "not_in", - b"not_in", - "title", - b"title", - "type", - b"type", - ], - ) -> None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_alias", b"_alias"] - ) -> typing_extensions.Literal["alias"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_const", b"_const"] - ) -> typing_extensions.Literal["const"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_description", b"_description"] - ) -> typing_extensions.Literal["description"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_enable", b"_enable"] - ) -> typing_extensions.Literal["enable"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_extra", b"_extra"] - ) -> typing_extensions.Literal["extra"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_field", b"_field"] - ) -> typing_extensions.Literal["field"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_ge", b"_ge"] - ) -> typing_extensions.Literal["ge"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_gt", b"_gt"] - ) -> typing_extensions.Literal["gt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_le", b"_le"] - ) -> typing_extensions.Literal["le"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_lt", b"_lt"] - ) -> typing_extensions.Literal["lt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_multiple_of", b"_multiple_of"] - ) -> typing_extensions.Literal["multiple_of"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_title", b"_title"] - ) -> typing_extensions.Literal["title"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_type", b"_type"] - ) -> typing_extensions.Literal["type"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["default_config", b"default_config"] - ) -> typing_extensions.Literal["default", "default_factory", "miss_default"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["example_config", b"example_config"] - ) -> typing_extensions.Literal["example", "example_factory"] | None: ... - -global___FloatRules = FloatRules - -class DoubleRules(google.protobuf.message.Message): - """DoubleRules describes the constraints applied to `double` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GE_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - ENABLE_FIELD_NUMBER: builtins.int - DEFAULT_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_FIELD_NUMBER: builtins.int - MISS_DEFAULT_FIELD_NUMBER: builtins.int - ALIAS_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - MULTIPLE_OF_FIELD_NUMBER: builtins.int - EXAMPLE_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - TITLE_FIELD_NUMBER: builtins.int - EXTRA_FIELD_NUMBER: builtins.int - const: builtins.float - """Const specifies that this field must be exactly the specified value""" - lt: builtins.float - """Lt specifies that this field must be less than the specified value, - exclusive - """ - le: builtins.float - """Lte specifies that this field must be less than or equal to the - specified value, inclusive - """ - gt: builtins.float - """Gt specifies that this field must be greater than the specified value, - exclusive. If the value of Gt is larger than a specified Lt or Lte, the - range is reversed. - """ - ge: builtins.float - """Gte specifies that this field must be greater than or equal to the - specified value, inclusive. If the value of Gte is larger than a - specified Lt or Lte, the range is reversed. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - enable: builtins.bool - """Whether to enable this field, if not, the generated Model will not carry this field""" - default: builtins.float - """The default value corresponding to the field, if not set, - the default value is the default value of the corresponding type of the field - """ - default_factory: builtins.str - """The default value factory function corresponding to the field, supports template variables, - such as `p2p@import|uuid|uuid4` - """ - miss_default: builtins.bool - """Set field required""" - alias: builtins.str - """Set the alias of the field in the pydantic.Base Model""" - description: builtins.str - """Set the description of the field""" - multiple_of: builtins.float - """Corresponding multiple validation of the set value""" - example: builtins.float - """Set the corresponding sample value""" - example_factory: builtins.str - """Set the corresponding sample value factory function, support template variables""" - field: builtins.str - """Set the Field object corresponding to the field, support template variables""" - type: builtins.str - """Set the type object corresponding to the field, support template variables""" - title: builtins.str - """The title corresponding to the field""" - extra: builtins.str - """Field's custom extension parameter in the format Json""" - def __init__( - self, - *, - const: builtins.float | None = ..., - lt: builtins.float | None = ..., - le: builtins.float | None = ..., - gt: builtins.float | None = ..., - ge: builtins.float | None = ..., - not_in: collections.abc.Iterable[builtins.float] | None = ..., - enable: builtins.bool | None = ..., - default: builtins.float = ..., - default_factory: builtins.str = ..., - miss_default: builtins.bool = ..., - alias: builtins.str | None = ..., - description: builtins.str | None = ..., - multiple_of: builtins.float | None = ..., - example: builtins.float = ..., - example_factory: builtins.str = ..., - field: builtins.str | None = ..., - type: builtins.str | None = ..., - title: builtins.str | None = ..., - extra: builtins.str | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_le", - b"_le", - "_lt", - b"_lt", - "_multiple_of", - b"_multiple_of", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "le", - b"le", - "lt", - b"lt", - "miss_default", - b"miss_default", - "multiple_of", - b"multiple_of", - "title", - b"title", - "type", - b"type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_le", - b"_le", - "_lt", - b"_lt", - "_multiple_of", - b"_multiple_of", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "in", - b"in", - "le", - b"le", - "lt", - b"lt", - "miss_default", - b"miss_default", - "multiple_of", - b"multiple_of", - "not_in", - b"not_in", - "title", - b"title", - "type", - b"type", - ], - ) -> None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_alias", b"_alias"] - ) -> typing_extensions.Literal["alias"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_const", b"_const"] - ) -> typing_extensions.Literal["const"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_description", b"_description"] - ) -> typing_extensions.Literal["description"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_enable", b"_enable"] - ) -> typing_extensions.Literal["enable"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_extra", b"_extra"] - ) -> typing_extensions.Literal["extra"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_field", b"_field"] - ) -> typing_extensions.Literal["field"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_ge", b"_ge"] - ) -> typing_extensions.Literal["ge"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_gt", b"_gt"] - ) -> typing_extensions.Literal["gt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_le", b"_le"] - ) -> typing_extensions.Literal["le"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_lt", b"_lt"] - ) -> typing_extensions.Literal["lt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_multiple_of", b"_multiple_of"] - ) -> typing_extensions.Literal["multiple_of"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_title", b"_title"] - ) -> typing_extensions.Literal["title"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_type", b"_type"] - ) -> typing_extensions.Literal["type"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["default_config", b"default_config"] - ) -> typing_extensions.Literal["default", "default_factory", "miss_default"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["example_config", b"example_config"] - ) -> typing_extensions.Literal["example", "example_factory"] | None: ... - -global___DoubleRules = DoubleRules - -class Int32Rules(google.protobuf.message.Message): - """Int32Rules describes the constraints applied to `int32` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GE_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - ENABLE_FIELD_NUMBER: builtins.int - DEFAULT_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_FIELD_NUMBER: builtins.int - MISS_DEFAULT_FIELD_NUMBER: builtins.int - ALIAS_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - MULTIPLE_OF_FIELD_NUMBER: builtins.int - EXAMPLE_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - TITLE_FIELD_NUMBER: builtins.int - EXTRA_FIELD_NUMBER: builtins.int - const: builtins.int - """Const specifies that this field must be exactly the specified value""" - lt: builtins.int - """Lt specifies that this field must be less than the specified value, - exclusive - """ - le: builtins.int - """Lte specifies that this field must be less than or equal to the - specified value, inclusive - """ - gt: builtins.int - """Gt specifies that this field must be greater than the specified value, - exclusive. If the value of Gt is larger than a specified Lt or Lte, the - range is reversed. - """ - ge: builtins.int - """Gte specifies that this field must be greater than or equal to the - specified value, inclusive. If the value of Gte is larger than a - specified Lt or Lte, the range is reversed. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - enable: builtins.bool - """Whether to enable this field, if not, the generated Model will not carry this field""" - default: builtins.float - """The default value corresponding to the field, if not set, - the default value is the default value of the corresponding type of the field - """ - default_factory: builtins.str - """The default value factory function corresponding to the field, supports template variables, - such as `p2p@import|uuid|uuid4` - """ - miss_default: builtins.bool - """Set field required""" - alias: builtins.str - """Set the alias of the field in the pydantic.Base Model""" - description: builtins.str - """Set the description of the field""" - multiple_of: builtins.float - """Corresponding multiple validation of the set value""" - example: builtins.float - """Set the corresponding sample value""" - example_factory: builtins.str - """Set the corresponding sample value factory function, support template variables""" - field: builtins.str - """Set the Field object corresponding to the field, support template variables""" - type: builtins.str - """Set the type object corresponding to the field, support template variables""" - title: builtins.str - """The title corresponding to the field""" - extra: builtins.str - """Field's custom extension parameter in the format Json""" - def __init__( - self, - *, - const: builtins.int | None = ..., - lt: builtins.int | None = ..., - le: builtins.int | None = ..., - gt: builtins.int | None = ..., - ge: builtins.int | None = ..., - not_in: collections.abc.Iterable[builtins.int] | None = ..., - enable: builtins.bool | None = ..., - default: builtins.float = ..., - default_factory: builtins.str = ..., - miss_default: builtins.bool = ..., - alias: builtins.str | None = ..., - description: builtins.str | None = ..., - multiple_of: builtins.float | None = ..., - example: builtins.float = ..., - example_factory: builtins.str = ..., - field: builtins.str | None = ..., - type: builtins.str | None = ..., - title: builtins.str | None = ..., - extra: builtins.str | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_le", - b"_le", - "_lt", - b"_lt", - "_multiple_of", - b"_multiple_of", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "le", - b"le", - "lt", - b"lt", - "miss_default", - b"miss_default", - "multiple_of", - b"multiple_of", - "title", - b"title", - "type", - b"type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_le", - b"_le", - "_lt", - b"_lt", - "_multiple_of", - b"_multiple_of", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "in", - b"in", - "le", - b"le", - "lt", - b"lt", - "miss_default", - b"miss_default", - "multiple_of", - b"multiple_of", - "not_in", - b"not_in", - "title", - b"title", - "type", - b"type", - ], - ) -> None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_alias", b"_alias"] - ) -> typing_extensions.Literal["alias"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_const", b"_const"] - ) -> typing_extensions.Literal["const"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_description", b"_description"] - ) -> typing_extensions.Literal["description"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_enable", b"_enable"] - ) -> typing_extensions.Literal["enable"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_extra", b"_extra"] - ) -> typing_extensions.Literal["extra"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_field", b"_field"] - ) -> typing_extensions.Literal["field"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_ge", b"_ge"] - ) -> typing_extensions.Literal["ge"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_gt", b"_gt"] - ) -> typing_extensions.Literal["gt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_le", b"_le"] - ) -> typing_extensions.Literal["le"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_lt", b"_lt"] - ) -> typing_extensions.Literal["lt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_multiple_of", b"_multiple_of"] - ) -> typing_extensions.Literal["multiple_of"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_title", b"_title"] - ) -> typing_extensions.Literal["title"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_type", b"_type"] - ) -> typing_extensions.Literal["type"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["default_config", b"default_config"] - ) -> typing_extensions.Literal["default", "default_factory", "miss_default"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["example_config", b"example_config"] - ) -> typing_extensions.Literal["example", "example_factory"] | None: ... - -global___Int32Rules = Int32Rules - -class Int64Rules(google.protobuf.message.Message): - """Int64Rules describes the constraints applied to `int64` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GE_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - ENABLE_FIELD_NUMBER: builtins.int - DEFAULT_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_FIELD_NUMBER: builtins.int - MISS_DEFAULT_FIELD_NUMBER: builtins.int - ALIAS_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - MULTIPLE_OF_FIELD_NUMBER: builtins.int - EXAMPLE_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - TITLE_FIELD_NUMBER: builtins.int - EXTRA_FIELD_NUMBER: builtins.int - const: builtins.int - """Const specifies that this field must be exactly the specified value""" - lt: builtins.int - """Lt specifies that this field must be less than the specified value, - exclusive - """ - le: builtins.int - """Lte specifies that this field must be less than or equal to the - specified value, inclusive - """ - gt: builtins.int - """Gt specifies that this field must be greater than the specified value, - exclusive. If the value of Gt is larger than a specified Lt or Lte, the - range is reversed. - """ - ge: builtins.int - """Gte specifies that this field must be greater than or equal to the - specified value, inclusive. If the value of Gte is larger than a - specified Lt or Lte, the range is reversed. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - enable: builtins.bool - """Whether to enable this field, if not, the generated Model will not carry this field""" - default: builtins.float - """The default value corresponding to the field, if not set, - the default value is the default value of the corresponding type of the field - """ - default_factory: builtins.str - """The default value factory function corresponding to the field, supports template variables, - such as `p2p@import|uuid|uuid4` - """ - miss_default: builtins.bool - """Set field required""" - alias: builtins.str - """Set the alias of the field in the pydantic.Base Model""" - description: builtins.str - """Set the description of the field""" - multiple_of: builtins.float - """Corresponding multiple validation of the set value""" - example: builtins.float - """Set the corresponding sample value""" - example_factory: builtins.str - """Set the corresponding sample value factory function, support template variables""" - field: builtins.str - """Set the Field object corresponding to the field, support template variables""" - type: builtins.str - """Set the type object corresponding to the field, support template variables""" - title: builtins.str - """The title corresponding to the field""" - extra: builtins.str - """Field's custom extension parameter in the format Json""" - def __init__( - self, - *, - const: builtins.int | None = ..., - lt: builtins.int | None = ..., - le: builtins.int | None = ..., - gt: builtins.int | None = ..., - ge: builtins.int | None = ..., - not_in: collections.abc.Iterable[builtins.int] | None = ..., - enable: builtins.bool | None = ..., - default: builtins.float = ..., - default_factory: builtins.str = ..., - miss_default: builtins.bool = ..., - alias: builtins.str | None = ..., - description: builtins.str | None = ..., - multiple_of: builtins.float | None = ..., - example: builtins.float = ..., - example_factory: builtins.str = ..., - field: builtins.str | None = ..., - type: builtins.str | None = ..., - title: builtins.str | None = ..., - extra: builtins.str | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_le", - b"_le", - "_lt", - b"_lt", - "_multiple_of", - b"_multiple_of", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "le", - b"le", - "lt", - b"lt", - "miss_default", - b"miss_default", - "multiple_of", - b"multiple_of", - "title", - b"title", - "type", - b"type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_le", - b"_le", - "_lt", - b"_lt", - "_multiple_of", - b"_multiple_of", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "in", - b"in", - "le", - b"le", - "lt", - b"lt", - "miss_default", - b"miss_default", - "multiple_of", - b"multiple_of", - "not_in", - b"not_in", - "title", - b"title", - "type", - b"type", - ], - ) -> None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_alias", b"_alias"] - ) -> typing_extensions.Literal["alias"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_const", b"_const"] - ) -> typing_extensions.Literal["const"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_description", b"_description"] - ) -> typing_extensions.Literal["description"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_enable", b"_enable"] - ) -> typing_extensions.Literal["enable"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_extra", b"_extra"] - ) -> typing_extensions.Literal["extra"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_field", b"_field"] - ) -> typing_extensions.Literal["field"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_ge", b"_ge"] - ) -> typing_extensions.Literal["ge"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_gt", b"_gt"] - ) -> typing_extensions.Literal["gt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_le", b"_le"] - ) -> typing_extensions.Literal["le"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_lt", b"_lt"] - ) -> typing_extensions.Literal["lt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_multiple_of", b"_multiple_of"] - ) -> typing_extensions.Literal["multiple_of"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_title", b"_title"] - ) -> typing_extensions.Literal["title"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_type", b"_type"] - ) -> typing_extensions.Literal["type"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["default_config", b"default_config"] - ) -> typing_extensions.Literal["default", "default_factory", "miss_default"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["example_config", b"example_config"] - ) -> typing_extensions.Literal["example", "example_factory"] | None: ... - -global___Int64Rules = Int64Rules - -class UInt32Rules(google.protobuf.message.Message): - """UInt32Rules describes the constraints applied to `uint32` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GE_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - ENABLE_FIELD_NUMBER: builtins.int - DEFAULT_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_FIELD_NUMBER: builtins.int - MISS_DEFAULT_FIELD_NUMBER: builtins.int - ALIAS_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - MULTIPLE_OF_FIELD_NUMBER: builtins.int - EXAMPLE_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - TITLE_FIELD_NUMBER: builtins.int - EXTRA_FIELD_NUMBER: builtins.int - const: builtins.int - """Const specifies that this field must be exactly the specified value""" - lt: builtins.int - """Lt specifies that this field must be less than the specified value, - exclusive - """ - le: builtins.int - """Lte specifies that this field must be less than or equal to the - specified value, inclusive - """ - gt: builtins.int - """Gt specifies that this field must be greater than the specified value, - exclusive. If the value of Gt is larger than a specified Lt or Lte, the - range is reversed. - """ - ge: builtins.int - """Gte specifies that this field must be greater than or equal to the - specified value, inclusive. If the value of Gte is larger than a - specified Lt or Lte, the range is reversed. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - enable: builtins.bool - """Whether to enable this field, if not, the generated Model will not carry this field""" - default: builtins.float - """The default value corresponding to the field, if not set, - the default value is the default value of the corresponding type of the field - """ - default_factory: builtins.str - """The default value factory function corresponding to the field, supports template variables, - such as `p2p@import|uuid|uuid4` - """ - miss_default: builtins.bool - """Set field required""" - alias: builtins.str - """Set the alias of the field in the pydantic.Base Model""" - description: builtins.str - """Set the description of the field""" - multiple_of: builtins.float - """Corresponding multiple validation of the set value""" - example: builtins.float - """Set the corresponding sample value""" - example_factory: builtins.str - """Set the corresponding sample value factory function, support template variables""" - field: builtins.str - """Set the Field object corresponding to the field, support template variables""" - type: builtins.str - """Set the type object corresponding to the field, support template variables""" - title: builtins.str - """The title corresponding to the field""" - extra: builtins.str - """Field's custom extension parameter in the format Json""" - def __init__( - self, - *, - const: builtins.int | None = ..., - lt: builtins.int | None = ..., - le: builtins.int | None = ..., - gt: builtins.int | None = ..., - ge: builtins.int | None = ..., - not_in: collections.abc.Iterable[builtins.int] | None = ..., - enable: builtins.bool | None = ..., - default: builtins.float = ..., - default_factory: builtins.str = ..., - miss_default: builtins.bool = ..., - alias: builtins.str | None = ..., - description: builtins.str | None = ..., - multiple_of: builtins.float | None = ..., - example: builtins.float = ..., - example_factory: builtins.str = ..., - field: builtins.str | None = ..., - type: builtins.str | None = ..., - title: builtins.str | None = ..., - extra: builtins.str | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_le", - b"_le", - "_lt", - b"_lt", - "_multiple_of", - b"_multiple_of", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "le", - b"le", - "lt", - b"lt", - "miss_default", - b"miss_default", - "multiple_of", - b"multiple_of", - "title", - b"title", - "type", - b"type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_le", - b"_le", - "_lt", - b"_lt", - "_multiple_of", - b"_multiple_of", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "in", - b"in", - "le", - b"le", - "lt", - b"lt", - "miss_default", - b"miss_default", - "multiple_of", - b"multiple_of", - "not_in", - b"not_in", - "title", - b"title", - "type", - b"type", - ], - ) -> None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_alias", b"_alias"] - ) -> typing_extensions.Literal["alias"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_const", b"_const"] - ) -> typing_extensions.Literal["const"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_description", b"_description"] - ) -> typing_extensions.Literal["description"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_enable", b"_enable"] - ) -> typing_extensions.Literal["enable"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_extra", b"_extra"] - ) -> typing_extensions.Literal["extra"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_field", b"_field"] - ) -> typing_extensions.Literal["field"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_ge", b"_ge"] - ) -> typing_extensions.Literal["ge"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_gt", b"_gt"] - ) -> typing_extensions.Literal["gt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_le", b"_le"] - ) -> typing_extensions.Literal["le"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_lt", b"_lt"] - ) -> typing_extensions.Literal["lt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_multiple_of", b"_multiple_of"] - ) -> typing_extensions.Literal["multiple_of"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_title", b"_title"] - ) -> typing_extensions.Literal["title"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_type", b"_type"] - ) -> typing_extensions.Literal["type"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["default_config", b"default_config"] - ) -> typing_extensions.Literal["default", "default_factory", "miss_default"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["example_config", b"example_config"] - ) -> typing_extensions.Literal["example", "example_factory"] | None: ... - -global___UInt32Rules = UInt32Rules - -class UInt64Rules(google.protobuf.message.Message): - """UInt64Rules describes the constraints applied to `uint64` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GE_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - ENABLE_FIELD_NUMBER: builtins.int - DEFAULT_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_FIELD_NUMBER: builtins.int - MISS_DEFAULT_FIELD_NUMBER: builtins.int - ALIAS_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - MULTIPLE_OF_FIELD_NUMBER: builtins.int - EXAMPLE_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - TITLE_FIELD_NUMBER: builtins.int - EXTRA_FIELD_NUMBER: builtins.int - const: builtins.int - """Const specifies that this field must be exactly the specified value""" - lt: builtins.int - """Lt specifies that this field must be less than the specified value, - exclusive - """ - le: builtins.int - """Lte specifies that this field must be less than or equal to the - specified value, inclusive - """ - gt: builtins.int - """Gt specifies that this field must be greater than the specified value, - exclusive. If the value of Gt is larger than a specified Lt or Lte, the - range is reversed. - """ - ge: builtins.int - """Gte specifies that this field must be greater than or equal to the - specified value, inclusive. If the value of Gte is larger than a - specified Lt or Lte, the range is reversed. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - enable: builtins.bool - """Whether to enable this field, if not, the generated Model will not carry this field""" - default: builtins.float - """The default value corresponding to the field, if not set, - the default value is the default value of the corresponding type of the field - """ - default_factory: builtins.str - """The default value factory function corresponding to the field, supports template variables, - such as `p2p@import|uuid|uuid4` - """ - miss_default: builtins.bool - """Set field required""" - alias: builtins.str - """Set the alias of the field in the pydantic.Base Model""" - description: builtins.str - """Set the description of the field""" - multiple_of: builtins.float - """Corresponding multiple validation of the set value""" - example: builtins.float - """Set the corresponding sample value""" - example_factory: builtins.str - """Set the corresponding sample value factory function, support template variables""" - field: builtins.str - """Set the Field object corresponding to the field, support template variables""" - type: builtins.str - """Set the type object corresponding to the field, support template variables""" - title: builtins.str - """The title corresponding to the field""" - extra: builtins.str - """Field's custom extension parameter in the format Json""" - def __init__( - self, - *, - const: builtins.int | None = ..., - lt: builtins.int | None = ..., - le: builtins.int | None = ..., - gt: builtins.int | None = ..., - ge: builtins.int | None = ..., - not_in: collections.abc.Iterable[builtins.int] | None = ..., - enable: builtins.bool | None = ..., - default: builtins.float = ..., - default_factory: builtins.str = ..., - miss_default: builtins.bool = ..., - alias: builtins.str | None = ..., - description: builtins.str | None = ..., - multiple_of: builtins.float | None = ..., - example: builtins.float = ..., - example_factory: builtins.str = ..., - field: builtins.str | None = ..., - type: builtins.str | None = ..., - title: builtins.str | None = ..., - extra: builtins.str | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_le", - b"_le", - "_lt", - b"_lt", - "_multiple_of", - b"_multiple_of", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "le", - b"le", - "lt", - b"lt", - "miss_default", - b"miss_default", - "multiple_of", - b"multiple_of", - "title", - b"title", - "type", - b"type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_le", - b"_le", - "_lt", - b"_lt", - "_multiple_of", - b"_multiple_of", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "in", - b"in", - "le", - b"le", - "lt", - b"lt", - "miss_default", - b"miss_default", - "multiple_of", - b"multiple_of", - "not_in", - b"not_in", - "title", - b"title", - "type", - b"type", - ], - ) -> None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_alias", b"_alias"] - ) -> typing_extensions.Literal["alias"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_const", b"_const"] - ) -> typing_extensions.Literal["const"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_description", b"_description"] - ) -> typing_extensions.Literal["description"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_enable", b"_enable"] - ) -> typing_extensions.Literal["enable"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_extra", b"_extra"] - ) -> typing_extensions.Literal["extra"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_field", b"_field"] - ) -> typing_extensions.Literal["field"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_ge", b"_ge"] - ) -> typing_extensions.Literal["ge"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_gt", b"_gt"] - ) -> typing_extensions.Literal["gt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_le", b"_le"] - ) -> typing_extensions.Literal["le"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_lt", b"_lt"] - ) -> typing_extensions.Literal["lt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_multiple_of", b"_multiple_of"] - ) -> typing_extensions.Literal["multiple_of"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_title", b"_title"] - ) -> typing_extensions.Literal["title"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_type", b"_type"] - ) -> typing_extensions.Literal["type"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["default_config", b"default_config"] - ) -> typing_extensions.Literal["default", "default_factory", "miss_default"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["example_config", b"example_config"] - ) -> typing_extensions.Literal["example", "example_factory"] | None: ... - -global___UInt64Rules = UInt64Rules - -class SInt32Rules(google.protobuf.message.Message): - """SInt32Rules describes the constraints applied to `sint32` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GE_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - ENABLE_FIELD_NUMBER: builtins.int - DEFAULT_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_FIELD_NUMBER: builtins.int - MISS_DEFAULT_FIELD_NUMBER: builtins.int - ALIAS_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - MULTIPLE_OF_FIELD_NUMBER: builtins.int - EXAMPLE_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - TITLE_FIELD_NUMBER: builtins.int - EXTRA_FIELD_NUMBER: builtins.int - const: builtins.int - """Const specifies that this field must be exactly the specified value""" - lt: builtins.int - """Lt specifies that this field must be less than the specified value, - exclusive - """ - le: builtins.int - """Lte specifies that this field must be less than or equal to the - specified value, inclusive - """ - gt: builtins.int - """Gt specifies that this field must be greater than the specified value, - exclusive. If the value of Gt is larger than a specified Lt or Lte, the - range is reversed. - """ - ge: builtins.int - """Gte specifies that this field must be greater than or equal to the - specified value, inclusive. If the value of Gte is larger than a - specified Lt or Lte, the range is reversed. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - enable: builtins.bool - """Whether to enable this field, if not, the generated Model will not carry this field""" - default: builtins.float - """The default value corresponding to the field, if not set, - the default value is the default value of the corresponding type of the field - """ - default_factory: builtins.str - """The default value factory function corresponding to the field, supports template variables, - such as `p2p@import|uuid|uuid4` - """ - miss_default: builtins.bool - """Set field required""" - alias: builtins.str - """Set the alias of the field in the pydantic.Base Model""" - description: builtins.str - """Set the description of the field""" - multiple_of: builtins.float - """Corresponding multiple validation of the set value""" - example: builtins.float - """Set the corresponding sample value""" - example_factory: builtins.str - """Set the corresponding sample value factory function, support template variables""" - field: builtins.str - """Set the Field object corresponding to the field, support template variables""" - type: builtins.str - """Set the type object corresponding to the field, support template variables""" - title: builtins.str - """The title corresponding to the field""" - extra: builtins.str - """Field's custom extension parameter in the format Json""" - def __init__( - self, - *, - const: builtins.int | None = ..., - lt: builtins.int | None = ..., - le: builtins.int | None = ..., - gt: builtins.int | None = ..., - ge: builtins.int | None = ..., - not_in: collections.abc.Iterable[builtins.int] | None = ..., - enable: builtins.bool | None = ..., - default: builtins.float = ..., - default_factory: builtins.str = ..., - miss_default: builtins.bool = ..., - alias: builtins.str | None = ..., - description: builtins.str | None = ..., - multiple_of: builtins.float | None = ..., - example: builtins.float = ..., - example_factory: builtins.str = ..., - field: builtins.str | None = ..., - type: builtins.str | None = ..., - title: builtins.str | None = ..., - extra: builtins.str | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_le", - b"_le", - "_lt", - b"_lt", - "_multiple_of", - b"_multiple_of", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "le", - b"le", - "lt", - b"lt", - "miss_default", - b"miss_default", - "multiple_of", - b"multiple_of", - "title", - b"title", - "type", - b"type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_le", - b"_le", - "_lt", - b"_lt", - "_multiple_of", - b"_multiple_of", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "in", - b"in", - "le", - b"le", - "lt", - b"lt", - "miss_default", - b"miss_default", - "multiple_of", - b"multiple_of", - "not_in", - b"not_in", - "title", - b"title", - "type", - b"type", - ], - ) -> None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_alias", b"_alias"] - ) -> typing_extensions.Literal["alias"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_const", b"_const"] - ) -> typing_extensions.Literal["const"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_description", b"_description"] - ) -> typing_extensions.Literal["description"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_enable", b"_enable"] - ) -> typing_extensions.Literal["enable"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_extra", b"_extra"] - ) -> typing_extensions.Literal["extra"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_field", b"_field"] - ) -> typing_extensions.Literal["field"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_ge", b"_ge"] - ) -> typing_extensions.Literal["ge"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_gt", b"_gt"] - ) -> typing_extensions.Literal["gt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_le", b"_le"] - ) -> typing_extensions.Literal["le"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_lt", b"_lt"] - ) -> typing_extensions.Literal["lt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_multiple_of", b"_multiple_of"] - ) -> typing_extensions.Literal["multiple_of"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_title", b"_title"] - ) -> typing_extensions.Literal["title"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_type", b"_type"] - ) -> typing_extensions.Literal["type"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["default_config", b"default_config"] - ) -> typing_extensions.Literal["default", "default_factory", "miss_default"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["example_config", b"example_config"] - ) -> typing_extensions.Literal["example", "example_factory"] | None: ... - -global___SInt32Rules = SInt32Rules - -class SInt64Rules(google.protobuf.message.Message): - """SInt64Rules describes the constraints applied to `sint64` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GE_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - ENABLE_FIELD_NUMBER: builtins.int - DEFAULT_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_FIELD_NUMBER: builtins.int - MISS_DEFAULT_FIELD_NUMBER: builtins.int - ALIAS_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - MULTIPLE_OF_FIELD_NUMBER: builtins.int - EXAMPLE_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - TITLE_FIELD_NUMBER: builtins.int - EXTRA_FIELD_NUMBER: builtins.int - const: builtins.int - """Const specifies that this field must be exactly the specified value""" - lt: builtins.int - """Lt specifies that this field must be less than the specified value, - exclusive - """ - le: builtins.int - """Lte specifies that this field must be less than or equal to the - specified value, inclusive - """ - gt: builtins.int - """Gt specifies that this field must be greater than the specified value, - exclusive. If the value of Gt is larger than a specified Lt or Lte, the - range is reversed. - """ - ge: builtins.int - """Gte specifies that this field must be greater than or equal to the - specified value, inclusive. If the value of Gte is larger than a - specified Lt or Lte, the range is reversed. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - enable: builtins.bool - """Whether to enable this field, if not, the generated Model will not carry this field""" - default: builtins.float - """The default value corresponding to the field, if not set, - the default value is the default value of the corresponding type of the field - """ - default_factory: builtins.str - """The default value factory function corresponding to the field, supports template variables, - such as `p2p@import|uuid|uuid4` - """ - miss_default: builtins.bool - """Set field required""" - alias: builtins.str - """Set the alias of the field in the pydantic.Base Model""" - description: builtins.str - """Set the description of the field""" - multiple_of: builtins.float - """Corresponding multiple validation of the set value""" - example: builtins.float - """Set the corresponding sample value""" - example_factory: builtins.str - """Set the corresponding sample value factory function, support template variables""" - field: builtins.str - """Set the Field object corresponding to the field, support template variables""" - type: builtins.str - """Set the type object corresponding to the field, support template variables""" - title: builtins.str - """The title corresponding to the field""" - extra: builtins.str - """Field's custom extension parameter in the format Json""" - def __init__( - self, - *, - const: builtins.int | None = ..., - lt: builtins.int | None = ..., - le: builtins.int | None = ..., - gt: builtins.int | None = ..., - ge: builtins.int | None = ..., - not_in: collections.abc.Iterable[builtins.int] | None = ..., - enable: builtins.bool | None = ..., - default: builtins.float = ..., - default_factory: builtins.str = ..., - miss_default: builtins.bool = ..., - alias: builtins.str | None = ..., - description: builtins.str | None = ..., - multiple_of: builtins.float | None = ..., - example: builtins.float = ..., - example_factory: builtins.str = ..., - field: builtins.str | None = ..., - type: builtins.str | None = ..., - title: builtins.str | None = ..., - extra: builtins.str | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_le", - b"_le", - "_lt", - b"_lt", - "_multiple_of", - b"_multiple_of", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "le", - b"le", - "lt", - b"lt", - "miss_default", - b"miss_default", - "multiple_of", - b"multiple_of", - "title", - b"title", - "type", - b"type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_le", - b"_le", - "_lt", - b"_lt", - "_multiple_of", - b"_multiple_of", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "in", - b"in", - "le", - b"le", - "lt", - b"lt", - "miss_default", - b"miss_default", - "multiple_of", - b"multiple_of", - "not_in", - b"not_in", - "title", - b"title", - "type", - b"type", - ], - ) -> None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_alias", b"_alias"] - ) -> typing_extensions.Literal["alias"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_const", b"_const"] - ) -> typing_extensions.Literal["const"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_description", b"_description"] - ) -> typing_extensions.Literal["description"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_enable", b"_enable"] - ) -> typing_extensions.Literal["enable"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_extra", b"_extra"] - ) -> typing_extensions.Literal["extra"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_field", b"_field"] - ) -> typing_extensions.Literal["field"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_ge", b"_ge"] - ) -> typing_extensions.Literal["ge"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_gt", b"_gt"] - ) -> typing_extensions.Literal["gt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_le", b"_le"] - ) -> typing_extensions.Literal["le"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_lt", b"_lt"] - ) -> typing_extensions.Literal["lt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_multiple_of", b"_multiple_of"] - ) -> typing_extensions.Literal["multiple_of"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_title", b"_title"] - ) -> typing_extensions.Literal["title"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_type", b"_type"] - ) -> typing_extensions.Literal["type"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["default_config", b"default_config"] - ) -> typing_extensions.Literal["default", "default_factory", "miss_default"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["example_config", b"example_config"] - ) -> typing_extensions.Literal["example", "example_factory"] | None: ... - -global___SInt64Rules = SInt64Rules - -class Fixed32Rules(google.protobuf.message.Message): - """Fixed32Rules describes the constraints applied to `fixed32` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GE_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - ENABLE_FIELD_NUMBER: builtins.int - DEFAULT_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_FIELD_NUMBER: builtins.int - MISS_DEFAULT_FIELD_NUMBER: builtins.int - ALIAS_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - MULTIPLE_OF_FIELD_NUMBER: builtins.int - EXAMPLE_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - TITLE_FIELD_NUMBER: builtins.int - EXTRA_FIELD_NUMBER: builtins.int - const: builtins.int - """Const specifies that this field must be exactly the specified value""" - lt: builtins.int - """Lt specifies that this field must be less than the specified value, - exclusive - """ - le: builtins.int - """Lte specifies that this field must be less than or equal to the - specified value, inclusive - """ - gt: builtins.int - """Gt specifies that this field must be greater than the specified value, - exclusive. If the value of Gt is larger than a specified Lt or Lte, the - range is reversed. - """ - ge: builtins.int - """Gte specifies that this field must be greater than or equal to the - specified value, inclusive. If the value of Gte is larger than a - specified Lt or Lte, the range is reversed. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - enable: builtins.bool - """Whether to enable this field, if not, the generated Model will not carry this field""" - default: builtins.float - """The default value corresponding to the field, if not set, - the default value is the default value of the corresponding type of the field - """ - default_factory: builtins.str - """The default value factory function corresponding to the field, supports template variables, - such as `p2p@import|uuid|uuid4` - """ - miss_default: builtins.bool - """Set field required""" - alias: builtins.str - """Set the alias of the field in the pydantic.Base Model""" - description: builtins.str - """Set the description of the field""" - multiple_of: builtins.float - """Corresponding multiple validation of the set value""" - example: builtins.float - """Set the corresponding sample value""" - example_factory: builtins.str - """Set the corresponding sample value factory function, support template variables""" - field: builtins.str - """Set the Field object corresponding to the field, support template variables""" - type: builtins.str - """Set the type object corresponding to the field, support template variables""" - title: builtins.str - """The title corresponding to the field""" - extra: builtins.str - """Field's custom extension parameter in the format Json""" - def __init__( - self, - *, - const: builtins.int | None = ..., - lt: builtins.int | None = ..., - le: builtins.int | None = ..., - gt: builtins.int | None = ..., - ge: builtins.int | None = ..., - not_in: collections.abc.Iterable[builtins.int] | None = ..., - enable: builtins.bool | None = ..., - default: builtins.float = ..., - default_factory: builtins.str = ..., - miss_default: builtins.bool = ..., - alias: builtins.str | None = ..., - description: builtins.str | None = ..., - multiple_of: builtins.float | None = ..., - example: builtins.float = ..., - example_factory: builtins.str = ..., - field: builtins.str | None = ..., - type: builtins.str | None = ..., - title: builtins.str | None = ..., - extra: builtins.str | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_le", - b"_le", - "_lt", - b"_lt", - "_multiple_of", - b"_multiple_of", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "le", - b"le", - "lt", - b"lt", - "miss_default", - b"miss_default", - "multiple_of", - b"multiple_of", - "title", - b"title", - "type", - b"type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_le", - b"_le", - "_lt", - b"_lt", - "_multiple_of", - b"_multiple_of", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "in", - b"in", - "le", - b"le", - "lt", - b"lt", - "miss_default", - b"miss_default", - "multiple_of", - b"multiple_of", - "not_in", - b"not_in", - "title", - b"title", - "type", - b"type", - ], - ) -> None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_alias", b"_alias"] - ) -> typing_extensions.Literal["alias"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_const", b"_const"] - ) -> typing_extensions.Literal["const"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_description", b"_description"] - ) -> typing_extensions.Literal["description"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_enable", b"_enable"] - ) -> typing_extensions.Literal["enable"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_extra", b"_extra"] - ) -> typing_extensions.Literal["extra"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_field", b"_field"] - ) -> typing_extensions.Literal["field"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_ge", b"_ge"] - ) -> typing_extensions.Literal["ge"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_gt", b"_gt"] - ) -> typing_extensions.Literal["gt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_le", b"_le"] - ) -> typing_extensions.Literal["le"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_lt", b"_lt"] - ) -> typing_extensions.Literal["lt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_multiple_of", b"_multiple_of"] - ) -> typing_extensions.Literal["multiple_of"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_title", b"_title"] - ) -> typing_extensions.Literal["title"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_type", b"_type"] - ) -> typing_extensions.Literal["type"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["default_config", b"default_config"] - ) -> typing_extensions.Literal["default", "default_factory", "miss_default"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["example_config", b"example_config"] - ) -> typing_extensions.Literal["example", "example_factory"] | None: ... - -global___Fixed32Rules = Fixed32Rules - -class Fixed64Rules(google.protobuf.message.Message): - """Fixed64Rules describes the constraints applied to `fixed64` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GE_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - ENABLE_FIELD_NUMBER: builtins.int - DEFAULT_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_FIELD_NUMBER: builtins.int - MISS_DEFAULT_FIELD_NUMBER: builtins.int - ALIAS_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - MULTIPLE_OF_FIELD_NUMBER: builtins.int - EXAMPLE_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - TITLE_FIELD_NUMBER: builtins.int - EXTRA_FIELD_NUMBER: builtins.int - const: builtins.int - """Const specifies that this field must be exactly the specified value""" - lt: builtins.int - """Lt specifies that this field must be less than the specified value, - exclusive - """ - le: builtins.int - """Lte specifies that this field must be less than or equal to the - specified value, inclusive - """ - gt: builtins.int - """Gt specifies that this field must be greater than the specified value, - exclusive. If the value of Gt is larger than a specified Lt or Lte, the - range is reversed. - """ - ge: builtins.int - """Gte specifies that this field must be greater than or equal to the - specified value, inclusive. If the value of Gte is larger than a - specified Lt or Lte, the range is reversed. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - enable: builtins.bool - """Whether to enable this field, if not, the generated Model will not carry this field""" - default: builtins.float - """The default value corresponding to the field, if not set, - the default value is the default value of the corresponding type of the field - """ - default_factory: builtins.str - """The default value factory function corresponding to the field, supports template variables, - such as `p2p@import|uuid|uuid4` - """ - miss_default: builtins.bool - """Set field required""" - alias: builtins.str - """Set the alias of the field in the pydantic.Base Model""" - description: builtins.str - """Set the description of the field""" - multiple_of: builtins.float - """Corresponding multiple validation of the set value""" - example: builtins.float - """Set the corresponding sample value""" - example_factory: builtins.str - """Set the corresponding sample value factory function, support template variables""" - field: builtins.str - """Set the Field object corresponding to the field, support template variables""" - type: builtins.str - """Set the type object corresponding to the field, support template variables""" - title: builtins.str - """The title corresponding to the field""" - extra: builtins.str - """Field's custom extension parameter in the format Json""" - def __init__( - self, - *, - const: builtins.int | None = ..., - lt: builtins.int | None = ..., - le: builtins.int | None = ..., - gt: builtins.int | None = ..., - ge: builtins.int | None = ..., - not_in: collections.abc.Iterable[builtins.int] | None = ..., - enable: builtins.bool | None = ..., - default: builtins.float = ..., - default_factory: builtins.str = ..., - miss_default: builtins.bool = ..., - alias: builtins.str | None = ..., - description: builtins.str | None = ..., - multiple_of: builtins.float | None = ..., - example: builtins.float = ..., - example_factory: builtins.str = ..., - field: builtins.str | None = ..., - type: builtins.str | None = ..., - title: builtins.str | None = ..., - extra: builtins.str | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_le", - b"_le", - "_lt", - b"_lt", - "_multiple_of", - b"_multiple_of", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "le", - b"le", - "lt", - b"lt", - "miss_default", - b"miss_default", - "multiple_of", - b"multiple_of", - "title", - b"title", - "type", - b"type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_le", - b"_le", - "_lt", - b"_lt", - "_multiple_of", - b"_multiple_of", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "in", - b"in", - "le", - b"le", - "lt", - b"lt", - "miss_default", - b"miss_default", - "multiple_of", - b"multiple_of", - "not_in", - b"not_in", - "title", - b"title", - "type", - b"type", - ], - ) -> None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_alias", b"_alias"] - ) -> typing_extensions.Literal["alias"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_const", b"_const"] - ) -> typing_extensions.Literal["const"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_description", b"_description"] - ) -> typing_extensions.Literal["description"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_enable", b"_enable"] - ) -> typing_extensions.Literal["enable"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_extra", b"_extra"] - ) -> typing_extensions.Literal["extra"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_field", b"_field"] - ) -> typing_extensions.Literal["field"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_ge", b"_ge"] - ) -> typing_extensions.Literal["ge"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_gt", b"_gt"] - ) -> typing_extensions.Literal["gt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_le", b"_le"] - ) -> typing_extensions.Literal["le"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_lt", b"_lt"] - ) -> typing_extensions.Literal["lt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_multiple_of", b"_multiple_of"] - ) -> typing_extensions.Literal["multiple_of"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_title", b"_title"] - ) -> typing_extensions.Literal["title"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_type", b"_type"] - ) -> typing_extensions.Literal["type"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["default_config", b"default_config"] - ) -> typing_extensions.Literal["default", "default_factory", "miss_default"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["example_config", b"example_config"] - ) -> typing_extensions.Literal["example", "example_factory"] | None: ... - -global___Fixed64Rules = Fixed64Rules - -class SFixed32Rules(google.protobuf.message.Message): - """SFixed32Rules describes the constraints applied to `sfixed32` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GE_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - ENABLE_FIELD_NUMBER: builtins.int - DEFAULT_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_FIELD_NUMBER: builtins.int - MISS_DEFAULT_FIELD_NUMBER: builtins.int - ALIAS_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - MULTIPLE_OF_FIELD_NUMBER: builtins.int - EXAMPLE_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - TITLE_FIELD_NUMBER: builtins.int - EXTRA_FIELD_NUMBER: builtins.int - const: builtins.int - """Const specifies that this field must be exactly the specified value""" - lt: builtins.int - """Lt specifies that this field must be less than the specified value, - exclusive - """ - le: builtins.int - """Lte specifies that this field must be less than or equal to the - specified value, inclusive - """ - gt: builtins.int - """Gt specifies that this field must be greater than the specified value, - exclusive. If the value of Gt is larger than a specified Lt or Lte, the - range is reversed. - """ - ge: builtins.int - """Gte specifies that this field must be greater than or equal to the - specified value, inclusive. If the value of Gte is larger than a - specified Lt or Lte, the range is reversed. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - enable: builtins.bool - """Whether to enable this field, if not, the generated Model will not carry this field""" - default: builtins.float - """The default value corresponding to the field, if not set, - the default value is the default value of the corresponding type of the field - """ - default_factory: builtins.str - """The default value factory function corresponding to the field, supports template variables, - such as `p2p@import|uuid|uuid4` - """ - miss_default: builtins.bool - """Set field required""" - alias: builtins.str - """Set the alias of the field in the pydantic.Base Model""" - description: builtins.str - """Set the description of the field""" - multiple_of: builtins.float - """Corresponding multiple validation of the set value""" - example: builtins.float - """Set the corresponding sample value""" - example_factory: builtins.str - """Set the corresponding sample value factory function, support template variables""" - field: builtins.str - """Set the Field object corresponding to the field, support template variables""" - type: builtins.str - """Set the type object corresponding to the field, support template variables""" - title: builtins.str - """The title corresponding to the field""" - extra: builtins.str - """Field's custom extension parameter in the format Json""" - def __init__( - self, - *, - const: builtins.int | None = ..., - lt: builtins.int | None = ..., - le: builtins.int | None = ..., - gt: builtins.int | None = ..., - ge: builtins.int | None = ..., - not_in: collections.abc.Iterable[builtins.int] | None = ..., - enable: builtins.bool | None = ..., - default: builtins.float = ..., - default_factory: builtins.str = ..., - miss_default: builtins.bool = ..., - alias: builtins.str | None = ..., - description: builtins.str | None = ..., - multiple_of: builtins.float | None = ..., - example: builtins.float = ..., - example_factory: builtins.str = ..., - field: builtins.str | None = ..., - type: builtins.str | None = ..., - title: builtins.str | None = ..., - extra: builtins.str | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_le", - b"_le", - "_lt", - b"_lt", - "_multiple_of", - b"_multiple_of", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "le", - b"le", - "lt", - b"lt", - "miss_default", - b"miss_default", - "multiple_of", - b"multiple_of", - "title", - b"title", - "type", - b"type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_le", - b"_le", - "_lt", - b"_lt", - "_multiple_of", - b"_multiple_of", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "in", - b"in", - "le", - b"le", - "lt", - b"lt", - "miss_default", - b"miss_default", - "multiple_of", - b"multiple_of", - "not_in", - b"not_in", - "title", - b"title", - "type", - b"type", - ], - ) -> None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_alias", b"_alias"] - ) -> typing_extensions.Literal["alias"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_const", b"_const"] - ) -> typing_extensions.Literal["const"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_description", b"_description"] - ) -> typing_extensions.Literal["description"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_enable", b"_enable"] - ) -> typing_extensions.Literal["enable"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_extra", b"_extra"] - ) -> typing_extensions.Literal["extra"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_field", b"_field"] - ) -> typing_extensions.Literal["field"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_ge", b"_ge"] - ) -> typing_extensions.Literal["ge"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_gt", b"_gt"] - ) -> typing_extensions.Literal["gt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_le", b"_le"] - ) -> typing_extensions.Literal["le"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_lt", b"_lt"] - ) -> typing_extensions.Literal["lt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_multiple_of", b"_multiple_of"] - ) -> typing_extensions.Literal["multiple_of"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_title", b"_title"] - ) -> typing_extensions.Literal["title"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_type", b"_type"] - ) -> typing_extensions.Literal["type"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["default_config", b"default_config"] - ) -> typing_extensions.Literal["default", "default_factory", "miss_default"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["example_config", b"example_config"] - ) -> typing_extensions.Literal["example", "example_factory"] | None: ... - -global___SFixed32Rules = SFixed32Rules - -class SFixed64Rules(google.protobuf.message.Message): - """SFixed64Rules describes the constraints applied to `sfixed64` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GE_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - ENABLE_FIELD_NUMBER: builtins.int - DEFAULT_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_FIELD_NUMBER: builtins.int - MISS_DEFAULT_FIELD_NUMBER: builtins.int - ALIAS_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - MULTIPLE_OF_FIELD_NUMBER: builtins.int - EXAMPLE_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - TITLE_FIELD_NUMBER: builtins.int - EXTRA_FIELD_NUMBER: builtins.int - const: builtins.int - """Const specifies that this field must be exactly the specified value""" - lt: builtins.int - """Lt specifies that this field must be less than the specified value, - exclusive - """ - le: builtins.int - """Lte specifies that this field must be less than or equal to the - specified value, inclusive - """ - gt: builtins.int - """Gt specifies that this field must be greater than the specified value, - exclusive. If the value of Gt is larger than a specified Lt or Lte, the - range is reversed. - """ - ge: builtins.int - """Gte specifies that this field must be greater than or equal to the - specified value, inclusive. If the value of Gte is larger than a - specified Lt or Lte, the range is reversed. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - enable: builtins.bool - """Whether to enable this field, if not, the generated Model will not carry this field""" - default: builtins.float - """The default value corresponding to the field, if not set, - the default value is the default value of the corresponding type of the field - """ - default_factory: builtins.str - """The default value factory function corresponding to the field, supports template variables, - such as `p2p@import|uuid|uuid4` - """ - miss_default: builtins.bool - """Set field required""" - alias: builtins.str - """Set the alias of the field in the pydantic.Base Model""" - description: builtins.str - """Set the description of the field""" - multiple_of: builtins.float - """Corresponding multiple validation of the set value""" - example: builtins.float - """Set the corresponding sample value""" - example_factory: builtins.str - """Set the corresponding sample value factory function, support template variables""" - field: builtins.str - """Set the Field object corresponding to the field, support template variables""" - type: builtins.str - """Set the type object corresponding to the field, support template variables""" - title: builtins.str - """The title corresponding to the field""" - extra: builtins.str - """Field's custom extension parameter in the format Json""" - def __init__( - self, - *, - const: builtins.int | None = ..., - lt: builtins.int | None = ..., - le: builtins.int | None = ..., - gt: builtins.int | None = ..., - ge: builtins.int | None = ..., - not_in: collections.abc.Iterable[builtins.int] | None = ..., - enable: builtins.bool | None = ..., - default: builtins.float = ..., - default_factory: builtins.str = ..., - miss_default: builtins.bool = ..., - alias: builtins.str | None = ..., - description: builtins.str | None = ..., - multiple_of: builtins.float | None = ..., - example: builtins.float = ..., - example_factory: builtins.str = ..., - field: builtins.str | None = ..., - type: builtins.str | None = ..., - title: builtins.str | None = ..., - extra: builtins.str | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_le", - b"_le", - "_lt", - b"_lt", - "_multiple_of", - b"_multiple_of", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "le", - b"le", - "lt", - b"lt", - "miss_default", - b"miss_default", - "multiple_of", - b"multiple_of", - "title", - b"title", - "type", - b"type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_le", - b"_le", - "_lt", - b"_lt", - "_multiple_of", - b"_multiple_of", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "in", - b"in", - "le", - b"le", - "lt", - b"lt", - "miss_default", - b"miss_default", - "multiple_of", - b"multiple_of", - "not_in", - b"not_in", - "title", - b"title", - "type", - b"type", - ], - ) -> None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_alias", b"_alias"] - ) -> typing_extensions.Literal["alias"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_const", b"_const"] - ) -> typing_extensions.Literal["const"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_description", b"_description"] - ) -> typing_extensions.Literal["description"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_enable", b"_enable"] - ) -> typing_extensions.Literal["enable"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_extra", b"_extra"] - ) -> typing_extensions.Literal["extra"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_field", b"_field"] - ) -> typing_extensions.Literal["field"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_ge", b"_ge"] - ) -> typing_extensions.Literal["ge"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_gt", b"_gt"] - ) -> typing_extensions.Literal["gt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_le", b"_le"] - ) -> typing_extensions.Literal["le"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_lt", b"_lt"] - ) -> typing_extensions.Literal["lt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_multiple_of", b"_multiple_of"] - ) -> typing_extensions.Literal["multiple_of"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_title", b"_title"] - ) -> typing_extensions.Literal["title"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_type", b"_type"] - ) -> typing_extensions.Literal["type"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["default_config", b"default_config"] - ) -> typing_extensions.Literal["default", "default_factory", "miss_default"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["example_config", b"example_config"] - ) -> typing_extensions.Literal["example", "example_factory"] | None: ... - -global___SFixed64Rules = SFixed64Rules - -class BoolRules(google.protobuf.message.Message): - """BoolRules describes the constraints applied to `bool` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - ENABLE_FIELD_NUMBER: builtins.int - DEFAULT_FIELD_NUMBER: builtins.int - MISS_DEFAULT_FIELD_NUMBER: builtins.int - ALIAS_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - EXAMPLE_FIELD_NUMBER: builtins.int - FIELD_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - TITLE_FIELD_NUMBER: builtins.int - EXTRA_FIELD_NUMBER: builtins.int - const: builtins.bool - """Const specifies that this field must be exactly the specified value""" - enable: builtins.bool - """Whether to enable this field, if not, the generated Model will not carry this field""" - default: builtins.bool - """The default value corresponding to the field, if not set, - the default value is the default value of the corresponding type of the field - """ - miss_default: builtins.bool - """Set field required""" - alias: builtins.str - """Set the alias of the field in the pydantic.Base Model""" - description: builtins.str - """Set the description of the field""" - example: builtins.bool - """Set the corresponding sample value""" - field: builtins.str - """Set the Field object corresponding to the field, support template variables""" - type: builtins.str - """Set the type object corresponding to the field, support template variables""" - title: builtins.str - """The title corresponding to the field""" - extra: builtins.str - """Field's custom extension parameter in the format Json""" - def __init__( - self, - *, - const: builtins.bool | None = ..., - enable: builtins.bool | None = ..., - default: builtins.bool = ..., - miss_default: builtins.bool = ..., - alias: builtins.str | None = ..., - description: builtins.str | None = ..., - example: builtins.bool | None = ..., - field: builtins.str | None = ..., - type: builtins.str | None = ..., - title: builtins.str | None = ..., - extra: builtins.str | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_example", - b"_example", - "_extra", - b"_extra", - "_field", - b"_field", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "extra", - b"extra", - "field", - b"field", - "miss_default", - b"miss_default", - "title", - b"title", - "type", - b"type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_example", - b"_example", - "_extra", - b"_extra", - "_field", - b"_field", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "extra", - b"extra", - "field", - b"field", - "miss_default", - b"miss_default", - "title", - b"title", - "type", - b"type", - ], - ) -> None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_alias", b"_alias"] - ) -> typing_extensions.Literal["alias"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_const", b"_const"] - ) -> typing_extensions.Literal["const"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_description", b"_description"] - ) -> typing_extensions.Literal["description"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_enable", b"_enable"] - ) -> typing_extensions.Literal["enable"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_example", b"_example"] - ) -> typing_extensions.Literal["example"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_extra", b"_extra"] - ) -> typing_extensions.Literal["extra"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_field", b"_field"] - ) -> typing_extensions.Literal["field"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_title", b"_title"] - ) -> typing_extensions.Literal["title"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_type", b"_type"] - ) -> typing_extensions.Literal["type"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["default_config", b"default_config"] - ) -> typing_extensions.Literal["default", "miss_default"] | None: ... - -global___BoolRules = BoolRules - -class StringRules(google.protobuf.message.Message): - """StringRules describe the constraints applied to `string` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LEN_FIELD_NUMBER: builtins.int - MIN_LENGTH_FIELD_NUMBER: builtins.int - MAX_LENGTH_FIELD_NUMBER: builtins.int - PATTERN_FIELD_NUMBER: builtins.int - PREFIX_FIELD_NUMBER: builtins.int - SUFFIX_FIELD_NUMBER: builtins.int - CONTAINS_FIELD_NUMBER: builtins.int - NOT_CONTAINS_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - EMAIL_FIELD_NUMBER: builtins.int - HOSTNAME_FIELD_NUMBER: builtins.int - IP_FIELD_NUMBER: builtins.int - IPV4_FIELD_NUMBER: builtins.int - IPV6_FIELD_NUMBER: builtins.int - URI_FIELD_NUMBER: builtins.int - URI_REF_FIELD_NUMBER: builtins.int - ADDRESS_FIELD_NUMBER: builtins.int - UUID_FIELD_NUMBER: builtins.int - PYDANTIC_TYPE_FIELD_NUMBER: builtins.int - ENABLE_FIELD_NUMBER: builtins.int - DEFAULT_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_FIELD_NUMBER: builtins.int - MISS_DEFAULT_FIELD_NUMBER: builtins.int - ALIAS_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - EXAMPLE_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - TITLE_FIELD_NUMBER: builtins.int - EXTRA_FIELD_NUMBER: builtins.int - const: builtins.str - """Const specifies that this field must be exactly the specified value""" - len: builtins.int - """Len specifies that this field must be the specified number of - characters (Unicode code points). Note that the number of - characters may differ from the number of bytes in the string. - """ - min_length: builtins.int - """MinLen specifies that this field must be the specified number of - characters (Unicode code points) at a minimum. Note that the number of - characters may differ from the number of bytes in the string. - """ - max_length: builtins.int - """MaxLen specifies that this field must be the specified number of - characters (Unicode code points) at a maximum. Note that the number of - characters may differ from the number of bytes in the string. - """ - pattern: builtins.str - """Pattern specifes that this field must match against the specified - regular expression (RE2 syntax). The included expression should elide - any delimiters. - """ - prefix: builtins.str - """Prefix specifies that this field must have the specified substring at - the beginning of the string. - """ - suffix: builtins.str - """Suffix specifies that this field must have the specified substring at - the end of the string. - """ - contains: builtins.str - """Contains specifies that this field must have the specified substring - anywhere in the string. - """ - not_contains: builtins.str - """NotContains specifies that this field cannot have the specified substring - anywhere in the string. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - email: builtins.bool - """Email specifies that the field must be a valid email address as - defined by RFC 5322 - """ - hostname: builtins.bool - """Hostname specifies that the field must be a valid hostname as - defined by RFC 1034. This constraint does not support - internationalized domain names (IDNs). - """ - ip: builtins.bool - """Ip specifies that the field must be a valid IP (v4 or v6) address. - Valid IPv6 addresses should not include surrounding square brackets. - """ - ipv4: builtins.bool - """Ipv4 specifies that the field must be a valid IPv4 address.""" - ipv6: builtins.bool - """Ipv6 specifies that the field must be a valid IPv6 address. Valid - IPv6 addresses should not include surrounding square brackets. - """ - uri: builtins.bool - """Uri specifies that the field must be a valid, absolute URI as defined - by RFC 3986 - """ - uri_ref: builtins.bool - """UriRef specifies that the field must be a valid URI as defined by RFC - 3986 and may be relative or absolute. - """ - address: builtins.bool - """Address specifies that the field must be either a valid hostname as - defined by RFC 1034 (which does not support internationalized domain - names or IDNs), or it can be a valid IP (v4 or v6). - """ - uuid: builtins.bool - """Uuid specifies that the field must be a valid UUID as defined by - RFC 4122 - """ - pydantic_type: builtins.str - """If you want to use the property of pydantic.type, you can directly - set the value to the string of the corresponding property, - and then the program will automatically introduce the type of the corresponding string - """ - enable: builtins.bool - """Whether to enable this field, if not, the generated Model will not carry this field""" - default: builtins.str - """The default value corresponding to the field, if not set, - the default value is the default value of the corresponding type of the field - """ - default_factory: builtins.str - """The default value factory function corresponding to the field, supports template variables, - such as `p2p@import|uuid|uuid4` - """ - miss_default: builtins.bool - """Set field required""" - alias: builtins.str - """Set the alias of the field in the pydantic.Base Model""" - description: builtins.str - """Set the description of the field""" - example: builtins.str - """Set the corresponding sample value""" - example_factory: builtins.str - """Set the corresponding sample value factory function, support template variables""" - field: builtins.str - """Set the Field object corresponding to the field, support template variables""" - type: builtins.str - """Set the type object corresponding to the field, support template variables""" - title: builtins.str - """The title corresponding to the field""" - extra: builtins.str - """Field's custom extension parameter in the format Json""" - def __init__( - self, - *, - const: builtins.str | None = ..., - len: builtins.int | None = ..., - min_length: builtins.int | None = ..., - max_length: builtins.int | None = ..., - pattern: builtins.str | None = ..., - prefix: builtins.str | None = ..., - suffix: builtins.str | None = ..., - contains: builtins.str | None = ..., - not_contains: builtins.str | None = ..., - not_in: collections.abc.Iterable[builtins.str] | None = ..., - email: builtins.bool = ..., - hostname: builtins.bool = ..., - ip: builtins.bool = ..., - ipv4: builtins.bool = ..., - ipv6: builtins.bool = ..., - uri: builtins.bool = ..., - uri_ref: builtins.bool = ..., - address: builtins.bool = ..., - uuid: builtins.bool = ..., - pydantic_type: builtins.str = ..., - enable: builtins.bool | None = ..., - default: builtins.str = ..., - default_factory: builtins.str = ..., - miss_default: builtins.bool = ..., - alias: builtins.str | None = ..., - description: builtins.str | None = ..., - example: builtins.str = ..., - example_factory: builtins.str = ..., - field: builtins.str | None = ..., - type: builtins.str | None = ..., - title: builtins.str | None = ..., - extra: builtins.str | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_contains", - b"_contains", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_len", - b"_len", - "_max_length", - b"_max_length", - "_min_length", - b"_min_length", - "_not_contains", - b"_not_contains", - "_pattern", - b"_pattern", - "_prefix", - b"_prefix", - "_suffix", - b"_suffix", - "_title", - b"_title", - "_type", - b"_type", - "address", - b"address", - "alias", - b"alias", - "const", - b"const", - "contains", - b"contains", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "email", - b"email", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "hostname", - b"hostname", - "ip", - b"ip", - "ipv4", - b"ipv4", - "ipv6", - b"ipv6", - "len", - b"len", - "max_length", - b"max_length", - "min_length", - b"min_length", - "miss_default", - b"miss_default", - "not_contains", - b"not_contains", - "pattern", - b"pattern", - "prefix", - b"prefix", - "pydantic_type", - b"pydantic_type", - "suffix", - b"suffix", - "title", - b"title", - "type", - b"type", - "uri", - b"uri", - "uri_ref", - b"uri_ref", - "uuid", - b"uuid", - "well_known", - b"well_known", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_contains", - b"_contains", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_len", - b"_len", - "_max_length", - b"_max_length", - "_min_length", - b"_min_length", - "_not_contains", - b"_not_contains", - "_pattern", - b"_pattern", - "_prefix", - b"_prefix", - "_suffix", - b"_suffix", - "_title", - b"_title", - "_type", - b"_type", - "address", - b"address", - "alias", - b"alias", - "const", - b"const", - "contains", - b"contains", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "email", - b"email", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "hostname", - b"hostname", - "in", - b"in", - "ip", - b"ip", - "ipv4", - b"ipv4", - "ipv6", - b"ipv6", - "len", - b"len", - "max_length", - b"max_length", - "min_length", - b"min_length", - "miss_default", - b"miss_default", - "not_contains", - b"not_contains", - "not_in", - b"not_in", - "pattern", - b"pattern", - "prefix", - b"prefix", - "pydantic_type", - b"pydantic_type", - "suffix", - b"suffix", - "title", - b"title", - "type", - b"type", - "uri", - b"uri", - "uri_ref", - b"uri_ref", - "uuid", - b"uuid", - "well_known", - b"well_known", - ], - ) -> None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_alias", b"_alias"] - ) -> typing_extensions.Literal["alias"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_const", b"_const"] - ) -> typing_extensions.Literal["const"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_contains", b"_contains"] - ) -> typing_extensions.Literal["contains"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_description", b"_description"] - ) -> typing_extensions.Literal["description"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_enable", b"_enable"] - ) -> typing_extensions.Literal["enable"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_extra", b"_extra"] - ) -> typing_extensions.Literal["extra"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_field", b"_field"] - ) -> typing_extensions.Literal["field"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_len", b"_len"] - ) -> typing_extensions.Literal["len"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_max_length", b"_max_length"] - ) -> typing_extensions.Literal["max_length"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_min_length", b"_min_length"] - ) -> typing_extensions.Literal["min_length"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_not_contains", b"_not_contains"] - ) -> typing_extensions.Literal["not_contains"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_pattern", b"_pattern"] - ) -> typing_extensions.Literal["pattern"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_prefix", b"_prefix"] - ) -> typing_extensions.Literal["prefix"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_suffix", b"_suffix"] - ) -> typing_extensions.Literal["suffix"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_title", b"_title"] - ) -> typing_extensions.Literal["title"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_type", b"_type"] - ) -> typing_extensions.Literal["type"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["default_config", b"default_config"] - ) -> typing_extensions.Literal["default", "default_factory", "miss_default"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["example_config", b"example_config"] - ) -> typing_extensions.Literal["example", "example_factory"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["well_known", b"well_known"] - ) -> ( - typing_extensions.Literal[ - "email", "hostname", "ip", "ipv4", "ipv6", "uri", "uri_ref", "address", "uuid", "pydantic_type" - ] - | None - ): ... - -global___StringRules = StringRules - -class BytesRules(google.protobuf.message.Message): - """BytesRules describe the constraints applied to `bytes` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - MIN_LENGTH_FIELD_NUMBER: builtins.int - MAX_LENGTH_FIELD_NUMBER: builtins.int - PREFIX_FIELD_NUMBER: builtins.int - SUFFIX_FIELD_NUMBER: builtins.int - CONTAINS_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - ENABLE_FIELD_NUMBER: builtins.int - DEFAULT_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_FIELD_NUMBER: builtins.int - MISS_DEFAULT_FIELD_NUMBER: builtins.int - ALIAS_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - MULTIPLE_OF_FIELD_NUMBER: builtins.int - EXAMPLE_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - IP_FIELD_NUMBER: builtins.int - IPV4_FIELD_NUMBER: builtins.int - IPV6_FIELD_NUMBER: builtins.int - TITLE_FIELD_NUMBER: builtins.int - EXTRA_FIELD_NUMBER: builtins.int - const: builtins.bytes - """Const specifies that this field must be exactly the specified value""" - min_length: builtins.int - """MinLen specifies that this field must be the specified number of bytes - at a minimum - """ - max_length: builtins.int - """MaxLen specifies that this field must be the specified number of bytes - at a maximum - """ - prefix: builtins.bytes - """Prefix specifies that this field must have the specified bytes at the - beginning of the string. - """ - suffix: builtins.bytes - """Suffix specifies that this field must have the specified bytes at the - end of the string. - """ - contains: builtins.bytes - """Contains specifies that this field must have the specified bytes - anywhere in the string. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - enable: builtins.bool - """Whether to enable this field, if not, the generated Model will not carry this field""" - default: builtins.bytes - """The default value corresponding to the field, if not set, - the default value is the default value of the corresponding type of the field - """ - default_factory: builtins.str - """The default value factory function corresponding to the field, supports template variables, - such as `p2p@import|uuid|uuid4` - """ - miss_default: builtins.bool - """Set field required""" - alias: builtins.str - """Set the alias of the field in the pydantic.Base Model""" - description: builtins.str - """Set the description of the field""" - multiple_of: builtins.float - """Corresponding multiple validation of the set value""" - example: builtins.bytes - """Set the corresponding sample value""" - example_factory: builtins.str - """Set the corresponding sample value factory function, support template variables""" - field: builtins.str - """Set the Field object corresponding to the field, support template variables""" - type: builtins.str - """Set the type object corresponding to the field, support template variables""" - ip: builtins.bool - """Ip specifies that the field must be a valid IP (v4 or v6) address in - byte format - """ - ipv4: builtins.bool - """Ipv4 specifies that the field must be a valid IPv4 address in byte - format - """ - ipv6: builtins.bool - """Ipv6 specifies that the field must be a valid IPv6 address in byte - format - """ - title: builtins.str - """The title corresponding to the field""" - extra: builtins.str - """Field's custom extension parameter in the format Json""" - def __init__( - self, - *, - const: builtins.bytes | None = ..., - min_length: builtins.int | None = ..., - max_length: builtins.int | None = ..., - prefix: builtins.bytes | None = ..., - suffix: builtins.bytes | None = ..., - contains: builtins.bytes | None = ..., - not_in: collections.abc.Iterable[builtins.bytes] | None = ..., - enable: builtins.bool | None = ..., - default: builtins.bytes = ..., - default_factory: builtins.str = ..., - miss_default: builtins.bool = ..., - alias: builtins.str | None = ..., - description: builtins.str | None = ..., - multiple_of: builtins.float | None = ..., - example: builtins.bytes = ..., - example_factory: builtins.str = ..., - field: builtins.str | None = ..., - type: builtins.str | None = ..., - ip: builtins.bool = ..., - ipv4: builtins.bool = ..., - ipv6: builtins.bool = ..., - title: builtins.str | None = ..., - extra: builtins.str | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_contains", - b"_contains", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_max_length", - b"_max_length", - "_min_length", - b"_min_length", - "_multiple_of", - b"_multiple_of", - "_prefix", - b"_prefix", - "_suffix", - b"_suffix", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "contains", - b"contains", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ip", - b"ip", - "ipv4", - b"ipv4", - "ipv6", - b"ipv6", - "max_length", - b"max_length", - "min_length", - b"min_length", - "miss_default", - b"miss_default", - "multiple_of", - b"multiple_of", - "prefix", - b"prefix", - "suffix", - b"suffix", - "title", - b"title", - "type", - b"type", - "well_known", - b"well_known", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_contains", - b"_contains", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_max_length", - b"_max_length", - "_min_length", - b"_min_length", - "_multiple_of", - b"_multiple_of", - "_prefix", - b"_prefix", - "_suffix", - b"_suffix", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "contains", - b"contains", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "in", - b"in", - "ip", - b"ip", - "ipv4", - b"ipv4", - "ipv6", - b"ipv6", - "max_length", - b"max_length", - "min_length", - b"min_length", - "miss_default", - b"miss_default", - "multiple_of", - b"multiple_of", - "not_in", - b"not_in", - "prefix", - b"prefix", - "suffix", - b"suffix", - "title", - b"title", - "type", - b"type", - "well_known", - b"well_known", - ], - ) -> None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_alias", b"_alias"] - ) -> typing_extensions.Literal["alias"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_const", b"_const"] - ) -> typing_extensions.Literal["const"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_contains", b"_contains"] - ) -> typing_extensions.Literal["contains"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_description", b"_description"] - ) -> typing_extensions.Literal["description"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_enable", b"_enable"] - ) -> typing_extensions.Literal["enable"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_extra", b"_extra"] - ) -> typing_extensions.Literal["extra"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_field", b"_field"] - ) -> typing_extensions.Literal["field"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_max_length", b"_max_length"] - ) -> typing_extensions.Literal["max_length"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_min_length", b"_min_length"] - ) -> typing_extensions.Literal["min_length"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_multiple_of", b"_multiple_of"] - ) -> typing_extensions.Literal["multiple_of"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_prefix", b"_prefix"] - ) -> typing_extensions.Literal["prefix"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_suffix", b"_suffix"] - ) -> typing_extensions.Literal["suffix"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_title", b"_title"] - ) -> typing_extensions.Literal["title"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_type", b"_type"] - ) -> typing_extensions.Literal["type"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["default_config", b"default_config"] - ) -> typing_extensions.Literal["default", "default_factory", "miss_default"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["example_config", b"example_config"] - ) -> typing_extensions.Literal["example", "example_factory"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["well_known", b"well_known"] - ) -> typing_extensions.Literal["ip", "ipv4", "ipv6"] | None: ... - -global___BytesRules = BytesRules - -class EnumRules(google.protobuf.message.Message): - """EnumRules describe the constraints applied to enum values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - ENABLE_FIELD_NUMBER: builtins.int - DEFAULT_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_FIELD_NUMBER: builtins.int - MISS_DEFAULT_FIELD_NUMBER: builtins.int - ALIAS_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - EXAMPLE_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_FIELD_NUMBER: builtins.int - TITLE_FIELD_NUMBER: builtins.int - EXTRA_FIELD_NUMBER: builtins.int - const: builtins.int - """Const specifies that this field must be exactly the specified value""" - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - enable: builtins.bool - """Whether to enable this field, if not, the generated Model will not carry this field""" - default: builtins.int - """The default value corresponding to the field, if not set, - the default value is the default value of the corresponding type of the field - """ - default_factory: builtins.str - """The default value factory function corresponding to the field, supports template variables, - such as `p2p@import|uuid|uuid4` - """ - miss_default: builtins.bool - """Set field required""" - alias: builtins.str - """Set the alias of the field in the pydantic.Base Model""" - description: builtins.str - """Set the description of the field""" - example: builtins.int - """Set the corresponding sample value""" - example_factory: builtins.str - """Set the corresponding sample value factory function, support template variables""" - field: builtins.str - """Set the Field object corresponding to the field, support template variables""" - title: builtins.str - """The title corresponding to the field""" - extra: builtins.str - """Field's custom extension parameter in the format Json""" - def __init__( - self, - *, - const: builtins.int | None = ..., - not_in: collections.abc.Iterable[builtins.int] | None = ..., - enable: builtins.bool | None = ..., - default: builtins.int = ..., - default_factory: builtins.str = ..., - miss_default: builtins.bool = ..., - alias: builtins.str | None = ..., - description: builtins.str | None = ..., - example: builtins.int = ..., - example_factory: builtins.str = ..., - field: builtins.str | None = ..., - title: builtins.str | None = ..., - extra: builtins.str | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_title", - b"_title", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "miss_default", - b"miss_default", - "title", - b"title", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_title", - b"_title", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "in", - b"in", - "miss_default", - b"miss_default", - "not_in", - b"not_in", - "title", - b"title", - ], - ) -> None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_alias", b"_alias"] - ) -> typing_extensions.Literal["alias"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_const", b"_const"] - ) -> typing_extensions.Literal["const"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_description", b"_description"] - ) -> typing_extensions.Literal["description"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_enable", b"_enable"] - ) -> typing_extensions.Literal["enable"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_extra", b"_extra"] - ) -> typing_extensions.Literal["extra"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_field", b"_field"] - ) -> typing_extensions.Literal["field"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_title", b"_title"] - ) -> typing_extensions.Literal["title"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["default_config", b"default_config"] - ) -> typing_extensions.Literal["default", "default_factory", "miss_default"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["example_config", b"example_config"] - ) -> typing_extensions.Literal["example", "example_factory"] | None: ... - -global___EnumRules = EnumRules - -class MessageRules(google.protobuf.message.Message): - """MessageRules describe the constraints applied to embedded message values. - For message-type fields, validation is performed recursively. - """ - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - SKIP_FIELD_NUMBER: builtins.int - REQUIRED_FIELD_NUMBER: builtins.int - ENABLE_FIELD_NUMBER: builtins.int - DEFAULT_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_FIELD_NUMBER: builtins.int - MISS_DEFAULT_FIELD_NUMBER: builtins.int - ALIAS_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - EXAMPLE_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - TITLE_FIELD_NUMBER: builtins.int - EXTRA_FIELD_NUMBER: builtins.int - skip: builtins.bool - """Skip specifies that the validation rules of this field should not be - evaluated - """ - required: builtins.bool - """Required specifies that this field must be set""" - enable: builtins.bool - """Whether to enable this field, if not, the generated Model will not carry this field""" - default: builtins.float - """The default value corresponding to the field, if not set, - the default value is the default value of the corresponding type of the field - """ - default_factory: builtins.str - """The default value factory function corresponding to the field, supports template variables, - such as `p2p@import|uuid|uuid4` - """ - miss_default: builtins.bool - """Set field required""" - alias: builtins.str - """Set the alias of the field in the pydantic.Base Model""" - description: builtins.str - """Set the description of the field""" - example: builtins.float - """Set the corresponding sample value""" - example_factory: builtins.str - """Set the corresponding sample value factory function, support template variables""" - field: builtins.str - """Set the Field object corresponding to the field, support template variables""" - type: builtins.str - """Set the type object corresponding to the field, support template variables""" - title: builtins.str - """The title corresponding to the field""" - extra: builtins.str - """Field's custom extension parameter in the format Json""" - def __init__( - self, - *, - skip: builtins.bool | None = ..., - required: builtins.bool | None = ..., - enable: builtins.bool | None = ..., - default: builtins.float = ..., - default_factory: builtins.str = ..., - miss_default: builtins.bool = ..., - alias: builtins.str | None = ..., - description: builtins.str | None = ..., - example: builtins.float = ..., - example_factory: builtins.str = ..., - field: builtins.str | None = ..., - type: builtins.str | None = ..., - title: builtins.str | None = ..., - extra: builtins.str | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_required", - b"_required", - "_skip", - b"_skip", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "miss_default", - b"miss_default", - "required", - b"required", - "skip", - b"skip", - "title", - b"title", - "type", - b"type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_required", - b"_required", - "_skip", - b"_skip", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "miss_default", - b"miss_default", - "required", - b"required", - "skip", - b"skip", - "title", - b"title", - "type", - b"type", - ], - ) -> None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_alias", b"_alias"] - ) -> typing_extensions.Literal["alias"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_description", b"_description"] - ) -> typing_extensions.Literal["description"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_enable", b"_enable"] - ) -> typing_extensions.Literal["enable"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_extra", b"_extra"] - ) -> typing_extensions.Literal["extra"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_field", b"_field"] - ) -> typing_extensions.Literal["field"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_required", b"_required"] - ) -> typing_extensions.Literal["required"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_skip", b"_skip"] - ) -> typing_extensions.Literal["skip"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_title", b"_title"] - ) -> typing_extensions.Literal["title"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_type", b"_type"] - ) -> typing_extensions.Literal["type"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["default_config", b"default_config"] - ) -> typing_extensions.Literal["default", "default_factory", "miss_default"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["example_config", b"example_config"] - ) -> typing_extensions.Literal["example", "example_factory"] | None: ... - -global___MessageRules = MessageRules - -class RepeatedRules(google.protobuf.message.Message): - """RepeatedRules describe the constraints applied to `repeated` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - MIN_ITEMS_FIELD_NUMBER: builtins.int - MAX_ITEMS_FIELD_NUMBER: builtins.int - UNIQUE_FIELD_NUMBER: builtins.int - ITEMS_FIELD_NUMBER: builtins.int - ENABLE_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_FIELD_NUMBER: builtins.int - MISS_DEFAULT_FIELD_NUMBER: builtins.int - ALIAS_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - TITLE_FIELD_NUMBER: builtins.int - EXTRA_FIELD_NUMBER: builtins.int - min_items: builtins.int - """MinItems specifies that this field must have the specified number of - items at a minimum - """ - max_items: builtins.int - """MaxItems specifies that this field must have the specified number of - items at a maximum - """ - unique: builtins.bool - """Unique specifies that all elements in this field must be unique. This - contraint is only applicable to scalar and enum types (messages are not - supported). - """ - @property - def items(self) -> global___FieldRules: - """Items specifies the contraints to be applied to each item in the field. - Repeated message fields will still execute validation against each item - unless skip is specified here. - """ - enable: builtins.bool - """Whether to enable this field, if not, the generated Model will not carry this field""" - default_factory: builtins.str - """The default value factory function corresponding to the field, supports template variables, - such as `p2p@import|uuid|uuid4` - """ - miss_default: builtins.bool - """Set field required""" - alias: builtins.str - """Set the alias of the field in the pydantic.Base Model""" - description: builtins.str - """Set the description of the field""" - example_factory: builtins.str - """Set the corresponding sample value factory function, support template variables""" - field: builtins.str - """Set the Field object corresponding to the field, support template variables""" - type: builtins.str - """Set the type object corresponding to the field, support template variables""" - title: builtins.str - """The title corresponding to the field""" - extra: builtins.str - """Field's custom extension parameter in the format Json""" - def __init__( - self, - *, - min_items: builtins.int | None = ..., - max_items: builtins.int | None = ..., - unique: builtins.bool | None = ..., - items: global___FieldRules | None = ..., - enable: builtins.bool | None = ..., - default_factory: builtins.str = ..., - miss_default: builtins.bool = ..., - alias: builtins.str | None = ..., - description: builtins.str | None = ..., - example_factory: builtins.str = ..., - field: builtins.str | None = ..., - type: builtins.str | None = ..., - title: builtins.str | None = ..., - extra: builtins.str | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_items", - b"_items", - "_max_items", - b"_max_items", - "_min_items", - b"_min_items", - "_title", - b"_title", - "_type", - b"_type", - "_unique", - b"_unique", - "alias", - b"alias", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "items", - b"items", - "max_items", - b"max_items", - "min_items", - b"min_items", - "miss_default", - b"miss_default", - "title", - b"title", - "type", - b"type", - "unique", - b"unique", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_items", - b"_items", - "_max_items", - b"_max_items", - "_min_items", - b"_min_items", - "_title", - b"_title", - "_type", - b"_type", - "_unique", - b"_unique", - "alias", - b"alias", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "items", - b"items", - "max_items", - b"max_items", - "min_items", - b"min_items", - "miss_default", - b"miss_default", - "title", - b"title", - "type", - b"type", - "unique", - b"unique", - ], - ) -> None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_alias", b"_alias"] - ) -> typing_extensions.Literal["alias"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_description", b"_description"] - ) -> typing_extensions.Literal["description"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_enable", b"_enable"] - ) -> typing_extensions.Literal["enable"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_extra", b"_extra"] - ) -> typing_extensions.Literal["extra"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_field", b"_field"] - ) -> typing_extensions.Literal["field"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_items", b"_items"] - ) -> typing_extensions.Literal["items"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_max_items", b"_max_items"] - ) -> typing_extensions.Literal["max_items"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_min_items", b"_min_items"] - ) -> typing_extensions.Literal["min_items"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_title", b"_title"] - ) -> typing_extensions.Literal["title"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_type", b"_type"] - ) -> typing_extensions.Literal["type"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_unique", b"_unique"] - ) -> typing_extensions.Literal["unique"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["default_config", b"default_config"] - ) -> typing_extensions.Literal["default_factory", "miss_default"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["example_config", b"example_config"] - ) -> typing_extensions.Literal["example_factory"] | None: ... - -global___RepeatedRules = RepeatedRules - -class MapRules(google.protobuf.message.Message): - """MapRules describe the constraints applied to `map` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - MIN_PAIRS_FIELD_NUMBER: builtins.int - MAX_PAIRS_FIELD_NUMBER: builtins.int - KEYS_FIELD_NUMBER: builtins.int - VALUES_FIELD_NUMBER: builtins.int - ENABLE_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_FIELD_NUMBER: builtins.int - MISS_DEFAULT_FIELD_NUMBER: builtins.int - ALIAS_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - TITLE_FIELD_NUMBER: builtins.int - EXTRA_FIELD_NUMBER: builtins.int - min_pairs: builtins.int - """MinPairs specifies that this field must have the specified number of - KVs at a minimum - """ - max_pairs: builtins.int - """MaxPairs specifies that this field must have the specified number of - KVs at a maximum - """ - @property - def keys(self) -> global___FieldRules: - """Keys specifies the constraints to be applied to each key in the field.""" - @property - def values(self) -> global___FieldRules: - """Values specifies the constraints to be applied to the value of each key - in the field. Message values will still have their validations evaluated - unless skip is specified here. - """ - enable: builtins.bool - """Whether to enable this field, if not, the generated Model will not carry this field""" - default_factory: builtins.str - """The default value factory function corresponding to the field, supports template variables, - such as `p2p@import|uuid|uuid4` - """ - miss_default: builtins.bool - """Set field required""" - alias: builtins.str - """Set the alias of the field in the pydantic.Base Model""" - description: builtins.str - """Set the description of the field""" - example_factory: builtins.str - """Set the corresponding sample value factory function, support template variables""" - field: builtins.str - """Set the Field object corresponding to the field, support template variables""" - type: builtins.str - """Set the type object corresponding to the field, support template variables""" - title: builtins.str - """The title corresponding to the field""" - extra: builtins.str - """Field's custom extension parameter in the format Json""" - def __init__( - self, - *, - min_pairs: builtins.int | None = ..., - max_pairs: builtins.int | None = ..., - keys: global___FieldRules | None = ..., - values: global___FieldRules | None = ..., - enable: builtins.bool | None = ..., - default_factory: builtins.str = ..., - miss_default: builtins.bool = ..., - alias: builtins.str | None = ..., - description: builtins.str | None = ..., - example_factory: builtins.str = ..., - field: builtins.str | None = ..., - type: builtins.str | None = ..., - title: builtins.str | None = ..., - extra: builtins.str | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_keys", - b"_keys", - "_max_pairs", - b"_max_pairs", - "_min_pairs", - b"_min_pairs", - "_title", - b"_title", - "_type", - b"_type", - "_values", - b"_values", - "alias", - b"alias", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "keys", - b"keys", - "max_pairs", - b"max_pairs", - "min_pairs", - b"min_pairs", - "miss_default", - b"miss_default", - "title", - b"title", - "type", - b"type", - "values", - b"values", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_keys", - b"_keys", - "_max_pairs", - b"_max_pairs", - "_min_pairs", - b"_min_pairs", - "_title", - b"_title", - "_type", - b"_type", - "_values", - b"_values", - "alias", - b"alias", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "keys", - b"keys", - "max_pairs", - b"max_pairs", - "min_pairs", - b"min_pairs", - "miss_default", - b"miss_default", - "title", - b"title", - "type", - b"type", - "values", - b"values", - ], - ) -> None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_alias", b"_alias"] - ) -> typing_extensions.Literal["alias"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_description", b"_description"] - ) -> typing_extensions.Literal["description"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_enable", b"_enable"] - ) -> typing_extensions.Literal["enable"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_extra", b"_extra"] - ) -> typing_extensions.Literal["extra"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_field", b"_field"] - ) -> typing_extensions.Literal["field"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_keys", b"_keys"] - ) -> typing_extensions.Literal["keys"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_max_pairs", b"_max_pairs"] - ) -> typing_extensions.Literal["max_pairs"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_min_pairs", b"_min_pairs"] - ) -> typing_extensions.Literal["min_pairs"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_title", b"_title"] - ) -> typing_extensions.Literal["title"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_type", b"_type"] - ) -> typing_extensions.Literal["type"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_values", b"_values"] - ) -> typing_extensions.Literal["values"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["default_config", b"default_config"] - ) -> typing_extensions.Literal["default_factory", "miss_default"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["example_config", b"example_config"] - ) -> typing_extensions.Literal["example_factory"] | None: ... - -global___MapRules = MapRules - -class AnyRules(google.protobuf.message.Message): - """AnyRules describe constraints applied exclusively to the - `google.protobuf.Any` well-known type - """ - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - REQUIRED_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - ENABLE_FIELD_NUMBER: builtins.int - DEFAULT_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_FIELD_NUMBER: builtins.int - MISS_DEFAULT_FIELD_NUMBER: builtins.int - ALIAS_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - EXAMPLE_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_FIELD_NUMBER: builtins.int - TITLE_FIELD_NUMBER: builtins.int - EXTRA_FIELD_NUMBER: builtins.int - required: builtins.bool - """Required specifies that this field must be set""" - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: - """NotIn specifies that this field's `type_url` must not be equal to any of - the specified values. - """ - enable: builtins.bool - """Whether to enable this field, if not, the generated Model will not carry this field""" - default: builtins.str - """The default value corresponding to the field, if not set, - the default value is the default value of the corresponding type of the field - """ - default_factory: builtins.str - """The default value factory function corresponding to the field, supports template variables, - such as `p2p@import|uuid|uuid4` - """ - miss_default: builtins.bool - """Set field required""" - alias: builtins.str - """Set the alias of the field in the pydantic.Base Model""" - description: builtins.str - """Set the description of the field""" - example: builtins.str - """Set the corresponding sample value""" - example_factory: builtins.str - """Set the corresponding sample value factory function, support template variables""" - field: builtins.str - """Set the Field object corresponding to the field, support template variables""" - title: builtins.str - """The title corresponding to the field""" - extra: builtins.str - """Field's custom extension parameter in the format Json""" - def __init__( - self, - *, - required: builtins.bool | None = ..., - not_in: collections.abc.Iterable[builtins.str] | None = ..., - enable: builtins.bool | None = ..., - default: builtins.str = ..., - default_factory: builtins.str = ..., - miss_default: builtins.bool = ..., - alias: builtins.str | None = ..., - description: builtins.str | None = ..., - example: builtins.str = ..., - example_factory: builtins.str = ..., - field: builtins.str | None = ..., - title: builtins.str | None = ..., - extra: builtins.str | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_required", - b"_required", - "_title", - b"_title", - "alias", - b"alias", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "miss_default", - b"miss_default", - "required", - b"required", - "title", - b"title", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_required", - b"_required", - "_title", - b"_title", - "alias", - b"alias", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "in", - b"in", - "miss_default", - b"miss_default", - "not_in", - b"not_in", - "required", - b"required", - "title", - b"title", - ], - ) -> None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_alias", b"_alias"] - ) -> typing_extensions.Literal["alias"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_description", b"_description"] - ) -> typing_extensions.Literal["description"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_enable", b"_enable"] - ) -> typing_extensions.Literal["enable"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_extra", b"_extra"] - ) -> typing_extensions.Literal["extra"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_field", b"_field"] - ) -> typing_extensions.Literal["field"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_required", b"_required"] - ) -> typing_extensions.Literal["required"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_title", b"_title"] - ) -> typing_extensions.Literal["title"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["default_config", b"default_config"] - ) -> typing_extensions.Literal["default", "default_factory", "miss_default"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["example_config", b"example_config"] - ) -> typing_extensions.Literal["example", "example_factory"] | None: ... - -global___AnyRules = AnyRules - -class DurationRules(google.protobuf.message.Message): - """DurationRules describe the constraints applied exclusively to the - `google.protobuf.Duration` well-known type - """ - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GE_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - ENABLE_FIELD_NUMBER: builtins.int - DEFAULT_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_FIELD_NUMBER: builtins.int - MISS_DEFAULT_FIELD_NUMBER: builtins.int - ALIAS_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - EXAMPLE_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - TITLE_FIELD_NUMBER: builtins.int - EXTRA_FIELD_NUMBER: builtins.int - @property - def const(self) -> google.protobuf.duration_pb2.Duration: - """Const specifies that this field must be exactly the specified value""" - @property - def lt(self) -> google.protobuf.duration_pb2.Duration: - """Lt specifies that this field must be less than the specified value, - exclusive - """ - @property - def le(self) -> google.protobuf.duration_pb2.Duration: - """Lt specifies that this field must be less than the specified value, - inclusive - """ - @property - def gt(self) -> google.protobuf.duration_pb2.Duration: - """Gt specifies that this field must be greater than the specified value, - exclusive - """ - @property - def ge(self) -> google.protobuf.duration_pb2.Duration: - """Gte specifies that this field must be greater than the specified value, - inclusive - """ - @property - def not_in( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.duration_pb2.Duration]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - enable: builtins.bool - """Whether to enable this field, if not, the generated Model will not carry this field""" - @property - def default(self) -> google.protobuf.duration_pb2.Duration: - """The default value corresponding to the field, if not set, - the default value is the default value of the corresponding type of the field - """ - default_factory: builtins.str - """The default value factory function corresponding to the field, supports template variables, - such as `p2p@import|uuid|uuid4` - """ - miss_default: builtins.bool - """Set field required""" - alias: builtins.str - """Set the alias of the field in the pydantic.Base Model""" - description: builtins.str - """Set the description of the field""" - @property - def example(self) -> google.protobuf.duration_pb2.Duration: - """Set the corresponding sample value""" - example_factory: builtins.str - """Set the corresponding sample value factory function, support template variables""" - field: builtins.str - """Set the Field object corresponding to the field, support template variables""" - type: builtins.str - """Set the type object corresponding to the field, support template variables""" - title: builtins.str - """The title corresponding to the field""" - extra: builtins.str - """Field's custom extension parameter in the format Json""" - def __init__( - self, - *, - const: google.protobuf.duration_pb2.Duration | None = ..., - lt: google.protobuf.duration_pb2.Duration | None = ..., - le: google.protobuf.duration_pb2.Duration | None = ..., - gt: google.protobuf.duration_pb2.Duration | None = ..., - ge: google.protobuf.duration_pb2.Duration | None = ..., - not_in: collections.abc.Iterable[google.protobuf.duration_pb2.Duration] | None = ..., - enable: builtins.bool | None = ..., - default: google.protobuf.duration_pb2.Duration | None = ..., - default_factory: builtins.str = ..., - miss_default: builtins.bool = ..., - alias: builtins.str | None = ..., - description: builtins.str | None = ..., - example: google.protobuf.duration_pb2.Duration | None = ..., - example_factory: builtins.str = ..., - field: builtins.str | None = ..., - type: builtins.str | None = ..., - title: builtins.str | None = ..., - extra: builtins.str | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_le", - b"_le", - "_lt", - b"_lt", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "le", - b"le", - "lt", - b"lt", - "miss_default", - b"miss_default", - "title", - b"title", - "type", - b"type", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_le", - b"_le", - "_lt", - b"_lt", - "_title", - b"_title", - "_type", - b"_type", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "in", - b"in", - "le", - b"le", - "lt", - b"lt", - "miss_default", - b"miss_default", - "not_in", - b"not_in", - "title", - b"title", - "type", - b"type", - ], - ) -> None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_alias", b"_alias"] - ) -> typing_extensions.Literal["alias"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_const", b"_const"] - ) -> typing_extensions.Literal["const"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_description", b"_description"] - ) -> typing_extensions.Literal["description"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_enable", b"_enable"] - ) -> typing_extensions.Literal["enable"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_extra", b"_extra"] - ) -> typing_extensions.Literal["extra"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_field", b"_field"] - ) -> typing_extensions.Literal["field"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_ge", b"_ge"] - ) -> typing_extensions.Literal["ge"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_gt", b"_gt"] - ) -> typing_extensions.Literal["gt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_le", b"_le"] - ) -> typing_extensions.Literal["le"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_lt", b"_lt"] - ) -> typing_extensions.Literal["lt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_title", b"_title"] - ) -> typing_extensions.Literal["title"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_type", b"_type"] - ) -> typing_extensions.Literal["type"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["default_config", b"default_config"] - ) -> typing_extensions.Literal["default", "default_factory", "miss_default"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["example_config", b"example_config"] - ) -> typing_extensions.Literal["example", "example_factory"] | None: ... - -global___DurationRules = DurationRules - -class TimestampRules(google.protobuf.message.Message): - """TimestampRules describe the constraints applied exclusively to the - `google.protobuf.Timestamp` well-known type - """ - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GE_FIELD_NUMBER: builtins.int - LT_NOW_FIELD_NUMBER: builtins.int - GT_NOW_FIELD_NUMBER: builtins.int - WITHIN_FIELD_NUMBER: builtins.int - ENABLE_FIELD_NUMBER: builtins.int - DEFAULT_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_FIELD_NUMBER: builtins.int - MISS_DEFAULT_FIELD_NUMBER: builtins.int - ALIAS_FIELD_NUMBER: builtins.int - DESCRIPTION_FIELD_NUMBER: builtins.int - EXAMPLE_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_FIELD_NUMBER: builtins.int - TYPE_FIELD_NUMBER: builtins.int - TITLE_FIELD_NUMBER: builtins.int - EXTRA_FIELD_NUMBER: builtins.int - @property - def const(self) -> google.protobuf.timestamp_pb2.Timestamp: - """Const specifies that this field must be exactly the specified value""" - @property - def lt(self) -> google.protobuf.timestamp_pb2.Timestamp: - """Lt specifies that this field must be less than the specified value, - exclusive - """ - @property - def le(self) -> google.protobuf.timestamp_pb2.Timestamp: - """Lte specifies that this field must be less than the specified value, - inclusive - """ - @property - def gt(self) -> google.protobuf.timestamp_pb2.Timestamp: - """Gt specifies that this field must be greater than the specified value, - exclusive - """ - @property - def ge(self) -> google.protobuf.timestamp_pb2.Timestamp: - """Gte specifies that this field must be greater than the specified value, - inclusive - """ - lt_now: builtins.bool - """LtNow specifies that this must be less than the current time. LtNow - can only be used with the Within rule. - """ - gt_now: builtins.bool - """GtNow specifies that this must be greater than the current time. GtNow - can only be used with the Within rule. - """ - @property - def within(self) -> google.protobuf.duration_pb2.Duration: - """Within specifies that this field must be within this duration of the - current time. This constraint can be used alone or with the LtNow and - GtNow rules. - """ - enable: builtins.bool - """Whether to enable this field, if not, the generated Model will not carry this field""" - @property - def default(self) -> google.protobuf.timestamp_pb2.Timestamp: - """The default value corresponding to the field, if not set, - the default value is the default value of the corresponding type of the field - """ - default_factory: builtins.str - """The default value factory function corresponding to the field, supports template variables, - such as `p2p@import|uuid|uuid4` - """ - miss_default: builtins.bool - """Set field required""" - alias: builtins.str - """Set the alias of the field in the pydantic.Base Model""" - description: builtins.str - """Set the description of the field""" - @property - def example(self) -> google.protobuf.timestamp_pb2.Timestamp: - """Set the corresponding sample value""" - example_factory: builtins.str - """Set the corresponding sample value factory function, support template variables""" - field: builtins.str - """Set the Field object corresponding to the field, support template variables""" - type: builtins.str - """Set the type object corresponding to the field, support template variables""" - title: builtins.str - """The title corresponding to the field""" - extra: builtins.str - """Field's custom extension parameter in the format Json""" - def __init__( - self, - *, - const: google.protobuf.timestamp_pb2.Timestamp | None = ..., - lt: google.protobuf.timestamp_pb2.Timestamp | None = ..., - le: google.protobuf.timestamp_pb2.Timestamp | None = ..., - gt: google.protobuf.timestamp_pb2.Timestamp | None = ..., - ge: google.protobuf.timestamp_pb2.Timestamp | None = ..., - lt_now: builtins.bool | None = ..., - gt_now: builtins.bool | None = ..., - within: google.protobuf.duration_pb2.Duration | None = ..., - enable: builtins.bool | None = ..., - default: google.protobuf.timestamp_pb2.Timestamp | None = ..., - default_factory: builtins.str = ..., - miss_default: builtins.bool = ..., - alias: builtins.str | None = ..., - description: builtins.str | None = ..., - example: google.protobuf.timestamp_pb2.Timestamp | None = ..., - example_factory: builtins.str = ..., - field: builtins.str | None = ..., - type: builtins.str | None = ..., - title: builtins.str | None = ..., - extra: builtins.str | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_gt_now", - b"_gt_now", - "_le", - b"_le", - "_lt", - b"_lt", - "_lt_now", - b"_lt_now", - "_title", - b"_title", - "_type", - b"_type", - "_within", - b"_within", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "gt_now", - b"gt_now", - "le", - b"le", - "lt", - b"lt", - "lt_now", - b"lt_now", - "miss_default", - b"miss_default", - "title", - b"title", - "type", - b"type", - "within", - b"within", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "_alias", - b"_alias", - "_const", - b"_const", - "_description", - b"_description", - "_enable", - b"_enable", - "_extra", - b"_extra", - "_field", - b"_field", - "_ge", - b"_ge", - "_gt", - b"_gt", - "_gt_now", - b"_gt_now", - "_le", - b"_le", - "_lt", - b"_lt", - "_lt_now", - b"_lt_now", - "_title", - b"_title", - "_type", - b"_type", - "_within", - b"_within", - "alias", - b"alias", - "const", - b"const", - "default", - b"default", - "default_config", - b"default_config", - "default_factory", - b"default_factory", - "description", - b"description", - "enable", - b"enable", - "example", - b"example", - "example_config", - b"example_config", - "example_factory", - b"example_factory", - "extra", - b"extra", - "field", - b"field", - "ge", - b"ge", - "gt", - b"gt", - "gt_now", - b"gt_now", - "le", - b"le", - "lt", - b"lt", - "lt_now", - b"lt_now", - "miss_default", - b"miss_default", - "title", - b"title", - "type", - b"type", - "within", - b"within", - ], - ) -> None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_alias", b"_alias"] - ) -> typing_extensions.Literal["alias"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_const", b"_const"] - ) -> typing_extensions.Literal["const"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_description", b"_description"] - ) -> typing_extensions.Literal["description"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_enable", b"_enable"] - ) -> typing_extensions.Literal["enable"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_extra", b"_extra"] - ) -> typing_extensions.Literal["extra"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_field", b"_field"] - ) -> typing_extensions.Literal["field"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_ge", b"_ge"] - ) -> typing_extensions.Literal["ge"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_gt", b"_gt"] - ) -> typing_extensions.Literal["gt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_gt_now", b"_gt_now"] - ) -> typing_extensions.Literal["gt_now"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_le", b"_le"] - ) -> typing_extensions.Literal["le"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_lt", b"_lt"] - ) -> typing_extensions.Literal["lt"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_lt_now", b"_lt_now"] - ) -> typing_extensions.Literal["lt_now"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_title", b"_title"] - ) -> typing_extensions.Literal["title"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_type", b"_type"] - ) -> typing_extensions.Literal["type"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["_within", b"_within"] - ) -> typing_extensions.Literal["within"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["default_config", b"default_config"] - ) -> typing_extensions.Literal["default", "default_factory", "miss_default"] | None: ... - @typing.overload - def WhichOneof( - self, oneof_group: typing_extensions.Literal["example_config", b"example_config"] - ) -> typing_extensions.Literal["example", "example_factory"] | None: ... - -global___TimestampRules = TimestampRules - -IGNORED_FIELD_NUMBER: builtins.int -REQUIRED_FIELD_NUMBER: builtins.int -RULES_FIELD_NUMBER: builtins.int -ignored: google.protobuf.internal.extension_dict._ExtensionFieldDescriptor[ - google.protobuf.descriptor_pb2.MessageOptions, builtins.bool -] -"""Ignore skips generation of validation methods for this message.""" -required: google.protobuf.internal.extension_dict._ExtensionFieldDescriptor[ - google.protobuf.descriptor_pb2.OneofOptions, builtins.bool -] -"""Required ensures that exactly one the field options in a oneof is set; -validation fails if no fields in the oneof are set. -""" -rules: google.protobuf.internal.extension_dict._ExtensionFieldDescriptor[ - google.protobuf.descriptor_pb2.FieldOptions, global___FieldRules -] -"""Rules specify the validations to be performed on this field. By default, -no validation is performed against a field. -""" diff --git a/example/proto_3_20/example/example_proto/common/p2p_validate_pb2_grpc.py b/example/proto_3_20/example/example_proto/common/p2p_validate_pb2_grpc.py deleted file mode 100644 index 2dd5fd3..0000000 --- a/example/proto_3_20/example/example_proto/common/p2p_validate_pb2_grpc.py +++ /dev/null @@ -1,2 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" diff --git a/example/proto_3_20/example/example_proto/common/p2p_validate_pb2_grpc.pyi b/example/proto_3_20/example/example_proto/common/p2p_validate_pb2_grpc.pyi deleted file mode 100644 index 3c168de..0000000 --- a/example/proto_3_20/example/example_proto/common/p2p_validate_pb2_grpc.pyi +++ /dev/null @@ -1,4 +0,0 @@ -""" -@generated by mypy-protobuf. Do not edit manually! -isort:skip_file -fork from https://github.com/envoyproxy/protoc-gen-validate/blob/main/validate/validate.proto""" diff --git a/example/proto_3_20/example/example_proto/common/single_p2p.py b/example/proto_3_20/example/example_proto/common/single_p2p.py deleted file mode 100644 index f3c56f2..0000000 --- a/example/proto_3_20/example/example_proto/common/single_p2p.py +++ /dev/null @@ -1,18 +0,0 @@ -# This is an automatically generated file, please do not change -# gen by protobuf_to_pydantic[v0.1.7.3](https://github.com/so1n/protobuf_to_pydantic) -from enum import IntEnum - -from google.protobuf.message import Message # type: ignore -from pydantic import BaseModel, Field - - -class DemoEnum(IntEnum): - zero = 0 - one = 1 - two = 3 - - -class DemoMessage(BaseModel): - earth: str = Field(default="") - mercury: str = Field(default="") - mars: str = Field(default="") diff --git a/example/proto_3_20/example/example_proto/common/single_pb2.py b/example/proto_3_20/example/example_proto/common/single_pb2.py deleted file mode 100644 index f8b3ccc..0000000 --- a/example/proto_3_20/example/example_proto/common/single_pb2.py +++ /dev/null @@ -1,164 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: example/example_proto/common/single.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -DESCRIPTOR = _descriptor.FileDescriptor( - name="example/example_proto/common/single.proto", - package="single", - syntax="proto3", - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n)example/example_proto/common/single.proto\x12\x06single";\n\x0b\x44\x65moMessage\x12\r\n\x05\x65\x61rth\x18\x01 \x01(\t\x12\x0f\n\x07mercury\x18\x02 \x01(\t\x12\x0c\n\x04mars\x18\x03 \x01(\t*&\n\x08\x44\x65moEnum\x12\x08\n\x04zero\x10\x00\x12\x07\n\x03one\x10\x01\x12\x07\n\x03two\x10\x03\x62\x06proto3', -) - -_DEMOENUM = _descriptor.EnumDescriptor( - name="DemoEnum", - full_name="single.DemoEnum", - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name="zero", - index=0, - number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="one", - index=1, - number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="two", - index=2, - number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - ], - containing_type=None, - serialized_options=None, - serialized_start=114, - serialized_end=152, -) -_sym_db.RegisterEnumDescriptor(_DEMOENUM) - -DemoEnum = enum_type_wrapper.EnumTypeWrapper(_DEMOENUM) -zero = 0 -one = 1 -two = 3 - - -_DEMOMESSAGE = _descriptor.Descriptor( - name="DemoMessage", - full_name="single.DemoMessage", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="earth", - full_name="single.DemoMessage.earth", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="mercury", - full_name="single.DemoMessage.mercury", - index=1, - number=2, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="mars", - full_name="single.DemoMessage.mars", - index=2, - number=3, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=53, - serialized_end=112, -) - -DESCRIPTOR.message_types_by_name["DemoMessage"] = _DEMOMESSAGE -DESCRIPTOR.enum_types_by_name["DemoEnum"] = _DEMOENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -DemoMessage = _reflection.GeneratedProtocolMessageType( - "DemoMessage", - (_message.Message,), - { - "DESCRIPTOR": _DEMOMESSAGE, - "__module__": "example.example_proto.common.single_pb2" - # @@protoc_insertion_point(class_scope:single.DemoMessage) - }, -) -_sym_db.RegisterMessage(DemoMessage) - - -# @@protoc_insertion_point(module_scope) diff --git a/example/proto_3_20/example/example_proto/common/single_pb2.pyi b/example/proto_3_20/example/example_proto/common/single_pb2.pyi deleted file mode 100644 index b87b08e..0000000 --- a/example/proto_3_20/example/example_proto/common/single_pb2.pyi +++ /dev/null @@ -1,58 +0,0 @@ -""" -@generated by mypy-protobuf. Do not edit manually! -isort:skip_file -""" -import builtins -import google.protobuf.descriptor -import google.protobuf.internal.enum_type_wrapper -import google.protobuf.message -import sys -import typing - -if sys.version_info >= (3, 10): - import typing as typing_extensions -else: - import typing_extensions - -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor - -class _DemoEnum: - ValueType = typing.NewType("ValueType", builtins.int) - V: typing_extensions.TypeAlias = ValueType - -class _DemoEnumEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_DemoEnum.ValueType], builtins.type -): # noqa: F821 - DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - zero: _DemoEnum.ValueType # 0 - one: _DemoEnum.ValueType # 1 - two: _DemoEnum.ValueType # 3 - -class DemoEnum(_DemoEnum, metaclass=_DemoEnumEnumTypeWrapper): ... - -zero: DemoEnum.ValueType # 0 -one: DemoEnum.ValueType # 1 -two: DemoEnum.ValueType # 3 -global___DemoEnum = DemoEnum - -class DemoMessage(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - EARTH_FIELD_NUMBER: builtins.int - MERCURY_FIELD_NUMBER: builtins.int - MARS_FIELD_NUMBER: builtins.int - earth: builtins.str - mercury: builtins.str - mars: builtins.str - def __init__( - self, - *, - earth: builtins.str = ..., - mercury: builtins.str = ..., - mars: builtins.str = ..., - ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["earth", b"earth", "mars", b"mars", "mercury", b"mercury"] - ) -> None: ... - -global___DemoMessage = DemoMessage diff --git a/example/proto_3_20/example/example_proto/common/single_pb2_grpc.py b/example/proto_3_20/example/example_proto/common/single_pb2_grpc.py deleted file mode 100644 index 2dd5fd3..0000000 --- a/example/proto_3_20/example/example_proto/common/single_pb2_grpc.py +++ /dev/null @@ -1,2 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" diff --git a/example/proto_3_20/example/example_proto/common/single_pb2_grpc.pyi b/example/proto_3_20/example/example_proto/common/single_pb2_grpc.pyi deleted file mode 100644 index f3a5a08..0000000 --- a/example/proto_3_20/example/example_proto/common/single_pb2_grpc.pyi +++ /dev/null @@ -1,4 +0,0 @@ -""" -@generated by mypy-protobuf. Do not edit manually! -isort:skip_file -""" diff --git a/example/proto_3_20/example/example_proto/common/validate_pb2.py b/example/proto_3_20/example/example_proto/common/validate_pb2.py deleted file mode 100644 index a5f7af3..0000000 --- a/example/proto_3_20/example/example_proto/common/validate_pb2.py +++ /dev/null @@ -1,4813 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: example/example_proto/common/validate.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - -DESCRIPTOR = _descriptor.FileDescriptor( - name="example/example_proto/common/validate.proto", - package="validate", - syntax="proto2", - serialized_options=b"\n\032io.envoyproxy.pgv.validateZ2github.com/envoyproxy/protoc-gen-validate/validate", - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n+example/example_proto/common/validate.proto\x12\x08validate\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x98\x07\n\nFieldRules\x12\'\n\x07message\x18\x11 \x01(\x0b\x32\x16.validate.MessageRules\x12%\n\x05\x66loat\x18\x01 \x01(\x0b\x32\x14.validate.FloatRulesH\x00\x12\'\n\x06\x64ouble\x18\x02 \x01(\x0b\x32\x15.validate.DoubleRulesH\x00\x12%\n\x05int32\x18\x03 \x01(\x0b\x32\x14.validate.Int32RulesH\x00\x12%\n\x05int64\x18\x04 \x01(\x0b\x32\x14.validate.Int64RulesH\x00\x12\'\n\x06uint32\x18\x05 \x01(\x0b\x32\x15.validate.UInt32RulesH\x00\x12\'\n\x06uint64\x18\x06 \x01(\x0b\x32\x15.validate.UInt64RulesH\x00\x12\'\n\x06sint32\x18\x07 \x01(\x0b\x32\x15.validate.SInt32RulesH\x00\x12\'\n\x06sint64\x18\x08 \x01(\x0b\x32\x15.validate.SInt64RulesH\x00\x12)\n\x07\x66ixed32\x18\t \x01(\x0b\x32\x16.validate.Fixed32RulesH\x00\x12)\n\x07\x66ixed64\x18\n \x01(\x0b\x32\x16.validate.Fixed64RulesH\x00\x12+\n\x08sfixed32\x18\x0b \x01(\x0b\x32\x17.validate.SFixed32RulesH\x00\x12+\n\x08sfixed64\x18\x0c \x01(\x0b\x32\x17.validate.SFixed64RulesH\x00\x12#\n\x04\x62ool\x18\r \x01(\x0b\x32\x13.validate.BoolRulesH\x00\x12\'\n\x06string\x18\x0e \x01(\x0b\x32\x15.validate.StringRulesH\x00\x12%\n\x05\x62ytes\x18\x0f \x01(\x0b\x32\x14.validate.BytesRulesH\x00\x12#\n\x04\x65num\x18\x10 \x01(\x0b\x32\x13.validate.EnumRulesH\x00\x12+\n\x08repeated\x18\x12 \x01(\x0b\x32\x17.validate.RepeatedRulesH\x00\x12!\n\x03map\x18\x13 \x01(\x0b\x32\x12.validate.MapRulesH\x00\x12!\n\x03\x61ny\x18\x14 \x01(\x0b\x32\x12.validate.AnyRulesH\x00\x12+\n\x08\x64uration\x18\x15 \x01(\x0b\x32\x17.validate.DurationRulesH\x00\x12-\n\ttimestamp\x18\x16 \x01(\x0b\x32\x18.validate.TimestampRulesH\x00\x42\x06\n\x04type"\x7f\n\nFloatRules\x12\r\n\x05\x63onst\x18\x01 \x01(\x02\x12\n\n\x02lt\x18\x02 \x01(\x02\x12\x0b\n\x03lte\x18\x03 \x01(\x02\x12\n\n\x02gt\x18\x04 \x01(\x02\x12\x0b\n\x03gte\x18\x05 \x01(\x02\x12\n\n\x02in\x18\x06 \x03(\x02\x12\x0e\n\x06not_in\x18\x07 \x03(\x02\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08"\x80\x01\n\x0b\x44oubleRules\x12\r\n\x05\x63onst\x18\x01 \x01(\x01\x12\n\n\x02lt\x18\x02 \x01(\x01\x12\x0b\n\x03lte\x18\x03 \x01(\x01\x12\n\n\x02gt\x18\x04 \x01(\x01\x12\x0b\n\x03gte\x18\x05 \x01(\x01\x12\n\n\x02in\x18\x06 \x03(\x01\x12\x0e\n\x06not_in\x18\x07 \x03(\x01\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08"\x7f\n\nInt32Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x05\x12\n\n\x02lt\x18\x02 \x01(\x05\x12\x0b\n\x03lte\x18\x03 \x01(\x05\x12\n\n\x02gt\x18\x04 \x01(\x05\x12\x0b\n\x03gte\x18\x05 \x01(\x05\x12\n\n\x02in\x18\x06 \x03(\x05\x12\x0e\n\x06not_in\x18\x07 \x03(\x05\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08"\x7f\n\nInt64Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x03\x12\n\n\x02lt\x18\x02 \x01(\x03\x12\x0b\n\x03lte\x18\x03 \x01(\x03\x12\n\n\x02gt\x18\x04 \x01(\x03\x12\x0b\n\x03gte\x18\x05 \x01(\x03\x12\n\n\x02in\x18\x06 \x03(\x03\x12\x0e\n\x06not_in\x18\x07 \x03(\x03\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08"\x80\x01\n\x0bUInt32Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\r\x12\n\n\x02lt\x18\x02 \x01(\r\x12\x0b\n\x03lte\x18\x03 \x01(\r\x12\n\n\x02gt\x18\x04 \x01(\r\x12\x0b\n\x03gte\x18\x05 \x01(\r\x12\n\n\x02in\x18\x06 \x03(\r\x12\x0e\n\x06not_in\x18\x07 \x03(\r\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08"\x80\x01\n\x0bUInt64Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x04\x12\n\n\x02lt\x18\x02 \x01(\x04\x12\x0b\n\x03lte\x18\x03 \x01(\x04\x12\n\n\x02gt\x18\x04 \x01(\x04\x12\x0b\n\x03gte\x18\x05 \x01(\x04\x12\n\n\x02in\x18\x06 \x03(\x04\x12\x0e\n\x06not_in\x18\x07 \x03(\x04\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08"\x80\x01\n\x0bSInt32Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x11\x12\n\n\x02lt\x18\x02 \x01(\x11\x12\x0b\n\x03lte\x18\x03 \x01(\x11\x12\n\n\x02gt\x18\x04 \x01(\x11\x12\x0b\n\x03gte\x18\x05 \x01(\x11\x12\n\n\x02in\x18\x06 \x03(\x11\x12\x0e\n\x06not_in\x18\x07 \x03(\x11\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08"\x80\x01\n\x0bSInt64Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x12\x12\n\n\x02lt\x18\x02 \x01(\x12\x12\x0b\n\x03lte\x18\x03 \x01(\x12\x12\n\n\x02gt\x18\x04 \x01(\x12\x12\x0b\n\x03gte\x18\x05 \x01(\x12\x12\n\n\x02in\x18\x06 \x03(\x12\x12\x0e\n\x06not_in\x18\x07 \x03(\x12\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08"\x81\x01\n\x0c\x46ixed32Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x07\x12\n\n\x02lt\x18\x02 \x01(\x07\x12\x0b\n\x03lte\x18\x03 \x01(\x07\x12\n\n\x02gt\x18\x04 \x01(\x07\x12\x0b\n\x03gte\x18\x05 \x01(\x07\x12\n\n\x02in\x18\x06 \x03(\x07\x12\x0e\n\x06not_in\x18\x07 \x03(\x07\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08"\x81\x01\n\x0c\x46ixed64Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x06\x12\n\n\x02lt\x18\x02 \x01(\x06\x12\x0b\n\x03lte\x18\x03 \x01(\x06\x12\n\n\x02gt\x18\x04 \x01(\x06\x12\x0b\n\x03gte\x18\x05 \x01(\x06\x12\n\n\x02in\x18\x06 \x03(\x06\x12\x0e\n\x06not_in\x18\x07 \x03(\x06\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08"\x82\x01\n\rSFixed32Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x0f\x12\n\n\x02lt\x18\x02 \x01(\x0f\x12\x0b\n\x03lte\x18\x03 \x01(\x0f\x12\n\n\x02gt\x18\x04 \x01(\x0f\x12\x0b\n\x03gte\x18\x05 \x01(\x0f\x12\n\n\x02in\x18\x06 \x03(\x0f\x12\x0e\n\x06not_in\x18\x07 \x03(\x0f\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08"\x82\x01\n\rSFixed64Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x10\x12\n\n\x02lt\x18\x02 \x01(\x10\x12\x0b\n\x03lte\x18\x03 \x01(\x10\x12\n\n\x02gt\x18\x04 \x01(\x10\x12\x0b\n\x03gte\x18\x05 \x01(\x10\x12\n\n\x02in\x18\x06 \x03(\x10\x12\x0e\n\x06not_in\x18\x07 \x03(\x10\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08"\x1a\n\tBoolRules\x12\r\n\x05\x63onst\x18\x01 \x01(\x08"\xfd\x03\n\x0bStringRules\x12\r\n\x05\x63onst\x18\x01 \x01(\t\x12\x0b\n\x03len\x18\x13 \x01(\x04\x12\x0f\n\x07min_len\x18\x02 \x01(\x04\x12\x0f\n\x07max_len\x18\x03 \x01(\x04\x12\x11\n\tlen_bytes\x18\x14 \x01(\x04\x12\x11\n\tmin_bytes\x18\x04 \x01(\x04\x12\x11\n\tmax_bytes\x18\x05 \x01(\x04\x12\x0f\n\x07pattern\x18\x06 \x01(\t\x12\x0e\n\x06prefix\x18\x07 \x01(\t\x12\x0e\n\x06suffix\x18\x08 \x01(\t\x12\x10\n\x08\x63ontains\x18\t \x01(\t\x12\x14\n\x0cnot_contains\x18\x17 \x01(\t\x12\n\n\x02in\x18\n \x03(\t\x12\x0e\n\x06not_in\x18\x0b \x03(\t\x12\x0f\n\x05\x65mail\x18\x0c \x01(\x08H\x00\x12\x12\n\x08hostname\x18\r \x01(\x08H\x00\x12\x0c\n\x02ip\x18\x0e \x01(\x08H\x00\x12\x0e\n\x04ipv4\x18\x0f \x01(\x08H\x00\x12\x0e\n\x04ipv6\x18\x10 \x01(\x08H\x00\x12\r\n\x03uri\x18\x11 \x01(\x08H\x00\x12\x11\n\x07uri_ref\x18\x12 \x01(\x08H\x00\x12\x11\n\x07\x61\x64\x64ress\x18\x15 \x01(\x08H\x00\x12\x0e\n\x04uuid\x18\x16 \x01(\x08H\x00\x12\x30\n\x10well_known_regex\x18\x18 \x01(\x0e\x32\x14.validate.KnownRegexH\x00\x12\x14\n\x06strict\x18\x19 \x01(\x08:\x04true\x12\x14\n\x0cignore_empty\x18\x1a \x01(\x08\x42\x0c\n\nwell_known"\xfb\x01\n\nBytesRules\x12\r\n\x05\x63onst\x18\x01 \x01(\x0c\x12\x0b\n\x03len\x18\r \x01(\x04\x12\x0f\n\x07min_len\x18\x02 \x01(\x04\x12\x0f\n\x07max_len\x18\x03 \x01(\x04\x12\x0f\n\x07pattern\x18\x04 \x01(\t\x12\x0e\n\x06prefix\x18\x05 \x01(\x0c\x12\x0e\n\x06suffix\x18\x06 \x01(\x0c\x12\x10\n\x08\x63ontains\x18\x07 \x01(\x0c\x12\n\n\x02in\x18\x08 \x03(\x0c\x12\x0e\n\x06not_in\x18\t \x03(\x0c\x12\x0c\n\x02ip\x18\n \x01(\x08H\x00\x12\x0e\n\x04ipv4\x18\x0b \x01(\x08H\x00\x12\x0e\n\x04ipv6\x18\x0c \x01(\x08H\x00\x12\x14\n\x0cignore_empty\x18\x0e \x01(\x08\x42\x0c\n\nwell_known"L\n\tEnumRules\x12\r\n\x05\x63onst\x18\x01 \x01(\x05\x12\x14\n\x0c\x64\x65\x66ined_only\x18\x02 \x01(\x08\x12\n\n\x02in\x18\x03 \x03(\x05\x12\x0e\n\x06not_in\x18\x04 \x03(\x05".\n\x0cMessageRules\x12\x0c\n\x04skip\x18\x01 \x01(\x08\x12\x10\n\x08required\x18\x02 \x01(\x08"\x80\x01\n\rRepeatedRules\x12\x11\n\tmin_items\x18\x01 \x01(\x04\x12\x11\n\tmax_items\x18\x02 \x01(\x04\x12\x0e\n\x06unique\x18\x03 \x01(\x08\x12#\n\x05items\x18\x04 \x01(\x0b\x32\x14.validate.FieldRules\x12\x14\n\x0cignore_empty\x18\x05 \x01(\x08"\xa3\x01\n\x08MapRules\x12\x11\n\tmin_pairs\x18\x01 \x01(\x04\x12\x11\n\tmax_pairs\x18\x02 \x01(\x04\x12\x11\n\tno_sparse\x18\x03 \x01(\x08\x12"\n\x04keys\x18\x04 \x01(\x0b\x32\x14.validate.FieldRules\x12$\n\x06values\x18\x05 \x01(\x0b\x32\x14.validate.FieldRules\x12\x14\n\x0cignore_empty\x18\x06 \x01(\x08"8\n\x08\x41nyRules\x12\x10\n\x08required\x18\x01 \x01(\x08\x12\n\n\x02in\x18\x02 \x03(\t\x12\x0e\n\x06not_in\x18\x03 \x03(\t"\xbb\x02\n\rDurationRules\x12\x10\n\x08required\x18\x01 \x01(\x08\x12(\n\x05\x63onst\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12%\n\x02lt\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12&\n\x03lte\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12%\n\x02gt\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12&\n\x03gte\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12%\n\x02in\x18\x07 \x03(\x0b\x32\x19.google.protobuf.Duration\x12)\n\x06not_in\x18\x08 \x03(\x0b\x32\x19.google.protobuf.Duration"\xba\x02\n\x0eTimestampRules\x12\x10\n\x08required\x18\x01 \x01(\x08\x12)\n\x05\x63onst\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12&\n\x02lt\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\'\n\x03lte\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12&\n\x02gt\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\'\n\x03gte\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06lt_now\x18\x07 \x01(\x08\x12\x0e\n\x06gt_now\x18\x08 \x01(\x08\x12)\n\x06within\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration*F\n\nKnownRegex\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x14\n\x10HTTP_HEADER_NAME\x10\x01\x12\x15\n\x11HTTP_HEADER_VALUE\x10\x02:2\n\x08\x64isabled\x12\x1f.google.protobuf.MessageOptions\x18\xaf\x08 \x01(\x08:1\n\x07ignored\x12\x1f.google.protobuf.MessageOptions\x18\xb0\x08 \x01(\x08:0\n\x08required\x12\x1d.google.protobuf.OneofOptions\x18\xaf\x08 \x01(\x08:C\n\x05rules\x12\x1d.google.protobuf.FieldOptions\x18\xaf\x08 \x01(\x0b\x32\x14.validate.FieldRulesBP\n\x1aio.envoyproxy.pgv.validateZ2github.com/envoyproxy/protoc-gen-validate/validate', - dependencies=[ - google_dot_protobuf_dot_descriptor__pb2.DESCRIPTOR, - google_dot_protobuf_dot_duration__pb2.DESCRIPTOR, - google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR, - ], -) - -_KNOWNREGEX = _descriptor.EnumDescriptor( - name="KnownRegex", - full_name="validate.KnownRegex", - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name="UNKNOWN", - index=0, - number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="HTTP_HEADER_NAME", - index=1, - number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="HTTP_HEADER_VALUE", - index=2, - number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - ], - containing_type=None, - serialized_options=None, - serialized_start=4561, - serialized_end=4631, -) -_sym_db.RegisterEnumDescriptor(_KNOWNREGEX) - -KnownRegex = enum_type_wrapper.EnumTypeWrapper(_KNOWNREGEX) -UNKNOWN = 0 -HTTP_HEADER_NAME = 1 -HTTP_HEADER_VALUE = 2 - -DISABLED_FIELD_NUMBER = 1071 -disabled = _descriptor.FieldDescriptor( - name="disabled", - full_name="validate.disabled", - index=0, - number=1071, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -IGNORED_FIELD_NUMBER = 1072 -ignored = _descriptor.FieldDescriptor( - name="ignored", - full_name="validate.ignored", - index=1, - number=1072, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -REQUIRED_FIELD_NUMBER = 1071 -required = _descriptor.FieldDescriptor( - name="required", - full_name="validate.required", - index=2, - number=1071, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) -RULES_FIELD_NUMBER = 1071 -rules = _descriptor.FieldDescriptor( - name="rules", - full_name="validate.rules", - index=3, - number=1071, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=True, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, -) - - -_FIELDRULES = _descriptor.Descriptor( - name="FieldRules", - full_name="validate.FieldRules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="message", - full_name="validate.FieldRules.message", - index=0, - number=17, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="float", - full_name="validate.FieldRules.float", - index=1, - number=1, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="double", - full_name="validate.FieldRules.double", - index=2, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="int32", - full_name="validate.FieldRules.int32", - index=3, - number=3, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="int64", - full_name="validate.FieldRules.int64", - index=4, - number=4, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="uint32", - full_name="validate.FieldRules.uint32", - index=5, - number=5, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="uint64", - full_name="validate.FieldRules.uint64", - index=6, - number=6, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="sint32", - full_name="validate.FieldRules.sint32", - index=7, - number=7, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="sint64", - full_name="validate.FieldRules.sint64", - index=8, - number=8, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="fixed32", - full_name="validate.FieldRules.fixed32", - index=9, - number=9, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="fixed64", - full_name="validate.FieldRules.fixed64", - index=10, - number=10, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="sfixed32", - full_name="validate.FieldRules.sfixed32", - index=11, - number=11, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="sfixed64", - full_name="validate.FieldRules.sfixed64", - index=12, - number=12, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="bool", - full_name="validate.FieldRules.bool", - index=13, - number=13, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="string", - full_name="validate.FieldRules.string", - index=14, - number=14, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="bytes", - full_name="validate.FieldRules.bytes", - index=15, - number=15, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enum", - full_name="validate.FieldRules.enum", - index=16, - number=16, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="repeated", - full_name="validate.FieldRules.repeated", - index=17, - number=18, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="map", - full_name="validate.FieldRules.map", - index=18, - number=19, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="any", - full_name="validate.FieldRules.any", - index=19, - number=20, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="duration", - full_name="validate.FieldRules.duration", - index=20, - number=21, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="timestamp", - full_name="validate.FieldRules.timestamp", - index=21, - number=22, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto2", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="type", - full_name="validate.FieldRules.type", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=157, - serialized_end=1077, -) - - -_FLOATRULES = _descriptor.Descriptor( - name="FloatRules", - full_name="validate.FloatRules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="validate.FloatRules.const", - index=0, - number=1, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="validate.FloatRules.lt", - index=1, - number=2, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lte", - full_name="validate.FloatRules.lte", - index=2, - number=3, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="validate.FloatRules.gt", - index=3, - number=4, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gte", - full_name="validate.FloatRules.gte", - index=4, - number=5, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="validate.FloatRules.in", - index=5, - number=6, - type=2, - cpp_type=6, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="validate.FloatRules.not_in", - index=6, - number=7, - type=2, - cpp_type=6, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_empty", - full_name="validate.FloatRules.ignore_empty", - index=7, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto2", - extension_ranges=[], - oneofs=[], - serialized_start=1079, - serialized_end=1206, -) - - -_DOUBLERULES = _descriptor.Descriptor( - name="DoubleRules", - full_name="validate.DoubleRules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="validate.DoubleRules.const", - index=0, - number=1, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="validate.DoubleRules.lt", - index=1, - number=2, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lte", - full_name="validate.DoubleRules.lte", - index=2, - number=3, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="validate.DoubleRules.gt", - index=3, - number=4, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gte", - full_name="validate.DoubleRules.gte", - index=4, - number=5, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="validate.DoubleRules.in", - index=5, - number=6, - type=1, - cpp_type=5, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="validate.DoubleRules.not_in", - index=6, - number=7, - type=1, - cpp_type=5, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_empty", - full_name="validate.DoubleRules.ignore_empty", - index=7, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto2", - extension_ranges=[], - oneofs=[], - serialized_start=1209, - serialized_end=1337, -) - - -_INT32RULES = _descriptor.Descriptor( - name="Int32Rules", - full_name="validate.Int32Rules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="validate.Int32Rules.const", - index=0, - number=1, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="validate.Int32Rules.lt", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lte", - full_name="validate.Int32Rules.lte", - index=2, - number=3, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="validate.Int32Rules.gt", - index=3, - number=4, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gte", - full_name="validate.Int32Rules.gte", - index=4, - number=5, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="validate.Int32Rules.in", - index=5, - number=6, - type=5, - cpp_type=1, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="validate.Int32Rules.not_in", - index=6, - number=7, - type=5, - cpp_type=1, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_empty", - full_name="validate.Int32Rules.ignore_empty", - index=7, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto2", - extension_ranges=[], - oneofs=[], - serialized_start=1339, - serialized_end=1466, -) - - -_INT64RULES = _descriptor.Descriptor( - name="Int64Rules", - full_name="validate.Int64Rules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="validate.Int64Rules.const", - index=0, - number=1, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="validate.Int64Rules.lt", - index=1, - number=2, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lte", - full_name="validate.Int64Rules.lte", - index=2, - number=3, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="validate.Int64Rules.gt", - index=3, - number=4, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gte", - full_name="validate.Int64Rules.gte", - index=4, - number=5, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="validate.Int64Rules.in", - index=5, - number=6, - type=3, - cpp_type=2, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="validate.Int64Rules.not_in", - index=6, - number=7, - type=3, - cpp_type=2, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_empty", - full_name="validate.Int64Rules.ignore_empty", - index=7, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto2", - extension_ranges=[], - oneofs=[], - serialized_start=1468, - serialized_end=1595, -) - - -_UINT32RULES = _descriptor.Descriptor( - name="UInt32Rules", - full_name="validate.UInt32Rules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="validate.UInt32Rules.const", - index=0, - number=1, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="validate.UInt32Rules.lt", - index=1, - number=2, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lte", - full_name="validate.UInt32Rules.lte", - index=2, - number=3, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="validate.UInt32Rules.gt", - index=3, - number=4, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gte", - full_name="validate.UInt32Rules.gte", - index=4, - number=5, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="validate.UInt32Rules.in", - index=5, - number=6, - type=13, - cpp_type=3, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="validate.UInt32Rules.not_in", - index=6, - number=7, - type=13, - cpp_type=3, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_empty", - full_name="validate.UInt32Rules.ignore_empty", - index=7, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto2", - extension_ranges=[], - oneofs=[], - serialized_start=1598, - serialized_end=1726, -) - - -_UINT64RULES = _descriptor.Descriptor( - name="UInt64Rules", - full_name="validate.UInt64Rules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="validate.UInt64Rules.const", - index=0, - number=1, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="validate.UInt64Rules.lt", - index=1, - number=2, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lte", - full_name="validate.UInt64Rules.lte", - index=2, - number=3, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="validate.UInt64Rules.gt", - index=3, - number=4, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gte", - full_name="validate.UInt64Rules.gte", - index=4, - number=5, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="validate.UInt64Rules.in", - index=5, - number=6, - type=4, - cpp_type=4, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="validate.UInt64Rules.not_in", - index=6, - number=7, - type=4, - cpp_type=4, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_empty", - full_name="validate.UInt64Rules.ignore_empty", - index=7, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto2", - extension_ranges=[], - oneofs=[], - serialized_start=1729, - serialized_end=1857, -) - - -_SINT32RULES = _descriptor.Descriptor( - name="SInt32Rules", - full_name="validate.SInt32Rules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="validate.SInt32Rules.const", - index=0, - number=1, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="validate.SInt32Rules.lt", - index=1, - number=2, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lte", - full_name="validate.SInt32Rules.lte", - index=2, - number=3, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="validate.SInt32Rules.gt", - index=3, - number=4, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gte", - full_name="validate.SInt32Rules.gte", - index=4, - number=5, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="validate.SInt32Rules.in", - index=5, - number=6, - type=17, - cpp_type=1, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="validate.SInt32Rules.not_in", - index=6, - number=7, - type=17, - cpp_type=1, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_empty", - full_name="validate.SInt32Rules.ignore_empty", - index=7, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto2", - extension_ranges=[], - oneofs=[], - serialized_start=1860, - serialized_end=1988, -) - - -_SINT64RULES = _descriptor.Descriptor( - name="SInt64Rules", - full_name="validate.SInt64Rules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="validate.SInt64Rules.const", - index=0, - number=1, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="validate.SInt64Rules.lt", - index=1, - number=2, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lte", - full_name="validate.SInt64Rules.lte", - index=2, - number=3, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="validate.SInt64Rules.gt", - index=3, - number=4, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gte", - full_name="validate.SInt64Rules.gte", - index=4, - number=5, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="validate.SInt64Rules.in", - index=5, - number=6, - type=18, - cpp_type=2, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="validate.SInt64Rules.not_in", - index=6, - number=7, - type=18, - cpp_type=2, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_empty", - full_name="validate.SInt64Rules.ignore_empty", - index=7, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto2", - extension_ranges=[], - oneofs=[], - serialized_start=1991, - serialized_end=2119, -) - - -_FIXED32RULES = _descriptor.Descriptor( - name="Fixed32Rules", - full_name="validate.Fixed32Rules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="validate.Fixed32Rules.const", - index=0, - number=1, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="validate.Fixed32Rules.lt", - index=1, - number=2, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lte", - full_name="validate.Fixed32Rules.lte", - index=2, - number=3, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="validate.Fixed32Rules.gt", - index=3, - number=4, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gte", - full_name="validate.Fixed32Rules.gte", - index=4, - number=5, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="validate.Fixed32Rules.in", - index=5, - number=6, - type=7, - cpp_type=3, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="validate.Fixed32Rules.not_in", - index=6, - number=7, - type=7, - cpp_type=3, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_empty", - full_name="validate.Fixed32Rules.ignore_empty", - index=7, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto2", - extension_ranges=[], - oneofs=[], - serialized_start=2122, - serialized_end=2251, -) - - -_FIXED64RULES = _descriptor.Descriptor( - name="Fixed64Rules", - full_name="validate.Fixed64Rules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="validate.Fixed64Rules.const", - index=0, - number=1, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="validate.Fixed64Rules.lt", - index=1, - number=2, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lte", - full_name="validate.Fixed64Rules.lte", - index=2, - number=3, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="validate.Fixed64Rules.gt", - index=3, - number=4, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gte", - full_name="validate.Fixed64Rules.gte", - index=4, - number=5, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="validate.Fixed64Rules.in", - index=5, - number=6, - type=6, - cpp_type=4, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="validate.Fixed64Rules.not_in", - index=6, - number=7, - type=6, - cpp_type=4, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_empty", - full_name="validate.Fixed64Rules.ignore_empty", - index=7, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto2", - extension_ranges=[], - oneofs=[], - serialized_start=2254, - serialized_end=2383, -) - - -_SFIXED32RULES = _descriptor.Descriptor( - name="SFixed32Rules", - full_name="validate.SFixed32Rules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="validate.SFixed32Rules.const", - index=0, - number=1, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="validate.SFixed32Rules.lt", - index=1, - number=2, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lte", - full_name="validate.SFixed32Rules.lte", - index=2, - number=3, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="validate.SFixed32Rules.gt", - index=3, - number=4, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gte", - full_name="validate.SFixed32Rules.gte", - index=4, - number=5, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="validate.SFixed32Rules.in", - index=5, - number=6, - type=15, - cpp_type=1, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="validate.SFixed32Rules.not_in", - index=6, - number=7, - type=15, - cpp_type=1, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_empty", - full_name="validate.SFixed32Rules.ignore_empty", - index=7, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto2", - extension_ranges=[], - oneofs=[], - serialized_start=2386, - serialized_end=2516, -) - - -_SFIXED64RULES = _descriptor.Descriptor( - name="SFixed64Rules", - full_name="validate.SFixed64Rules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="validate.SFixed64Rules.const", - index=0, - number=1, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="validate.SFixed64Rules.lt", - index=1, - number=2, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lte", - full_name="validate.SFixed64Rules.lte", - index=2, - number=3, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="validate.SFixed64Rules.gt", - index=3, - number=4, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gte", - full_name="validate.SFixed64Rules.gte", - index=4, - number=5, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="validate.SFixed64Rules.in", - index=5, - number=6, - type=16, - cpp_type=2, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="validate.SFixed64Rules.not_in", - index=6, - number=7, - type=16, - cpp_type=2, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_empty", - full_name="validate.SFixed64Rules.ignore_empty", - index=7, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto2", - extension_ranges=[], - oneofs=[], - serialized_start=2519, - serialized_end=2649, -) - - -_BOOLRULES = _descriptor.Descriptor( - name="BoolRules", - full_name="validate.BoolRules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="validate.BoolRules.const", - index=0, - number=1, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto2", - extension_ranges=[], - oneofs=[], - serialized_start=2651, - serialized_end=2677, -) - - -_STRINGRULES = _descriptor.Descriptor( - name="StringRules", - full_name="validate.StringRules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="validate.StringRules.const", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="len", - full_name="validate.StringRules.len", - index=1, - number=19, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="min_len", - full_name="validate.StringRules.min_len", - index=2, - number=2, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="max_len", - full_name="validate.StringRules.max_len", - index=3, - number=3, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="len_bytes", - full_name="validate.StringRules.len_bytes", - index=4, - number=20, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="min_bytes", - full_name="validate.StringRules.min_bytes", - index=5, - number=4, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="max_bytes", - full_name="validate.StringRules.max_bytes", - index=6, - number=5, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="pattern", - full_name="validate.StringRules.pattern", - index=7, - number=6, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="prefix", - full_name="validate.StringRules.prefix", - index=8, - number=7, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="suffix", - full_name="validate.StringRules.suffix", - index=9, - number=8, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="contains", - full_name="validate.StringRules.contains", - index=10, - number=9, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_contains", - full_name="validate.StringRules.not_contains", - index=11, - number=23, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="validate.StringRules.in", - index=12, - number=10, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="validate.StringRules.not_in", - index=13, - number=11, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="email", - full_name="validate.StringRules.email", - index=14, - number=12, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="hostname", - full_name="validate.StringRules.hostname", - index=15, - number=13, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ip", - full_name="validate.StringRules.ip", - index=16, - number=14, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ipv4", - full_name="validate.StringRules.ipv4", - index=17, - number=15, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ipv6", - full_name="validate.StringRules.ipv6", - index=18, - number=16, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="uri", - full_name="validate.StringRules.uri", - index=19, - number=17, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="uri_ref", - full_name="validate.StringRules.uri_ref", - index=20, - number=18, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="address", - full_name="validate.StringRules.address", - index=21, - number=21, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="uuid", - full_name="validate.StringRules.uuid", - index=22, - number=22, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="well_known_regex", - full_name="validate.StringRules.well_known_regex", - index=23, - number=24, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="strict", - full_name="validate.StringRules.strict", - index=24, - number=25, - type=8, - cpp_type=7, - label=1, - has_default_value=True, - default_value=True, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_empty", - full_name="validate.StringRules.ignore_empty", - index=25, - number=26, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto2", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="well_known", - full_name="validate.StringRules.well_known", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=2680, - serialized_end=3189, -) - - -_BYTESRULES = _descriptor.Descriptor( - name="BytesRules", - full_name="validate.BytesRules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="validate.BytesRules.const", - index=0, - number=1, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="len", - full_name="validate.BytesRules.len", - index=1, - number=13, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="min_len", - full_name="validate.BytesRules.min_len", - index=2, - number=2, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="max_len", - full_name="validate.BytesRules.max_len", - index=3, - number=3, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="pattern", - full_name="validate.BytesRules.pattern", - index=4, - number=4, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="prefix", - full_name="validate.BytesRules.prefix", - index=5, - number=5, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="suffix", - full_name="validate.BytesRules.suffix", - index=6, - number=6, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="contains", - full_name="validate.BytesRules.contains", - index=7, - number=7, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="validate.BytesRules.in", - index=8, - number=8, - type=12, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="validate.BytesRules.not_in", - index=9, - number=9, - type=12, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ip", - full_name="validate.BytesRules.ip", - index=10, - number=10, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ipv4", - full_name="validate.BytesRules.ipv4", - index=11, - number=11, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ipv6", - full_name="validate.BytesRules.ipv6", - index=12, - number=12, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_empty", - full_name="validate.BytesRules.ignore_empty", - index=13, - number=14, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto2", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="well_known", - full_name="validate.BytesRules.well_known", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=3192, - serialized_end=3443, -) - - -_ENUMRULES = _descriptor.Descriptor( - name="EnumRules", - full_name="validate.EnumRules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const", - full_name="validate.EnumRules.const", - index=0, - number=1, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="defined_only", - full_name="validate.EnumRules.defined_only", - index=1, - number=2, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="validate.EnumRules.in", - index=2, - number=3, - type=5, - cpp_type=1, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="validate.EnumRules.not_in", - index=3, - number=4, - type=5, - cpp_type=1, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto2", - extension_ranges=[], - oneofs=[], - serialized_start=3445, - serialized_end=3521, -) - - -_MESSAGERULES = _descriptor.Descriptor( - name="MessageRules", - full_name="validate.MessageRules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="skip", - full_name="validate.MessageRules.skip", - index=0, - number=1, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="required", - full_name="validate.MessageRules.required", - index=1, - number=2, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto2", - extension_ranges=[], - oneofs=[], - serialized_start=3523, - serialized_end=3569, -) - - -_REPEATEDRULES = _descriptor.Descriptor( - name="RepeatedRules", - full_name="validate.RepeatedRules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="min_items", - full_name="validate.RepeatedRules.min_items", - index=0, - number=1, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="max_items", - full_name="validate.RepeatedRules.max_items", - index=1, - number=2, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="unique", - full_name="validate.RepeatedRules.unique", - index=2, - number=3, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="items", - full_name="validate.RepeatedRules.items", - index=3, - number=4, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_empty", - full_name="validate.RepeatedRules.ignore_empty", - index=4, - number=5, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto2", - extension_ranges=[], - oneofs=[], - serialized_start=3572, - serialized_end=3700, -) - - -_MAPRULES = _descriptor.Descriptor( - name="MapRules", - full_name="validate.MapRules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="min_pairs", - full_name="validate.MapRules.min_pairs", - index=0, - number=1, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="max_pairs", - full_name="validate.MapRules.max_pairs", - index=1, - number=2, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="no_sparse", - full_name="validate.MapRules.no_sparse", - index=2, - number=3, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="keys", - full_name="validate.MapRules.keys", - index=3, - number=4, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="values", - full_name="validate.MapRules.values", - index=4, - number=5, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_empty", - full_name="validate.MapRules.ignore_empty", - index=5, - number=6, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto2", - extension_ranges=[], - oneofs=[], - serialized_start=3703, - serialized_end=3866, -) - - -_ANYRULES = _descriptor.Descriptor( - name="AnyRules", - full_name="validate.AnyRules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="required", - full_name="validate.AnyRules.required", - index=0, - number=1, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="validate.AnyRules.in", - index=1, - number=2, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="validate.AnyRules.not_in", - index=2, - number=3, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto2", - extension_ranges=[], - oneofs=[], - serialized_start=3868, - serialized_end=3924, -) - - -_DURATIONRULES = _descriptor.Descriptor( - name="DurationRules", - full_name="validate.DurationRules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="required", - full_name="validate.DurationRules.required", - index=0, - number=1, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="const", - full_name="validate.DurationRules.const", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="validate.DurationRules.lt", - index=2, - number=3, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lte", - full_name="validate.DurationRules.lte", - index=3, - number=4, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="validate.DurationRules.gt", - index=4, - number=5, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gte", - full_name="validate.DurationRules.gte", - index=5, - number=6, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in", - full_name="validate.DurationRules.in", - index=6, - number=7, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in", - full_name="validate.DurationRules.not_in", - index=7, - number=8, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto2", - extension_ranges=[], - oneofs=[], - serialized_start=3927, - serialized_end=4242, -) - - -_TIMESTAMPRULES = _descriptor.Descriptor( - name="TimestampRules", - full_name="validate.TimestampRules", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="required", - full_name="validate.TimestampRules.required", - index=0, - number=1, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="const", - full_name="validate.TimestampRules.const", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt", - full_name="validate.TimestampRules.lt", - index=2, - number=3, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lte", - full_name="validate.TimestampRules.lte", - index=3, - number=4, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt", - full_name="validate.TimestampRules.gt", - index=4, - number=5, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gte", - full_name="validate.TimestampRules.gte", - index=5, - number=6, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt_now", - full_name="validate.TimestampRules.lt_now", - index=6, - number=7, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt_now", - full_name="validate.TimestampRules.gt_now", - index=7, - number=8, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="within", - full_name="validate.TimestampRules.within", - index=8, - number=9, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto2", - extension_ranges=[], - oneofs=[], - serialized_start=4245, - serialized_end=4559, -) - -_FIELDRULES.fields_by_name["message"].message_type = _MESSAGERULES -_FIELDRULES.fields_by_name["float"].message_type = _FLOATRULES -_FIELDRULES.fields_by_name["double"].message_type = _DOUBLERULES -_FIELDRULES.fields_by_name["int32"].message_type = _INT32RULES -_FIELDRULES.fields_by_name["int64"].message_type = _INT64RULES -_FIELDRULES.fields_by_name["uint32"].message_type = _UINT32RULES -_FIELDRULES.fields_by_name["uint64"].message_type = _UINT64RULES -_FIELDRULES.fields_by_name["sint32"].message_type = _SINT32RULES -_FIELDRULES.fields_by_name["sint64"].message_type = _SINT64RULES -_FIELDRULES.fields_by_name["fixed32"].message_type = _FIXED32RULES -_FIELDRULES.fields_by_name["fixed64"].message_type = _FIXED64RULES -_FIELDRULES.fields_by_name["sfixed32"].message_type = _SFIXED32RULES -_FIELDRULES.fields_by_name["sfixed64"].message_type = _SFIXED64RULES -_FIELDRULES.fields_by_name["bool"].message_type = _BOOLRULES -_FIELDRULES.fields_by_name["string"].message_type = _STRINGRULES -_FIELDRULES.fields_by_name["bytes"].message_type = _BYTESRULES -_FIELDRULES.fields_by_name["enum"].message_type = _ENUMRULES -_FIELDRULES.fields_by_name["repeated"].message_type = _REPEATEDRULES -_FIELDRULES.fields_by_name["map"].message_type = _MAPRULES -_FIELDRULES.fields_by_name["any"].message_type = _ANYRULES -_FIELDRULES.fields_by_name["duration"].message_type = _DURATIONRULES -_FIELDRULES.fields_by_name["timestamp"].message_type = _TIMESTAMPRULES -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["float"]) -_FIELDRULES.fields_by_name["float"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["double"]) -_FIELDRULES.fields_by_name["double"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["int32"]) -_FIELDRULES.fields_by_name["int32"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["int64"]) -_FIELDRULES.fields_by_name["int64"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["uint32"]) -_FIELDRULES.fields_by_name["uint32"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["uint64"]) -_FIELDRULES.fields_by_name["uint64"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["sint32"]) -_FIELDRULES.fields_by_name["sint32"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["sint64"]) -_FIELDRULES.fields_by_name["sint64"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["fixed32"]) -_FIELDRULES.fields_by_name["fixed32"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["fixed64"]) -_FIELDRULES.fields_by_name["fixed64"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["sfixed32"]) -_FIELDRULES.fields_by_name["sfixed32"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["sfixed64"]) -_FIELDRULES.fields_by_name["sfixed64"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["bool"]) -_FIELDRULES.fields_by_name["bool"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["string"]) -_FIELDRULES.fields_by_name["string"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["bytes"]) -_FIELDRULES.fields_by_name["bytes"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["enum"]) -_FIELDRULES.fields_by_name["enum"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["repeated"]) -_FIELDRULES.fields_by_name["repeated"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["map"]) -_FIELDRULES.fields_by_name["map"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["any"]) -_FIELDRULES.fields_by_name["any"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["duration"]) -_FIELDRULES.fields_by_name["duration"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_FIELDRULES.oneofs_by_name["type"].fields.append(_FIELDRULES.fields_by_name["timestamp"]) -_FIELDRULES.fields_by_name["timestamp"].containing_oneof = _FIELDRULES.oneofs_by_name["type"] -_STRINGRULES.fields_by_name["well_known_regex"].enum_type = _KNOWNREGEX -_STRINGRULES.oneofs_by_name["well_known"].fields.append(_STRINGRULES.fields_by_name["email"]) -_STRINGRULES.fields_by_name["email"].containing_oneof = _STRINGRULES.oneofs_by_name["well_known"] -_STRINGRULES.oneofs_by_name["well_known"].fields.append(_STRINGRULES.fields_by_name["hostname"]) -_STRINGRULES.fields_by_name["hostname"].containing_oneof = _STRINGRULES.oneofs_by_name["well_known"] -_STRINGRULES.oneofs_by_name["well_known"].fields.append(_STRINGRULES.fields_by_name["ip"]) -_STRINGRULES.fields_by_name["ip"].containing_oneof = _STRINGRULES.oneofs_by_name["well_known"] -_STRINGRULES.oneofs_by_name["well_known"].fields.append(_STRINGRULES.fields_by_name["ipv4"]) -_STRINGRULES.fields_by_name["ipv4"].containing_oneof = _STRINGRULES.oneofs_by_name["well_known"] -_STRINGRULES.oneofs_by_name["well_known"].fields.append(_STRINGRULES.fields_by_name["ipv6"]) -_STRINGRULES.fields_by_name["ipv6"].containing_oneof = _STRINGRULES.oneofs_by_name["well_known"] -_STRINGRULES.oneofs_by_name["well_known"].fields.append(_STRINGRULES.fields_by_name["uri"]) -_STRINGRULES.fields_by_name["uri"].containing_oneof = _STRINGRULES.oneofs_by_name["well_known"] -_STRINGRULES.oneofs_by_name["well_known"].fields.append(_STRINGRULES.fields_by_name["uri_ref"]) -_STRINGRULES.fields_by_name["uri_ref"].containing_oneof = _STRINGRULES.oneofs_by_name["well_known"] -_STRINGRULES.oneofs_by_name["well_known"].fields.append(_STRINGRULES.fields_by_name["address"]) -_STRINGRULES.fields_by_name["address"].containing_oneof = _STRINGRULES.oneofs_by_name["well_known"] -_STRINGRULES.oneofs_by_name["well_known"].fields.append(_STRINGRULES.fields_by_name["uuid"]) -_STRINGRULES.fields_by_name["uuid"].containing_oneof = _STRINGRULES.oneofs_by_name["well_known"] -_STRINGRULES.oneofs_by_name["well_known"].fields.append(_STRINGRULES.fields_by_name["well_known_regex"]) -_STRINGRULES.fields_by_name["well_known_regex"].containing_oneof = _STRINGRULES.oneofs_by_name["well_known"] -_BYTESRULES.oneofs_by_name["well_known"].fields.append(_BYTESRULES.fields_by_name["ip"]) -_BYTESRULES.fields_by_name["ip"].containing_oneof = _BYTESRULES.oneofs_by_name["well_known"] -_BYTESRULES.oneofs_by_name["well_known"].fields.append(_BYTESRULES.fields_by_name["ipv4"]) -_BYTESRULES.fields_by_name["ipv4"].containing_oneof = _BYTESRULES.oneofs_by_name["well_known"] -_BYTESRULES.oneofs_by_name["well_known"].fields.append(_BYTESRULES.fields_by_name["ipv6"]) -_BYTESRULES.fields_by_name["ipv6"].containing_oneof = _BYTESRULES.oneofs_by_name["well_known"] -_REPEATEDRULES.fields_by_name["items"].message_type = _FIELDRULES -_MAPRULES.fields_by_name["keys"].message_type = _FIELDRULES -_MAPRULES.fields_by_name["values"].message_type = _FIELDRULES -_DURATIONRULES.fields_by_name["const"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONRULES.fields_by_name["lt"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONRULES.fields_by_name["lte"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONRULES.fields_by_name["gt"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONRULES.fields_by_name["gte"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONRULES.fields_by_name["in"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONRULES.fields_by_name["not_in"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_TIMESTAMPRULES.fields_by_name["const"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPRULES.fields_by_name["lt"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPRULES.fields_by_name["lte"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPRULES.fields_by_name["gt"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPRULES.fields_by_name["gte"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPRULES.fields_by_name["within"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -DESCRIPTOR.message_types_by_name["FieldRules"] = _FIELDRULES -DESCRIPTOR.message_types_by_name["FloatRules"] = _FLOATRULES -DESCRIPTOR.message_types_by_name["DoubleRules"] = _DOUBLERULES -DESCRIPTOR.message_types_by_name["Int32Rules"] = _INT32RULES -DESCRIPTOR.message_types_by_name["Int64Rules"] = _INT64RULES -DESCRIPTOR.message_types_by_name["UInt32Rules"] = _UINT32RULES -DESCRIPTOR.message_types_by_name["UInt64Rules"] = _UINT64RULES -DESCRIPTOR.message_types_by_name["SInt32Rules"] = _SINT32RULES -DESCRIPTOR.message_types_by_name["SInt64Rules"] = _SINT64RULES -DESCRIPTOR.message_types_by_name["Fixed32Rules"] = _FIXED32RULES -DESCRIPTOR.message_types_by_name["Fixed64Rules"] = _FIXED64RULES -DESCRIPTOR.message_types_by_name["SFixed32Rules"] = _SFIXED32RULES -DESCRIPTOR.message_types_by_name["SFixed64Rules"] = _SFIXED64RULES -DESCRIPTOR.message_types_by_name["BoolRules"] = _BOOLRULES -DESCRIPTOR.message_types_by_name["StringRules"] = _STRINGRULES -DESCRIPTOR.message_types_by_name["BytesRules"] = _BYTESRULES -DESCRIPTOR.message_types_by_name["EnumRules"] = _ENUMRULES -DESCRIPTOR.message_types_by_name["MessageRules"] = _MESSAGERULES -DESCRIPTOR.message_types_by_name["RepeatedRules"] = _REPEATEDRULES -DESCRIPTOR.message_types_by_name["MapRules"] = _MAPRULES -DESCRIPTOR.message_types_by_name["AnyRules"] = _ANYRULES -DESCRIPTOR.message_types_by_name["DurationRules"] = _DURATIONRULES -DESCRIPTOR.message_types_by_name["TimestampRules"] = _TIMESTAMPRULES -DESCRIPTOR.enum_types_by_name["KnownRegex"] = _KNOWNREGEX -DESCRIPTOR.extensions_by_name["disabled"] = disabled -DESCRIPTOR.extensions_by_name["ignored"] = ignored -DESCRIPTOR.extensions_by_name["required"] = required -DESCRIPTOR.extensions_by_name["rules"] = rules -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FieldRules = _reflection.GeneratedProtocolMessageType( - "FieldRules", - (_message.Message,), - { - "DESCRIPTOR": _FIELDRULES, - "__module__": "example.example_proto.common.validate_pb2" - # @@protoc_insertion_point(class_scope:validate.FieldRules) - }, -) -_sym_db.RegisterMessage(FieldRules) - -FloatRules = _reflection.GeneratedProtocolMessageType( - "FloatRules", - (_message.Message,), - { - "DESCRIPTOR": _FLOATRULES, - "__module__": "example.example_proto.common.validate_pb2" - # @@protoc_insertion_point(class_scope:validate.FloatRules) - }, -) -_sym_db.RegisterMessage(FloatRules) - -DoubleRules = _reflection.GeneratedProtocolMessageType( - "DoubleRules", - (_message.Message,), - { - "DESCRIPTOR": _DOUBLERULES, - "__module__": "example.example_proto.common.validate_pb2" - # @@protoc_insertion_point(class_scope:validate.DoubleRules) - }, -) -_sym_db.RegisterMessage(DoubleRules) - -Int32Rules = _reflection.GeneratedProtocolMessageType( - "Int32Rules", - (_message.Message,), - { - "DESCRIPTOR": _INT32RULES, - "__module__": "example.example_proto.common.validate_pb2" - # @@protoc_insertion_point(class_scope:validate.Int32Rules) - }, -) -_sym_db.RegisterMessage(Int32Rules) - -Int64Rules = _reflection.GeneratedProtocolMessageType( - "Int64Rules", - (_message.Message,), - { - "DESCRIPTOR": _INT64RULES, - "__module__": "example.example_proto.common.validate_pb2" - # @@protoc_insertion_point(class_scope:validate.Int64Rules) - }, -) -_sym_db.RegisterMessage(Int64Rules) - -UInt32Rules = _reflection.GeneratedProtocolMessageType( - "UInt32Rules", - (_message.Message,), - { - "DESCRIPTOR": _UINT32RULES, - "__module__": "example.example_proto.common.validate_pb2" - # @@protoc_insertion_point(class_scope:validate.UInt32Rules) - }, -) -_sym_db.RegisterMessage(UInt32Rules) - -UInt64Rules = _reflection.GeneratedProtocolMessageType( - "UInt64Rules", - (_message.Message,), - { - "DESCRIPTOR": _UINT64RULES, - "__module__": "example.example_proto.common.validate_pb2" - # @@protoc_insertion_point(class_scope:validate.UInt64Rules) - }, -) -_sym_db.RegisterMessage(UInt64Rules) - -SInt32Rules = _reflection.GeneratedProtocolMessageType( - "SInt32Rules", - (_message.Message,), - { - "DESCRIPTOR": _SINT32RULES, - "__module__": "example.example_proto.common.validate_pb2" - # @@protoc_insertion_point(class_scope:validate.SInt32Rules) - }, -) -_sym_db.RegisterMessage(SInt32Rules) - -SInt64Rules = _reflection.GeneratedProtocolMessageType( - "SInt64Rules", - (_message.Message,), - { - "DESCRIPTOR": _SINT64RULES, - "__module__": "example.example_proto.common.validate_pb2" - # @@protoc_insertion_point(class_scope:validate.SInt64Rules) - }, -) -_sym_db.RegisterMessage(SInt64Rules) - -Fixed32Rules = _reflection.GeneratedProtocolMessageType( - "Fixed32Rules", - (_message.Message,), - { - "DESCRIPTOR": _FIXED32RULES, - "__module__": "example.example_proto.common.validate_pb2" - # @@protoc_insertion_point(class_scope:validate.Fixed32Rules) - }, -) -_sym_db.RegisterMessage(Fixed32Rules) - -Fixed64Rules = _reflection.GeneratedProtocolMessageType( - "Fixed64Rules", - (_message.Message,), - { - "DESCRIPTOR": _FIXED64RULES, - "__module__": "example.example_proto.common.validate_pb2" - # @@protoc_insertion_point(class_scope:validate.Fixed64Rules) - }, -) -_sym_db.RegisterMessage(Fixed64Rules) - -SFixed32Rules = _reflection.GeneratedProtocolMessageType( - "SFixed32Rules", - (_message.Message,), - { - "DESCRIPTOR": _SFIXED32RULES, - "__module__": "example.example_proto.common.validate_pb2" - # @@protoc_insertion_point(class_scope:validate.SFixed32Rules) - }, -) -_sym_db.RegisterMessage(SFixed32Rules) - -SFixed64Rules = _reflection.GeneratedProtocolMessageType( - "SFixed64Rules", - (_message.Message,), - { - "DESCRIPTOR": _SFIXED64RULES, - "__module__": "example.example_proto.common.validate_pb2" - # @@protoc_insertion_point(class_scope:validate.SFixed64Rules) - }, -) -_sym_db.RegisterMessage(SFixed64Rules) - -BoolRules = _reflection.GeneratedProtocolMessageType( - "BoolRules", - (_message.Message,), - { - "DESCRIPTOR": _BOOLRULES, - "__module__": "example.example_proto.common.validate_pb2" - # @@protoc_insertion_point(class_scope:validate.BoolRules) - }, -) -_sym_db.RegisterMessage(BoolRules) - -StringRules = _reflection.GeneratedProtocolMessageType( - "StringRules", - (_message.Message,), - { - "DESCRIPTOR": _STRINGRULES, - "__module__": "example.example_proto.common.validate_pb2" - # @@protoc_insertion_point(class_scope:validate.StringRules) - }, -) -_sym_db.RegisterMessage(StringRules) - -BytesRules = _reflection.GeneratedProtocolMessageType( - "BytesRules", - (_message.Message,), - { - "DESCRIPTOR": _BYTESRULES, - "__module__": "example.example_proto.common.validate_pb2" - # @@protoc_insertion_point(class_scope:validate.BytesRules) - }, -) -_sym_db.RegisterMessage(BytesRules) - -EnumRules = _reflection.GeneratedProtocolMessageType( - "EnumRules", - (_message.Message,), - { - "DESCRIPTOR": _ENUMRULES, - "__module__": "example.example_proto.common.validate_pb2" - # @@protoc_insertion_point(class_scope:validate.EnumRules) - }, -) -_sym_db.RegisterMessage(EnumRules) - -MessageRules = _reflection.GeneratedProtocolMessageType( - "MessageRules", - (_message.Message,), - { - "DESCRIPTOR": _MESSAGERULES, - "__module__": "example.example_proto.common.validate_pb2" - # @@protoc_insertion_point(class_scope:validate.MessageRules) - }, -) -_sym_db.RegisterMessage(MessageRules) - -RepeatedRules = _reflection.GeneratedProtocolMessageType( - "RepeatedRules", - (_message.Message,), - { - "DESCRIPTOR": _REPEATEDRULES, - "__module__": "example.example_proto.common.validate_pb2" - # @@protoc_insertion_point(class_scope:validate.RepeatedRules) - }, -) -_sym_db.RegisterMessage(RepeatedRules) - -MapRules = _reflection.GeneratedProtocolMessageType( - "MapRules", - (_message.Message,), - { - "DESCRIPTOR": _MAPRULES, - "__module__": "example.example_proto.common.validate_pb2" - # @@protoc_insertion_point(class_scope:validate.MapRules) - }, -) -_sym_db.RegisterMessage(MapRules) - -AnyRules = _reflection.GeneratedProtocolMessageType( - "AnyRules", - (_message.Message,), - { - "DESCRIPTOR": _ANYRULES, - "__module__": "example.example_proto.common.validate_pb2" - # @@protoc_insertion_point(class_scope:validate.AnyRules) - }, -) -_sym_db.RegisterMessage(AnyRules) - -DurationRules = _reflection.GeneratedProtocolMessageType( - "DurationRules", - (_message.Message,), - { - "DESCRIPTOR": _DURATIONRULES, - "__module__": "example.example_proto.common.validate_pb2" - # @@protoc_insertion_point(class_scope:validate.DurationRules) - }, -) -_sym_db.RegisterMessage(DurationRules) - -TimestampRules = _reflection.GeneratedProtocolMessageType( - "TimestampRules", - (_message.Message,), - { - "DESCRIPTOR": _TIMESTAMPRULES, - "__module__": "example.example_proto.common.validate_pb2" - # @@protoc_insertion_point(class_scope:validate.TimestampRules) - }, -) -_sym_db.RegisterMessage(TimestampRules) - -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(disabled) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(ignored) -google_dot_protobuf_dot_descriptor__pb2.OneofOptions.RegisterExtension(required) -rules.message_type = _FIELDRULES -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(rules) - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/example/proto_3_20/example/example_proto/common/validate_pb2.pyi b/example/proto_3_20/example/example_proto/common/validate_pb2.pyi deleted file mode 100644 index 382dc58..0000000 --- a/example/proto_3_20/example/example_proto/common/validate_pb2.pyi +++ /dev/null @@ -1,2228 +0,0 @@ -""" -@generated by mypy-protobuf. Do not edit manually! -isort:skip_file -""" -import builtins -import collections.abc -import google.protobuf.descriptor -import google.protobuf.descriptor_pb2 -import google.protobuf.duration_pb2 -import google.protobuf.internal.containers -import google.protobuf.internal.enum_type_wrapper -import google.protobuf.internal.extension_dict -import google.protobuf.message -import google.protobuf.timestamp_pb2 -import sys -import typing - -if sys.version_info >= (3, 10): - import typing as typing_extensions -else: - import typing_extensions - -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor - -class _KnownRegex: - ValueType = typing.NewType("ValueType", builtins.int) - V: typing_extensions.TypeAlias = ValueType - -class _KnownRegexEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_KnownRegex.ValueType], builtins.type -): # noqa: F821 - DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - UNKNOWN: _KnownRegex.ValueType # 0 - HTTP_HEADER_NAME: _KnownRegex.ValueType # 1 - """HTTP header name as defined by RFC 7230.""" - HTTP_HEADER_VALUE: _KnownRegex.ValueType # 2 - """HTTP header value as defined by RFC 7230.""" - -class KnownRegex(_KnownRegex, metaclass=_KnownRegexEnumTypeWrapper): - """WellKnownRegex contain some well-known patterns.""" - -UNKNOWN: KnownRegex.ValueType # 0 -HTTP_HEADER_NAME: KnownRegex.ValueType # 1 -"""HTTP header name as defined by RFC 7230.""" -HTTP_HEADER_VALUE: KnownRegex.ValueType # 2 -"""HTTP header value as defined by RFC 7230.""" -global___KnownRegex = KnownRegex - -class FieldRules(google.protobuf.message.Message): - """FieldRules encapsulates the rules for each type of field. Depending on the - field, the correct set should be used to ensure proper validations. - """ - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - MESSAGE_FIELD_NUMBER: builtins.int - FLOAT_FIELD_NUMBER: builtins.int - DOUBLE_FIELD_NUMBER: builtins.int - INT32_FIELD_NUMBER: builtins.int - INT64_FIELD_NUMBER: builtins.int - UINT32_FIELD_NUMBER: builtins.int - UINT64_FIELD_NUMBER: builtins.int - SINT32_FIELD_NUMBER: builtins.int - SINT64_FIELD_NUMBER: builtins.int - FIXED32_FIELD_NUMBER: builtins.int - FIXED64_FIELD_NUMBER: builtins.int - SFIXED32_FIELD_NUMBER: builtins.int - SFIXED64_FIELD_NUMBER: builtins.int - BOOL_FIELD_NUMBER: builtins.int - STRING_FIELD_NUMBER: builtins.int - BYTES_FIELD_NUMBER: builtins.int - ENUM_FIELD_NUMBER: builtins.int - REPEATED_FIELD_NUMBER: builtins.int - MAP_FIELD_NUMBER: builtins.int - ANY_FIELD_NUMBER: builtins.int - DURATION_FIELD_NUMBER: builtins.int - TIMESTAMP_FIELD_NUMBER: builtins.int - @property - def message(self) -> global___MessageRules: ... - @property - def float(self) -> global___FloatRules: - """Scalar Field Types""" - @property - def double(self) -> global___DoubleRules: ... - @property - def int32(self) -> global___Int32Rules: ... - @property - def int64(self) -> global___Int64Rules: ... - @property - def uint32(self) -> global___UInt32Rules: ... - @property - def uint64(self) -> global___UInt64Rules: ... - @property - def sint32(self) -> global___SInt32Rules: ... - @property - def sint64(self) -> global___SInt64Rules: ... - @property - def fixed32(self) -> global___Fixed32Rules: ... - @property - def fixed64(self) -> global___Fixed64Rules: ... - @property - def sfixed32(self) -> global___SFixed32Rules: ... - @property - def sfixed64(self) -> global___SFixed64Rules: ... - @property - def bool(self) -> global___BoolRules: ... - @property - def string(self) -> global___StringRules: ... - @property - def bytes(self) -> global___BytesRules: ... - @property - def enum(self) -> global___EnumRules: - """Complex Field Types""" - @property - def repeated(self) -> global___RepeatedRules: ... - @property - def map(self) -> global___MapRules: ... - @property - def any(self) -> global___AnyRules: - """Well-Known Field Types""" - @property - def duration(self) -> global___DurationRules: ... - @property - def timestamp(self) -> global___TimestampRules: ... - def __init__( - self, - *, - message: global___MessageRules | None = ..., - float: global___FloatRules | None = ..., - double: global___DoubleRules | None = ..., - int32: global___Int32Rules | None = ..., - int64: global___Int64Rules | None = ..., - uint32: global___UInt32Rules | None = ..., - uint64: global___UInt64Rules | None = ..., - sint32: global___SInt32Rules | None = ..., - sint64: global___SInt64Rules | None = ..., - fixed32: global___Fixed32Rules | None = ..., - fixed64: global___Fixed64Rules | None = ..., - sfixed32: global___SFixed32Rules | None = ..., - sfixed64: global___SFixed64Rules | None = ..., - bool: global___BoolRules | None = ..., - string: global___StringRules | None = ..., - bytes: global___BytesRules | None = ..., - enum: global___EnumRules | None = ..., - repeated: global___RepeatedRules | None = ..., - map: global___MapRules | None = ..., - any: global___AnyRules | None = ..., - duration: global___DurationRules | None = ..., - timestamp: global___TimestampRules | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "any", - b"any", - "bool", - b"bool", - "bytes", - b"bytes", - "double", - b"double", - "duration", - b"duration", - "enum", - b"enum", - "fixed32", - b"fixed32", - "fixed64", - b"fixed64", - "float", - b"float", - "int32", - b"int32", - "int64", - b"int64", - "map", - b"map", - "message", - b"message", - "repeated", - b"repeated", - "sfixed32", - b"sfixed32", - "sfixed64", - b"sfixed64", - "sint32", - b"sint32", - "sint64", - b"sint64", - "string", - b"string", - "timestamp", - b"timestamp", - "type", - b"type", - "uint32", - b"uint32", - "uint64", - b"uint64", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "any", - b"any", - "bool", - b"bool", - "bytes", - b"bytes", - "double", - b"double", - "duration", - b"duration", - "enum", - b"enum", - "fixed32", - b"fixed32", - "fixed64", - b"fixed64", - "float", - b"float", - "int32", - b"int32", - "int64", - b"int64", - "map", - b"map", - "message", - b"message", - "repeated", - b"repeated", - "sfixed32", - b"sfixed32", - "sfixed64", - b"sfixed64", - "sint32", - b"sint32", - "sint64", - b"sint64", - "string", - b"string", - "timestamp", - b"timestamp", - "type", - b"type", - "uint32", - b"uint32", - "uint64", - b"uint64", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["type", b"type"] - ) -> ( - typing_extensions.Literal[ - "float", - "double", - "int32", - "int64", - "uint32", - "uint64", - "sint32", - "sint64", - "fixed32", - "fixed64", - "sfixed32", - "sfixed64", - "bool", - "string", - "bytes", - "enum", - "repeated", - "map", - "any", - "duration", - "timestamp", - ] - | None - ): ... - -global___FieldRules = FieldRules - -class FloatRules(google.protobuf.message.Message): - """FloatRules describes the constraints applied to `float` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LTE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GTE_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - IGNORE_EMPTY_FIELD_NUMBER: builtins.int - const: builtins.float - """Const specifies that this field must be exactly the specified value""" - lt: builtins.float - """Lt specifies that this field must be less than the specified value, - exclusive - """ - lte: builtins.float - """Lte specifies that this field must be less than or equal to the - specified value, inclusive - """ - gt: builtins.float - """Gt specifies that this field must be greater than the specified value, - exclusive. If the value of Gt is larger than a specified Lt or Lte, the - range is reversed. - """ - gte: builtins.float - """Gte specifies that this field must be greater than or equal to the - specified value, inclusive. If the value of Gte is larger than a - specified Lt or Lte, the range is reversed. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - ignore_empty: builtins.bool - """IgnoreEmpty specifies that the validation rules of this field should be - evaluated only if the field is not empty - """ - def __init__( - self, - *, - const: builtins.float | None = ..., - lt: builtins.float | None = ..., - lte: builtins.float | None = ..., - gt: builtins.float | None = ..., - gte: builtins.float | None = ..., - not_in: collections.abc.Iterable[builtins.float] | None = ..., - ignore_empty: builtins.bool | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "const", b"const", "gt", b"gt", "gte", b"gte", "ignore_empty", b"ignore_empty", "lt", b"lt", "lte", b"lte" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const", - b"const", - "gt", - b"gt", - "gte", - b"gte", - "ignore_empty", - b"ignore_empty", - "in", - b"in", - "lt", - b"lt", - "lte", - b"lte", - "not_in", - b"not_in", - ], - ) -> None: ... - -global___FloatRules = FloatRules - -class DoubleRules(google.protobuf.message.Message): - """DoubleRules describes the constraints applied to `double` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LTE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GTE_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - IGNORE_EMPTY_FIELD_NUMBER: builtins.int - const: builtins.float - """Const specifies that this field must be exactly the specified value""" - lt: builtins.float - """Lt specifies that this field must be less than the specified value, - exclusive - """ - lte: builtins.float - """Lte specifies that this field must be less than or equal to the - specified value, inclusive - """ - gt: builtins.float - """Gt specifies that this field must be greater than the specified value, - exclusive. If the value of Gt is larger than a specified Lt or Lte, the - range is reversed. - """ - gte: builtins.float - """Gte specifies that this field must be greater than or equal to the - specified value, inclusive. If the value of Gte is larger than a - specified Lt or Lte, the range is reversed. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - ignore_empty: builtins.bool - """IgnoreEmpty specifies that the validation rules of this field should be - evaluated only if the field is not empty - """ - def __init__( - self, - *, - const: builtins.float | None = ..., - lt: builtins.float | None = ..., - lte: builtins.float | None = ..., - gt: builtins.float | None = ..., - gte: builtins.float | None = ..., - not_in: collections.abc.Iterable[builtins.float] | None = ..., - ignore_empty: builtins.bool | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "const", b"const", "gt", b"gt", "gte", b"gte", "ignore_empty", b"ignore_empty", "lt", b"lt", "lte", b"lte" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const", - b"const", - "gt", - b"gt", - "gte", - b"gte", - "ignore_empty", - b"ignore_empty", - "in", - b"in", - "lt", - b"lt", - "lte", - b"lte", - "not_in", - b"not_in", - ], - ) -> None: ... - -global___DoubleRules = DoubleRules - -class Int32Rules(google.protobuf.message.Message): - """Int32Rules describes the constraints applied to `int32` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LTE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GTE_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - IGNORE_EMPTY_FIELD_NUMBER: builtins.int - const: builtins.int - """Const specifies that this field must be exactly the specified value""" - lt: builtins.int - """Lt specifies that this field must be less than the specified value, - exclusive - """ - lte: builtins.int - """Lte specifies that this field must be less than or equal to the - specified value, inclusive - """ - gt: builtins.int - """Gt specifies that this field must be greater than the specified value, - exclusive. If the value of Gt is larger than a specified Lt or Lte, the - range is reversed. - """ - gte: builtins.int - """Gte specifies that this field must be greater than or equal to the - specified value, inclusive. If the value of Gte is larger than a - specified Lt or Lte, the range is reversed. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - ignore_empty: builtins.bool - """IgnoreEmpty specifies that the validation rules of this field should be - evaluated only if the field is not empty - """ - def __init__( - self, - *, - const: builtins.int | None = ..., - lt: builtins.int | None = ..., - lte: builtins.int | None = ..., - gt: builtins.int | None = ..., - gte: builtins.int | None = ..., - not_in: collections.abc.Iterable[builtins.int] | None = ..., - ignore_empty: builtins.bool | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "const", b"const", "gt", b"gt", "gte", b"gte", "ignore_empty", b"ignore_empty", "lt", b"lt", "lte", b"lte" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const", - b"const", - "gt", - b"gt", - "gte", - b"gte", - "ignore_empty", - b"ignore_empty", - "in", - b"in", - "lt", - b"lt", - "lte", - b"lte", - "not_in", - b"not_in", - ], - ) -> None: ... - -global___Int32Rules = Int32Rules - -class Int64Rules(google.protobuf.message.Message): - """Int64Rules describes the constraints applied to `int64` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LTE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GTE_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - IGNORE_EMPTY_FIELD_NUMBER: builtins.int - const: builtins.int - """Const specifies that this field must be exactly the specified value""" - lt: builtins.int - """Lt specifies that this field must be less than the specified value, - exclusive - """ - lte: builtins.int - """Lte specifies that this field must be less than or equal to the - specified value, inclusive - """ - gt: builtins.int - """Gt specifies that this field must be greater than the specified value, - exclusive. If the value of Gt is larger than a specified Lt or Lte, the - range is reversed. - """ - gte: builtins.int - """Gte specifies that this field must be greater than or equal to the - specified value, inclusive. If the value of Gte is larger than a - specified Lt or Lte, the range is reversed. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - ignore_empty: builtins.bool - """IgnoreEmpty specifies that the validation rules of this field should be - evaluated only if the field is not empty - """ - def __init__( - self, - *, - const: builtins.int | None = ..., - lt: builtins.int | None = ..., - lte: builtins.int | None = ..., - gt: builtins.int | None = ..., - gte: builtins.int | None = ..., - not_in: collections.abc.Iterable[builtins.int] | None = ..., - ignore_empty: builtins.bool | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "const", b"const", "gt", b"gt", "gte", b"gte", "ignore_empty", b"ignore_empty", "lt", b"lt", "lte", b"lte" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const", - b"const", - "gt", - b"gt", - "gte", - b"gte", - "ignore_empty", - b"ignore_empty", - "in", - b"in", - "lt", - b"lt", - "lte", - b"lte", - "not_in", - b"not_in", - ], - ) -> None: ... - -global___Int64Rules = Int64Rules - -class UInt32Rules(google.protobuf.message.Message): - """UInt32Rules describes the constraints applied to `uint32` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LTE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GTE_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - IGNORE_EMPTY_FIELD_NUMBER: builtins.int - const: builtins.int - """Const specifies that this field must be exactly the specified value""" - lt: builtins.int - """Lt specifies that this field must be less than the specified value, - exclusive - """ - lte: builtins.int - """Lte specifies that this field must be less than or equal to the - specified value, inclusive - """ - gt: builtins.int - """Gt specifies that this field must be greater than the specified value, - exclusive. If the value of Gt is larger than a specified Lt or Lte, the - range is reversed. - """ - gte: builtins.int - """Gte specifies that this field must be greater than or equal to the - specified value, inclusive. If the value of Gte is larger than a - specified Lt or Lte, the range is reversed. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - ignore_empty: builtins.bool - """IgnoreEmpty specifies that the validation rules of this field should be - evaluated only if the field is not empty - """ - def __init__( - self, - *, - const: builtins.int | None = ..., - lt: builtins.int | None = ..., - lte: builtins.int | None = ..., - gt: builtins.int | None = ..., - gte: builtins.int | None = ..., - not_in: collections.abc.Iterable[builtins.int] | None = ..., - ignore_empty: builtins.bool | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "const", b"const", "gt", b"gt", "gte", b"gte", "ignore_empty", b"ignore_empty", "lt", b"lt", "lte", b"lte" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const", - b"const", - "gt", - b"gt", - "gte", - b"gte", - "ignore_empty", - b"ignore_empty", - "in", - b"in", - "lt", - b"lt", - "lte", - b"lte", - "not_in", - b"not_in", - ], - ) -> None: ... - -global___UInt32Rules = UInt32Rules - -class UInt64Rules(google.protobuf.message.Message): - """UInt64Rules describes the constraints applied to `uint64` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LTE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GTE_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - IGNORE_EMPTY_FIELD_NUMBER: builtins.int - const: builtins.int - """Const specifies that this field must be exactly the specified value""" - lt: builtins.int - """Lt specifies that this field must be less than the specified value, - exclusive - """ - lte: builtins.int - """Lte specifies that this field must be less than or equal to the - specified value, inclusive - """ - gt: builtins.int - """Gt specifies that this field must be greater than the specified value, - exclusive. If the value of Gt is larger than a specified Lt or Lte, the - range is reversed. - """ - gte: builtins.int - """Gte specifies that this field must be greater than or equal to the - specified value, inclusive. If the value of Gte is larger than a - specified Lt or Lte, the range is reversed. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - ignore_empty: builtins.bool - """IgnoreEmpty specifies that the validation rules of this field should be - evaluated only if the field is not empty - """ - def __init__( - self, - *, - const: builtins.int | None = ..., - lt: builtins.int | None = ..., - lte: builtins.int | None = ..., - gt: builtins.int | None = ..., - gte: builtins.int | None = ..., - not_in: collections.abc.Iterable[builtins.int] | None = ..., - ignore_empty: builtins.bool | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "const", b"const", "gt", b"gt", "gte", b"gte", "ignore_empty", b"ignore_empty", "lt", b"lt", "lte", b"lte" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const", - b"const", - "gt", - b"gt", - "gte", - b"gte", - "ignore_empty", - b"ignore_empty", - "in", - b"in", - "lt", - b"lt", - "lte", - b"lte", - "not_in", - b"not_in", - ], - ) -> None: ... - -global___UInt64Rules = UInt64Rules - -class SInt32Rules(google.protobuf.message.Message): - """SInt32Rules describes the constraints applied to `sint32` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LTE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GTE_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - IGNORE_EMPTY_FIELD_NUMBER: builtins.int - const: builtins.int - """Const specifies that this field must be exactly the specified value""" - lt: builtins.int - """Lt specifies that this field must be less than the specified value, - exclusive - """ - lte: builtins.int - """Lte specifies that this field must be less than or equal to the - specified value, inclusive - """ - gt: builtins.int - """Gt specifies that this field must be greater than the specified value, - exclusive. If the value of Gt is larger than a specified Lt or Lte, the - range is reversed. - """ - gte: builtins.int - """Gte specifies that this field must be greater than or equal to the - specified value, inclusive. If the value of Gte is larger than a - specified Lt or Lte, the range is reversed. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - ignore_empty: builtins.bool - """IgnoreEmpty specifies that the validation rules of this field should be - evaluated only if the field is not empty - """ - def __init__( - self, - *, - const: builtins.int | None = ..., - lt: builtins.int | None = ..., - lte: builtins.int | None = ..., - gt: builtins.int | None = ..., - gte: builtins.int | None = ..., - not_in: collections.abc.Iterable[builtins.int] | None = ..., - ignore_empty: builtins.bool | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "const", b"const", "gt", b"gt", "gte", b"gte", "ignore_empty", b"ignore_empty", "lt", b"lt", "lte", b"lte" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const", - b"const", - "gt", - b"gt", - "gte", - b"gte", - "ignore_empty", - b"ignore_empty", - "in", - b"in", - "lt", - b"lt", - "lte", - b"lte", - "not_in", - b"not_in", - ], - ) -> None: ... - -global___SInt32Rules = SInt32Rules - -class SInt64Rules(google.protobuf.message.Message): - """SInt64Rules describes the constraints applied to `sint64` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LTE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GTE_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - IGNORE_EMPTY_FIELD_NUMBER: builtins.int - const: builtins.int - """Const specifies that this field must be exactly the specified value""" - lt: builtins.int - """Lt specifies that this field must be less than the specified value, - exclusive - """ - lte: builtins.int - """Lte specifies that this field must be less than or equal to the - specified value, inclusive - """ - gt: builtins.int - """Gt specifies that this field must be greater than the specified value, - exclusive. If the value of Gt is larger than a specified Lt or Lte, the - range is reversed. - """ - gte: builtins.int - """Gte specifies that this field must be greater than or equal to the - specified value, inclusive. If the value of Gte is larger than a - specified Lt or Lte, the range is reversed. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - ignore_empty: builtins.bool - """IgnoreEmpty specifies that the validation rules of this field should be - evaluated only if the field is not empty - """ - def __init__( - self, - *, - const: builtins.int | None = ..., - lt: builtins.int | None = ..., - lte: builtins.int | None = ..., - gt: builtins.int | None = ..., - gte: builtins.int | None = ..., - not_in: collections.abc.Iterable[builtins.int] | None = ..., - ignore_empty: builtins.bool | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "const", b"const", "gt", b"gt", "gte", b"gte", "ignore_empty", b"ignore_empty", "lt", b"lt", "lte", b"lte" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const", - b"const", - "gt", - b"gt", - "gte", - b"gte", - "ignore_empty", - b"ignore_empty", - "in", - b"in", - "lt", - b"lt", - "lte", - b"lte", - "not_in", - b"not_in", - ], - ) -> None: ... - -global___SInt64Rules = SInt64Rules - -class Fixed32Rules(google.protobuf.message.Message): - """Fixed32Rules describes the constraints applied to `fixed32` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LTE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GTE_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - IGNORE_EMPTY_FIELD_NUMBER: builtins.int - const: builtins.int - """Const specifies that this field must be exactly the specified value""" - lt: builtins.int - """Lt specifies that this field must be less than the specified value, - exclusive - """ - lte: builtins.int - """Lte specifies that this field must be less than or equal to the - specified value, inclusive - """ - gt: builtins.int - """Gt specifies that this field must be greater than the specified value, - exclusive. If the value of Gt is larger than a specified Lt or Lte, the - range is reversed. - """ - gte: builtins.int - """Gte specifies that this field must be greater than or equal to the - specified value, inclusive. If the value of Gte is larger than a - specified Lt or Lte, the range is reversed. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - ignore_empty: builtins.bool - """IgnoreEmpty specifies that the validation rules of this field should be - evaluated only if the field is not empty - """ - def __init__( - self, - *, - const: builtins.int | None = ..., - lt: builtins.int | None = ..., - lte: builtins.int | None = ..., - gt: builtins.int | None = ..., - gte: builtins.int | None = ..., - not_in: collections.abc.Iterable[builtins.int] | None = ..., - ignore_empty: builtins.bool | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "const", b"const", "gt", b"gt", "gte", b"gte", "ignore_empty", b"ignore_empty", "lt", b"lt", "lte", b"lte" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const", - b"const", - "gt", - b"gt", - "gte", - b"gte", - "ignore_empty", - b"ignore_empty", - "in", - b"in", - "lt", - b"lt", - "lte", - b"lte", - "not_in", - b"not_in", - ], - ) -> None: ... - -global___Fixed32Rules = Fixed32Rules - -class Fixed64Rules(google.protobuf.message.Message): - """Fixed64Rules describes the constraints applied to `fixed64` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LTE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GTE_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - IGNORE_EMPTY_FIELD_NUMBER: builtins.int - const: builtins.int - """Const specifies that this field must be exactly the specified value""" - lt: builtins.int - """Lt specifies that this field must be less than the specified value, - exclusive - """ - lte: builtins.int - """Lte specifies that this field must be less than or equal to the - specified value, inclusive - """ - gt: builtins.int - """Gt specifies that this field must be greater than the specified value, - exclusive. If the value of Gt is larger than a specified Lt or Lte, the - range is reversed. - """ - gte: builtins.int - """Gte specifies that this field must be greater than or equal to the - specified value, inclusive. If the value of Gte is larger than a - specified Lt or Lte, the range is reversed. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - ignore_empty: builtins.bool - """IgnoreEmpty specifies that the validation rules of this field should be - evaluated only if the field is not empty - """ - def __init__( - self, - *, - const: builtins.int | None = ..., - lt: builtins.int | None = ..., - lte: builtins.int | None = ..., - gt: builtins.int | None = ..., - gte: builtins.int | None = ..., - not_in: collections.abc.Iterable[builtins.int] | None = ..., - ignore_empty: builtins.bool | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "const", b"const", "gt", b"gt", "gte", b"gte", "ignore_empty", b"ignore_empty", "lt", b"lt", "lte", b"lte" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const", - b"const", - "gt", - b"gt", - "gte", - b"gte", - "ignore_empty", - b"ignore_empty", - "in", - b"in", - "lt", - b"lt", - "lte", - b"lte", - "not_in", - b"not_in", - ], - ) -> None: ... - -global___Fixed64Rules = Fixed64Rules - -class SFixed32Rules(google.protobuf.message.Message): - """SFixed32Rules describes the constraints applied to `sfixed32` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LTE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GTE_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - IGNORE_EMPTY_FIELD_NUMBER: builtins.int - const: builtins.int - """Const specifies that this field must be exactly the specified value""" - lt: builtins.int - """Lt specifies that this field must be less than the specified value, - exclusive - """ - lte: builtins.int - """Lte specifies that this field must be less than or equal to the - specified value, inclusive - """ - gt: builtins.int - """Gt specifies that this field must be greater than the specified value, - exclusive. If the value of Gt is larger than a specified Lt or Lte, the - range is reversed. - """ - gte: builtins.int - """Gte specifies that this field must be greater than or equal to the - specified value, inclusive. If the value of Gte is larger than a - specified Lt or Lte, the range is reversed. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - ignore_empty: builtins.bool - """IgnoreEmpty specifies that the validation rules of this field should be - evaluated only if the field is not empty - """ - def __init__( - self, - *, - const: builtins.int | None = ..., - lt: builtins.int | None = ..., - lte: builtins.int | None = ..., - gt: builtins.int | None = ..., - gte: builtins.int | None = ..., - not_in: collections.abc.Iterable[builtins.int] | None = ..., - ignore_empty: builtins.bool | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "const", b"const", "gt", b"gt", "gte", b"gte", "ignore_empty", b"ignore_empty", "lt", b"lt", "lte", b"lte" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const", - b"const", - "gt", - b"gt", - "gte", - b"gte", - "ignore_empty", - b"ignore_empty", - "in", - b"in", - "lt", - b"lt", - "lte", - b"lte", - "not_in", - b"not_in", - ], - ) -> None: ... - -global___SFixed32Rules = SFixed32Rules - -class SFixed64Rules(google.protobuf.message.Message): - """SFixed64Rules describes the constraints applied to `sfixed64` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LTE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GTE_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - IGNORE_EMPTY_FIELD_NUMBER: builtins.int - const: builtins.int - """Const specifies that this field must be exactly the specified value""" - lt: builtins.int - """Lt specifies that this field must be less than the specified value, - exclusive - """ - lte: builtins.int - """Lte specifies that this field must be less than or equal to the - specified value, inclusive - """ - gt: builtins.int - """Gt specifies that this field must be greater than the specified value, - exclusive. If the value of Gt is larger than a specified Lt or Lte, the - range is reversed. - """ - gte: builtins.int - """Gte specifies that this field must be greater than or equal to the - specified value, inclusive. If the value of Gte is larger than a - specified Lt or Lte, the range is reversed. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - ignore_empty: builtins.bool - """IgnoreEmpty specifies that the validation rules of this field should be - evaluated only if the field is not empty - """ - def __init__( - self, - *, - const: builtins.int | None = ..., - lt: builtins.int | None = ..., - lte: builtins.int | None = ..., - gt: builtins.int | None = ..., - gte: builtins.int | None = ..., - not_in: collections.abc.Iterable[builtins.int] | None = ..., - ignore_empty: builtins.bool | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "const", b"const", "gt", b"gt", "gte", b"gte", "ignore_empty", b"ignore_empty", "lt", b"lt", "lte", b"lte" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const", - b"const", - "gt", - b"gt", - "gte", - b"gte", - "ignore_empty", - b"ignore_empty", - "in", - b"in", - "lt", - b"lt", - "lte", - b"lte", - "not_in", - b"not_in", - ], - ) -> None: ... - -global___SFixed64Rules = SFixed64Rules - -class BoolRules(google.protobuf.message.Message): - """BoolRules describes the constraints applied to `bool` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - const: builtins.bool - """Const specifies that this field must be exactly the specified value""" - def __init__( - self, - *, - const: builtins.bool | None = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["const", b"const"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["const", b"const"]) -> None: ... - -global___BoolRules = BoolRules - -class StringRules(google.protobuf.message.Message): - """StringRules describe the constraints applied to `string` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LEN_FIELD_NUMBER: builtins.int - MIN_LEN_FIELD_NUMBER: builtins.int - MAX_LEN_FIELD_NUMBER: builtins.int - LEN_BYTES_FIELD_NUMBER: builtins.int - MIN_BYTES_FIELD_NUMBER: builtins.int - MAX_BYTES_FIELD_NUMBER: builtins.int - PATTERN_FIELD_NUMBER: builtins.int - PREFIX_FIELD_NUMBER: builtins.int - SUFFIX_FIELD_NUMBER: builtins.int - CONTAINS_FIELD_NUMBER: builtins.int - NOT_CONTAINS_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - EMAIL_FIELD_NUMBER: builtins.int - HOSTNAME_FIELD_NUMBER: builtins.int - IP_FIELD_NUMBER: builtins.int - IPV4_FIELD_NUMBER: builtins.int - IPV6_FIELD_NUMBER: builtins.int - URI_FIELD_NUMBER: builtins.int - URI_REF_FIELD_NUMBER: builtins.int - ADDRESS_FIELD_NUMBER: builtins.int - UUID_FIELD_NUMBER: builtins.int - WELL_KNOWN_REGEX_FIELD_NUMBER: builtins.int - STRICT_FIELD_NUMBER: builtins.int - IGNORE_EMPTY_FIELD_NUMBER: builtins.int - const: builtins.str - """Const specifies that this field must be exactly the specified value""" - len: builtins.int - """Len specifies that this field must be the specified number of - characters (Unicode code points). Note that the number of - characters may differ from the number of bytes in the string. - """ - min_len: builtins.int - """MinLen specifies that this field must be the specified number of - characters (Unicode code points) at a minimum. Note that the number of - characters may differ from the number of bytes in the string. - """ - max_len: builtins.int - """MaxLen specifies that this field must be the specified number of - characters (Unicode code points) at a maximum. Note that the number of - characters may differ from the number of bytes in the string. - """ - len_bytes: builtins.int - """LenBytes specifies that this field must be the specified number of bytes""" - min_bytes: builtins.int - """MinBytes specifies that this field must be the specified number of bytes - at a minimum - """ - max_bytes: builtins.int - """MaxBytes specifies that this field must be the specified number of bytes - at a maximum - """ - pattern: builtins.str - """Pattern specifes that this field must match against the specified - regular expression (RE2 syntax). The included expression should elide - any delimiters. - """ - prefix: builtins.str - """Prefix specifies that this field must have the specified substring at - the beginning of the string. - """ - suffix: builtins.str - """Suffix specifies that this field must have the specified substring at - the end of the string. - """ - contains: builtins.str - """Contains specifies that this field must have the specified substring - anywhere in the string. - """ - not_contains: builtins.str - """NotContains specifies that this field cannot have the specified substring - anywhere in the string. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - email: builtins.bool - """Email specifies that the field must be a valid email address as - defined by RFC 5322 - """ - hostname: builtins.bool - """Hostname specifies that the field must be a valid hostname as - defined by RFC 1034. This constraint does not support - internationalized domain names (IDNs). - """ - ip: builtins.bool - """Ip specifies that the field must be a valid IP (v4 or v6) address. - Valid IPv6 addresses should not include surrounding square brackets. - """ - ipv4: builtins.bool - """Ipv4 specifies that the field must be a valid IPv4 address.""" - ipv6: builtins.bool - """Ipv6 specifies that the field must be a valid IPv6 address. Valid - IPv6 addresses should not include surrounding square brackets. - """ - uri: builtins.bool - """Uri specifies that the field must be a valid, absolute URI as defined - by RFC 3986 - """ - uri_ref: builtins.bool - """UriRef specifies that the field must be a valid URI as defined by RFC - 3986 and may be relative or absolute. - """ - address: builtins.bool - """Address specifies that the field must be either a valid hostname as - defined by RFC 1034 (which does not support internationalized domain - names or IDNs), or it can be a valid IP (v4 or v6). - """ - uuid: builtins.bool - """Uuid specifies that the field must be a valid UUID as defined by - RFC 4122 - """ - well_known_regex: global___KnownRegex.ValueType - """WellKnownRegex specifies a common well known pattern defined as a regex.""" - strict: builtins.bool - """This applies to regexes HTTP_HEADER_NAME and HTTP_HEADER_VALUE to enable - strict header validation. - By default, this is true, and HTTP header validations are RFC-compliant. - Setting to false will enable a looser validations that only disallows - \\r\\n\\0 characters, which can be used to bypass header matching rules. - """ - ignore_empty: builtins.bool - """IgnoreEmpty specifies that the validation rules of this field should be - evaluated only if the field is not empty - """ - def __init__( - self, - *, - const: builtins.str | None = ..., - len: builtins.int | None = ..., - min_len: builtins.int | None = ..., - max_len: builtins.int | None = ..., - len_bytes: builtins.int | None = ..., - min_bytes: builtins.int | None = ..., - max_bytes: builtins.int | None = ..., - pattern: builtins.str | None = ..., - prefix: builtins.str | None = ..., - suffix: builtins.str | None = ..., - contains: builtins.str | None = ..., - not_contains: builtins.str | None = ..., - not_in: collections.abc.Iterable[builtins.str] | None = ..., - email: builtins.bool | None = ..., - hostname: builtins.bool | None = ..., - ip: builtins.bool | None = ..., - ipv4: builtins.bool | None = ..., - ipv6: builtins.bool | None = ..., - uri: builtins.bool | None = ..., - uri_ref: builtins.bool | None = ..., - address: builtins.bool | None = ..., - uuid: builtins.bool | None = ..., - well_known_regex: global___KnownRegex.ValueType | None = ..., - strict: builtins.bool | None = ..., - ignore_empty: builtins.bool | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "address", - b"address", - "const", - b"const", - "contains", - b"contains", - "email", - b"email", - "hostname", - b"hostname", - "ignore_empty", - b"ignore_empty", - "ip", - b"ip", - "ipv4", - b"ipv4", - "ipv6", - b"ipv6", - "len", - b"len", - "len_bytes", - b"len_bytes", - "max_bytes", - b"max_bytes", - "max_len", - b"max_len", - "min_bytes", - b"min_bytes", - "min_len", - b"min_len", - "not_contains", - b"not_contains", - "pattern", - b"pattern", - "prefix", - b"prefix", - "strict", - b"strict", - "suffix", - b"suffix", - "uri", - b"uri", - "uri_ref", - b"uri_ref", - "uuid", - b"uuid", - "well_known", - b"well_known", - "well_known_regex", - b"well_known_regex", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "address", - b"address", - "const", - b"const", - "contains", - b"contains", - "email", - b"email", - "hostname", - b"hostname", - "ignore_empty", - b"ignore_empty", - "in", - b"in", - "ip", - b"ip", - "ipv4", - b"ipv4", - "ipv6", - b"ipv6", - "len", - b"len", - "len_bytes", - b"len_bytes", - "max_bytes", - b"max_bytes", - "max_len", - b"max_len", - "min_bytes", - b"min_bytes", - "min_len", - b"min_len", - "not_contains", - b"not_contains", - "not_in", - b"not_in", - "pattern", - b"pattern", - "prefix", - b"prefix", - "strict", - b"strict", - "suffix", - b"suffix", - "uri", - b"uri", - "uri_ref", - b"uri_ref", - "uuid", - b"uuid", - "well_known", - b"well_known", - "well_known_regex", - b"well_known_regex", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["well_known", b"well_known"] - ) -> ( - typing_extensions.Literal[ - "email", "hostname", "ip", "ipv4", "ipv6", "uri", "uri_ref", "address", "uuid", "well_known_regex" - ] - | None - ): ... - -global___StringRules = StringRules - -class BytesRules(google.protobuf.message.Message): - """BytesRules describe the constraints applied to `bytes` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - LEN_FIELD_NUMBER: builtins.int - MIN_LEN_FIELD_NUMBER: builtins.int - MAX_LEN_FIELD_NUMBER: builtins.int - PATTERN_FIELD_NUMBER: builtins.int - PREFIX_FIELD_NUMBER: builtins.int - SUFFIX_FIELD_NUMBER: builtins.int - CONTAINS_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - IP_FIELD_NUMBER: builtins.int - IPV4_FIELD_NUMBER: builtins.int - IPV6_FIELD_NUMBER: builtins.int - IGNORE_EMPTY_FIELD_NUMBER: builtins.int - const: builtins.bytes - """Const specifies that this field must be exactly the specified value""" - len: builtins.int - """Len specifies that this field must be the specified number of bytes""" - min_len: builtins.int - """MinLen specifies that this field must be the specified number of bytes - at a minimum - """ - max_len: builtins.int - """MaxLen specifies that this field must be the specified number of bytes - at a maximum - """ - pattern: builtins.str - """Pattern specifes that this field must match against the specified - regular expression (RE2 syntax). The included expression should elide - any delimiters. - """ - prefix: builtins.bytes - """Prefix specifies that this field must have the specified bytes at the - beginning of the string. - """ - suffix: builtins.bytes - """Suffix specifies that this field must have the specified bytes at the - end of the string. - """ - contains: builtins.bytes - """Contains specifies that this field must have the specified bytes - anywhere in the string. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - ip: builtins.bool - """Ip specifies that the field must be a valid IP (v4 or v6) address in - byte format - """ - ipv4: builtins.bool - """Ipv4 specifies that the field must be a valid IPv4 address in byte - format - """ - ipv6: builtins.bool - """Ipv6 specifies that the field must be a valid IPv6 address in byte - format - """ - ignore_empty: builtins.bool - """IgnoreEmpty specifies that the validation rules of this field should be - evaluated only if the field is not empty - """ - def __init__( - self, - *, - const: builtins.bytes | None = ..., - len: builtins.int | None = ..., - min_len: builtins.int | None = ..., - max_len: builtins.int | None = ..., - pattern: builtins.str | None = ..., - prefix: builtins.bytes | None = ..., - suffix: builtins.bytes | None = ..., - contains: builtins.bytes | None = ..., - not_in: collections.abc.Iterable[builtins.bytes] | None = ..., - ip: builtins.bool | None = ..., - ipv4: builtins.bool | None = ..., - ipv6: builtins.bool | None = ..., - ignore_empty: builtins.bool | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "const", - b"const", - "contains", - b"contains", - "ignore_empty", - b"ignore_empty", - "ip", - b"ip", - "ipv4", - b"ipv4", - "ipv6", - b"ipv6", - "len", - b"len", - "max_len", - b"max_len", - "min_len", - b"min_len", - "pattern", - b"pattern", - "prefix", - b"prefix", - "suffix", - b"suffix", - "well_known", - b"well_known", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const", - b"const", - "contains", - b"contains", - "ignore_empty", - b"ignore_empty", - "in", - b"in", - "ip", - b"ip", - "ipv4", - b"ipv4", - "ipv6", - b"ipv6", - "len", - b"len", - "max_len", - b"max_len", - "min_len", - b"min_len", - "not_in", - b"not_in", - "pattern", - b"pattern", - "prefix", - b"prefix", - "suffix", - b"suffix", - "well_known", - b"well_known", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["well_known", b"well_known"] - ) -> typing_extensions.Literal["ip", "ipv4", "ipv6"] | None: ... - -global___BytesRules = BytesRules - -class EnumRules(google.protobuf.message.Message): - """EnumRules describe the constraints applied to enum values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_FIELD_NUMBER: builtins.int - DEFINED_ONLY_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - const: builtins.int - """Const specifies that this field must be exactly the specified value""" - defined_only: builtins.bool - """DefinedOnly specifies that this field must be only one of the defined - values for this enum, failing on any undefined value. - """ - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - def __init__( - self, - *, - const: builtins.int | None = ..., - defined_only: builtins.bool | None = ..., - not_in: collections.abc.Iterable[builtins.int] | None = ..., - ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["const", b"const", "defined_only", b"defined_only"] - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const", b"const", "defined_only", b"defined_only", "in", b"in", "not_in", b"not_in" - ], - ) -> None: ... - -global___EnumRules = EnumRules - -class MessageRules(google.protobuf.message.Message): - """MessageRules describe the constraints applied to embedded message values. - For message-type fields, validation is performed recursively. - """ - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - SKIP_FIELD_NUMBER: builtins.int - REQUIRED_FIELD_NUMBER: builtins.int - skip: builtins.bool - """Skip specifies that the validation rules of this field should not be - evaluated - """ - required: builtins.bool - """Required specifies that this field must be set""" - def __init__( - self, - *, - skip: builtins.bool | None = ..., - required: builtins.bool | None = ..., - ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["required", b"required", "skip", b"skip"] - ) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["required", b"required", "skip", b"skip"]) -> None: ... - -global___MessageRules = MessageRules - -class RepeatedRules(google.protobuf.message.Message): - """RepeatedRules describe the constraints applied to `repeated` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - MIN_ITEMS_FIELD_NUMBER: builtins.int - MAX_ITEMS_FIELD_NUMBER: builtins.int - UNIQUE_FIELD_NUMBER: builtins.int - ITEMS_FIELD_NUMBER: builtins.int - IGNORE_EMPTY_FIELD_NUMBER: builtins.int - min_items: builtins.int - """MinItems specifies that this field must have the specified number of - items at a minimum - """ - max_items: builtins.int - """MaxItems specifies that this field must have the specified number of - items at a maximum - """ - unique: builtins.bool - """Unique specifies that all elements in this field must be unique. This - contraint is only applicable to scalar and enum types (messages are not - supported). - """ - @property - def items(self) -> global___FieldRules: - """Items specifies the contraints to be applied to each item in the field. - Repeated message fields will still execute validation against each item - unless skip is specified here. - """ - ignore_empty: builtins.bool - """IgnoreEmpty specifies that the validation rules of this field should be - evaluated only if the field is not empty - """ - def __init__( - self, - *, - min_items: builtins.int | None = ..., - max_items: builtins.int | None = ..., - unique: builtins.bool | None = ..., - items: global___FieldRules | None = ..., - ignore_empty: builtins.bool | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "ignore_empty", - b"ignore_empty", - "items", - b"items", - "max_items", - b"max_items", - "min_items", - b"min_items", - "unique", - b"unique", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "ignore_empty", - b"ignore_empty", - "items", - b"items", - "max_items", - b"max_items", - "min_items", - b"min_items", - "unique", - b"unique", - ], - ) -> None: ... - -global___RepeatedRules = RepeatedRules - -class MapRules(google.protobuf.message.Message): - """MapRules describe the constraints applied to `map` values""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - MIN_PAIRS_FIELD_NUMBER: builtins.int - MAX_PAIRS_FIELD_NUMBER: builtins.int - NO_SPARSE_FIELD_NUMBER: builtins.int - KEYS_FIELD_NUMBER: builtins.int - VALUES_FIELD_NUMBER: builtins.int - IGNORE_EMPTY_FIELD_NUMBER: builtins.int - min_pairs: builtins.int - """MinPairs specifies that this field must have the specified number of - KVs at a minimum - """ - max_pairs: builtins.int - """MaxPairs specifies that this field must have the specified number of - KVs at a maximum - """ - no_sparse: builtins.bool - """NoSparse specifies values in this field cannot be unset. This only - applies to map's with message value types. - """ - @property - def keys(self) -> global___FieldRules: - """Keys specifies the constraints to be applied to each key in the field.""" - @property - def values(self) -> global___FieldRules: - """Values specifies the constraints to be applied to the value of each key - in the field. Message values will still have their validations evaluated - unless skip is specified here. - """ - ignore_empty: builtins.bool - """IgnoreEmpty specifies that the validation rules of this field should be - evaluated only if the field is not empty - """ - def __init__( - self, - *, - min_pairs: builtins.int | None = ..., - max_pairs: builtins.int | None = ..., - no_sparse: builtins.bool | None = ..., - keys: global___FieldRules | None = ..., - values: global___FieldRules | None = ..., - ignore_empty: builtins.bool | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "ignore_empty", - b"ignore_empty", - "keys", - b"keys", - "max_pairs", - b"max_pairs", - "min_pairs", - b"min_pairs", - "no_sparse", - b"no_sparse", - "values", - b"values", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "ignore_empty", - b"ignore_empty", - "keys", - b"keys", - "max_pairs", - b"max_pairs", - "min_pairs", - b"min_pairs", - "no_sparse", - b"no_sparse", - "values", - b"values", - ], - ) -> None: ... - -global___MapRules = MapRules - -class AnyRules(google.protobuf.message.Message): - """AnyRules describe constraints applied exclusively to the - `google.protobuf.Any` well-known type - """ - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - REQUIRED_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - required: builtins.bool - """Required specifies that this field must be set""" - @property - def not_in(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: - """NotIn specifies that this field's `type_url` must not be equal to any of - the specified values. - """ - def __init__( - self, - *, - required: builtins.bool | None = ..., - not_in: collections.abc.Iterable[builtins.str] | None = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["required", b"required"]) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["in", b"in", "not_in", b"not_in", "required", b"required"] - ) -> None: ... - -global___AnyRules = AnyRules - -class DurationRules(google.protobuf.message.Message): - """DurationRules describe the constraints applied exclusively to the - `google.protobuf.Duration` well-known type - """ - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - REQUIRED_FIELD_NUMBER: builtins.int - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LTE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GTE_FIELD_NUMBER: builtins.int - IN_FIELD_NUMBER: builtins.int - NOT_IN_FIELD_NUMBER: builtins.int - required: builtins.bool - """Required specifies that this field must be set""" - @property - def const(self) -> google.protobuf.duration_pb2.Duration: - """Const specifies that this field must be exactly the specified value""" - @property - def lt(self) -> google.protobuf.duration_pb2.Duration: - """Lt specifies that this field must be less than the specified value, - exclusive - """ - @property - def lte(self) -> google.protobuf.duration_pb2.Duration: - """Lt specifies that this field must be less than the specified value, - inclusive - """ - @property - def gt(self) -> google.protobuf.duration_pb2.Duration: - """Gt specifies that this field must be greater than the specified value, - exclusive - """ - @property - def gte(self) -> google.protobuf.duration_pb2.Duration: - """Gte specifies that this field must be greater than the specified value, - inclusive - """ - @property - def not_in( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.duration_pb2.Duration]: - """NotIn specifies that this field cannot be equal to one of the specified - values - """ - def __init__( - self, - *, - required: builtins.bool | None = ..., - const: google.protobuf.duration_pb2.Duration | None = ..., - lt: google.protobuf.duration_pb2.Duration | None = ..., - lte: google.protobuf.duration_pb2.Duration | None = ..., - gt: google.protobuf.duration_pb2.Duration | None = ..., - gte: google.protobuf.duration_pb2.Duration | None = ..., - not_in: collections.abc.Iterable[google.protobuf.duration_pb2.Duration] | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "const", b"const", "gt", b"gt", "gte", b"gte", "lt", b"lt", "lte", b"lte", "required", b"required" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const", - b"const", - "gt", - b"gt", - "gte", - b"gte", - "in", - b"in", - "lt", - b"lt", - "lte", - b"lte", - "not_in", - b"not_in", - "required", - b"required", - ], - ) -> None: ... - -global___DurationRules = DurationRules - -class TimestampRules(google.protobuf.message.Message): - """TimestampRules describe the constraints applied exclusively to the - `google.protobuf.Timestamp` well-known type - """ - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - REQUIRED_FIELD_NUMBER: builtins.int - CONST_FIELD_NUMBER: builtins.int - LT_FIELD_NUMBER: builtins.int - LTE_FIELD_NUMBER: builtins.int - GT_FIELD_NUMBER: builtins.int - GTE_FIELD_NUMBER: builtins.int - LT_NOW_FIELD_NUMBER: builtins.int - GT_NOW_FIELD_NUMBER: builtins.int - WITHIN_FIELD_NUMBER: builtins.int - required: builtins.bool - """Required specifies that this field must be set""" - @property - def const(self) -> google.protobuf.timestamp_pb2.Timestamp: - """Const specifies that this field must be exactly the specified value""" - @property - def lt(self) -> google.protobuf.timestamp_pb2.Timestamp: - """Lt specifies that this field must be less than the specified value, - exclusive - """ - @property - def lte(self) -> google.protobuf.timestamp_pb2.Timestamp: - """Lte specifies that this field must be less than the specified value, - inclusive - """ - @property - def gt(self) -> google.protobuf.timestamp_pb2.Timestamp: - """Gt specifies that this field must be greater than the specified value, - exclusive - """ - @property - def gte(self) -> google.protobuf.timestamp_pb2.Timestamp: - """Gte specifies that this field must be greater than the specified value, - inclusive - """ - lt_now: builtins.bool - """LtNow specifies that this must be less than the current time. LtNow - can only be used with the Within rule. - """ - gt_now: builtins.bool - """GtNow specifies that this must be greater than the current time. GtNow - can only be used with the Within rule. - """ - @property - def within(self) -> google.protobuf.duration_pb2.Duration: - """Within specifies that this field must be within this duration of the - current time. This constraint can be used alone or with the LtNow and - GtNow rules. - """ - def __init__( - self, - *, - required: builtins.bool | None = ..., - const: google.protobuf.timestamp_pb2.Timestamp | None = ..., - lt: google.protobuf.timestamp_pb2.Timestamp | None = ..., - lte: google.protobuf.timestamp_pb2.Timestamp | None = ..., - gt: google.protobuf.timestamp_pb2.Timestamp | None = ..., - gte: google.protobuf.timestamp_pb2.Timestamp | None = ..., - lt_now: builtins.bool | None = ..., - gt_now: builtins.bool | None = ..., - within: google.protobuf.duration_pb2.Duration | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "const", - b"const", - "gt", - b"gt", - "gt_now", - b"gt_now", - "gte", - b"gte", - "lt", - b"lt", - "lt_now", - b"lt_now", - "lte", - b"lte", - "required", - b"required", - "within", - b"within", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const", - b"const", - "gt", - b"gt", - "gt_now", - b"gt_now", - "gte", - b"gte", - "lt", - b"lt", - "lt_now", - b"lt_now", - "lte", - b"lte", - "required", - b"required", - "within", - b"within", - ], - ) -> None: ... - -global___TimestampRules = TimestampRules - -DISABLED_FIELD_NUMBER: builtins.int -IGNORED_FIELD_NUMBER: builtins.int -REQUIRED_FIELD_NUMBER: builtins.int -RULES_FIELD_NUMBER: builtins.int -disabled: google.protobuf.internal.extension_dict._ExtensionFieldDescriptor[ - google.protobuf.descriptor_pb2.MessageOptions, builtins.bool -] -"""Disabled nullifies any validation rules for this message, including any -message fields associated with it that do support validation. -""" -ignored: google.protobuf.internal.extension_dict._ExtensionFieldDescriptor[ - google.protobuf.descriptor_pb2.MessageOptions, builtins.bool -] -"""Ignore skips generation of validation methods for this message.""" -required: google.protobuf.internal.extension_dict._ExtensionFieldDescriptor[ - google.protobuf.descriptor_pb2.OneofOptions, builtins.bool -] -"""Required ensures that exactly one the field options in a oneof is set; -validation fails if no fields in the oneof are set. -""" -rules: google.protobuf.internal.extension_dict._ExtensionFieldDescriptor[ - google.protobuf.descriptor_pb2.FieldOptions, global___FieldRules -] -"""Rules specify the validations to be performed on this field. By default, -no validation is performed against a field. -""" diff --git a/example/proto_3_20/example/example_proto/common/validate_pb2_grpc.py b/example/proto_3_20/example/example_proto/common/validate_pb2_grpc.py deleted file mode 100644 index 2dd5fd3..0000000 --- a/example/proto_3_20/example/example_proto/common/validate_pb2_grpc.py +++ /dev/null @@ -1,2 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" diff --git a/example/proto_3_20/example/example_proto/common/validate_pb2_grpc.pyi b/example/proto_3_20/example/example_proto/common/validate_pb2_grpc.pyi deleted file mode 100644 index f3a5a08..0000000 --- a/example/proto_3_20/example/example_proto/common/validate_pb2_grpc.pyi +++ /dev/null @@ -1,4 +0,0 @@ -""" -@generated by mypy-protobuf. Do not edit manually! -isort:skip_file -""" diff --git a/example/proto_3_20/example/example_proto/demo/__init__.py b/example/proto_3_20/example/example_proto/demo/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/example/proto_3_20/example/example_proto/demo/demo_p2p.py b/example/proto_3_20/example/example_proto/demo/demo_p2p.py deleted file mode 100644 index 473f295..0000000 --- a/example/proto_3_20/example/example_proto/demo/demo_p2p.py +++ /dev/null @@ -1,73 +0,0 @@ -# This is an automatically generated file, please do not change -# gen by protobuf_to_pydantic[v0.1.7.3](https://github.com/so1n/protobuf_to_pydantic) -import typing -from datetime import datetime -from enum import IntEnum - -from google.protobuf.message import Message # type: ignore -from pydantic import BaseModel, Field - -from ..common.single_p2p import DemoEnum, DemoMessage - - -class SexType(IntEnum): - man = 0 - women = 1 - - -class UserMessage(BaseModel): - uid: str = Field(default="") - age: int = Field(default=0) - height: float = Field(default=0.0) - sex: SexType = Field(default=0) - demo: DemoEnum = Field(default=0) - is_adult: bool = Field(default=False) - user_name: str = Field(default="") - demo_message: DemoMessage = Field() - - -class MapMessage(BaseModel): - user_map: typing.Dict[str, UserMessage] = Field(default_factory=dict) - user_flag: typing.Dict[str, bool] = Field(default_factory=dict) - - -class RepeatedMessage(BaseModel): - str_list: typing.List[str] = Field(default_factory=list) - int_list: typing.List[int] = Field(default_factory=list) - user_list: typing.List[UserMessage] = Field(default_factory=list) - - -class AfterReferMessage(BaseModel): - uid: str = Field(default="") - age: int = Field(default=0) - - -class NestedMessage(BaseModel): - class UserPayMessage(BaseModel): - bank_number: str = Field(default="") - exp: datetime = Field(default_factory=datetime.now) - uuid: str = Field(default="") - - class IncludeEnum(IntEnum): - zero = 0 - one = 1 - two = 2 - - user_list_map: typing.Dict[str, RepeatedMessage] = Field(default_factory=dict) - user_map: typing.Dict[str, MapMessage] = Field(default_factory=dict) - user_pay: UserPayMessage = Field() - include_enum: IncludeEnum = Field(default=0) - not_enable_user_pay: UserPayMessage = Field() - empty: None = Field() - after_refer: AfterReferMessage = Field() - - -class InvoiceItem(BaseModel): - name: str = Field(default="") - amount: int = Field(default=0) - quantity: int = Field(default=0) - items: typing.List["InvoiceItem"] = Field(default_factory=list) - - -class EmptyMessage(BaseModel): - pass diff --git a/example/proto_3_20/example/example_proto/demo/demo_pb2.py b/example/proto_3_20/example/example_proto/demo/demo_pb2.py deleted file mode 100644 index aeaef32..0000000 --- a/example/proto_3_20/example/example_proto/demo/demo_pb2.py +++ /dev/null @@ -1,1250 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: example/example_proto/demo/demo.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - -from example.proto_3_20.example.example_proto.common import ( - single_pb2 as example_dot_example__proto_dot_common_dot_single__pb2, -) - -DESCRIPTOR = _descriptor.FileDescriptor( - name="example/example_proto/demo/demo.proto", - package="user", - syntax="proto3", - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n%example/example_proto/demo/demo.proto\x12\x04user\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)example/example_proto/common/single.proto"\xc3\x01\n\x0bUserMessage\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0b\n\x03\x61ge\x18\x02 \x01(\x05\x12\x0e\n\x06height\x18\x03 \x01(\x02\x12\x1a\n\x03sex\x18\x04 \x01(\x0e\x32\r.user.SexType\x12\x1e\n\x04\x64\x65mo\x18\x06 \x01(\x0e\x32\x10.single.DemoEnum\x12\x10\n\x08is_adult\x18\x07 \x01(\x08\x12\x11\n\tuser_name\x18\x08 \x01(\t\x12)\n\x0c\x64\x65mo_message\x18\t \x01(\x0b\x32\x13.single.DemoMessage"\xe4\x01\n\nMapMessage\x12/\n\x08user_map\x18\x01 \x03(\x0b\x32\x1d.user.MapMessage.UserMapEntry\x12\x31\n\tuser_flag\x18\x02 \x03(\x0b\x32\x1e.user.MapMessage.UserFlagEntry\x1a\x41\n\x0cUserMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12 \n\x05value\x18\x02 \x01(\x0b\x32\x11.user.UserMessage:\x02\x38\x01\x1a/\n\rUserFlagEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01"[\n\x0fRepeatedMessage\x12\x10\n\x08str_list\x18\x01 \x03(\t\x12\x10\n\x08int_list\x18\x02 \x03(\x05\x12$\n\tuser_list\x18\x03 \x03(\x0b\x32\x11.user.UserMessage"\x99\x05\n\rNestedMessage\x12;\n\ruser_list_map\x18\x01 \x03(\x0b\x32$.user.NestedMessage.UserListMapEntry\x12\x32\n\x08user_map\x18\x02 \x03(\x0b\x32 .user.NestedMessage.UserMapEntry\x12\x34\n\x08user_pay\x18\x03 \x01(\x0b\x32".user.NestedMessage.UserPayMessage\x12\x35\n\x0cinclude_enum\x18\x04 \x01(\x0e\x32\x1f.user.NestedMessage.IncludeEnum\x12?\n\x13not_enable_user_pay\x18\x05 \x01(\x0b\x32".user.NestedMessage.UserPayMessage\x12%\n\x05\x65mpty\x18\x06 \x01(\x0b\x32\x16.google.protobuf.Empty\x12,\n\x0b\x61\x66ter_refer\x18\x07 \x01(\x0b\x32\x17.user.AfterReferMessage\x1a\\\n\x0eUserPayMessage\x12\x13\n\x0b\x62\x61nk_number\x18\x01 \x01(\t\x12\'\n\x03\x65xp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04uuid\x18\x03 \x01(\t\x1aI\n\x10UserListMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.user.RepeatedMessage:\x02\x38\x01\x1a@\n\x0cUserMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1f\n\x05value\x18\x02 \x01(\x0b\x32\x10.user.MapMessage:\x02\x38\x01")\n\x0bIncludeEnum\x12\x08\n\x04zero\x10\x00\x12\x07\n\x03one\x10\x01\x12\x07\n\x03two\x10\x02"-\n\x11\x41\x66terReferMessage\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0b\n\x03\x61ge\x18\x02 \x01(\x05"_\n\x0bInvoiceItem\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x05\x12\x10\n\x08quantity\x18\x03 \x01(\x05\x12 \n\x05items\x18\x04 \x03(\x0b\x32\x11.user.InvoiceItem"\x0e\n\x0c\x45mptyMessage*\x1d\n\x07SexType\x12\x07\n\x03man\x10\x00\x12\t\n\x05women\x10\x01\x62\x06proto3', - dependencies=[ - google_dot_protobuf_dot_empty__pb2.DESCRIPTOR, - google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR, - example_dot_example__proto_dot_common_dot_single__pb2.DESCRIPTOR, - ], -) - -_SEXTYPE = _descriptor.EnumDescriptor( - name="SexType", - full_name="user.SexType", - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name="man", - index=0, - number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="women", - index=1, - number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - ], - containing_type=None, - serialized_options=None, - serialized_start=1502, - serialized_end=1531, -) -_sym_db.RegisterEnumDescriptor(_SEXTYPE) - -SexType = enum_type_wrapper.EnumTypeWrapper(_SEXTYPE) -man = 0 -women = 1 - - -_NESTEDMESSAGE_INCLUDEENUM = _descriptor.EnumDescriptor( - name="IncludeEnum", - full_name="user.NestedMessage.IncludeEnum", - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name="zero", - index=0, - number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="one", - index=1, - number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="two", - index=2, - number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - ], - containing_type=None, - serialized_options=None, - serialized_start=1299, - serialized_end=1340, -) -_sym_db.RegisterEnumDescriptor(_NESTEDMESSAGE_INCLUDEENUM) - - -_USERMESSAGE = _descriptor.Descriptor( - name="UserMessage", - full_name="user.UserMessage", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="uid", - full_name="user.UserMessage.uid", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="age", - full_name="user.UserMessage.age", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="height", - full_name="user.UserMessage.height", - index=2, - number=3, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="sex", - full_name="user.UserMessage.sex", - index=3, - number=4, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="demo", - full_name="user.UserMessage.demo", - index=4, - number=6, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="is_adult", - full_name="user.UserMessage.is_adult", - index=5, - number=7, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="user_name", - full_name="user.UserMessage.user_name", - index=6, - number=8, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="demo_message", - full_name="user.UserMessage.demo_message", - index=7, - number=9, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=153, - serialized_end=348, -) - - -_MAPMESSAGE_USERMAPENTRY = _descriptor.Descriptor( - name="UserMapEntry", - full_name="user.MapMessage.UserMapEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="user.MapMessage.UserMapEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="user.MapMessage.UserMapEntry.value", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=465, - serialized_end=530, -) - -_MAPMESSAGE_USERFLAGENTRY = _descriptor.Descriptor( - name="UserFlagEntry", - full_name="user.MapMessage.UserFlagEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="user.MapMessage.UserFlagEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="user.MapMessage.UserFlagEntry.value", - index=1, - number=2, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=532, - serialized_end=579, -) - -_MAPMESSAGE = _descriptor.Descriptor( - name="MapMessage", - full_name="user.MapMessage", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="user_map", - full_name="user.MapMessage.user_map", - index=0, - number=1, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="user_flag", - full_name="user.MapMessage.user_flag", - index=1, - number=2, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[ - _MAPMESSAGE_USERMAPENTRY, - _MAPMESSAGE_USERFLAGENTRY, - ], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=351, - serialized_end=579, -) - - -_REPEATEDMESSAGE = _descriptor.Descriptor( - name="RepeatedMessage", - full_name="user.RepeatedMessage", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="str_list", - full_name="user.RepeatedMessage.str_list", - index=0, - number=1, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="int_list", - full_name="user.RepeatedMessage.int_list", - index=1, - number=2, - type=5, - cpp_type=1, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="user_list", - full_name="user.RepeatedMessage.user_list", - index=2, - number=3, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=581, - serialized_end=672, -) - - -_NESTEDMESSAGE_USERPAYMESSAGE = _descriptor.Descriptor( - name="UserPayMessage", - full_name="user.NestedMessage.UserPayMessage", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="bank_number", - full_name="user.NestedMessage.UserPayMessage.bank_number", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="exp", - full_name="user.NestedMessage.UserPayMessage.exp", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="uuid", - full_name="user.NestedMessage.UserPayMessage.uuid", - index=2, - number=3, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1064, - serialized_end=1156, -) - -_NESTEDMESSAGE_USERLISTMAPENTRY = _descriptor.Descriptor( - name="UserListMapEntry", - full_name="user.NestedMessage.UserListMapEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="user.NestedMessage.UserListMapEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="user.NestedMessage.UserListMapEntry.value", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1158, - serialized_end=1231, -) - -_NESTEDMESSAGE_USERMAPENTRY = _descriptor.Descriptor( - name="UserMapEntry", - full_name="user.NestedMessage.UserMapEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="user.NestedMessage.UserMapEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="user.NestedMessage.UserMapEntry.value", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1233, - serialized_end=1297, -) - -_NESTEDMESSAGE = _descriptor.Descriptor( - name="NestedMessage", - full_name="user.NestedMessage", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="user_list_map", - full_name="user.NestedMessage.user_list_map", - index=0, - number=1, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="user_map", - full_name="user.NestedMessage.user_map", - index=1, - number=2, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="user_pay", - full_name="user.NestedMessage.user_pay", - index=2, - number=3, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="include_enum", - full_name="user.NestedMessage.include_enum", - index=3, - number=4, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_enable_user_pay", - full_name="user.NestedMessage.not_enable_user_pay", - index=4, - number=5, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="empty", - full_name="user.NestedMessage.empty", - index=5, - number=6, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="after_refer", - full_name="user.NestedMessage.after_refer", - index=6, - number=7, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[ - _NESTEDMESSAGE_USERPAYMESSAGE, - _NESTEDMESSAGE_USERLISTMAPENTRY, - _NESTEDMESSAGE_USERMAPENTRY, - ], - enum_types=[ - _NESTEDMESSAGE_INCLUDEENUM, - ], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=675, - serialized_end=1340, -) - - -_AFTERREFERMESSAGE = _descriptor.Descriptor( - name="AfterReferMessage", - full_name="user.AfterReferMessage", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="uid", - full_name="user.AfterReferMessage.uid", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="age", - full_name="user.AfterReferMessage.age", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1342, - serialized_end=1387, -) - - -_INVOICEITEM = _descriptor.Descriptor( - name="InvoiceItem", - full_name="user.InvoiceItem", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="name", - full_name="user.InvoiceItem.name", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="amount", - full_name="user.InvoiceItem.amount", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="quantity", - full_name="user.InvoiceItem.quantity", - index=2, - number=3, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="items", - full_name="user.InvoiceItem.items", - index=3, - number=4, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1389, - serialized_end=1484, -) - - -_EMPTYMESSAGE = _descriptor.Descriptor( - name="EmptyMessage", - full_name="user.EmptyMessage", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1486, - serialized_end=1500, -) - -_USERMESSAGE.fields_by_name["sex"].enum_type = _SEXTYPE -_USERMESSAGE.fields_by_name["demo"].enum_type = example_dot_example__proto_dot_common_dot_single__pb2._DEMOENUM -_USERMESSAGE.fields_by_name[ - "demo_message" -].message_type = example_dot_example__proto_dot_common_dot_single__pb2._DEMOMESSAGE -_MAPMESSAGE_USERMAPENTRY.fields_by_name["value"].message_type = _USERMESSAGE -_MAPMESSAGE_USERMAPENTRY.containing_type = _MAPMESSAGE -_MAPMESSAGE_USERFLAGENTRY.containing_type = _MAPMESSAGE -_MAPMESSAGE.fields_by_name["user_map"].message_type = _MAPMESSAGE_USERMAPENTRY -_MAPMESSAGE.fields_by_name["user_flag"].message_type = _MAPMESSAGE_USERFLAGENTRY -_REPEATEDMESSAGE.fields_by_name["user_list"].message_type = _USERMESSAGE -_NESTEDMESSAGE_USERPAYMESSAGE.fields_by_name["exp"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_NESTEDMESSAGE_USERPAYMESSAGE.containing_type = _NESTEDMESSAGE -_NESTEDMESSAGE_USERLISTMAPENTRY.fields_by_name["value"].message_type = _REPEATEDMESSAGE -_NESTEDMESSAGE_USERLISTMAPENTRY.containing_type = _NESTEDMESSAGE -_NESTEDMESSAGE_USERMAPENTRY.fields_by_name["value"].message_type = _MAPMESSAGE -_NESTEDMESSAGE_USERMAPENTRY.containing_type = _NESTEDMESSAGE -_NESTEDMESSAGE.fields_by_name["user_list_map"].message_type = _NESTEDMESSAGE_USERLISTMAPENTRY -_NESTEDMESSAGE.fields_by_name["user_map"].message_type = _NESTEDMESSAGE_USERMAPENTRY -_NESTEDMESSAGE.fields_by_name["user_pay"].message_type = _NESTEDMESSAGE_USERPAYMESSAGE -_NESTEDMESSAGE.fields_by_name["include_enum"].enum_type = _NESTEDMESSAGE_INCLUDEENUM -_NESTEDMESSAGE.fields_by_name["not_enable_user_pay"].message_type = _NESTEDMESSAGE_USERPAYMESSAGE -_NESTEDMESSAGE.fields_by_name["empty"].message_type = google_dot_protobuf_dot_empty__pb2._EMPTY -_NESTEDMESSAGE.fields_by_name["after_refer"].message_type = _AFTERREFERMESSAGE -_NESTEDMESSAGE_INCLUDEENUM.containing_type = _NESTEDMESSAGE -_INVOICEITEM.fields_by_name["items"].message_type = _INVOICEITEM -DESCRIPTOR.message_types_by_name["UserMessage"] = _USERMESSAGE -DESCRIPTOR.message_types_by_name["MapMessage"] = _MAPMESSAGE -DESCRIPTOR.message_types_by_name["RepeatedMessage"] = _REPEATEDMESSAGE -DESCRIPTOR.message_types_by_name["NestedMessage"] = _NESTEDMESSAGE -DESCRIPTOR.message_types_by_name["AfterReferMessage"] = _AFTERREFERMESSAGE -DESCRIPTOR.message_types_by_name["InvoiceItem"] = _INVOICEITEM -DESCRIPTOR.message_types_by_name["EmptyMessage"] = _EMPTYMESSAGE -DESCRIPTOR.enum_types_by_name["SexType"] = _SEXTYPE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -UserMessage = _reflection.GeneratedProtocolMessageType( - "UserMessage", - (_message.Message,), - { - "DESCRIPTOR": _USERMESSAGE, - "__module__": "example.example_proto.demo.demo_pb2" - # @@protoc_insertion_point(class_scope:user.UserMessage) - }, -) -_sym_db.RegisterMessage(UserMessage) - -MapMessage = _reflection.GeneratedProtocolMessageType( - "MapMessage", - (_message.Message,), - { - "UserMapEntry": _reflection.GeneratedProtocolMessageType( - "UserMapEntry", - (_message.Message,), - { - "DESCRIPTOR": _MAPMESSAGE_USERMAPENTRY, - "__module__": "example.example_proto.demo.demo_pb2" - # @@protoc_insertion_point(class_scope:user.MapMessage.UserMapEntry) - }, - ), - "UserFlagEntry": _reflection.GeneratedProtocolMessageType( - "UserFlagEntry", - (_message.Message,), - { - "DESCRIPTOR": _MAPMESSAGE_USERFLAGENTRY, - "__module__": "example.example_proto.demo.demo_pb2" - # @@protoc_insertion_point(class_scope:user.MapMessage.UserFlagEntry) - }, - ), - "DESCRIPTOR": _MAPMESSAGE, - "__module__": "example.example_proto.demo.demo_pb2" - # @@protoc_insertion_point(class_scope:user.MapMessage) - }, -) -_sym_db.RegisterMessage(MapMessage) -_sym_db.RegisterMessage(MapMessage.UserMapEntry) -_sym_db.RegisterMessage(MapMessage.UserFlagEntry) - -RepeatedMessage = _reflection.GeneratedProtocolMessageType( - "RepeatedMessage", - (_message.Message,), - { - "DESCRIPTOR": _REPEATEDMESSAGE, - "__module__": "example.example_proto.demo.demo_pb2" - # @@protoc_insertion_point(class_scope:user.RepeatedMessage) - }, -) -_sym_db.RegisterMessage(RepeatedMessage) - -NestedMessage = _reflection.GeneratedProtocolMessageType( - "NestedMessage", - (_message.Message,), - { - "UserPayMessage": _reflection.GeneratedProtocolMessageType( - "UserPayMessage", - (_message.Message,), - { - "DESCRIPTOR": _NESTEDMESSAGE_USERPAYMESSAGE, - "__module__": "example.example_proto.demo.demo_pb2" - # @@protoc_insertion_point(class_scope:user.NestedMessage.UserPayMessage) - }, - ), - "UserListMapEntry": _reflection.GeneratedProtocolMessageType( - "UserListMapEntry", - (_message.Message,), - { - "DESCRIPTOR": _NESTEDMESSAGE_USERLISTMAPENTRY, - "__module__": "example.example_proto.demo.demo_pb2" - # @@protoc_insertion_point(class_scope:user.NestedMessage.UserListMapEntry) - }, - ), - "UserMapEntry": _reflection.GeneratedProtocolMessageType( - "UserMapEntry", - (_message.Message,), - { - "DESCRIPTOR": _NESTEDMESSAGE_USERMAPENTRY, - "__module__": "example.example_proto.demo.demo_pb2" - # @@protoc_insertion_point(class_scope:user.NestedMessage.UserMapEntry) - }, - ), - "DESCRIPTOR": _NESTEDMESSAGE, - "__module__": "example.example_proto.demo.demo_pb2" - # @@protoc_insertion_point(class_scope:user.NestedMessage) - }, -) -_sym_db.RegisterMessage(NestedMessage) -_sym_db.RegisterMessage(NestedMessage.UserPayMessage) -_sym_db.RegisterMessage(NestedMessage.UserListMapEntry) -_sym_db.RegisterMessage(NestedMessage.UserMapEntry) - -AfterReferMessage = _reflection.GeneratedProtocolMessageType( - "AfterReferMessage", - (_message.Message,), - { - "DESCRIPTOR": _AFTERREFERMESSAGE, - "__module__": "example.example_proto.demo.demo_pb2" - # @@protoc_insertion_point(class_scope:user.AfterReferMessage) - }, -) -_sym_db.RegisterMessage(AfterReferMessage) - -InvoiceItem = _reflection.GeneratedProtocolMessageType( - "InvoiceItem", - (_message.Message,), - { - "DESCRIPTOR": _INVOICEITEM, - "__module__": "example.example_proto.demo.demo_pb2" - # @@protoc_insertion_point(class_scope:user.InvoiceItem) - }, -) -_sym_db.RegisterMessage(InvoiceItem) - -EmptyMessage = _reflection.GeneratedProtocolMessageType( - "EmptyMessage", - (_message.Message,), - { - "DESCRIPTOR": _EMPTYMESSAGE, - "__module__": "example.example_proto.demo.demo_pb2" - # @@protoc_insertion_point(class_scope:user.EmptyMessage) - }, -) -_sym_db.RegisterMessage(EmptyMessage) - - -_MAPMESSAGE_USERMAPENTRY._options = None -_MAPMESSAGE_USERFLAGENTRY._options = None -_NESTEDMESSAGE_USERLISTMAPENTRY._options = None -_NESTEDMESSAGE_USERMAPENTRY._options = None -# @@protoc_insertion_point(module_scope) diff --git a/example/proto_3_20/example/example_proto/demo/demo_pb2.pyi b/example/proto_3_20/example/example_proto/demo/demo_pb2.pyi deleted file mode 100644 index 2063352..0000000 --- a/example/proto_3_20/example/example_proto/demo/demo_pb2.pyi +++ /dev/null @@ -1,405 +0,0 @@ -""" -@generated by mypy-protobuf. Do not edit manually! -isort:skip_file -""" -import builtins -import collections.abc -import example.example_proto.common.single_pb2 -import google.protobuf.descriptor -import google.protobuf.empty_pb2 -import google.protobuf.internal.containers -import google.protobuf.internal.enum_type_wrapper -import google.protobuf.message -import google.protobuf.timestamp_pb2 -import sys -import typing - -if sys.version_info >= (3, 10): - import typing as typing_extensions -else: - import typing_extensions - -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor - -class _SexType: - ValueType = typing.NewType("ValueType", builtins.int) - V: typing_extensions.TypeAlias = ValueType - -class _SexTypeEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_SexType.ValueType], builtins.type -): # noqa: F821 - DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - man: _SexType.ValueType # 0 - women: _SexType.ValueType # 1 - -class SexType(_SexType, metaclass=_SexTypeEnumTypeWrapper): ... - -man: SexType.ValueType # 0 -women: SexType.ValueType # 1 -global___SexType = SexType - -class UserMessage(google.protobuf.message.Message): - """user info""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - UID_FIELD_NUMBER: builtins.int - AGE_FIELD_NUMBER: builtins.int - HEIGHT_FIELD_NUMBER: builtins.int - SEX_FIELD_NUMBER: builtins.int - DEMO_FIELD_NUMBER: builtins.int - IS_ADULT_FIELD_NUMBER: builtins.int - USER_NAME_FIELD_NUMBER: builtins.int - DEMO_MESSAGE_FIELD_NUMBER: builtins.int - uid: builtins.str - """p2p: {"miss_default": true, "example": "10086", "title": "UID", "description": "user union id"}""" - age: builtins.int - """p2p: {"example": 18, "title": "use age", "ge": 0}""" - height: builtins.float - """p2p: {"ge": 0, "le": 2.5}""" - sex: global___SexType.ValueType - demo: example.example_proto.common.single_pb2.DemoEnum.ValueType - is_adult: builtins.bool - user_name: builtins.str - """p2p: {"description": "user name"} - p2p: {"default": "", "min_length": 1, "max_length": "10", "example": "so1n"} - """ - @property - def demo_message(self) -> example.example_proto.common.single_pb2.DemoMessage: - """p2p: {"extra": {"customer_string": "c1", "customer_int": 1}}""" - def __init__( - self, - *, - uid: builtins.str = ..., - age: builtins.int = ..., - height: builtins.float = ..., - sex: global___SexType.ValueType = ..., - demo: example.example_proto.common.single_pb2.DemoEnum.ValueType = ..., - is_adult: builtins.bool = ..., - user_name: builtins.str = ..., - demo_message: example.example_proto.common.single_pb2.DemoMessage | None = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["demo_message", b"demo_message"]) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "age", - b"age", - "demo", - b"demo", - "demo_message", - b"demo_message", - "height", - b"height", - "is_adult", - b"is_adult", - "sex", - b"sex", - "uid", - b"uid", - "user_name", - b"user_name", - ], - ) -> None: ... - -global___UserMessage = UserMessage - -class MapMessage(google.protobuf.message.Message): - """test map message and bad message""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - class UserMapEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - @property - def value(self) -> global___UserMessage: ... - def __init__( - self, - *, - key: builtins.str = ..., - value: global___UserMessage | None = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - class UserFlagEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.bool - def __init__( - self, - *, - key: builtins.str = ..., - value: builtins.bool = ..., - ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - USER_MAP_FIELD_NUMBER: builtins.int - USER_FLAG_FIELD_NUMBER: builtins.int - @property - def user_map(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___UserMessage]: ... - @property - def user_flag(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.bool]: ... - def __init__( - self, - *, - user_map: collections.abc.Mapping[builtins.str, global___UserMessage] | None = ..., - user_flag: collections.abc.Mapping[builtins.str, builtins.bool] | None = ..., - ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["user_flag", b"user_flag", "user_map", b"user_map"] - ) -> None: ... - -global___MapMessage = MapMessage - -class RepeatedMessage(google.protobuf.message.Message): - """test repeated msg""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - STR_LIST_FIELD_NUMBER: builtins.int - INT_LIST_FIELD_NUMBER: builtins.int - USER_LIST_FIELD_NUMBER: builtins.int - @property - def str_list(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: - """p2p: {"min_items": 3, "max_items": 5}""" - @property - def int_list(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: - """p2p: {"min_items": 1, "max_items": 5, "unique_items": true}""" - @property - def user_list( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___UserMessage]: ... - def __init__( - self, - *, - str_list: collections.abc.Iterable[builtins.str] | None = ..., - int_list: collections.abc.Iterable[builtins.int] | None = ..., - user_list: collections.abc.Iterable[global___UserMessage] | None = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "int_list", b"int_list", "str_list", b"str_list", "user_list", b"user_list" - ], - ) -> None: ... - -global___RepeatedMessage = RepeatedMessage - -class NestedMessage(google.protobuf.message.Message): - """test nested message""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - class _IncludeEnum: - ValueType = typing.NewType("ValueType", builtins.int) - V: typing_extensions.TypeAlias = ValueType - - class _IncludeEnumEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[NestedMessage._IncludeEnum.ValueType], builtins.type - ): # noqa: F821 - DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - zero: NestedMessage._IncludeEnum.ValueType # 0 - one: NestedMessage._IncludeEnum.ValueType # 1 - two: NestedMessage._IncludeEnum.ValueType # 2 - - class IncludeEnum(_IncludeEnum, metaclass=_IncludeEnumEnumTypeWrapper): ... - zero: NestedMessage.IncludeEnum.ValueType # 0 - one: NestedMessage.IncludeEnum.ValueType # 1 - two: NestedMessage.IncludeEnum.ValueType # 2 - - class UserPayMessage(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - BANK_NUMBER_FIELD_NUMBER: builtins.int - EXP_FIELD_NUMBER: builtins.int - UUID_FIELD_NUMBER: builtins.int - bank_number: builtins.str - """p2p: {"type": "p2p@import|pydantic.types|PaymentCardNumber"}""" - @property - def exp(self) -> google.protobuf.timestamp_pb2.Timestamp: - """p2p: {"default_factory": "p2p@local|exp_time"}""" - uuid: builtins.str - """p2p: {"default_factory": "p2p@local|uuid4"}""" - def __init__( - self, - *, - bank_number: builtins.str = ..., - exp: google.protobuf.timestamp_pb2.Timestamp | None = ..., - uuid: builtins.str = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["exp", b"exp"]) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["bank_number", b"bank_number", "exp", b"exp", "uuid", b"uuid"] - ) -> None: ... - - class UserListMapEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - @property - def value(self) -> global___RepeatedMessage: ... - def __init__( - self, - *, - key: builtins.str = ..., - value: global___RepeatedMessage | None = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - class UserMapEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - @property - def value(self) -> global___MapMessage: ... - def __init__( - self, - *, - key: builtins.str = ..., - value: global___MapMessage | None = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - USER_LIST_MAP_FIELD_NUMBER: builtins.int - USER_MAP_FIELD_NUMBER: builtins.int - USER_PAY_FIELD_NUMBER: builtins.int - INCLUDE_ENUM_FIELD_NUMBER: builtins.int - NOT_ENABLE_USER_PAY_FIELD_NUMBER: builtins.int - EMPTY_FIELD_NUMBER: builtins.int - AFTER_REFER_FIELD_NUMBER: builtins.int - @property - def user_list_map( - self, - ) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___RepeatedMessage]: ... - @property - def user_map(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___MapMessage]: ... - @property - def user_pay(self) -> global___NestedMessage.UserPayMessage: ... - include_enum: global___NestedMessage.IncludeEnum.ValueType - @property - def not_enable_user_pay(self) -> global___NestedMessage.UserPayMessage: - """p2p: {"enable": false}""" - @property - def empty(self) -> google.protobuf.empty_pb2.Empty: ... - @property - def after_refer(self) -> global___AfterReferMessage: ... - def __init__( - self, - *, - user_list_map: collections.abc.Mapping[builtins.str, global___RepeatedMessage] | None = ..., - user_map: collections.abc.Mapping[builtins.str, global___MapMessage] | None = ..., - user_pay: global___NestedMessage.UserPayMessage | None = ..., - include_enum: global___NestedMessage.IncludeEnum.ValueType = ..., - not_enable_user_pay: global___NestedMessage.UserPayMessage | None = ..., - empty: google.protobuf.empty_pb2.Empty | None = ..., - after_refer: global___AfterReferMessage | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "after_refer", - b"after_refer", - "empty", - b"empty", - "not_enable_user_pay", - b"not_enable_user_pay", - "user_pay", - b"user_pay", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "after_refer", - b"after_refer", - "empty", - b"empty", - "include_enum", - b"include_enum", - "not_enable_user_pay", - b"not_enable_user_pay", - "user_list_map", - b"user_list_map", - "user_map", - b"user_map", - "user_pay", - b"user_pay", - ], - ) -> None: ... - -global___NestedMessage = NestedMessage - -class AfterReferMessage(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - UID_FIELD_NUMBER: builtins.int - AGE_FIELD_NUMBER: builtins.int - uid: builtins.str - """p2p: {"miss_default": true, "example": "10086", "title": "UID", "description": "user union id"}""" - age: builtins.int - """p2p: {"example": 18, "title": "use age", "ge": 0}""" - def __init__( - self, - *, - uid: builtins.str = ..., - age: builtins.int = ..., - ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["age", b"age", "uid", b"uid"]) -> None: ... - -global___AfterReferMessage = AfterReferMessage - -class InvoiceItem(google.protobuf.message.Message): - """Test self-referencing Messages - from: https://github.com/so1n/protobuf_to_pydantic/issues/7#issuecomment-1490705932 - """ - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - NAME_FIELD_NUMBER: builtins.int - AMOUNT_FIELD_NUMBER: builtins.int - QUANTITY_FIELD_NUMBER: builtins.int - ITEMS_FIELD_NUMBER: builtins.int - name: builtins.str - amount: builtins.int - quantity: builtins.int - @property - def items(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___InvoiceItem]: ... - def __init__( - self, - *, - name: builtins.str = ..., - amount: builtins.int = ..., - quantity: builtins.int = ..., - items: collections.abc.Iterable[global___InvoiceItem] | None = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "amount", b"amount", "items", b"items", "name", b"name", "quantity", b"quantity" - ], - ) -> None: ... - -global___InvoiceItem = InvoiceItem - -class EmptyMessage(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - def __init__( - self, - ) -> None: ... - -global___EmptyMessage = EmptyMessage diff --git a/example/proto_3_20/example/example_proto/demo/demo_pb2_grpc.py b/example/proto_3_20/example/example_proto/demo/demo_pb2_grpc.py deleted file mode 100644 index 2dd5fd3..0000000 --- a/example/proto_3_20/example/example_proto/demo/demo_pb2_grpc.py +++ /dev/null @@ -1,2 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" diff --git a/example/proto_3_20/example/example_proto/demo/demo_pb2_grpc.pyi b/example/proto_3_20/example/example_proto/demo/demo_pb2_grpc.pyi deleted file mode 100644 index f3a5a08..0000000 --- a/example/proto_3_20/example/example_proto/demo/demo_pb2_grpc.pyi +++ /dev/null @@ -1,4 +0,0 @@ -""" -@generated by mypy-protobuf. Do not edit manually! -isort:skip_file -""" diff --git a/example/proto_3_20/example/example_proto/p2p_validate/__init__.py b/example/proto_3_20/example/example_proto/p2p_validate/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/example/proto_3_20/example/example_proto/p2p_validate/demo_p2p.py b/example/proto_3_20/example/example_proto/p2p_validate/demo_p2p.py deleted file mode 100644 index 22b5f66..0000000 --- a/example/proto_3_20/example/example_proto/p2p_validate/demo_p2p.py +++ /dev/null @@ -1,645 +0,0 @@ -# This is an automatically generated file, please do not change -# gen by protobuf_to_pydantic[v0.1.7.3](https://github.com/so1n/protobuf_to_pydantic) -import typing -from datetime import datetime, timedelta -from enum import IntEnum -from ipaddress import IPv4Address, IPv6Address -from uuid import UUID, uuid4 - -from google.protobuf.any_pb2 import Any # type: ignore -from google.protobuf.message import Message # type: ignore -from pydantic import BaseModel, Field, root_validator, validator -from pydantic.networks import AnyUrl, EmailStr, IPvAnyAddress -from pydantic.types import conbytes, confloat, conint, conlist, constr - -from example.plugin_config import CustomerField, customer_any -from protobuf_to_pydantic.customer_con_type import contimedelta, contimestamp -from protobuf_to_pydantic.customer_validator import ( - any_in_validator, - any_not_in_validator, - check_one_of, - contains_validator, - duration_const_validator, - duration_ge_validator, - duration_gt_validator, - duration_in_validator, - duration_le_validator, - duration_lt_validator, - duration_not_in_validator, - in_validator, - len_validator, - map_max_pairs_validator, - map_min_pairs_validator, - not_contains_validator, - not_in_validator, - prefix_validator, - suffix_validator, - timestamp_const_validator, - timestamp_ge_validator, - timestamp_gt_now_validator, - timestamp_gt_validator, - timestamp_le_validator, - timestamp_lt_now_validator, - timestamp_lt_validator, - timestamp_within_validator, -) -from protobuf_to_pydantic.get_desc.from_pb_option.types import HostNameStr, UriRefStr -from protobuf_to_pydantic.util import Timedelta - - -class State(IntEnum): - INACTIVE = 0 - PENDING = 1 - ACTIVE = 2 - - -class FloatTest(BaseModel): - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: float = Field(default=1.0, const=True) - range_e_test: float = Field(default=0.0, ge=1, le=10) - range_test: float = Field(default=0.0, gt=1, lt=10) - in_test: float = Field(default=0.0, in_=[1.0, 2.0, 3.0]) - not_in_test: float = Field(default=0.0, not_in=[1.0, 2.0, 3.0]) - default_test: float = Field(default=1.0) - default_factory_test: float = Field(default_factory=float) - miss_default_test: float = Field() - alias_test: float = Field(default=0.0, alias="alias") - desc_test: float = Field(default=0.0, description="test desc") - multiple_of_test: float = Field(default=0.0, multiple_of=3) - example_test: float = Field(default=0.0, example=1.0) - example_factory: float = Field(default=0.0, example=float) - field_test: float = CustomerField(default=0.0) - type_test: confloat() = Field(default=0.0) - title_test: float = Field(default=0.0, title="title_test") - extra_test: float = Field(default=0.0, customer_string="c1", customer_int=1) - - -class DoubleTest(BaseModel): - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: float = Field(default=1.0, const=True) - range_e_test: float = Field(default=0.0, ge=1, le=10) - range_test: float = Field(default=0.0, gt=1, lt=10) - in_test: float = Field(default=0.0, in_=[1.0, 2.0, 3.0]) - not_in_test: float = Field(default=0.0, not_in=[1.0, 2.0, 3.0]) - default_test: float = Field(default=1.0) - default_factory_test: float = Field(default_factory=float) - miss_default_test: float = Field() - alias_test: float = Field(default=0.0, alias="alias") - desc_test: float = Field(default=0.0, description="test desc") - multiple_of_test: float = Field(default=0.0, multiple_of=3) - example_test: float = Field(default=0.0, example=1.0) - example_factory: float = Field(default=0.0, example=float) - field_test: float = CustomerField(default=0.0) - type_test: confloat() = Field(default=0.0) - title_test: float = Field(default=0.0, title="title_test") - extra_test: float = Field(default=0.0, customer_string="c1", customer_int=1) - - -class Int32Test(BaseModel): - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: int = Field(default=1, const=True) - range_e_test: int = Field(default=0, ge=1, le=10) - range_test: int = Field(default=0, gt=1, lt=10) - in_test: int = Field(default=0, in_=[1, 2, 3]) - not_in_test: int = Field(default=0, not_in=[1, 2, 3]) - default_test: int = Field(default=1.0) - default_factory_test: int = Field(default_factory=int) - miss_default_test: int = Field() - alias_test: int = Field(default=0, alias="alias") - desc_test: int = Field(default=0, description="test desc") - multiple_of_test: int = Field(default=0, multiple_of=3) - example_test: int = Field(default=0, example=1.0) - example_factory: int = Field(default=0, example=int) - field_test: int = CustomerField(default=0) - type_test: confloat() = Field(default=0) - title_test: int = Field(default=0, title="title_test") - extra_test: int = Field(default=0, customer_string="c1", customer_int=1) - - -class Int64Test(BaseModel): - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: int = Field(default=1, const=True) - range_e_test: int = Field(default=0, ge=1, le=10) - range_test: int = Field(default=0, gt=1, lt=10) - in_test: int = Field(default=0, in_=[1, 2, 3]) - not_in_test: int = Field(default=0, not_in=[1, 2, 3]) - default_test: int = Field(default=1.0) - default_factory_test: int = Field(default_factory=int) - miss_default_test: int = Field() - alias_test: int = Field(default=0, alias="alias") - desc_test: int = Field(default=0, description="test desc") - multiple_of_test: int = Field(default=0, multiple_of=3) - example_test: int = Field(default=0, example=1.0) - example_factory: int = Field(default=0, example=int) - field_test: int = CustomerField(default=0) - type_test: confloat() = Field(default=0) - title_test: int = Field(default=0, title="title_test") - extra_test: int = Field(default=0, customer_string="c1", customer_int=1) - - -class Uint32Test(BaseModel): - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: int = Field(default=1, const=True) - range_e_test: int = Field(default=0, ge=1, le=10) - range_test: int = Field(default=0, gt=1, lt=10) - in_test: int = Field(default=0, in_=[1, 2, 3]) - not_in_test: int = Field(default=0, not_in=[1, 2, 3]) - default_test: int = Field(default=1.0) - default_factory_test: int = Field(default_factory=int) - miss_default_test: int = Field() - alias_test: int = Field(default=0, alias="alias") - desc_test: int = Field(default=0, description="test desc") - multiple_of_test: int = Field(default=0, multiple_of=3) - example_test: int = Field(default=0, example=1.0) - example_factory: int = Field(default=0, example=int) - field_test: int = CustomerField(default=0) - type_test: conint() = Field(default=0) - title_test: int = Field(default=0, title="title_test") - extra_test: int = Field(default=0, customer_string="c1", customer_int=1) - - -class Sint32Test(BaseModel): - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: int = Field(default=1, const=True) - range_e_test: int = Field(default=0, ge=1, le=10) - range_test: int = Field(default=0, gt=1, lt=10) - in_test: int = Field(default=0, in_=[1, 2, 3]) - not_in_test: int = Field(default=0, not_in=[1, 2, 3]) - default_test: int = Field(default=1.0) - default_factory_test: int = Field(default_factory=int) - miss_default_test: int = Field() - alias_test: int = Field(default=0, alias="alias") - desc_test: int = Field(default=0, description="test desc") - multiple_of_test: int = Field(default=0, multiple_of=3) - example_test: int = Field(default=0, example=1.0) - example_factory: int = Field(default=0, example=int) - field_test: int = CustomerField(default=0) - type_test: conint() = Field(default=0) - title_test: int = Field(default=0, title="title_test") - extra_test: int = Field(default=0, customer_string="c1", customer_int=1) - - -class Uint64Test(BaseModel): - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: int = Field(default=1, const=True) - range_e_test: int = Field(default=0, ge=1, le=10) - range_test: int = Field(default=0, gt=1, lt=10) - in_test: int = Field(default=0, in_=[1, 2, 3]) - not_in_test: int = Field(default=0, not_in=[1, 2, 3]) - default_test: int = Field(default=1.0) - default_factory_test: int = Field(default_factory=int) - miss_default_test: int = Field() - alias_test: int = Field(default=0, alias="alias") - desc_test: int = Field(default=0, description="test desc") - multiple_of_test: int = Field(default=0, multiple_of=3) - example_test: int = Field(default=0, example=1.0) - example_factory: int = Field(default=0, example=int) - field_test: int = CustomerField(default=0) - type_test: conint() = Field(default=0) - title_test: int = Field(default=0, title="title_test") - extra_test: int = Field(default=0, customer_string="c1", customer_int=1) - - -class Sint64Test(BaseModel): - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: int = Field(default=1, const=True) - range_e_test: int = Field(default=0, ge=1, le=10) - range_test: int = Field(default=0, gt=1, lt=10) - in_test: int = Field(default=0, in_=[1, 2, 3]) - not_in_test: int = Field(default=0, not_in=[1, 2, 3]) - default_test: int = Field(default=1.0) - default_factory_test: int = Field(default_factory=int) - miss_default_test: int = Field() - alias_test: int = Field(default=0, alias="alias") - desc_test: int = Field(default=0, description="test desc") - multiple_of_test: int = Field(default=0, multiple_of=3) - example_test: int = Field(default=0, example=1.0) - example_factory: int = Field(default=0, example=int) - field_test: int = CustomerField(default=0) - type_test: conint() = Field(default=0) - title_test: int = Field(default=0, title="title_test") - extra_test: int = Field(default=0, customer_string="c1", customer_int=1) - - -class Fixed32Test(BaseModel): - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: float = Field(default=1, const=True) - range_e_test: float = Field(default=0.0, ge=1, le=10) - range_test: float = Field(default=0.0, gt=1, lt=10) - in_test: float = Field(default=0.0, in_=[1, 2, 3]) - not_in_test: float = Field(default=0.0, not_in=[1, 2, 3]) - default_test: float = Field(default=1.0) - default_factory_test: float = Field(default_factory=float) - miss_default_test: float = Field() - alias_test: float = Field(default=0.0, alias="alias") - desc_test: float = Field(default=0.0, description="test desc") - multiple_of_test: float = Field(default=0.0, multiple_of=3) - example_test: float = Field(default=0.0, example=1.0) - example_factory: float = Field(default=0.0, example=float) - field_test: float = CustomerField(default=0.0) - type_test: confloat() = Field(default=0.0) - title_test: float = Field(default=0.0, title="title_test") - extra_test: float = Field(default=0.0, customer_string="c1", customer_int=1) - - -class Fixed64Test(BaseModel): - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: float = Field(default=0.0) - range_e_test: float = Field(default=0.0, ge=1, le=10) - range_test: float = Field(default=0.0, gt=1, lt=10) - in_test: float = Field(default=0.0, in_=[1, 2, 3]) - not_in_test: float = Field(default=0.0, not_in=[1, 2, 3]) - default_test: float = Field(default=1.0) - default_factory_test: float = Field(default_factory=float) - miss_default_test: float = Field() - alias_test: float = Field(default=0.0, alias="alias") - desc_test: float = Field(default=0.0, description="test desc") - multiple_of_test: float = Field(default=0.0, multiple_of=3) - example_test: float = Field(default=0.0, example=1.0) - example_factory: float = Field(default=0.0, example=float) - field_test: float = CustomerField(default=0.0) - type_test: confloat() = Field(default=0.0) - title_test: float = Field(default=0.0, title="title_test") - extra_test: float = Field(default=0.0, customer_string="c1", customer_int=1) - - -class Sfixed32Test(BaseModel): - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: float = Field(default=0.0) - range_e_test: float = Field(default=0.0, ge=1, le=10) - range_test: float = Field(default=0.0, gt=1, lt=10) - in_test: float = Field(default=0.0, in_=[1, 2, 3]) - not_in_test: float = Field(default=0.0, not_in=[1, 2, 3]) - default_test: float = Field(default=1.0) - default_factory_test: float = Field(default_factory=float) - miss_default_test: float = Field() - alias_test: float = Field(default=0.0, alias="alias") - desc_test: float = Field(default=0.0, description="test desc") - multiple_of_test: float = Field(default=0.0, multiple_of=3) - example_test: float = Field(default=0.0, example=1.0) - example_factory: float = Field(default=0.0, example=float) - field_test: float = CustomerField(default=0.0) - type_test: confloat() = Field(default=0.0) - title_test: float = Field(default=0.0, title="title_test") - extra_test: float = Field(default=0.0, customer_string="c1", customer_int=1) - - -class Sfixed64Test(BaseModel): - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: float = Field(default=0.0) - range_e_test: float = Field(default=0.0, ge=1, le=10) - range_test: float = Field(default=0.0, gt=1, lt=10) - in_test: float = Field(default=0.0, in_=[1, 2, 3]) - not_in_test: float = Field(default=0.0, not_in=[1, 2, 3]) - default_test: float = Field(default=1.0) - default_factory_test: float = Field(default_factory=float) - miss_default_test: float = Field() - alias_test: float = Field(default=0.0, alias="alias") - desc_test: float = Field(default=0.0, description="test desc") - multiple_of_test: float = Field(default=0.0, multiple_of=3) - example_test: float = Field(default=0.0, example=1.0) - example_factory: float = Field(default=0.0, example=float) - field_test: float = CustomerField(default=0.0) - type_test: confloat() = Field(default=0.0) - title_test: float = Field(default=0.0, title="title_test") - extra_test: float = Field(default=0.0, customer_string="c1", customer_int=1) - - -class BoolTest(BaseModel): - bool_1_test: bool = Field(default=True, const=True) - bool_2_test: bool = Field(default=False, const=True) - default_test: bool = Field(default=True) - miss_default_test: bool = Field() - alias_test: bool = Field(default=False, alias="alias") - desc_test: bool = Field(default=False, description="test desc") - example_test: bool = Field(default=False, example=True) - field_test: bool = CustomerField(default=False) - title_test: bool = Field(default=False, title="title_test") - extra_test: bool = Field(default=False, customer_string="c1", customer_int=1) - - -class StringTest(BaseModel): - len_test_len_validator = validator("len_test", allow_reuse=True)(len_validator) - prefix_test_prefix_validator = validator("prefix_test", allow_reuse=True)(prefix_validator) - suffix_test_suffix_validator = validator("suffix_test", allow_reuse=True)(suffix_validator) - contains_test_contains_validator = validator("contains_test", allow_reuse=True)(contains_validator) - not_contains_test_not_contains_validator = validator("not_contains_test", allow_reuse=True)(not_contains_validator) - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: str = Field(default="aaa", const=True) - len_test: str = Field(default="", len=3) - s_range_len_test: str = Field(default="", min_length=1, max_length=3) - pattern_test: str = Field(default="", regex="^test") - prefix_test: str = Field(default="", prefix="prefix") - suffix_test: str = Field(default="", suffix="suffix") - contains_test: str = Field(default="", contains="contains") - not_contains_test: str = Field(default="", not_contains="not_contains") - in_test: str = Field(default="", in_=["a", "b", "c"]) - not_in_test: str = Field(default="", not_in=["a", "b", "c"]) - email_test: EmailStr = Field(default="") - hostname_test: HostNameStr = Field(default="") - ip_test: IPvAnyAddress = Field(default="") - ipv4_test: IPv4Address = Field(default="") - ipv6_test: IPv6Address = Field(default="") - uri_test: AnyUrl = Field(default="") - uri_ref_test: UriRefStr = Field(default="") - address_test: IPvAnyAddress = Field(default="") - uuid_test: UUID = Field(default="") - pydantic_type_test: str = Field(default="") - default_test: str = Field(default="default") - default_factory_test: str = Field(default_factory=uuid4) - miss_default_test: str = Field() - alias_test: str = Field(default="", alias="alias") - desc_test: str = Field(default="", description="test desc") - example_test: str = Field(default="", example="example") - example_factory_test: str = Field(default="", example=uuid4) - field_test: str = CustomerField(default="") - title_test: str = Field(default="", title="title_test") - type_test: constr() = Field(default="") - extra_test: str = Field(default="", customer_string="c1", customer_int=1) - - -class BytesTest(BaseModel): - prefix_test_prefix_validator = validator("prefix_test", allow_reuse=True)(prefix_validator) - suffix_test_suffix_validator = validator("suffix_test", allow_reuse=True)(suffix_validator) - contains_test_contains_validator = validator("contains_test", allow_reuse=True)(contains_validator) - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: bytes = Field(default=b"demo", const=True) - range_len_test: bytes = Field(default=b"", min_length=1, max_length=4) - prefix_test: bytes = Field(default=b"", prefix=b"prefix") - suffix_test: bytes = Field(default=b"", suffix=b"suffix") - contains_test: bytes = Field(default=b"", contains=b"contains") - in_test: bytes = Field(default=b"", in_=[b"a", b"b", b"c"]) - not_in_test: bytes = Field(default=b"", not_in=[b"a", b"b", b"c"]) - default_test: bytes = Field(default=b"default") - default_factory_test: bytes = Field(default_factory=bytes) - miss_default_test: bytes = Field() - alias_test: bytes = Field(default=b"", alias="alias") - desc_test: bytes = Field(default=b"", description="test desc") - example_test: bytes = Field(default=b"", example=b"example") - example_factory_test: bytes = Field(default=b"", example=bytes) - field_test: bytes = CustomerField(default=b"") - title_test: bytes = Field(default=b"", title="title_test") - type_test: constr() = Field(default=b"") - extra_test: bytes = Field(default=b"", customer_string="c1", customer_int=1) - - -class EnumTest(BaseModel): - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: State = Field(default=2, const=True) - in_test: State = Field(default=0, in_=[0, 2]) - not_in_test: State = Field(default=0, not_in=[0, 2]) - default_test: State = Field(default=1) - miss_default_test: State = Field() - alias_test: State = Field(default=0, alias="alias") - desc_test: State = Field(default=0, description="test desc") - example_test: State = Field(default=0, example=2) - field_test: State = CustomerField(default=0) - title_test: State = Field(default=0, title="title_test") - extra_test: State = Field(default=0, customer_string="c1", customer_int=1) - - -class MapTest(BaseModel): - pair_test_map_min_pairs_validator = validator("pair_test", allow_reuse=True)(map_min_pairs_validator) - pair_test_map_max_pairs_validator = validator("pair_test", allow_reuse=True)(map_max_pairs_validator) - - pair_test: typing.Dict[str, int] = Field(default_factory=dict, map_min_pairs=1, map_max_pairs=5) - keys_test: typing.Dict[constr(min_length=1, max_length=5), int] = Field(default_factory=dict) - values_test: typing.Dict[str, conint(ge=5, le=5)] = Field(default_factory=dict) - keys_values_test: typing.Dict[constr(min_length=1, max_length=5), contimestamp(timestamp_gt_now=True)] = Field( - default_factory=dict - ) - default_factory_test: typing.Dict[str, int] = Field(default_factory=dict) - miss_default_test: typing.Dict[str, int] = Field() - alias_test: typing.Dict[str, int] = Field(default_factory=dict, alias="alias") - desc_test: typing.Dict[str, int] = Field(default_factory=dict, description="test desc") - example_factory_test: typing.Dict[str, int] = Field(default_factory=dict, example=dict) - field_test: typing.Dict[str, int] = CustomerField(default_factory=dict) - title_test: typing.Dict[str, int] = Field(default_factory=dict, title="title_test") - type_test: dict = Field(default_factory=dict) - extra_test: typing.Dict[str, int] = Field(default_factory=dict, customer_string="c1", customer_int=1) - - -class MessageTest(BaseModel): - skip_test: str = Field(default="") - required_test: str = Field() - extra_test: str = Field(default="") - - -class RepeatedTest(BaseModel): - range_test: typing.List[str] = Field(default_factory=list, min_items=1, max_items=5) - unique_test: typing.List[str] = Field(default_factory=list, unique_items=True) - items_string_test: conlist(item_type=constr(min_length=1, max_length=5), min_items=1, max_items=5) = Field( - default_factory=list - ) - items_double_test: conlist(item_type=confloat(gt=1, lt=5), min_items=1, max_items=5) = Field(default_factory=list) - items_int32_test: conlist(item_type=conint(gt=1, lt=5), min_items=1, max_items=5) = Field(default_factory=list) - items_timestamp_test: conlist( - item_type=contimestamp(timestamp_gt=1600000000.0, timestamp_lt=1600000010.0), min_items=1, max_items=5 - ) = Field(default_factory=list) - items_duration_test: conlist( - item_type=contimedelta(duration_ge=timedelta(seconds=10), duration_le=timedelta(seconds=10)), - min_items=1, - max_items=5, - ) = Field(default_factory=list) - items_bytes_test: conlist(item_type=conbytes(min_length=1, max_length=5), min_items=1, max_items=5) = Field( - default_factory=list - ) - default_factory_test: typing.List[str] = Field(default_factory=list) - miss_default_test: typing.List[str] = Field() - alias_test: typing.List[str] = Field(default_factory=list, alias="alias") - desc_test: typing.List[str] = Field(default_factory=list, description="test desc") - example_factory_test: typing.List[str] = Field(default_factory=list, example=list) - field_test: typing.List[str] = CustomerField(default_factory=list) - title_test: typing.List[str] = Field(default_factory=list, title="title_test") - type_test: list = Field(default_factory=list) - extra_test: typing.List[str] = Field(default_factory=list, customer_string="c1", customer_int=1) - - -class AnyTest(BaseModel): - class Config: - arbitrary_types_allowed = True - - not_in_test_any_not_in_validator = validator("not_in_test", allow_reuse=True)(any_not_in_validator) - in_test_any_in_validator = validator("in_test", allow_reuse=True)(any_in_validator) - - required_test: Any = Field() - not_in_test: Any = Field( - default_factory=Any, - any_not_in=["type.googleapis.com/google.protobuf.Duration", "type.googleapis.com/google.protobuf.Timestamp"], - ) - in_test: Any = Field( - default_factory=Any, - any_in=[ - Any(type_url="type.googleapis.com/google.protobuf.Duration"), - "type.googleapis.com/google.protobuf.Timestamp", - ], - ) - default_test: Any = Field(default=Any(type_url="type.googleapis.com/google.protobuf.Duration")) - default_factory_test: Any = Field(default_factory=customer_any) - miss_default_test: Any = Field() - alias_test: Any = Field(default_factory=Any, alias="alias") - desc_test: Any = Field(default_factory=Any, description="test desc") - example_test: Any = Field(default_factory=Any, example="type.googleapis.com/google.protobuf.Duration") - example_factory_test: Any = Field(default_factory=Any, example=customer_any) - field_test: Any = CustomerField(default_factory=Any) - title_test: Any = Field(default_factory=Any, title="title_test") - extra_test: Any = Field(default_factory=Any, customer_string="c1", customer_int=1) - - -class DurationTest(BaseModel): - const_test_duration_const_validator = validator("const_test", allow_reuse=True)(duration_const_validator) - range_test_duration_lt_validator = validator("range_test", allow_reuse=True)(duration_lt_validator) - range_test_duration_gt_validator = validator("range_test", allow_reuse=True)(duration_gt_validator) - range_e_test_duration_le_validator = validator("range_e_test", allow_reuse=True)(duration_le_validator) - range_e_test_duration_ge_validator = validator("range_e_test", allow_reuse=True)(duration_ge_validator) - in_test_duration_in_validator = validator("in_test", allow_reuse=True)(duration_in_validator) - not_in_test_duration_not_in_validator = validator("not_in_test", allow_reuse=True)(duration_not_in_validator) - - const_test: Timedelta = Field(default_factory=timedelta, duration_const=timedelta(seconds=1, microseconds=500000)) - range_test: Timedelta = Field( - default_factory=timedelta, - duration_lt=timedelta(seconds=10, microseconds=500000), - duration_gt=timedelta(seconds=5, microseconds=500000), - ) - range_e_test: Timedelta = Field( - default_factory=timedelta, - duration_le=timedelta(seconds=10, microseconds=500000), - duration_ge=timedelta(seconds=5, microseconds=500000), - ) - in_test: Timedelta = Field( - default_factory=timedelta, - duration_in=[timedelta(seconds=1, microseconds=500000), timedelta(seconds=3, microseconds=500000)], - ) - not_in_test: Timedelta = Field( - default_factory=timedelta, - duration_not_in=[timedelta(seconds=1, microseconds=500000), timedelta(seconds=3, microseconds=500000)], - ) - default_test: Timedelta = Field(default=timedelta(seconds=1, microseconds=500000)) - default_factory_test: Timedelta = Field(default_factory=timedelta) - miss_default_test: Timedelta = Field() - alias_test: Timedelta = Field(default_factory=timedelta, alias="alias") - desc_test: Timedelta = Field(default_factory=timedelta, description="test desc") - example_test: Timedelta = Field(default_factory=timedelta, example=timedelta(seconds=1, microseconds=500000)) - example_factory_test: Timedelta = Field(default_factory=timedelta, example=timedelta) - field_test: Timedelta = CustomerField(default_factory=timedelta) - title_test: Timedelta = Field(default_factory=timedelta, title="title_test") - type_test: timedelta = Field(default_factory=timedelta) - extra_test: Timedelta = Field(default_factory=timedelta, customer_string="c1", customer_int=1) - - -class TimestampTest(BaseModel): - const_test_timestamp_const_validator = validator("const_test", allow_reuse=True)(timestamp_const_validator) - range_test_timestamp_lt_validator = validator("range_test", allow_reuse=True)(timestamp_lt_validator) - range_test_timestamp_gt_validator = validator("range_test", allow_reuse=True)(timestamp_gt_validator) - range_e_test_timestamp_le_validator = validator("range_e_test", allow_reuse=True)(timestamp_le_validator) - range_e_test_timestamp_ge_validator = validator("range_e_test", allow_reuse=True)(timestamp_ge_validator) - lt_now_test_timestamp_lt_now_validator = validator("lt_now_test", allow_reuse=True)(timestamp_lt_now_validator) - gt_now_test_timestamp_gt_now_validator = validator("gt_now_test", allow_reuse=True)(timestamp_gt_now_validator) - within_test_timestamp_within_validator = validator("within_test", allow_reuse=True)(timestamp_within_validator) - within_and_gt_now_test_timestamp_gt_now_validator = validator("within_and_gt_now_test", allow_reuse=True)( - timestamp_gt_now_validator - ) - within_and_gt_now_test_timestamp_within_validator = validator("within_and_gt_now_test", allow_reuse=True)( - timestamp_within_validator - ) - - const_test: datetime = Field(default_factory=datetime.now, timestamp_const=1600000000.0) - range_test: datetime = Field(default_factory=datetime.now, timestamp_lt=1600000010.0, timestamp_gt=1600000000.0) - range_e_test: datetime = Field(default_factory=datetime.now, timestamp_le=1600000010.0, timestamp_ge=1600000000.0) - lt_now_test: datetime = Field(default_factory=datetime.now, timestamp_lt_now=True) - gt_now_test: datetime = Field(default_factory=datetime.now, timestamp_gt_now=True) - within_test: datetime = Field(default_factory=datetime.now, timestamp_within=timedelta(seconds=1)) - within_and_gt_now_test: datetime = Field( - default_factory=datetime.now, timestamp_gt_now=True, timestamp_within=timedelta(seconds=3600) - ) - default_test: datetime = Field(default=1.5) - default_factory_test: datetime = Field(default_factory=datetime.now) - miss_default_test: datetime = Field() - alias_test: datetime = Field(default_factory=datetime.now, alias="alias") - desc_test: datetime = Field(default_factory=datetime.now, description="test desc") - example_test: datetime = Field(default_factory=datetime.now, example=1.5) - example_factory_test: datetime = Field(default_factory=datetime.now, example=datetime.now) - field_test: datetime = CustomerField(default_factory=datetime.now) - title_test: datetime = Field(default_factory=datetime.now, title="title_test") - type_test: datetime = Field(default_factory=datetime.now) - extra_test: datetime = Field(default_factory=datetime.now, customer_string="c1", customer_int=1) - - -class MessageIgnoredTest(BaseModel): - const_test: int = Field(default=0) - range_e_test: int = Field(default=0) - range_test: int = Field(default=0) - - -class OneOfTest(BaseModel): - _one_of_dict = {"OneOfTest.id": {"fields": {"x", "y"}, "required": True}} - _check_one_of = root_validator(pre=True, allow_reuse=True)(check_one_of) - - header: str = Field(default="") - x: str = Field(default="") - y: int = Field(default=0) - - -class OneOfNotTest(BaseModel): - _one_of_dict = {"OneOfNotTest.id": {"fields": {"x", "y"}}} - _check_one_of = root_validator(pre=True, allow_reuse=True)(check_one_of) - - header: str = Field(default="") - x: str = Field(default="") - y: int = Field(default=0) - - -class AfterReferMessage(BaseModel): - uid: str = Field(example="10086", title="UID", description="user union id") - age: int = Field(default=0, example=18.0, title="use age", ge=0) - - -class NestedMessage(BaseModel): - class UserPayMessage(BaseModel): - exp_timestamp_gt_now_validator = validator("exp", allow_reuse=True)(timestamp_gt_now_validator) - - bank_number: str = Field(default="", min_length=13, max_length=19) - exp: datetime = Field(default_factory=datetime.now, timestamp_gt_now=True) - uuid: UUID = Field(default="") - - class NotEnableUserPayMessage(BaseModel): - bank_number: str = Field(default="") - exp: datetime = Field(default_factory=datetime.now) - uuid: str = Field(default="") - - string_in_map_test: typing.Dict[str, StringTest] = Field(default_factory=dict) - map_in_map_test: typing.Dict[str, MapTest] = Field(default_factory=dict) - user_pay: UserPayMessage = Field() - not_enable_user_pay: NotEnableUserPayMessage = Field() - empty: None = Field() - after_refer: AfterReferMessage = Field() diff --git a/example/proto_3_20/example/example_proto/p2p_validate/demo_pb2.py b/example/proto_3_20/example/example_proto/p2p_validate/demo_pb2.py deleted file mode 100644 index f40cbff..0000000 --- a/example/proto_3_20/example/example_proto/p2p_validate/demo_pb2.py +++ /dev/null @@ -1,10296 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: example/example_proto/p2p_validate/demo.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - -from example.proto_3_20.example.example_proto.common import ( - p2p_validate_pb2 as example_dot_example__proto_dot_common_dot_p2p__validate__pb2, -) - -DESCRIPTOR = _descriptor.FileDescriptor( - name="example/example_proto/p2p_validate/demo.proto", - package="p2p_validate_test", - syntax="proto3", - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n-example/example_proto/p2p_validate/demo.proto\x12\x11p2p_validate_test\x1a\x19google/protobuf/any.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a/example/example_proto/common/p2p_validate.proto"\x80\x06\n\tFloatTest\x12\x1e\n\nconst_test\x18\x01 \x01(\x02\x42\n\x8a\x43\x07\n\x05\r\x00\x00\x80?\x12%\n\x0crange_e_test\x18\x02 \x01(\x02\x42\x0f\x8a\x43\x0c\n\n\x1d\x00\x00 A-\x00\x00\x80?\x12#\n\nrange_test\x18\x03 \x01(\x02\x42\x0f\x8a\x43\x0c\n\n\x15\x00\x00 A%\x00\x00\x80?\x12$\n\x07in_test\x18\x04 \x01(\x02\x42\x13\x8a\x43\x10\n\x0e\x32\x0c\x00\x00\x80?\x00\x00\x00@\x00\x00@@\x12(\n\x0bnot_in_test\x18\x05 \x01(\x02\x42\x13\x8a\x43\x10\n\x0e:\x0c\x00\x00\x80?\x00\x00\x00@\x00\x00@@\x12 \n\x0c\x64\x65\x66\x61ult_test\x18\x06 \x01(\x02\x42\n\x8a\x43\x07\n\x05M\x00\x00\x80?\x12 \n\x0fnot_enable_test\x18\x07 \x01(\x02\x42\x07\x8a\x43\x04\n\x02@\x00\x12\x36\n\x14\x64\x65\x66\x61ult_factory_test\x18\x08 \x01(\x02\x42\x18\x8a\x43\x15\n\x13R\x11p2p@builtin|float\x12"\n\x11miss_default_test\x18\t \x01(\x02\x42\x07\x8a\x43\x04\n\x02X\x01\x12 \n\nalias_test\x18\n \x01(\x02\x42\x0c\x8a\x43\t\n\x07\x62\x05\x61lias\x12#\n\tdesc_test\x18\x0b \x01(\x02\x42\x10\x8a\x43\r\n\x0bj\ttest desc\x12$\n\x10multiple_of_test\x18\x0c \x01(\x02\x42\n\x8a\x43\x07\n\x05u\x00\x00@@\x12 \n\x0c\x65xample_test\x18\r \x01(\x02\x42\n\x8a\x43\x07\n\x05}\x00\x00\x80?\x12\x32\n\x0f\x65xample_factory\x18\x0e \x01(\x02\x42\x19\x8a\x43\x16\n\x14\x82\x01\x11p2p@builtin|float\x12\x33\n\nfield_test\x18\x0f \x01(\x02\x42\x1f\x8a\x43\x1c\n\x1a\x8a\x01\x17p2p@local|CustomerField\x12-\n\ttype_test\x18\x10 \x01(\x02\x42\x1a\x8a\x43\x17\n\x15\x92\x01\x12p2p@local|confloat\x12&\n\ntitle_test\x18\x11 \x01(\x02\x42\x12\x8a\x43\x0f\n\r\x9a\x01\ntitle_test\x12H\n\nextra_test\x18\x12 \x01(\x02\x42\x34\x8a\x43\x31\n/\xa2\x01,{"customer_string": "c1", "customer_int": 1}"\xad\x06\n\nDoubleTest\x12"\n\nconst_test\x18\x01 \x01(\x01\x42\x0e\x8a\x43\x0b\x12\t\t\x00\x00\x00\x00\x00\x00\xf0?\x12-\n\x0crange_e_test\x18\x02 \x01(\x01\x42\x17\x8a\x43\x14\x12\x12\x19\x00\x00\x00\x00\x00\x00$@)\x00\x00\x00\x00\x00\x00\xf0?\x12+\n\nrange_test\x18\x03 \x01(\x01\x42\x17\x8a\x43\x14\x12\x12\x11\x00\x00\x00\x00\x00\x00$@!\x00\x00\x00\x00\x00\x00\xf0?\x12\x30\n\x07in_test\x18\x04 \x01(\x01\x42\x1f\x8a\x43\x1c\x12\x1a\x32\x18\x00\x00\x00\x00\x00\x00\xf0?\x00\x00\x00\x00\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x08@\x12\x34\n\x0bnot_in_test\x18\x05 \x01(\x01\x42\x1f\x8a\x43\x1c\x12\x1a:\x18\x00\x00\x00\x00\x00\x00\xf0?\x00\x00\x00\x00\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x08@\x12 \n\x0c\x64\x65\x66\x61ult_test\x18\x06 \x01(\x01\x42\n\x8a\x43\x07\x12\x05M\x00\x00\x80?\x12 \n\x0fnot_enable_test\x18\x07 \x01(\x01\x42\x07\x8a\x43\x04\x12\x02@\x00\x12\x36\n\x14\x64\x65\x66\x61ult_factory_test\x18\x08 \x01(\x01\x42\x18\x8a\x43\x15\x12\x13R\x11p2p@builtin|float\x12"\n\x11miss_default_test\x18\t \x01(\x01\x42\x07\x8a\x43\x04\x12\x02X\x01\x12 \n\nalias_test\x18\n \x01(\x01\x42\x0c\x8a\x43\t\x12\x07\x62\x05\x61lias\x12#\n\tdesc_test\x18\x0b \x01(\x01\x42\x10\x8a\x43\r\x12\x0bj\ttest desc\x12$\n\x10multiple_of_test\x18\x0c \x01(\x01\x42\n\x8a\x43\x07\x12\x05u\x00\x00@@\x12 \n\x0c\x65xample_test\x18\r \x01(\x01\x42\n\x8a\x43\x07\x12\x05}\x00\x00\x80?\x12\x32\n\x0f\x65xample_factory\x18\x0e \x01(\x01\x42\x19\x8a\x43\x16\x12\x14\x82\x01\x11p2p@builtin|float\x12\x33\n\nfield_test\x18\x0f \x01(\x01\x42\x1f\x8a\x43\x1c\x12\x1a\x8a\x01\x17p2p@local|CustomerField\x12-\n\ttype_test\x18\x10 \x01(\x01\x42\x1a\x8a\x43\x17\x12\x15\x92\x01\x12p2p@local|confloat\x12&\n\ntitle_test\x18\x11 \x01(\x01\x42\x12\x8a\x43\x0f\x12\r\x9a\x01\ntitle_test\x12H\n\nextra_test\x18\x12 \x01(\x01\x42\x34\x8a\x43\x31\x12/\xa2\x01,{"customer_string": "c1", "customer_int": 1}"\xdb\x05\n\tInt32Test\x12\x1b\n\nconst_test\x18\x01 \x01(\x05\x42\x07\x8a\x43\x04\x1a\x02\x08\x01\x12\x1f\n\x0crange_e_test\x18\x02 \x01(\x05\x42\t\x8a\x43\x06\x1a\x04\x18\n(\x01\x12\x1d\n\nrange_test\x18\x03 \x01(\x05\x42\t\x8a\x43\x06\x1a\x04\x10\n \x01\x12\x1b\n\x07in_test\x18\x04 \x01(\x05\x42\n\x8a\x43\x07\x1a\x05\x32\x03\x01\x02\x03\x12\x1f\n\x0bnot_in_test\x18\x05 \x01(\x05\x42\n\x8a\x43\x07\x1a\x05:\x03\x01\x02\x03\x12 \n\x0c\x64\x65\x66\x61ult_test\x18\x06 \x01(\x05\x42\n\x8a\x43\x07\x1a\x05M\x00\x00\x80?\x12 \n\x0fnot_enable_test\x18\x07 \x01(\x05\x42\x07\x8a\x43\x04\x1a\x02@\x00\x12\x34\n\x14\x64\x65\x66\x61ult_factory_test\x18\x08 \x01(\x05\x42\x16\x8a\x43\x13\x1a\x11R\x0fp2p@builtin|int\x12"\n\x11miss_default_test\x18\t \x01(\x05\x42\x07\x8a\x43\x04\x1a\x02X\x01\x12 \n\nalias_test\x18\n \x01(\x05\x42\x0c\x8a\x43\t\x1a\x07\x62\x05\x61lias\x12#\n\tdesc_test\x18\x0b \x01(\x05\x42\x10\x8a\x43\r\x1a\x0bj\ttest desc\x12$\n\x10multiple_of_test\x18\x0c \x01(\x05\x42\n\x8a\x43\x07\x1a\x05u\x00\x00@@\x12 \n\x0c\x65xample_test\x18\r \x01(\x05\x42\n\x8a\x43\x07\x1a\x05}\x00\x00\x80?\x12\x30\n\x0f\x65xample_factory\x18\x0e \x01(\x05\x42\x17\x8a\x43\x14\x1a\x12\x82\x01\x0fp2p@builtin|int\x12\x33\n\nfield_test\x18\x0f \x01(\x05\x42\x1f\x8a\x43\x1c\x1a\x1a\x8a\x01\x17p2p@local|CustomerField\x12-\n\ttype_test\x18\x10 \x01(\x05\x42\x1a\x8a\x43\x17\x1a\x15\x92\x01\x12p2p@local|confloat\x12&\n\ntitle_test\x18\x11 \x01(\x05\x42\x12\x8a\x43\x0f\x1a\r\x9a\x01\ntitle_test\x12H\n\nextra_test\x18\x12 \x01(\x05\x42\x34\x8a\x43\x31\x1a/\xa2\x01,{"customer_string": "c1", "customer_int": 1}"\xdb\x05\n\tInt64Test\x12\x1b\n\nconst_test\x18\x01 \x01(\x03\x42\x07\x8a\x43\x04"\x02\x08\x01\x12\x1f\n\x0crange_e_test\x18\x02 \x01(\x03\x42\t\x8a\x43\x06"\x04\x18\n(\x01\x12\x1d\n\nrange_test\x18\x03 \x01(\x03\x42\t\x8a\x43\x06"\x04\x10\n \x01\x12\x1b\n\x07in_test\x18\x04 \x01(\x03\x42\n\x8a\x43\x07"\x05\x32\x03\x01\x02\x03\x12\x1f\n\x0bnot_in_test\x18\x05 \x01(\x03\x42\n\x8a\x43\x07"\x05:\x03\x01\x02\x03\x12 \n\x0c\x64\x65\x66\x61ult_test\x18\x06 \x01(\x03\x42\n\x8a\x43\x07"\x05M\x00\x00\x80?\x12 \n\x0fnot_enable_test\x18\x07 \x01(\x03\x42\x07\x8a\x43\x04"\x02@\x00\x12\x34\n\x14\x64\x65\x66\x61ult_factory_test\x18\x08 \x01(\x03\x42\x16\x8a\x43\x13"\x11R\x0fp2p@builtin|int\x12"\n\x11miss_default_test\x18\t \x01(\x03\x42\x07\x8a\x43\x04"\x02X\x01\x12 \n\nalias_test\x18\n \x01(\x03\x42\x0c\x8a\x43\t"\x07\x62\x05\x61lias\x12#\n\tdesc_test\x18\x0b \x01(\x03\x42\x10\x8a\x43\r"\x0bj\ttest desc\x12$\n\x10multiple_of_test\x18\x0c \x01(\x03\x42\n\x8a\x43\x07"\x05u\x00\x00@@\x12 \n\x0c\x65xample_test\x18\r \x01(\x03\x42\n\x8a\x43\x07"\x05}\x00\x00\x80?\x12\x30\n\x0f\x65xample_factory\x18\x0e \x01(\x03\x42\x17\x8a\x43\x14"\x12\x82\x01\x0fp2p@builtin|int\x12\x33\n\nfield_test\x18\x0f \x01(\x03\x42\x1f\x8a\x43\x1c"\x1a\x8a\x01\x17p2p@local|CustomerField\x12-\n\ttype_test\x18\x10 \x01(\x03\x42\x1a\x8a\x43\x17"\x15\x92\x01\x12p2p@local|confloat\x12&\n\ntitle_test\x18\x11 \x01(\x03\x42\x12\x8a\x43\x0f"\r\x9a\x01\ntitle_test\x12H\n\nextra_test\x18\x12 \x01(\x03\x42\x34\x8a\x43\x31"/\xa2\x01,{"customer_string": "c1", "customer_int": 1}"\xda\x05\n\nUint32Test\x12\x1b\n\nconst_test\x18\x01 \x01(\rB\x07\x8a\x43\x04*\x02\x08\x01\x12\x1f\n\x0crange_e_test\x18\x02 \x01(\rB\t\x8a\x43\x06*\x04\x18\n(\x01\x12\x1d\n\nrange_test\x18\x03 \x01(\rB\t\x8a\x43\x06*\x04\x10\n \x01\x12\x1b\n\x07in_test\x18\x04 \x01(\rB\n\x8a\x43\x07*\x05\x32\x03\x01\x02\x03\x12\x1f\n\x0bnot_in_test\x18\x05 \x01(\rB\n\x8a\x43\x07*\x05:\x03\x01\x02\x03\x12 \n\x0c\x64\x65\x66\x61ult_test\x18\x06 \x01(\rB\n\x8a\x43\x07*\x05M\x00\x00\x80?\x12 \n\x0fnot_enable_test\x18\x07 \x01(\rB\x07\x8a\x43\x04*\x02@\x00\x12\x34\n\x14\x64\x65\x66\x61ult_factory_test\x18\x08 \x01(\rB\x16\x8a\x43\x13*\x11R\x0fp2p@builtin|int\x12"\n\x11miss_default_test\x18\t \x01(\rB\x07\x8a\x43\x04*\x02X\x01\x12 \n\nalias_test\x18\n \x01(\rB\x0c\x8a\x43\t*\x07\x62\x05\x61lias\x12#\n\tdesc_test\x18\x0b \x01(\rB\x10\x8a\x43\r*\x0bj\ttest desc\x12$\n\x10multiple_of_test\x18\x0c \x01(\rB\n\x8a\x43\x07*\x05u\x00\x00@@\x12 \n\x0c\x65xample_test\x18\r \x01(\rB\n\x8a\x43\x07*\x05}\x00\x00\x80?\x12\x30\n\x0f\x65xample_factory\x18\x0e \x01(\rB\x17\x8a\x43\x14*\x12\x82\x01\x0fp2p@builtin|int\x12\x33\n\nfield_test\x18\x0f \x01(\rB\x1f\x8a\x43\x1c*\x1a\x8a\x01\x17p2p@local|CustomerField\x12+\n\ttype_test\x18\x10 \x01(\rB\x18\x8a\x43\x15*\x13\x92\x01\x10p2p@local|conint\x12&\n\ntitle_test\x18\x11 \x01(\rB\x12\x8a\x43\x0f*\r\x9a\x01\ntitle_test\x12H\n\nextra_test\x18\x12 \x01(\rB4\x8a\x43\x31*/\xa2\x01,{"customer_string": "c1", "customer_int": 1}"\xda\x05\n\nSint32Test\x12\x1b\n\nconst_test\x18\x01 \x01(\x11\x42\x07\x8a\x43\x04:\x02\x08\x02\x12\x1f\n\x0crange_e_test\x18\x02 \x01(\x11\x42\t\x8a\x43\x06:\x04\x18\x14(\x02\x12\x1d\n\nrange_test\x18\x03 \x01(\x11\x42\t\x8a\x43\x06:\x04\x10\x14 \x02\x12\x1b\n\x07in_test\x18\x04 \x01(\x11\x42\n\x8a\x43\x07:\x05\x32\x03\x02\x04\x06\x12\x1f\n\x0bnot_in_test\x18\x05 \x01(\x11\x42\n\x8a\x43\x07:\x05:\x03\x02\x04\x06\x12 \n\x0c\x64\x65\x66\x61ult_test\x18\x06 \x01(\x11\x42\n\x8a\x43\x07:\x05M\x00\x00\x80?\x12 \n\x0fnot_enable_test\x18\x07 \x01(\x11\x42\x07\x8a\x43\x04:\x02@\x00\x12\x34\n\x14\x64\x65\x66\x61ult_factory_test\x18\x08 \x01(\x11\x42\x16\x8a\x43\x13:\x11R\x0fp2p@builtin|int\x12"\n\x11miss_default_test\x18\t \x01(\x11\x42\x07\x8a\x43\x04:\x02X\x01\x12 \n\nalias_test\x18\n \x01(\x11\x42\x0c\x8a\x43\t:\x07\x62\x05\x61lias\x12#\n\tdesc_test\x18\x0b \x01(\x11\x42\x10\x8a\x43\r:\x0bj\ttest desc\x12$\n\x10multiple_of_test\x18\x0c \x01(\x11\x42\n\x8a\x43\x07:\x05u\x00\x00@@\x12 \n\x0c\x65xample_test\x18\r \x01(\x11\x42\n\x8a\x43\x07:\x05}\x00\x00\x80?\x12\x30\n\x0f\x65xample_factory\x18\x0e \x01(\x11\x42\x17\x8a\x43\x14:\x12\x82\x01\x0fp2p@builtin|int\x12\x33\n\nfield_test\x18\x0f \x01(\x11\x42\x1f\x8a\x43\x1c:\x1a\x8a\x01\x17p2p@local|CustomerField\x12+\n\ttype_test\x18\x10 \x01(\x11\x42\x18\x8a\x43\x15:\x13\x92\x01\x10p2p@local|conint\x12&\n\ntitle_test\x18\x11 \x01(\x11\x42\x12\x8a\x43\x0f:\r\x9a\x01\ntitle_test\x12H\n\nextra_test\x18\x12 \x01(\x11\x42\x34\x8a\x43\x31:/\xa2\x01,{"customer_string": "c1", "customer_int": 1}"\xda\x05\n\nUint64Test\x12\x1b\n\nconst_test\x18\x01 \x01(\x04\x42\x07\x8a\x43\x04\x32\x02\x08\x01\x12\x1f\n\x0crange_e_test\x18\x02 \x01(\x04\x42\t\x8a\x43\x06\x32\x04\x18\n(\x01\x12\x1d\n\nrange_test\x18\x03 \x01(\x04\x42\t\x8a\x43\x06\x32\x04\x10\n \x01\x12\x1b\n\x07in_test\x18\x04 \x01(\x04\x42\n\x8a\x43\x07\x32\x05\x32\x03\x01\x02\x03\x12\x1f\n\x0bnot_in_test\x18\x05 \x01(\x04\x42\n\x8a\x43\x07\x32\x05:\x03\x01\x02\x03\x12 \n\x0c\x64\x65\x66\x61ult_test\x18\x06 \x01(\x04\x42\n\x8a\x43\x07\x32\x05M\x00\x00\x80?\x12 \n\x0fnot_enable_test\x18\x07 \x01(\x04\x42\x07\x8a\x43\x04\x32\x02@\x00\x12\x34\n\x14\x64\x65\x66\x61ult_factory_test\x18\x08 \x01(\x04\x42\x16\x8a\x43\x13\x32\x11R\x0fp2p@builtin|int\x12"\n\x11miss_default_test\x18\t \x01(\x04\x42\x07\x8a\x43\x04\x32\x02X\x01\x12 \n\nalias_test\x18\n \x01(\x04\x42\x0c\x8a\x43\t2\x07\x62\x05\x61lias\x12#\n\tdesc_test\x18\x0b \x01(\x04\x42\x10\x8a\x43\r2\x0bj\ttest desc\x12$\n\x10multiple_of_test\x18\x0c \x01(\x04\x42\n\x8a\x43\x07\x32\x05u\x00\x00@@\x12 \n\x0c\x65xample_test\x18\r \x01(\x04\x42\n\x8a\x43\x07\x32\x05}\x00\x00\x80?\x12\x30\n\x0f\x65xample_factory\x18\x0e \x01(\x04\x42\x17\x8a\x43\x14\x32\x12\x82\x01\x0fp2p@builtin|int\x12\x33\n\nfield_test\x18\x0f \x01(\x04\x42\x1f\x8a\x43\x1c\x32\x1a\x8a\x01\x17p2p@local|CustomerField\x12+\n\ttype_test\x18\x10 \x01(\x04\x42\x18\x8a\x43\x15\x32\x13\x92\x01\x10p2p@local|conint\x12&\n\ntitle_test\x18\x11 \x01(\x04\x42\x12\x8a\x43\x0f\x32\r\x9a\x01\ntitle_test\x12H\n\nextra_test\x18\x12 \x01(\x04\x42\x34\x8a\x43\x31\x32/\xa2\x01,{"customer_string": "c1", "customer_int": 1}"\xda\x05\n\nSint64Test\x12\x1b\n\nconst_test\x18\x01 \x01(\x12\x42\x07\x8a\x43\x04\x42\x02\x08\x02\x12\x1f\n\x0crange_e_test\x18\x02 \x01(\x12\x42\t\x8a\x43\x06\x42\x04\x18\x14(\x02\x12\x1d\n\nrange_test\x18\x03 \x01(\x12\x42\t\x8a\x43\x06\x42\x04\x10\x14 \x02\x12\x1b\n\x07in_test\x18\x04 \x01(\x12\x42\n\x8a\x43\x07\x42\x05\x32\x03\x02\x04\x06\x12\x1f\n\x0bnot_in_test\x18\x05 \x01(\x12\x42\n\x8a\x43\x07\x42\x05:\x03\x02\x04\x06\x12 \n\x0c\x64\x65\x66\x61ult_test\x18\x06 \x01(\x12\x42\n\x8a\x43\x07\x42\x05M\x00\x00\x80?\x12 \n\x0fnot_enable_test\x18\x07 \x01(\x12\x42\x07\x8a\x43\x04\x42\x02@\x00\x12\x34\n\x14\x64\x65\x66\x61ult_factory_test\x18\x08 \x01(\x12\x42\x16\x8a\x43\x13\x42\x11R\x0fp2p@builtin|int\x12"\n\x11miss_default_test\x18\t \x01(\x12\x42\x07\x8a\x43\x04\x42\x02X\x01\x12 \n\nalias_test\x18\n \x01(\x12\x42\x0c\x8a\x43\tB\x07\x62\x05\x61lias\x12#\n\tdesc_test\x18\x0b \x01(\x12\x42\x10\x8a\x43\rB\x0bj\ttest desc\x12$\n\x10multiple_of_test\x18\x0c \x01(\x12\x42\n\x8a\x43\x07\x42\x05u\x00\x00@@\x12 \n\x0c\x65xample_test\x18\r \x01(\x12\x42\n\x8a\x43\x07\x42\x05}\x00\x00\x80?\x12\x30\n\x0f\x65xample_factory\x18\x0e \x01(\x12\x42\x17\x8a\x43\x14\x42\x12\x82\x01\x0fp2p@builtin|int\x12\x33\n\nfield_test\x18\x0f \x01(\x12\x42\x1f\x8a\x43\x1c\x42\x1a\x8a\x01\x17p2p@local|CustomerField\x12+\n\ttype_test\x18\x10 \x01(\x12\x42\x18\x8a\x43\x15\x42\x13\x92\x01\x10p2p@local|conint\x12&\n\ntitle_test\x18\x11 \x01(\x12\x42\x12\x8a\x43\x0f\x42\r\x9a\x01\ntitle_test\x12H\n\nextra_test\x18\x12 \x01(\x12\x42\x34\x8a\x43\x31\x42/\xa2\x01,{"customer_string": "c1", "customer_int": 1}"\x82\x06\n\x0b\x46ixed32Test\x12\x1e\n\nconst_test\x18\x01 \x01(\x07\x42\n\x8a\x43\x07J\x05\r\x01\x00\x00\x00\x12%\n\x0crange_e_test\x18\x02 \x01(\x07\x42\x0f\x8a\x43\x0cJ\n\x1d\n\x00\x00\x00-\x01\x00\x00\x00\x12#\n\nrange_test\x18\x03 \x01(\x07\x42\x0f\x8a\x43\x0cJ\n\x15\n\x00\x00\x00%\x01\x00\x00\x00\x12$\n\x07in_test\x18\x04 \x01(\x07\x42\x13\x8a\x43\x10J\x0e\x32\x0c\x01\x00\x00\x00\x02\x00\x00\x00\x03\x00\x00\x00\x12(\n\x0bnot_in_test\x18\x05 \x01(\x07\x42\x13\x8a\x43\x10J\x0e:\x0c\x01\x00\x00\x00\x02\x00\x00\x00\x03\x00\x00\x00\x12 \n\x0c\x64\x65\x66\x61ult_test\x18\x06 \x01(\x07\x42\n\x8a\x43\x07J\x05M\x00\x00\x80?\x12 \n\x0fnot_enable_test\x18\x07 \x01(\x07\x42\x07\x8a\x43\x04J\x02@\x00\x12\x36\n\x14\x64\x65\x66\x61ult_factory_test\x18\x08 \x01(\x07\x42\x18\x8a\x43\x15J\x13R\x11p2p@builtin|float\x12"\n\x11miss_default_test\x18\t \x01(\x07\x42\x07\x8a\x43\x04J\x02X\x01\x12 \n\nalias_test\x18\n \x01(\x07\x42\x0c\x8a\x43\tJ\x07\x62\x05\x61lias\x12#\n\tdesc_test\x18\x0b \x01(\x07\x42\x10\x8a\x43\rJ\x0bj\ttest desc\x12$\n\x10multiple_of_test\x18\x0c \x01(\x07\x42\n\x8a\x43\x07J\x05u\x00\x00@@\x12 \n\x0c\x65xample_test\x18\r \x01(\x07\x42\n\x8a\x43\x07J\x05}\x00\x00\x80?\x12\x32\n\x0f\x65xample_factory\x18\x0e \x01(\x07\x42\x19\x8a\x43\x16J\x14\x82\x01\x11p2p@builtin|float\x12\x33\n\nfield_test\x18\x0f \x01(\x07\x42\x1f\x8a\x43\x1cJ\x1a\x8a\x01\x17p2p@local|CustomerField\x12-\n\ttype_test\x18\x10 \x01(\x07\x42\x1a\x8a\x43\x17J\x15\x92\x01\x12p2p@local|confloat\x12&\n\ntitle_test\x18\x11 \x01(\x07\x42\x12\x8a\x43\x0fJ\r\x9a\x01\ntitle_test\x12H\n\nextra_test\x18\x12 \x01(\x07\x42\x34\x8a\x43\x31J/\xa2\x01,{"customer_string": "c1", "customer_int": 1}"\xaa\x06\n\x0b\x46ixed64Test\x12\x1e\n\nconst_test\x18\x01 \x01(\x06\x42\n\x8a\x43\x07J\x05\r\x01\x00\x00\x00\x12-\n\x0crange_e_test\x18\x02 \x01(\x06\x42\x17\x8a\x43\x14R\x12\x19\n\x00\x00\x00\x00\x00\x00\x00)\x01\x00\x00\x00\x00\x00\x00\x00\x12+\n\nrange_test\x18\x03 \x01(\x06\x42\x17\x8a\x43\x14R\x12\x11\n\x00\x00\x00\x00\x00\x00\x00!\x01\x00\x00\x00\x00\x00\x00\x00\x12\x30\n\x07in_test\x18\x04 \x01(\x06\x42\x1f\x8a\x43\x1cR\x1a\x32\x18\x01\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x12\x34\n\x0bnot_in_test\x18\x05 \x01(\x06\x42\x1f\x8a\x43\x1cR\x1a:\x18\x01\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x12 \n\x0c\x64\x65\x66\x61ult_test\x18\x06 \x01(\x06\x42\n\x8a\x43\x07R\x05M\x00\x00\x80?\x12 \n\x0fnot_enable_test\x18\x07 \x01(\x06\x42\x07\x8a\x43\x04R\x02@\x00\x12\x36\n\x14\x64\x65\x66\x61ult_factory_test\x18\x08 \x01(\x06\x42\x18\x8a\x43\x15R\x13R\x11p2p@builtin|float\x12"\n\x11miss_default_test\x18\t \x01(\x06\x42\x07\x8a\x43\x04R\x02X\x01\x12 \n\nalias_test\x18\n \x01(\x06\x42\x0c\x8a\x43\tR\x07\x62\x05\x61lias\x12#\n\tdesc_test\x18\x0b \x01(\x06\x42\x10\x8a\x43\rR\x0bj\ttest desc\x12$\n\x10multiple_of_test\x18\x0c \x01(\x06\x42\n\x8a\x43\x07R\x05u\x00\x00@@\x12 \n\x0c\x65xample_test\x18\r \x01(\x06\x42\n\x8a\x43\x07R\x05}\x00\x00\x80?\x12\x32\n\x0f\x65xample_factory\x18\x0e \x01(\x06\x42\x19\x8a\x43\x16R\x14\x82\x01\x11p2p@builtin|float\x12\x33\n\nfield_test\x18\x0f \x01(\x06\x42\x1f\x8a\x43\x1cR\x1a\x8a\x01\x17p2p@local|CustomerField\x12-\n\ttype_test\x18\x10 \x01(\x06\x42\x1a\x8a\x43\x17R\x15\x92\x01\x12p2p@local|confloat\x12&\n\ntitle_test\x18\x11 \x01(\x06\x42\x12\x8a\x43\x0fR\r\x9a\x01\ntitle_test\x12H\n\nextra_test\x18\x12 \x01(\x06\x42\x34\x8a\x43\x31R/\xa2\x01,{"customer_string": "c1", "customer_int": 1}"\x83\x06\n\x0cSfixed32Test\x12\x1e\n\nconst_test\x18\x01 \x01(\x0f\x42\n\x8a\x43\x07J\x05\r\x01\x00\x00\x00\x12%\n\x0crange_e_test\x18\x02 \x01(\x0f\x42\x0f\x8a\x43\x0cZ\n\x1d\n\x00\x00\x00-\x01\x00\x00\x00\x12#\n\nrange_test\x18\x03 \x01(\x0f\x42\x0f\x8a\x43\x0cZ\n\x15\n\x00\x00\x00%\x01\x00\x00\x00\x12$\n\x07in_test\x18\x04 \x01(\x0f\x42\x13\x8a\x43\x10Z\x0e\x32\x0c\x01\x00\x00\x00\x02\x00\x00\x00\x03\x00\x00\x00\x12(\n\x0bnot_in_test\x18\x05 \x01(\x0f\x42\x13\x8a\x43\x10Z\x0e:\x0c\x01\x00\x00\x00\x02\x00\x00\x00\x03\x00\x00\x00\x12 \n\x0c\x64\x65\x66\x61ult_test\x18\x06 \x01(\x0f\x42\n\x8a\x43\x07Z\x05M\x00\x00\x80?\x12 \n\x0fnot_enable_test\x18\x07 \x01(\x0f\x42\x07\x8a\x43\x04Z\x02@\x00\x12\x36\n\x14\x64\x65\x66\x61ult_factory_test\x18\x08 \x01(\x0f\x42\x18\x8a\x43\x15Z\x13R\x11p2p@builtin|float\x12"\n\x11miss_default_test\x18\t \x01(\x0f\x42\x07\x8a\x43\x04Z\x02X\x01\x12 \n\nalias_test\x18\n \x01(\x0f\x42\x0c\x8a\x43\tZ\x07\x62\x05\x61lias\x12#\n\tdesc_test\x18\x0b \x01(\x0f\x42\x10\x8a\x43\rZ\x0bj\ttest desc\x12$\n\x10multiple_of_test\x18\x0c \x01(\x0f\x42\n\x8a\x43\x07Z\x05u\x00\x00@@\x12 \n\x0c\x65xample_test\x18\r \x01(\x0f\x42\n\x8a\x43\x07Z\x05}\x00\x00\x80?\x12\x32\n\x0f\x65xample_factory\x18\x0e \x01(\x0f\x42\x19\x8a\x43\x16Z\x14\x82\x01\x11p2p@builtin|float\x12\x33\n\nfield_test\x18\x0f \x01(\x0f\x42\x1f\x8a\x43\x1cZ\x1a\x8a\x01\x17p2p@local|CustomerField\x12-\n\ttype_test\x18\x10 \x01(\x0f\x42\x1a\x8a\x43\x17Z\x15\x92\x01\x12p2p@local|confloat\x12&\n\ntitle_test\x18\x11 \x01(\x0f\x42\x12\x8a\x43\x0fZ\r\x9a\x01\ntitle_test\x12H\n\nextra_test\x18\x12 \x01(\x0f\x42\x34\x8a\x43\x31Z/\xa2\x01,{"customer_string": "c1", "customer_int": 1}"\xab\x06\n\x0cSfixed64Test\x12\x1e\n\nconst_test\x18\x01 \x01(\x10\x42\n\x8a\x43\x07J\x05\r\x01\x00\x00\x00\x12-\n\x0crange_e_test\x18\x02 \x01(\x10\x42\x17\x8a\x43\x14\x62\x12\x19\n\x00\x00\x00\x00\x00\x00\x00)\x01\x00\x00\x00\x00\x00\x00\x00\x12+\n\nrange_test\x18\x03 \x01(\x10\x42\x17\x8a\x43\x14\x62\x12\x11\n\x00\x00\x00\x00\x00\x00\x00!\x01\x00\x00\x00\x00\x00\x00\x00\x12\x30\n\x07in_test\x18\x04 \x01(\x10\x42\x1f\x8a\x43\x1c\x62\x1a\x32\x18\x01\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x12\x34\n\x0bnot_in_test\x18\x05 \x01(\x10\x42\x1f\x8a\x43\x1c\x62\x1a:\x18\x01\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x12 \n\x0c\x64\x65\x66\x61ult_test\x18\x06 \x01(\x10\x42\n\x8a\x43\x07\x62\x05M\x00\x00\x80?\x12 \n\x0fnot_enable_test\x18\x07 \x01(\x10\x42\x07\x8a\x43\x04\x62\x02@\x00\x12\x36\n\x14\x64\x65\x66\x61ult_factory_test\x18\x08 \x01(\x10\x42\x18\x8a\x43\x15\x62\x13R\x11p2p@builtin|float\x12"\n\x11miss_default_test\x18\t \x01(\x10\x42\x07\x8a\x43\x04\x62\x02X\x01\x12 \n\nalias_test\x18\n \x01(\x10\x42\x0c\x8a\x43\tb\x07\x62\x05\x61lias\x12#\n\tdesc_test\x18\x0b \x01(\x10\x42\x10\x8a\x43\rb\x0bj\ttest desc\x12$\n\x10multiple_of_test\x18\x0c \x01(\x10\x42\n\x8a\x43\x07\x62\x05u\x00\x00@@\x12 \n\x0c\x65xample_test\x18\r \x01(\x10\x42\n\x8a\x43\x07\x62\x05}\x00\x00\x80?\x12\x32\n\x0f\x65xample_factory\x18\x0e \x01(\x10\x42\x19\x8a\x43\x16\x62\x14\x82\x01\x11p2p@builtin|float\x12\x33\n\nfield_test\x18\x0f \x01(\x10\x42\x1f\x8a\x43\x1c\x62\x1a\x8a\x01\x17p2p@local|CustomerField\x12-\n\ttype_test\x18\x10 \x01(\x10\x42\x1a\x8a\x43\x17\x62\x15\x92\x01\x12p2p@local|confloat\x12&\n\ntitle_test\x18\x11 \x01(\x10\x42\x12\x8a\x43\x0f\x62\r\x9a\x01\ntitle_test\x12H\n\nextra_test\x18\x12 \x01(\x10\x42\x34\x8a\x43\x31\x62/\xa2\x01,{"customer_string": "c1", "customer_int": 1}"\xb3\x03\n\x08\x42oolTest\x12\x1c\n\x0b\x62ool_1_test\x18\x01 \x01(\x08\x42\x07\x8a\x43\x04j\x02\x08\x01\x12\x1c\n\x0b\x62ool_2_test\x18\x02 \x01(\x08\x42\x07\x8a\x43\x04j\x02\x08\x00\x12\x1c\n\x0b\x65nable_test\x18\x03 \x01(\x08\x42\x07\x8a\x43\x04j\x02\x10\x00\x12\x1d\n\x0c\x64\x65\x66\x61ult_test\x18\x04 \x01(\x08\x42\x07\x8a\x43\x04j\x02\x18\x01\x12"\n\x11miss_default_test\x18\x05 \x01(\x08\x42\x07\x8a\x43\x04j\x02 \x01\x12 \n\nalias_test\x18\n \x01(\x08\x42\x0c\x8a\x43\tj\x07*\x05\x61lias\x12#\n\tdesc_test\x18\x0b \x01(\x08\x42\x10\x8a\x43\rj\x0b\x32\ttest desc\x12\x1d\n\x0c\x65xample_test\x18\r \x01(\x08\x42\x07\x8a\x43\x04j\x02\x38\x01\x12\x32\n\nfield_test\x18\x0f \x01(\x08\x42\x1e\x8a\x43\x1bj\x19\x42\x17p2p@local|CustomerField\x12&\n\ntitle_test\x18\x11 \x01(\x08\x42\x12\x8a\x43\x0fj\r\x9a\x01\ntitle_test\x12H\n\nextra_test\x18\x12 \x01(\x08\x42\x34\x8a\x43\x31j/\xa2\x01,{"customer_string": "c1", "customer_int": 1}"\xdd\t\n\nStringTest\x12\x1e\n\nconst_test\x18\x01 \x01(\tB\n\x8a\x43\x07r\x05\n\x03\x61\x61\x61\x12\x19\n\x08len_test\x18\x02 \x01(\tB\x07\x8a\x43\x04r\x02\x10\x03\x12#\n\x10s_range_len_test\x18\x03 \x01(\tB\t\x8a\x43\x06r\x04\x18\x01 \x03\x12"\n\x0cpattern_test\x18\x05 \x01(\tB\x0c\x8a\x43\tr\x07*\x05^test\x12"\n\x0bprefix_test\x18\x06 \x01(\tB\r\x8a\x43\nr\x08\x32\x06prefix\x12"\n\x0bsuffix_test\x18\x07 \x01(\tB\r\x8a\x43\nr\x08:\x06suffix\x12&\n\rcontains_test\x18\x08 \x01(\tB\x0f\x8a\x43\x0cr\nB\x08\x63ontains\x12.\n\x11not_contains_test\x18\t \x01(\tB\x13\x8a\x43\x10r\x0eJ\x0cnot_contains\x12\x1f\n\x07in_test\x18\n \x01(\tB\x0e\x8a\x43\x0br\tR\x01\x61R\x01\x62R\x01\x63\x12#\n\x0bnot_in_test\x18\x0b \x01(\tB\x0e\x8a\x43\x0br\tZ\x01\x61Z\x01\x62Z\x01\x63\x12\x1b\n\nemail_test\x18\x0c \x01(\tB\x07\x8a\x43\x04r\x02`\x01\x12\x1e\n\rhostname_test\x18\r \x01(\tB\x07\x8a\x43\x04r\x02h\x01\x12\x18\n\x07ip_test\x18\x0e \x01(\tB\x07\x8a\x43\x04r\x02p\x01\x12\x1a\n\tipv4_test\x18\x0f \x01(\tB\x07\x8a\x43\x04r\x02x\x01\x12\x1b\n\tipv6_test\x18\x10 \x01(\tB\x08\x8a\x43\x05r\x03\x80\x01\x01\x12\x1a\n\x08uri_test\x18\x11 \x01(\tB\x08\x8a\x43\x05r\x03\x88\x01\x01\x12\x1e\n\x0curi_ref_test\x18\x12 \x01(\tB\x08\x8a\x43\x05r\x03\x90\x01\x01\x12\x1e\n\x0c\x61\x64\x64ress_test\x18\x13 \x01(\tB\x08\x8a\x43\x05r\x03\xa8\x01\x01\x12\x1b\n\tuuid_test\x18\x14 \x01(\tB\x08\x8a\x43\x05r\x03\xb0\x01\x01\x12)\n\x12pydantic_type_test\x18\x15 \x01(\tB\r\x8a\x43\nr\x08\x9a\x06\x05UUID1\x12\x1d\n\x0b\x65nable_test\x18\x16 \x01(\tB\x08\x8a\x43\x05r\x03\xb8\x01\x00\x12%\n\x0c\x64\x65\x66\x61ult_test\x18\x17 \x01(\tB\x0f\x8a\x43\x0cr\n\xc2\x01\x07\x64\x65\x66\x61ult\x12;\n\x14\x64\x65\x66\x61ult_factory_test\x18\x18 \x01(\tB\x1d\x8a\x43\x1ar\x18\xca\x01\x15p2p@import|uuid|uuid4\x12#\n\x11miss_default_test\x18\x19 \x01(\tB\x08\x8a\x43\x05r\x03\xd0\x01\x01\x12!\n\nalias_test\x18\x1a \x01(\tB\r\x8a\x43\nr\x08\xda\x01\x05\x61lias\x12$\n\tdesc_test\x18\x1b \x01(\tB\x11\x8a\x43\x0er\x0c\xe2\x01\ttest desc\x12%\n\x0c\x65xample_test\x18\x1c \x01(\tB\x0f\x8a\x43\x0cr\n\xf2\x01\x07\x65xample\x12;\n\x14\x65xample_factory_test\x18\x1d \x01(\tB\x1d\x8a\x43\x1ar\x18\xfa\x01\x15p2p@import|uuid|uuid4\x12\x33\n\nfield_test\x18\x1e \x01(\tB\x1f\x8a\x43\x1cr\x1a\x82\x02\x17p2p@local|CustomerField\x12&\n\ntitle_test\x18\x1f \x01(\tB\x12\x8a\x43\x0fr\r\x92\x02\ntitle_test\x12\x35\n\ttype_test\x18 \x01(\tB"\x8a\x43\x1fr\x1d\x8a\x02\x1ap2p@import|pydantic|constr\x12H\n\nextra_test\x18! \x01(\tB4\x8a\x43\x31r/\xa2\x01,{"customer_string": "c1", "customer_int": 1}"\xaa\x06\n\tBytesTest\x12\x1f\n\nconst_test\x18\x01 \x01(\x0c\x42\x0b\x8a\x43\x08z\x06\n\x04\x64\x65mo\x12!\n\x0erange_len_test\x18\x03 \x01(\x0c\x42\t\x8a\x43\x06z\x04\x10\x01\x18\x04\x12"\n\x0bprefix_test\x18\x05 \x01(\x0c\x42\r\x8a\x43\nz\x08*\x06prefix\x12"\n\x0bsuffix_test\x18\x06 \x01(\x0c\x42\r\x8a\x43\nz\x08\x32\x06suffix\x12&\n\rcontains_test\x18\x07 \x01(\x0c\x42\x0f\x8a\x43\x0cz\n:\x08\x63ontains\x12\x1f\n\x07in_test\x18\x08 \x01(\x0c\x42\x0e\x8a\x43\x0bz\tB\x01\x61\x42\x01\x62\x42\x01\x63\x12#\n\x0bnot_in_test\x18\t \x01(\x0c\x42\x0e\x8a\x43\x0bz\tJ\x01\x61J\x01\x62J\x01\x63\x12\x1c\n\x0b\x65nable_test\x18\x16 \x01(\x0c\x42\x07\x8a\x43\x04z\x02P\x00\x12$\n\x0c\x64\x65\x66\x61ult_test\x18\x17 \x01(\x0c\x42\x0e\x8a\x43\x0bz\tZ\x07\x64\x65\x66\x61ult\x12\x36\n\x14\x64\x65\x66\x61ult_factory_test\x18\x18 \x01(\x0c\x42\x18\x8a\x43\x15z\x13\x62\x11p2p@builtin|bytes\x12"\n\x11miss_default_test\x18\x19 \x01(\x0c\x42\x07\x8a\x43\x04z\x02h\x01\x12 \n\nalias_test\x18\x1a \x01(\x0c\x42\x0c\x8a\x43\tz\x07r\x05\x61lias\x12#\n\tdesc_test\x18\x1b \x01(\x0c\x42\x10\x8a\x43\rz\x0bz\ttest desc\x12%\n\x0c\x65xample_test\x18\x1c \x01(\x0c\x42\x0f\x8a\x43\x0cz\n\x8a\x01\x07\x65xample\x12\x37\n\x14\x65xample_factory_test\x18\x1d \x01(\x0c\x42\x19\x8a\x43\x16z\x14\x92\x01\x11p2p@builtin|bytes\x12\x33\n\nfield_test\x18\x1e \x01(\x0c\x42\x1f\x8a\x43\x1cz\x1a\x9a\x01\x17p2p@local|CustomerField\x12&\n\ntitle_test\x18\x1f \x01(\x0c\x42\x12\x8a\x43\x0fz\r\xc2\x01\ntitle_test\x12\x35\n\ttype_test\x18 \x01(\x0c\x42"\x8a\x43\x1fz\x1d\xa2\x01\x1ap2p@import|pydantic|constr\x12H\n\nextra_test\x18! \x01(\x0c\x42\x34\x8a\x43\x31z/\xca\x01,{"customer_string": "c1", "customer_int": 1}"\x95\x06\n\x08\x45numTest\x12\x36\n\nconst_test\x18\x01 \x01(\x0e\x32\x18.p2p_validate_test.StateB\x08\x8a\x43\x05\x82\x01\x02\x08\x02\x12\x35\n\x07in_test\x18\x03 \x01(\x0e\x32\x18.p2p_validate_test.StateB\n\x8a\x43\x07\x82\x01\x04\x1a\x02\x00\x02\x12\x39\n\x0bnot_in_test\x18\x04 \x01(\x0e\x32\x18.p2p_validate_test.StateB\n\x8a\x43\x07\x82\x01\x04"\x02\x00\x02\x12\x37\n\x0b\x65nable_test\x18\x16 \x01(\x0e\x32\x18.p2p_validate_test.StateB\x08\x8a\x43\x05\x82\x01\x02@\x00\x12\x38\n\x0c\x64\x65\x66\x61ult_test\x18\x17 \x01(\x0e\x32\x18.p2p_validate_test.StateB\x08\x8a\x43\x05\x82\x01\x02H\x01\x12=\n\x11miss_default_test\x18\x19 \x01(\x0e\x32\x18.p2p_validate_test.StateB\x08\x8a\x43\x05\x82\x01\x02X\x01\x12;\n\nalias_test\x18\x1a \x01(\x0e\x32\x18.p2p_validate_test.StateB\r\x8a\x43\n\x82\x01\x07\x62\x05\x61lias\x12>\n\tdesc_test\x18\x1b \x01(\x0e\x32\x18.p2p_validate_test.StateB\x11\x8a\x43\x0e\x82\x01\x0bj\ttest desc\x12\x38\n\x0c\x65xample_test\x18\x1c \x01(\x0e\x32\x18.p2p_validate_test.StateB\x08\x8a\x43\x05\x82\x01\x02x\x02\x12N\n\nfield_test\x18\x1e \x01(\x0e\x32\x18.p2p_validate_test.StateB \x8a\x43\x1d\x82\x01\x1a\x8a\x01\x17p2p@local|CustomerField\x12\x41\n\ntitle_test\x18\x1f \x01(\x0e\x32\x18.p2p_validate_test.StateB\x13\x8a\x43\x10\x82\x01\r\x92\x01\ntitle_test\x12\x63\n\nextra_test\x18! \x01(\x0e\x32\x18.p2p_validate_test.StateB5\x8a\x43\x32\x82\x01/\xa2\x01,{"customer_string": "c1", "customer_int": 1}"\x83\x10\n\x07MapTest\x12G\n\tpair_test\x18\x01 \x03(\x0b\x32(.p2p_validate_test.MapTest.PairTestEntryB\n\x8a\x43\x07\x9a\x01\x04\x08\x01\x10\x05\x12U\n\tkeys_test\x18\x03 \x03(\x0b\x32(.p2p_validate_test.MapTest.KeysTestEntryB\x18\x8a\x43\t\x9a\x01\x06"\x04r\x02\x18\x01\x8a\x43\t\x9a\x01\x06"\x04r\x02 \x05\x12Y\n\x0bvalues_test\x18\x04 \x03(\x0b\x32*.p2p_validate_test.MapTest.ValuesTestEntryB\x18\x8a\x43\t\x9a\x01\x06*\x04\x1a\x02(\x05\x8a\x43\t\x9a\x01\x06*\x04\x1a\x02\x18\x05\x12o\n\x10keys_values_test\x18\x05 \x03(\x0b\x32..p2p_validate_test.MapTest.KeysValuesTestEntryB%\x8a\x43\t\x9a\x01\x06"\x04r\x02\x18\x01\x8a\x43\t\x9a\x01\x06"\x04r\x02 \x05\x8a\x43\n\x9a\x01\x07*\x05\xb2\x01\x02@\x01\x12I\n\x0b\x65nable_test\x18\x06 \x03(\x0b\x32*.p2p_validate_test.MapTest.EnableTestEntryB\x08\x8a\x43\x05\x9a\x01\x02@\x00\x12j\n\x14\x64\x65\x66\x61ult_factory_test\x18\x18 \x03(\x0b\x32\x32.p2p_validate_test.MapTest.DefaultFactoryTestEntryB\x18\x8a\x43\x15\x9a\x01\x12R\x10p2p@builtin|dict\x12T\n\x11miss_default_test\x18\x19 \x03(\x0b\x32/.p2p_validate_test.MapTest.MissDefaultTestEntryB\x08\x8a\x43\x05\x9a\x01\x02X\x01\x12L\n\nalias_test\x18\x1a \x03(\x0b\x32).p2p_validate_test.MapTest.AliasTestEntryB\r\x8a\x43\n\x9a\x01\x07\x62\x05\x61lias\x12N\n\tdesc_test\x18\x1b \x03(\x0b\x32(.p2p_validate_test.MapTest.DescTestEntryB\x11\x8a\x43\x0e\x9a\x01\x0bj\ttest desc\x12k\n\x14\x65xample_factory_test\x18\x1d \x03(\x0b\x32\x32.p2p_validate_test.MapTest.ExampleFactoryTestEntryB\x19\x8a\x43\x16\x9a\x01\x13\x82\x01\x10p2p@builtin|dict\x12_\n\nfield_test\x18\x1e \x03(\x0b\x32).p2p_validate_test.MapTest.FieldTestEntryB \x8a\x43\x1d\x9a\x01\x1a\x8a\x01\x17p2p@local|CustomerField\x12R\n\ntitle_test\x18\x1f \x03(\x0b\x32).p2p_validate_test.MapTest.TitleTestEntryB\x13\x8a\x43\x10\x9a\x01\r\x9a\x01\ntitle_test\x12V\n\ttype_test\x18 \x03(\x0b\x32(.p2p_validate_test.MapTest.TypeTestEntryB\x19\x8a\x43\x16\x9a\x01\x13\x92\x01\x10p2p@builtin|dict\x12t\n\nextra_test\x18! \x03(\x0b\x32).p2p_validate_test.MapTest.ExtraTestEntryB5\x8a\x43\x32\x9a\x01/\xa2\x01,{"customer_string": "c1", "customer_int": 1}\x1a/\n\rPairTestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a/\n\rKeysTestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x31\n\x0fValuesTestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1aQ\n\x13KeysValuesTestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp:\x02\x38\x01\x1a\x31\n\x0f\x45nableTestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x39\n\x17\x44\x65\x66\x61ultFactoryTestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x36\n\x14MissDefaultTestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x30\n\x0e\x41liasTestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a/\n\rDescTestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x39\n\x17\x45xampleFactoryTestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x30\n\x0e\x46ieldTestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x30\n\x0eTitleTestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a/\n\rTypeTestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x30\n\x0e\x45xtraTestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01"\x96\x01\n\x0bMessageTest\x12\x1b\n\tskip_test\x18\x01 \x01(\tB\x08\x8a\x43\x05\x8a\x01\x02\x08\x01\x12\x1f\n\rrequired_test\x18\x02 \x01(\tB\x08\x8a\x43\x05\x8a\x01\x02\x10\x01\x12I\n\nextra_test\x18! \x01(\tB5\x8a\x43\x32\x8a\x01/\xa2\x01,{"customer_string": "c1", "customer_int": 1}"\xbb\x07\n\x0cRepeatedTest\x12\x1e\n\nrange_test\x18\x01 \x03(\tB\n\x8a\x43\x07\x92\x01\x04\x08\x01\x10\x05\x12\x1d\n\x0bunique_test\x18\x02 \x03(\tB\x08\x8a\x43\x05\x92\x01\x02\x18\x01\x12\x33\n\x11items_string_test\x18\x03 \x03(\tB\x18\x8a\x43\x07\x92\x01\x04\x08\x01\x10\x05\x8a\x43\x0b\x92\x01\x08"\x06r\x04\x18\x01 \x05\x12\x41\n\x11items_double_test\x18\x04 \x03(\x01\x42&\x8a\x43\x07\x92\x01\x04\x08\x01\x10\x05\x8a\x43\x19\x92\x01\x16"\x14\x12\x12\x11\x00\x00\x00\x00\x00\x00\x14@!\x00\x00\x00\x00\x00\x00\xf0?\x12\x32\n\x10items_int32_test\x18\x05 \x03(\x05\x42\x18\x8a\x43\x07\x92\x01\x04\x08\x01\x10\x05\x8a\x43\x0b\x92\x01\x08"\x06\x1a\x04\x10\x05 \x01\x12_\n\x14items_timestamp_test\x18\x06 \x03(\x0b\x32\x1a.google.protobuf.TimestampB%\x8a\x43\x07\x92\x01\x04\x08\x01\x10\x05\x8a\x43\x18\x92\x01\x15"\x13\xb2\x01\x10\x1a\x06\x08\x8a\xa0\xf8\xfa\x05*\x06\x08\x80\xa0\xf8\xfa\x05\x12U\n\x13items_duration_test\x18\x07 \x03(\x0b\x32\x19.google.protobuf.DurationB\x1d\x8a\x43\x07\x92\x01\x04\x08\x01\x10\x05\x8a\x43\x10\x92\x01\r"\x0b\xaa\x01\x08"\x02\x08\n2\x02\x08\n\x12\x32\n\x10items_bytes_test\x18\x08 \x03(\x0c\x42\x18\x8a\x43\x07\x92\x01\x04\x08\x01\x10\x05\x8a\x43\x0b\x92\x01\x08"\x06z\x04\x10\x01\x18\x05\x12\x1d\n\x0b\x65nable_test\x18\t \x03(\tB\x08\x8a\x43\x05\x92\x01\x02@\x00\x12\x36\n\x14\x64\x65\x66\x61ult_factory_test\x18\x18 \x03(\tB\x18\x8a\x43\x15\x92\x01\x12R\x10p2p@builtin|list\x12#\n\x11miss_default_test\x18\x19 \x03(\tB\x08\x8a\x43\x05\x92\x01\x02X\x01\x12!\n\nalias_test\x18\x1a \x03(\tB\r\x8a\x43\n\x92\x01\x07\x62\x05\x61lias\x12$\n\tdesc_test\x18\x1b \x03(\tB\x11\x8a\x43\x0e\x92\x01\x0bj\ttest desc\x12\x37\n\x14\x65xample_factory_test\x18\x1d \x03(\tB\x19\x8a\x43\x16\x92\x01\x13\x82\x01\x10p2p@builtin|list\x12\x34\n\nfield_test\x18\x1e \x03(\tB \x8a\x43\x1d\x92\x01\x1a\x8a\x01\x17p2p@local|CustomerField\x12\'\n\ntitle_test\x18\x1f \x03(\tB\x13\x8a\x43\x10\x92\x01\r\x9a\x01\ntitle_test\x12,\n\ttype_test\x18 \x03(\tB\x19\x8a\x43\x16\x92\x01\x13\x92\x01\x10p2p@builtin|list\x12I\n\nextra_test\x18! \x03(\tB5\x8a\x43\x32\x92\x01/\xa2\x01,{"customer_string": "c1", "customer_int": 1}"\x9f\n\n\x07\x41nyTest\x12\x35\n\rrequired_test\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x08\x8a\x43\x05\xa2\x01\x02\x08\x01\x12\x8e\x01\n\x0bnot_in_test\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyBc\x8a\x43`\xa2\x01]\x1a,type.googleapis.com/google.protobuf.Duration\x1a-type.googleapis.com/google.protobuf.Timestamp\x12\xcd\x01\n\x07in_test\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyB\xa5\x01\x8a\x43\xa1\x01\xa2\x01\x9d\x01\x12lp2p@import_instance|google.protobuf.any_pb2|Any|{"type_url": "type.googleapis.com/google.protobuf.Duration"}\x12-type.googleapis.com/google.protobuf.Timestamp\x12\x33\n\x0b\x65nable_test\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyB\x08\x8a\x43\x05\xa2\x01\x02@\x00\x12\xa0\x01\n\x0c\x64\x65\x66\x61ult_test\x18\x17 \x01(\x0b\x32\x14.google.protobuf.AnyBt\x8a\x43q\xa2\x01nJlp2p@import_instance|google.protobuf.any_pb2|Any|{"type_url": "type.googleapis.com/google.protobuf.Duration"}\x12R\n\x14\x64\x65\x66\x61ult_factory_test\x18\x18 \x01(\x0b\x32\x14.google.protobuf.AnyB\x1e\x8a\x43\x1b\xa2\x01\x18R\x16p2p@local|customer_any\x12\x39\n\x11miss_default_test\x18\x19 \x01(\x0b\x32\x14.google.protobuf.AnyB\x08\x8a\x43\x05\xa2\x01\x02X\x01\x12\x37\n\nalias_test\x18\x1a \x01(\x0b\x32\x14.google.protobuf.AnyB\r\x8a\x43\n\xa2\x01\x07\x62\x05\x61lias\x12:\n\tdesc_test\x18\x1b \x01(\x0b\x32\x14.google.protobuf.AnyB\x11\x8a\x43\x0e\xa2\x01\x0bj\ttest desc\x12`\n\x0c\x65xample_test\x18\x1c \x01(\x0b\x32\x14.google.protobuf.AnyB4\x8a\x43\x31\xa2\x01.r,type.googleapis.com/google.protobuf.Duration\x12R\n\x14\x65xample_factory_test\x18\x1d \x01(\x0b\x32\x14.google.protobuf.AnyB\x1e\x8a\x43\x1b\xa2\x01\x18z\x16p2p@local|customer_any\x12J\n\nfield_test\x18\x1e \x01(\x0b\x32\x14.google.protobuf.AnyB \x8a\x43\x1d\xa2\x01\x1a\x82\x01\x17p2p@local|CustomerField\x12=\n\ntitle_test\x18\x1f \x01(\x0b\x32\x14.google.protobuf.AnyB\x13\x8a\x43\x10\xa2\x01\r\x8a\x01\ntitle_test\x12_\n\nextra_test\x18! \x01(\x0b\x32\x14.google.protobuf.AnyB5\x8a\x43\x32\xa2\x01/\xa2\x01,{"customer_string": "c1", "customer_int": 1}"\x8c\n\n\x0c\x44urationTest\x12?\n\nconst_test\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x10\x8a\x43\r\xaa\x01\n\x12\x08\x08\x01\x10\x80\xca\xb5\xee\x01\x12I\n\nrange_test\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x1a\x8a\x43\x17\xaa\x01\x14\x1a\x08\x08\n\x10\x80\xca\xb5\xee\x01*\x08\x08\x05\x10\x80\xca\xb5\xee\x01\x12K\n\x0crange_e_test\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x1a\x8a\x43\x17\xaa\x01\x14"\x08\x08\n\x10\x80\xca\xb5\xee\x01\x32\x08\x08\x05\x10\x80\xca\xb5\xee\x01\x12\x46\n\x07in_test\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x1a\x8a\x43\x17\xaa\x01\x14:\x08\x08\x01\x10\x80\xca\xb5\xee\x01:\x08\x08\x03\x10\x80\xca\xb5\xee\x01\x12J\n\x0bnot_in_test\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x1a\x8a\x43\x17\xaa\x01\x14\x42\x08\x08\x01\x10\x80\xca\xb5\xee\x01\x42\x08\x08\x03\x10\x80\xca\xb5\xee\x01\x12\x38\n\x0b\x65nable_test\x18\x16 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\x8a\x43\x05\xaa\x01\x02p\x00\x12\x41\n\x0c\x64\x65\x66\x61ult_test\x18\x17 \x01(\x0b\x32\x19.google.protobuf.DurationB\x10\x8a\x43\r\xaa\x01\nJ\x08\x08\x01\x10\x80\xca\xb5\xee\x01\x12^\n\x14\x64\x65\x66\x61ult_factory_test\x18\x18 \x01(\x0b\x32\x19.google.protobuf.DurationB%\x8a\x43"\xaa\x01\x1fR\x1dp2p@import|datetime|timedelta\x12>\n\x11miss_default_test\x18\x19 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\x8a\x43\x05\xaa\x01\x02X\x01\x12<\n\nalias_test\x18\x1a \x01(\x0b\x32\x19.google.protobuf.DurationB\r\x8a\x43\n\xaa\x01\x07\x62\x05\x61lias\x12?\n\tdesc_test\x18\x1b \x01(\x0b\x32\x19.google.protobuf.DurationB\x11\x8a\x43\x0e\xaa\x01\x0bj\ttest desc\x12\x41\n\x0c\x65xample_test\x18\x1c \x01(\x0b\x32\x19.google.protobuf.DurationB\x10\x8a\x43\r\xaa\x01\nz\x08\x08\x01\x10\x80\xca\xb5\xee\x01\x12_\n\x14\x65xample_factory_test\x18\x1d \x01(\x0b\x32\x19.google.protobuf.DurationB&\x8a\x43#\xaa\x01 \x82\x01\x1dp2p@import|datetime|timedelta\x12O\n\nfield_test\x18\x1e \x01(\x0b\x32\x19.google.protobuf.DurationB \x8a\x43\x1d\xaa\x01\x1a\x8a\x01\x17p2p@local|CustomerField\x12\x42\n\ntitle_test\x18\x1f \x01(\x0b\x32\x19.google.protobuf.DurationB\x13\x8a\x43\x10\xaa\x01\r\x9a\x01\ntitle_test\x12T\n\ttype_test\x18 \x01(\x0b\x32\x19.google.protobuf.DurationB&\x8a\x43#\xaa\x01 \x92\x01\x1dp2p@import|datetime|timedelta\x12\x64\n\nextra_test\x18! \x01(\x0b\x32\x19.google.protobuf.DurationB5\x8a\x43\x32\xaa\x01/\xa2\x01,{"customer_string": "c1", "customer_int": 1}"\x82\x0b\n\rTimestampTest\x12>\n\nconst_test\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x0e\x8a\x43\x0b\xb2\x01\x08\x12\x06\x08\x80\xa0\xf8\xfa\x05\x12\x46\n\nrange_test\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x16\x8a\x43\x13\xb2\x01\x10\x1a\x06\x08\x8a\xa0\xf8\xfa\x05*\x06\x08\x80\xa0\xf8\xfa\x05\x12H\n\x0crange_e_test\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x16\x8a\x43\x13\xb2\x01\x10"\x06\x08\x8a\xa0\xf8\xfa\x05\x32\x06\x08\x80\xa0\xf8\xfa\x05\x12\x39\n\x0blt_now_test\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\x8a\x43\x05\xb2\x01\x02\x38\x01\x12\x39\n\x0bgt_now_test\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\x8a\x43\x05\xb2\x01\x02@\x01\x12;\n\x0bwithin_test\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\n\x8a\x43\x07\xb2\x01\x04J\x02\x08\x01\x12I\n\x16within_and_gt_now_test\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\x8a\x43\n\xb2\x01\x07@\x01J\x03\x08\x90\x1c\x12\x39\n\x0b\x65nable_test\x18\x16 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\x8a\x43\x05\xb2\x01\x02P\x00\x12\x42\n\x0c\x64\x65\x66\x61ult_test\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x10\x8a\x43\r\xb2\x01\nZ\x08\x08\x01\x10\x80\xca\xb5\xee\x01\x12\x62\n\x14\x64\x65\x66\x61ult_factory_test\x18\x18 \x01(\x0b\x32\x1a.google.protobuf.TimestampB(\x8a\x43%\xb2\x01"b p2p@import|datetime|datetime.now\x12?\n\x11miss_default_test\x18\x19 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\x8a\x43\x05\xb2\x01\x02h\x01\x12=\n\nalias_test\x18\x1a \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\x8a\x43\n\xb2\x01\x07r\x05\x61lias\x12@\n\tdesc_test\x18\x1b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x11\x8a\x43\x0e\xb2\x01\x0bz\ttest desc\x12\x43\n\x0c\x65xample_test\x18\x1c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x11\x8a\x43\x0e\xb2\x01\x0b\x82\x01\x08\x08\x01\x10\x80\xca\xb5\xee\x01\x12\x63\n\x14\x65xample_factory_test\x18\x1d \x01(\x0b\x32\x1a.google.protobuf.TimestampB)\x8a\x43&\xb2\x01#\x8a\x01 p2p@import|datetime|datetime.now\x12P\n\nfield_test\x18\x1e \x01(\x0b\x32\x1a.google.protobuf.TimestampB \x8a\x43\x1d\xb2\x01\x1a\x92\x01\x17p2p@local|CustomerField\x12\x43\n\ntitle_test\x18\x1f \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x13\x8a\x43\x10\xb2\x01\r\xa2\x01\ntitle_test\x12T\n\ttype_test\x18 \x01(\x0b\x32\x1a.google.protobuf.TimestampB%\x8a\x43"\xb2\x01\x1f\x9a\x01\x1cp2p@import|datetime|datetime\x12\x65\n\nextra_test\x18! \x01(\x0b\x32\x1a.google.protobuf.TimestampB5\x8a\x43\x32\xb2\x01/\xaa\x01,{"customer_string": "c1", "customer_int": 1}"\x85\x01\n\x12MessageIgnoredTest\x12\x1e\n\nconst_test\x18\x01 \x01(\x11\x42\n\x8a\x43\x07\n\x05\r\x00\x00\x80?\x12%\n\x0crange_e_test\x18\x02 \x01(\x11\x42\x0f\x8a\x43\x0c\n\n\x1d\x00\x00 A-\x00\x00\x80?\x12#\n\nrange_test\x18\x03 \x01(\x11\x42\x0f\x8a\x43\x0c\n\n\x15\x00\x00 A%\x00\x00\x80?:\x03\x88\x43\x01"@\n\tOneOfTest\x12\x0e\n\x06header\x18\x01 \x01(\t\x12\x0b\n\x01x\x18\x02 \x01(\tH\x00\x12\x0b\n\x01y\x18\x03 \x01(\x05H\x00\x42\t\n\x02id\x12\x03\x88\x43\x01">\n\x0cOneOfNotTest\x12\x0e\n\x06header\x18\x01 \x01(\t\x12\x0b\n\x01x\x18\x02 \x01(\tH\x00\x12\x0b\n\x01y\x18\x03 \x01(\x05H\x00\x42\x04\n\x02id"\xe1\x06\n\rNestedMessage\x12Q\n\x12string_in_map_test\x18\x01 \x03(\x0b\x32\x35.p2p_validate_test.NestedMessage.StringInMapTestEntry\x12K\n\x0fmap_in_map_test\x18\x02 \x03(\x0b\x32\x32.p2p_validate_test.NestedMessage.MapInMapTestEntry\x12\x41\n\x08user_pay\x18\x03 \x01(\x0b\x32/.p2p_validate_test.NestedMessage.UserPayMessage\x12_\n\x13not_enable_user_pay\x18\x04 \x01(\x0b\x32\x38.p2p_validate_test.NestedMessage.NotEnableUserPayMessageB\x08\x8a\x43\x05\x8a\x01\x02\x08\x01\x12%\n\x05\x65mpty\x18\x05 \x01(\x0b\x32\x16.google.protobuf.Empty\x12\x39\n\x0b\x61\x66ter_refer\x18\x07 \x01(\x0b\x32$.p2p_validate_test.AfterReferMessage\x1a{\n\x0eUserPayMessage\x12\x1e\n\x0b\x62\x61nk_number\x18\x01 \x01(\tB\t\x8a\x43\x06r\x04\x18\r \x13\x12\x31\n\x03\x65xp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\x8a\x43\x05\xb2\x01\x02@\x01\x12\x16\n\x04uuid\x18\x03 \x01(\tB\x08\x8a\x43\x05r\x03\xb0\x01\x01\x1a\x84\x01\n\x17NotEnableUserPayMessage\x12\x1e\n\x0b\x62\x61nk_number\x18\x01 \x01(\tB\t\x8a\x43\x06r\x04\x18\r \x13\x12\x31\n\x03\x65xp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\x8a\x43\x05\xb2\x01\x02@\x01\x12\x16\n\x04uuid\x18\x03 \x01(\tB\x08\x8a\x43\x05r\x03\xb0\x01\x01\x1aU\n\x14StringInMapTestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.p2p_validate_test.StringTest:\x02\x38\x01\x1aO\n\x11MapInMapTestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.p2p_validate_test.MapTest:\x02\x38\x01"m\n\x11\x41\x66terReferMessage\x12\x33\n\x03uid\x18\x01 \x01(\tB&\x8a\x43#r!\xd0\x01\x01\xe2\x01\ruser union id\xf2\x01\x05\x31\x30\x30\x38\x36\x92\x02\x03UID\x12#\n\x03\x61ge\x18\x02 \x01(\x05\x42\x16\x8a\x43\x13\x1a\x11(\x00}\x00\x00\x90\x41\x9a\x01\x07use age*.\n\x05State\x12\x0c\n\x08INACTIVE\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x62\x06proto3', - dependencies=[ - google_dot_protobuf_dot_any__pb2.DESCRIPTOR, - google_dot_protobuf_dot_empty__pb2.DESCRIPTOR, - google_dot_protobuf_dot_duration__pb2.DESCRIPTOR, - google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR, - example_dot_example__proto_dot_common_dot_p2p__validate__pb2.DESCRIPTOR, - ], -) - -_STATE = _descriptor.EnumDescriptor( - name="State", - full_name="p2p_validate_test.State", - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name="INACTIVE", - index=0, - number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="PENDING", - index=1, - number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="ACTIVE", - index=2, - number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - ], - containing_type=None, - serialized_options=None, - serialized_start=21122, - serialized_end=21168, -) -_sym_db.RegisterEnumDescriptor(_STATE) - -State = enum_type_wrapper.EnumTypeWrapper(_STATE) -INACTIVE = 0 -PENDING = 1 -ACTIVE = 2 - - -_FLOATTEST = _descriptor.Descriptor( - name="FloatTest", - full_name="p2p_validate_test.FloatTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="p2p_validate_test.FloatTest.const_test", - index=0, - number=1, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007\n\005\r\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="p2p_validate_test.FloatTest.range_e_test", - index=1, - number=2, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\014\n\n\035\000\000 A-\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="p2p_validate_test.FloatTest.range_test", - index=2, - number=3, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\014\n\n\025\000\000 A%\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="p2p_validate_test.FloatTest.in_test", - index=3, - number=4, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\020\n\0162\014\000\000\200?\000\000\000@\000\000@@", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="p2p_validate_test.FloatTest.not_in_test", - index=4, - number=5, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\020\n\016:\014\000\000\200?\000\000\000@\000\000@@", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_test", - full_name="p2p_validate_test.FloatTest.default_test", - index=5, - number=6, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007\n\005M\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_enable_test", - full_name="p2p_validate_test.FloatTest.not_enable_test", - index=6, - number=7, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004\n\002@\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory_test", - full_name="p2p_validate_test.FloatTest.default_factory_test", - index=7, - number=8, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\025\n\023R\021p2p@builtin|float", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default_test", - full_name="p2p_validate_test.FloatTest.miss_default_test", - index=8, - number=9, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004\n\002X\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias_test", - full_name="p2p_validate_test.FloatTest.alias_test", - index=9, - number=10, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\t\n\007b\005alias", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="desc_test", - full_name="p2p_validate_test.FloatTest.desc_test", - index=10, - number=11, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\r\n\013j\ttest desc", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="multiple_of_test", - full_name="p2p_validate_test.FloatTest.multiple_of_test", - index=11, - number=12, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007\n\005u\000\000@@", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_test", - full_name="p2p_validate_test.FloatTest.example_test", - index=12, - number=13, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007\n\005}\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate_test.FloatTest.example_factory", - index=13, - number=14, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\026\n\024\202\001\021p2p@builtin|float", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field_test", - full_name="p2p_validate_test.FloatTest.field_test", - index=14, - number=15, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\034\n\032\212\001\027p2p@local|CustomerField", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type_test", - full_name="p2p_validate_test.FloatTest.type_test", - index=15, - number=16, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\027\n\025\222\001\022p2p@local|confloat", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title_test", - full_name="p2p_validate_test.FloatTest.title_test", - index=16, - number=17, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\017\n\r\232\001\ntitle_test", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra_test", - full_name="p2p_validate_test.FloatTest.extra_test", - index=17, - number=18, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C1\n/\242\001,{"customer_string": "c1", "customer_int": 1}', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=239, - serialized_end=1007, -) - - -_DOUBLETEST = _descriptor.Descriptor( - name="DoubleTest", - full_name="p2p_validate_test.DoubleTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="p2p_validate_test.DoubleTest.const_test", - index=0, - number=1, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\013\022\t\t\000\000\000\000\000\000\360?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="p2p_validate_test.DoubleTest.range_e_test", - index=1, - number=2, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\024\022\022\031\000\000\000\000\000\000$@)\000\000\000\000\000\000\360?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="p2p_validate_test.DoubleTest.range_test", - index=2, - number=3, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\024\022\022\021\000\000\000\000\000\000$@!\000\000\000\000\000\000\360?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="p2p_validate_test.DoubleTest.in_test", - index=3, - number=4, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\034\022\0322\030\000\000\000\000\000\000\360?\000\000\000\000\000\000\000@\000\000\000\000\000\000\010@", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="p2p_validate_test.DoubleTest.not_in_test", - index=4, - number=5, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\034\022\032:\030\000\000\000\000\000\000\360?\000\000\000\000\000\000\000@\000\000\000\000\000\000\010@", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_test", - full_name="p2p_validate_test.DoubleTest.default_test", - index=5, - number=6, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007\022\005M\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_enable_test", - full_name="p2p_validate_test.DoubleTest.not_enable_test", - index=6, - number=7, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004\022\002@\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory_test", - full_name="p2p_validate_test.DoubleTest.default_factory_test", - index=7, - number=8, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\025\022\023R\021p2p@builtin|float", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default_test", - full_name="p2p_validate_test.DoubleTest.miss_default_test", - index=8, - number=9, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004\022\002X\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias_test", - full_name="p2p_validate_test.DoubleTest.alias_test", - index=9, - number=10, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\t\022\007b\005alias", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="desc_test", - full_name="p2p_validate_test.DoubleTest.desc_test", - index=10, - number=11, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\r\022\013j\ttest desc", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="multiple_of_test", - full_name="p2p_validate_test.DoubleTest.multiple_of_test", - index=11, - number=12, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007\022\005u\000\000@@", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_test", - full_name="p2p_validate_test.DoubleTest.example_test", - index=12, - number=13, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007\022\005}\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate_test.DoubleTest.example_factory", - index=13, - number=14, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\026\022\024\202\001\021p2p@builtin|float", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field_test", - full_name="p2p_validate_test.DoubleTest.field_test", - index=14, - number=15, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\034\022\032\212\001\027p2p@local|CustomerField", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type_test", - full_name="p2p_validate_test.DoubleTest.type_test", - index=15, - number=16, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\027\022\025\222\001\022p2p@local|confloat", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title_test", - full_name="p2p_validate_test.DoubleTest.title_test", - index=16, - number=17, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\017\022\r\232\001\ntitle_test", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra_test", - full_name="p2p_validate_test.DoubleTest.extra_test", - index=17, - number=18, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C1\022/\242\001,{"customer_string": "c1", "customer_int": 1}', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1010, - serialized_end=1823, -) - - -_INT32TEST = _descriptor.Descriptor( - name="Int32Test", - full_name="p2p_validate_test.Int32Test", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="p2p_validate_test.Int32Test.const_test", - index=0, - number=1, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004\032\002\010\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="p2p_validate_test.Int32Test.range_e_test", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\006\032\004\030\n(\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="p2p_validate_test.Int32Test.range_test", - index=2, - number=3, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\006\032\004\020\n \001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="p2p_validate_test.Int32Test.in_test", - index=3, - number=4, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007\032\0052\003\001\002\003", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="p2p_validate_test.Int32Test.not_in_test", - index=4, - number=5, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007\032\005:\003\001\002\003", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_test", - full_name="p2p_validate_test.Int32Test.default_test", - index=5, - number=6, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007\032\005M\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_enable_test", - full_name="p2p_validate_test.Int32Test.not_enable_test", - index=6, - number=7, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004\032\002@\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory_test", - full_name="p2p_validate_test.Int32Test.default_factory_test", - index=7, - number=8, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\023\032\021R\017p2p@builtin|int", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default_test", - full_name="p2p_validate_test.Int32Test.miss_default_test", - index=8, - number=9, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004\032\002X\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias_test", - full_name="p2p_validate_test.Int32Test.alias_test", - index=9, - number=10, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\t\032\007b\005alias", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="desc_test", - full_name="p2p_validate_test.Int32Test.desc_test", - index=10, - number=11, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\r\032\013j\ttest desc", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="multiple_of_test", - full_name="p2p_validate_test.Int32Test.multiple_of_test", - index=11, - number=12, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007\032\005u\000\000@@", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_test", - full_name="p2p_validate_test.Int32Test.example_test", - index=12, - number=13, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007\032\005}\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate_test.Int32Test.example_factory", - index=13, - number=14, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\024\032\022\202\001\017p2p@builtin|int", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field_test", - full_name="p2p_validate_test.Int32Test.field_test", - index=14, - number=15, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\034\032\032\212\001\027p2p@local|CustomerField", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type_test", - full_name="p2p_validate_test.Int32Test.type_test", - index=15, - number=16, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\027\032\025\222\001\022p2p@local|confloat", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title_test", - full_name="p2p_validate_test.Int32Test.title_test", - index=16, - number=17, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\017\032\r\232\001\ntitle_test", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra_test", - full_name="p2p_validate_test.Int32Test.extra_test", - index=17, - number=18, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C1\032/\242\001,{"customer_string": "c1", "customer_int": 1}', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1826, - serialized_end=2557, -) - - -_INT64TEST = _descriptor.Descriptor( - name="Int64Test", - full_name="p2p_validate_test.Int64Test", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="p2p_validate_test.Int64Test.const_test", - index=0, - number=1, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\004"\002\010\001', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="p2p_validate_test.Int64Test.range_e_test", - index=1, - number=2, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\006"\004\030\n(\001', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="p2p_validate_test.Int64Test.range_test", - index=2, - number=3, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\006"\004\020\n \001', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="p2p_validate_test.Int64Test.in_test", - index=3, - number=4, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\007"\0052\003\001\002\003', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="p2p_validate_test.Int64Test.not_in_test", - index=4, - number=5, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\007"\005:\003\001\002\003', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_test", - full_name="p2p_validate_test.Int64Test.default_test", - index=5, - number=6, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\007"\005M\000\000\200?', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_enable_test", - full_name="p2p_validate_test.Int64Test.not_enable_test", - index=6, - number=7, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\004"\002@\000', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory_test", - full_name="p2p_validate_test.Int64Test.default_factory_test", - index=7, - number=8, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\023"\021R\017p2p@builtin|int', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default_test", - full_name="p2p_validate_test.Int64Test.miss_default_test", - index=8, - number=9, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\004"\002X\001', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias_test", - full_name="p2p_validate_test.Int64Test.alias_test", - index=9, - number=10, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\t"\007b\005alias', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="desc_test", - full_name="p2p_validate_test.Int64Test.desc_test", - index=10, - number=11, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\r"\013j\ttest desc', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="multiple_of_test", - full_name="p2p_validate_test.Int64Test.multiple_of_test", - index=11, - number=12, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\007"\005u\000\000@@', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_test", - full_name="p2p_validate_test.Int64Test.example_test", - index=12, - number=13, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\007"\005}\000\000\200?', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate_test.Int64Test.example_factory", - index=13, - number=14, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\024"\022\202\001\017p2p@builtin|int', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field_test", - full_name="p2p_validate_test.Int64Test.field_test", - index=14, - number=15, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\034"\032\212\001\027p2p@local|CustomerField', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type_test", - full_name="p2p_validate_test.Int64Test.type_test", - index=15, - number=16, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\027"\025\222\001\022p2p@local|confloat', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title_test", - full_name="p2p_validate_test.Int64Test.title_test", - index=16, - number=17, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\017"\r\232\001\ntitle_test', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra_test", - full_name="p2p_validate_test.Int64Test.extra_test", - index=17, - number=18, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C1"/\242\001,{"customer_string": "c1", "customer_int": 1}', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=2560, - serialized_end=3291, -) - - -_UINT32TEST = _descriptor.Descriptor( - name="Uint32Test", - full_name="p2p_validate_test.Uint32Test", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="p2p_validate_test.Uint32Test.const_test", - index=0, - number=1, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004*\002\010\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="p2p_validate_test.Uint32Test.range_e_test", - index=1, - number=2, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\006*\004\030\n(\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="p2p_validate_test.Uint32Test.range_test", - index=2, - number=3, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\006*\004\020\n \001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="p2p_validate_test.Uint32Test.in_test", - index=3, - number=4, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007*\0052\003\001\002\003", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="p2p_validate_test.Uint32Test.not_in_test", - index=4, - number=5, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007*\005:\003\001\002\003", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_test", - full_name="p2p_validate_test.Uint32Test.default_test", - index=5, - number=6, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007*\005M\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_enable_test", - full_name="p2p_validate_test.Uint32Test.not_enable_test", - index=6, - number=7, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004*\002@\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory_test", - full_name="p2p_validate_test.Uint32Test.default_factory_test", - index=7, - number=8, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\023*\021R\017p2p@builtin|int", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default_test", - full_name="p2p_validate_test.Uint32Test.miss_default_test", - index=8, - number=9, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004*\002X\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias_test", - full_name="p2p_validate_test.Uint32Test.alias_test", - index=9, - number=10, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\t*\007b\005alias", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="desc_test", - full_name="p2p_validate_test.Uint32Test.desc_test", - index=10, - number=11, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\r*\013j\ttest desc", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="multiple_of_test", - full_name="p2p_validate_test.Uint32Test.multiple_of_test", - index=11, - number=12, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007*\005u\000\000@@", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_test", - full_name="p2p_validate_test.Uint32Test.example_test", - index=12, - number=13, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007*\005}\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate_test.Uint32Test.example_factory", - index=13, - number=14, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\024*\022\202\001\017p2p@builtin|int", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field_test", - full_name="p2p_validate_test.Uint32Test.field_test", - index=14, - number=15, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\034*\032\212\001\027p2p@local|CustomerField", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type_test", - full_name="p2p_validate_test.Uint32Test.type_test", - index=15, - number=16, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\025*\023\222\001\020p2p@local|conint", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title_test", - full_name="p2p_validate_test.Uint32Test.title_test", - index=16, - number=17, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\017*\r\232\001\ntitle_test", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra_test", - full_name="p2p_validate_test.Uint32Test.extra_test", - index=17, - number=18, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C1*/\242\001,{"customer_string": "c1", "customer_int": 1}', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=3294, - serialized_end=4024, -) - - -_SINT32TEST = _descriptor.Descriptor( - name="Sint32Test", - full_name="p2p_validate_test.Sint32Test", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="p2p_validate_test.Sint32Test.const_test", - index=0, - number=1, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004:\002\010\002", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="p2p_validate_test.Sint32Test.range_e_test", - index=1, - number=2, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\006:\004\030\024(\002", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="p2p_validate_test.Sint32Test.range_test", - index=2, - number=3, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\006:\004\020\024 \002", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="p2p_validate_test.Sint32Test.in_test", - index=3, - number=4, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007:\0052\003\002\004\006", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="p2p_validate_test.Sint32Test.not_in_test", - index=4, - number=5, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007:\005:\003\002\004\006", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_test", - full_name="p2p_validate_test.Sint32Test.default_test", - index=5, - number=6, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007:\005M\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_enable_test", - full_name="p2p_validate_test.Sint32Test.not_enable_test", - index=6, - number=7, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004:\002@\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory_test", - full_name="p2p_validate_test.Sint32Test.default_factory_test", - index=7, - number=8, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\023:\021R\017p2p@builtin|int", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default_test", - full_name="p2p_validate_test.Sint32Test.miss_default_test", - index=8, - number=9, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004:\002X\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias_test", - full_name="p2p_validate_test.Sint32Test.alias_test", - index=9, - number=10, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\t:\007b\005alias", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="desc_test", - full_name="p2p_validate_test.Sint32Test.desc_test", - index=10, - number=11, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\r:\013j\ttest desc", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="multiple_of_test", - full_name="p2p_validate_test.Sint32Test.multiple_of_test", - index=11, - number=12, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007:\005u\000\000@@", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_test", - full_name="p2p_validate_test.Sint32Test.example_test", - index=12, - number=13, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007:\005}\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate_test.Sint32Test.example_factory", - index=13, - number=14, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\024:\022\202\001\017p2p@builtin|int", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field_test", - full_name="p2p_validate_test.Sint32Test.field_test", - index=14, - number=15, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\034:\032\212\001\027p2p@local|CustomerField", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type_test", - full_name="p2p_validate_test.Sint32Test.type_test", - index=15, - number=16, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\025:\023\222\001\020p2p@local|conint", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title_test", - full_name="p2p_validate_test.Sint32Test.title_test", - index=16, - number=17, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\017:\r\232\001\ntitle_test", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra_test", - full_name="p2p_validate_test.Sint32Test.extra_test", - index=17, - number=18, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C1:/\242\001,{"customer_string": "c1", "customer_int": 1}', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=4027, - serialized_end=4757, -) - - -_UINT64TEST = _descriptor.Descriptor( - name="Uint64Test", - full_name="p2p_validate_test.Uint64Test", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="p2p_validate_test.Uint64Test.const_test", - index=0, - number=1, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\0042\002\010\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="p2p_validate_test.Uint64Test.range_e_test", - index=1, - number=2, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\0062\004\030\n(\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="p2p_validate_test.Uint64Test.range_test", - index=2, - number=3, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\0062\004\020\n \001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="p2p_validate_test.Uint64Test.in_test", - index=3, - number=4, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\0072\0052\003\001\002\003", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="p2p_validate_test.Uint64Test.not_in_test", - index=4, - number=5, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\0072\005:\003\001\002\003", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_test", - full_name="p2p_validate_test.Uint64Test.default_test", - index=5, - number=6, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\0072\005M\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_enable_test", - full_name="p2p_validate_test.Uint64Test.not_enable_test", - index=6, - number=7, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\0042\002@\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory_test", - full_name="p2p_validate_test.Uint64Test.default_factory_test", - index=7, - number=8, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\0232\021R\017p2p@builtin|int", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default_test", - full_name="p2p_validate_test.Uint64Test.miss_default_test", - index=8, - number=9, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\0042\002X\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias_test", - full_name="p2p_validate_test.Uint64Test.alias_test", - index=9, - number=10, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\t2\007b\005alias", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="desc_test", - full_name="p2p_validate_test.Uint64Test.desc_test", - index=10, - number=11, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\r2\013j\ttest desc", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="multiple_of_test", - full_name="p2p_validate_test.Uint64Test.multiple_of_test", - index=11, - number=12, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\0072\005u\000\000@@", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_test", - full_name="p2p_validate_test.Uint64Test.example_test", - index=12, - number=13, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\0072\005}\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate_test.Uint64Test.example_factory", - index=13, - number=14, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\0242\022\202\001\017p2p@builtin|int", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field_test", - full_name="p2p_validate_test.Uint64Test.field_test", - index=14, - number=15, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\0342\032\212\001\027p2p@local|CustomerField", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type_test", - full_name="p2p_validate_test.Uint64Test.type_test", - index=15, - number=16, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\0252\023\222\001\020p2p@local|conint", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title_test", - full_name="p2p_validate_test.Uint64Test.title_test", - index=16, - number=17, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\0172\r\232\001\ntitle_test", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra_test", - full_name="p2p_validate_test.Uint64Test.extra_test", - index=17, - number=18, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C12/\242\001,{"customer_string": "c1", "customer_int": 1}', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=4760, - serialized_end=5490, -) - - -_SINT64TEST = _descriptor.Descriptor( - name="Sint64Test", - full_name="p2p_validate_test.Sint64Test", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="p2p_validate_test.Sint64Test.const_test", - index=0, - number=1, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004B\002\010\002", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="p2p_validate_test.Sint64Test.range_e_test", - index=1, - number=2, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\006B\004\030\024(\002", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="p2p_validate_test.Sint64Test.range_test", - index=2, - number=3, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\006B\004\020\024 \002", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="p2p_validate_test.Sint64Test.in_test", - index=3, - number=4, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007B\0052\003\002\004\006", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="p2p_validate_test.Sint64Test.not_in_test", - index=4, - number=5, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007B\005:\003\002\004\006", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_test", - full_name="p2p_validate_test.Sint64Test.default_test", - index=5, - number=6, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007B\005M\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_enable_test", - full_name="p2p_validate_test.Sint64Test.not_enable_test", - index=6, - number=7, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004B\002@\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory_test", - full_name="p2p_validate_test.Sint64Test.default_factory_test", - index=7, - number=8, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\023B\021R\017p2p@builtin|int", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default_test", - full_name="p2p_validate_test.Sint64Test.miss_default_test", - index=8, - number=9, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004B\002X\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias_test", - full_name="p2p_validate_test.Sint64Test.alias_test", - index=9, - number=10, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\tB\007b\005alias", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="desc_test", - full_name="p2p_validate_test.Sint64Test.desc_test", - index=10, - number=11, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\rB\013j\ttest desc", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="multiple_of_test", - full_name="p2p_validate_test.Sint64Test.multiple_of_test", - index=11, - number=12, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007B\005u\000\000@@", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_test", - full_name="p2p_validate_test.Sint64Test.example_test", - index=12, - number=13, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007B\005}\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate_test.Sint64Test.example_factory", - index=13, - number=14, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\024B\022\202\001\017p2p@builtin|int", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field_test", - full_name="p2p_validate_test.Sint64Test.field_test", - index=14, - number=15, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\034B\032\212\001\027p2p@local|CustomerField", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type_test", - full_name="p2p_validate_test.Sint64Test.type_test", - index=15, - number=16, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\025B\023\222\001\020p2p@local|conint", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title_test", - full_name="p2p_validate_test.Sint64Test.title_test", - index=16, - number=17, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\017B\r\232\001\ntitle_test", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra_test", - full_name="p2p_validate_test.Sint64Test.extra_test", - index=17, - number=18, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C1B/\242\001,{"customer_string": "c1", "customer_int": 1}', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=5493, - serialized_end=6223, -) - - -_FIXED32TEST = _descriptor.Descriptor( - name="Fixed32Test", - full_name="p2p_validate_test.Fixed32Test", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="p2p_validate_test.Fixed32Test.const_test", - index=0, - number=1, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007J\005\r\001\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="p2p_validate_test.Fixed32Test.range_e_test", - index=1, - number=2, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\014J\n\035\n\000\000\000-\001\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="p2p_validate_test.Fixed32Test.range_test", - index=2, - number=3, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\014J\n\025\n\000\000\000%\001\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="p2p_validate_test.Fixed32Test.in_test", - index=3, - number=4, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\020J\0162\014\001\000\000\000\002\000\000\000\003\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="p2p_validate_test.Fixed32Test.not_in_test", - index=4, - number=5, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\020J\016:\014\001\000\000\000\002\000\000\000\003\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_test", - full_name="p2p_validate_test.Fixed32Test.default_test", - index=5, - number=6, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007J\005M\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_enable_test", - full_name="p2p_validate_test.Fixed32Test.not_enable_test", - index=6, - number=7, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004J\002@\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory_test", - full_name="p2p_validate_test.Fixed32Test.default_factory_test", - index=7, - number=8, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\025J\023R\021p2p@builtin|float", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default_test", - full_name="p2p_validate_test.Fixed32Test.miss_default_test", - index=8, - number=9, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004J\002X\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias_test", - full_name="p2p_validate_test.Fixed32Test.alias_test", - index=9, - number=10, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\tJ\007b\005alias", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="desc_test", - full_name="p2p_validate_test.Fixed32Test.desc_test", - index=10, - number=11, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\rJ\013j\ttest desc", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="multiple_of_test", - full_name="p2p_validate_test.Fixed32Test.multiple_of_test", - index=11, - number=12, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007J\005u\000\000@@", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_test", - full_name="p2p_validate_test.Fixed32Test.example_test", - index=12, - number=13, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007J\005}\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate_test.Fixed32Test.example_factory", - index=13, - number=14, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\026J\024\202\001\021p2p@builtin|float", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field_test", - full_name="p2p_validate_test.Fixed32Test.field_test", - index=14, - number=15, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\034J\032\212\001\027p2p@local|CustomerField", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type_test", - full_name="p2p_validate_test.Fixed32Test.type_test", - index=15, - number=16, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\027J\025\222\001\022p2p@local|confloat", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title_test", - full_name="p2p_validate_test.Fixed32Test.title_test", - index=16, - number=17, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\017J\r\232\001\ntitle_test", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra_test", - full_name="p2p_validate_test.Fixed32Test.extra_test", - index=17, - number=18, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C1J/\242\001,{"customer_string": "c1", "customer_int": 1}', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=6226, - serialized_end=6996, -) - - -_FIXED64TEST = _descriptor.Descriptor( - name="Fixed64Test", - full_name="p2p_validate_test.Fixed64Test", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="p2p_validate_test.Fixed64Test.const_test", - index=0, - number=1, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007J\005\r\001\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="p2p_validate_test.Fixed64Test.range_e_test", - index=1, - number=2, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\024R\022\031\n\000\000\000\000\000\000\000)\001\000\000\000\000\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="p2p_validate_test.Fixed64Test.range_test", - index=2, - number=3, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\024R\022\021\n\000\000\000\000\000\000\000!\001\000\000\000\000\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="p2p_validate_test.Fixed64Test.in_test", - index=3, - number=4, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\034R\0322\030\001\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\003\000\000\000\000\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="p2p_validate_test.Fixed64Test.not_in_test", - index=4, - number=5, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\034R\032:\030\001\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\003\000\000\000\000\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_test", - full_name="p2p_validate_test.Fixed64Test.default_test", - index=5, - number=6, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007R\005M\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_enable_test", - full_name="p2p_validate_test.Fixed64Test.not_enable_test", - index=6, - number=7, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004R\002@\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory_test", - full_name="p2p_validate_test.Fixed64Test.default_factory_test", - index=7, - number=8, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\025R\023R\021p2p@builtin|float", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default_test", - full_name="p2p_validate_test.Fixed64Test.miss_default_test", - index=8, - number=9, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004R\002X\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias_test", - full_name="p2p_validate_test.Fixed64Test.alias_test", - index=9, - number=10, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\tR\007b\005alias", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="desc_test", - full_name="p2p_validate_test.Fixed64Test.desc_test", - index=10, - number=11, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\rR\013j\ttest desc", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="multiple_of_test", - full_name="p2p_validate_test.Fixed64Test.multiple_of_test", - index=11, - number=12, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007R\005u\000\000@@", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_test", - full_name="p2p_validate_test.Fixed64Test.example_test", - index=12, - number=13, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007R\005}\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate_test.Fixed64Test.example_factory", - index=13, - number=14, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\026R\024\202\001\021p2p@builtin|float", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field_test", - full_name="p2p_validate_test.Fixed64Test.field_test", - index=14, - number=15, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\034R\032\212\001\027p2p@local|CustomerField", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type_test", - full_name="p2p_validate_test.Fixed64Test.type_test", - index=15, - number=16, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\027R\025\222\001\022p2p@local|confloat", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title_test", - full_name="p2p_validate_test.Fixed64Test.title_test", - index=16, - number=17, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\017R\r\232\001\ntitle_test", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra_test", - full_name="p2p_validate_test.Fixed64Test.extra_test", - index=17, - number=18, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C1R/\242\001,{"customer_string": "c1", "customer_int": 1}', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=6999, - serialized_end=7809, -) - - -_SFIXED32TEST = _descriptor.Descriptor( - name="Sfixed32Test", - full_name="p2p_validate_test.Sfixed32Test", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="p2p_validate_test.Sfixed32Test.const_test", - index=0, - number=1, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007J\005\r\001\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="p2p_validate_test.Sfixed32Test.range_e_test", - index=1, - number=2, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\014Z\n\035\n\000\000\000-\001\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="p2p_validate_test.Sfixed32Test.range_test", - index=2, - number=3, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\014Z\n\025\n\000\000\000%\001\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="p2p_validate_test.Sfixed32Test.in_test", - index=3, - number=4, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\020Z\0162\014\001\000\000\000\002\000\000\000\003\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="p2p_validate_test.Sfixed32Test.not_in_test", - index=4, - number=5, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\020Z\016:\014\001\000\000\000\002\000\000\000\003\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_test", - full_name="p2p_validate_test.Sfixed32Test.default_test", - index=5, - number=6, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007Z\005M\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_enable_test", - full_name="p2p_validate_test.Sfixed32Test.not_enable_test", - index=6, - number=7, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004Z\002@\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory_test", - full_name="p2p_validate_test.Sfixed32Test.default_factory_test", - index=7, - number=8, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\025Z\023R\021p2p@builtin|float", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default_test", - full_name="p2p_validate_test.Sfixed32Test.miss_default_test", - index=8, - number=9, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004Z\002X\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias_test", - full_name="p2p_validate_test.Sfixed32Test.alias_test", - index=9, - number=10, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\tZ\007b\005alias", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="desc_test", - full_name="p2p_validate_test.Sfixed32Test.desc_test", - index=10, - number=11, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\rZ\013j\ttest desc", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="multiple_of_test", - full_name="p2p_validate_test.Sfixed32Test.multiple_of_test", - index=11, - number=12, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007Z\005u\000\000@@", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_test", - full_name="p2p_validate_test.Sfixed32Test.example_test", - index=12, - number=13, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007Z\005}\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate_test.Sfixed32Test.example_factory", - index=13, - number=14, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\026Z\024\202\001\021p2p@builtin|float", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field_test", - full_name="p2p_validate_test.Sfixed32Test.field_test", - index=14, - number=15, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\034Z\032\212\001\027p2p@local|CustomerField", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type_test", - full_name="p2p_validate_test.Sfixed32Test.type_test", - index=15, - number=16, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\027Z\025\222\001\022p2p@local|confloat", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title_test", - full_name="p2p_validate_test.Sfixed32Test.title_test", - index=16, - number=17, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\017Z\r\232\001\ntitle_test", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra_test", - full_name="p2p_validate_test.Sfixed32Test.extra_test", - index=17, - number=18, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C1Z/\242\001,{"customer_string": "c1", "customer_int": 1}', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=7812, - serialized_end=8583, -) - - -_SFIXED64TEST = _descriptor.Descriptor( - name="Sfixed64Test", - full_name="p2p_validate_test.Sfixed64Test", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="p2p_validate_test.Sfixed64Test.const_test", - index=0, - number=1, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007J\005\r\001\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="p2p_validate_test.Sfixed64Test.range_e_test", - index=1, - number=2, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\024b\022\031\n\000\000\000\000\000\000\000)\001\000\000\000\000\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="p2p_validate_test.Sfixed64Test.range_test", - index=2, - number=3, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\024b\022\021\n\000\000\000\000\000\000\000!\001\000\000\000\000\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="p2p_validate_test.Sfixed64Test.in_test", - index=3, - number=4, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\034b\0322\030\001\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\003\000\000\000\000\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="p2p_validate_test.Sfixed64Test.not_in_test", - index=4, - number=5, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\034b\032:\030\001\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\003\000\000\000\000\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_test", - full_name="p2p_validate_test.Sfixed64Test.default_test", - index=5, - number=6, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007b\005M\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_enable_test", - full_name="p2p_validate_test.Sfixed64Test.not_enable_test", - index=6, - number=7, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004b\002@\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory_test", - full_name="p2p_validate_test.Sfixed64Test.default_factory_test", - index=7, - number=8, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\025b\023R\021p2p@builtin|float", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default_test", - full_name="p2p_validate_test.Sfixed64Test.miss_default_test", - index=8, - number=9, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004b\002X\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias_test", - full_name="p2p_validate_test.Sfixed64Test.alias_test", - index=9, - number=10, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\tb\007b\005alias", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="desc_test", - full_name="p2p_validate_test.Sfixed64Test.desc_test", - index=10, - number=11, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\rb\013j\ttest desc", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="multiple_of_test", - full_name="p2p_validate_test.Sfixed64Test.multiple_of_test", - index=11, - number=12, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007b\005u\000\000@@", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_test", - full_name="p2p_validate_test.Sfixed64Test.example_test", - index=12, - number=13, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007b\005}\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory", - full_name="p2p_validate_test.Sfixed64Test.example_factory", - index=13, - number=14, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\026b\024\202\001\021p2p@builtin|float", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field_test", - full_name="p2p_validate_test.Sfixed64Test.field_test", - index=14, - number=15, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\034b\032\212\001\027p2p@local|CustomerField", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type_test", - full_name="p2p_validate_test.Sfixed64Test.type_test", - index=15, - number=16, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\027b\025\222\001\022p2p@local|confloat", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title_test", - full_name="p2p_validate_test.Sfixed64Test.title_test", - index=16, - number=17, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\017b\r\232\001\ntitle_test", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra_test", - full_name="p2p_validate_test.Sfixed64Test.extra_test", - index=17, - number=18, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C1b/\242\001,{"customer_string": "c1", "customer_int": 1}', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=8586, - serialized_end=9397, -) - - -_BOOLTEST = _descriptor.Descriptor( - name="BoolTest", - full_name="p2p_validate_test.BoolTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="bool_1_test", - full_name="p2p_validate_test.BoolTest.bool_1_test", - index=0, - number=1, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004j\002\010\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="bool_2_test", - full_name="p2p_validate_test.BoolTest.bool_2_test", - index=1, - number=2, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004j\002\010\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable_test", - full_name="p2p_validate_test.BoolTest.enable_test", - index=2, - number=3, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004j\002\020\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_test", - full_name="p2p_validate_test.BoolTest.default_test", - index=3, - number=4, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004j\002\030\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default_test", - full_name="p2p_validate_test.BoolTest.miss_default_test", - index=4, - number=5, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004j\002 \001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias_test", - full_name="p2p_validate_test.BoolTest.alias_test", - index=5, - number=10, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\tj\007*\005alias", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="desc_test", - full_name="p2p_validate_test.BoolTest.desc_test", - index=6, - number=11, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\rj\0132\ttest desc", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_test", - full_name="p2p_validate_test.BoolTest.example_test", - index=7, - number=13, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004j\0028\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field_test", - full_name="p2p_validate_test.BoolTest.field_test", - index=8, - number=15, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\033j\031B\027p2p@local|CustomerField", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title_test", - full_name="p2p_validate_test.BoolTest.title_test", - index=9, - number=17, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\017j\r\232\001\ntitle_test", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra_test", - full_name="p2p_validate_test.BoolTest.extra_test", - index=10, - number=18, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C1j/\242\001,{"customer_string": "c1", "customer_int": 1}', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=9400, - serialized_end=9835, -) - - -_STRINGTEST = _descriptor.Descriptor( - name="StringTest", - full_name="p2p_validate_test.StringTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="p2p_validate_test.StringTest.const_test", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007r\005\n\003aaa", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="len_test", - full_name="p2p_validate_test.StringTest.len_test", - index=1, - number=2, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004r\002\020\003", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="s_range_len_test", - full_name="p2p_validate_test.StringTest.s_range_len_test", - index=2, - number=3, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\006r\004\030\001 \003", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="pattern_test", - full_name="p2p_validate_test.StringTest.pattern_test", - index=3, - number=5, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\tr\007*\005^test", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="prefix_test", - full_name="p2p_validate_test.StringTest.prefix_test", - index=4, - number=6, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\nr\0102\006prefix", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="suffix_test", - full_name="p2p_validate_test.StringTest.suffix_test", - index=5, - number=7, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\nr\010:\006suffix", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="contains_test", - full_name="p2p_validate_test.StringTest.contains_test", - index=6, - number=8, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\014r\nB\010contains", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_contains_test", - full_name="p2p_validate_test.StringTest.not_contains_test", - index=7, - number=9, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\020r\016J\014not_contains", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="p2p_validate_test.StringTest.in_test", - index=8, - number=10, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\013r\tR\001aR\001bR\001c", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="p2p_validate_test.StringTest.not_in_test", - index=9, - number=11, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\013r\tZ\001aZ\001bZ\001c", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="email_test", - full_name="p2p_validate_test.StringTest.email_test", - index=10, - number=12, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004r\002`\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="hostname_test", - full_name="p2p_validate_test.StringTest.hostname_test", - index=11, - number=13, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004r\002h\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ip_test", - full_name="p2p_validate_test.StringTest.ip_test", - index=12, - number=14, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004r\002p\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ipv4_test", - full_name="p2p_validate_test.StringTest.ipv4_test", - index=13, - number=15, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004r\002x\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ipv6_test", - full_name="p2p_validate_test.StringTest.ipv6_test", - index=14, - number=16, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005r\003\200\001\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="uri_test", - full_name="p2p_validate_test.StringTest.uri_test", - index=15, - number=17, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005r\003\210\001\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="uri_ref_test", - full_name="p2p_validate_test.StringTest.uri_ref_test", - index=16, - number=18, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005r\003\220\001\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="address_test", - full_name="p2p_validate_test.StringTest.address_test", - index=17, - number=19, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005r\003\250\001\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="uuid_test", - full_name="p2p_validate_test.StringTest.uuid_test", - index=18, - number=20, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005r\003\260\001\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="pydantic_type_test", - full_name="p2p_validate_test.StringTest.pydantic_type_test", - index=19, - number=21, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\nr\010\232\006\005UUID1", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable_test", - full_name="p2p_validate_test.StringTest.enable_test", - index=20, - number=22, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005r\003\270\001\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_test", - full_name="p2p_validate_test.StringTest.default_test", - index=21, - number=23, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\014r\n\302\001\007default", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory_test", - full_name="p2p_validate_test.StringTest.default_factory_test", - index=22, - number=24, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\032r\030\312\001\025p2p@import|uuid|uuid4", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default_test", - full_name="p2p_validate_test.StringTest.miss_default_test", - index=23, - number=25, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005r\003\320\001\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias_test", - full_name="p2p_validate_test.StringTest.alias_test", - index=24, - number=26, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\nr\010\332\001\005alias", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="desc_test", - full_name="p2p_validate_test.StringTest.desc_test", - index=25, - number=27, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\016r\014\342\001\ttest desc", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_test", - full_name="p2p_validate_test.StringTest.example_test", - index=26, - number=28, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\014r\n\362\001\007example", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory_test", - full_name="p2p_validate_test.StringTest.example_factory_test", - index=27, - number=29, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\032r\030\372\001\025p2p@import|uuid|uuid4", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field_test", - full_name="p2p_validate_test.StringTest.field_test", - index=28, - number=30, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\034r\032\202\002\027p2p@local|CustomerField", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title_test", - full_name="p2p_validate_test.StringTest.title_test", - index=29, - number=31, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\017r\r\222\002\ntitle_test", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type_test", - full_name="p2p_validate_test.StringTest.type_test", - index=30, - number=32, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\037r\035\212\002\032p2p@import|pydantic|constr", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra_test", - full_name="p2p_validate_test.StringTest.extra_test", - index=31, - number=33, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C1r/\242\001,{"customer_string": "c1", "customer_int": 1}', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=9838, - serialized_end=11083, -) - - -_BYTESTEST = _descriptor.Descriptor( - name="BytesTest", - full_name="p2p_validate_test.BytesTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="p2p_validate_test.BytesTest.const_test", - index=0, - number=1, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\010z\006\n\004demo", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_len_test", - full_name="p2p_validate_test.BytesTest.range_len_test", - index=1, - number=3, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\006z\004\020\001\030\004", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="prefix_test", - full_name="p2p_validate_test.BytesTest.prefix_test", - index=2, - number=5, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\nz\010*\006prefix", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="suffix_test", - full_name="p2p_validate_test.BytesTest.suffix_test", - index=3, - number=6, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\nz\0102\006suffix", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="contains_test", - full_name="p2p_validate_test.BytesTest.contains_test", - index=4, - number=7, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\014z\n:\010contains", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="p2p_validate_test.BytesTest.in_test", - index=5, - number=8, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\013z\tB\001aB\001bB\001c", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="p2p_validate_test.BytesTest.not_in_test", - index=6, - number=9, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\013z\tJ\001aJ\001bJ\001c", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable_test", - full_name="p2p_validate_test.BytesTest.enable_test", - index=7, - number=22, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004z\002P\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_test", - full_name="p2p_validate_test.BytesTest.default_test", - index=8, - number=23, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\013z\tZ\007default", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory_test", - full_name="p2p_validate_test.BytesTest.default_factory_test", - index=9, - number=24, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\025z\023b\021p2p@builtin|bytes", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default_test", - full_name="p2p_validate_test.BytesTest.miss_default_test", - index=10, - number=25, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\004z\002h\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias_test", - full_name="p2p_validate_test.BytesTest.alias_test", - index=11, - number=26, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\tz\007r\005alias", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="desc_test", - full_name="p2p_validate_test.BytesTest.desc_test", - index=12, - number=27, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\rz\013z\ttest desc", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_test", - full_name="p2p_validate_test.BytesTest.example_test", - index=13, - number=28, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\014z\n\212\001\007example", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory_test", - full_name="p2p_validate_test.BytesTest.example_factory_test", - index=14, - number=29, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\026z\024\222\001\021p2p@builtin|bytes", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field_test", - full_name="p2p_validate_test.BytesTest.field_test", - index=15, - number=30, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\034z\032\232\001\027p2p@local|CustomerField", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title_test", - full_name="p2p_validate_test.BytesTest.title_test", - index=16, - number=31, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\017z\r\302\001\ntitle_test", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type_test", - full_name="p2p_validate_test.BytesTest.type_test", - index=17, - number=32, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\037z\035\242\001\032p2p@import|pydantic|constr", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra_test", - full_name="p2p_validate_test.BytesTest.extra_test", - index=18, - number=33, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C1z/\312\001,{"customer_string": "c1", "customer_int": 1}', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=11086, - serialized_end=11896, -) - - -_ENUMTEST = _descriptor.Descriptor( - name="EnumTest", - full_name="p2p_validate_test.EnumTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="p2p_validate_test.EnumTest.const_test", - index=0, - number=1, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005\202\001\002\010\002", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="p2p_validate_test.EnumTest.in_test", - index=1, - number=3, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007\202\001\004\032\002\000\002", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="p2p_validate_test.EnumTest.not_in_test", - index=2, - number=4, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\007\202\001\004"\002\000\002', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable_test", - full_name="p2p_validate_test.EnumTest.enable_test", - index=3, - number=22, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005\202\001\002@\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_test", - full_name="p2p_validate_test.EnumTest.default_test", - index=4, - number=23, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005\202\001\002H\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default_test", - full_name="p2p_validate_test.EnumTest.miss_default_test", - index=5, - number=25, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005\202\001\002X\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias_test", - full_name="p2p_validate_test.EnumTest.alias_test", - index=6, - number=26, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\n\202\001\007b\005alias", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="desc_test", - full_name="p2p_validate_test.EnumTest.desc_test", - index=7, - number=27, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\016\202\001\013j\ttest desc", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_test", - full_name="p2p_validate_test.EnumTest.example_test", - index=8, - number=28, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005\202\001\002x\002", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field_test", - full_name="p2p_validate_test.EnumTest.field_test", - index=9, - number=30, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\035\202\001\032\212\001\027p2p@local|CustomerField", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title_test", - full_name="p2p_validate_test.EnumTest.title_test", - index=10, - number=31, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\020\202\001\r\222\001\ntitle_test", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra_test", - full_name="p2p_validate_test.EnumTest.extra_test", - index=11, - number=33, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C2\202\001/\242\001,{"customer_string": "c1", "customer_int": 1}', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=11899, - serialized_end=12688, -) - - -_MAPTEST_PAIRTESTENTRY = _descriptor.Descriptor( - name="PairTestEntry", - full_name="p2p_validate_test.MapTest.PairTestEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="p2p_validate_test.MapTest.PairTestEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="p2p_validate_test.MapTest.PairTestEntry.value", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=13989, - serialized_end=14036, -) - -_MAPTEST_KEYSTESTENTRY = _descriptor.Descriptor( - name="KeysTestEntry", - full_name="p2p_validate_test.MapTest.KeysTestEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="p2p_validate_test.MapTest.KeysTestEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="p2p_validate_test.MapTest.KeysTestEntry.value", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=14038, - serialized_end=14085, -) - -_MAPTEST_VALUESTESTENTRY = _descriptor.Descriptor( - name="ValuesTestEntry", - full_name="p2p_validate_test.MapTest.ValuesTestEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="p2p_validate_test.MapTest.ValuesTestEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="p2p_validate_test.MapTest.ValuesTestEntry.value", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=14087, - serialized_end=14136, -) - -_MAPTEST_KEYSVALUESTESTENTRY = _descriptor.Descriptor( - name="KeysValuesTestEntry", - full_name="p2p_validate_test.MapTest.KeysValuesTestEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="p2p_validate_test.MapTest.KeysValuesTestEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="p2p_validate_test.MapTest.KeysValuesTestEntry.value", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=14138, - serialized_end=14219, -) - -_MAPTEST_ENABLETESTENTRY = _descriptor.Descriptor( - name="EnableTestEntry", - full_name="p2p_validate_test.MapTest.EnableTestEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="p2p_validate_test.MapTest.EnableTestEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="p2p_validate_test.MapTest.EnableTestEntry.value", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=14221, - serialized_end=14270, -) - -_MAPTEST_DEFAULTFACTORYTESTENTRY = _descriptor.Descriptor( - name="DefaultFactoryTestEntry", - full_name="p2p_validate_test.MapTest.DefaultFactoryTestEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="p2p_validate_test.MapTest.DefaultFactoryTestEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="p2p_validate_test.MapTest.DefaultFactoryTestEntry.value", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=14272, - serialized_end=14329, -) - -_MAPTEST_MISSDEFAULTTESTENTRY = _descriptor.Descriptor( - name="MissDefaultTestEntry", - full_name="p2p_validate_test.MapTest.MissDefaultTestEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="p2p_validate_test.MapTest.MissDefaultTestEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="p2p_validate_test.MapTest.MissDefaultTestEntry.value", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=14331, - serialized_end=14385, -) - -_MAPTEST_ALIASTESTENTRY = _descriptor.Descriptor( - name="AliasTestEntry", - full_name="p2p_validate_test.MapTest.AliasTestEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="p2p_validate_test.MapTest.AliasTestEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="p2p_validate_test.MapTest.AliasTestEntry.value", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=14387, - serialized_end=14435, -) - -_MAPTEST_DESCTESTENTRY = _descriptor.Descriptor( - name="DescTestEntry", - full_name="p2p_validate_test.MapTest.DescTestEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="p2p_validate_test.MapTest.DescTestEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="p2p_validate_test.MapTest.DescTestEntry.value", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=14437, - serialized_end=14484, -) - -_MAPTEST_EXAMPLEFACTORYTESTENTRY = _descriptor.Descriptor( - name="ExampleFactoryTestEntry", - full_name="p2p_validate_test.MapTest.ExampleFactoryTestEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="p2p_validate_test.MapTest.ExampleFactoryTestEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="p2p_validate_test.MapTest.ExampleFactoryTestEntry.value", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=14486, - serialized_end=14543, -) - -_MAPTEST_FIELDTESTENTRY = _descriptor.Descriptor( - name="FieldTestEntry", - full_name="p2p_validate_test.MapTest.FieldTestEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="p2p_validate_test.MapTest.FieldTestEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="p2p_validate_test.MapTest.FieldTestEntry.value", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=14545, - serialized_end=14593, -) - -_MAPTEST_TITLETESTENTRY = _descriptor.Descriptor( - name="TitleTestEntry", - full_name="p2p_validate_test.MapTest.TitleTestEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="p2p_validate_test.MapTest.TitleTestEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="p2p_validate_test.MapTest.TitleTestEntry.value", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=14595, - serialized_end=14643, -) - -_MAPTEST_TYPETESTENTRY = _descriptor.Descriptor( - name="TypeTestEntry", - full_name="p2p_validate_test.MapTest.TypeTestEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="p2p_validate_test.MapTest.TypeTestEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="p2p_validate_test.MapTest.TypeTestEntry.value", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=14645, - serialized_end=14692, -) - -_MAPTEST_EXTRATESTENTRY = _descriptor.Descriptor( - name="ExtraTestEntry", - full_name="p2p_validate_test.MapTest.ExtraTestEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="p2p_validate_test.MapTest.ExtraTestEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="p2p_validate_test.MapTest.ExtraTestEntry.value", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=14694, - serialized_end=14742, -) - -_MAPTEST = _descriptor.Descriptor( - name="MapTest", - full_name="p2p_validate_test.MapTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="pair_test", - full_name="p2p_validate_test.MapTest.pair_test", - index=0, - number=1, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007\232\001\004\010\001\020\005", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="keys_test", - full_name="p2p_validate_test.MapTest.keys_test", - index=1, - number=3, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\t\232\001\006"\004r\002\030\001\212C\t\232\001\006"\004r\002 \005', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="values_test", - full_name="p2p_validate_test.MapTest.values_test", - index=2, - number=4, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\t\232\001\006*\004\032\002(\005\212C\t\232\001\006*\004\032\002\030\005", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="keys_values_test", - full_name="p2p_validate_test.MapTest.keys_values_test", - index=3, - number=5, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\t\232\001\006"\004r\002\030\001\212C\t\232\001\006"\004r\002 \005\212C\n\232\001\007*\005\262\001\002@\001', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable_test", - full_name="p2p_validate_test.MapTest.enable_test", - index=4, - number=6, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005\232\001\002@\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory_test", - full_name="p2p_validate_test.MapTest.default_factory_test", - index=5, - number=24, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\025\232\001\022R\020p2p@builtin|dict", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default_test", - full_name="p2p_validate_test.MapTest.miss_default_test", - index=6, - number=25, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005\232\001\002X\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias_test", - full_name="p2p_validate_test.MapTest.alias_test", - index=7, - number=26, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\n\232\001\007b\005alias", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="desc_test", - full_name="p2p_validate_test.MapTest.desc_test", - index=8, - number=27, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\016\232\001\013j\ttest desc", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory_test", - full_name="p2p_validate_test.MapTest.example_factory_test", - index=9, - number=29, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\026\232\001\023\202\001\020p2p@builtin|dict", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field_test", - full_name="p2p_validate_test.MapTest.field_test", - index=10, - number=30, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\035\232\001\032\212\001\027p2p@local|CustomerField", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title_test", - full_name="p2p_validate_test.MapTest.title_test", - index=11, - number=31, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\020\232\001\r\232\001\ntitle_test", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type_test", - full_name="p2p_validate_test.MapTest.type_test", - index=12, - number=32, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\026\232\001\023\222\001\020p2p@builtin|dict", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra_test", - full_name="p2p_validate_test.MapTest.extra_test", - index=13, - number=33, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C2\232\001/\242\001,{"customer_string": "c1", "customer_int": 1}', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[ - _MAPTEST_PAIRTESTENTRY, - _MAPTEST_KEYSTESTENTRY, - _MAPTEST_VALUESTESTENTRY, - _MAPTEST_KEYSVALUESTESTENTRY, - _MAPTEST_ENABLETESTENTRY, - _MAPTEST_DEFAULTFACTORYTESTENTRY, - _MAPTEST_MISSDEFAULTTESTENTRY, - _MAPTEST_ALIASTESTENTRY, - _MAPTEST_DESCTESTENTRY, - _MAPTEST_EXAMPLEFACTORYTESTENTRY, - _MAPTEST_FIELDTESTENTRY, - _MAPTEST_TITLETESTENTRY, - _MAPTEST_TYPETESTENTRY, - _MAPTEST_EXTRATESTENTRY, - ], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=12691, - serialized_end=14742, -) - - -_MESSAGETEST = _descriptor.Descriptor( - name="MessageTest", - full_name="p2p_validate_test.MessageTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="skip_test", - full_name="p2p_validate_test.MessageTest.skip_test", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005\212\001\002\010\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="required_test", - full_name="p2p_validate_test.MessageTest.required_test", - index=1, - number=2, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005\212\001\002\020\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra_test", - full_name="p2p_validate_test.MessageTest.extra_test", - index=2, - number=33, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C2\212\001/\242\001,{"customer_string": "c1", "customer_int": 1}', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=14745, - serialized_end=14895, -) - - -_REPEATEDTEST = _descriptor.Descriptor( - name="RepeatedTest", - full_name="p2p_validate_test.RepeatedTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="range_test", - full_name="p2p_validate_test.RepeatedTest.range_test", - index=0, - number=1, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007\222\001\004\010\001\020\005", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="unique_test", - full_name="p2p_validate_test.RepeatedTest.unique_test", - index=1, - number=2, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005\222\001\002\030\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="items_string_test", - full_name="p2p_validate_test.RepeatedTest.items_string_test", - index=2, - number=3, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\007\222\001\004\010\001\020\005\212C\013\222\001\010"\006r\004\030\001 \005', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="items_double_test", - full_name="p2p_validate_test.RepeatedTest.items_double_test", - index=3, - number=4, - type=1, - cpp_type=5, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\007\222\001\004\010\001\020\005\212C\031\222\001\026"\024\022\022\021\000\000\000\000\000\000\024@!\000\000\000\000\000\000\360?', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="items_int32_test", - full_name="p2p_validate_test.RepeatedTest.items_int32_test", - index=4, - number=5, - type=5, - cpp_type=1, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\007\222\001\004\010\001\020\005\212C\013\222\001\010"\006\032\004\020\005 \001', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="items_timestamp_test", - full_name="p2p_validate_test.RepeatedTest.items_timestamp_test", - index=5, - number=6, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\007\222\001\004\010\001\020\005\212C\030\222\001\025"\023\262\001\020\032\006\010\212\240\370\372\005*\006\010\200\240\370\372\005', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="items_duration_test", - full_name="p2p_validate_test.RepeatedTest.items_duration_test", - index=6, - number=7, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\007\222\001\004\010\001\020\005\212C\020\222\001\r"\013\252\001\010"\002\010\n2\002\010\n', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="items_bytes_test", - full_name="p2p_validate_test.RepeatedTest.items_bytes_test", - index=7, - number=8, - type=12, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\007\222\001\004\010\001\020\005\212C\013\222\001\010"\006z\004\020\001\030\005', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable_test", - full_name="p2p_validate_test.RepeatedTest.enable_test", - index=8, - number=9, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005\222\001\002@\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory_test", - full_name="p2p_validate_test.RepeatedTest.default_factory_test", - index=9, - number=24, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\025\222\001\022R\020p2p@builtin|list", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default_test", - full_name="p2p_validate_test.RepeatedTest.miss_default_test", - index=10, - number=25, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005\222\001\002X\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias_test", - full_name="p2p_validate_test.RepeatedTest.alias_test", - index=11, - number=26, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\n\222\001\007b\005alias", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="desc_test", - full_name="p2p_validate_test.RepeatedTest.desc_test", - index=12, - number=27, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\016\222\001\013j\ttest desc", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory_test", - full_name="p2p_validate_test.RepeatedTest.example_factory_test", - index=13, - number=29, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\026\222\001\023\202\001\020p2p@builtin|list", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field_test", - full_name="p2p_validate_test.RepeatedTest.field_test", - index=14, - number=30, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\035\222\001\032\212\001\027p2p@local|CustomerField", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title_test", - full_name="p2p_validate_test.RepeatedTest.title_test", - index=15, - number=31, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\020\222\001\r\232\001\ntitle_test", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type_test", - full_name="p2p_validate_test.RepeatedTest.type_test", - index=16, - number=32, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\026\222\001\023\222\001\020p2p@builtin|list", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra_test", - full_name="p2p_validate_test.RepeatedTest.extra_test", - index=17, - number=33, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C2\222\001/\242\001,{"customer_string": "c1", "customer_int": 1}', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=14898, - serialized_end=15853, -) - - -_ANYTEST = _descriptor.Descriptor( - name="AnyTest", - full_name="p2p_validate_test.AnyTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="required_test", - full_name="p2p_validate_test.AnyTest.required_test", - index=0, - number=1, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005\242\001\002\010\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="p2p_validate_test.AnyTest.not_in_test", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C`\242\001]\032,type.googleapis.com/google.protobuf.Duration\032-type.googleapis.com/google.protobuf.Timestamp", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="p2p_validate_test.AnyTest.in_test", - index=2, - number=3, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\241\001\242\001\235\001\022lp2p@import_instance|google.protobuf.any_pb2|Any|{"type_url": "type.googleapis.com/google.protobuf.Duration"}\022-type.googleapis.com/google.protobuf.Timestamp', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable_test", - full_name="p2p_validate_test.AnyTest.enable_test", - index=3, - number=4, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005\242\001\002@\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_test", - full_name="p2p_validate_test.AnyTest.default_test", - index=4, - number=23, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212Cq\242\001nJlp2p@import_instance|google.protobuf.any_pb2|Any|{"type_url": "type.googleapis.com/google.protobuf.Duration"}', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory_test", - full_name="p2p_validate_test.AnyTest.default_factory_test", - index=5, - number=24, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\033\242\001\030R\026p2p@local|customer_any", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default_test", - full_name="p2p_validate_test.AnyTest.miss_default_test", - index=6, - number=25, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005\242\001\002X\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias_test", - full_name="p2p_validate_test.AnyTest.alias_test", - index=7, - number=26, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\n\242\001\007b\005alias", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="desc_test", - full_name="p2p_validate_test.AnyTest.desc_test", - index=8, - number=27, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\016\242\001\013j\ttest desc", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_test", - full_name="p2p_validate_test.AnyTest.example_test", - index=9, - number=28, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C1\242\001.r,type.googleapis.com/google.protobuf.Duration", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory_test", - full_name="p2p_validate_test.AnyTest.example_factory_test", - index=10, - number=29, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\033\242\001\030z\026p2p@local|customer_any", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field_test", - full_name="p2p_validate_test.AnyTest.field_test", - index=11, - number=30, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\035\242\001\032\202\001\027p2p@local|CustomerField", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title_test", - full_name="p2p_validate_test.AnyTest.title_test", - index=12, - number=31, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\020\242\001\r\212\001\ntitle_test", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra_test", - full_name="p2p_validate_test.AnyTest.extra_test", - index=13, - number=33, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C2\242\001/\242\001,{"customer_string": "c1", "customer_int": 1}', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=15856, - serialized_end=17167, -) - - -_DURATIONTEST = _descriptor.Descriptor( - name="DurationTest", - full_name="p2p_validate_test.DurationTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="p2p_validate_test.DurationTest.const_test", - index=0, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\r\252\001\n\022\010\010\001\020\200\312\265\356\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="p2p_validate_test.DurationTest.range_test", - index=1, - number=3, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\027\252\001\024\032\010\010\n\020\200\312\265\356\001*\010\010\005\020\200\312\265\356\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="p2p_validate_test.DurationTest.range_e_test", - index=2, - number=4, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\027\252\001\024"\010\010\n\020\200\312\265\356\0012\010\010\005\020\200\312\265\356\001', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="p2p_validate_test.DurationTest.in_test", - index=3, - number=5, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\027\252\001\024:\010\010\001\020\200\312\265\356\001:\010\010\003\020\200\312\265\356\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="p2p_validate_test.DurationTest.not_in_test", - index=4, - number=6, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\027\252\001\024B\010\010\001\020\200\312\265\356\001B\010\010\003\020\200\312\265\356\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable_test", - full_name="p2p_validate_test.DurationTest.enable_test", - index=5, - number=22, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005\252\001\002p\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_test", - full_name="p2p_validate_test.DurationTest.default_test", - index=6, - number=23, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\r\252\001\nJ\010\010\001\020\200\312\265\356\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory_test", - full_name="p2p_validate_test.DurationTest.default_factory_test", - index=7, - number=24, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C"\252\001\037R\035p2p@import|datetime|timedelta', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default_test", - full_name="p2p_validate_test.DurationTest.miss_default_test", - index=8, - number=25, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005\252\001\002X\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias_test", - full_name="p2p_validate_test.DurationTest.alias_test", - index=9, - number=26, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\n\252\001\007b\005alias", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="desc_test", - full_name="p2p_validate_test.DurationTest.desc_test", - index=10, - number=27, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\016\252\001\013j\ttest desc", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_test", - full_name="p2p_validate_test.DurationTest.example_test", - index=11, - number=28, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\r\252\001\nz\010\010\001\020\200\312\265\356\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory_test", - full_name="p2p_validate_test.DurationTest.example_factory_test", - index=12, - number=29, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C#\252\001 \202\001\035p2p@import|datetime|timedelta", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field_test", - full_name="p2p_validate_test.DurationTest.field_test", - index=13, - number=30, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\035\252\001\032\212\001\027p2p@local|CustomerField", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title_test", - full_name="p2p_validate_test.DurationTest.title_test", - index=14, - number=31, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\020\252\001\r\232\001\ntitle_test", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type_test", - full_name="p2p_validate_test.DurationTest.type_test", - index=15, - number=32, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C#\252\001 \222\001\035p2p@import|datetime|timedelta", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra_test", - full_name="p2p_validate_test.DurationTest.extra_test", - index=16, - number=33, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C2\252\001/\242\001,{"customer_string": "c1", "customer_int": 1}', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=17170, - serialized_end=18462, -) - - -_TIMESTAMPTEST = _descriptor.Descriptor( - name="TimestampTest", - full_name="p2p_validate_test.TimestampTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="p2p_validate_test.TimestampTest.const_test", - index=0, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\013\262\001\010\022\006\010\200\240\370\372\005", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="p2p_validate_test.TimestampTest.range_test", - index=1, - number=3, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\023\262\001\020\032\006\010\212\240\370\372\005*\006\010\200\240\370\372\005", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="p2p_validate_test.TimestampTest.range_e_test", - index=2, - number=4, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C\023\262\001\020"\006\010\212\240\370\372\0052\006\010\200\240\370\372\005', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt_now_test", - full_name="p2p_validate_test.TimestampTest.lt_now_test", - index=3, - number=5, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005\262\001\0028\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt_now_test", - full_name="p2p_validate_test.TimestampTest.gt_now_test", - index=4, - number=6, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005\262\001\002@\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="within_test", - full_name="p2p_validate_test.TimestampTest.within_test", - index=5, - number=7, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007\262\001\004J\002\010\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="within_and_gt_now_test", - full_name="p2p_validate_test.TimestampTest.within_and_gt_now_test", - index=6, - number=8, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\n\262\001\007@\001J\003\010\220\034", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="enable_test", - full_name="p2p_validate_test.TimestampTest.enable_test", - index=7, - number=22, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005\262\001\002P\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_test", - full_name="p2p_validate_test.TimestampTest.default_test", - index=8, - number=23, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\r\262\001\nZ\010\010\001\020\200\312\265\356\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="default_factory_test", - full_name="p2p_validate_test.TimestampTest.default_factory_test", - index=9, - number=24, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C%\262\001"b p2p@import|datetime|datetime.now', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="miss_default_test", - full_name="p2p_validate_test.TimestampTest.miss_default_test", - index=10, - number=25, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005\262\001\002h\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="alias_test", - full_name="p2p_validate_test.TimestampTest.alias_test", - index=11, - number=26, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\n\262\001\007r\005alias", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="desc_test", - full_name="p2p_validate_test.TimestampTest.desc_test", - index=12, - number=27, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\016\262\001\013z\ttest desc", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_test", - full_name="p2p_validate_test.TimestampTest.example_test", - index=13, - number=28, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\016\262\001\013\202\001\010\010\001\020\200\312\265\356\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="example_factory_test", - full_name="p2p_validate_test.TimestampTest.example_factory_test", - index=14, - number=29, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C&\262\001#\212\001 p2p@import|datetime|datetime.now", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="field_test", - full_name="p2p_validate_test.TimestampTest.field_test", - index=15, - number=30, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\035\262\001\032\222\001\027p2p@local|CustomerField", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="title_test", - full_name="p2p_validate_test.TimestampTest.title_test", - index=16, - number=31, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\020\262\001\r\242\001\ntitle_test", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="type_test", - full_name="p2p_validate_test.TimestampTest.type_test", - index=17, - number=32, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C"\262\001\037\232\001\034p2p@import|datetime|datetime', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="extra_test", - full_name="p2p_validate_test.TimestampTest.extra_test", - index=18, - number=33, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\212C2\262\001/\252\001,{"customer_string": "c1", "customer_int": 1}', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=18465, - serialized_end=19875, -) - - -_MESSAGEIGNOREDTEST = _descriptor.Descriptor( - name="MessageIgnoredTest", - full_name="p2p_validate_test.MessageIgnoredTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="p2p_validate_test.MessageIgnoredTest.const_test", - index=0, - number=1, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\007\n\005\r\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="p2p_validate_test.MessageIgnoredTest.range_e_test", - index=1, - number=2, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\014\n\n\035\000\000 A-\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="p2p_validate_test.MessageIgnoredTest.range_test", - index=2, - number=3, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\014\n\n\025\000\000 A%\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"\210C\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=19878, - serialized_end=20011, -) - - -_ONEOFTEST = _descriptor.Descriptor( - name="OneOfTest", - full_name="p2p_validate_test.OneOfTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="header", - full_name="p2p_validate_test.OneOfTest.header", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="x", - full_name="p2p_validate_test.OneOfTest.x", - index=1, - number=2, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="y", - full_name="p2p_validate_test.OneOfTest.y", - index=2, - number=3, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="id", - full_name="p2p_validate_test.OneOfTest.id", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - serialized_options=b"\210C\001", - ), - ], - serialized_start=20013, - serialized_end=20077, -) - - -_ONEOFNOTTEST = _descriptor.Descriptor( - name="OneOfNotTest", - full_name="p2p_validate_test.OneOfNotTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="header", - full_name="p2p_validate_test.OneOfNotTest.header", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="x", - full_name="p2p_validate_test.OneOfNotTest.x", - index=1, - number=2, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="y", - full_name="p2p_validate_test.OneOfNotTest.y", - index=2, - number=3, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="id", - full_name="p2p_validate_test.OneOfNotTest.id", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=20079, - serialized_end=20141, -) - - -_NESTEDMESSAGE_USERPAYMESSAGE = _descriptor.Descriptor( - name="UserPayMessage", - full_name="p2p_validate_test.NestedMessage.UserPayMessage", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="bank_number", - full_name="p2p_validate_test.NestedMessage.UserPayMessage.bank_number", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\006r\004\030\r \023", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="exp", - full_name="p2p_validate_test.NestedMessage.UserPayMessage.exp", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005\262\001\002@\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="uuid", - full_name="p2p_validate_test.NestedMessage.UserPayMessage.uuid", - index=2, - number=3, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005r\003\260\001\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=20583, - serialized_end=20706, -) - -_NESTEDMESSAGE_NOTENABLEUSERPAYMESSAGE = _descriptor.Descriptor( - name="NotEnableUserPayMessage", - full_name="p2p_validate_test.NestedMessage.NotEnableUserPayMessage", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="bank_number", - full_name="p2p_validate_test.NestedMessage.NotEnableUserPayMessage.bank_number", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\006r\004\030\r \023", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="exp", - full_name="p2p_validate_test.NestedMessage.NotEnableUserPayMessage.exp", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005\262\001\002@\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="uuid", - full_name="p2p_validate_test.NestedMessage.NotEnableUserPayMessage.uuid", - index=2, - number=3, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005r\003\260\001\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=20709, - serialized_end=20841, -) - -_NESTEDMESSAGE_STRINGINMAPTESTENTRY = _descriptor.Descriptor( - name="StringInMapTestEntry", - full_name="p2p_validate_test.NestedMessage.StringInMapTestEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="p2p_validate_test.NestedMessage.StringInMapTestEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="p2p_validate_test.NestedMessage.StringInMapTestEntry.value", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=20843, - serialized_end=20928, -) - -_NESTEDMESSAGE_MAPINMAPTESTENTRY = _descriptor.Descriptor( - name="MapInMapTestEntry", - full_name="p2p_validate_test.NestedMessage.MapInMapTestEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="p2p_validate_test.NestedMessage.MapInMapTestEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="p2p_validate_test.NestedMessage.MapInMapTestEntry.value", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=20930, - serialized_end=21009, -) - -_NESTEDMESSAGE = _descriptor.Descriptor( - name="NestedMessage", - full_name="p2p_validate_test.NestedMessage", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="string_in_map_test", - full_name="p2p_validate_test.NestedMessage.string_in_map_test", - index=0, - number=1, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="map_in_map_test", - full_name="p2p_validate_test.NestedMessage.map_in_map_test", - index=1, - number=2, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="user_pay", - full_name="p2p_validate_test.NestedMessage.user_pay", - index=2, - number=3, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_enable_user_pay", - full_name="p2p_validate_test.NestedMessage.not_enable_user_pay", - index=3, - number=4, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\005\212\001\002\010\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="empty", - full_name="p2p_validate_test.NestedMessage.empty", - index=4, - number=5, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="after_refer", - full_name="p2p_validate_test.NestedMessage.after_refer", - index=5, - number=7, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[ - _NESTEDMESSAGE_USERPAYMESSAGE, - _NESTEDMESSAGE_NOTENABLEUSERPAYMESSAGE, - _NESTEDMESSAGE_STRINGINMAPTESTENTRY, - _NESTEDMESSAGE_MAPINMAPTESTENTRY, - ], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=20144, - serialized_end=21009, -) - - -_AFTERREFERMESSAGE = _descriptor.Descriptor( - name="AfterReferMessage", - full_name="p2p_validate_test.AfterReferMessage", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="uid", - full_name="p2p_validate_test.AfterReferMessage.uid", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C#r!\320\001\001\342\001\ruser union id\362\001\00510086\222\002\003UID", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="age", - full_name="p2p_validate_test.AfterReferMessage.age", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\212C\023\032\021(\000}\000\000\220A\232\001\007use age", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=21011, - serialized_end=21120, -) - -_ENUMTEST.fields_by_name["const_test"].enum_type = _STATE -_ENUMTEST.fields_by_name["in_test"].enum_type = _STATE -_ENUMTEST.fields_by_name["not_in_test"].enum_type = _STATE -_ENUMTEST.fields_by_name["enable_test"].enum_type = _STATE -_ENUMTEST.fields_by_name["default_test"].enum_type = _STATE -_ENUMTEST.fields_by_name["miss_default_test"].enum_type = _STATE -_ENUMTEST.fields_by_name["alias_test"].enum_type = _STATE -_ENUMTEST.fields_by_name["desc_test"].enum_type = _STATE -_ENUMTEST.fields_by_name["example_test"].enum_type = _STATE -_ENUMTEST.fields_by_name["field_test"].enum_type = _STATE -_ENUMTEST.fields_by_name["title_test"].enum_type = _STATE -_ENUMTEST.fields_by_name["extra_test"].enum_type = _STATE -_MAPTEST_PAIRTESTENTRY.containing_type = _MAPTEST -_MAPTEST_KEYSTESTENTRY.containing_type = _MAPTEST -_MAPTEST_VALUESTESTENTRY.containing_type = _MAPTEST -_MAPTEST_KEYSVALUESTESTENTRY.fields_by_name["value"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_MAPTEST_KEYSVALUESTESTENTRY.containing_type = _MAPTEST -_MAPTEST_ENABLETESTENTRY.containing_type = _MAPTEST -_MAPTEST_DEFAULTFACTORYTESTENTRY.containing_type = _MAPTEST -_MAPTEST_MISSDEFAULTTESTENTRY.containing_type = _MAPTEST -_MAPTEST_ALIASTESTENTRY.containing_type = _MAPTEST -_MAPTEST_DESCTESTENTRY.containing_type = _MAPTEST -_MAPTEST_EXAMPLEFACTORYTESTENTRY.containing_type = _MAPTEST -_MAPTEST_FIELDTESTENTRY.containing_type = _MAPTEST -_MAPTEST_TITLETESTENTRY.containing_type = _MAPTEST -_MAPTEST_TYPETESTENTRY.containing_type = _MAPTEST -_MAPTEST_EXTRATESTENTRY.containing_type = _MAPTEST -_MAPTEST.fields_by_name["pair_test"].message_type = _MAPTEST_PAIRTESTENTRY -_MAPTEST.fields_by_name["keys_test"].message_type = _MAPTEST_KEYSTESTENTRY -_MAPTEST.fields_by_name["values_test"].message_type = _MAPTEST_VALUESTESTENTRY -_MAPTEST.fields_by_name["keys_values_test"].message_type = _MAPTEST_KEYSVALUESTESTENTRY -_MAPTEST.fields_by_name["enable_test"].message_type = _MAPTEST_ENABLETESTENTRY -_MAPTEST.fields_by_name["default_factory_test"].message_type = _MAPTEST_DEFAULTFACTORYTESTENTRY -_MAPTEST.fields_by_name["miss_default_test"].message_type = _MAPTEST_MISSDEFAULTTESTENTRY -_MAPTEST.fields_by_name["alias_test"].message_type = _MAPTEST_ALIASTESTENTRY -_MAPTEST.fields_by_name["desc_test"].message_type = _MAPTEST_DESCTESTENTRY -_MAPTEST.fields_by_name["example_factory_test"].message_type = _MAPTEST_EXAMPLEFACTORYTESTENTRY -_MAPTEST.fields_by_name["field_test"].message_type = _MAPTEST_FIELDTESTENTRY -_MAPTEST.fields_by_name["title_test"].message_type = _MAPTEST_TITLETESTENTRY -_MAPTEST.fields_by_name["type_test"].message_type = _MAPTEST_TYPETESTENTRY -_MAPTEST.fields_by_name["extra_test"].message_type = _MAPTEST_EXTRATESTENTRY -_REPEATEDTEST.fields_by_name["items_timestamp_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_REPEATEDTEST.fields_by_name["items_duration_test"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_ANYTEST.fields_by_name["required_test"].message_type = google_dot_protobuf_dot_any__pb2._ANY -_ANYTEST.fields_by_name["not_in_test"].message_type = google_dot_protobuf_dot_any__pb2._ANY -_ANYTEST.fields_by_name["in_test"].message_type = google_dot_protobuf_dot_any__pb2._ANY -_ANYTEST.fields_by_name["enable_test"].message_type = google_dot_protobuf_dot_any__pb2._ANY -_ANYTEST.fields_by_name["default_test"].message_type = google_dot_protobuf_dot_any__pb2._ANY -_ANYTEST.fields_by_name["default_factory_test"].message_type = google_dot_protobuf_dot_any__pb2._ANY -_ANYTEST.fields_by_name["miss_default_test"].message_type = google_dot_protobuf_dot_any__pb2._ANY -_ANYTEST.fields_by_name["alias_test"].message_type = google_dot_protobuf_dot_any__pb2._ANY -_ANYTEST.fields_by_name["desc_test"].message_type = google_dot_protobuf_dot_any__pb2._ANY -_ANYTEST.fields_by_name["example_test"].message_type = google_dot_protobuf_dot_any__pb2._ANY -_ANYTEST.fields_by_name["example_factory_test"].message_type = google_dot_protobuf_dot_any__pb2._ANY -_ANYTEST.fields_by_name["field_test"].message_type = google_dot_protobuf_dot_any__pb2._ANY -_ANYTEST.fields_by_name["title_test"].message_type = google_dot_protobuf_dot_any__pb2._ANY -_ANYTEST.fields_by_name["extra_test"].message_type = google_dot_protobuf_dot_any__pb2._ANY -_DURATIONTEST.fields_by_name["const_test"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONTEST.fields_by_name["range_test"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONTEST.fields_by_name["range_e_test"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONTEST.fields_by_name["in_test"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONTEST.fields_by_name["not_in_test"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONTEST.fields_by_name["enable_test"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONTEST.fields_by_name["default_test"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONTEST.fields_by_name["default_factory_test"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONTEST.fields_by_name["miss_default_test"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONTEST.fields_by_name["alias_test"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONTEST.fields_by_name["desc_test"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONTEST.fields_by_name["example_test"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONTEST.fields_by_name["example_factory_test"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONTEST.fields_by_name["field_test"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONTEST.fields_by_name["title_test"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONTEST.fields_by_name["type_test"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONTEST.fields_by_name["extra_test"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_TIMESTAMPTEST.fields_by_name["const_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPTEST.fields_by_name["range_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPTEST.fields_by_name["range_e_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPTEST.fields_by_name["lt_now_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPTEST.fields_by_name["gt_now_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPTEST.fields_by_name["within_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPTEST.fields_by_name["within_and_gt_now_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPTEST.fields_by_name["enable_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPTEST.fields_by_name["default_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPTEST.fields_by_name["default_factory_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPTEST.fields_by_name["miss_default_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPTEST.fields_by_name["alias_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPTEST.fields_by_name["desc_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPTEST.fields_by_name["example_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPTEST.fields_by_name["example_factory_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPTEST.fields_by_name["field_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPTEST.fields_by_name["title_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPTEST.fields_by_name["type_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPTEST.fields_by_name["extra_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_ONEOFTEST.oneofs_by_name["id"].fields.append(_ONEOFTEST.fields_by_name["x"]) -_ONEOFTEST.fields_by_name["x"].containing_oneof = _ONEOFTEST.oneofs_by_name["id"] -_ONEOFTEST.oneofs_by_name["id"].fields.append(_ONEOFTEST.fields_by_name["y"]) -_ONEOFTEST.fields_by_name["y"].containing_oneof = _ONEOFTEST.oneofs_by_name["id"] -_ONEOFNOTTEST.oneofs_by_name["id"].fields.append(_ONEOFNOTTEST.fields_by_name["x"]) -_ONEOFNOTTEST.fields_by_name["x"].containing_oneof = _ONEOFNOTTEST.oneofs_by_name["id"] -_ONEOFNOTTEST.oneofs_by_name["id"].fields.append(_ONEOFNOTTEST.fields_by_name["y"]) -_ONEOFNOTTEST.fields_by_name["y"].containing_oneof = _ONEOFNOTTEST.oneofs_by_name["id"] -_NESTEDMESSAGE_USERPAYMESSAGE.fields_by_name["exp"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_NESTEDMESSAGE_USERPAYMESSAGE.containing_type = _NESTEDMESSAGE -_NESTEDMESSAGE_NOTENABLEUSERPAYMESSAGE.fields_by_name[ - "exp" -].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_NESTEDMESSAGE_NOTENABLEUSERPAYMESSAGE.containing_type = _NESTEDMESSAGE -_NESTEDMESSAGE_STRINGINMAPTESTENTRY.fields_by_name["value"].message_type = _STRINGTEST -_NESTEDMESSAGE_STRINGINMAPTESTENTRY.containing_type = _NESTEDMESSAGE -_NESTEDMESSAGE_MAPINMAPTESTENTRY.fields_by_name["value"].message_type = _MAPTEST -_NESTEDMESSAGE_MAPINMAPTESTENTRY.containing_type = _NESTEDMESSAGE -_NESTEDMESSAGE.fields_by_name["string_in_map_test"].message_type = _NESTEDMESSAGE_STRINGINMAPTESTENTRY -_NESTEDMESSAGE.fields_by_name["map_in_map_test"].message_type = _NESTEDMESSAGE_MAPINMAPTESTENTRY -_NESTEDMESSAGE.fields_by_name["user_pay"].message_type = _NESTEDMESSAGE_USERPAYMESSAGE -_NESTEDMESSAGE.fields_by_name["not_enable_user_pay"].message_type = _NESTEDMESSAGE_NOTENABLEUSERPAYMESSAGE -_NESTEDMESSAGE.fields_by_name["empty"].message_type = google_dot_protobuf_dot_empty__pb2._EMPTY -_NESTEDMESSAGE.fields_by_name["after_refer"].message_type = _AFTERREFERMESSAGE -DESCRIPTOR.message_types_by_name["FloatTest"] = _FLOATTEST -DESCRIPTOR.message_types_by_name["DoubleTest"] = _DOUBLETEST -DESCRIPTOR.message_types_by_name["Int32Test"] = _INT32TEST -DESCRIPTOR.message_types_by_name["Int64Test"] = _INT64TEST -DESCRIPTOR.message_types_by_name["Uint32Test"] = _UINT32TEST -DESCRIPTOR.message_types_by_name["Sint32Test"] = _SINT32TEST -DESCRIPTOR.message_types_by_name["Uint64Test"] = _UINT64TEST -DESCRIPTOR.message_types_by_name["Sint64Test"] = _SINT64TEST -DESCRIPTOR.message_types_by_name["Fixed32Test"] = _FIXED32TEST -DESCRIPTOR.message_types_by_name["Fixed64Test"] = _FIXED64TEST -DESCRIPTOR.message_types_by_name["Sfixed32Test"] = _SFIXED32TEST -DESCRIPTOR.message_types_by_name["Sfixed64Test"] = _SFIXED64TEST -DESCRIPTOR.message_types_by_name["BoolTest"] = _BOOLTEST -DESCRIPTOR.message_types_by_name["StringTest"] = _STRINGTEST -DESCRIPTOR.message_types_by_name["BytesTest"] = _BYTESTEST -DESCRIPTOR.message_types_by_name["EnumTest"] = _ENUMTEST -DESCRIPTOR.message_types_by_name["MapTest"] = _MAPTEST -DESCRIPTOR.message_types_by_name["MessageTest"] = _MESSAGETEST -DESCRIPTOR.message_types_by_name["RepeatedTest"] = _REPEATEDTEST -DESCRIPTOR.message_types_by_name["AnyTest"] = _ANYTEST -DESCRIPTOR.message_types_by_name["DurationTest"] = _DURATIONTEST -DESCRIPTOR.message_types_by_name["TimestampTest"] = _TIMESTAMPTEST -DESCRIPTOR.message_types_by_name["MessageIgnoredTest"] = _MESSAGEIGNOREDTEST -DESCRIPTOR.message_types_by_name["OneOfTest"] = _ONEOFTEST -DESCRIPTOR.message_types_by_name["OneOfNotTest"] = _ONEOFNOTTEST -DESCRIPTOR.message_types_by_name["NestedMessage"] = _NESTEDMESSAGE -DESCRIPTOR.message_types_by_name["AfterReferMessage"] = _AFTERREFERMESSAGE -DESCRIPTOR.enum_types_by_name["State"] = _STATE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FloatTest = _reflection.GeneratedProtocolMessageType( - "FloatTest", - (_message.Message,), - { - "DESCRIPTOR": _FLOATTEST, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.FloatTest) - }, -) -_sym_db.RegisterMessage(FloatTest) - -DoubleTest = _reflection.GeneratedProtocolMessageType( - "DoubleTest", - (_message.Message,), - { - "DESCRIPTOR": _DOUBLETEST, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.DoubleTest) - }, -) -_sym_db.RegisterMessage(DoubleTest) - -Int32Test = _reflection.GeneratedProtocolMessageType( - "Int32Test", - (_message.Message,), - { - "DESCRIPTOR": _INT32TEST, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.Int32Test) - }, -) -_sym_db.RegisterMessage(Int32Test) - -Int64Test = _reflection.GeneratedProtocolMessageType( - "Int64Test", - (_message.Message,), - { - "DESCRIPTOR": _INT64TEST, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.Int64Test) - }, -) -_sym_db.RegisterMessage(Int64Test) - -Uint32Test = _reflection.GeneratedProtocolMessageType( - "Uint32Test", - (_message.Message,), - { - "DESCRIPTOR": _UINT32TEST, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.Uint32Test) - }, -) -_sym_db.RegisterMessage(Uint32Test) - -Sint32Test = _reflection.GeneratedProtocolMessageType( - "Sint32Test", - (_message.Message,), - { - "DESCRIPTOR": _SINT32TEST, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.Sint32Test) - }, -) -_sym_db.RegisterMessage(Sint32Test) - -Uint64Test = _reflection.GeneratedProtocolMessageType( - "Uint64Test", - (_message.Message,), - { - "DESCRIPTOR": _UINT64TEST, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.Uint64Test) - }, -) -_sym_db.RegisterMessage(Uint64Test) - -Sint64Test = _reflection.GeneratedProtocolMessageType( - "Sint64Test", - (_message.Message,), - { - "DESCRIPTOR": _SINT64TEST, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.Sint64Test) - }, -) -_sym_db.RegisterMessage(Sint64Test) - -Fixed32Test = _reflection.GeneratedProtocolMessageType( - "Fixed32Test", - (_message.Message,), - { - "DESCRIPTOR": _FIXED32TEST, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.Fixed32Test) - }, -) -_sym_db.RegisterMessage(Fixed32Test) - -Fixed64Test = _reflection.GeneratedProtocolMessageType( - "Fixed64Test", - (_message.Message,), - { - "DESCRIPTOR": _FIXED64TEST, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.Fixed64Test) - }, -) -_sym_db.RegisterMessage(Fixed64Test) - -Sfixed32Test = _reflection.GeneratedProtocolMessageType( - "Sfixed32Test", - (_message.Message,), - { - "DESCRIPTOR": _SFIXED32TEST, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.Sfixed32Test) - }, -) -_sym_db.RegisterMessage(Sfixed32Test) - -Sfixed64Test = _reflection.GeneratedProtocolMessageType( - "Sfixed64Test", - (_message.Message,), - { - "DESCRIPTOR": _SFIXED64TEST, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.Sfixed64Test) - }, -) -_sym_db.RegisterMessage(Sfixed64Test) - -BoolTest = _reflection.GeneratedProtocolMessageType( - "BoolTest", - (_message.Message,), - { - "DESCRIPTOR": _BOOLTEST, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.BoolTest) - }, -) -_sym_db.RegisterMessage(BoolTest) - -StringTest = _reflection.GeneratedProtocolMessageType( - "StringTest", - (_message.Message,), - { - "DESCRIPTOR": _STRINGTEST, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.StringTest) - }, -) -_sym_db.RegisterMessage(StringTest) - -BytesTest = _reflection.GeneratedProtocolMessageType( - "BytesTest", - (_message.Message,), - { - "DESCRIPTOR": _BYTESTEST, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.BytesTest) - }, -) -_sym_db.RegisterMessage(BytesTest) - -EnumTest = _reflection.GeneratedProtocolMessageType( - "EnumTest", - (_message.Message,), - { - "DESCRIPTOR": _ENUMTEST, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.EnumTest) - }, -) -_sym_db.RegisterMessage(EnumTest) - -MapTest = _reflection.GeneratedProtocolMessageType( - "MapTest", - (_message.Message,), - { - "PairTestEntry": _reflection.GeneratedProtocolMessageType( - "PairTestEntry", - (_message.Message,), - { - "DESCRIPTOR": _MAPTEST_PAIRTESTENTRY, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.MapTest.PairTestEntry) - }, - ), - "KeysTestEntry": _reflection.GeneratedProtocolMessageType( - "KeysTestEntry", - (_message.Message,), - { - "DESCRIPTOR": _MAPTEST_KEYSTESTENTRY, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.MapTest.KeysTestEntry) - }, - ), - "ValuesTestEntry": _reflection.GeneratedProtocolMessageType( - "ValuesTestEntry", - (_message.Message,), - { - "DESCRIPTOR": _MAPTEST_VALUESTESTENTRY, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.MapTest.ValuesTestEntry) - }, - ), - "KeysValuesTestEntry": _reflection.GeneratedProtocolMessageType( - "KeysValuesTestEntry", - (_message.Message,), - { - "DESCRIPTOR": _MAPTEST_KEYSVALUESTESTENTRY, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.MapTest.KeysValuesTestEntry) - }, - ), - "EnableTestEntry": _reflection.GeneratedProtocolMessageType( - "EnableTestEntry", - (_message.Message,), - { - "DESCRIPTOR": _MAPTEST_ENABLETESTENTRY, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.MapTest.EnableTestEntry) - }, - ), - "DefaultFactoryTestEntry": _reflection.GeneratedProtocolMessageType( - "DefaultFactoryTestEntry", - (_message.Message,), - { - "DESCRIPTOR": _MAPTEST_DEFAULTFACTORYTESTENTRY, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.MapTest.DefaultFactoryTestEntry) - }, - ), - "MissDefaultTestEntry": _reflection.GeneratedProtocolMessageType( - "MissDefaultTestEntry", - (_message.Message,), - { - "DESCRIPTOR": _MAPTEST_MISSDEFAULTTESTENTRY, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.MapTest.MissDefaultTestEntry) - }, - ), - "AliasTestEntry": _reflection.GeneratedProtocolMessageType( - "AliasTestEntry", - (_message.Message,), - { - "DESCRIPTOR": _MAPTEST_ALIASTESTENTRY, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.MapTest.AliasTestEntry) - }, - ), - "DescTestEntry": _reflection.GeneratedProtocolMessageType( - "DescTestEntry", - (_message.Message,), - { - "DESCRIPTOR": _MAPTEST_DESCTESTENTRY, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.MapTest.DescTestEntry) - }, - ), - "ExampleFactoryTestEntry": _reflection.GeneratedProtocolMessageType( - "ExampleFactoryTestEntry", - (_message.Message,), - { - "DESCRIPTOR": _MAPTEST_EXAMPLEFACTORYTESTENTRY, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.MapTest.ExampleFactoryTestEntry) - }, - ), - "FieldTestEntry": _reflection.GeneratedProtocolMessageType( - "FieldTestEntry", - (_message.Message,), - { - "DESCRIPTOR": _MAPTEST_FIELDTESTENTRY, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.MapTest.FieldTestEntry) - }, - ), - "TitleTestEntry": _reflection.GeneratedProtocolMessageType( - "TitleTestEntry", - (_message.Message,), - { - "DESCRIPTOR": _MAPTEST_TITLETESTENTRY, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.MapTest.TitleTestEntry) - }, - ), - "TypeTestEntry": _reflection.GeneratedProtocolMessageType( - "TypeTestEntry", - (_message.Message,), - { - "DESCRIPTOR": _MAPTEST_TYPETESTENTRY, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.MapTest.TypeTestEntry) - }, - ), - "ExtraTestEntry": _reflection.GeneratedProtocolMessageType( - "ExtraTestEntry", - (_message.Message,), - { - "DESCRIPTOR": _MAPTEST_EXTRATESTENTRY, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.MapTest.ExtraTestEntry) - }, - ), - "DESCRIPTOR": _MAPTEST, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.MapTest) - }, -) -_sym_db.RegisterMessage(MapTest) -_sym_db.RegisterMessage(MapTest.PairTestEntry) -_sym_db.RegisterMessage(MapTest.KeysTestEntry) -_sym_db.RegisterMessage(MapTest.ValuesTestEntry) -_sym_db.RegisterMessage(MapTest.KeysValuesTestEntry) -_sym_db.RegisterMessage(MapTest.EnableTestEntry) -_sym_db.RegisterMessage(MapTest.DefaultFactoryTestEntry) -_sym_db.RegisterMessage(MapTest.MissDefaultTestEntry) -_sym_db.RegisterMessage(MapTest.AliasTestEntry) -_sym_db.RegisterMessage(MapTest.DescTestEntry) -_sym_db.RegisterMessage(MapTest.ExampleFactoryTestEntry) -_sym_db.RegisterMessage(MapTest.FieldTestEntry) -_sym_db.RegisterMessage(MapTest.TitleTestEntry) -_sym_db.RegisterMessage(MapTest.TypeTestEntry) -_sym_db.RegisterMessage(MapTest.ExtraTestEntry) - -MessageTest = _reflection.GeneratedProtocolMessageType( - "MessageTest", - (_message.Message,), - { - "DESCRIPTOR": _MESSAGETEST, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.MessageTest) - }, -) -_sym_db.RegisterMessage(MessageTest) - -RepeatedTest = _reflection.GeneratedProtocolMessageType( - "RepeatedTest", - (_message.Message,), - { - "DESCRIPTOR": _REPEATEDTEST, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.RepeatedTest) - }, -) -_sym_db.RegisterMessage(RepeatedTest) - -AnyTest = _reflection.GeneratedProtocolMessageType( - "AnyTest", - (_message.Message,), - { - "DESCRIPTOR": _ANYTEST, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.AnyTest) - }, -) -_sym_db.RegisterMessage(AnyTest) - -DurationTest = _reflection.GeneratedProtocolMessageType( - "DurationTest", - (_message.Message,), - { - "DESCRIPTOR": _DURATIONTEST, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.DurationTest) - }, -) -_sym_db.RegisterMessage(DurationTest) - -TimestampTest = _reflection.GeneratedProtocolMessageType( - "TimestampTest", - (_message.Message,), - { - "DESCRIPTOR": _TIMESTAMPTEST, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.TimestampTest) - }, -) -_sym_db.RegisterMessage(TimestampTest) - -MessageIgnoredTest = _reflection.GeneratedProtocolMessageType( - "MessageIgnoredTest", - (_message.Message,), - { - "DESCRIPTOR": _MESSAGEIGNOREDTEST, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.MessageIgnoredTest) - }, -) -_sym_db.RegisterMessage(MessageIgnoredTest) - -OneOfTest = _reflection.GeneratedProtocolMessageType( - "OneOfTest", - (_message.Message,), - { - "DESCRIPTOR": _ONEOFTEST, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.OneOfTest) - }, -) -_sym_db.RegisterMessage(OneOfTest) - -OneOfNotTest = _reflection.GeneratedProtocolMessageType( - "OneOfNotTest", - (_message.Message,), - { - "DESCRIPTOR": _ONEOFNOTTEST, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.OneOfNotTest) - }, -) -_sym_db.RegisterMessage(OneOfNotTest) - -NestedMessage = _reflection.GeneratedProtocolMessageType( - "NestedMessage", - (_message.Message,), - { - "UserPayMessage": _reflection.GeneratedProtocolMessageType( - "UserPayMessage", - (_message.Message,), - { - "DESCRIPTOR": _NESTEDMESSAGE_USERPAYMESSAGE, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.NestedMessage.UserPayMessage) - }, - ), - "NotEnableUserPayMessage": _reflection.GeneratedProtocolMessageType( - "NotEnableUserPayMessage", - (_message.Message,), - { - "DESCRIPTOR": _NESTEDMESSAGE_NOTENABLEUSERPAYMESSAGE, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.NestedMessage.NotEnableUserPayMessage) - }, - ), - "StringInMapTestEntry": _reflection.GeneratedProtocolMessageType( - "StringInMapTestEntry", - (_message.Message,), - { - "DESCRIPTOR": _NESTEDMESSAGE_STRINGINMAPTESTENTRY, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.NestedMessage.StringInMapTestEntry) - }, - ), - "MapInMapTestEntry": _reflection.GeneratedProtocolMessageType( - "MapInMapTestEntry", - (_message.Message,), - { - "DESCRIPTOR": _NESTEDMESSAGE_MAPINMAPTESTENTRY, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.NestedMessage.MapInMapTestEntry) - }, - ), - "DESCRIPTOR": _NESTEDMESSAGE, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.NestedMessage) - }, -) -_sym_db.RegisterMessage(NestedMessage) -_sym_db.RegisterMessage(NestedMessage.UserPayMessage) -_sym_db.RegisterMessage(NestedMessage.NotEnableUserPayMessage) -_sym_db.RegisterMessage(NestedMessage.StringInMapTestEntry) -_sym_db.RegisterMessage(NestedMessage.MapInMapTestEntry) - -AfterReferMessage = _reflection.GeneratedProtocolMessageType( - "AfterReferMessage", - (_message.Message,), - { - "DESCRIPTOR": _AFTERREFERMESSAGE, - "__module__": "example.example_proto.p2p_validate.demo_pb2" - # @@protoc_insertion_point(class_scope:p2p_validate_test.AfterReferMessage) - }, -) -_sym_db.RegisterMessage(AfterReferMessage) - - -_FLOATTEST.fields_by_name["const_test"]._options = None -_FLOATTEST.fields_by_name["range_e_test"]._options = None -_FLOATTEST.fields_by_name["range_test"]._options = None -_FLOATTEST.fields_by_name["in_test"]._options = None -_FLOATTEST.fields_by_name["not_in_test"]._options = None -_FLOATTEST.fields_by_name["default_test"]._options = None -_FLOATTEST.fields_by_name["not_enable_test"]._options = None -_FLOATTEST.fields_by_name["default_factory_test"]._options = None -_FLOATTEST.fields_by_name["miss_default_test"]._options = None -_FLOATTEST.fields_by_name["alias_test"]._options = None -_FLOATTEST.fields_by_name["desc_test"]._options = None -_FLOATTEST.fields_by_name["multiple_of_test"]._options = None -_FLOATTEST.fields_by_name["example_test"]._options = None -_FLOATTEST.fields_by_name["example_factory"]._options = None -_FLOATTEST.fields_by_name["field_test"]._options = None -_FLOATTEST.fields_by_name["type_test"]._options = None -_FLOATTEST.fields_by_name["title_test"]._options = None -_FLOATTEST.fields_by_name["extra_test"]._options = None -_DOUBLETEST.fields_by_name["const_test"]._options = None -_DOUBLETEST.fields_by_name["range_e_test"]._options = None -_DOUBLETEST.fields_by_name["range_test"]._options = None -_DOUBLETEST.fields_by_name["in_test"]._options = None -_DOUBLETEST.fields_by_name["not_in_test"]._options = None -_DOUBLETEST.fields_by_name["default_test"]._options = None -_DOUBLETEST.fields_by_name["not_enable_test"]._options = None -_DOUBLETEST.fields_by_name["default_factory_test"]._options = None -_DOUBLETEST.fields_by_name["miss_default_test"]._options = None -_DOUBLETEST.fields_by_name["alias_test"]._options = None -_DOUBLETEST.fields_by_name["desc_test"]._options = None -_DOUBLETEST.fields_by_name["multiple_of_test"]._options = None -_DOUBLETEST.fields_by_name["example_test"]._options = None -_DOUBLETEST.fields_by_name["example_factory"]._options = None -_DOUBLETEST.fields_by_name["field_test"]._options = None -_DOUBLETEST.fields_by_name["type_test"]._options = None -_DOUBLETEST.fields_by_name["title_test"]._options = None -_DOUBLETEST.fields_by_name["extra_test"]._options = None -_INT32TEST.fields_by_name["const_test"]._options = None -_INT32TEST.fields_by_name["range_e_test"]._options = None -_INT32TEST.fields_by_name["range_test"]._options = None -_INT32TEST.fields_by_name["in_test"]._options = None -_INT32TEST.fields_by_name["not_in_test"]._options = None -_INT32TEST.fields_by_name["default_test"]._options = None -_INT32TEST.fields_by_name["not_enable_test"]._options = None -_INT32TEST.fields_by_name["default_factory_test"]._options = None -_INT32TEST.fields_by_name["miss_default_test"]._options = None -_INT32TEST.fields_by_name["alias_test"]._options = None -_INT32TEST.fields_by_name["desc_test"]._options = None -_INT32TEST.fields_by_name["multiple_of_test"]._options = None -_INT32TEST.fields_by_name["example_test"]._options = None -_INT32TEST.fields_by_name["example_factory"]._options = None -_INT32TEST.fields_by_name["field_test"]._options = None -_INT32TEST.fields_by_name["type_test"]._options = None -_INT32TEST.fields_by_name["title_test"]._options = None -_INT32TEST.fields_by_name["extra_test"]._options = None -_INT64TEST.fields_by_name["const_test"]._options = None -_INT64TEST.fields_by_name["range_e_test"]._options = None -_INT64TEST.fields_by_name["range_test"]._options = None -_INT64TEST.fields_by_name["in_test"]._options = None -_INT64TEST.fields_by_name["not_in_test"]._options = None -_INT64TEST.fields_by_name["default_test"]._options = None -_INT64TEST.fields_by_name["not_enable_test"]._options = None -_INT64TEST.fields_by_name["default_factory_test"]._options = None -_INT64TEST.fields_by_name["miss_default_test"]._options = None -_INT64TEST.fields_by_name["alias_test"]._options = None -_INT64TEST.fields_by_name["desc_test"]._options = None -_INT64TEST.fields_by_name["multiple_of_test"]._options = None -_INT64TEST.fields_by_name["example_test"]._options = None -_INT64TEST.fields_by_name["example_factory"]._options = None -_INT64TEST.fields_by_name["field_test"]._options = None -_INT64TEST.fields_by_name["type_test"]._options = None -_INT64TEST.fields_by_name["title_test"]._options = None -_INT64TEST.fields_by_name["extra_test"]._options = None -_UINT32TEST.fields_by_name["const_test"]._options = None -_UINT32TEST.fields_by_name["range_e_test"]._options = None -_UINT32TEST.fields_by_name["range_test"]._options = None -_UINT32TEST.fields_by_name["in_test"]._options = None -_UINT32TEST.fields_by_name["not_in_test"]._options = None -_UINT32TEST.fields_by_name["default_test"]._options = None -_UINT32TEST.fields_by_name["not_enable_test"]._options = None -_UINT32TEST.fields_by_name["default_factory_test"]._options = None -_UINT32TEST.fields_by_name["miss_default_test"]._options = None -_UINT32TEST.fields_by_name["alias_test"]._options = None -_UINT32TEST.fields_by_name["desc_test"]._options = None -_UINT32TEST.fields_by_name["multiple_of_test"]._options = None -_UINT32TEST.fields_by_name["example_test"]._options = None -_UINT32TEST.fields_by_name["example_factory"]._options = None -_UINT32TEST.fields_by_name["field_test"]._options = None -_UINT32TEST.fields_by_name["type_test"]._options = None -_UINT32TEST.fields_by_name["title_test"]._options = None -_UINT32TEST.fields_by_name["extra_test"]._options = None -_SINT32TEST.fields_by_name["const_test"]._options = None -_SINT32TEST.fields_by_name["range_e_test"]._options = None -_SINT32TEST.fields_by_name["range_test"]._options = None -_SINT32TEST.fields_by_name["in_test"]._options = None -_SINT32TEST.fields_by_name["not_in_test"]._options = None -_SINT32TEST.fields_by_name["default_test"]._options = None -_SINT32TEST.fields_by_name["not_enable_test"]._options = None -_SINT32TEST.fields_by_name["default_factory_test"]._options = None -_SINT32TEST.fields_by_name["miss_default_test"]._options = None -_SINT32TEST.fields_by_name["alias_test"]._options = None -_SINT32TEST.fields_by_name["desc_test"]._options = None -_SINT32TEST.fields_by_name["multiple_of_test"]._options = None -_SINT32TEST.fields_by_name["example_test"]._options = None -_SINT32TEST.fields_by_name["example_factory"]._options = None -_SINT32TEST.fields_by_name["field_test"]._options = None -_SINT32TEST.fields_by_name["type_test"]._options = None -_SINT32TEST.fields_by_name["title_test"]._options = None -_SINT32TEST.fields_by_name["extra_test"]._options = None -_UINT64TEST.fields_by_name["const_test"]._options = None -_UINT64TEST.fields_by_name["range_e_test"]._options = None -_UINT64TEST.fields_by_name["range_test"]._options = None -_UINT64TEST.fields_by_name["in_test"]._options = None -_UINT64TEST.fields_by_name["not_in_test"]._options = None -_UINT64TEST.fields_by_name["default_test"]._options = None -_UINT64TEST.fields_by_name["not_enable_test"]._options = None -_UINT64TEST.fields_by_name["default_factory_test"]._options = None -_UINT64TEST.fields_by_name["miss_default_test"]._options = None -_UINT64TEST.fields_by_name["alias_test"]._options = None -_UINT64TEST.fields_by_name["desc_test"]._options = None -_UINT64TEST.fields_by_name["multiple_of_test"]._options = None -_UINT64TEST.fields_by_name["example_test"]._options = None -_UINT64TEST.fields_by_name["example_factory"]._options = None -_UINT64TEST.fields_by_name["field_test"]._options = None -_UINT64TEST.fields_by_name["type_test"]._options = None -_UINT64TEST.fields_by_name["title_test"]._options = None -_UINT64TEST.fields_by_name["extra_test"]._options = None -_SINT64TEST.fields_by_name["const_test"]._options = None -_SINT64TEST.fields_by_name["range_e_test"]._options = None -_SINT64TEST.fields_by_name["range_test"]._options = None -_SINT64TEST.fields_by_name["in_test"]._options = None -_SINT64TEST.fields_by_name["not_in_test"]._options = None -_SINT64TEST.fields_by_name["default_test"]._options = None -_SINT64TEST.fields_by_name["not_enable_test"]._options = None -_SINT64TEST.fields_by_name["default_factory_test"]._options = None -_SINT64TEST.fields_by_name["miss_default_test"]._options = None -_SINT64TEST.fields_by_name["alias_test"]._options = None -_SINT64TEST.fields_by_name["desc_test"]._options = None -_SINT64TEST.fields_by_name["multiple_of_test"]._options = None -_SINT64TEST.fields_by_name["example_test"]._options = None -_SINT64TEST.fields_by_name["example_factory"]._options = None -_SINT64TEST.fields_by_name["field_test"]._options = None -_SINT64TEST.fields_by_name["type_test"]._options = None -_SINT64TEST.fields_by_name["title_test"]._options = None -_SINT64TEST.fields_by_name["extra_test"]._options = None -_FIXED32TEST.fields_by_name["const_test"]._options = None -_FIXED32TEST.fields_by_name["range_e_test"]._options = None -_FIXED32TEST.fields_by_name["range_test"]._options = None -_FIXED32TEST.fields_by_name["in_test"]._options = None -_FIXED32TEST.fields_by_name["not_in_test"]._options = None -_FIXED32TEST.fields_by_name["default_test"]._options = None -_FIXED32TEST.fields_by_name["not_enable_test"]._options = None -_FIXED32TEST.fields_by_name["default_factory_test"]._options = None -_FIXED32TEST.fields_by_name["miss_default_test"]._options = None -_FIXED32TEST.fields_by_name["alias_test"]._options = None -_FIXED32TEST.fields_by_name["desc_test"]._options = None -_FIXED32TEST.fields_by_name["multiple_of_test"]._options = None -_FIXED32TEST.fields_by_name["example_test"]._options = None -_FIXED32TEST.fields_by_name["example_factory"]._options = None -_FIXED32TEST.fields_by_name["field_test"]._options = None -_FIXED32TEST.fields_by_name["type_test"]._options = None -_FIXED32TEST.fields_by_name["title_test"]._options = None -_FIXED32TEST.fields_by_name["extra_test"]._options = None -_FIXED64TEST.fields_by_name["const_test"]._options = None -_FIXED64TEST.fields_by_name["range_e_test"]._options = None -_FIXED64TEST.fields_by_name["range_test"]._options = None -_FIXED64TEST.fields_by_name["in_test"]._options = None -_FIXED64TEST.fields_by_name["not_in_test"]._options = None -_FIXED64TEST.fields_by_name["default_test"]._options = None -_FIXED64TEST.fields_by_name["not_enable_test"]._options = None -_FIXED64TEST.fields_by_name["default_factory_test"]._options = None -_FIXED64TEST.fields_by_name["miss_default_test"]._options = None -_FIXED64TEST.fields_by_name["alias_test"]._options = None -_FIXED64TEST.fields_by_name["desc_test"]._options = None -_FIXED64TEST.fields_by_name["multiple_of_test"]._options = None -_FIXED64TEST.fields_by_name["example_test"]._options = None -_FIXED64TEST.fields_by_name["example_factory"]._options = None -_FIXED64TEST.fields_by_name["field_test"]._options = None -_FIXED64TEST.fields_by_name["type_test"]._options = None -_FIXED64TEST.fields_by_name["title_test"]._options = None -_FIXED64TEST.fields_by_name["extra_test"]._options = None -_SFIXED32TEST.fields_by_name["const_test"]._options = None -_SFIXED32TEST.fields_by_name["range_e_test"]._options = None -_SFIXED32TEST.fields_by_name["range_test"]._options = None -_SFIXED32TEST.fields_by_name["in_test"]._options = None -_SFIXED32TEST.fields_by_name["not_in_test"]._options = None -_SFIXED32TEST.fields_by_name["default_test"]._options = None -_SFIXED32TEST.fields_by_name["not_enable_test"]._options = None -_SFIXED32TEST.fields_by_name["default_factory_test"]._options = None -_SFIXED32TEST.fields_by_name["miss_default_test"]._options = None -_SFIXED32TEST.fields_by_name["alias_test"]._options = None -_SFIXED32TEST.fields_by_name["desc_test"]._options = None -_SFIXED32TEST.fields_by_name["multiple_of_test"]._options = None -_SFIXED32TEST.fields_by_name["example_test"]._options = None -_SFIXED32TEST.fields_by_name["example_factory"]._options = None -_SFIXED32TEST.fields_by_name["field_test"]._options = None -_SFIXED32TEST.fields_by_name["type_test"]._options = None -_SFIXED32TEST.fields_by_name["title_test"]._options = None -_SFIXED32TEST.fields_by_name["extra_test"]._options = None -_SFIXED64TEST.fields_by_name["const_test"]._options = None -_SFIXED64TEST.fields_by_name["range_e_test"]._options = None -_SFIXED64TEST.fields_by_name["range_test"]._options = None -_SFIXED64TEST.fields_by_name["in_test"]._options = None -_SFIXED64TEST.fields_by_name["not_in_test"]._options = None -_SFIXED64TEST.fields_by_name["default_test"]._options = None -_SFIXED64TEST.fields_by_name["not_enable_test"]._options = None -_SFIXED64TEST.fields_by_name["default_factory_test"]._options = None -_SFIXED64TEST.fields_by_name["miss_default_test"]._options = None -_SFIXED64TEST.fields_by_name["alias_test"]._options = None -_SFIXED64TEST.fields_by_name["desc_test"]._options = None -_SFIXED64TEST.fields_by_name["multiple_of_test"]._options = None -_SFIXED64TEST.fields_by_name["example_test"]._options = None -_SFIXED64TEST.fields_by_name["example_factory"]._options = None -_SFIXED64TEST.fields_by_name["field_test"]._options = None -_SFIXED64TEST.fields_by_name["type_test"]._options = None -_SFIXED64TEST.fields_by_name["title_test"]._options = None -_SFIXED64TEST.fields_by_name["extra_test"]._options = None -_BOOLTEST.fields_by_name["bool_1_test"]._options = None -_BOOLTEST.fields_by_name["bool_2_test"]._options = None -_BOOLTEST.fields_by_name["enable_test"]._options = None -_BOOLTEST.fields_by_name["default_test"]._options = None -_BOOLTEST.fields_by_name["miss_default_test"]._options = None -_BOOLTEST.fields_by_name["alias_test"]._options = None -_BOOLTEST.fields_by_name["desc_test"]._options = None -_BOOLTEST.fields_by_name["example_test"]._options = None -_BOOLTEST.fields_by_name["field_test"]._options = None -_BOOLTEST.fields_by_name["title_test"]._options = None -_BOOLTEST.fields_by_name["extra_test"]._options = None -_STRINGTEST.fields_by_name["const_test"]._options = None -_STRINGTEST.fields_by_name["len_test"]._options = None -_STRINGTEST.fields_by_name["s_range_len_test"]._options = None -_STRINGTEST.fields_by_name["pattern_test"]._options = None -_STRINGTEST.fields_by_name["prefix_test"]._options = None -_STRINGTEST.fields_by_name["suffix_test"]._options = None -_STRINGTEST.fields_by_name["contains_test"]._options = None -_STRINGTEST.fields_by_name["not_contains_test"]._options = None -_STRINGTEST.fields_by_name["in_test"]._options = None -_STRINGTEST.fields_by_name["not_in_test"]._options = None -_STRINGTEST.fields_by_name["email_test"]._options = None -_STRINGTEST.fields_by_name["hostname_test"]._options = None -_STRINGTEST.fields_by_name["ip_test"]._options = None -_STRINGTEST.fields_by_name["ipv4_test"]._options = None -_STRINGTEST.fields_by_name["ipv6_test"]._options = None -_STRINGTEST.fields_by_name["uri_test"]._options = None -_STRINGTEST.fields_by_name["uri_ref_test"]._options = None -_STRINGTEST.fields_by_name["address_test"]._options = None -_STRINGTEST.fields_by_name["uuid_test"]._options = None -_STRINGTEST.fields_by_name["pydantic_type_test"]._options = None -_STRINGTEST.fields_by_name["enable_test"]._options = None -_STRINGTEST.fields_by_name["default_test"]._options = None -_STRINGTEST.fields_by_name["default_factory_test"]._options = None -_STRINGTEST.fields_by_name["miss_default_test"]._options = None -_STRINGTEST.fields_by_name["alias_test"]._options = None -_STRINGTEST.fields_by_name["desc_test"]._options = None -_STRINGTEST.fields_by_name["example_test"]._options = None -_STRINGTEST.fields_by_name["example_factory_test"]._options = None -_STRINGTEST.fields_by_name["field_test"]._options = None -_STRINGTEST.fields_by_name["title_test"]._options = None -_STRINGTEST.fields_by_name["type_test"]._options = None -_STRINGTEST.fields_by_name["extra_test"]._options = None -_BYTESTEST.fields_by_name["const_test"]._options = None -_BYTESTEST.fields_by_name["range_len_test"]._options = None -_BYTESTEST.fields_by_name["prefix_test"]._options = None -_BYTESTEST.fields_by_name["suffix_test"]._options = None -_BYTESTEST.fields_by_name["contains_test"]._options = None -_BYTESTEST.fields_by_name["in_test"]._options = None -_BYTESTEST.fields_by_name["not_in_test"]._options = None -_BYTESTEST.fields_by_name["enable_test"]._options = None -_BYTESTEST.fields_by_name["default_test"]._options = None -_BYTESTEST.fields_by_name["default_factory_test"]._options = None -_BYTESTEST.fields_by_name["miss_default_test"]._options = None -_BYTESTEST.fields_by_name["alias_test"]._options = None -_BYTESTEST.fields_by_name["desc_test"]._options = None -_BYTESTEST.fields_by_name["example_test"]._options = None -_BYTESTEST.fields_by_name["example_factory_test"]._options = None -_BYTESTEST.fields_by_name["field_test"]._options = None -_BYTESTEST.fields_by_name["title_test"]._options = None -_BYTESTEST.fields_by_name["type_test"]._options = None -_BYTESTEST.fields_by_name["extra_test"]._options = None -_ENUMTEST.fields_by_name["const_test"]._options = None -_ENUMTEST.fields_by_name["in_test"]._options = None -_ENUMTEST.fields_by_name["not_in_test"]._options = None -_ENUMTEST.fields_by_name["enable_test"]._options = None -_ENUMTEST.fields_by_name["default_test"]._options = None -_ENUMTEST.fields_by_name["miss_default_test"]._options = None -_ENUMTEST.fields_by_name["alias_test"]._options = None -_ENUMTEST.fields_by_name["desc_test"]._options = None -_ENUMTEST.fields_by_name["example_test"]._options = None -_ENUMTEST.fields_by_name["field_test"]._options = None -_ENUMTEST.fields_by_name["title_test"]._options = None -_ENUMTEST.fields_by_name["extra_test"]._options = None -_MAPTEST_PAIRTESTENTRY._options = None -_MAPTEST_KEYSTESTENTRY._options = None -_MAPTEST_VALUESTESTENTRY._options = None -_MAPTEST_KEYSVALUESTESTENTRY._options = None -_MAPTEST_ENABLETESTENTRY._options = None -_MAPTEST_DEFAULTFACTORYTESTENTRY._options = None -_MAPTEST_MISSDEFAULTTESTENTRY._options = None -_MAPTEST_ALIASTESTENTRY._options = None -_MAPTEST_DESCTESTENTRY._options = None -_MAPTEST_EXAMPLEFACTORYTESTENTRY._options = None -_MAPTEST_FIELDTESTENTRY._options = None -_MAPTEST_TITLETESTENTRY._options = None -_MAPTEST_TYPETESTENTRY._options = None -_MAPTEST_EXTRATESTENTRY._options = None -_MAPTEST.fields_by_name["pair_test"]._options = None -_MAPTEST.fields_by_name["keys_test"]._options = None -_MAPTEST.fields_by_name["values_test"]._options = None -_MAPTEST.fields_by_name["keys_values_test"]._options = None -_MAPTEST.fields_by_name["enable_test"]._options = None -_MAPTEST.fields_by_name["default_factory_test"]._options = None -_MAPTEST.fields_by_name["miss_default_test"]._options = None -_MAPTEST.fields_by_name["alias_test"]._options = None -_MAPTEST.fields_by_name["desc_test"]._options = None -_MAPTEST.fields_by_name["example_factory_test"]._options = None -_MAPTEST.fields_by_name["field_test"]._options = None -_MAPTEST.fields_by_name["title_test"]._options = None -_MAPTEST.fields_by_name["type_test"]._options = None -_MAPTEST.fields_by_name["extra_test"]._options = None -_MESSAGETEST.fields_by_name["skip_test"]._options = None -_MESSAGETEST.fields_by_name["required_test"]._options = None -_MESSAGETEST.fields_by_name["extra_test"]._options = None -_REPEATEDTEST.fields_by_name["range_test"]._options = None -_REPEATEDTEST.fields_by_name["unique_test"]._options = None -_REPEATEDTEST.fields_by_name["items_string_test"]._options = None -_REPEATEDTEST.fields_by_name["items_double_test"]._options = None -_REPEATEDTEST.fields_by_name["items_int32_test"]._options = None -_REPEATEDTEST.fields_by_name["items_timestamp_test"]._options = None -_REPEATEDTEST.fields_by_name["items_duration_test"]._options = None -_REPEATEDTEST.fields_by_name["items_bytes_test"]._options = None -_REPEATEDTEST.fields_by_name["enable_test"]._options = None -_REPEATEDTEST.fields_by_name["default_factory_test"]._options = None -_REPEATEDTEST.fields_by_name["miss_default_test"]._options = None -_REPEATEDTEST.fields_by_name["alias_test"]._options = None -_REPEATEDTEST.fields_by_name["desc_test"]._options = None -_REPEATEDTEST.fields_by_name["example_factory_test"]._options = None -_REPEATEDTEST.fields_by_name["field_test"]._options = None -_REPEATEDTEST.fields_by_name["title_test"]._options = None -_REPEATEDTEST.fields_by_name["type_test"]._options = None -_REPEATEDTEST.fields_by_name["extra_test"]._options = None -_ANYTEST.fields_by_name["required_test"]._options = None -_ANYTEST.fields_by_name["not_in_test"]._options = None -_ANYTEST.fields_by_name["in_test"]._options = None -_ANYTEST.fields_by_name["enable_test"]._options = None -_ANYTEST.fields_by_name["default_test"]._options = None -_ANYTEST.fields_by_name["default_factory_test"]._options = None -_ANYTEST.fields_by_name["miss_default_test"]._options = None -_ANYTEST.fields_by_name["alias_test"]._options = None -_ANYTEST.fields_by_name["desc_test"]._options = None -_ANYTEST.fields_by_name["example_test"]._options = None -_ANYTEST.fields_by_name["example_factory_test"]._options = None -_ANYTEST.fields_by_name["field_test"]._options = None -_ANYTEST.fields_by_name["title_test"]._options = None -_ANYTEST.fields_by_name["extra_test"]._options = None -_DURATIONTEST.fields_by_name["const_test"]._options = None -_DURATIONTEST.fields_by_name["range_test"]._options = None -_DURATIONTEST.fields_by_name["range_e_test"]._options = None -_DURATIONTEST.fields_by_name["in_test"]._options = None -_DURATIONTEST.fields_by_name["not_in_test"]._options = None -_DURATIONTEST.fields_by_name["enable_test"]._options = None -_DURATIONTEST.fields_by_name["default_test"]._options = None -_DURATIONTEST.fields_by_name["default_factory_test"]._options = None -_DURATIONTEST.fields_by_name["miss_default_test"]._options = None -_DURATIONTEST.fields_by_name["alias_test"]._options = None -_DURATIONTEST.fields_by_name["desc_test"]._options = None -_DURATIONTEST.fields_by_name["example_test"]._options = None -_DURATIONTEST.fields_by_name["example_factory_test"]._options = None -_DURATIONTEST.fields_by_name["field_test"]._options = None -_DURATIONTEST.fields_by_name["title_test"]._options = None -_DURATIONTEST.fields_by_name["type_test"]._options = None -_DURATIONTEST.fields_by_name["extra_test"]._options = None -_TIMESTAMPTEST.fields_by_name["const_test"]._options = None -_TIMESTAMPTEST.fields_by_name["range_test"]._options = None -_TIMESTAMPTEST.fields_by_name["range_e_test"]._options = None -_TIMESTAMPTEST.fields_by_name["lt_now_test"]._options = None -_TIMESTAMPTEST.fields_by_name["gt_now_test"]._options = None -_TIMESTAMPTEST.fields_by_name["within_test"]._options = None -_TIMESTAMPTEST.fields_by_name["within_and_gt_now_test"]._options = None -_TIMESTAMPTEST.fields_by_name["enable_test"]._options = None -_TIMESTAMPTEST.fields_by_name["default_test"]._options = None -_TIMESTAMPTEST.fields_by_name["default_factory_test"]._options = None -_TIMESTAMPTEST.fields_by_name["miss_default_test"]._options = None -_TIMESTAMPTEST.fields_by_name["alias_test"]._options = None -_TIMESTAMPTEST.fields_by_name["desc_test"]._options = None -_TIMESTAMPTEST.fields_by_name["example_test"]._options = None -_TIMESTAMPTEST.fields_by_name["example_factory_test"]._options = None -_TIMESTAMPTEST.fields_by_name["field_test"]._options = None -_TIMESTAMPTEST.fields_by_name["title_test"]._options = None -_TIMESTAMPTEST.fields_by_name["type_test"]._options = None -_TIMESTAMPTEST.fields_by_name["extra_test"]._options = None -_MESSAGEIGNOREDTEST.fields_by_name["const_test"]._options = None -_MESSAGEIGNOREDTEST.fields_by_name["range_e_test"]._options = None -_MESSAGEIGNOREDTEST.fields_by_name["range_test"]._options = None -_MESSAGEIGNOREDTEST._options = None -_ONEOFTEST.oneofs_by_name["id"]._options = None -_NESTEDMESSAGE_USERPAYMESSAGE.fields_by_name["bank_number"]._options = None -_NESTEDMESSAGE_USERPAYMESSAGE.fields_by_name["exp"]._options = None -_NESTEDMESSAGE_USERPAYMESSAGE.fields_by_name["uuid"]._options = None -_NESTEDMESSAGE_NOTENABLEUSERPAYMESSAGE.fields_by_name["bank_number"]._options = None -_NESTEDMESSAGE_NOTENABLEUSERPAYMESSAGE.fields_by_name["exp"]._options = None -_NESTEDMESSAGE_NOTENABLEUSERPAYMESSAGE.fields_by_name["uuid"]._options = None -_NESTEDMESSAGE_STRINGINMAPTESTENTRY._options = None -_NESTEDMESSAGE_MAPINMAPTESTENTRY._options = None -_NESTEDMESSAGE.fields_by_name["not_enable_user_pay"]._options = None -_AFTERREFERMESSAGE.fields_by_name["uid"]._options = None -_AFTERREFERMESSAGE.fields_by_name["age"]._options = None -# @@protoc_insertion_point(module_scope) diff --git a/example/proto_3_20/example/example_proto/p2p_validate/demo_pb2.pyi b/example/proto_3_20/example/example_proto/p2p_validate/demo_pb2.pyi deleted file mode 100644 index 72f6a46..0000000 --- a/example/proto_3_20/example/example_proto/p2p_validate/demo_pb2.pyi +++ /dev/null @@ -1,2903 +0,0 @@ -""" -@generated by mypy-protobuf. Do not edit manually! -isort:skip_file -""" -import builtins -import collections.abc -import google.protobuf.any_pb2 -import google.protobuf.descriptor -import google.protobuf.duration_pb2 -import google.protobuf.empty_pb2 -import google.protobuf.internal.containers -import google.protobuf.internal.enum_type_wrapper -import google.protobuf.message -import google.protobuf.timestamp_pb2 -import sys -import typing - -if sys.version_info >= (3, 10): - import typing as typing_extensions -else: - import typing_extensions - -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor - -class _State: - ValueType = typing.NewType("ValueType", builtins.int) - V: typing_extensions.TypeAlias = ValueType - -class _StateEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_State.ValueType], builtins.type -): # noqa: F821 - DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - INACTIVE: _State.ValueType # 0 - PENDING: _State.ValueType # 1 - ACTIVE: _State.ValueType # 2 - -class State(_State, metaclass=_StateEnumTypeWrapper): ... - -INACTIVE: State.ValueType # 0 -PENDING: State.ValueType # 1 -ACTIVE: State.ValueType # 2 -global___State = State - -class FloatTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - DEFAULT_TEST_FIELD_NUMBER: builtins.int - NOT_ENABLE_TEST_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_TEST_FIELD_NUMBER: builtins.int - MISS_DEFAULT_TEST_FIELD_NUMBER: builtins.int - ALIAS_TEST_FIELD_NUMBER: builtins.int - DESC_TEST_FIELD_NUMBER: builtins.int - MULTIPLE_OF_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_TEST_FIELD_NUMBER: builtins.int - TYPE_TEST_FIELD_NUMBER: builtins.int - TITLE_TEST_FIELD_NUMBER: builtins.int - EXTRA_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.float - range_e_test: builtins.float - range_test: builtins.float - in_test: builtins.float - not_in_test: builtins.float - default_test: builtins.float - not_enable_test: builtins.float - default_factory_test: builtins.float - miss_default_test: builtins.float - alias_test: builtins.float - desc_test: builtins.float - multiple_of_test: builtins.float - example_test: builtins.float - example_factory: builtins.float - field_test: builtins.float - type_test: builtins.float - title_test: builtins.float - extra_test: builtins.float - def __init__( - self, - *, - const_test: builtins.float = ..., - range_e_test: builtins.float = ..., - range_test: builtins.float = ..., - in_test: builtins.float = ..., - not_in_test: builtins.float = ..., - default_test: builtins.float = ..., - not_enable_test: builtins.float = ..., - default_factory_test: builtins.float = ..., - miss_default_test: builtins.float = ..., - alias_test: builtins.float = ..., - desc_test: builtins.float = ..., - multiple_of_test: builtins.float = ..., - example_test: builtins.float = ..., - example_factory: builtins.float = ..., - field_test: builtins.float = ..., - type_test: builtins.float = ..., - title_test: builtins.float = ..., - extra_test: builtins.float = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "alias_test", - b"alias_test", - "const_test", - b"const_test", - "default_factory_test", - b"default_factory_test", - "default_test", - b"default_test", - "desc_test", - b"desc_test", - "example_factory", - b"example_factory", - "example_test", - b"example_test", - "extra_test", - b"extra_test", - "field_test", - b"field_test", - "in_test", - b"in_test", - "miss_default_test", - b"miss_default_test", - "multiple_of_test", - b"multiple_of_test", - "not_enable_test", - b"not_enable_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - "title_test", - b"title_test", - "type_test", - b"type_test", - ], - ) -> None: ... - -global___FloatTest = FloatTest - -class DoubleTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - DEFAULT_TEST_FIELD_NUMBER: builtins.int - NOT_ENABLE_TEST_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_TEST_FIELD_NUMBER: builtins.int - MISS_DEFAULT_TEST_FIELD_NUMBER: builtins.int - ALIAS_TEST_FIELD_NUMBER: builtins.int - DESC_TEST_FIELD_NUMBER: builtins.int - MULTIPLE_OF_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_TEST_FIELD_NUMBER: builtins.int - TYPE_TEST_FIELD_NUMBER: builtins.int - TITLE_TEST_FIELD_NUMBER: builtins.int - EXTRA_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.float - range_e_test: builtins.float - range_test: builtins.float - in_test: builtins.float - not_in_test: builtins.float - default_test: builtins.float - not_enable_test: builtins.float - default_factory_test: builtins.float - miss_default_test: builtins.float - alias_test: builtins.float - desc_test: builtins.float - multiple_of_test: builtins.float - example_test: builtins.float - example_factory: builtins.float - field_test: builtins.float - type_test: builtins.float - title_test: builtins.float - extra_test: builtins.float - def __init__( - self, - *, - const_test: builtins.float = ..., - range_e_test: builtins.float = ..., - range_test: builtins.float = ..., - in_test: builtins.float = ..., - not_in_test: builtins.float = ..., - default_test: builtins.float = ..., - not_enable_test: builtins.float = ..., - default_factory_test: builtins.float = ..., - miss_default_test: builtins.float = ..., - alias_test: builtins.float = ..., - desc_test: builtins.float = ..., - multiple_of_test: builtins.float = ..., - example_test: builtins.float = ..., - example_factory: builtins.float = ..., - field_test: builtins.float = ..., - type_test: builtins.float = ..., - title_test: builtins.float = ..., - extra_test: builtins.float = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "alias_test", - b"alias_test", - "const_test", - b"const_test", - "default_factory_test", - b"default_factory_test", - "default_test", - b"default_test", - "desc_test", - b"desc_test", - "example_factory", - b"example_factory", - "example_test", - b"example_test", - "extra_test", - b"extra_test", - "field_test", - b"field_test", - "in_test", - b"in_test", - "miss_default_test", - b"miss_default_test", - "multiple_of_test", - b"multiple_of_test", - "not_enable_test", - b"not_enable_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - "title_test", - b"title_test", - "type_test", - b"type_test", - ], - ) -> None: ... - -global___DoubleTest = DoubleTest - -class Int32Test(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - DEFAULT_TEST_FIELD_NUMBER: builtins.int - NOT_ENABLE_TEST_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_TEST_FIELD_NUMBER: builtins.int - MISS_DEFAULT_TEST_FIELD_NUMBER: builtins.int - ALIAS_TEST_FIELD_NUMBER: builtins.int - DESC_TEST_FIELD_NUMBER: builtins.int - MULTIPLE_OF_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_TEST_FIELD_NUMBER: builtins.int - TYPE_TEST_FIELD_NUMBER: builtins.int - TITLE_TEST_FIELD_NUMBER: builtins.int - EXTRA_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.int - range_e_test: builtins.int - range_test: builtins.int - in_test: builtins.int - not_in_test: builtins.int - default_test: builtins.int - not_enable_test: builtins.int - default_factory_test: builtins.int - miss_default_test: builtins.int - alias_test: builtins.int - desc_test: builtins.int - multiple_of_test: builtins.int - example_test: builtins.int - example_factory: builtins.int - field_test: builtins.int - type_test: builtins.int - title_test: builtins.int - extra_test: builtins.int - def __init__( - self, - *, - const_test: builtins.int = ..., - range_e_test: builtins.int = ..., - range_test: builtins.int = ..., - in_test: builtins.int = ..., - not_in_test: builtins.int = ..., - default_test: builtins.int = ..., - not_enable_test: builtins.int = ..., - default_factory_test: builtins.int = ..., - miss_default_test: builtins.int = ..., - alias_test: builtins.int = ..., - desc_test: builtins.int = ..., - multiple_of_test: builtins.int = ..., - example_test: builtins.int = ..., - example_factory: builtins.int = ..., - field_test: builtins.int = ..., - type_test: builtins.int = ..., - title_test: builtins.int = ..., - extra_test: builtins.int = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "alias_test", - b"alias_test", - "const_test", - b"const_test", - "default_factory_test", - b"default_factory_test", - "default_test", - b"default_test", - "desc_test", - b"desc_test", - "example_factory", - b"example_factory", - "example_test", - b"example_test", - "extra_test", - b"extra_test", - "field_test", - b"field_test", - "in_test", - b"in_test", - "miss_default_test", - b"miss_default_test", - "multiple_of_test", - b"multiple_of_test", - "not_enable_test", - b"not_enable_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - "title_test", - b"title_test", - "type_test", - b"type_test", - ], - ) -> None: ... - -global___Int32Test = Int32Test - -class Int64Test(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - DEFAULT_TEST_FIELD_NUMBER: builtins.int - NOT_ENABLE_TEST_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_TEST_FIELD_NUMBER: builtins.int - MISS_DEFAULT_TEST_FIELD_NUMBER: builtins.int - ALIAS_TEST_FIELD_NUMBER: builtins.int - DESC_TEST_FIELD_NUMBER: builtins.int - MULTIPLE_OF_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_TEST_FIELD_NUMBER: builtins.int - TYPE_TEST_FIELD_NUMBER: builtins.int - TITLE_TEST_FIELD_NUMBER: builtins.int - EXTRA_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.int - range_e_test: builtins.int - range_test: builtins.int - in_test: builtins.int - not_in_test: builtins.int - default_test: builtins.int - not_enable_test: builtins.int - default_factory_test: builtins.int - miss_default_test: builtins.int - alias_test: builtins.int - desc_test: builtins.int - multiple_of_test: builtins.int - example_test: builtins.int - example_factory: builtins.int - field_test: builtins.int - type_test: builtins.int - title_test: builtins.int - extra_test: builtins.int - def __init__( - self, - *, - const_test: builtins.int = ..., - range_e_test: builtins.int = ..., - range_test: builtins.int = ..., - in_test: builtins.int = ..., - not_in_test: builtins.int = ..., - default_test: builtins.int = ..., - not_enable_test: builtins.int = ..., - default_factory_test: builtins.int = ..., - miss_default_test: builtins.int = ..., - alias_test: builtins.int = ..., - desc_test: builtins.int = ..., - multiple_of_test: builtins.int = ..., - example_test: builtins.int = ..., - example_factory: builtins.int = ..., - field_test: builtins.int = ..., - type_test: builtins.int = ..., - title_test: builtins.int = ..., - extra_test: builtins.int = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "alias_test", - b"alias_test", - "const_test", - b"const_test", - "default_factory_test", - b"default_factory_test", - "default_test", - b"default_test", - "desc_test", - b"desc_test", - "example_factory", - b"example_factory", - "example_test", - b"example_test", - "extra_test", - b"extra_test", - "field_test", - b"field_test", - "in_test", - b"in_test", - "miss_default_test", - b"miss_default_test", - "multiple_of_test", - b"multiple_of_test", - "not_enable_test", - b"not_enable_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - "title_test", - b"title_test", - "type_test", - b"type_test", - ], - ) -> None: ... - -global___Int64Test = Int64Test - -class Uint32Test(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - DEFAULT_TEST_FIELD_NUMBER: builtins.int - NOT_ENABLE_TEST_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_TEST_FIELD_NUMBER: builtins.int - MISS_DEFAULT_TEST_FIELD_NUMBER: builtins.int - ALIAS_TEST_FIELD_NUMBER: builtins.int - DESC_TEST_FIELD_NUMBER: builtins.int - MULTIPLE_OF_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_TEST_FIELD_NUMBER: builtins.int - TYPE_TEST_FIELD_NUMBER: builtins.int - TITLE_TEST_FIELD_NUMBER: builtins.int - EXTRA_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.int - range_e_test: builtins.int - range_test: builtins.int - in_test: builtins.int - not_in_test: builtins.int - default_test: builtins.int - not_enable_test: builtins.int - default_factory_test: builtins.int - miss_default_test: builtins.int - alias_test: builtins.int - desc_test: builtins.int - multiple_of_test: builtins.int - example_test: builtins.int - example_factory: builtins.int - field_test: builtins.int - type_test: builtins.int - title_test: builtins.int - extra_test: builtins.int - def __init__( - self, - *, - const_test: builtins.int = ..., - range_e_test: builtins.int = ..., - range_test: builtins.int = ..., - in_test: builtins.int = ..., - not_in_test: builtins.int = ..., - default_test: builtins.int = ..., - not_enable_test: builtins.int = ..., - default_factory_test: builtins.int = ..., - miss_default_test: builtins.int = ..., - alias_test: builtins.int = ..., - desc_test: builtins.int = ..., - multiple_of_test: builtins.int = ..., - example_test: builtins.int = ..., - example_factory: builtins.int = ..., - field_test: builtins.int = ..., - type_test: builtins.int = ..., - title_test: builtins.int = ..., - extra_test: builtins.int = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "alias_test", - b"alias_test", - "const_test", - b"const_test", - "default_factory_test", - b"default_factory_test", - "default_test", - b"default_test", - "desc_test", - b"desc_test", - "example_factory", - b"example_factory", - "example_test", - b"example_test", - "extra_test", - b"extra_test", - "field_test", - b"field_test", - "in_test", - b"in_test", - "miss_default_test", - b"miss_default_test", - "multiple_of_test", - b"multiple_of_test", - "not_enable_test", - b"not_enable_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - "title_test", - b"title_test", - "type_test", - b"type_test", - ], - ) -> None: ... - -global___Uint32Test = Uint32Test - -class Sint32Test(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - DEFAULT_TEST_FIELD_NUMBER: builtins.int - NOT_ENABLE_TEST_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_TEST_FIELD_NUMBER: builtins.int - MISS_DEFAULT_TEST_FIELD_NUMBER: builtins.int - ALIAS_TEST_FIELD_NUMBER: builtins.int - DESC_TEST_FIELD_NUMBER: builtins.int - MULTIPLE_OF_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_TEST_FIELD_NUMBER: builtins.int - TYPE_TEST_FIELD_NUMBER: builtins.int - TITLE_TEST_FIELD_NUMBER: builtins.int - EXTRA_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.int - range_e_test: builtins.int - range_test: builtins.int - in_test: builtins.int - not_in_test: builtins.int - default_test: builtins.int - not_enable_test: builtins.int - default_factory_test: builtins.int - miss_default_test: builtins.int - alias_test: builtins.int - desc_test: builtins.int - multiple_of_test: builtins.int - example_test: builtins.int - example_factory: builtins.int - field_test: builtins.int - type_test: builtins.int - title_test: builtins.int - extra_test: builtins.int - def __init__( - self, - *, - const_test: builtins.int = ..., - range_e_test: builtins.int = ..., - range_test: builtins.int = ..., - in_test: builtins.int = ..., - not_in_test: builtins.int = ..., - default_test: builtins.int = ..., - not_enable_test: builtins.int = ..., - default_factory_test: builtins.int = ..., - miss_default_test: builtins.int = ..., - alias_test: builtins.int = ..., - desc_test: builtins.int = ..., - multiple_of_test: builtins.int = ..., - example_test: builtins.int = ..., - example_factory: builtins.int = ..., - field_test: builtins.int = ..., - type_test: builtins.int = ..., - title_test: builtins.int = ..., - extra_test: builtins.int = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "alias_test", - b"alias_test", - "const_test", - b"const_test", - "default_factory_test", - b"default_factory_test", - "default_test", - b"default_test", - "desc_test", - b"desc_test", - "example_factory", - b"example_factory", - "example_test", - b"example_test", - "extra_test", - b"extra_test", - "field_test", - b"field_test", - "in_test", - b"in_test", - "miss_default_test", - b"miss_default_test", - "multiple_of_test", - b"multiple_of_test", - "not_enable_test", - b"not_enable_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - "title_test", - b"title_test", - "type_test", - b"type_test", - ], - ) -> None: ... - -global___Sint32Test = Sint32Test - -class Uint64Test(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - DEFAULT_TEST_FIELD_NUMBER: builtins.int - NOT_ENABLE_TEST_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_TEST_FIELD_NUMBER: builtins.int - MISS_DEFAULT_TEST_FIELD_NUMBER: builtins.int - ALIAS_TEST_FIELD_NUMBER: builtins.int - DESC_TEST_FIELD_NUMBER: builtins.int - MULTIPLE_OF_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_TEST_FIELD_NUMBER: builtins.int - TYPE_TEST_FIELD_NUMBER: builtins.int - TITLE_TEST_FIELD_NUMBER: builtins.int - EXTRA_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.int - range_e_test: builtins.int - range_test: builtins.int - in_test: builtins.int - not_in_test: builtins.int - default_test: builtins.int - not_enable_test: builtins.int - default_factory_test: builtins.int - miss_default_test: builtins.int - alias_test: builtins.int - desc_test: builtins.int - multiple_of_test: builtins.int - example_test: builtins.int - example_factory: builtins.int - field_test: builtins.int - type_test: builtins.int - title_test: builtins.int - extra_test: builtins.int - def __init__( - self, - *, - const_test: builtins.int = ..., - range_e_test: builtins.int = ..., - range_test: builtins.int = ..., - in_test: builtins.int = ..., - not_in_test: builtins.int = ..., - default_test: builtins.int = ..., - not_enable_test: builtins.int = ..., - default_factory_test: builtins.int = ..., - miss_default_test: builtins.int = ..., - alias_test: builtins.int = ..., - desc_test: builtins.int = ..., - multiple_of_test: builtins.int = ..., - example_test: builtins.int = ..., - example_factory: builtins.int = ..., - field_test: builtins.int = ..., - type_test: builtins.int = ..., - title_test: builtins.int = ..., - extra_test: builtins.int = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "alias_test", - b"alias_test", - "const_test", - b"const_test", - "default_factory_test", - b"default_factory_test", - "default_test", - b"default_test", - "desc_test", - b"desc_test", - "example_factory", - b"example_factory", - "example_test", - b"example_test", - "extra_test", - b"extra_test", - "field_test", - b"field_test", - "in_test", - b"in_test", - "miss_default_test", - b"miss_default_test", - "multiple_of_test", - b"multiple_of_test", - "not_enable_test", - b"not_enable_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - "title_test", - b"title_test", - "type_test", - b"type_test", - ], - ) -> None: ... - -global___Uint64Test = Uint64Test - -class Sint64Test(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - DEFAULT_TEST_FIELD_NUMBER: builtins.int - NOT_ENABLE_TEST_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_TEST_FIELD_NUMBER: builtins.int - MISS_DEFAULT_TEST_FIELD_NUMBER: builtins.int - ALIAS_TEST_FIELD_NUMBER: builtins.int - DESC_TEST_FIELD_NUMBER: builtins.int - MULTIPLE_OF_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_TEST_FIELD_NUMBER: builtins.int - TYPE_TEST_FIELD_NUMBER: builtins.int - TITLE_TEST_FIELD_NUMBER: builtins.int - EXTRA_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.int - range_e_test: builtins.int - range_test: builtins.int - in_test: builtins.int - not_in_test: builtins.int - default_test: builtins.int - not_enable_test: builtins.int - default_factory_test: builtins.int - miss_default_test: builtins.int - alias_test: builtins.int - desc_test: builtins.int - multiple_of_test: builtins.int - example_test: builtins.int - example_factory: builtins.int - field_test: builtins.int - type_test: builtins.int - title_test: builtins.int - extra_test: builtins.int - def __init__( - self, - *, - const_test: builtins.int = ..., - range_e_test: builtins.int = ..., - range_test: builtins.int = ..., - in_test: builtins.int = ..., - not_in_test: builtins.int = ..., - default_test: builtins.int = ..., - not_enable_test: builtins.int = ..., - default_factory_test: builtins.int = ..., - miss_default_test: builtins.int = ..., - alias_test: builtins.int = ..., - desc_test: builtins.int = ..., - multiple_of_test: builtins.int = ..., - example_test: builtins.int = ..., - example_factory: builtins.int = ..., - field_test: builtins.int = ..., - type_test: builtins.int = ..., - title_test: builtins.int = ..., - extra_test: builtins.int = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "alias_test", - b"alias_test", - "const_test", - b"const_test", - "default_factory_test", - b"default_factory_test", - "default_test", - b"default_test", - "desc_test", - b"desc_test", - "example_factory", - b"example_factory", - "example_test", - b"example_test", - "extra_test", - b"extra_test", - "field_test", - b"field_test", - "in_test", - b"in_test", - "miss_default_test", - b"miss_default_test", - "multiple_of_test", - b"multiple_of_test", - "not_enable_test", - b"not_enable_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - "title_test", - b"title_test", - "type_test", - b"type_test", - ], - ) -> None: ... - -global___Sint64Test = Sint64Test - -class Fixed32Test(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - DEFAULT_TEST_FIELD_NUMBER: builtins.int - NOT_ENABLE_TEST_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_TEST_FIELD_NUMBER: builtins.int - MISS_DEFAULT_TEST_FIELD_NUMBER: builtins.int - ALIAS_TEST_FIELD_NUMBER: builtins.int - DESC_TEST_FIELD_NUMBER: builtins.int - MULTIPLE_OF_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_TEST_FIELD_NUMBER: builtins.int - TYPE_TEST_FIELD_NUMBER: builtins.int - TITLE_TEST_FIELD_NUMBER: builtins.int - EXTRA_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.int - range_e_test: builtins.int - range_test: builtins.int - in_test: builtins.int - not_in_test: builtins.int - default_test: builtins.int - not_enable_test: builtins.int - default_factory_test: builtins.int - miss_default_test: builtins.int - alias_test: builtins.int - desc_test: builtins.int - multiple_of_test: builtins.int - example_test: builtins.int - example_factory: builtins.int - field_test: builtins.int - type_test: builtins.int - title_test: builtins.int - extra_test: builtins.int - def __init__( - self, - *, - const_test: builtins.int = ..., - range_e_test: builtins.int = ..., - range_test: builtins.int = ..., - in_test: builtins.int = ..., - not_in_test: builtins.int = ..., - default_test: builtins.int = ..., - not_enable_test: builtins.int = ..., - default_factory_test: builtins.int = ..., - miss_default_test: builtins.int = ..., - alias_test: builtins.int = ..., - desc_test: builtins.int = ..., - multiple_of_test: builtins.int = ..., - example_test: builtins.int = ..., - example_factory: builtins.int = ..., - field_test: builtins.int = ..., - type_test: builtins.int = ..., - title_test: builtins.int = ..., - extra_test: builtins.int = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "alias_test", - b"alias_test", - "const_test", - b"const_test", - "default_factory_test", - b"default_factory_test", - "default_test", - b"default_test", - "desc_test", - b"desc_test", - "example_factory", - b"example_factory", - "example_test", - b"example_test", - "extra_test", - b"extra_test", - "field_test", - b"field_test", - "in_test", - b"in_test", - "miss_default_test", - b"miss_default_test", - "multiple_of_test", - b"multiple_of_test", - "not_enable_test", - b"not_enable_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - "title_test", - b"title_test", - "type_test", - b"type_test", - ], - ) -> None: ... - -global___Fixed32Test = Fixed32Test - -class Fixed64Test(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - DEFAULT_TEST_FIELD_NUMBER: builtins.int - NOT_ENABLE_TEST_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_TEST_FIELD_NUMBER: builtins.int - MISS_DEFAULT_TEST_FIELD_NUMBER: builtins.int - ALIAS_TEST_FIELD_NUMBER: builtins.int - DESC_TEST_FIELD_NUMBER: builtins.int - MULTIPLE_OF_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_TEST_FIELD_NUMBER: builtins.int - TYPE_TEST_FIELD_NUMBER: builtins.int - TITLE_TEST_FIELD_NUMBER: builtins.int - EXTRA_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.int - range_e_test: builtins.int - range_test: builtins.int - in_test: builtins.int - not_in_test: builtins.int - default_test: builtins.int - not_enable_test: builtins.int - default_factory_test: builtins.int - miss_default_test: builtins.int - alias_test: builtins.int - desc_test: builtins.int - multiple_of_test: builtins.int - example_test: builtins.int - example_factory: builtins.int - field_test: builtins.int - type_test: builtins.int - title_test: builtins.int - extra_test: builtins.int - def __init__( - self, - *, - const_test: builtins.int = ..., - range_e_test: builtins.int = ..., - range_test: builtins.int = ..., - in_test: builtins.int = ..., - not_in_test: builtins.int = ..., - default_test: builtins.int = ..., - not_enable_test: builtins.int = ..., - default_factory_test: builtins.int = ..., - miss_default_test: builtins.int = ..., - alias_test: builtins.int = ..., - desc_test: builtins.int = ..., - multiple_of_test: builtins.int = ..., - example_test: builtins.int = ..., - example_factory: builtins.int = ..., - field_test: builtins.int = ..., - type_test: builtins.int = ..., - title_test: builtins.int = ..., - extra_test: builtins.int = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "alias_test", - b"alias_test", - "const_test", - b"const_test", - "default_factory_test", - b"default_factory_test", - "default_test", - b"default_test", - "desc_test", - b"desc_test", - "example_factory", - b"example_factory", - "example_test", - b"example_test", - "extra_test", - b"extra_test", - "field_test", - b"field_test", - "in_test", - b"in_test", - "miss_default_test", - b"miss_default_test", - "multiple_of_test", - b"multiple_of_test", - "not_enable_test", - b"not_enable_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - "title_test", - b"title_test", - "type_test", - b"type_test", - ], - ) -> None: ... - -global___Fixed64Test = Fixed64Test - -class Sfixed32Test(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - DEFAULT_TEST_FIELD_NUMBER: builtins.int - NOT_ENABLE_TEST_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_TEST_FIELD_NUMBER: builtins.int - MISS_DEFAULT_TEST_FIELD_NUMBER: builtins.int - ALIAS_TEST_FIELD_NUMBER: builtins.int - DESC_TEST_FIELD_NUMBER: builtins.int - MULTIPLE_OF_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_TEST_FIELD_NUMBER: builtins.int - TYPE_TEST_FIELD_NUMBER: builtins.int - TITLE_TEST_FIELD_NUMBER: builtins.int - EXTRA_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.int - range_e_test: builtins.int - range_test: builtins.int - in_test: builtins.int - not_in_test: builtins.int - default_test: builtins.int - not_enable_test: builtins.int - default_factory_test: builtins.int - miss_default_test: builtins.int - alias_test: builtins.int - desc_test: builtins.int - multiple_of_test: builtins.int - example_test: builtins.int - example_factory: builtins.int - field_test: builtins.int - type_test: builtins.int - title_test: builtins.int - extra_test: builtins.int - def __init__( - self, - *, - const_test: builtins.int = ..., - range_e_test: builtins.int = ..., - range_test: builtins.int = ..., - in_test: builtins.int = ..., - not_in_test: builtins.int = ..., - default_test: builtins.int = ..., - not_enable_test: builtins.int = ..., - default_factory_test: builtins.int = ..., - miss_default_test: builtins.int = ..., - alias_test: builtins.int = ..., - desc_test: builtins.int = ..., - multiple_of_test: builtins.int = ..., - example_test: builtins.int = ..., - example_factory: builtins.int = ..., - field_test: builtins.int = ..., - type_test: builtins.int = ..., - title_test: builtins.int = ..., - extra_test: builtins.int = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "alias_test", - b"alias_test", - "const_test", - b"const_test", - "default_factory_test", - b"default_factory_test", - "default_test", - b"default_test", - "desc_test", - b"desc_test", - "example_factory", - b"example_factory", - "example_test", - b"example_test", - "extra_test", - b"extra_test", - "field_test", - b"field_test", - "in_test", - b"in_test", - "miss_default_test", - b"miss_default_test", - "multiple_of_test", - b"multiple_of_test", - "not_enable_test", - b"not_enable_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - "title_test", - b"title_test", - "type_test", - b"type_test", - ], - ) -> None: ... - -global___Sfixed32Test = Sfixed32Test - -class Sfixed64Test(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - DEFAULT_TEST_FIELD_NUMBER: builtins.int - NOT_ENABLE_TEST_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_TEST_FIELD_NUMBER: builtins.int - MISS_DEFAULT_TEST_FIELD_NUMBER: builtins.int - ALIAS_TEST_FIELD_NUMBER: builtins.int - DESC_TEST_FIELD_NUMBER: builtins.int - MULTIPLE_OF_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_FIELD_NUMBER: builtins.int - FIELD_TEST_FIELD_NUMBER: builtins.int - TYPE_TEST_FIELD_NUMBER: builtins.int - TITLE_TEST_FIELD_NUMBER: builtins.int - EXTRA_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.int - range_e_test: builtins.int - range_test: builtins.int - in_test: builtins.int - not_in_test: builtins.int - default_test: builtins.int - not_enable_test: builtins.int - default_factory_test: builtins.int - miss_default_test: builtins.int - alias_test: builtins.int - desc_test: builtins.int - multiple_of_test: builtins.int - example_test: builtins.int - example_factory: builtins.int - field_test: builtins.int - type_test: builtins.int - title_test: builtins.int - extra_test: builtins.int - def __init__( - self, - *, - const_test: builtins.int = ..., - range_e_test: builtins.int = ..., - range_test: builtins.int = ..., - in_test: builtins.int = ..., - not_in_test: builtins.int = ..., - default_test: builtins.int = ..., - not_enable_test: builtins.int = ..., - default_factory_test: builtins.int = ..., - miss_default_test: builtins.int = ..., - alias_test: builtins.int = ..., - desc_test: builtins.int = ..., - multiple_of_test: builtins.int = ..., - example_test: builtins.int = ..., - example_factory: builtins.int = ..., - field_test: builtins.int = ..., - type_test: builtins.int = ..., - title_test: builtins.int = ..., - extra_test: builtins.int = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "alias_test", - b"alias_test", - "const_test", - b"const_test", - "default_factory_test", - b"default_factory_test", - "default_test", - b"default_test", - "desc_test", - b"desc_test", - "example_factory", - b"example_factory", - "example_test", - b"example_test", - "extra_test", - b"extra_test", - "field_test", - b"field_test", - "in_test", - b"in_test", - "miss_default_test", - b"miss_default_test", - "multiple_of_test", - b"multiple_of_test", - "not_enable_test", - b"not_enable_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - "title_test", - b"title_test", - "type_test", - b"type_test", - ], - ) -> None: ... - -global___Sfixed64Test = Sfixed64Test - -class BoolTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - BOOL_1_TEST_FIELD_NUMBER: builtins.int - BOOL_2_TEST_FIELD_NUMBER: builtins.int - ENABLE_TEST_FIELD_NUMBER: builtins.int - DEFAULT_TEST_FIELD_NUMBER: builtins.int - MISS_DEFAULT_TEST_FIELD_NUMBER: builtins.int - ALIAS_TEST_FIELD_NUMBER: builtins.int - DESC_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_TEST_FIELD_NUMBER: builtins.int - FIELD_TEST_FIELD_NUMBER: builtins.int - TITLE_TEST_FIELD_NUMBER: builtins.int - EXTRA_TEST_FIELD_NUMBER: builtins.int - bool_1_test: builtins.bool - bool_2_test: builtins.bool - enable_test: builtins.bool - default_test: builtins.bool - miss_default_test: builtins.bool - alias_test: builtins.bool - desc_test: builtins.bool - example_test: builtins.bool - field_test: builtins.bool - title_test: builtins.bool - extra_test: builtins.bool - def __init__( - self, - *, - bool_1_test: builtins.bool = ..., - bool_2_test: builtins.bool = ..., - enable_test: builtins.bool = ..., - default_test: builtins.bool = ..., - miss_default_test: builtins.bool = ..., - alias_test: builtins.bool = ..., - desc_test: builtins.bool = ..., - example_test: builtins.bool = ..., - field_test: builtins.bool = ..., - title_test: builtins.bool = ..., - extra_test: builtins.bool = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "alias_test", - b"alias_test", - "bool_1_test", - b"bool_1_test", - "bool_2_test", - b"bool_2_test", - "default_test", - b"default_test", - "desc_test", - b"desc_test", - "enable_test", - b"enable_test", - "example_test", - b"example_test", - "extra_test", - b"extra_test", - "field_test", - b"field_test", - "miss_default_test", - b"miss_default_test", - "title_test", - b"title_test", - ], - ) -> None: ... - -global___BoolTest = BoolTest - -class StringTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - LEN_TEST_FIELD_NUMBER: builtins.int - S_RANGE_LEN_TEST_FIELD_NUMBER: builtins.int - PATTERN_TEST_FIELD_NUMBER: builtins.int - PREFIX_TEST_FIELD_NUMBER: builtins.int - SUFFIX_TEST_FIELD_NUMBER: builtins.int - CONTAINS_TEST_FIELD_NUMBER: builtins.int - NOT_CONTAINS_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - EMAIL_TEST_FIELD_NUMBER: builtins.int - HOSTNAME_TEST_FIELD_NUMBER: builtins.int - IP_TEST_FIELD_NUMBER: builtins.int - IPV4_TEST_FIELD_NUMBER: builtins.int - IPV6_TEST_FIELD_NUMBER: builtins.int - URI_TEST_FIELD_NUMBER: builtins.int - URI_REF_TEST_FIELD_NUMBER: builtins.int - ADDRESS_TEST_FIELD_NUMBER: builtins.int - UUID_TEST_FIELD_NUMBER: builtins.int - PYDANTIC_TYPE_TEST_FIELD_NUMBER: builtins.int - ENABLE_TEST_FIELD_NUMBER: builtins.int - DEFAULT_TEST_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_TEST_FIELD_NUMBER: builtins.int - MISS_DEFAULT_TEST_FIELD_NUMBER: builtins.int - ALIAS_TEST_FIELD_NUMBER: builtins.int - DESC_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_TEST_FIELD_NUMBER: builtins.int - FIELD_TEST_FIELD_NUMBER: builtins.int - TITLE_TEST_FIELD_NUMBER: builtins.int - TYPE_TEST_FIELD_NUMBER: builtins.int - EXTRA_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.str - len_test: builtins.str - s_range_len_test: builtins.str - pattern_test: builtins.str - prefix_test: builtins.str - suffix_test: builtins.str - contains_test: builtins.str - not_contains_test: builtins.str - in_test: builtins.str - not_in_test: builtins.str - email_test: builtins.str - hostname_test: builtins.str - ip_test: builtins.str - ipv4_test: builtins.str - ipv6_test: builtins.str - uri_test: builtins.str - uri_ref_test: builtins.str - address_test: builtins.str - uuid_test: builtins.str - pydantic_type_test: builtins.str - enable_test: builtins.str - default_test: builtins.str - default_factory_test: builtins.str - miss_default_test: builtins.str - alias_test: builtins.str - desc_test: builtins.str - example_test: builtins.str - example_factory_test: builtins.str - field_test: builtins.str - title_test: builtins.str - type_test: builtins.str - extra_test: builtins.str - def __init__( - self, - *, - const_test: builtins.str = ..., - len_test: builtins.str = ..., - s_range_len_test: builtins.str = ..., - pattern_test: builtins.str = ..., - prefix_test: builtins.str = ..., - suffix_test: builtins.str = ..., - contains_test: builtins.str = ..., - not_contains_test: builtins.str = ..., - in_test: builtins.str = ..., - not_in_test: builtins.str = ..., - email_test: builtins.str = ..., - hostname_test: builtins.str = ..., - ip_test: builtins.str = ..., - ipv4_test: builtins.str = ..., - ipv6_test: builtins.str = ..., - uri_test: builtins.str = ..., - uri_ref_test: builtins.str = ..., - address_test: builtins.str = ..., - uuid_test: builtins.str = ..., - pydantic_type_test: builtins.str = ..., - enable_test: builtins.str = ..., - default_test: builtins.str = ..., - default_factory_test: builtins.str = ..., - miss_default_test: builtins.str = ..., - alias_test: builtins.str = ..., - desc_test: builtins.str = ..., - example_test: builtins.str = ..., - example_factory_test: builtins.str = ..., - field_test: builtins.str = ..., - title_test: builtins.str = ..., - type_test: builtins.str = ..., - extra_test: builtins.str = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "address_test", - b"address_test", - "alias_test", - b"alias_test", - "const_test", - b"const_test", - "contains_test", - b"contains_test", - "default_factory_test", - b"default_factory_test", - "default_test", - b"default_test", - "desc_test", - b"desc_test", - "email_test", - b"email_test", - "enable_test", - b"enable_test", - "example_factory_test", - b"example_factory_test", - "example_test", - b"example_test", - "extra_test", - b"extra_test", - "field_test", - b"field_test", - "hostname_test", - b"hostname_test", - "in_test", - b"in_test", - "ip_test", - b"ip_test", - "ipv4_test", - b"ipv4_test", - "ipv6_test", - b"ipv6_test", - "len_test", - b"len_test", - "miss_default_test", - b"miss_default_test", - "not_contains_test", - b"not_contains_test", - "not_in_test", - b"not_in_test", - "pattern_test", - b"pattern_test", - "prefix_test", - b"prefix_test", - "pydantic_type_test", - b"pydantic_type_test", - "s_range_len_test", - b"s_range_len_test", - "suffix_test", - b"suffix_test", - "title_test", - b"title_test", - "type_test", - b"type_test", - "uri_ref_test", - b"uri_ref_test", - "uri_test", - b"uri_test", - "uuid_test", - b"uuid_test", - ], - ) -> None: ... - -global___StringTest = StringTest - -class BytesTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_LEN_TEST_FIELD_NUMBER: builtins.int - PREFIX_TEST_FIELD_NUMBER: builtins.int - SUFFIX_TEST_FIELD_NUMBER: builtins.int - CONTAINS_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - ENABLE_TEST_FIELD_NUMBER: builtins.int - DEFAULT_TEST_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_TEST_FIELD_NUMBER: builtins.int - MISS_DEFAULT_TEST_FIELD_NUMBER: builtins.int - ALIAS_TEST_FIELD_NUMBER: builtins.int - DESC_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_TEST_FIELD_NUMBER: builtins.int - FIELD_TEST_FIELD_NUMBER: builtins.int - TITLE_TEST_FIELD_NUMBER: builtins.int - TYPE_TEST_FIELD_NUMBER: builtins.int - EXTRA_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.bytes - range_len_test: builtins.bytes - prefix_test: builtins.bytes - suffix_test: builtins.bytes - contains_test: builtins.bytes - in_test: builtins.bytes - not_in_test: builtins.bytes - enable_test: builtins.bytes - default_test: builtins.bytes - default_factory_test: builtins.bytes - miss_default_test: builtins.bytes - alias_test: builtins.bytes - desc_test: builtins.bytes - example_test: builtins.bytes - example_factory_test: builtins.bytes - field_test: builtins.bytes - title_test: builtins.bytes - type_test: builtins.bytes - extra_test: builtins.bytes - def __init__( - self, - *, - const_test: builtins.bytes = ..., - range_len_test: builtins.bytes = ..., - prefix_test: builtins.bytes = ..., - suffix_test: builtins.bytes = ..., - contains_test: builtins.bytes = ..., - in_test: builtins.bytes = ..., - not_in_test: builtins.bytes = ..., - enable_test: builtins.bytes = ..., - default_test: builtins.bytes = ..., - default_factory_test: builtins.bytes = ..., - miss_default_test: builtins.bytes = ..., - alias_test: builtins.bytes = ..., - desc_test: builtins.bytes = ..., - example_test: builtins.bytes = ..., - example_factory_test: builtins.bytes = ..., - field_test: builtins.bytes = ..., - title_test: builtins.bytes = ..., - type_test: builtins.bytes = ..., - extra_test: builtins.bytes = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "alias_test", - b"alias_test", - "const_test", - b"const_test", - "contains_test", - b"contains_test", - "default_factory_test", - b"default_factory_test", - "default_test", - b"default_test", - "desc_test", - b"desc_test", - "enable_test", - b"enable_test", - "example_factory_test", - b"example_factory_test", - "example_test", - b"example_test", - "extra_test", - b"extra_test", - "field_test", - b"field_test", - "in_test", - b"in_test", - "miss_default_test", - b"miss_default_test", - "not_in_test", - b"not_in_test", - "prefix_test", - b"prefix_test", - "range_len_test", - b"range_len_test", - "suffix_test", - b"suffix_test", - "title_test", - b"title_test", - "type_test", - b"type_test", - ], - ) -> None: ... - -global___BytesTest = BytesTest - -class EnumTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - ENABLE_TEST_FIELD_NUMBER: builtins.int - DEFAULT_TEST_FIELD_NUMBER: builtins.int - MISS_DEFAULT_TEST_FIELD_NUMBER: builtins.int - ALIAS_TEST_FIELD_NUMBER: builtins.int - DESC_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_TEST_FIELD_NUMBER: builtins.int - FIELD_TEST_FIELD_NUMBER: builtins.int - TITLE_TEST_FIELD_NUMBER: builtins.int - EXTRA_TEST_FIELD_NUMBER: builtins.int - const_test: global___State.ValueType - in_test: global___State.ValueType - not_in_test: global___State.ValueType - enable_test: global___State.ValueType - default_test: global___State.ValueType - miss_default_test: global___State.ValueType - alias_test: global___State.ValueType - desc_test: global___State.ValueType - example_test: global___State.ValueType - field_test: global___State.ValueType - title_test: global___State.ValueType - extra_test: global___State.ValueType - def __init__( - self, - *, - const_test: global___State.ValueType = ..., - in_test: global___State.ValueType = ..., - not_in_test: global___State.ValueType = ..., - enable_test: global___State.ValueType = ..., - default_test: global___State.ValueType = ..., - miss_default_test: global___State.ValueType = ..., - alias_test: global___State.ValueType = ..., - desc_test: global___State.ValueType = ..., - example_test: global___State.ValueType = ..., - field_test: global___State.ValueType = ..., - title_test: global___State.ValueType = ..., - extra_test: global___State.ValueType = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "alias_test", - b"alias_test", - "const_test", - b"const_test", - "default_test", - b"default_test", - "desc_test", - b"desc_test", - "enable_test", - b"enable_test", - "example_test", - b"example_test", - "extra_test", - b"extra_test", - "field_test", - b"field_test", - "in_test", - b"in_test", - "miss_default_test", - b"miss_default_test", - "not_in_test", - b"not_in_test", - "title_test", - b"title_test", - ], - ) -> None: ... - -global___EnumTest = EnumTest - -class MapTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - class PairTestEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.int - def __init__( - self, - *, - key: builtins.str = ..., - value: builtins.int = ..., - ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - class KeysTestEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.int - def __init__( - self, - *, - key: builtins.str = ..., - value: builtins.int = ..., - ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - class ValuesTestEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.int - def __init__( - self, - *, - key: builtins.str = ..., - value: builtins.int = ..., - ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - class KeysValuesTestEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - @property - def value(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - def __init__( - self, - *, - key: builtins.str = ..., - value: google.protobuf.timestamp_pb2.Timestamp | None = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - class EnableTestEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.int - def __init__( - self, - *, - key: builtins.str = ..., - value: builtins.int = ..., - ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - class DefaultFactoryTestEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.int - def __init__( - self, - *, - key: builtins.str = ..., - value: builtins.int = ..., - ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - class MissDefaultTestEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.int - def __init__( - self, - *, - key: builtins.str = ..., - value: builtins.int = ..., - ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - class AliasTestEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.int - def __init__( - self, - *, - key: builtins.str = ..., - value: builtins.int = ..., - ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - class DescTestEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.int - def __init__( - self, - *, - key: builtins.str = ..., - value: builtins.int = ..., - ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - class ExampleFactoryTestEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.int - def __init__( - self, - *, - key: builtins.str = ..., - value: builtins.int = ..., - ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - class FieldTestEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.int - def __init__( - self, - *, - key: builtins.str = ..., - value: builtins.int = ..., - ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - class TitleTestEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.int - def __init__( - self, - *, - key: builtins.str = ..., - value: builtins.int = ..., - ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - class TypeTestEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.int - def __init__( - self, - *, - key: builtins.str = ..., - value: builtins.int = ..., - ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - class ExtraTestEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.int - def __init__( - self, - *, - key: builtins.str = ..., - value: builtins.int = ..., - ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - PAIR_TEST_FIELD_NUMBER: builtins.int - KEYS_TEST_FIELD_NUMBER: builtins.int - VALUES_TEST_FIELD_NUMBER: builtins.int - KEYS_VALUES_TEST_FIELD_NUMBER: builtins.int - ENABLE_TEST_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_TEST_FIELD_NUMBER: builtins.int - MISS_DEFAULT_TEST_FIELD_NUMBER: builtins.int - ALIAS_TEST_FIELD_NUMBER: builtins.int - DESC_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_TEST_FIELD_NUMBER: builtins.int - FIELD_TEST_FIELD_NUMBER: builtins.int - TITLE_TEST_FIELD_NUMBER: builtins.int - TYPE_TEST_FIELD_NUMBER: builtins.int - EXTRA_TEST_FIELD_NUMBER: builtins.int - @property - def pair_test(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.int]: ... - @property - def keys_test(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.int]: ... - @property - def values_test(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.int]: ... - @property - def keys_values_test( - self, - ) -> google.protobuf.internal.containers.MessageMap[builtins.str, google.protobuf.timestamp_pb2.Timestamp]: ... - @property - def enable_test(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.int]: ... - @property - def default_factory_test(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.int]: ... - @property - def miss_default_test(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.int]: ... - @property - def alias_test(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.int]: ... - @property - def desc_test(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.int]: ... - @property - def example_factory_test(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.int]: ... - @property - def field_test(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.int]: ... - @property - def title_test(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.int]: ... - @property - def type_test(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.int]: ... - @property - def extra_test(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.int]: ... - def __init__( - self, - *, - pair_test: collections.abc.Mapping[builtins.str, builtins.int] | None = ..., - keys_test: collections.abc.Mapping[builtins.str, builtins.int] | None = ..., - values_test: collections.abc.Mapping[builtins.str, builtins.int] | None = ..., - keys_values_test: collections.abc.Mapping[builtins.str, google.protobuf.timestamp_pb2.Timestamp] | None = ..., - enable_test: collections.abc.Mapping[builtins.str, builtins.int] | None = ..., - default_factory_test: collections.abc.Mapping[builtins.str, builtins.int] | None = ..., - miss_default_test: collections.abc.Mapping[builtins.str, builtins.int] | None = ..., - alias_test: collections.abc.Mapping[builtins.str, builtins.int] | None = ..., - desc_test: collections.abc.Mapping[builtins.str, builtins.int] | None = ..., - example_factory_test: collections.abc.Mapping[builtins.str, builtins.int] | None = ..., - field_test: collections.abc.Mapping[builtins.str, builtins.int] | None = ..., - title_test: collections.abc.Mapping[builtins.str, builtins.int] | None = ..., - type_test: collections.abc.Mapping[builtins.str, builtins.int] | None = ..., - extra_test: collections.abc.Mapping[builtins.str, builtins.int] | None = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "alias_test", - b"alias_test", - "default_factory_test", - b"default_factory_test", - "desc_test", - b"desc_test", - "enable_test", - b"enable_test", - "example_factory_test", - b"example_factory_test", - "extra_test", - b"extra_test", - "field_test", - b"field_test", - "keys_test", - b"keys_test", - "keys_values_test", - b"keys_values_test", - "miss_default_test", - b"miss_default_test", - "pair_test", - b"pair_test", - "title_test", - b"title_test", - "type_test", - b"type_test", - "values_test", - b"values_test", - ], - ) -> None: ... - -global___MapTest = MapTest - -class MessageTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - SKIP_TEST_FIELD_NUMBER: builtins.int - REQUIRED_TEST_FIELD_NUMBER: builtins.int - EXTRA_TEST_FIELD_NUMBER: builtins.int - skip_test: builtins.str - required_test: builtins.str - extra_test: builtins.str - def __init__( - self, - *, - skip_test: builtins.str = ..., - required_test: builtins.str = ..., - extra_test: builtins.str = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "extra_test", b"extra_test", "required_test", b"required_test", "skip_test", b"skip_test" - ], - ) -> None: ... - -global___MessageTest = MessageTest - -class RepeatedTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - RANGE_TEST_FIELD_NUMBER: builtins.int - UNIQUE_TEST_FIELD_NUMBER: builtins.int - ITEMS_STRING_TEST_FIELD_NUMBER: builtins.int - ITEMS_DOUBLE_TEST_FIELD_NUMBER: builtins.int - ITEMS_INT32_TEST_FIELD_NUMBER: builtins.int - ITEMS_TIMESTAMP_TEST_FIELD_NUMBER: builtins.int - ITEMS_DURATION_TEST_FIELD_NUMBER: builtins.int - ITEMS_BYTES_TEST_FIELD_NUMBER: builtins.int - ENABLE_TEST_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_TEST_FIELD_NUMBER: builtins.int - MISS_DEFAULT_TEST_FIELD_NUMBER: builtins.int - ALIAS_TEST_FIELD_NUMBER: builtins.int - DESC_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_TEST_FIELD_NUMBER: builtins.int - FIELD_TEST_FIELD_NUMBER: builtins.int - TITLE_TEST_FIELD_NUMBER: builtins.int - TYPE_TEST_FIELD_NUMBER: builtins.int - EXTRA_TEST_FIELD_NUMBER: builtins.int - @property - def range_test(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... - @property - def unique_test(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... - @property - def items_string_test(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... - @property - def items_double_test(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]: ... - @property - def items_int32_test(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ... - @property - def items_timestamp_test( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - google.protobuf.timestamp_pb2.Timestamp - ]: ... - @property - def items_duration_test( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.duration_pb2.Duration]: ... - @property - def items_bytes_test(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: ... - @property - def enable_test(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... - @property - def default_factory_test( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... - @property - def miss_default_test(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... - @property - def alias_test(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... - @property - def desc_test(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... - @property - def example_factory_test( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... - @property - def field_test(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... - @property - def title_test(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... - @property - def type_test(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... - @property - def extra_test(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... - def __init__( - self, - *, - range_test: collections.abc.Iterable[builtins.str] | None = ..., - unique_test: collections.abc.Iterable[builtins.str] | None = ..., - items_string_test: collections.abc.Iterable[builtins.str] | None = ..., - items_double_test: collections.abc.Iterable[builtins.float] | None = ..., - items_int32_test: collections.abc.Iterable[builtins.int] | None = ..., - items_timestamp_test: collections.abc.Iterable[google.protobuf.timestamp_pb2.Timestamp] | None = ..., - items_duration_test: collections.abc.Iterable[google.protobuf.duration_pb2.Duration] | None = ..., - items_bytes_test: collections.abc.Iterable[builtins.bytes] | None = ..., - enable_test: collections.abc.Iterable[builtins.str] | None = ..., - default_factory_test: collections.abc.Iterable[builtins.str] | None = ..., - miss_default_test: collections.abc.Iterable[builtins.str] | None = ..., - alias_test: collections.abc.Iterable[builtins.str] | None = ..., - desc_test: collections.abc.Iterable[builtins.str] | None = ..., - example_factory_test: collections.abc.Iterable[builtins.str] | None = ..., - field_test: collections.abc.Iterable[builtins.str] | None = ..., - title_test: collections.abc.Iterable[builtins.str] | None = ..., - type_test: collections.abc.Iterable[builtins.str] | None = ..., - extra_test: collections.abc.Iterable[builtins.str] | None = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "alias_test", - b"alias_test", - "default_factory_test", - b"default_factory_test", - "desc_test", - b"desc_test", - "enable_test", - b"enable_test", - "example_factory_test", - b"example_factory_test", - "extra_test", - b"extra_test", - "field_test", - b"field_test", - "items_bytes_test", - b"items_bytes_test", - "items_double_test", - b"items_double_test", - "items_duration_test", - b"items_duration_test", - "items_int32_test", - b"items_int32_test", - "items_string_test", - b"items_string_test", - "items_timestamp_test", - b"items_timestamp_test", - "miss_default_test", - b"miss_default_test", - "range_test", - b"range_test", - "title_test", - b"title_test", - "type_test", - b"type_test", - "unique_test", - b"unique_test", - ], - ) -> None: ... - -global___RepeatedTest = RepeatedTest - -class AnyTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - REQUIRED_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - ENABLE_TEST_FIELD_NUMBER: builtins.int - DEFAULT_TEST_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_TEST_FIELD_NUMBER: builtins.int - MISS_DEFAULT_TEST_FIELD_NUMBER: builtins.int - ALIAS_TEST_FIELD_NUMBER: builtins.int - DESC_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_TEST_FIELD_NUMBER: builtins.int - FIELD_TEST_FIELD_NUMBER: builtins.int - TITLE_TEST_FIELD_NUMBER: builtins.int - EXTRA_TEST_FIELD_NUMBER: builtins.int - @property - def required_test(self) -> google.protobuf.any_pb2.Any: ... - @property - def not_in_test(self) -> google.protobuf.any_pb2.Any: ... - @property - def in_test(self) -> google.protobuf.any_pb2.Any: ... - @property - def enable_test(self) -> google.protobuf.any_pb2.Any: ... - @property - def default_test(self) -> google.protobuf.any_pb2.Any: ... - @property - def default_factory_test(self) -> google.protobuf.any_pb2.Any: ... - @property - def miss_default_test(self) -> google.protobuf.any_pb2.Any: ... - @property - def alias_test(self) -> google.protobuf.any_pb2.Any: ... - @property - def desc_test(self) -> google.protobuf.any_pb2.Any: ... - @property - def example_test(self) -> google.protobuf.any_pb2.Any: ... - @property - def example_factory_test(self) -> google.protobuf.any_pb2.Any: ... - @property - def field_test(self) -> google.protobuf.any_pb2.Any: ... - @property - def title_test(self) -> google.protobuf.any_pb2.Any: ... - @property - def extra_test(self) -> google.protobuf.any_pb2.Any: ... - def __init__( - self, - *, - required_test: google.protobuf.any_pb2.Any | None = ..., - not_in_test: google.protobuf.any_pb2.Any | None = ..., - in_test: google.protobuf.any_pb2.Any | None = ..., - enable_test: google.protobuf.any_pb2.Any | None = ..., - default_test: google.protobuf.any_pb2.Any | None = ..., - default_factory_test: google.protobuf.any_pb2.Any | None = ..., - miss_default_test: google.protobuf.any_pb2.Any | None = ..., - alias_test: google.protobuf.any_pb2.Any | None = ..., - desc_test: google.protobuf.any_pb2.Any | None = ..., - example_test: google.protobuf.any_pb2.Any | None = ..., - example_factory_test: google.protobuf.any_pb2.Any | None = ..., - field_test: google.protobuf.any_pb2.Any | None = ..., - title_test: google.protobuf.any_pb2.Any | None = ..., - extra_test: google.protobuf.any_pb2.Any | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "alias_test", - b"alias_test", - "default_factory_test", - b"default_factory_test", - "default_test", - b"default_test", - "desc_test", - b"desc_test", - "enable_test", - b"enable_test", - "example_factory_test", - b"example_factory_test", - "example_test", - b"example_test", - "extra_test", - b"extra_test", - "field_test", - b"field_test", - "in_test", - b"in_test", - "miss_default_test", - b"miss_default_test", - "not_in_test", - b"not_in_test", - "required_test", - b"required_test", - "title_test", - b"title_test", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "alias_test", - b"alias_test", - "default_factory_test", - b"default_factory_test", - "default_test", - b"default_test", - "desc_test", - b"desc_test", - "enable_test", - b"enable_test", - "example_factory_test", - b"example_factory_test", - "example_test", - b"example_test", - "extra_test", - b"extra_test", - "field_test", - b"field_test", - "in_test", - b"in_test", - "miss_default_test", - b"miss_default_test", - "not_in_test", - b"not_in_test", - "required_test", - b"required_test", - "title_test", - b"title_test", - ], - ) -> None: ... - -global___AnyTest = AnyTest - -class DurationTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - ENABLE_TEST_FIELD_NUMBER: builtins.int - DEFAULT_TEST_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_TEST_FIELD_NUMBER: builtins.int - MISS_DEFAULT_TEST_FIELD_NUMBER: builtins.int - ALIAS_TEST_FIELD_NUMBER: builtins.int - DESC_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_TEST_FIELD_NUMBER: builtins.int - FIELD_TEST_FIELD_NUMBER: builtins.int - TITLE_TEST_FIELD_NUMBER: builtins.int - TYPE_TEST_FIELD_NUMBER: builtins.int - EXTRA_TEST_FIELD_NUMBER: builtins.int - @property - def const_test(self) -> google.protobuf.duration_pb2.Duration: ... - @property - def range_test(self) -> google.protobuf.duration_pb2.Duration: ... - @property - def range_e_test(self) -> google.protobuf.duration_pb2.Duration: ... - @property - def in_test(self) -> google.protobuf.duration_pb2.Duration: ... - @property - def not_in_test(self) -> google.protobuf.duration_pb2.Duration: ... - @property - def enable_test(self) -> google.protobuf.duration_pb2.Duration: ... - @property - def default_test(self) -> google.protobuf.duration_pb2.Duration: ... - @property - def default_factory_test(self) -> google.protobuf.duration_pb2.Duration: ... - @property - def miss_default_test(self) -> google.protobuf.duration_pb2.Duration: ... - @property - def alias_test(self) -> google.protobuf.duration_pb2.Duration: ... - @property - def desc_test(self) -> google.protobuf.duration_pb2.Duration: ... - @property - def example_test(self) -> google.protobuf.duration_pb2.Duration: ... - @property - def example_factory_test(self) -> google.protobuf.duration_pb2.Duration: ... - @property - def field_test(self) -> google.protobuf.duration_pb2.Duration: ... - @property - def title_test(self) -> google.protobuf.duration_pb2.Duration: ... - @property - def type_test(self) -> google.protobuf.duration_pb2.Duration: ... - @property - def extra_test(self) -> google.protobuf.duration_pb2.Duration: ... - def __init__( - self, - *, - const_test: google.protobuf.duration_pb2.Duration | None = ..., - range_test: google.protobuf.duration_pb2.Duration | None = ..., - range_e_test: google.protobuf.duration_pb2.Duration | None = ..., - in_test: google.protobuf.duration_pb2.Duration | None = ..., - not_in_test: google.protobuf.duration_pb2.Duration | None = ..., - enable_test: google.protobuf.duration_pb2.Duration | None = ..., - default_test: google.protobuf.duration_pb2.Duration | None = ..., - default_factory_test: google.protobuf.duration_pb2.Duration | None = ..., - miss_default_test: google.protobuf.duration_pb2.Duration | None = ..., - alias_test: google.protobuf.duration_pb2.Duration | None = ..., - desc_test: google.protobuf.duration_pb2.Duration | None = ..., - example_test: google.protobuf.duration_pb2.Duration | None = ..., - example_factory_test: google.protobuf.duration_pb2.Duration | None = ..., - field_test: google.protobuf.duration_pb2.Duration | None = ..., - title_test: google.protobuf.duration_pb2.Duration | None = ..., - type_test: google.protobuf.duration_pb2.Duration | None = ..., - extra_test: google.protobuf.duration_pb2.Duration | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "alias_test", - b"alias_test", - "const_test", - b"const_test", - "default_factory_test", - b"default_factory_test", - "default_test", - b"default_test", - "desc_test", - b"desc_test", - "enable_test", - b"enable_test", - "example_factory_test", - b"example_factory_test", - "example_test", - b"example_test", - "extra_test", - b"extra_test", - "field_test", - b"field_test", - "in_test", - b"in_test", - "miss_default_test", - b"miss_default_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - "title_test", - b"title_test", - "type_test", - b"type_test", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "alias_test", - b"alias_test", - "const_test", - b"const_test", - "default_factory_test", - b"default_factory_test", - "default_test", - b"default_test", - "desc_test", - b"desc_test", - "enable_test", - b"enable_test", - "example_factory_test", - b"example_factory_test", - "example_test", - b"example_test", - "extra_test", - b"extra_test", - "field_test", - b"field_test", - "in_test", - b"in_test", - "miss_default_test", - b"miss_default_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - "title_test", - b"title_test", - "type_test", - b"type_test", - ], - ) -> None: ... - -global___DurationTest = DurationTest - -class TimestampTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - LT_NOW_TEST_FIELD_NUMBER: builtins.int - GT_NOW_TEST_FIELD_NUMBER: builtins.int - WITHIN_TEST_FIELD_NUMBER: builtins.int - WITHIN_AND_GT_NOW_TEST_FIELD_NUMBER: builtins.int - ENABLE_TEST_FIELD_NUMBER: builtins.int - DEFAULT_TEST_FIELD_NUMBER: builtins.int - DEFAULT_FACTORY_TEST_FIELD_NUMBER: builtins.int - MISS_DEFAULT_TEST_FIELD_NUMBER: builtins.int - ALIAS_TEST_FIELD_NUMBER: builtins.int - DESC_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_TEST_FIELD_NUMBER: builtins.int - EXAMPLE_FACTORY_TEST_FIELD_NUMBER: builtins.int - FIELD_TEST_FIELD_NUMBER: builtins.int - TITLE_TEST_FIELD_NUMBER: builtins.int - TYPE_TEST_FIELD_NUMBER: builtins.int - EXTRA_TEST_FIELD_NUMBER: builtins.int - @property - def const_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def range_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def range_e_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def lt_now_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def gt_now_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def within_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def within_and_gt_now_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def enable_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def default_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def default_factory_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def miss_default_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def alias_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def desc_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def example_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def example_factory_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def field_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def title_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def type_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def extra_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - def __init__( - self, - *, - const_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - range_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - range_e_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - lt_now_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - gt_now_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - within_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - within_and_gt_now_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - enable_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - default_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - default_factory_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - miss_default_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - alias_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - desc_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - example_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - example_factory_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - field_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - title_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - type_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - extra_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "alias_test", - b"alias_test", - "const_test", - b"const_test", - "default_factory_test", - b"default_factory_test", - "default_test", - b"default_test", - "desc_test", - b"desc_test", - "enable_test", - b"enable_test", - "example_factory_test", - b"example_factory_test", - "example_test", - b"example_test", - "extra_test", - b"extra_test", - "field_test", - b"field_test", - "gt_now_test", - b"gt_now_test", - "lt_now_test", - b"lt_now_test", - "miss_default_test", - b"miss_default_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - "title_test", - b"title_test", - "type_test", - b"type_test", - "within_and_gt_now_test", - b"within_and_gt_now_test", - "within_test", - b"within_test", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "alias_test", - b"alias_test", - "const_test", - b"const_test", - "default_factory_test", - b"default_factory_test", - "default_test", - b"default_test", - "desc_test", - b"desc_test", - "enable_test", - b"enable_test", - "example_factory_test", - b"example_factory_test", - "example_test", - b"example_test", - "extra_test", - b"extra_test", - "field_test", - b"field_test", - "gt_now_test", - b"gt_now_test", - "lt_now_test", - b"lt_now_test", - "miss_default_test", - b"miss_default_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - "title_test", - b"title_test", - "type_test", - b"type_test", - "within_and_gt_now_test", - b"within_and_gt_now_test", - "within_test", - b"within_test", - ], - ) -> None: ... - -global___TimestampTest = TimestampTest - -class MessageIgnoredTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.int - range_e_test: builtins.int - range_test: builtins.int - def __init__( - self, - *, - const_test: builtins.int = ..., - range_e_test: builtins.int = ..., - range_test: builtins.int = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const_test", b"const_test", "range_e_test", b"range_e_test", "range_test", b"range_test" - ], - ) -> None: ... - -global___MessageIgnoredTest = MessageIgnoredTest - -class OneOfTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - HEADER_FIELD_NUMBER: builtins.int - X_FIELD_NUMBER: builtins.int - Y_FIELD_NUMBER: builtins.int - header: builtins.str - x: builtins.str - y: builtins.int - def __init__( - self, - *, - header: builtins.str = ..., - x: builtins.str = ..., - y: builtins.int = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["id", b"id", "x", b"x", "y", b"y"]) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["header", b"header", "id", b"id", "x", b"x", "y", b"y"] - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["id", b"id"] - ) -> typing_extensions.Literal["x", "y"] | None: ... - -global___OneOfTest = OneOfTest - -class OneOfNotTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - HEADER_FIELD_NUMBER: builtins.int - X_FIELD_NUMBER: builtins.int - Y_FIELD_NUMBER: builtins.int - header: builtins.str - x: builtins.str - y: builtins.int - def __init__( - self, - *, - header: builtins.str = ..., - x: builtins.str = ..., - y: builtins.int = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["id", b"id", "x", b"x", "y", b"y"]) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["header", b"header", "id", b"id", "x", b"x", "y", b"y"] - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["id", b"id"] - ) -> typing_extensions.Literal["x", "y"] | None: ... - -global___OneOfNotTest = OneOfNotTest - -class NestedMessage(google.protobuf.message.Message): - """test nested message""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - class UserPayMessage(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - BANK_NUMBER_FIELD_NUMBER: builtins.int - EXP_FIELD_NUMBER: builtins.int - UUID_FIELD_NUMBER: builtins.int - bank_number: builtins.str - @property - def exp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - uuid: builtins.str - def __init__( - self, - *, - bank_number: builtins.str = ..., - exp: google.protobuf.timestamp_pb2.Timestamp | None = ..., - uuid: builtins.str = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["exp", b"exp"]) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["bank_number", b"bank_number", "exp", b"exp", "uuid", b"uuid"] - ) -> None: ... - - class NotEnableUserPayMessage(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - BANK_NUMBER_FIELD_NUMBER: builtins.int - EXP_FIELD_NUMBER: builtins.int - UUID_FIELD_NUMBER: builtins.int - bank_number: builtins.str - @property - def exp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - uuid: builtins.str - def __init__( - self, - *, - bank_number: builtins.str = ..., - exp: google.protobuf.timestamp_pb2.Timestamp | None = ..., - uuid: builtins.str = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["exp", b"exp"]) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["bank_number", b"bank_number", "exp", b"exp", "uuid", b"uuid"] - ) -> None: ... - - class StringInMapTestEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - @property - def value(self) -> global___StringTest: ... - def __init__( - self, - *, - key: builtins.str = ..., - value: global___StringTest | None = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - class MapInMapTestEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - @property - def value(self) -> global___MapTest: ... - def __init__( - self, - *, - key: builtins.str = ..., - value: global___MapTest | None = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - STRING_IN_MAP_TEST_FIELD_NUMBER: builtins.int - MAP_IN_MAP_TEST_FIELD_NUMBER: builtins.int - USER_PAY_FIELD_NUMBER: builtins.int - NOT_ENABLE_USER_PAY_FIELD_NUMBER: builtins.int - EMPTY_FIELD_NUMBER: builtins.int - AFTER_REFER_FIELD_NUMBER: builtins.int - @property - def string_in_map_test( - self, - ) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___StringTest]: ... - @property - def map_in_map_test(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___MapTest]: ... - @property - def user_pay(self) -> global___NestedMessage.UserPayMessage: ... - @property - def not_enable_user_pay(self) -> global___NestedMessage.NotEnableUserPayMessage: ... - @property - def empty(self) -> google.protobuf.empty_pb2.Empty: ... - @property - def after_refer(self) -> global___AfterReferMessage: ... - def __init__( - self, - *, - string_in_map_test: collections.abc.Mapping[builtins.str, global___StringTest] | None = ..., - map_in_map_test: collections.abc.Mapping[builtins.str, global___MapTest] | None = ..., - user_pay: global___NestedMessage.UserPayMessage | None = ..., - not_enable_user_pay: global___NestedMessage.NotEnableUserPayMessage | None = ..., - empty: google.protobuf.empty_pb2.Empty | None = ..., - after_refer: global___AfterReferMessage | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "after_refer", - b"after_refer", - "empty", - b"empty", - "not_enable_user_pay", - b"not_enable_user_pay", - "user_pay", - b"user_pay", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "after_refer", - b"after_refer", - "empty", - b"empty", - "map_in_map_test", - b"map_in_map_test", - "not_enable_user_pay", - b"not_enable_user_pay", - "string_in_map_test", - b"string_in_map_test", - "user_pay", - b"user_pay", - ], - ) -> None: ... - -global___NestedMessage = NestedMessage - -class AfterReferMessage(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - UID_FIELD_NUMBER: builtins.int - AGE_FIELD_NUMBER: builtins.int - uid: builtins.str - age: builtins.int - def __init__( - self, - *, - uid: builtins.str = ..., - age: builtins.int = ..., - ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["age", b"age", "uid", b"uid"]) -> None: ... - -global___AfterReferMessage = AfterReferMessage diff --git a/example/proto_3_20/example/example_proto/p2p_validate/demo_pb2_grpc.py b/example/proto_3_20/example/example_proto/p2p_validate/demo_pb2_grpc.py deleted file mode 100644 index 2dd5fd3..0000000 --- a/example/proto_3_20/example/example_proto/p2p_validate/demo_pb2_grpc.py +++ /dev/null @@ -1,2 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" diff --git a/example/proto_3_20/example/example_proto/p2p_validate/demo_pb2_grpc.pyi b/example/proto_3_20/example/example_proto/p2p_validate/demo_pb2_grpc.pyi deleted file mode 100644 index f3a5a08..0000000 --- a/example/proto_3_20/example/example_proto/p2p_validate/demo_pb2_grpc.pyi +++ /dev/null @@ -1,4 +0,0 @@ -""" -@generated by mypy-protobuf. Do not edit manually! -isort:skip_file -""" diff --git a/example/proto_3_20/example/example_proto/validate/__init__.py b/example/proto_3_20/example/example_proto/validate/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/example/proto_3_20/example/example_proto/validate/demo_p2p.py b/example/proto_3_20/example/example_proto/validate/demo_p2p.py deleted file mode 100644 index ee4f480..0000000 --- a/example/proto_3_20/example/example_proto/validate/demo_p2p.py +++ /dev/null @@ -1,436 +0,0 @@ -# This is an automatically generated file, please do not change -# gen by protobuf_to_pydantic[v0.1.7.3](https://github.com/so1n/protobuf_to_pydantic) -import typing -from datetime import datetime, timedelta -from enum import IntEnum -from ipaddress import IPv4Address, IPv6Address -from uuid import UUID - -from google.protobuf.any_pb2 import Any # type: ignore -from google.protobuf.message import Message # type: ignore -from pydantic import BaseModel, Field, root_validator, validator -from pydantic.networks import AnyUrl, EmailStr, IPvAnyAddress -from pydantic.types import conbytes, confloat, conint, conlist, constr - -from protobuf_to_pydantic.customer_con_type import contimedelta, contimestamp -from protobuf_to_pydantic.customer_validator import ( - any_in_validator, - any_not_in_validator, - check_one_of, - contains_validator, - duration_const_validator, - duration_ge_validator, - duration_gt_validator, - duration_in_validator, - duration_le_validator, - duration_lt_validator, - duration_not_in_validator, - in_validator, - len_validator, - map_max_pairs_validator, - map_min_pairs_validator, - not_contains_validator, - not_in_validator, - prefix_validator, - suffix_validator, - timestamp_const_validator, - timestamp_ge_validator, - timestamp_gt_now_validator, - timestamp_gt_validator, - timestamp_le_validator, - timestamp_lt_now_validator, - timestamp_lt_validator, - timestamp_within_validator, -) -from protobuf_to_pydantic.get_desc.from_pb_option.types import HostNameStr, UriRefStr -from protobuf_to_pydantic.util import Timedelta - - -class State(IntEnum): - INACTIVE = 0 - PENDING = 1 - ACTIVE = 2 - - -class FloatTest(BaseModel): - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: float = Field(default=1.0, const=True) - range_e_test: float = Field(default=0.0, ge=1, le=10) - range_test: float = Field(default=0.0, gt=1, lt=10) - in_test: float = Field(default=0.0, in_=[1.0, 2.0, 3.0]) - not_in_test: float = Field(default=0.0, not_in=[1.0, 2.0, 3.0]) - ignore_test: float = Field(default=0.0) - - -class DoubleTest(BaseModel): - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: float = Field(default=1.0, const=True) - range_e_test: float = Field(default=0.0, ge=1, le=10) - range_test: float = Field(default=0.0, gt=1, lt=10) - in_test: float = Field(default=0.0, in_=[1.0, 2.0, 3.0]) - not_in_test: float = Field(default=0.0, not_in=[1.0, 2.0, 3.0]) - ignore_test: float = Field(default=0.0) - - -class Int32Test(BaseModel): - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: int = Field(default=1, const=True) - range_e_test: int = Field(default=0, ge=1, le=10) - range_test: int = Field(default=0, gt=1, lt=10) - in_test: int = Field(default=0, in_=[1, 2, 3]) - not_in_test: int = Field(default=0, not_in=[1, 2, 3]) - ignore_test: int = Field(default=0) - - -class Uint32Test(BaseModel): - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: int = Field(default=1, const=True) - range_e_test: int = Field(default=0, ge=1, le=10) - range_test: int = Field(default=0, gt=1, lt=10) - in_test: int = Field(default=0, in_=[1, 2, 3]) - not_in_test: int = Field(default=0, not_in=[1, 2, 3]) - ignore_test: int = Field(default=0) - - -class Sint32Test(BaseModel): - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: int = Field(default=1, const=True) - range_e_test: int = Field(default=0, ge=1, le=10) - range_test: int = Field(default=0, gt=1, lt=10) - in_test: int = Field(default=0, in_=[1, 2, 3]) - not_in_test: int = Field(default=0, not_in=[1, 2, 3]) - ignore_test: int = Field(default=0) - - -class Int64Test(BaseModel): - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: int = Field(default=1, const=True) - range_e_test: int = Field(default=0, ge=1, le=10) - range_test: int = Field(default=0, gt=1, lt=10) - in_test: int = Field(default=0, in_=[1, 2, 3]) - not_in_test: int = Field(default=0, not_in=[1, 2, 3]) - ignore_test: int = Field(default=0) - - -class Uint64Test(BaseModel): - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: int = Field(default=1, const=True) - range_e_test: int = Field(default=0, ge=1, le=10) - range_test: int = Field(default=0, gt=1, lt=10) - in_test: int = Field(default=0, in_=[1, 2, 3]) - not_in_test: int = Field(default=0, not_in=[1, 2, 3]) - ignore_test: int = Field(default=0) - - -class Sint64Test(BaseModel): - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: int = Field(default=1, const=True) - range_e_test: int = Field(default=0, ge=1, le=10) - range_test: int = Field(default=0, gt=1, lt=10) - in_test: int = Field(default=0, in_=[1, 2, 3]) - not_in_test: int = Field(default=0, not_in=[1, 2, 3]) - ignore_test: int = Field(default=0) - - -class Fixed32Test(BaseModel): - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: float = Field(default=1, const=True) - range_e_test: float = Field(default=0.0, ge=1, le=10) - range_test: float = Field(default=0.0, gt=1, lt=10) - in_test: float = Field(default=0.0, in_=[1, 2, 3]) - not_in_test: float = Field(default=0.0, not_in=[1, 2, 3]) - ignore_test: float = Field(default=0.0) - - -class Fixed64Test(BaseModel): - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: float = Field(default=1, const=True) - range_e_test: float = Field(default=0.0, ge=1, le=10) - range_test: float = Field(default=0.0, gt=1, lt=10) - in_test: float = Field(default=0.0, in_=[1, 2, 3]) - not_in_test: float = Field(default=0.0, not_in=[1, 2, 3]) - ignore_test: float = Field(default=0.0) - - -class Sfixed32Test(BaseModel): - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: float = Field(default=1, const=True) - range_e_test: float = Field(default=0.0, ge=1, le=10) - range_test: float = Field(default=0.0, gt=1, lt=10) - in_test: float = Field(default=0.0, in_=[1, 2, 3]) - not_in_test: float = Field(default=0.0, not_in=[1, 2, 3]) - ignore_test: float = Field(default=0.0) - - -class Sfixed64Test(BaseModel): - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: float = Field(default=1, const=True) - range_e_test: float = Field(default=0.0, ge=1, le=10) - range_test: float = Field(default=0.0, gt=1, lt=10) - in_test: float = Field(default=0.0, in_=[1, 2, 3]) - not_in_test: float = Field(default=0.0, not_in=[1, 2, 3]) - ignore_test: float = Field(default=0.0) - - -class BoolTest(BaseModel): - bool_1_test: bool = Field(default=True, const=True) - bool_2_test: bool = Field(default=False, const=True) - - -class StringTest(BaseModel): - len_test_len_validator = validator("len_test", allow_reuse=True)(len_validator) - prefix_test_prefix_validator = validator("prefix_test", allow_reuse=True)(prefix_validator) - suffix_test_suffix_validator = validator("suffix_test", allow_reuse=True)(suffix_validator) - contains_test_contains_validator = validator("contains_test", allow_reuse=True)(contains_validator) - not_contains_test_not_contains_validator = validator("not_contains_test", allow_reuse=True)(not_contains_validator) - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: str = Field(default="aaa", const=True) - len_test: str = Field(default="", len=3) - s_range_len_test: str = Field(default="", min_length=1, max_length=3) - b_range_len_test: str = Field(default="") - pattern_test: str = Field(default="", regex="^test") - prefix_test: str = Field(default="", prefix="prefix") - suffix_test: str = Field(default="", suffix="suffix") - contains_test: str = Field(default="", contains="contains") - not_contains_test: str = Field(default="", not_contains="not_contains") - in_test: str = Field(default="", in_=["a", "b", "c"]) - not_in_test: str = Field(default="", not_in=["a", "b", "c"]) - email_test: EmailStr = Field(default="") - hostname_test: HostNameStr = Field(default="") - ip_test: IPvAnyAddress = Field(default="") - ipv4_test: IPv4Address = Field(default="") - ipv6_test: IPv6Address = Field(default="") - uri_test: AnyUrl = Field(default="") - uri_ref_test: UriRefStr = Field(default="") - address_test: IPvAnyAddress = Field(default="") - uuid_test: UUID = Field(default="") - ignore_test: str = Field(default="") - - -class BytesTest(BaseModel): - len_test_len_validator = validator("len_test", allow_reuse=True)(len_validator) - prefix_test_prefix_validator = validator("prefix_test", allow_reuse=True)(prefix_validator) - suffix_test_suffix_validator = validator("suffix_test", allow_reuse=True)(suffix_validator) - contains_test_contains_validator = validator("contains_test", allow_reuse=True)(contains_validator) - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: bytes = Field(default=b"demo", const=True) - len_test: bytes = Field(default=b"", len=4) - range_len_test: bytes = Field(default=b"", min_length=1, max_length=4) - pattern_test: bytes = Field(default=b"") - prefix_test: bytes = Field(default=b"", prefix=b"prefix") - suffix_test: bytes = Field(default=b"", suffix=b"suffix") - contains_test: bytes = Field(default=b"", contains=b"contains") - in_test: bytes = Field(default=b"", in_=[b"a", b"b", b"c"]) - not_in_test: bytes = Field(default=b"", not_in=[b"a", b"b", b"c"]) - - -class EnumTest(BaseModel): - in_test_in_validator = validator("in_test", allow_reuse=True)(in_validator) - not_in_test_not_in_validator = validator("not_in_test", allow_reuse=True)(not_in_validator) - - const_test: State = Field(default=2, const=True) - defined_only_test: State = Field(default=0) - in_test: State = Field(default=0, in_=[0, 2]) - not_in_test: State = Field(default=0, not_in=[0, 2]) - - -class MapTest(BaseModel): - pair_test_map_min_pairs_validator = validator("pair_test", allow_reuse=True)(map_min_pairs_validator) - pair_test_map_max_pairs_validator = validator("pair_test", allow_reuse=True)(map_max_pairs_validator) - - pair_test: typing.Dict[str, int] = Field(default_factory=dict, map_min_pairs=1, map_max_pairs=5) - no_parse_test: typing.Dict[str, int] = Field(default_factory=dict) - keys_test: typing.Dict[constr(min_length=1, max_length=5), int] = Field(default_factory=dict) - values_test: typing.Dict[str, conint(ge=5, le=5)] = Field(default_factory=dict) - keys_values_test: typing.Dict[constr(min_length=1, max_length=5), contimestamp(timestamp_gt_now=True)] = Field( - default_factory=dict - ) - ignore_test: typing.Dict[str, int] = Field(default_factory=dict) - - -class MessageTest(BaseModel): - skip_test: str = Field(default="") - required_test: str = Field() - - -class RepeatedTest(BaseModel): - range_test: typing.List[str] = Field(default_factory=list, min_items=1, max_items=5) - unique_test: typing.List[str] = Field(default_factory=list, unique_items=True) - items_string_test: conlist(item_type=constr(min_length=1, max_length=5), min_items=1, max_items=5) = Field( - default_factory=list - ) - items_double_test: conlist(item_type=confloat(gt=1, lt=5), min_items=1, max_items=5) = Field(default_factory=list) - items_int32_test: conlist(item_type=conint(gt=1, lt=5), min_items=1, max_items=5) = Field(default_factory=list) - items_timestamp_test: conlist( - item_type=contimestamp(timestamp_gt=1600000000.0, timestamp_lt=1600000010.0), min_items=1, max_items=5 - ) = Field(default_factory=list) - items_duration_test: conlist( - item_type=contimedelta(duration_gt=timedelta(seconds=10), duration_lt=timedelta(seconds=20)), - min_items=1, - max_items=5, - ) = Field(default_factory=list) - items_bytes_test: conlist(item_type=conbytes(min_length=1, max_length=5), min_items=1, max_items=5) = Field( - default_factory=list - ) - ignore_test: typing.List[str] = Field(default_factory=list) - - -class AnyTest(BaseModel): - class Config: - arbitrary_types_allowed = True - - not_in_test_any_not_in_validator = validator("not_in_test", allow_reuse=True)(any_not_in_validator) - in_test_any_in_validator = validator("in_test", allow_reuse=True)(any_in_validator) - - required_test: Any = Field() - not_in_test: Any = Field( - default_factory=Any, - any_not_in=["type.googleapis.com/google.protobuf.Duration", "type.googleapis.com/google.protobuf.Timestamp"], - ) - in_test: Any = Field( - default_factory=Any, - any_in=["type.googleapis.com/google.protobuf.Duration", "type.googleapis.com/google.protobuf.Timestamp"], - ) - - -class DurationTest(BaseModel): - const_test_duration_const_validator = validator("const_test", allow_reuse=True)(duration_const_validator) - range_test_duration_lt_validator = validator("range_test", allow_reuse=True)(duration_lt_validator) - range_test_duration_gt_validator = validator("range_test", allow_reuse=True)(duration_gt_validator) - range_e_test_duration_le_validator = validator("range_e_test", allow_reuse=True)(duration_le_validator) - range_e_test_duration_ge_validator = validator("range_e_test", allow_reuse=True)(duration_ge_validator) - in_test_duration_in_validator = validator("in_test", allow_reuse=True)(duration_in_validator) - not_in_test_duration_not_in_validator = validator("not_in_test", allow_reuse=True)(duration_not_in_validator) - - required_test: Timedelta = Field() - const_test: Timedelta = Field(default_factory=timedelta, duration_const=timedelta(seconds=1, microseconds=500000)) - range_test: Timedelta = Field( - default_factory=timedelta, - duration_lt=timedelta(seconds=10, microseconds=500000), - duration_gt=timedelta(seconds=5, microseconds=500000), - ) - range_e_test: Timedelta = Field( - default_factory=timedelta, - duration_le=timedelta(seconds=10, microseconds=500000), - duration_ge=timedelta(seconds=5, microseconds=500000), - ) - in_test: Timedelta = Field( - default_factory=timedelta, - duration_in=[timedelta(seconds=1, microseconds=500000), timedelta(seconds=3, microseconds=500000)], - ) - not_in_test: Timedelta = Field( - default_factory=timedelta, - duration_not_in=[timedelta(seconds=1, microseconds=500000), timedelta(seconds=3, microseconds=500000)], - ) - - -class TimestampTest(BaseModel): - const_test_timestamp_const_validator = validator("const_test", allow_reuse=True)(timestamp_const_validator) - range_test_timestamp_lt_validator = validator("range_test", allow_reuse=True)(timestamp_lt_validator) - range_test_timestamp_gt_validator = validator("range_test", allow_reuse=True)(timestamp_gt_validator) - range_e_test_timestamp_le_validator = validator("range_e_test", allow_reuse=True)(timestamp_le_validator) - range_e_test_timestamp_ge_validator = validator("range_e_test", allow_reuse=True)(timestamp_ge_validator) - lt_now_test_timestamp_lt_now_validator = validator("lt_now_test", allow_reuse=True)(timestamp_lt_now_validator) - gt_now_test_timestamp_gt_now_validator = validator("gt_now_test", allow_reuse=True)(timestamp_gt_now_validator) - within_test_timestamp_within_validator = validator("within_test", allow_reuse=True)(timestamp_within_validator) - within_and_gt_now_test_timestamp_gt_now_validator = validator("within_and_gt_now_test", allow_reuse=True)( - timestamp_gt_now_validator - ) - within_and_gt_now_test_timestamp_within_validator = validator("within_and_gt_now_test", allow_reuse=True)( - timestamp_within_validator - ) - - required_test: datetime = Field() - const_test: datetime = Field(default_factory=datetime.now, timestamp_const=1600000000.0) - range_test: datetime = Field(default_factory=datetime.now, timestamp_lt=1600000010.0, timestamp_gt=1600000000.0) - range_e_test: datetime = Field(default_factory=datetime.now, timestamp_le=1600000010.0, timestamp_ge=1600000000.0) - lt_now_test: datetime = Field(default_factory=datetime.now, timestamp_lt_now=True) - gt_now_test: datetime = Field(default_factory=datetime.now, timestamp_gt_now=True) - within_test: datetime = Field(default_factory=datetime.now, timestamp_within=timedelta(seconds=1)) - within_and_gt_now_test: datetime = Field( - default_factory=datetime.now, timestamp_gt_now=True, timestamp_within=timedelta(seconds=3600) - ) - - -class MessageDisabledTest(BaseModel): - const_test: int = Field(default=0) - range_e_test: int = Field(default=0) - range_test: int = Field(default=0) - - -class MessageIgnoredTest(BaseModel): - const_test: int = Field(default=0) - range_e_test: int = Field(default=0) - range_test: int = Field(default=0) - - -class OneOfTest(BaseModel): - _one_of_dict = {"OneOfTest.id": {"fields": {"x", "y"}, "required": True}} - _check_one_of = root_validator(pre=True, allow_reuse=True)(check_one_of) - - header: str = Field(default="") - x: str = Field(default="") - y: int = Field(default=0) - - -class OneOfNotTest(BaseModel): - _one_of_dict = {"OneOfNotTest.id": {"fields": {"x", "y"}}} - _check_one_of = root_validator(pre=True, allow_reuse=True)(check_one_of) - - header: str = Field(default="") - x: str = Field(default="") - y: int = Field(default=0) - - -class AfterReferMessage(BaseModel): - uid: str = Field(default="", min_length=1) - age: int = Field(default=0, ge=0, lt=500) - - -class NestedMessage(BaseModel): - class UserPayMessage(BaseModel): - exp_timestamp_gt_now_validator = validator("exp", allow_reuse=True)(timestamp_gt_now_validator) - - bank_number: str = Field(default="", min_length=13, max_length=19) - exp: datetime = Field(default_factory=datetime.now, timestamp_gt_now=True) - uuid: UUID = Field(default="") - - class NotEnableUserPayMessage(BaseModel): - bank_number: str = Field(default="") - exp: datetime = Field(default_factory=datetime.now) - uuid: str = Field(default="") - - string_in_map_test: typing.Dict[str, StringTest] = Field(default_factory=dict) - map_in_map_test: typing.Dict[str, MapTest] = Field(default_factory=dict) - user_pay: UserPayMessage = Field() - not_enable_user_pay: NotEnableUserPayMessage = Field() - empty: None = Field() - after_refer: AfterReferMessage = Field() diff --git a/example/proto_3_20/example/example_proto/validate/demo_pb2.py b/example/proto_3_20/example/example_proto/validate/demo_pb2.py deleted file mode 100644 index 1c990b8..0000000 --- a/example/proto_3_20/example/example_proto/validate/demo_pb2.py +++ /dev/null @@ -1,5106 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: example/example_proto/validate/demo.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - -from example.proto_3_20.example.example_proto.common import ( - validate_pb2 as example_dot_example__proto_dot_common_dot_validate__pb2, -) - -DESCRIPTOR = _descriptor.FileDescriptor( - name="example/example_proto/validate/demo.proto", - package="validate_test", - syntax="proto3", - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n)example/example_proto/validate/demo.proto\x12\rvalidate_test\x1a\x19google/protobuf/any.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a+example/example_proto/common/validate.proto"\xe7\x01\n\tFloatTest\x12\x1e\n\nconst_test\x18\x01 \x01(\x02\x42\n\xfa\x42\x07\n\x05\r\x00\x00\x80?\x12%\n\x0crange_e_test\x18\x02 \x01(\x02\x42\x0f\xfa\x42\x0c\n\n\x1d\x00\x00 A-\x00\x00\x80?\x12#\n\nrange_test\x18\x03 \x01(\x02\x42\x0f\xfa\x42\x0c\n\n\x15\x00\x00 A%\x00\x00\x80?\x12%\n\x07in_test\x18\x04 \x01(\x02\x42\x14\xfa\x42\x11\n\x0f\x35\x00\x00\x80?5\x00\x00\x00@5\x00\x00@@\x12)\n\x0bnot_in_test\x18\x05 \x01(\x02\x42\x14\xfa\x42\x11\n\x0f=\x00\x00\x80?=\x00\x00\x00@=\x00\x00@@\x12\x1c\n\x0bignore_test\x18\x06 \x01(\x02\x42\x07\xfa\x42\x04\n\x02@\x01"\x94\x02\n\nDoubleTest\x12"\n\nconst_test\x18\x01 \x01(\x01\x42\x0e\xfa\x42\x0b\x12\t\t\x00\x00\x00\x00\x00\x00\xf0?\x12-\n\x0crange_e_test\x18\x02 \x01(\x01\x42\x17\xfa\x42\x14\x12\x12\x19\x00\x00\x00\x00\x00\x00$@)\x00\x00\x00\x00\x00\x00\xf0?\x12+\n\nrange_test\x18\x03 \x01(\x01\x42\x17\xfa\x42\x14\x12\x12\x11\x00\x00\x00\x00\x00\x00$@!\x00\x00\x00\x00\x00\x00\xf0?\x12\x31\n\x07in_test\x18\x04 \x01(\x01\x42 \xfa\x42\x1d\x12\x1b\x31\x00\x00\x00\x00\x00\x00\xf0?1\x00\x00\x00\x00\x00\x00\x00@1\x00\x00\x00\x00\x00\x00\x08@\x12\x35\n\x0bnot_in_test\x18\x05 \x01(\x01\x42 \xfa\x42\x1d\x12\x1b\x39\x00\x00\x00\x00\x00\x00\xf0?9\x00\x00\x00\x00\x00\x00\x00@9\x00\x00\x00\x00\x00\x00\x08@\x12\x1c\n\x0bignore_test\x18\x06 \x01(\x01\x42\x07\xfa\x42\x04\x12\x02@\x01"\xc6\x01\n\tInt32Test\x12\x1b\n\nconst_test\x18\x01 \x01(\x05\x42\x07\xfa\x42\x04\x1a\x02\x08\x01\x12\x1f\n\x0crange_e_test\x18\x02 \x01(\x05\x42\t\xfa\x42\x06\x1a\x04\x18\n(\x01\x12\x1d\n\nrange_test\x18\x03 \x01(\x05\x42\t\xfa\x42\x06\x1a\x04\x10\n \x01\x12\x1c\n\x07in_test\x18\x04 \x01(\x05\x42\x0b\xfa\x42\x08\x1a\x06\x30\x01\x30\x02\x30\x03\x12 \n\x0bnot_in_test\x18\x05 \x01(\x05\x42\x0b\xfa\x42\x08\x1a\x06\x38\x01\x38\x02\x38\x03\x12\x1c\n\x0bignore_test\x18\x06 \x01(\x05\x42\x07\xfa\x42\x04\x1a\x02@\x01"\xc7\x01\n\nUint32Test\x12\x1b\n\nconst_test\x18\x01 \x01(\rB\x07\xfa\x42\x04*\x02\x08\x01\x12\x1f\n\x0crange_e_test\x18\x02 \x01(\rB\t\xfa\x42\x06*\x04\x18\n(\x01\x12\x1d\n\nrange_test\x18\x03 \x01(\rB\t\xfa\x42\x06*\x04\x10\n \x01\x12\x1c\n\x07in_test\x18\x04 \x01(\rB\x0b\xfa\x42\x08*\x06\x30\x01\x30\x02\x30\x03\x12 \n\x0bnot_in_test\x18\x05 \x01(\rB\x0b\xfa\x42\x08*\x06\x38\x01\x38\x02\x38\x03\x12\x1c\n\x0bignore_test\x18\x06 \x01(\rB\x07\xfa\x42\x04*\x02@\x01"\xc7\x01\n\nSint32Test\x12\x1b\n\nconst_test\x18\x01 \x01(\x11\x42\x07\xfa\x42\x04:\x02\x08\x02\x12\x1f\n\x0crange_e_test\x18\x02 \x01(\x11\x42\t\xfa\x42\x06:\x04\x18\x14(\x02\x12\x1d\n\nrange_test\x18\x03 \x01(\x11\x42\t\xfa\x42\x06:\x04\x10\x14 \x02\x12\x1c\n\x07in_test\x18\x04 \x01(\x11\x42\x0b\xfa\x42\x08:\x06\x30\x02\x30\x04\x30\x06\x12 \n\x0bnot_in_test\x18\x05 \x01(\x11\x42\x0b\xfa\x42\x08:\x06\x38\x02\x38\x04\x38\x06\x12\x1c\n\x0bignore_test\x18\x06 \x01(\x11\x42\x07\xfa\x42\x04:\x02@\x01"\xc6\x01\n\tInt64Test\x12\x1b\n\nconst_test\x18\x01 \x01(\x03\x42\x07\xfa\x42\x04"\x02\x08\x01\x12\x1f\n\x0crange_e_test\x18\x02 \x01(\x03\x42\t\xfa\x42\x06"\x04\x18\n(\x01\x12\x1d\n\nrange_test\x18\x03 \x01(\x03\x42\t\xfa\x42\x06"\x04\x10\n \x01\x12\x1c\n\x07in_test\x18\x04 \x01(\x03\x42\x0b\xfa\x42\x08"\x06\x30\x01\x30\x02\x30\x03\x12 \n\x0bnot_in_test\x18\x05 \x01(\x03\x42\x0b\xfa\x42\x08"\x06\x38\x01\x38\x02\x38\x03\x12\x1c\n\x0bignore_test\x18\x06 \x01(\x03\x42\x07\xfa\x42\x04"\x02@\x01"\xc7\x01\n\nUint64Test\x12\x1b\n\nconst_test\x18\x01 \x01(\x04\x42\x07\xfa\x42\x04\x32\x02\x08\x01\x12\x1f\n\x0crange_e_test\x18\x02 \x01(\x04\x42\t\xfa\x42\x06\x32\x04\x18\n(\x01\x12\x1d\n\nrange_test\x18\x03 \x01(\x04\x42\t\xfa\x42\x06\x32\x04\x10\n \x01\x12\x1c\n\x07in_test\x18\x04 \x01(\x04\x42\x0b\xfa\x42\x08\x32\x06\x30\x01\x30\x02\x30\x03\x12 \n\x0bnot_in_test\x18\x05 \x01(\x04\x42\x0b\xfa\x42\x08\x32\x06\x38\x01\x38\x02\x38\x03\x12\x1c\n\x0bignore_test\x18\x06 \x01(\x04\x42\x07\xfa\x42\x04\x32\x02@\x01"\xc7\x01\n\nSint64Test\x12\x1b\n\nconst_test\x18\x01 \x01(\x12\x42\x07\xfa\x42\x04\x42\x02\x08\x02\x12\x1f\n\x0crange_e_test\x18\x02 \x01(\x12\x42\t\xfa\x42\x06\x42\x04\x18\x14(\x02\x12\x1d\n\nrange_test\x18\x03 \x01(\x12\x42\t\xfa\x42\x06\x42\x04\x10\x14 \x02\x12\x1c\n\x07in_test\x18\x04 \x01(\x12\x42\x0b\xfa\x42\x08\x42\x06\x30\x02\x30\x04\x30\x06\x12 \n\x0bnot_in_test\x18\x05 \x01(\x12\x42\x0b\xfa\x42\x08\x42\x06\x38\x02\x38\x04\x38\x06\x12\x1c\n\x0bignore_test\x18\x06 \x01(\x12\x42\x07\xfa\x42\x04\x42\x02@\x01"\xe9\x01\n\x0b\x46ixed32Test\x12\x1e\n\nconst_test\x18\x01 \x01(\x07\x42\n\xfa\x42\x07J\x05\r\x01\x00\x00\x00\x12%\n\x0crange_e_test\x18\x02 \x01(\x07\x42\x0f\xfa\x42\x0cJ\n\x1d\n\x00\x00\x00-\x01\x00\x00\x00\x12#\n\nrange_test\x18\x03 \x01(\x07\x42\x0f\xfa\x42\x0cJ\n\x15\n\x00\x00\x00%\x01\x00\x00\x00\x12%\n\x07in_test\x18\x04 \x01(\x07\x42\x14\xfa\x42\x11J\x0f\x35\x01\x00\x00\x00\x35\x02\x00\x00\x00\x35\x03\x00\x00\x00\x12)\n\x0bnot_in_test\x18\x05 \x01(\x07\x42\x14\xfa\x42\x11J\x0f=\x01\x00\x00\x00=\x02\x00\x00\x00=\x03\x00\x00\x00\x12\x1c\n\x0bignore_test\x18\x06 \x01(\x07\x42\x07\xfa\x42\x04J\x02@\x01"\x95\x02\n\x0b\x46ixed64Test\x12"\n\nconst_test\x18\x01 \x01(\x06\x42\x0e\xfa\x42\x0bR\t\t\x01\x00\x00\x00\x00\x00\x00\x00\x12-\n\x0crange_e_test\x18\x02 \x01(\x06\x42\x17\xfa\x42\x14R\x12\x19\n\x00\x00\x00\x00\x00\x00\x00)\x01\x00\x00\x00\x00\x00\x00\x00\x12+\n\nrange_test\x18\x03 \x01(\x06\x42\x17\xfa\x42\x14R\x12\x11\n\x00\x00\x00\x00\x00\x00\x00!\x01\x00\x00\x00\x00\x00\x00\x00\x12\x31\n\x07in_test\x18\x04 \x01(\x06\x42 \xfa\x42\x1dR\x1b\x31\x01\x00\x00\x00\x00\x00\x00\x00\x31\x02\x00\x00\x00\x00\x00\x00\x00\x31\x03\x00\x00\x00\x00\x00\x00\x00\x12\x35\n\x0bnot_in_test\x18\x05 \x01(\x06\x42 \xfa\x42\x1dR\x1b\x39\x01\x00\x00\x00\x00\x00\x00\x00\x39\x02\x00\x00\x00\x00\x00\x00\x00\x39\x03\x00\x00\x00\x00\x00\x00\x00\x12\x1c\n\x0bignore_test\x18\x06 \x01(\x06\x42\x07\xfa\x42\x04R\x02@\x01"\xea\x01\n\x0cSfixed32Test\x12\x1e\n\nconst_test\x18\x01 \x01(\x0f\x42\n\xfa\x42\x07Z\x05\r\x01\x00\x00\x00\x12%\n\x0crange_e_test\x18\x02 \x01(\x0f\x42\x0f\xfa\x42\x0cZ\n\x1d\n\x00\x00\x00-\x01\x00\x00\x00\x12#\n\nrange_test\x18\x03 \x01(\x0f\x42\x0f\xfa\x42\x0cZ\n\x15\n\x00\x00\x00%\x01\x00\x00\x00\x12%\n\x07in_test\x18\x04 \x01(\x0f\x42\x14\xfa\x42\x11Z\x0f\x35\x01\x00\x00\x00\x35\x02\x00\x00\x00\x35\x03\x00\x00\x00\x12)\n\x0bnot_in_test\x18\x05 \x01(\x0f\x42\x14\xfa\x42\x11Z\x0f=\x01\x00\x00\x00=\x02\x00\x00\x00=\x03\x00\x00\x00\x12\x1c\n\x0bignore_test\x18\x06 \x01(\x0f\x42\x07\xfa\x42\x04Z\x02@\x01"\x96\x02\n\x0cSfixed64Test\x12"\n\nconst_test\x18\x01 \x01(\x10\x42\x0e\xfa\x42\x0b\x62\t\t\x01\x00\x00\x00\x00\x00\x00\x00\x12-\n\x0crange_e_test\x18\x02 \x01(\x10\x42\x17\xfa\x42\x14\x62\x12\x19\n\x00\x00\x00\x00\x00\x00\x00)\x01\x00\x00\x00\x00\x00\x00\x00\x12+\n\nrange_test\x18\x03 \x01(\x10\x42\x17\xfa\x42\x14\x62\x12\x11\n\x00\x00\x00\x00\x00\x00\x00!\x01\x00\x00\x00\x00\x00\x00\x00\x12\x31\n\x07in_test\x18\x04 \x01(\x10\x42 \xfa\x42\x1d\x62\x1b\x31\x01\x00\x00\x00\x00\x00\x00\x00\x31\x02\x00\x00\x00\x00\x00\x00\x00\x31\x03\x00\x00\x00\x00\x00\x00\x00\x12\x35\n\x0bnot_in_test\x18\x05 \x01(\x10\x42 \xfa\x42\x1d\x62\x1b\x39\x01\x00\x00\x00\x00\x00\x00\x00\x39\x02\x00\x00\x00\x00\x00\x00\x00\x39\x03\x00\x00\x00\x00\x00\x00\x00\x12\x1c\n\x0bignore_test\x18\x06 \x01(\x10\x42\x07\xfa\x42\x04\x62\x02@\x01"F\n\x08\x42oolTest\x12\x1c\n\x0b\x62ool_1_test\x18\x01 \x01(\x08\x42\x07\xfa\x42\x04j\x02\x08\x01\x12\x1c\n\x0b\x62ool_2_test\x18\x02 \x01(\x08\x42\x07\xfa\x42\x04j\x02\x08\x00"\xc5\x05\n\nStringTest\x12\x1e\n\nconst_test\x18\x01 \x01(\tB\n\xfa\x42\x07r\x05\n\x03\x61\x61\x61\x12\x1a\n\x08len_test\x18\x02 \x01(\tB\x08\xfa\x42\x05r\x03\x98\x01\x03\x12#\n\x10s_range_len_test\x18\x03 \x01(\tB\t\xfa\x42\x06r\x04\x10\x01\x18\x03\x12#\n\x10\x62_range_len_test\x18\x04 \x01(\tB\t\xfa\x42\x06r\x04 \x01(\x03\x12"\n\x0cpattern_test\x18\x05 \x01(\tB\x0c\xfa\x42\tr\x07\x32\x05^test\x12"\n\x0bprefix_test\x18\x06 \x01(\tB\r\xfa\x42\nr\x08:\x06prefix\x12"\n\x0bsuffix_test\x18\x07 \x01(\tB\r\xfa\x42\nr\x08\x42\x06suffix\x12&\n\rcontains_test\x18\x08 \x01(\tB\x0f\xfa\x42\x0cr\nJ\x08\x63ontains\x12/\n\x11not_contains_test\x18\t \x01(\tB\x14\xfa\x42\x11r\x0f\xba\x01\x0cnot_contains\x12\x1f\n\x07in_test\x18\n \x01(\tB\x0e\xfa\x42\x0br\tR\x01\x61R\x01\x62R\x01\x63\x12#\n\x0bnot_in_test\x18\x0b \x01(\tB\x0e\xfa\x42\x0br\tZ\x01\x61Z\x01\x62Z\x01\x63\x12\x1b\n\nemail_test\x18\x0c \x01(\tB\x07\xfa\x42\x04r\x02`\x01\x12\x1e\n\rhostname_test\x18\r \x01(\tB\x07\xfa\x42\x04r\x02h\x01\x12\x18\n\x07ip_test\x18\x0e \x01(\tB\x07\xfa\x42\x04r\x02p\x01\x12\x1a\n\tipv4_test\x18\x0f \x01(\tB\x07\xfa\x42\x04r\x02x\x01\x12\x1b\n\tipv6_test\x18\x10 \x01(\tB\x08\xfa\x42\x05r\x03\x80\x01\x01\x12\x1a\n\x08uri_test\x18\x11 \x01(\tB\x08\xfa\x42\x05r\x03\x88\x01\x01\x12\x1e\n\x0curi_ref_test\x18\x12 \x01(\tB\x08\xfa\x42\x05r\x03\x90\x01\x01\x12\x1e\n\x0c\x61\x64\x64ress_test\x18\x13 \x01(\tB\x08\xfa\x42\x05r\x03\xa8\x01\x01\x12\x1b\n\tuuid_test\x18\x14 \x01(\tB\x08\xfa\x42\x05r\x03\xb0\x01\x01\x12\x1d\n\x0bignore_test\x18\x15 \x01(\tB\x08\xfa\x42\x05r\x03\xd0\x01\x01"\xc4\x02\n\tBytesTest\x12\x1f\n\nconst_test\x18\x01 \x01(\x0c\x42\x0b\xfa\x42\x08z\x06\n\x04\x64\x65mo\x12\x19\n\x08len_test\x18\x02 \x01(\x0c\x42\x07\xfa\x42\x04z\x02h\x04\x12!\n\x0erange_len_test\x18\x03 \x01(\x0c\x42\t\xfa\x42\x06z\x04\x10\x01\x18\x04\x12"\n\x0cpattern_test\x18\x04 \x01(\x0c\x42\x0c\xfa\x42\tz\x07"\x05^test\x12"\n\x0bprefix_test\x18\x05 \x01(\x0c\x42\r\xfa\x42\nz\x08*\x06prefix\x12"\n\x0bsuffix_test\x18\x06 \x01(\x0c\x42\r\xfa\x42\nz\x08\x32\x06suffix\x12&\n\rcontains_test\x18\x07 \x01(\x0c\x42\x0f\xfa\x42\x0cz\n:\x08\x63ontains\x12\x1f\n\x07in_test\x18\x08 \x01(\x0c\x42\x0e\xfa\x42\x0bz\tB\x01\x61\x42\x01\x62\x42\x01\x63\x12#\n\x0bnot_in_test\x18\t \x01(\x0c\x42\x0e\xfa\x42\x0bz\tJ\x01\x61J\x01\x62J\x01\x63"\xe3\x01\n\x08\x45numTest\x12\x32\n\nconst_test\x18\x01 \x01(\x0e\x32\x14.validate_test.StateB\x08\xfa\x42\x05\x82\x01\x02\x08\x02\x12\x39\n\x11\x64\x65\x66ined_only_test\x18\x02 \x01(\x0e\x32\x14.validate_test.StateB\x08\xfa\x42\x05\x82\x01\x02\x10\x01\x12\x31\n\x07in_test\x18\x03 \x01(\x0e\x32\x14.validate_test.StateB\n\xfa\x42\x07\x82\x01\x04\x18\x00\x18\x02\x12\x35\n\x0bnot_in_test\x18\x04 \x01(\x0e\x32\x14.validate_test.StateB\n\xfa\x42\x07\x82\x01\x04 \x00 \x02"\xc5\x06\n\x07MapTest\x12\x43\n\tpair_test\x18\x01 \x03(\x0b\x32$.validate_test.MapTest.PairTestEntryB\n\xfa\x42\x07\x9a\x01\x04\x08\x01\x10\x05\x12H\n\rno_parse_test\x18\x02 \x03(\x0b\x32\'.validate_test.MapTest.NoParseTestEntryB\x08\xfa\x42\x05\x9a\x01\x02\x18\x01\x12Q\n\tkeys_test\x18\x03 \x03(\x0b\x32$.validate_test.MapTest.KeysTestEntryB\x18\xfa\x42\t\x9a\x01\x06"\x04r\x02\x10\x01\xfa\x42\t\x9a\x01\x06"\x04r\x02\x18\x05\x12U\n\x0bvalues_test\x18\x04 \x03(\x0b\x32&.validate_test.MapTest.ValuesTestEntryB\x18\xfa\x42\t\x9a\x01\x06*\x04\x1a\x02(\x05\xfa\x42\t\x9a\x01\x06*\x04\x1a\x02\x18\x05\x12k\n\x10keys_values_test\x18\x05 \x03(\x0b\x32*.validate_test.MapTest.KeysValuesTestEntryB%\xfa\x42\t\x9a\x01\x06"\x04r\x02\x10\x01\xfa\x42\t\x9a\x01\x06"\x04r\x02\x18\x05\xfa\x42\n\x9a\x01\x07*\x05\xb2\x01\x02@\x01\x12\x45\n\x0bignore_test\x18\x06 \x03(\x0b\x32&.validate_test.MapTest.IgnoreTestEntryB\x08\xfa\x42\x05\x9a\x01\x02\x30\x01\x1a/\n\rPairTestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x32\n\x10NoParseTestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a/\n\rKeysTestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x31\n\x0fValuesTestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1aQ\n\x13KeysValuesTestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp:\x02\x38\x01\x1a\x31\n\x0fIgnoreTestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01"K\n\x0bMessageTest\x12\x1b\n\tskip_test\x18\x01 \x01(\tB\x08\xfa\x42\x05\x8a\x01\x02\x08\x01\x12\x1f\n\rrequired_test\x18\x02 \x01(\tB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01"\x84\x04\n\x0cRepeatedTest\x12\x1e\n\nrange_test\x18\x01 \x03(\tB\n\xfa\x42\x07\x92\x01\x04\x08\x01\x10\x05\x12\x1d\n\x0bunique_test\x18\x02 \x03(\tB\x08\xfa\x42\x05\x92\x01\x02\x18\x01\x12\x33\n\x11items_string_test\x18\x03 \x03(\tB\x18\xfa\x42\x07\x92\x01\x04\x08\x01\x10\x05\xfa\x42\x0b\x92\x01\x08"\x06r\x04\x10\x01\x18\x05\x12\x41\n\x11items_double_test\x18\x04 \x03(\x01\x42&\xfa\x42\x07\x92\x01\x04\x08\x01\x10\x05\xfa\x42\x19\x92\x01\x16"\x14\x12\x12\x11\x00\x00\x00\x00\x00\x00\x14@!\x00\x00\x00\x00\x00\x00\xf0?\x12\x32\n\x10items_int32_test\x18\x05 \x03(\x05\x42\x18\xfa\x42\x07\x92\x01\x04\x08\x01\x10\x05\xfa\x42\x0b\x92\x01\x08"\x06\x1a\x04\x10\x05 \x01\x12_\n\x14items_timestamp_test\x18\x06 \x03(\x0b\x32\x1a.google.protobuf.TimestampB%\xfa\x42\x07\x92\x01\x04\x08\x01\x10\x05\xfa\x42\x18\x92\x01\x15"\x13\xb2\x01\x10\x1a\x06\x08\x8a\xa0\xf8\xfa\x05*\x06\x08\x80\xa0\xf8\xfa\x05\x12U\n\x13items_duration_test\x18\x07 \x03(\x0b\x32\x19.google.protobuf.DurationB\x1d\xfa\x42\x07\x92\x01\x04\x08\x01\x10\x05\xfa\x42\x10\x92\x01\r"\x0b\xaa\x01\x08\x1a\x02\x08\x14*\x02\x08\n\x12\x32\n\x10items_bytes_test\x18\x08 \x03(\x0c\x42\x18\xfa\x42\x07\x92\x01\x04\x08\x01\x10\x05\xfa\x42\x0b\x92\x01\x08"\x06z\x04\x10\x01\x18\x05\x12\x1d\n\x0bignore_test\x18\t \x03(\tB\x08\xfa\x42\x05\x92\x01\x02(\x01"\xde\x02\n\x07\x41nyTest\x12\x35\n\rrequired_test\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x08\xfa\x42\x05\xa2\x01\x02\x08\x01\x12\x8e\x01\n\x0bnot_in_test\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyBc\xfa\x42`\xa2\x01]\x1a,type.googleapis.com/google.protobuf.Duration\x1a-type.googleapis.com/google.protobuf.Timestamp\x12\x8a\x01\n\x07in_test\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyBc\xfa\x42`\xa2\x01]\x12,type.googleapis.com/google.protobuf.Duration\x12-type.googleapis.com/google.protobuf.Timestamp"\xb7\x03\n\x0c\x44urationTest\x12:\n\rrequired_test\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xfa\x42\x05\xaa\x01\x02\x08\x01\x12?\n\nconst_test\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x10\xfa\x42\r\xaa\x01\n\x12\x08\x08\x01\x10\x80\xca\xb5\xee\x01\x12I\n\nrange_test\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x1a\xfa\x42\x17\xaa\x01\x14\x1a\x08\x08\n\x10\x80\xca\xb5\xee\x01*\x08\x08\x05\x10\x80\xca\xb5\xee\x01\x12K\n\x0crange_e_test\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x1a\xfa\x42\x17\xaa\x01\x14"\x08\x08\n\x10\x80\xca\xb5\xee\x01\x32\x08\x08\x05\x10\x80\xca\xb5\xee\x01\x12\x46\n\x07in_test\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x1a\xfa\x42\x17\xaa\x01\x14:\x08\x08\x01\x10\x80\xca\xb5\xee\x01:\x08\x08\x03\x10\x80\xca\xb5\xee\x01\x12J\n\x0bnot_in_test\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x1a\xfa\x42\x17\xaa\x01\x14\x42\x08\x08\x01\x10\x80\xca\xb5\xee\x01\x42\x08\x08\x03\x10\x80\xca\xb5\xee\x01"\x9c\x04\n\rTimestampTest\x12;\n\rrequired_test\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xfa\x42\x05\xb2\x01\x02\x08\x01\x12>\n\nconst_test\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x0e\xfa\x42\x0b\xb2\x01\x08\x12\x06\x08\x80\xa0\xf8\xfa\x05\x12\x46\n\nrange_test\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x16\xfa\x42\x13\xb2\x01\x10\x1a\x06\x08\x8a\xa0\xf8\xfa\x05*\x06\x08\x80\xa0\xf8\xfa\x05\x12H\n\x0crange_e_test\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x16\xfa\x42\x13\xb2\x01\x10"\x06\x08\x8a\xa0\xf8\xfa\x05\x32\x06\x08\x80\xa0\xf8\xfa\x05\x12\x39\n\x0blt_now_test\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xfa\x42\x05\xb2\x01\x02\x38\x01\x12\x39\n\x0bgt_now_test\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xfa\x42\x05\xb2\x01\x02@\x01\x12;\n\x0bwithin_test\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\n\xfa\x42\x07\xb2\x01\x04J\x02\x08\x01\x12I\n\x16within_and_gt_now_test\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\xfa\x42\n\xb2\x01\x07@\x01J\x03\x08\x90\x1c"\x86\x01\n\x13MessageDisabledTest\x12\x1e\n\nconst_test\x18\x01 \x01(\x11\x42\n\xfa\x42\x07\n\x05\r\x00\x00\x80?\x12%\n\x0crange_e_test\x18\x02 \x01(\x11\x42\x0f\xfa\x42\x0c\n\n\x1d\x00\x00 A-\x00\x00\x80?\x12#\n\nrange_test\x18\x03 \x01(\x11\x42\x0f\xfa\x42\x0c\n\n\x15\x00\x00 A%\x00\x00\x80?:\x03\xf8\x42\x01"\x85\x01\n\x12MessageIgnoredTest\x12\x1e\n\nconst_test\x18\x01 \x01(\x11\x42\n\xfa\x42\x07\n\x05\r\x00\x00\x80?\x12%\n\x0crange_e_test\x18\x02 \x01(\x11\x42\x0f\xfa\x42\x0c\n\n\x1d\x00\x00 A-\x00\x00\x80?\x12#\n\nrange_test\x18\x03 \x01(\x11\x42\x0f\xfa\x42\x0c\n\n\x15\x00\x00 A%\x00\x00\x80?:\x03\x80\x43\x01"@\n\tOneOfTest\x12\x0e\n\x06header\x18\x01 \x01(\t\x12\x0b\n\x01x\x18\x02 \x01(\tH\x00\x12\x0b\n\x01y\x18\x03 \x01(\x05H\x00\x42\t\n\x02id\x12\x03\xf8\x42\x01">\n\x0cOneOfNotTest\x12\x0e\n\x06header\x18\x01 \x01(\t\x12\x0b\n\x01x\x18\x02 \x01(\tH\x00\x12\x0b\n\x01y\x18\x03 \x01(\x05H\x00\x42\x04\n\x02id"\xc5\x06\n\rNestedMessage\x12M\n\x12string_in_map_test\x18\x01 \x03(\x0b\x32\x31.validate_test.NestedMessage.StringInMapTestEntry\x12G\n\x0fmap_in_map_test\x18\x02 \x03(\x0b\x32..validate_test.NestedMessage.MapInMapTestEntry\x12=\n\x08user_pay\x18\x03 \x01(\x0b\x32+.validate_test.NestedMessage.UserPayMessage\x12[\n\x13not_enable_user_pay\x18\x04 \x01(\x0b\x32\x34.validate_test.NestedMessage.NotEnableUserPayMessageB\x08\xfa\x42\x05\x8a\x01\x02\x08\x01\x12%\n\x05\x65mpty\x18\x05 \x01(\x0b\x32\x16.google.protobuf.Empty\x12\x35\n\x0b\x61\x66ter_refer\x18\x07 \x01(\x0b\x32 .validate_test.AfterReferMessage\x1a{\n\x0eUserPayMessage\x12\x1e\n\x0b\x62\x61nk_number\x18\x01 \x01(\tB\t\xfa\x42\x06r\x04\x10\r\x18\x13\x12\x31\n\x03\x65xp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xfa\x42\x05\xb2\x01\x02@\x01\x12\x16\n\x04uuid\x18\x03 \x01(\tB\x08\xfa\x42\x05r\x03\xb0\x01\x01\x1a\x84\x01\n\x17NotEnableUserPayMessage\x12\x1e\n\x0b\x62\x61nk_number\x18\x01 \x01(\tB\t\xfa\x42\x06r\x04\x10\r\x18\x13\x12\x31\n\x03\x65xp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xfa\x42\x05\xb2\x01\x02@\x01\x12\x16\n\x04uuid\x18\x03 \x01(\tB\x08\xfa\x42\x05r\x03\xb0\x01\x01\x1aQ\n\x14StringInMapTestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12(\n\x05value\x18\x02 \x01(\x0b\x32\x19.validate_test.StringTest:\x02\x38\x01\x1aK\n\x11MapInMapTestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.validate_test.MapTest:\x02\x38\x01"B\n\x11\x41\x66terReferMessage\x12\x14\n\x03uid\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01\x12\x17\n\x03\x61ge\x18\x02 \x01(\x05\x42\n\xfa\x42\x07\x1a\x05\x10\xf4\x03(\x00*.\n\x05State\x12\x0c\n\x08INACTIVE\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x62\x06proto3', - dependencies=[ - google_dot_protobuf_dot_any__pb2.DESCRIPTOR, - google_dot_protobuf_dot_empty__pb2.DESCRIPTOR, - google_dot_protobuf_dot_duration__pb2.DESCRIPTOR, - google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR, - example_dot_example__proto_dot_common_dot_validate__pb2.DESCRIPTOR, - ], -) - -_STATE = _descriptor.EnumDescriptor( - name="State", - full_name="validate_test.State", - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name="INACTIVE", - index=0, - number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="PENDING", - index=1, - number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.EnumValueDescriptor( - name="ACTIVE", - index=2, - number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key, - ), - ], - containing_type=None, - serialized_options=None, - serialized_start=8409, - serialized_end=8455, -) -_sym_db.RegisterEnumDescriptor(_STATE) - -State = enum_type_wrapper.EnumTypeWrapper(_STATE) -INACTIVE = 0 -PENDING = 1 -ACTIVE = 2 - - -_FLOATTEST = _descriptor.Descriptor( - name="FloatTest", - full_name="validate_test.FloatTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="validate_test.FloatTest.const_test", - index=0, - number=1, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\007\n\005\r\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="validate_test.FloatTest.range_e_test", - index=1, - number=2, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\014\n\n\035\000\000 A-\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="validate_test.FloatTest.range_test", - index=2, - number=3, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\014\n\n\025\000\000 A%\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="validate_test.FloatTest.in_test", - index=3, - number=4, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\021\n\0175\000\000\200?5\000\000\000@5\000\000@@", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="validate_test.FloatTest.not_in_test", - index=4, - number=5, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\021\n\017=\000\000\200?=\000\000\000@=\000\000@@", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_test", - full_name="validate_test.FloatTest.ignore_test", - index=5, - number=6, - type=2, - cpp_type=6, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\004\n\002@\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=227, - serialized_end=458, -) - - -_DOUBLETEST = _descriptor.Descriptor( - name="DoubleTest", - full_name="validate_test.DoubleTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="validate_test.DoubleTest.const_test", - index=0, - number=1, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\013\022\t\t\000\000\000\000\000\000\360?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="validate_test.DoubleTest.range_e_test", - index=1, - number=2, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\024\022\022\031\000\000\000\000\000\000$@)\000\000\000\000\000\000\360?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="validate_test.DoubleTest.range_test", - index=2, - number=3, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\024\022\022\021\000\000\000\000\000\000$@!\000\000\000\000\000\000\360?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="validate_test.DoubleTest.in_test", - index=3, - number=4, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\035\022\0331\000\000\000\000\000\000\360?1\000\000\000\000\000\000\000@1\000\000\000\000\000\000\010@", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="validate_test.DoubleTest.not_in_test", - index=4, - number=5, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\035\022\0339\000\000\000\000\000\000\360?9\000\000\000\000\000\000\000@9\000\000\000\000\000\000\010@", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_test", - full_name="validate_test.DoubleTest.ignore_test", - index=5, - number=6, - type=1, - cpp_type=5, - label=1, - has_default_value=False, - default_value=float(0), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\004\022\002@\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=461, - serialized_end=737, -) - - -_INT32TEST = _descriptor.Descriptor( - name="Int32Test", - full_name="validate_test.Int32Test", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="validate_test.Int32Test.const_test", - index=0, - number=1, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\004\032\002\010\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="validate_test.Int32Test.range_e_test", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\006\032\004\030\n(\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="validate_test.Int32Test.range_test", - index=2, - number=3, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\006\032\004\020\n \001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="validate_test.Int32Test.in_test", - index=3, - number=4, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\010\032\0060\0010\0020\003", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="validate_test.Int32Test.not_in_test", - index=4, - number=5, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\010\032\0068\0018\0028\003", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_test", - full_name="validate_test.Int32Test.ignore_test", - index=5, - number=6, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\004\032\002@\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=740, - serialized_end=938, -) - - -_UINT32TEST = _descriptor.Descriptor( - name="Uint32Test", - full_name="validate_test.Uint32Test", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="validate_test.Uint32Test.const_test", - index=0, - number=1, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\004*\002\010\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="validate_test.Uint32Test.range_e_test", - index=1, - number=2, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\006*\004\030\n(\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="validate_test.Uint32Test.range_test", - index=2, - number=3, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\006*\004\020\n \001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="validate_test.Uint32Test.in_test", - index=3, - number=4, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\010*\0060\0010\0020\003", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="validate_test.Uint32Test.not_in_test", - index=4, - number=5, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\010*\0068\0018\0028\003", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_test", - full_name="validate_test.Uint32Test.ignore_test", - index=5, - number=6, - type=13, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\004*\002@\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=941, - serialized_end=1140, -) - - -_SINT32TEST = _descriptor.Descriptor( - name="Sint32Test", - full_name="validate_test.Sint32Test", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="validate_test.Sint32Test.const_test", - index=0, - number=1, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\004:\002\010\002", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="validate_test.Sint32Test.range_e_test", - index=1, - number=2, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\006:\004\030\024(\002", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="validate_test.Sint32Test.range_test", - index=2, - number=3, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\006:\004\020\024 \002", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="validate_test.Sint32Test.in_test", - index=3, - number=4, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\010:\0060\0020\0040\006", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="validate_test.Sint32Test.not_in_test", - index=4, - number=5, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\010:\0068\0028\0048\006", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_test", - full_name="validate_test.Sint32Test.ignore_test", - index=5, - number=6, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\004:\002@\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1143, - serialized_end=1342, -) - - -_INT64TEST = _descriptor.Descriptor( - name="Int64Test", - full_name="validate_test.Int64Test", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="validate_test.Int64Test.const_test", - index=0, - number=1, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\372B\004"\002\010\001', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="validate_test.Int64Test.range_e_test", - index=1, - number=2, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\372B\006"\004\030\n(\001', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="validate_test.Int64Test.range_test", - index=2, - number=3, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\372B\006"\004\020\n \001', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="validate_test.Int64Test.in_test", - index=3, - number=4, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\372B\010"\0060\0010\0020\003', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="validate_test.Int64Test.not_in_test", - index=4, - number=5, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\372B\010"\0068\0018\0028\003', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_test", - full_name="validate_test.Int64Test.ignore_test", - index=5, - number=6, - type=3, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\372B\004"\002@\001', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1345, - serialized_end=1543, -) - - -_UINT64TEST = _descriptor.Descriptor( - name="Uint64Test", - full_name="validate_test.Uint64Test", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="validate_test.Uint64Test.const_test", - index=0, - number=1, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\0042\002\010\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="validate_test.Uint64Test.range_e_test", - index=1, - number=2, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\0062\004\030\n(\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="validate_test.Uint64Test.range_test", - index=2, - number=3, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\0062\004\020\n \001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="validate_test.Uint64Test.in_test", - index=3, - number=4, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\0102\0060\0010\0020\003", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="validate_test.Uint64Test.not_in_test", - index=4, - number=5, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\0102\0068\0018\0028\003", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_test", - full_name="validate_test.Uint64Test.ignore_test", - index=5, - number=6, - type=4, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\0042\002@\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1546, - serialized_end=1745, -) - - -_SINT64TEST = _descriptor.Descriptor( - name="Sint64Test", - full_name="validate_test.Sint64Test", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="validate_test.Sint64Test.const_test", - index=0, - number=1, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\004B\002\010\002", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="validate_test.Sint64Test.range_e_test", - index=1, - number=2, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\006B\004\030\024(\002", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="validate_test.Sint64Test.range_test", - index=2, - number=3, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\006B\004\020\024 \002", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="validate_test.Sint64Test.in_test", - index=3, - number=4, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\010B\0060\0020\0040\006", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="validate_test.Sint64Test.not_in_test", - index=4, - number=5, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\010B\0068\0028\0048\006", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_test", - full_name="validate_test.Sint64Test.ignore_test", - index=5, - number=6, - type=18, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\004B\002@\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1748, - serialized_end=1947, -) - - -_FIXED32TEST = _descriptor.Descriptor( - name="Fixed32Test", - full_name="validate_test.Fixed32Test", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="validate_test.Fixed32Test.const_test", - index=0, - number=1, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\007J\005\r\001\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="validate_test.Fixed32Test.range_e_test", - index=1, - number=2, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\014J\n\035\n\000\000\000-\001\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="validate_test.Fixed32Test.range_test", - index=2, - number=3, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\014J\n\025\n\000\000\000%\001\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="validate_test.Fixed32Test.in_test", - index=3, - number=4, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\021J\0175\001\000\000\0005\002\000\000\0005\003\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="validate_test.Fixed32Test.not_in_test", - index=4, - number=5, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\021J\017=\001\000\000\000=\002\000\000\000=\003\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_test", - full_name="validate_test.Fixed32Test.ignore_test", - index=5, - number=6, - type=7, - cpp_type=3, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\004J\002@\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=1950, - serialized_end=2183, -) - - -_FIXED64TEST = _descriptor.Descriptor( - name="Fixed64Test", - full_name="validate_test.Fixed64Test", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="validate_test.Fixed64Test.const_test", - index=0, - number=1, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\013R\t\t\001\000\000\000\000\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="validate_test.Fixed64Test.range_e_test", - index=1, - number=2, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\024R\022\031\n\000\000\000\000\000\000\000)\001\000\000\000\000\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="validate_test.Fixed64Test.range_test", - index=2, - number=3, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\024R\022\021\n\000\000\000\000\000\000\000!\001\000\000\000\000\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="validate_test.Fixed64Test.in_test", - index=3, - number=4, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\035R\0331\001\000\000\000\000\000\000\0001\002\000\000\000\000\000\000\0001\003\000\000\000\000\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="validate_test.Fixed64Test.not_in_test", - index=4, - number=5, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\035R\0339\001\000\000\000\000\000\000\0009\002\000\000\000\000\000\000\0009\003\000\000\000\000\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_test", - full_name="validate_test.Fixed64Test.ignore_test", - index=5, - number=6, - type=6, - cpp_type=4, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\004R\002@\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=2186, - serialized_end=2463, -) - - -_SFIXED32TEST = _descriptor.Descriptor( - name="Sfixed32Test", - full_name="validate_test.Sfixed32Test", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="validate_test.Sfixed32Test.const_test", - index=0, - number=1, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\007Z\005\r\001\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="validate_test.Sfixed32Test.range_e_test", - index=1, - number=2, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\014Z\n\035\n\000\000\000-\001\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="validate_test.Sfixed32Test.range_test", - index=2, - number=3, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\014Z\n\025\n\000\000\000%\001\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="validate_test.Sfixed32Test.in_test", - index=3, - number=4, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\021Z\0175\001\000\000\0005\002\000\000\0005\003\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="validate_test.Sfixed32Test.not_in_test", - index=4, - number=5, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\021Z\017=\001\000\000\000=\002\000\000\000=\003\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_test", - full_name="validate_test.Sfixed32Test.ignore_test", - index=5, - number=6, - type=15, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\004Z\002@\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=2466, - serialized_end=2700, -) - - -_SFIXED64TEST = _descriptor.Descriptor( - name="Sfixed64Test", - full_name="validate_test.Sfixed64Test", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="validate_test.Sfixed64Test.const_test", - index=0, - number=1, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\013b\t\t\001\000\000\000\000\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="validate_test.Sfixed64Test.range_e_test", - index=1, - number=2, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\024b\022\031\n\000\000\000\000\000\000\000)\001\000\000\000\000\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="validate_test.Sfixed64Test.range_test", - index=2, - number=3, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\024b\022\021\n\000\000\000\000\000\000\000!\001\000\000\000\000\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="validate_test.Sfixed64Test.in_test", - index=3, - number=4, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\035b\0331\001\000\000\000\000\000\000\0001\002\000\000\000\000\000\000\0001\003\000\000\000\000\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="validate_test.Sfixed64Test.not_in_test", - index=4, - number=5, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\035b\0339\001\000\000\000\000\000\000\0009\002\000\000\000\000\000\000\0009\003\000\000\000\000\000\000\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_test", - full_name="validate_test.Sfixed64Test.ignore_test", - index=5, - number=6, - type=16, - cpp_type=2, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\004b\002@\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=2703, - serialized_end=2981, -) - - -_BOOLTEST = _descriptor.Descriptor( - name="BoolTest", - full_name="validate_test.BoolTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="bool_1_test", - full_name="validate_test.BoolTest.bool_1_test", - index=0, - number=1, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\004j\002\010\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="bool_2_test", - full_name="validate_test.BoolTest.bool_2_test", - index=1, - number=2, - type=8, - cpp_type=7, - label=1, - has_default_value=False, - default_value=False, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\004j\002\010\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=2983, - serialized_end=3053, -) - - -_STRINGTEST = _descriptor.Descriptor( - name="StringTest", - full_name="validate_test.StringTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="validate_test.StringTest.const_test", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\007r\005\n\003aaa", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="len_test", - full_name="validate_test.StringTest.len_test", - index=1, - number=2, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\005r\003\230\001\003", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="s_range_len_test", - full_name="validate_test.StringTest.s_range_len_test", - index=2, - number=3, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\006r\004\020\001\030\003", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="b_range_len_test", - full_name="validate_test.StringTest.b_range_len_test", - index=3, - number=4, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\006r\004 \001(\003", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="pattern_test", - full_name="validate_test.StringTest.pattern_test", - index=4, - number=5, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\tr\0072\005^test", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="prefix_test", - full_name="validate_test.StringTest.prefix_test", - index=5, - number=6, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\nr\010:\006prefix", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="suffix_test", - full_name="validate_test.StringTest.suffix_test", - index=6, - number=7, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\nr\010B\006suffix", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="contains_test", - full_name="validate_test.StringTest.contains_test", - index=7, - number=8, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\014r\nJ\010contains", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_contains_test", - full_name="validate_test.StringTest.not_contains_test", - index=8, - number=9, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\021r\017\272\001\014not_contains", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="validate_test.StringTest.in_test", - index=9, - number=10, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\013r\tR\001aR\001bR\001c", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="validate_test.StringTest.not_in_test", - index=10, - number=11, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\013r\tZ\001aZ\001bZ\001c", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="email_test", - full_name="validate_test.StringTest.email_test", - index=11, - number=12, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\004r\002`\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="hostname_test", - full_name="validate_test.StringTest.hostname_test", - index=12, - number=13, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\004r\002h\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ip_test", - full_name="validate_test.StringTest.ip_test", - index=13, - number=14, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\004r\002p\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ipv4_test", - full_name="validate_test.StringTest.ipv4_test", - index=14, - number=15, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\004r\002x\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ipv6_test", - full_name="validate_test.StringTest.ipv6_test", - index=15, - number=16, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\005r\003\200\001\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="uri_test", - full_name="validate_test.StringTest.uri_test", - index=16, - number=17, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\005r\003\210\001\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="uri_ref_test", - full_name="validate_test.StringTest.uri_ref_test", - index=17, - number=18, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\005r\003\220\001\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="address_test", - full_name="validate_test.StringTest.address_test", - index=18, - number=19, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\005r\003\250\001\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="uuid_test", - full_name="validate_test.StringTest.uuid_test", - index=19, - number=20, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\005r\003\260\001\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_test", - full_name="validate_test.StringTest.ignore_test", - index=20, - number=21, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\005r\003\320\001\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=3056, - serialized_end=3765, -) - - -_BYTESTEST = _descriptor.Descriptor( - name="BytesTest", - full_name="validate_test.BytesTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="validate_test.BytesTest.const_test", - index=0, - number=1, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\010z\006\n\004demo", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="len_test", - full_name="validate_test.BytesTest.len_test", - index=1, - number=2, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\004z\002h\004", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_len_test", - full_name="validate_test.BytesTest.range_len_test", - index=2, - number=3, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\006z\004\020\001\030\004", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="pattern_test", - full_name="validate_test.BytesTest.pattern_test", - index=3, - number=4, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\372B\tz\007"\005^test', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="prefix_test", - full_name="validate_test.BytesTest.prefix_test", - index=4, - number=5, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\nz\010*\006prefix", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="suffix_test", - full_name="validate_test.BytesTest.suffix_test", - index=5, - number=6, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\nz\0102\006suffix", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="contains_test", - full_name="validate_test.BytesTest.contains_test", - index=6, - number=7, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\014z\n:\010contains", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="validate_test.BytesTest.in_test", - index=7, - number=8, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\013z\tB\001aB\001bB\001c", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="validate_test.BytesTest.not_in_test", - index=8, - number=9, - type=12, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"", - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\013z\tJ\001aJ\001bJ\001c", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=3768, - serialized_end=4092, -) - - -_ENUMTEST = _descriptor.Descriptor( - name="EnumTest", - full_name="validate_test.EnumTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="validate_test.EnumTest.const_test", - index=0, - number=1, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\005\202\001\002\010\002", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="defined_only_test", - full_name="validate_test.EnumTest.defined_only_test", - index=1, - number=2, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\005\202\001\002\020\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="validate_test.EnumTest.in_test", - index=2, - number=3, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\007\202\001\004\030\000\030\002", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="validate_test.EnumTest.not_in_test", - index=3, - number=4, - type=14, - cpp_type=8, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\007\202\001\004 \000 \002", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=4095, - serialized_end=4322, -) - - -_MAPTEST_PAIRTESTENTRY = _descriptor.Descriptor( - name="PairTestEntry", - full_name="validate_test.MapTest.PairTestEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="validate_test.MapTest.PairTestEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="validate_test.MapTest.PairTestEntry.value", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=4829, - serialized_end=4876, -) - -_MAPTEST_NOPARSETESTENTRY = _descriptor.Descriptor( - name="NoParseTestEntry", - full_name="validate_test.MapTest.NoParseTestEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="validate_test.MapTest.NoParseTestEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="validate_test.MapTest.NoParseTestEntry.value", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=4878, - serialized_end=4928, -) - -_MAPTEST_KEYSTESTENTRY = _descriptor.Descriptor( - name="KeysTestEntry", - full_name="validate_test.MapTest.KeysTestEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="validate_test.MapTest.KeysTestEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="validate_test.MapTest.KeysTestEntry.value", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=4930, - serialized_end=4977, -) - -_MAPTEST_VALUESTESTENTRY = _descriptor.Descriptor( - name="ValuesTestEntry", - full_name="validate_test.MapTest.ValuesTestEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="validate_test.MapTest.ValuesTestEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="validate_test.MapTest.ValuesTestEntry.value", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=4979, - serialized_end=5028, -) - -_MAPTEST_KEYSVALUESTESTENTRY = _descriptor.Descriptor( - name="KeysValuesTestEntry", - full_name="validate_test.MapTest.KeysValuesTestEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="validate_test.MapTest.KeysValuesTestEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="validate_test.MapTest.KeysValuesTestEntry.value", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=5030, - serialized_end=5111, -) - -_MAPTEST_IGNORETESTENTRY = _descriptor.Descriptor( - name="IgnoreTestEntry", - full_name="validate_test.MapTest.IgnoreTestEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="validate_test.MapTest.IgnoreTestEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="validate_test.MapTest.IgnoreTestEntry.value", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=5113, - serialized_end=5162, -) - -_MAPTEST = _descriptor.Descriptor( - name="MapTest", - full_name="validate_test.MapTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="pair_test", - full_name="validate_test.MapTest.pair_test", - index=0, - number=1, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\007\232\001\004\010\001\020\005", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="no_parse_test", - full_name="validate_test.MapTest.no_parse_test", - index=1, - number=2, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\005\232\001\002\030\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="keys_test", - full_name="validate_test.MapTest.keys_test", - index=2, - number=3, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\372B\t\232\001\006"\004r\002\020\001\372B\t\232\001\006"\004r\002\030\005', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="values_test", - full_name="validate_test.MapTest.values_test", - index=3, - number=4, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\t\232\001\006*\004\032\002(\005\372B\t\232\001\006*\004\032\002\030\005", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="keys_values_test", - full_name="validate_test.MapTest.keys_values_test", - index=4, - number=5, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\372B\t\232\001\006"\004r\002\020\001\372B\t\232\001\006"\004r\002\030\005\372B\n\232\001\007*\005\262\001\002@\001', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_test", - full_name="validate_test.MapTest.ignore_test", - index=5, - number=6, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\005\232\001\0020\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[ - _MAPTEST_PAIRTESTENTRY, - _MAPTEST_NOPARSETESTENTRY, - _MAPTEST_KEYSTESTENTRY, - _MAPTEST_VALUESTESTENTRY, - _MAPTEST_KEYSVALUESTESTENTRY, - _MAPTEST_IGNORETESTENTRY, - ], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=4325, - serialized_end=5162, -) - - -_MESSAGETEST = _descriptor.Descriptor( - name="MessageTest", - full_name="validate_test.MessageTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="skip_test", - full_name="validate_test.MessageTest.skip_test", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\005\212\001\002\010\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="required_test", - full_name="validate_test.MessageTest.required_test", - index=1, - number=2, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\005\212\001\002\020\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=5164, - serialized_end=5239, -) - - -_REPEATEDTEST = _descriptor.Descriptor( - name="RepeatedTest", - full_name="validate_test.RepeatedTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="range_test", - full_name="validate_test.RepeatedTest.range_test", - index=0, - number=1, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\007\222\001\004\010\001\020\005", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="unique_test", - full_name="validate_test.RepeatedTest.unique_test", - index=1, - number=2, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\005\222\001\002\030\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="items_string_test", - full_name="validate_test.RepeatedTest.items_string_test", - index=2, - number=3, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\372B\007\222\001\004\010\001\020\005\372B\013\222\001\010"\006r\004\020\001\030\005', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="items_double_test", - full_name="validate_test.RepeatedTest.items_double_test", - index=3, - number=4, - type=1, - cpp_type=5, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\372B\007\222\001\004\010\001\020\005\372B\031\222\001\026"\024\022\022\021\000\000\000\000\000\000\024@!\000\000\000\000\000\000\360?', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="items_int32_test", - full_name="validate_test.RepeatedTest.items_int32_test", - index=4, - number=5, - type=5, - cpp_type=1, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\372B\007\222\001\004\010\001\020\005\372B\013\222\001\010"\006\032\004\020\005 \001', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="items_timestamp_test", - full_name="validate_test.RepeatedTest.items_timestamp_test", - index=5, - number=6, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\372B\007\222\001\004\010\001\020\005\372B\030\222\001\025"\023\262\001\020\032\006\010\212\240\370\372\005*\006\010\200\240\370\372\005', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="items_duration_test", - full_name="validate_test.RepeatedTest.items_duration_test", - index=6, - number=7, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\372B\007\222\001\004\010\001\020\005\372B\020\222\001\r"\013\252\001\010\032\002\010\024*\002\010\n', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="items_bytes_test", - full_name="validate_test.RepeatedTest.items_bytes_test", - index=7, - number=8, - type=12, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\372B\007\222\001\004\010\001\020\005\372B\013\222\001\010"\006z\004\020\001\030\005', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="ignore_test", - full_name="validate_test.RepeatedTest.ignore_test", - index=8, - number=9, - type=9, - cpp_type=9, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\005\222\001\002(\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=5242, - serialized_end=5758, -) - - -_ANYTEST = _descriptor.Descriptor( - name="AnyTest", - full_name="validate_test.AnyTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="required_test", - full_name="validate_test.AnyTest.required_test", - index=0, - number=1, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\005\242\001\002\010\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="validate_test.AnyTest.not_in_test", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B`\242\001]\032,type.googleapis.com/google.protobuf.Duration\032-type.googleapis.com/google.protobuf.Timestamp", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="validate_test.AnyTest.in_test", - index=2, - number=3, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B`\242\001]\022,type.googleapis.com/google.protobuf.Duration\022-type.googleapis.com/google.protobuf.Timestamp", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=5761, - serialized_end=6111, -) - - -_DURATIONTEST = _descriptor.Descriptor( - name="DurationTest", - full_name="validate_test.DurationTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="required_test", - full_name="validate_test.DurationTest.required_test", - index=0, - number=1, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\005\252\001\002\010\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="const_test", - full_name="validate_test.DurationTest.const_test", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\r\252\001\n\022\010\010\001\020\200\312\265\356\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="validate_test.DurationTest.range_test", - index=2, - number=3, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\027\252\001\024\032\010\010\n\020\200\312\265\356\001*\010\010\005\020\200\312\265\356\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="validate_test.DurationTest.range_e_test", - index=3, - number=4, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\372B\027\252\001\024"\010\010\n\020\200\312\265\356\0012\010\010\005\020\200\312\265\356\001', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="in_test", - full_name="validate_test.DurationTest.in_test", - index=4, - number=5, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\027\252\001\024:\010\010\001\020\200\312\265\356\001:\010\010\003\020\200\312\265\356\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_in_test", - full_name="validate_test.DurationTest.not_in_test", - index=5, - number=6, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\027\252\001\024B\010\010\001\020\200\312\265\356\001B\010\010\003\020\200\312\265\356\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=6114, - serialized_end=6553, -) - - -_TIMESTAMPTEST = _descriptor.Descriptor( - name="TimestampTest", - full_name="validate_test.TimestampTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="required_test", - full_name="validate_test.TimestampTest.required_test", - index=0, - number=1, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\005\262\001\002\010\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="const_test", - full_name="validate_test.TimestampTest.const_test", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\013\262\001\010\022\006\010\200\240\370\372\005", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="validate_test.TimestampTest.range_test", - index=2, - number=3, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\023\262\001\020\032\006\010\212\240\370\372\005*\006\010\200\240\370\372\005", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="validate_test.TimestampTest.range_e_test", - index=3, - number=4, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b'\372B\023\262\001\020"\006\010\212\240\370\372\0052\006\010\200\240\370\372\005', - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="lt_now_test", - full_name="validate_test.TimestampTest.lt_now_test", - index=4, - number=5, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\005\262\001\0028\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="gt_now_test", - full_name="validate_test.TimestampTest.gt_now_test", - index=5, - number=6, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\005\262\001\002@\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="within_test", - full_name="validate_test.TimestampTest.within_test", - index=6, - number=7, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\007\262\001\004J\002\010\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="within_and_gt_now_test", - full_name="validate_test.TimestampTest.within_and_gt_now_test", - index=7, - number=8, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\n\262\001\007@\001J\003\010\220\034", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=6556, - serialized_end=7096, -) - - -_MESSAGEDISABLEDTEST = _descriptor.Descriptor( - name="MessageDisabledTest", - full_name="validate_test.MessageDisabledTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="validate_test.MessageDisabledTest.const_test", - index=0, - number=1, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\007\n\005\r\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="validate_test.MessageDisabledTest.range_e_test", - index=1, - number=2, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\014\n\n\035\000\000 A-\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="validate_test.MessageDisabledTest.range_test", - index=2, - number=3, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\014\n\n\025\000\000 A%\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"\370B\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=7099, - serialized_end=7233, -) - - -_MESSAGEIGNOREDTEST = _descriptor.Descriptor( - name="MessageIgnoredTest", - full_name="validate_test.MessageIgnoredTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="const_test", - full_name="validate_test.MessageIgnoredTest.const_test", - index=0, - number=1, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\007\n\005\r\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_e_test", - full_name="validate_test.MessageIgnoredTest.range_e_test", - index=1, - number=2, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\014\n\n\035\000\000 A-\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="range_test", - full_name="validate_test.MessageIgnoredTest.range_test", - index=2, - number=3, - type=17, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\014\n\n\025\000\000 A%\000\000\200?", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"\200C\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=7236, - serialized_end=7369, -) - - -_ONEOFTEST = _descriptor.Descriptor( - name="OneOfTest", - full_name="validate_test.OneOfTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="header", - full_name="validate_test.OneOfTest.header", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="x", - full_name="validate_test.OneOfTest.x", - index=1, - number=2, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="y", - full_name="validate_test.OneOfTest.y", - index=2, - number=3, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="id", - full_name="validate_test.OneOfTest.id", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - serialized_options=b"\370B\001", - ), - ], - serialized_start=7371, - serialized_end=7435, -) - - -_ONEOFNOTTEST = _descriptor.Descriptor( - name="OneOfNotTest", - full_name="validate_test.OneOfNotTest", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="header", - full_name="validate_test.OneOfNotTest.header", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="x", - full_name="validate_test.OneOfNotTest.x", - index=1, - number=2, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="y", - full_name="validate_test.OneOfNotTest.y", - index=2, - number=3, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name="id", - full_name="validate_test.OneOfNotTest.id", - index=0, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[], - ), - ], - serialized_start=7437, - serialized_end=7499, -) - - -_NESTEDMESSAGE_USERPAYMESSAGE = _descriptor.Descriptor( - name="UserPayMessage", - full_name="validate_test.NestedMessage.UserPayMessage", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="bank_number", - full_name="validate_test.NestedMessage.UserPayMessage.bank_number", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\006r\004\020\r\030\023", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="exp", - full_name="validate_test.NestedMessage.UserPayMessage.exp", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\005\262\001\002@\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="uuid", - full_name="validate_test.NestedMessage.UserPayMessage.uuid", - index=2, - number=3, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\005r\003\260\001\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=7921, - serialized_end=8044, -) - -_NESTEDMESSAGE_NOTENABLEUSERPAYMESSAGE = _descriptor.Descriptor( - name="NotEnableUserPayMessage", - full_name="validate_test.NestedMessage.NotEnableUserPayMessage", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="bank_number", - full_name="validate_test.NestedMessage.NotEnableUserPayMessage.bank_number", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\006r\004\020\r\030\023", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="exp", - full_name="validate_test.NestedMessage.NotEnableUserPayMessage.exp", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\005\262\001\002@\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="uuid", - full_name="validate_test.NestedMessage.NotEnableUserPayMessage.uuid", - index=2, - number=3, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\005r\003\260\001\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=8047, - serialized_end=8179, -) - -_NESTEDMESSAGE_STRINGINMAPTESTENTRY = _descriptor.Descriptor( - name="StringInMapTestEntry", - full_name="validate_test.NestedMessage.StringInMapTestEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="validate_test.NestedMessage.StringInMapTestEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="validate_test.NestedMessage.StringInMapTestEntry.value", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=8181, - serialized_end=8262, -) - -_NESTEDMESSAGE_MAPINMAPTESTENTRY = _descriptor.Descriptor( - name="MapInMapTestEntry", - full_name="validate_test.NestedMessage.MapInMapTestEntry", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="key", - full_name="validate_test.NestedMessage.MapInMapTestEntry.key", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="value", - full_name="validate_test.NestedMessage.MapInMapTestEntry.value", - index=1, - number=2, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=b"8\001", - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=8264, - serialized_end=8339, -) - -_NESTEDMESSAGE = _descriptor.Descriptor( - name="NestedMessage", - full_name="validate_test.NestedMessage", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="string_in_map_test", - full_name="validate_test.NestedMessage.string_in_map_test", - index=0, - number=1, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="map_in_map_test", - full_name="validate_test.NestedMessage.map_in_map_test", - index=1, - number=2, - type=11, - cpp_type=10, - label=3, - has_default_value=False, - default_value=[], - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="user_pay", - full_name="validate_test.NestedMessage.user_pay", - index=2, - number=3, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="not_enable_user_pay", - full_name="validate_test.NestedMessage.not_enable_user_pay", - index=3, - number=4, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\005\212\001\002\010\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="empty", - full_name="validate_test.NestedMessage.empty", - index=4, - number=5, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="after_refer", - full_name="validate_test.NestedMessage.after_refer", - index=5, - number=7, - type=11, - cpp_type=10, - label=1, - has_default_value=False, - default_value=None, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[ - _NESTEDMESSAGE_USERPAYMESSAGE, - _NESTEDMESSAGE_NOTENABLEUSERPAYMESSAGE, - _NESTEDMESSAGE_STRINGINMAPTESTENTRY, - _NESTEDMESSAGE_MAPINMAPTESTENTRY, - ], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=7502, - serialized_end=8339, -) - - -_AFTERREFERMESSAGE = _descriptor.Descriptor( - name="AfterReferMessage", - full_name="validate_test.AfterReferMessage", - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name="uid", - full_name="validate_test.AfterReferMessage.uid", - index=0, - number=1, - type=9, - cpp_type=9, - label=1, - has_default_value=False, - default_value=b"".decode("utf-8"), - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\004r\002\020\001", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - _descriptor.FieldDescriptor( - name="age", - full_name="validate_test.AfterReferMessage.age", - index=1, - number=2, - type=5, - cpp_type=1, - label=1, - has_default_value=False, - default_value=0, - message_type=None, - enum_type=None, - containing_type=None, - is_extension=False, - extension_scope=None, - serialized_options=b"\372B\007\032\005\020\364\003(\000", - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - ), - ], - extensions=[], - nested_types=[], - enum_types=[], - serialized_options=None, - is_extendable=False, - syntax="proto3", - extension_ranges=[], - oneofs=[], - serialized_start=8341, - serialized_end=8407, -) - -_ENUMTEST.fields_by_name["const_test"].enum_type = _STATE -_ENUMTEST.fields_by_name["defined_only_test"].enum_type = _STATE -_ENUMTEST.fields_by_name["in_test"].enum_type = _STATE -_ENUMTEST.fields_by_name["not_in_test"].enum_type = _STATE -_MAPTEST_PAIRTESTENTRY.containing_type = _MAPTEST -_MAPTEST_NOPARSETESTENTRY.containing_type = _MAPTEST -_MAPTEST_KEYSTESTENTRY.containing_type = _MAPTEST -_MAPTEST_VALUESTESTENTRY.containing_type = _MAPTEST -_MAPTEST_KEYSVALUESTESTENTRY.fields_by_name["value"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_MAPTEST_KEYSVALUESTESTENTRY.containing_type = _MAPTEST -_MAPTEST_IGNORETESTENTRY.containing_type = _MAPTEST -_MAPTEST.fields_by_name["pair_test"].message_type = _MAPTEST_PAIRTESTENTRY -_MAPTEST.fields_by_name["no_parse_test"].message_type = _MAPTEST_NOPARSETESTENTRY -_MAPTEST.fields_by_name["keys_test"].message_type = _MAPTEST_KEYSTESTENTRY -_MAPTEST.fields_by_name["values_test"].message_type = _MAPTEST_VALUESTESTENTRY -_MAPTEST.fields_by_name["keys_values_test"].message_type = _MAPTEST_KEYSVALUESTESTENTRY -_MAPTEST.fields_by_name["ignore_test"].message_type = _MAPTEST_IGNORETESTENTRY -_REPEATEDTEST.fields_by_name["items_timestamp_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_REPEATEDTEST.fields_by_name["items_duration_test"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_ANYTEST.fields_by_name["required_test"].message_type = google_dot_protobuf_dot_any__pb2._ANY -_ANYTEST.fields_by_name["not_in_test"].message_type = google_dot_protobuf_dot_any__pb2._ANY -_ANYTEST.fields_by_name["in_test"].message_type = google_dot_protobuf_dot_any__pb2._ANY -_DURATIONTEST.fields_by_name["required_test"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONTEST.fields_by_name["const_test"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONTEST.fields_by_name["range_test"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONTEST.fields_by_name["range_e_test"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONTEST.fields_by_name["in_test"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONTEST.fields_by_name["not_in_test"].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_TIMESTAMPTEST.fields_by_name["required_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPTEST.fields_by_name["const_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPTEST.fields_by_name["range_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPTEST.fields_by_name["range_e_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPTEST.fields_by_name["lt_now_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPTEST.fields_by_name["gt_now_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPTEST.fields_by_name["within_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPTEST.fields_by_name["within_and_gt_now_test"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_ONEOFTEST.oneofs_by_name["id"].fields.append(_ONEOFTEST.fields_by_name["x"]) -_ONEOFTEST.fields_by_name["x"].containing_oneof = _ONEOFTEST.oneofs_by_name["id"] -_ONEOFTEST.oneofs_by_name["id"].fields.append(_ONEOFTEST.fields_by_name["y"]) -_ONEOFTEST.fields_by_name["y"].containing_oneof = _ONEOFTEST.oneofs_by_name["id"] -_ONEOFNOTTEST.oneofs_by_name["id"].fields.append(_ONEOFNOTTEST.fields_by_name["x"]) -_ONEOFNOTTEST.fields_by_name["x"].containing_oneof = _ONEOFNOTTEST.oneofs_by_name["id"] -_ONEOFNOTTEST.oneofs_by_name["id"].fields.append(_ONEOFNOTTEST.fields_by_name["y"]) -_ONEOFNOTTEST.fields_by_name["y"].containing_oneof = _ONEOFNOTTEST.oneofs_by_name["id"] -_NESTEDMESSAGE_USERPAYMESSAGE.fields_by_name["exp"].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_NESTEDMESSAGE_USERPAYMESSAGE.containing_type = _NESTEDMESSAGE -_NESTEDMESSAGE_NOTENABLEUSERPAYMESSAGE.fields_by_name[ - "exp" -].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_NESTEDMESSAGE_NOTENABLEUSERPAYMESSAGE.containing_type = _NESTEDMESSAGE -_NESTEDMESSAGE_STRINGINMAPTESTENTRY.fields_by_name["value"].message_type = _STRINGTEST -_NESTEDMESSAGE_STRINGINMAPTESTENTRY.containing_type = _NESTEDMESSAGE -_NESTEDMESSAGE_MAPINMAPTESTENTRY.fields_by_name["value"].message_type = _MAPTEST -_NESTEDMESSAGE_MAPINMAPTESTENTRY.containing_type = _NESTEDMESSAGE -_NESTEDMESSAGE.fields_by_name["string_in_map_test"].message_type = _NESTEDMESSAGE_STRINGINMAPTESTENTRY -_NESTEDMESSAGE.fields_by_name["map_in_map_test"].message_type = _NESTEDMESSAGE_MAPINMAPTESTENTRY -_NESTEDMESSAGE.fields_by_name["user_pay"].message_type = _NESTEDMESSAGE_USERPAYMESSAGE -_NESTEDMESSAGE.fields_by_name["not_enable_user_pay"].message_type = _NESTEDMESSAGE_NOTENABLEUSERPAYMESSAGE -_NESTEDMESSAGE.fields_by_name["empty"].message_type = google_dot_protobuf_dot_empty__pb2._EMPTY -_NESTEDMESSAGE.fields_by_name["after_refer"].message_type = _AFTERREFERMESSAGE -DESCRIPTOR.message_types_by_name["FloatTest"] = _FLOATTEST -DESCRIPTOR.message_types_by_name["DoubleTest"] = _DOUBLETEST -DESCRIPTOR.message_types_by_name["Int32Test"] = _INT32TEST -DESCRIPTOR.message_types_by_name["Uint32Test"] = _UINT32TEST -DESCRIPTOR.message_types_by_name["Sint32Test"] = _SINT32TEST -DESCRIPTOR.message_types_by_name["Int64Test"] = _INT64TEST -DESCRIPTOR.message_types_by_name["Uint64Test"] = _UINT64TEST -DESCRIPTOR.message_types_by_name["Sint64Test"] = _SINT64TEST -DESCRIPTOR.message_types_by_name["Fixed32Test"] = _FIXED32TEST -DESCRIPTOR.message_types_by_name["Fixed64Test"] = _FIXED64TEST -DESCRIPTOR.message_types_by_name["Sfixed32Test"] = _SFIXED32TEST -DESCRIPTOR.message_types_by_name["Sfixed64Test"] = _SFIXED64TEST -DESCRIPTOR.message_types_by_name["BoolTest"] = _BOOLTEST -DESCRIPTOR.message_types_by_name["StringTest"] = _STRINGTEST -DESCRIPTOR.message_types_by_name["BytesTest"] = _BYTESTEST -DESCRIPTOR.message_types_by_name["EnumTest"] = _ENUMTEST -DESCRIPTOR.message_types_by_name["MapTest"] = _MAPTEST -DESCRIPTOR.message_types_by_name["MessageTest"] = _MESSAGETEST -DESCRIPTOR.message_types_by_name["RepeatedTest"] = _REPEATEDTEST -DESCRIPTOR.message_types_by_name["AnyTest"] = _ANYTEST -DESCRIPTOR.message_types_by_name["DurationTest"] = _DURATIONTEST -DESCRIPTOR.message_types_by_name["TimestampTest"] = _TIMESTAMPTEST -DESCRIPTOR.message_types_by_name["MessageDisabledTest"] = _MESSAGEDISABLEDTEST -DESCRIPTOR.message_types_by_name["MessageIgnoredTest"] = _MESSAGEIGNOREDTEST -DESCRIPTOR.message_types_by_name["OneOfTest"] = _ONEOFTEST -DESCRIPTOR.message_types_by_name["OneOfNotTest"] = _ONEOFNOTTEST -DESCRIPTOR.message_types_by_name["NestedMessage"] = _NESTEDMESSAGE -DESCRIPTOR.message_types_by_name["AfterReferMessage"] = _AFTERREFERMESSAGE -DESCRIPTOR.enum_types_by_name["State"] = _STATE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FloatTest = _reflection.GeneratedProtocolMessageType( - "FloatTest", - (_message.Message,), - { - "DESCRIPTOR": _FLOATTEST, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.FloatTest) - }, -) -_sym_db.RegisterMessage(FloatTest) - -DoubleTest = _reflection.GeneratedProtocolMessageType( - "DoubleTest", - (_message.Message,), - { - "DESCRIPTOR": _DOUBLETEST, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.DoubleTest) - }, -) -_sym_db.RegisterMessage(DoubleTest) - -Int32Test = _reflection.GeneratedProtocolMessageType( - "Int32Test", - (_message.Message,), - { - "DESCRIPTOR": _INT32TEST, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.Int32Test) - }, -) -_sym_db.RegisterMessage(Int32Test) - -Uint32Test = _reflection.GeneratedProtocolMessageType( - "Uint32Test", - (_message.Message,), - { - "DESCRIPTOR": _UINT32TEST, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.Uint32Test) - }, -) -_sym_db.RegisterMessage(Uint32Test) - -Sint32Test = _reflection.GeneratedProtocolMessageType( - "Sint32Test", - (_message.Message,), - { - "DESCRIPTOR": _SINT32TEST, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.Sint32Test) - }, -) -_sym_db.RegisterMessage(Sint32Test) - -Int64Test = _reflection.GeneratedProtocolMessageType( - "Int64Test", - (_message.Message,), - { - "DESCRIPTOR": _INT64TEST, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.Int64Test) - }, -) -_sym_db.RegisterMessage(Int64Test) - -Uint64Test = _reflection.GeneratedProtocolMessageType( - "Uint64Test", - (_message.Message,), - { - "DESCRIPTOR": _UINT64TEST, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.Uint64Test) - }, -) -_sym_db.RegisterMessage(Uint64Test) - -Sint64Test = _reflection.GeneratedProtocolMessageType( - "Sint64Test", - (_message.Message,), - { - "DESCRIPTOR": _SINT64TEST, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.Sint64Test) - }, -) -_sym_db.RegisterMessage(Sint64Test) - -Fixed32Test = _reflection.GeneratedProtocolMessageType( - "Fixed32Test", - (_message.Message,), - { - "DESCRIPTOR": _FIXED32TEST, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.Fixed32Test) - }, -) -_sym_db.RegisterMessage(Fixed32Test) - -Fixed64Test = _reflection.GeneratedProtocolMessageType( - "Fixed64Test", - (_message.Message,), - { - "DESCRIPTOR": _FIXED64TEST, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.Fixed64Test) - }, -) -_sym_db.RegisterMessage(Fixed64Test) - -Sfixed32Test = _reflection.GeneratedProtocolMessageType( - "Sfixed32Test", - (_message.Message,), - { - "DESCRIPTOR": _SFIXED32TEST, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.Sfixed32Test) - }, -) -_sym_db.RegisterMessage(Sfixed32Test) - -Sfixed64Test = _reflection.GeneratedProtocolMessageType( - "Sfixed64Test", - (_message.Message,), - { - "DESCRIPTOR": _SFIXED64TEST, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.Sfixed64Test) - }, -) -_sym_db.RegisterMessage(Sfixed64Test) - -BoolTest = _reflection.GeneratedProtocolMessageType( - "BoolTest", - (_message.Message,), - { - "DESCRIPTOR": _BOOLTEST, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.BoolTest) - }, -) -_sym_db.RegisterMessage(BoolTest) - -StringTest = _reflection.GeneratedProtocolMessageType( - "StringTest", - (_message.Message,), - { - "DESCRIPTOR": _STRINGTEST, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.StringTest) - }, -) -_sym_db.RegisterMessage(StringTest) - -BytesTest = _reflection.GeneratedProtocolMessageType( - "BytesTest", - (_message.Message,), - { - "DESCRIPTOR": _BYTESTEST, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.BytesTest) - }, -) -_sym_db.RegisterMessage(BytesTest) - -EnumTest = _reflection.GeneratedProtocolMessageType( - "EnumTest", - (_message.Message,), - { - "DESCRIPTOR": _ENUMTEST, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.EnumTest) - }, -) -_sym_db.RegisterMessage(EnumTest) - -MapTest = _reflection.GeneratedProtocolMessageType( - "MapTest", - (_message.Message,), - { - "PairTestEntry": _reflection.GeneratedProtocolMessageType( - "PairTestEntry", - (_message.Message,), - { - "DESCRIPTOR": _MAPTEST_PAIRTESTENTRY, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.MapTest.PairTestEntry) - }, - ), - "NoParseTestEntry": _reflection.GeneratedProtocolMessageType( - "NoParseTestEntry", - (_message.Message,), - { - "DESCRIPTOR": _MAPTEST_NOPARSETESTENTRY, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.MapTest.NoParseTestEntry) - }, - ), - "KeysTestEntry": _reflection.GeneratedProtocolMessageType( - "KeysTestEntry", - (_message.Message,), - { - "DESCRIPTOR": _MAPTEST_KEYSTESTENTRY, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.MapTest.KeysTestEntry) - }, - ), - "ValuesTestEntry": _reflection.GeneratedProtocolMessageType( - "ValuesTestEntry", - (_message.Message,), - { - "DESCRIPTOR": _MAPTEST_VALUESTESTENTRY, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.MapTest.ValuesTestEntry) - }, - ), - "KeysValuesTestEntry": _reflection.GeneratedProtocolMessageType( - "KeysValuesTestEntry", - (_message.Message,), - { - "DESCRIPTOR": _MAPTEST_KEYSVALUESTESTENTRY, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.MapTest.KeysValuesTestEntry) - }, - ), - "IgnoreTestEntry": _reflection.GeneratedProtocolMessageType( - "IgnoreTestEntry", - (_message.Message,), - { - "DESCRIPTOR": _MAPTEST_IGNORETESTENTRY, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.MapTest.IgnoreTestEntry) - }, - ), - "DESCRIPTOR": _MAPTEST, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.MapTest) - }, -) -_sym_db.RegisterMessage(MapTest) -_sym_db.RegisterMessage(MapTest.PairTestEntry) -_sym_db.RegisterMessage(MapTest.NoParseTestEntry) -_sym_db.RegisterMessage(MapTest.KeysTestEntry) -_sym_db.RegisterMessage(MapTest.ValuesTestEntry) -_sym_db.RegisterMessage(MapTest.KeysValuesTestEntry) -_sym_db.RegisterMessage(MapTest.IgnoreTestEntry) - -MessageTest = _reflection.GeneratedProtocolMessageType( - "MessageTest", - (_message.Message,), - { - "DESCRIPTOR": _MESSAGETEST, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.MessageTest) - }, -) -_sym_db.RegisterMessage(MessageTest) - -RepeatedTest = _reflection.GeneratedProtocolMessageType( - "RepeatedTest", - (_message.Message,), - { - "DESCRIPTOR": _REPEATEDTEST, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.RepeatedTest) - }, -) -_sym_db.RegisterMessage(RepeatedTest) - -AnyTest = _reflection.GeneratedProtocolMessageType( - "AnyTest", - (_message.Message,), - { - "DESCRIPTOR": _ANYTEST, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.AnyTest) - }, -) -_sym_db.RegisterMessage(AnyTest) - -DurationTest = _reflection.GeneratedProtocolMessageType( - "DurationTest", - (_message.Message,), - { - "DESCRIPTOR": _DURATIONTEST, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.DurationTest) - }, -) -_sym_db.RegisterMessage(DurationTest) - -TimestampTest = _reflection.GeneratedProtocolMessageType( - "TimestampTest", - (_message.Message,), - { - "DESCRIPTOR": _TIMESTAMPTEST, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.TimestampTest) - }, -) -_sym_db.RegisterMessage(TimestampTest) - -MessageDisabledTest = _reflection.GeneratedProtocolMessageType( - "MessageDisabledTest", - (_message.Message,), - { - "DESCRIPTOR": _MESSAGEDISABLEDTEST, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.MessageDisabledTest) - }, -) -_sym_db.RegisterMessage(MessageDisabledTest) - -MessageIgnoredTest = _reflection.GeneratedProtocolMessageType( - "MessageIgnoredTest", - (_message.Message,), - { - "DESCRIPTOR": _MESSAGEIGNOREDTEST, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.MessageIgnoredTest) - }, -) -_sym_db.RegisterMessage(MessageIgnoredTest) - -OneOfTest = _reflection.GeneratedProtocolMessageType( - "OneOfTest", - (_message.Message,), - { - "DESCRIPTOR": _ONEOFTEST, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.OneOfTest) - }, -) -_sym_db.RegisterMessage(OneOfTest) - -OneOfNotTest = _reflection.GeneratedProtocolMessageType( - "OneOfNotTest", - (_message.Message,), - { - "DESCRIPTOR": _ONEOFNOTTEST, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.OneOfNotTest) - }, -) -_sym_db.RegisterMessage(OneOfNotTest) - -NestedMessage = _reflection.GeneratedProtocolMessageType( - "NestedMessage", - (_message.Message,), - { - "UserPayMessage": _reflection.GeneratedProtocolMessageType( - "UserPayMessage", - (_message.Message,), - { - "DESCRIPTOR": _NESTEDMESSAGE_USERPAYMESSAGE, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.NestedMessage.UserPayMessage) - }, - ), - "NotEnableUserPayMessage": _reflection.GeneratedProtocolMessageType( - "NotEnableUserPayMessage", - (_message.Message,), - { - "DESCRIPTOR": _NESTEDMESSAGE_NOTENABLEUSERPAYMESSAGE, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.NestedMessage.NotEnableUserPayMessage) - }, - ), - "StringInMapTestEntry": _reflection.GeneratedProtocolMessageType( - "StringInMapTestEntry", - (_message.Message,), - { - "DESCRIPTOR": _NESTEDMESSAGE_STRINGINMAPTESTENTRY, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.NestedMessage.StringInMapTestEntry) - }, - ), - "MapInMapTestEntry": _reflection.GeneratedProtocolMessageType( - "MapInMapTestEntry", - (_message.Message,), - { - "DESCRIPTOR": _NESTEDMESSAGE_MAPINMAPTESTENTRY, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.NestedMessage.MapInMapTestEntry) - }, - ), - "DESCRIPTOR": _NESTEDMESSAGE, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.NestedMessage) - }, -) -_sym_db.RegisterMessage(NestedMessage) -_sym_db.RegisterMessage(NestedMessage.UserPayMessage) -_sym_db.RegisterMessage(NestedMessage.NotEnableUserPayMessage) -_sym_db.RegisterMessage(NestedMessage.StringInMapTestEntry) -_sym_db.RegisterMessage(NestedMessage.MapInMapTestEntry) - -AfterReferMessage = _reflection.GeneratedProtocolMessageType( - "AfterReferMessage", - (_message.Message,), - { - "DESCRIPTOR": _AFTERREFERMESSAGE, - "__module__": "example.example_proto.validate.demo_pb2" - # @@protoc_insertion_point(class_scope:validate_test.AfterReferMessage) - }, -) -_sym_db.RegisterMessage(AfterReferMessage) - - -_FLOATTEST.fields_by_name["const_test"]._options = None -_FLOATTEST.fields_by_name["range_e_test"]._options = None -_FLOATTEST.fields_by_name["range_test"]._options = None -_FLOATTEST.fields_by_name["in_test"]._options = None -_FLOATTEST.fields_by_name["not_in_test"]._options = None -_FLOATTEST.fields_by_name["ignore_test"]._options = None -_DOUBLETEST.fields_by_name["const_test"]._options = None -_DOUBLETEST.fields_by_name["range_e_test"]._options = None -_DOUBLETEST.fields_by_name["range_test"]._options = None -_DOUBLETEST.fields_by_name["in_test"]._options = None -_DOUBLETEST.fields_by_name["not_in_test"]._options = None -_DOUBLETEST.fields_by_name["ignore_test"]._options = None -_INT32TEST.fields_by_name["const_test"]._options = None -_INT32TEST.fields_by_name["range_e_test"]._options = None -_INT32TEST.fields_by_name["range_test"]._options = None -_INT32TEST.fields_by_name["in_test"]._options = None -_INT32TEST.fields_by_name["not_in_test"]._options = None -_INT32TEST.fields_by_name["ignore_test"]._options = None -_UINT32TEST.fields_by_name["const_test"]._options = None -_UINT32TEST.fields_by_name["range_e_test"]._options = None -_UINT32TEST.fields_by_name["range_test"]._options = None -_UINT32TEST.fields_by_name["in_test"]._options = None -_UINT32TEST.fields_by_name["not_in_test"]._options = None -_UINT32TEST.fields_by_name["ignore_test"]._options = None -_SINT32TEST.fields_by_name["const_test"]._options = None -_SINT32TEST.fields_by_name["range_e_test"]._options = None -_SINT32TEST.fields_by_name["range_test"]._options = None -_SINT32TEST.fields_by_name["in_test"]._options = None -_SINT32TEST.fields_by_name["not_in_test"]._options = None -_SINT32TEST.fields_by_name["ignore_test"]._options = None -_INT64TEST.fields_by_name["const_test"]._options = None -_INT64TEST.fields_by_name["range_e_test"]._options = None -_INT64TEST.fields_by_name["range_test"]._options = None -_INT64TEST.fields_by_name["in_test"]._options = None -_INT64TEST.fields_by_name["not_in_test"]._options = None -_INT64TEST.fields_by_name["ignore_test"]._options = None -_UINT64TEST.fields_by_name["const_test"]._options = None -_UINT64TEST.fields_by_name["range_e_test"]._options = None -_UINT64TEST.fields_by_name["range_test"]._options = None -_UINT64TEST.fields_by_name["in_test"]._options = None -_UINT64TEST.fields_by_name["not_in_test"]._options = None -_UINT64TEST.fields_by_name["ignore_test"]._options = None -_SINT64TEST.fields_by_name["const_test"]._options = None -_SINT64TEST.fields_by_name["range_e_test"]._options = None -_SINT64TEST.fields_by_name["range_test"]._options = None -_SINT64TEST.fields_by_name["in_test"]._options = None -_SINT64TEST.fields_by_name["not_in_test"]._options = None -_SINT64TEST.fields_by_name["ignore_test"]._options = None -_FIXED32TEST.fields_by_name["const_test"]._options = None -_FIXED32TEST.fields_by_name["range_e_test"]._options = None -_FIXED32TEST.fields_by_name["range_test"]._options = None -_FIXED32TEST.fields_by_name["in_test"]._options = None -_FIXED32TEST.fields_by_name["not_in_test"]._options = None -_FIXED32TEST.fields_by_name["ignore_test"]._options = None -_FIXED64TEST.fields_by_name["const_test"]._options = None -_FIXED64TEST.fields_by_name["range_e_test"]._options = None -_FIXED64TEST.fields_by_name["range_test"]._options = None -_FIXED64TEST.fields_by_name["in_test"]._options = None -_FIXED64TEST.fields_by_name["not_in_test"]._options = None -_FIXED64TEST.fields_by_name["ignore_test"]._options = None -_SFIXED32TEST.fields_by_name["const_test"]._options = None -_SFIXED32TEST.fields_by_name["range_e_test"]._options = None -_SFIXED32TEST.fields_by_name["range_test"]._options = None -_SFIXED32TEST.fields_by_name["in_test"]._options = None -_SFIXED32TEST.fields_by_name["not_in_test"]._options = None -_SFIXED32TEST.fields_by_name["ignore_test"]._options = None -_SFIXED64TEST.fields_by_name["const_test"]._options = None -_SFIXED64TEST.fields_by_name["range_e_test"]._options = None -_SFIXED64TEST.fields_by_name["range_test"]._options = None -_SFIXED64TEST.fields_by_name["in_test"]._options = None -_SFIXED64TEST.fields_by_name["not_in_test"]._options = None -_SFIXED64TEST.fields_by_name["ignore_test"]._options = None -_BOOLTEST.fields_by_name["bool_1_test"]._options = None -_BOOLTEST.fields_by_name["bool_2_test"]._options = None -_STRINGTEST.fields_by_name["const_test"]._options = None -_STRINGTEST.fields_by_name["len_test"]._options = None -_STRINGTEST.fields_by_name["s_range_len_test"]._options = None -_STRINGTEST.fields_by_name["b_range_len_test"]._options = None -_STRINGTEST.fields_by_name["pattern_test"]._options = None -_STRINGTEST.fields_by_name["prefix_test"]._options = None -_STRINGTEST.fields_by_name["suffix_test"]._options = None -_STRINGTEST.fields_by_name["contains_test"]._options = None -_STRINGTEST.fields_by_name["not_contains_test"]._options = None -_STRINGTEST.fields_by_name["in_test"]._options = None -_STRINGTEST.fields_by_name["not_in_test"]._options = None -_STRINGTEST.fields_by_name["email_test"]._options = None -_STRINGTEST.fields_by_name["hostname_test"]._options = None -_STRINGTEST.fields_by_name["ip_test"]._options = None -_STRINGTEST.fields_by_name["ipv4_test"]._options = None -_STRINGTEST.fields_by_name["ipv6_test"]._options = None -_STRINGTEST.fields_by_name["uri_test"]._options = None -_STRINGTEST.fields_by_name["uri_ref_test"]._options = None -_STRINGTEST.fields_by_name["address_test"]._options = None -_STRINGTEST.fields_by_name["uuid_test"]._options = None -_STRINGTEST.fields_by_name["ignore_test"]._options = None -_BYTESTEST.fields_by_name["const_test"]._options = None -_BYTESTEST.fields_by_name["len_test"]._options = None -_BYTESTEST.fields_by_name["range_len_test"]._options = None -_BYTESTEST.fields_by_name["pattern_test"]._options = None -_BYTESTEST.fields_by_name["prefix_test"]._options = None -_BYTESTEST.fields_by_name["suffix_test"]._options = None -_BYTESTEST.fields_by_name["contains_test"]._options = None -_BYTESTEST.fields_by_name["in_test"]._options = None -_BYTESTEST.fields_by_name["not_in_test"]._options = None -_ENUMTEST.fields_by_name["const_test"]._options = None -_ENUMTEST.fields_by_name["defined_only_test"]._options = None -_ENUMTEST.fields_by_name["in_test"]._options = None -_ENUMTEST.fields_by_name["not_in_test"]._options = None -_MAPTEST_PAIRTESTENTRY._options = None -_MAPTEST_NOPARSETESTENTRY._options = None -_MAPTEST_KEYSTESTENTRY._options = None -_MAPTEST_VALUESTESTENTRY._options = None -_MAPTEST_KEYSVALUESTESTENTRY._options = None -_MAPTEST_IGNORETESTENTRY._options = None -_MAPTEST.fields_by_name["pair_test"]._options = None -_MAPTEST.fields_by_name["no_parse_test"]._options = None -_MAPTEST.fields_by_name["keys_test"]._options = None -_MAPTEST.fields_by_name["values_test"]._options = None -_MAPTEST.fields_by_name["keys_values_test"]._options = None -_MAPTEST.fields_by_name["ignore_test"]._options = None -_MESSAGETEST.fields_by_name["skip_test"]._options = None -_MESSAGETEST.fields_by_name["required_test"]._options = None -_REPEATEDTEST.fields_by_name["range_test"]._options = None -_REPEATEDTEST.fields_by_name["unique_test"]._options = None -_REPEATEDTEST.fields_by_name["items_string_test"]._options = None -_REPEATEDTEST.fields_by_name["items_double_test"]._options = None -_REPEATEDTEST.fields_by_name["items_int32_test"]._options = None -_REPEATEDTEST.fields_by_name["items_timestamp_test"]._options = None -_REPEATEDTEST.fields_by_name["items_duration_test"]._options = None -_REPEATEDTEST.fields_by_name["items_bytes_test"]._options = None -_REPEATEDTEST.fields_by_name["ignore_test"]._options = None -_ANYTEST.fields_by_name["required_test"]._options = None -_ANYTEST.fields_by_name["not_in_test"]._options = None -_ANYTEST.fields_by_name["in_test"]._options = None -_DURATIONTEST.fields_by_name["required_test"]._options = None -_DURATIONTEST.fields_by_name["const_test"]._options = None -_DURATIONTEST.fields_by_name["range_test"]._options = None -_DURATIONTEST.fields_by_name["range_e_test"]._options = None -_DURATIONTEST.fields_by_name["in_test"]._options = None -_DURATIONTEST.fields_by_name["not_in_test"]._options = None -_TIMESTAMPTEST.fields_by_name["required_test"]._options = None -_TIMESTAMPTEST.fields_by_name["const_test"]._options = None -_TIMESTAMPTEST.fields_by_name["range_test"]._options = None -_TIMESTAMPTEST.fields_by_name["range_e_test"]._options = None -_TIMESTAMPTEST.fields_by_name["lt_now_test"]._options = None -_TIMESTAMPTEST.fields_by_name["gt_now_test"]._options = None -_TIMESTAMPTEST.fields_by_name["within_test"]._options = None -_TIMESTAMPTEST.fields_by_name["within_and_gt_now_test"]._options = None -_MESSAGEDISABLEDTEST.fields_by_name["const_test"]._options = None -_MESSAGEDISABLEDTEST.fields_by_name["range_e_test"]._options = None -_MESSAGEDISABLEDTEST.fields_by_name["range_test"]._options = None -_MESSAGEDISABLEDTEST._options = None -_MESSAGEIGNOREDTEST.fields_by_name["const_test"]._options = None -_MESSAGEIGNOREDTEST.fields_by_name["range_e_test"]._options = None -_MESSAGEIGNOREDTEST.fields_by_name["range_test"]._options = None -_MESSAGEIGNOREDTEST._options = None -_ONEOFTEST.oneofs_by_name["id"]._options = None -_NESTEDMESSAGE_USERPAYMESSAGE.fields_by_name["bank_number"]._options = None -_NESTEDMESSAGE_USERPAYMESSAGE.fields_by_name["exp"]._options = None -_NESTEDMESSAGE_USERPAYMESSAGE.fields_by_name["uuid"]._options = None -_NESTEDMESSAGE_NOTENABLEUSERPAYMESSAGE.fields_by_name["bank_number"]._options = None -_NESTEDMESSAGE_NOTENABLEUSERPAYMESSAGE.fields_by_name["exp"]._options = None -_NESTEDMESSAGE_NOTENABLEUSERPAYMESSAGE.fields_by_name["uuid"]._options = None -_NESTEDMESSAGE_STRINGINMAPTESTENTRY._options = None -_NESTEDMESSAGE_MAPINMAPTESTENTRY._options = None -_NESTEDMESSAGE.fields_by_name["not_enable_user_pay"]._options = None -_AFTERREFERMESSAGE.fields_by_name["uid"]._options = None -_AFTERREFERMESSAGE.fields_by_name["age"]._options = None -# @@protoc_insertion_point(module_scope) diff --git a/example/proto_3_20/example/example_proto/validate/demo_pb2.pyi b/example/proto_3_20/example/example_proto/validate/demo_pb2.pyi deleted file mode 100644 index 9923a8d..0000000 --- a/example/proto_3_20/example/example_proto/validate/demo_pb2.pyi +++ /dev/null @@ -1,1506 +0,0 @@ -""" -@generated by mypy-protobuf. Do not edit manually! -isort:skip_file -""" -import builtins -import collections.abc -import google.protobuf.any_pb2 -import google.protobuf.descriptor -import google.protobuf.duration_pb2 -import google.protobuf.empty_pb2 -import google.protobuf.internal.containers -import google.protobuf.internal.enum_type_wrapper -import google.protobuf.message -import google.protobuf.timestamp_pb2 -import sys -import typing - -if sys.version_info >= (3, 10): - import typing as typing_extensions -else: - import typing_extensions - -DESCRIPTOR: google.protobuf.descriptor.FileDescriptor - -class _State: - ValueType = typing.NewType("ValueType", builtins.int) - V: typing_extensions.TypeAlias = ValueType - -class _StateEnumTypeWrapper( - google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_State.ValueType], builtins.type -): # noqa: F821 - DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor - INACTIVE: _State.ValueType # 0 - PENDING: _State.ValueType # 1 - ACTIVE: _State.ValueType # 2 - -class State(_State, metaclass=_StateEnumTypeWrapper): ... - -INACTIVE: State.ValueType # 0 -PENDING: State.ValueType # 1 -ACTIVE: State.ValueType # 2 -global___State = State - -class FloatTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - IGNORE_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.float - range_e_test: builtins.float - range_test: builtins.float - in_test: builtins.float - not_in_test: builtins.float - ignore_test: builtins.float - def __init__( - self, - *, - const_test: builtins.float = ..., - range_e_test: builtins.float = ..., - range_test: builtins.float = ..., - in_test: builtins.float = ..., - not_in_test: builtins.float = ..., - ignore_test: builtins.float = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const_test", - b"const_test", - "ignore_test", - b"ignore_test", - "in_test", - b"in_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - ], - ) -> None: ... - -global___FloatTest = FloatTest - -class DoubleTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - IGNORE_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.float - range_e_test: builtins.float - range_test: builtins.float - in_test: builtins.float - not_in_test: builtins.float - ignore_test: builtins.float - def __init__( - self, - *, - const_test: builtins.float = ..., - range_e_test: builtins.float = ..., - range_test: builtins.float = ..., - in_test: builtins.float = ..., - not_in_test: builtins.float = ..., - ignore_test: builtins.float = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const_test", - b"const_test", - "ignore_test", - b"ignore_test", - "in_test", - b"in_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - ], - ) -> None: ... - -global___DoubleTest = DoubleTest - -class Int32Test(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - IGNORE_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.int - range_e_test: builtins.int - range_test: builtins.int - in_test: builtins.int - not_in_test: builtins.int - ignore_test: builtins.int - def __init__( - self, - *, - const_test: builtins.int = ..., - range_e_test: builtins.int = ..., - range_test: builtins.int = ..., - in_test: builtins.int = ..., - not_in_test: builtins.int = ..., - ignore_test: builtins.int = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const_test", - b"const_test", - "ignore_test", - b"ignore_test", - "in_test", - b"in_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - ], - ) -> None: ... - -global___Int32Test = Int32Test - -class Uint32Test(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - IGNORE_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.int - range_e_test: builtins.int - range_test: builtins.int - in_test: builtins.int - not_in_test: builtins.int - ignore_test: builtins.int - def __init__( - self, - *, - const_test: builtins.int = ..., - range_e_test: builtins.int = ..., - range_test: builtins.int = ..., - in_test: builtins.int = ..., - not_in_test: builtins.int = ..., - ignore_test: builtins.int = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const_test", - b"const_test", - "ignore_test", - b"ignore_test", - "in_test", - b"in_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - ], - ) -> None: ... - -global___Uint32Test = Uint32Test - -class Sint32Test(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - IGNORE_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.int - range_e_test: builtins.int - range_test: builtins.int - in_test: builtins.int - not_in_test: builtins.int - ignore_test: builtins.int - def __init__( - self, - *, - const_test: builtins.int = ..., - range_e_test: builtins.int = ..., - range_test: builtins.int = ..., - in_test: builtins.int = ..., - not_in_test: builtins.int = ..., - ignore_test: builtins.int = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const_test", - b"const_test", - "ignore_test", - b"ignore_test", - "in_test", - b"in_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - ], - ) -> None: ... - -global___Sint32Test = Sint32Test - -class Int64Test(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - IGNORE_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.int - range_e_test: builtins.int - range_test: builtins.int - in_test: builtins.int - not_in_test: builtins.int - ignore_test: builtins.int - def __init__( - self, - *, - const_test: builtins.int = ..., - range_e_test: builtins.int = ..., - range_test: builtins.int = ..., - in_test: builtins.int = ..., - not_in_test: builtins.int = ..., - ignore_test: builtins.int = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const_test", - b"const_test", - "ignore_test", - b"ignore_test", - "in_test", - b"in_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - ], - ) -> None: ... - -global___Int64Test = Int64Test - -class Uint64Test(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - IGNORE_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.int - range_e_test: builtins.int - range_test: builtins.int - in_test: builtins.int - not_in_test: builtins.int - ignore_test: builtins.int - def __init__( - self, - *, - const_test: builtins.int = ..., - range_e_test: builtins.int = ..., - range_test: builtins.int = ..., - in_test: builtins.int = ..., - not_in_test: builtins.int = ..., - ignore_test: builtins.int = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const_test", - b"const_test", - "ignore_test", - b"ignore_test", - "in_test", - b"in_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - ], - ) -> None: ... - -global___Uint64Test = Uint64Test - -class Sint64Test(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - IGNORE_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.int - range_e_test: builtins.int - range_test: builtins.int - in_test: builtins.int - not_in_test: builtins.int - ignore_test: builtins.int - def __init__( - self, - *, - const_test: builtins.int = ..., - range_e_test: builtins.int = ..., - range_test: builtins.int = ..., - in_test: builtins.int = ..., - not_in_test: builtins.int = ..., - ignore_test: builtins.int = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const_test", - b"const_test", - "ignore_test", - b"ignore_test", - "in_test", - b"in_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - ], - ) -> None: ... - -global___Sint64Test = Sint64Test - -class Fixed32Test(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - IGNORE_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.int - range_e_test: builtins.int - range_test: builtins.int - in_test: builtins.int - not_in_test: builtins.int - ignore_test: builtins.int - def __init__( - self, - *, - const_test: builtins.int = ..., - range_e_test: builtins.int = ..., - range_test: builtins.int = ..., - in_test: builtins.int = ..., - not_in_test: builtins.int = ..., - ignore_test: builtins.int = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const_test", - b"const_test", - "ignore_test", - b"ignore_test", - "in_test", - b"in_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - ], - ) -> None: ... - -global___Fixed32Test = Fixed32Test - -class Fixed64Test(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - IGNORE_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.int - range_e_test: builtins.int - range_test: builtins.int - in_test: builtins.int - not_in_test: builtins.int - ignore_test: builtins.int - def __init__( - self, - *, - const_test: builtins.int = ..., - range_e_test: builtins.int = ..., - range_test: builtins.int = ..., - in_test: builtins.int = ..., - not_in_test: builtins.int = ..., - ignore_test: builtins.int = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const_test", - b"const_test", - "ignore_test", - b"ignore_test", - "in_test", - b"in_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - ], - ) -> None: ... - -global___Fixed64Test = Fixed64Test - -class Sfixed32Test(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - IGNORE_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.int - range_e_test: builtins.int - range_test: builtins.int - in_test: builtins.int - not_in_test: builtins.int - ignore_test: builtins.int - def __init__( - self, - *, - const_test: builtins.int = ..., - range_e_test: builtins.int = ..., - range_test: builtins.int = ..., - in_test: builtins.int = ..., - not_in_test: builtins.int = ..., - ignore_test: builtins.int = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const_test", - b"const_test", - "ignore_test", - b"ignore_test", - "in_test", - b"in_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - ], - ) -> None: ... - -global___Sfixed32Test = Sfixed32Test - -class Sfixed64Test(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - IGNORE_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.int - range_e_test: builtins.int - range_test: builtins.int - in_test: builtins.int - not_in_test: builtins.int - ignore_test: builtins.int - def __init__( - self, - *, - const_test: builtins.int = ..., - range_e_test: builtins.int = ..., - range_test: builtins.int = ..., - in_test: builtins.int = ..., - not_in_test: builtins.int = ..., - ignore_test: builtins.int = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const_test", - b"const_test", - "ignore_test", - b"ignore_test", - "in_test", - b"in_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - ], - ) -> None: ... - -global___Sfixed64Test = Sfixed64Test - -class BoolTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - BOOL_1_TEST_FIELD_NUMBER: builtins.int - BOOL_2_TEST_FIELD_NUMBER: builtins.int - bool_1_test: builtins.bool - bool_2_test: builtins.bool - def __init__( - self, - *, - bool_1_test: builtins.bool = ..., - bool_2_test: builtins.bool = ..., - ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["bool_1_test", b"bool_1_test", "bool_2_test", b"bool_2_test"] - ) -> None: ... - -global___BoolTest = BoolTest - -class StringTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - LEN_TEST_FIELD_NUMBER: builtins.int - S_RANGE_LEN_TEST_FIELD_NUMBER: builtins.int - B_RANGE_LEN_TEST_FIELD_NUMBER: builtins.int - PATTERN_TEST_FIELD_NUMBER: builtins.int - PREFIX_TEST_FIELD_NUMBER: builtins.int - SUFFIX_TEST_FIELD_NUMBER: builtins.int - CONTAINS_TEST_FIELD_NUMBER: builtins.int - NOT_CONTAINS_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - EMAIL_TEST_FIELD_NUMBER: builtins.int - HOSTNAME_TEST_FIELD_NUMBER: builtins.int - IP_TEST_FIELD_NUMBER: builtins.int - IPV4_TEST_FIELD_NUMBER: builtins.int - IPV6_TEST_FIELD_NUMBER: builtins.int - URI_TEST_FIELD_NUMBER: builtins.int - URI_REF_TEST_FIELD_NUMBER: builtins.int - ADDRESS_TEST_FIELD_NUMBER: builtins.int - UUID_TEST_FIELD_NUMBER: builtins.int - IGNORE_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.str - len_test: builtins.str - s_range_len_test: builtins.str - b_range_len_test: builtins.str - pattern_test: builtins.str - prefix_test: builtins.str - suffix_test: builtins.str - contains_test: builtins.str - not_contains_test: builtins.str - in_test: builtins.str - not_in_test: builtins.str - email_test: builtins.str - hostname_test: builtins.str - ip_test: builtins.str - ipv4_test: builtins.str - ipv6_test: builtins.str - uri_test: builtins.str - uri_ref_test: builtins.str - address_test: builtins.str - uuid_test: builtins.str - ignore_test: builtins.str - def __init__( - self, - *, - const_test: builtins.str = ..., - len_test: builtins.str = ..., - s_range_len_test: builtins.str = ..., - b_range_len_test: builtins.str = ..., - pattern_test: builtins.str = ..., - prefix_test: builtins.str = ..., - suffix_test: builtins.str = ..., - contains_test: builtins.str = ..., - not_contains_test: builtins.str = ..., - in_test: builtins.str = ..., - not_in_test: builtins.str = ..., - email_test: builtins.str = ..., - hostname_test: builtins.str = ..., - ip_test: builtins.str = ..., - ipv4_test: builtins.str = ..., - ipv6_test: builtins.str = ..., - uri_test: builtins.str = ..., - uri_ref_test: builtins.str = ..., - address_test: builtins.str = ..., - uuid_test: builtins.str = ..., - ignore_test: builtins.str = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "address_test", - b"address_test", - "b_range_len_test", - b"b_range_len_test", - "const_test", - b"const_test", - "contains_test", - b"contains_test", - "email_test", - b"email_test", - "hostname_test", - b"hostname_test", - "ignore_test", - b"ignore_test", - "in_test", - b"in_test", - "ip_test", - b"ip_test", - "ipv4_test", - b"ipv4_test", - "ipv6_test", - b"ipv6_test", - "len_test", - b"len_test", - "not_contains_test", - b"not_contains_test", - "not_in_test", - b"not_in_test", - "pattern_test", - b"pattern_test", - "prefix_test", - b"prefix_test", - "s_range_len_test", - b"s_range_len_test", - "suffix_test", - b"suffix_test", - "uri_ref_test", - b"uri_ref_test", - "uri_test", - b"uri_test", - "uuid_test", - b"uuid_test", - ], - ) -> None: ... - -global___StringTest = StringTest - -class BytesTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - LEN_TEST_FIELD_NUMBER: builtins.int - RANGE_LEN_TEST_FIELD_NUMBER: builtins.int - PATTERN_TEST_FIELD_NUMBER: builtins.int - PREFIX_TEST_FIELD_NUMBER: builtins.int - SUFFIX_TEST_FIELD_NUMBER: builtins.int - CONTAINS_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.bytes - len_test: builtins.bytes - range_len_test: builtins.bytes - pattern_test: builtins.bytes - prefix_test: builtins.bytes - suffix_test: builtins.bytes - contains_test: builtins.bytes - in_test: builtins.bytes - not_in_test: builtins.bytes - def __init__( - self, - *, - const_test: builtins.bytes = ..., - len_test: builtins.bytes = ..., - range_len_test: builtins.bytes = ..., - pattern_test: builtins.bytes = ..., - prefix_test: builtins.bytes = ..., - suffix_test: builtins.bytes = ..., - contains_test: builtins.bytes = ..., - in_test: builtins.bytes = ..., - not_in_test: builtins.bytes = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const_test", - b"const_test", - "contains_test", - b"contains_test", - "in_test", - b"in_test", - "len_test", - b"len_test", - "not_in_test", - b"not_in_test", - "pattern_test", - b"pattern_test", - "prefix_test", - b"prefix_test", - "range_len_test", - b"range_len_test", - "suffix_test", - b"suffix_test", - ], - ) -> None: ... - -global___BytesTest = BytesTest - -class EnumTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - DEFINED_ONLY_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - const_test: global___State.ValueType - defined_only_test: global___State.ValueType - in_test: global___State.ValueType - not_in_test: global___State.ValueType - def __init__( - self, - *, - const_test: global___State.ValueType = ..., - defined_only_test: global___State.ValueType = ..., - in_test: global___State.ValueType = ..., - not_in_test: global___State.ValueType = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const_test", - b"const_test", - "defined_only_test", - b"defined_only_test", - "in_test", - b"in_test", - "not_in_test", - b"not_in_test", - ], - ) -> None: ... - -global___EnumTest = EnumTest - -class MapTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - class PairTestEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.int - def __init__( - self, - *, - key: builtins.str = ..., - value: builtins.int = ..., - ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - class NoParseTestEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.int - def __init__( - self, - *, - key: builtins.str = ..., - value: builtins.int = ..., - ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - class KeysTestEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.int - def __init__( - self, - *, - key: builtins.str = ..., - value: builtins.int = ..., - ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - class ValuesTestEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.int - def __init__( - self, - *, - key: builtins.str = ..., - value: builtins.int = ..., - ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - class KeysValuesTestEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - @property - def value(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - def __init__( - self, - *, - key: builtins.str = ..., - value: google.protobuf.timestamp_pb2.Timestamp | None = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - class IgnoreTestEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - value: builtins.int - def __init__( - self, - *, - key: builtins.str = ..., - value: builtins.int = ..., - ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - PAIR_TEST_FIELD_NUMBER: builtins.int - NO_PARSE_TEST_FIELD_NUMBER: builtins.int - KEYS_TEST_FIELD_NUMBER: builtins.int - VALUES_TEST_FIELD_NUMBER: builtins.int - KEYS_VALUES_TEST_FIELD_NUMBER: builtins.int - IGNORE_TEST_FIELD_NUMBER: builtins.int - @property - def pair_test(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.int]: ... - @property - def no_parse_test(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.int]: ... - @property - def keys_test(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.int]: ... - @property - def values_test(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.int]: ... - @property - def keys_values_test( - self, - ) -> google.protobuf.internal.containers.MessageMap[builtins.str, google.protobuf.timestamp_pb2.Timestamp]: ... - @property - def ignore_test(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.int]: ... - def __init__( - self, - *, - pair_test: collections.abc.Mapping[builtins.str, builtins.int] | None = ..., - no_parse_test: collections.abc.Mapping[builtins.str, builtins.int] | None = ..., - keys_test: collections.abc.Mapping[builtins.str, builtins.int] | None = ..., - values_test: collections.abc.Mapping[builtins.str, builtins.int] | None = ..., - keys_values_test: collections.abc.Mapping[builtins.str, google.protobuf.timestamp_pb2.Timestamp] | None = ..., - ignore_test: collections.abc.Mapping[builtins.str, builtins.int] | None = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "ignore_test", - b"ignore_test", - "keys_test", - b"keys_test", - "keys_values_test", - b"keys_values_test", - "no_parse_test", - b"no_parse_test", - "pair_test", - b"pair_test", - "values_test", - b"values_test", - ], - ) -> None: ... - -global___MapTest = MapTest - -class MessageTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - SKIP_TEST_FIELD_NUMBER: builtins.int - REQUIRED_TEST_FIELD_NUMBER: builtins.int - skip_test: builtins.str - required_test: builtins.str - def __init__( - self, - *, - skip_test: builtins.str = ..., - required_test: builtins.str = ..., - ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["required_test", b"required_test", "skip_test", b"skip_test"] - ) -> None: ... - -global___MessageTest = MessageTest - -class RepeatedTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - RANGE_TEST_FIELD_NUMBER: builtins.int - UNIQUE_TEST_FIELD_NUMBER: builtins.int - ITEMS_STRING_TEST_FIELD_NUMBER: builtins.int - ITEMS_DOUBLE_TEST_FIELD_NUMBER: builtins.int - ITEMS_INT32_TEST_FIELD_NUMBER: builtins.int - ITEMS_TIMESTAMP_TEST_FIELD_NUMBER: builtins.int - ITEMS_DURATION_TEST_FIELD_NUMBER: builtins.int - ITEMS_BYTES_TEST_FIELD_NUMBER: builtins.int - IGNORE_TEST_FIELD_NUMBER: builtins.int - @property - def range_test(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... - @property - def unique_test(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... - @property - def items_string_test(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... - @property - def items_double_test(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]: ... - @property - def items_int32_test(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ... - @property - def items_timestamp_test( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - google.protobuf.timestamp_pb2.Timestamp - ]: ... - @property - def items_duration_test( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.duration_pb2.Duration]: ... - @property - def items_bytes_test(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: ... - @property - def ignore_test(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... - def __init__( - self, - *, - range_test: collections.abc.Iterable[builtins.str] | None = ..., - unique_test: collections.abc.Iterable[builtins.str] | None = ..., - items_string_test: collections.abc.Iterable[builtins.str] | None = ..., - items_double_test: collections.abc.Iterable[builtins.float] | None = ..., - items_int32_test: collections.abc.Iterable[builtins.int] | None = ..., - items_timestamp_test: collections.abc.Iterable[google.protobuf.timestamp_pb2.Timestamp] | None = ..., - items_duration_test: collections.abc.Iterable[google.protobuf.duration_pb2.Duration] | None = ..., - items_bytes_test: collections.abc.Iterable[builtins.bytes] | None = ..., - ignore_test: collections.abc.Iterable[builtins.str] | None = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "ignore_test", - b"ignore_test", - "items_bytes_test", - b"items_bytes_test", - "items_double_test", - b"items_double_test", - "items_duration_test", - b"items_duration_test", - "items_int32_test", - b"items_int32_test", - "items_string_test", - b"items_string_test", - "items_timestamp_test", - b"items_timestamp_test", - "range_test", - b"range_test", - "unique_test", - b"unique_test", - ], - ) -> None: ... - -global___RepeatedTest = RepeatedTest - -class AnyTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - REQUIRED_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - @property - def required_test(self) -> google.protobuf.any_pb2.Any: ... - @property - def not_in_test(self) -> google.protobuf.any_pb2.Any: ... - @property - def in_test(self) -> google.protobuf.any_pb2.Any: ... - def __init__( - self, - *, - required_test: google.protobuf.any_pb2.Any | None = ..., - not_in_test: google.protobuf.any_pb2.Any | None = ..., - in_test: google.protobuf.any_pb2.Any | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "in_test", b"in_test", "not_in_test", b"not_in_test", "required_test", b"required_test" - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "in_test", b"in_test", "not_in_test", b"not_in_test", "required_test", b"required_test" - ], - ) -> None: ... - -global___AnyTest = AnyTest - -class DurationTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - REQUIRED_TEST_FIELD_NUMBER: builtins.int - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - IN_TEST_FIELD_NUMBER: builtins.int - NOT_IN_TEST_FIELD_NUMBER: builtins.int - @property - def required_test(self) -> google.protobuf.duration_pb2.Duration: ... - @property - def const_test(self) -> google.protobuf.duration_pb2.Duration: ... - @property - def range_test(self) -> google.protobuf.duration_pb2.Duration: ... - @property - def range_e_test(self) -> google.protobuf.duration_pb2.Duration: ... - @property - def in_test(self) -> google.protobuf.duration_pb2.Duration: ... - @property - def not_in_test(self) -> google.protobuf.duration_pb2.Duration: ... - def __init__( - self, - *, - required_test: google.protobuf.duration_pb2.Duration | None = ..., - const_test: google.protobuf.duration_pb2.Duration | None = ..., - range_test: google.protobuf.duration_pb2.Duration | None = ..., - range_e_test: google.protobuf.duration_pb2.Duration | None = ..., - in_test: google.protobuf.duration_pb2.Duration | None = ..., - not_in_test: google.protobuf.duration_pb2.Duration | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "const_test", - b"const_test", - "in_test", - b"in_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - "required_test", - b"required_test", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const_test", - b"const_test", - "in_test", - b"in_test", - "not_in_test", - b"not_in_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - "required_test", - b"required_test", - ], - ) -> None: ... - -global___DurationTest = DurationTest - -class TimestampTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - REQUIRED_TEST_FIELD_NUMBER: builtins.int - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - LT_NOW_TEST_FIELD_NUMBER: builtins.int - GT_NOW_TEST_FIELD_NUMBER: builtins.int - WITHIN_TEST_FIELD_NUMBER: builtins.int - WITHIN_AND_GT_NOW_TEST_FIELD_NUMBER: builtins.int - @property - def required_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def const_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def range_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def range_e_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def lt_now_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def gt_now_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def within_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def within_and_gt_now_test(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - def __init__( - self, - *, - required_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - const_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - range_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - range_e_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - lt_now_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - gt_now_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - within_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - within_and_gt_now_test: google.protobuf.timestamp_pb2.Timestamp | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "const_test", - b"const_test", - "gt_now_test", - b"gt_now_test", - "lt_now_test", - b"lt_now_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - "required_test", - b"required_test", - "within_and_gt_now_test", - b"within_and_gt_now_test", - "within_test", - b"within_test", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const_test", - b"const_test", - "gt_now_test", - b"gt_now_test", - "lt_now_test", - b"lt_now_test", - "range_e_test", - b"range_e_test", - "range_test", - b"range_test", - "required_test", - b"required_test", - "within_and_gt_now_test", - b"within_and_gt_now_test", - "within_test", - b"within_test", - ], - ) -> None: ... - -global___TimestampTest = TimestampTest - -class MessageDisabledTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.int - range_e_test: builtins.int - range_test: builtins.int - def __init__( - self, - *, - const_test: builtins.int = ..., - range_e_test: builtins.int = ..., - range_test: builtins.int = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const_test", b"const_test", "range_e_test", b"range_e_test", "range_test", b"range_test" - ], - ) -> None: ... - -global___MessageDisabledTest = MessageDisabledTest - -class MessageIgnoredTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - CONST_TEST_FIELD_NUMBER: builtins.int - RANGE_E_TEST_FIELD_NUMBER: builtins.int - RANGE_TEST_FIELD_NUMBER: builtins.int - const_test: builtins.int - range_e_test: builtins.int - range_test: builtins.int - def __init__( - self, - *, - const_test: builtins.int = ..., - range_e_test: builtins.int = ..., - range_test: builtins.int = ..., - ) -> None: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "const_test", b"const_test", "range_e_test", b"range_e_test", "range_test", b"range_test" - ], - ) -> None: ... - -global___MessageIgnoredTest = MessageIgnoredTest - -class OneOfTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - HEADER_FIELD_NUMBER: builtins.int - X_FIELD_NUMBER: builtins.int - Y_FIELD_NUMBER: builtins.int - header: builtins.str - x: builtins.str - y: builtins.int - def __init__( - self, - *, - header: builtins.str = ..., - x: builtins.str = ..., - y: builtins.int = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["id", b"id", "x", b"x", "y", b"y"]) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["header", b"header", "id", b"id", "x", b"x", "y", b"y"] - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["id", b"id"] - ) -> typing_extensions.Literal["x", "y"] | None: ... - -global___OneOfTest = OneOfTest - -class OneOfNotTest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - HEADER_FIELD_NUMBER: builtins.int - X_FIELD_NUMBER: builtins.int - Y_FIELD_NUMBER: builtins.int - header: builtins.str - x: builtins.str - y: builtins.int - def __init__( - self, - *, - header: builtins.str = ..., - x: builtins.str = ..., - y: builtins.int = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["id", b"id", "x", b"x", "y", b"y"]) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["header", b"header", "id", b"id", "x", b"x", "y", b"y"] - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["id", b"id"] - ) -> typing_extensions.Literal["x", "y"] | None: ... - -global___OneOfNotTest = OneOfNotTest - -class NestedMessage(google.protobuf.message.Message): - """test nested message""" - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - class UserPayMessage(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - BANK_NUMBER_FIELD_NUMBER: builtins.int - EXP_FIELD_NUMBER: builtins.int - UUID_FIELD_NUMBER: builtins.int - bank_number: builtins.str - @property - def exp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - uuid: builtins.str - def __init__( - self, - *, - bank_number: builtins.str = ..., - exp: google.protobuf.timestamp_pb2.Timestamp | None = ..., - uuid: builtins.str = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["exp", b"exp"]) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["bank_number", b"bank_number", "exp", b"exp", "uuid", b"uuid"] - ) -> None: ... - - class NotEnableUserPayMessage(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - BANK_NUMBER_FIELD_NUMBER: builtins.int - EXP_FIELD_NUMBER: builtins.int - UUID_FIELD_NUMBER: builtins.int - bank_number: builtins.str - @property - def exp(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - uuid: builtins.str - def __init__( - self, - *, - bank_number: builtins.str = ..., - exp: google.protobuf.timestamp_pb2.Timestamp | None = ..., - uuid: builtins.str = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["exp", b"exp"]) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["bank_number", b"bank_number", "exp", b"exp", "uuid", b"uuid"] - ) -> None: ... - - class StringInMapTestEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - @property - def value(self) -> global___StringTest: ... - def __init__( - self, - *, - key: builtins.str = ..., - value: global___StringTest | None = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - class MapInMapTestEntry(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - KEY_FIELD_NUMBER: builtins.int - VALUE_FIELD_NUMBER: builtins.int - key: builtins.str - @property - def value(self) -> global___MapTest: ... - def __init__( - self, - *, - key: builtins.str = ..., - value: global___MapTest | None = ..., - ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ... - - STRING_IN_MAP_TEST_FIELD_NUMBER: builtins.int - MAP_IN_MAP_TEST_FIELD_NUMBER: builtins.int - USER_PAY_FIELD_NUMBER: builtins.int - NOT_ENABLE_USER_PAY_FIELD_NUMBER: builtins.int - EMPTY_FIELD_NUMBER: builtins.int - AFTER_REFER_FIELD_NUMBER: builtins.int - @property - def string_in_map_test( - self, - ) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___StringTest]: ... - @property - def map_in_map_test(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___MapTest]: ... - @property - def user_pay(self) -> global___NestedMessage.UserPayMessage: ... - @property - def not_enable_user_pay(self) -> global___NestedMessage.NotEnableUserPayMessage: ... - @property - def empty(self) -> google.protobuf.empty_pb2.Empty: ... - @property - def after_refer(self) -> global___AfterReferMessage: ... - def __init__( - self, - *, - string_in_map_test: collections.abc.Mapping[builtins.str, global___StringTest] | None = ..., - map_in_map_test: collections.abc.Mapping[builtins.str, global___MapTest] | None = ..., - user_pay: global___NestedMessage.UserPayMessage | None = ..., - not_enable_user_pay: global___NestedMessage.NotEnableUserPayMessage | None = ..., - empty: google.protobuf.empty_pb2.Empty | None = ..., - after_refer: global___AfterReferMessage | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "after_refer", - b"after_refer", - "empty", - b"empty", - "not_enable_user_pay", - b"not_enable_user_pay", - "user_pay", - b"user_pay", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "after_refer", - b"after_refer", - "empty", - b"empty", - "map_in_map_test", - b"map_in_map_test", - "not_enable_user_pay", - b"not_enable_user_pay", - "string_in_map_test", - b"string_in_map_test", - "user_pay", - b"user_pay", - ], - ) -> None: ... - -global___NestedMessage = NestedMessage - -class AfterReferMessage(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - UID_FIELD_NUMBER: builtins.int - AGE_FIELD_NUMBER: builtins.int - uid: builtins.str - age: builtins.int - def __init__( - self, - *, - uid: builtins.str = ..., - age: builtins.int = ..., - ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["age", b"age", "uid", b"uid"]) -> None: ... - -global___AfterReferMessage = AfterReferMessage diff --git a/example/proto_3_20/example/example_proto/validate/demo_pb2_grpc.py b/example/proto_3_20/example/example_proto/validate/demo_pb2_grpc.py deleted file mode 100644 index 2dd5fd3..0000000 --- a/example/proto_3_20/example/example_proto/validate/demo_pb2_grpc.py +++ /dev/null @@ -1,2 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" diff --git a/example/proto_3_20/example/example_proto/validate/demo_pb2_grpc.pyi b/example/proto_3_20/example/example_proto/validate/demo_pb2_grpc.pyi deleted file mode 100644 index f3a5a08..0000000 --- a/example/proto_3_20/example/example_proto/validate/demo_pb2_grpc.pyi +++ /dev/null @@ -1,4 +0,0 @@ -""" -@generated by mypy-protobuf. Do not edit manually! -isort:skip_file -""" diff --git a/example/proto_3_20_pydanticv1/demo_gen_code.py b/example/proto_3_20_pydanticv1/demo_gen_code.py index 91af54d..30ee865 100644 --- a/example/proto_3_20_pydanticv1/demo_gen_code.py +++ b/example/proto_3_20_pydanticv1/demo_gen_code.py @@ -93,3 +93,4 @@ class IncludeEnum(IntEnum): class OptionalMessage(BaseModel): name: typing.Optional[str] = Field(default="") age: typing.Optional[int] = Field(default=0) + item: typing.Optional[InvoiceItem] = Field() diff --git a/example/proto_3_20_pydanticv1/demo_gen_code_by_text_comment_protobuf_field.py b/example/proto_3_20_pydanticv1/demo_gen_code_by_text_comment_protobuf_field.py index 95a7d74..f0ac122 100644 --- a/example/proto_3_20_pydanticv1/demo_gen_code_by_text_comment_protobuf_field.py +++ b/example/proto_3_20_pydanticv1/demo_gen_code_by_text_comment_protobuf_field.py @@ -96,3 +96,4 @@ class IncludeEnum(IntEnum): class OptionalMessage(BaseModel): name: typing.Optional[str] = Field(default="") age: typing.Optional[int] = Field(default=0) + item: typing.Optional[InvoiceItem] = Field() diff --git a/example/proto_3_20_pydanticv1/demo_gen_code_by_text_comment_pyi.py b/example/proto_3_20_pydanticv1/demo_gen_code_by_text_comment_pyi.py index 95a7d74..f0ac122 100644 --- a/example/proto_3_20_pydanticv1/demo_gen_code_by_text_comment_pyi.py +++ b/example/proto_3_20_pydanticv1/demo_gen_code_by_text_comment_pyi.py @@ -96,3 +96,4 @@ class IncludeEnum(IntEnum): class OptionalMessage(BaseModel): name: typing.Optional[str] = Field(default="") age: typing.Optional[int] = Field(default=0) + item: typing.Optional[InvoiceItem] = Field() diff --git a/example/proto_3_20_pydanticv1/example/example_proto/demo/demo_p2p.py b/example/proto_3_20_pydanticv1/example/example_proto/demo/demo_p2p.py index 4474cdf..7cf47c2 100644 --- a/example/proto_3_20_pydanticv1/example/example_proto/demo/demo_p2p.py +++ b/example/proto_3_20_pydanticv1/example/example_proto/demo/demo_p2p.py @@ -78,3 +78,4 @@ class EmptyMessage(BaseModel): class OptionalMessage(BaseModel): name: typing.Optional[str] = Field(default="") age: typing.Optional[int] = Field(default=0) + item: typing.Optional[InvoiceItem] = Field(default=None) diff --git a/example/proto_3_20_pydanticv1/example/example_proto/demo/demo_pb2.py b/example/proto_3_20_pydanticv1/example/example_proto/demo/demo_pb2.py index f09baf2..5a86ca9 100644 --- a/example/proto_3_20_pydanticv1/example/example_proto/demo/demo_pb2.py +++ b/example/proto_3_20_pydanticv1/example/example_proto/demo/demo_pb2.py @@ -23,7 +23,7 @@ syntax='proto3', serialized_options=None, create_key=_descriptor._internal_create_key, - serialized_pb=b'\n%example/example_proto/demo/demo.proto\x12\x04user\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)example/example_proto/common/single.proto\"\xc3\x01\n\x0bUserMessage\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0b\n\x03\x61ge\x18\x02 \x01(\x05\x12\x0e\n\x06height\x18\x03 \x01(\x02\x12\x1a\n\x03sex\x18\x04 \x01(\x0e\x32\r.user.SexType\x12\x1e\n\x04\x64\x65mo\x18\x06 \x01(\x0e\x32\x10.single.DemoEnum\x12\x10\n\x08is_adult\x18\x07 \x01(\x08\x12\x11\n\tuser_name\x18\x08 \x01(\t\x12)\n\x0c\x64\x65mo_message\x18\t \x01(\x0b\x32\x13.single.DemoMessage\"\xe4\x01\n\nMapMessage\x12/\n\x08user_map\x18\x01 \x03(\x0b\x32\x1d.user.MapMessage.UserMapEntry\x12\x31\n\tuser_flag\x18\x02 \x03(\x0b\x32\x1e.user.MapMessage.UserFlagEntry\x1a\x41\n\x0cUserMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12 \n\x05value\x18\x02 \x01(\x0b\x32\x11.user.UserMessage:\x02\x38\x01\x1a/\n\rUserFlagEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\"[\n\x0fRepeatedMessage\x12\x10\n\x08str_list\x18\x01 \x03(\t\x12\x10\n\x08int_list\x18\x02 \x03(\x05\x12$\n\tuser_list\x18\x03 \x03(\x0b\x32\x11.user.UserMessage\"\x99\x05\n\rNestedMessage\x12;\n\ruser_list_map\x18\x01 \x03(\x0b\x32$.user.NestedMessage.UserListMapEntry\x12\x32\n\x08user_map\x18\x02 \x03(\x0b\x32 .user.NestedMessage.UserMapEntry\x12\x34\n\x08user_pay\x18\x03 \x01(\x0b\x32\".user.NestedMessage.UserPayMessage\x12\x35\n\x0cinclude_enum\x18\x04 \x01(\x0e\x32\x1f.user.NestedMessage.IncludeEnum\x12?\n\x13not_enable_user_pay\x18\x05 \x01(\x0b\x32\".user.NestedMessage.UserPayMessage\x12%\n\x05\x65mpty\x18\x06 \x01(\x0b\x32\x16.google.protobuf.Empty\x12,\n\x0b\x61\x66ter_refer\x18\x07 \x01(\x0b\x32\x17.user.AfterReferMessage\x1a\\\n\x0eUserPayMessage\x12\x13\n\x0b\x62\x61nk_number\x18\x01 \x01(\t\x12\'\n\x03\x65xp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04uuid\x18\x03 \x01(\t\x1aI\n\x10UserListMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.user.RepeatedMessage:\x02\x38\x01\x1a@\n\x0cUserMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1f\n\x05value\x18\x02 \x01(\x0b\x32\x10.user.MapMessage:\x02\x38\x01\")\n\x0bIncludeEnum\x12\x08\n\x04zero\x10\x00\x12\x07\n\x03one\x10\x01\x12\x07\n\x03two\x10\x02\"-\n\x11\x41\x66terReferMessage\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0b\n\x03\x61ge\x18\x02 \x01(\x05\"_\n\x0bInvoiceItem\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x05\x12\x10\n\x08quantity\x18\x03 \x01(\x05\x12 \n\x05items\x18\x04 \x03(\x0b\x32\x11.user.InvoiceItem\"\x0e\n\x0c\x45mptyMessage\"G\n\x0fOptionalMessage\x12\x11\n\x04name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x03\x61ge\x18\x02 \x01(\x05H\x01\x88\x01\x01\x42\x07\n\x05_nameB\x06\n\x04_age*\x1d\n\x07SexType\x12\x07\n\x03man\x10\x00\x12\t\n\x05women\x10\x01\x62\x06proto3' + serialized_pb=b'\n%example/example_proto/demo/demo.proto\x12\x04user\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)example/example_proto/common/single.proto\"\xc3\x01\n\x0bUserMessage\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0b\n\x03\x61ge\x18\x02 \x01(\x05\x12\x0e\n\x06height\x18\x03 \x01(\x02\x12\x1a\n\x03sex\x18\x04 \x01(\x0e\x32\r.user.SexType\x12\x1e\n\x04\x64\x65mo\x18\x06 \x01(\x0e\x32\x10.single.DemoEnum\x12\x10\n\x08is_adult\x18\x07 \x01(\x08\x12\x11\n\tuser_name\x18\x08 \x01(\t\x12)\n\x0c\x64\x65mo_message\x18\t \x01(\x0b\x32\x13.single.DemoMessage\"\xe4\x01\n\nMapMessage\x12/\n\x08user_map\x18\x01 \x03(\x0b\x32\x1d.user.MapMessage.UserMapEntry\x12\x31\n\tuser_flag\x18\x02 \x03(\x0b\x32\x1e.user.MapMessage.UserFlagEntry\x1a\x41\n\x0cUserMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12 \n\x05value\x18\x02 \x01(\x0b\x32\x11.user.UserMessage:\x02\x38\x01\x1a/\n\rUserFlagEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\"[\n\x0fRepeatedMessage\x12\x10\n\x08str_list\x18\x01 \x03(\t\x12\x10\n\x08int_list\x18\x02 \x03(\x05\x12$\n\tuser_list\x18\x03 \x03(\x0b\x32\x11.user.UserMessage\"\x99\x05\n\rNestedMessage\x12;\n\ruser_list_map\x18\x01 \x03(\x0b\x32$.user.NestedMessage.UserListMapEntry\x12\x32\n\x08user_map\x18\x02 \x03(\x0b\x32 .user.NestedMessage.UserMapEntry\x12\x34\n\x08user_pay\x18\x03 \x01(\x0b\x32\".user.NestedMessage.UserPayMessage\x12\x35\n\x0cinclude_enum\x18\x04 \x01(\x0e\x32\x1f.user.NestedMessage.IncludeEnum\x12?\n\x13not_enable_user_pay\x18\x05 \x01(\x0b\x32\".user.NestedMessage.UserPayMessage\x12%\n\x05\x65mpty\x18\x06 \x01(\x0b\x32\x16.google.protobuf.Empty\x12,\n\x0b\x61\x66ter_refer\x18\x07 \x01(\x0b\x32\x17.user.AfterReferMessage\x1a\\\n\x0eUserPayMessage\x12\x13\n\x0b\x62\x61nk_number\x18\x01 \x01(\t\x12\'\n\x03\x65xp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04uuid\x18\x03 \x01(\t\x1aI\n\x10UserListMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.user.RepeatedMessage:\x02\x38\x01\x1a@\n\x0cUserMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1f\n\x05value\x18\x02 \x01(\x0b\x32\x10.user.MapMessage:\x02\x38\x01\")\n\x0bIncludeEnum\x12\x08\n\x04zero\x10\x00\x12\x07\n\x03one\x10\x01\x12\x07\n\x03two\x10\x02\"-\n\x11\x41\x66terReferMessage\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0b\n\x03\x61ge\x18\x02 \x01(\x05\"_\n\x0bInvoiceItem\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x05\x12\x10\n\x08quantity\x18\x03 \x01(\x05\x12 \n\x05items\x18\x04 \x03(\x0b\x32\x11.user.InvoiceItem\"\x0e\n\x0c\x45mptyMessage\"v\n\x0fOptionalMessage\x12\x11\n\x04name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x03\x61ge\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12$\n\x04item\x18\x03 \x01(\x0b\x32\x11.user.InvoiceItemH\x02\x88\x01\x01\x42\x07\n\x05_nameB\x06\n\x04_ageB\x07\n\x05_item*\x1d\n\x07SexType\x12\x07\n\x03man\x10\x00\x12\t\n\x05women\x10\x01\x62\x06proto3' , dependencies=[google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,example_dot_example__proto_dot_common_dot_single__pb2.DESCRIPTOR,]) @@ -47,8 +47,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=1575, - serialized_end=1604, + serialized_start=1622, + serialized_end=1651, ) _sym_db.RegisterEnumDescriptor(_SEXTYPE) @@ -665,6 +665,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='item', full_name='user.OptionalMessage.item', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -686,9 +693,14 @@ index=1, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), + _descriptor.OneofDescriptor( + name='_item', full_name='user.OptionalMessage._item', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), ], serialized_start=1502, - serialized_end=1573, + serialized_end=1620, ) _USERMESSAGE.fields_by_name['sex'].enum_type = _SEXTYPE @@ -715,12 +727,16 @@ _NESTEDMESSAGE.fields_by_name['after_refer'].message_type = _AFTERREFERMESSAGE _NESTEDMESSAGE_INCLUDEENUM.containing_type = _NESTEDMESSAGE _INVOICEITEM.fields_by_name['items'].message_type = _INVOICEITEM +_OPTIONALMESSAGE.fields_by_name['item'].message_type = _INVOICEITEM _OPTIONALMESSAGE.oneofs_by_name['_name'].fields.append( _OPTIONALMESSAGE.fields_by_name['name']) _OPTIONALMESSAGE.fields_by_name['name'].containing_oneof = _OPTIONALMESSAGE.oneofs_by_name['_name'] _OPTIONALMESSAGE.oneofs_by_name['_age'].fields.append( _OPTIONALMESSAGE.fields_by_name['age']) _OPTIONALMESSAGE.fields_by_name['age'].containing_oneof = _OPTIONALMESSAGE.oneofs_by_name['_age'] +_OPTIONALMESSAGE.oneofs_by_name['_item'].fields.append( + _OPTIONALMESSAGE.fields_by_name['item']) +_OPTIONALMESSAGE.fields_by_name['item'].containing_oneof = _OPTIONALMESSAGE.oneofs_by_name['_item'] DESCRIPTOR.message_types_by_name['UserMessage'] = _USERMESSAGE DESCRIPTOR.message_types_by_name['MapMessage'] = _MAPMESSAGE DESCRIPTOR.message_types_by_name['RepeatedMessage'] = _REPEATEDMESSAGE diff --git a/example/proto_3_20_pydanticv1/example/example_proto/demo/demo_pb2.pyi b/example/proto_3_20_pydanticv1/example/example_proto/demo/demo_pb2.pyi index fabb637..6b5e891 100644 --- a/example/proto_3_20_pydanticv1/example/example_proto/demo/demo_pb2.pyi +++ b/example/proto_3_20_pydanticv1/example/example_proto/demo/demo_pb2.pyi @@ -337,19 +337,25 @@ class OptionalMessage(google.protobuf.message.Message): NAME_FIELD_NUMBER: builtins.int AGE_FIELD_NUMBER: builtins.int + ITEM_FIELD_NUMBER: builtins.int name: builtins.str age: builtins.int + @property + def item(self) -> global___InvoiceItem: ... def __init__( self, *, name: builtins.str | None = ..., age: builtins.int | None = ..., + item: global___InvoiceItem | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["_age", b"_age", "_name", b"_name", "age", b"age", "name", b"name"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["_age", b"_age", "_name", b"_name", "age", b"age", "name", b"name"]) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["_age", b"_age", "_item", b"_item", "_name", b"_name", "age", b"age", "item", b"item", "name", b"name"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["_age", b"_age", "_item", b"_item", "_name", b"_name", "age", b"age", "item", b"item", "name", b"name"]) -> None: ... @typing.overload def WhichOneof(self, oneof_group: typing_extensions.Literal["_age", b"_age"]) -> typing_extensions.Literal["age"] | None: ... @typing.overload + def WhichOneof(self, oneof_group: typing_extensions.Literal["_item", b"_item"]) -> typing_extensions.Literal["item"] | None: ... + @typing.overload def WhichOneof(self, oneof_group: typing_extensions.Literal["_name", b"_name"]) -> typing_extensions.Literal["name"] | None: ... global___OptionalMessage = OptionalMessage diff --git a/example/proto_3_20_pydanticv2/demo_gen_code.py b/example/proto_3_20_pydanticv2/demo_gen_code.py index 380352f..c8a5a58 100644 --- a/example/proto_3_20_pydanticv2/demo_gen_code.py +++ b/example/proto_3_20_pydanticv2/demo_gen_code.py @@ -93,3 +93,4 @@ class IncludeEnum(IntEnum): class OptionalMessage(BaseModel): name: typing.Optional[str] = Field(default="") age: typing.Optional[int] = Field(default=0) + item: typing.Optional[InvoiceItem] = Field() diff --git a/example/proto_3_20_pydanticv2/demo_gen_code_by_text_comment_protobuf_field.py b/example/proto_3_20_pydanticv2/demo_gen_code_by_text_comment_protobuf_field.py index 4fa223d..1472ea8 100644 --- a/example/proto_3_20_pydanticv2/demo_gen_code_by_text_comment_protobuf_field.py +++ b/example/proto_3_20_pydanticv2/demo_gen_code_by_text_comment_protobuf_field.py @@ -96,3 +96,4 @@ class IncludeEnum(IntEnum): class OptionalMessage(BaseModel): name: typing.Optional[str] = Field(default="") age: typing.Optional[int] = Field(default=0) + item: typing.Optional[InvoiceItem] = Field() diff --git a/example/proto_3_20_pydanticv2/demo_gen_code_by_text_comment_pyi.py b/example/proto_3_20_pydanticv2/demo_gen_code_by_text_comment_pyi.py index 4fa223d..1472ea8 100644 --- a/example/proto_3_20_pydanticv2/demo_gen_code_by_text_comment_pyi.py +++ b/example/proto_3_20_pydanticv2/demo_gen_code_by_text_comment_pyi.py @@ -96,3 +96,4 @@ class IncludeEnum(IntEnum): class OptionalMessage(BaseModel): name: typing.Optional[str] = Field(default="") age: typing.Optional[int] = Field(default=0) + item: typing.Optional[InvoiceItem] = Field() diff --git a/example/proto_3_20_pydanticv2/example/example_proto/demo/demo_p2p.py b/example/proto_3_20_pydanticv2/example/example_proto/demo/demo_p2p.py index 574b0ba..db10b62 100644 --- a/example/proto_3_20_pydanticv2/example/example_proto/demo/demo_p2p.py +++ b/example/proto_3_20_pydanticv2/example/example_proto/demo/demo_p2p.py @@ -78,3 +78,4 @@ class EmptyMessage(BaseModel): class OptionalMessage(BaseModel): name: typing.Optional[str] = Field(default="", json_schema_extra={}) age: typing.Optional[int] = Field(default=0, json_schema_extra={}) + item: typing.Optional[InvoiceItem] = Field(json_schema_extra={}, default=None) diff --git a/example/proto_3_20_pydanticv2/example/example_proto/demo/demo_pb2.py b/example/proto_3_20_pydanticv2/example/example_proto/demo/demo_pb2.py index 758d01b..fa5df31 100644 --- a/example/proto_3_20_pydanticv2/example/example_proto/demo/demo_pb2.py +++ b/example/proto_3_20_pydanticv2/example/example_proto/demo/demo_pb2.py @@ -23,7 +23,7 @@ syntax='proto3', serialized_options=None, create_key=_descriptor._internal_create_key, - serialized_pb=b'\n%example/example_proto/demo/demo.proto\x12\x04user\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)example/example_proto/common/single.proto\"\xc3\x01\n\x0bUserMessage\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0b\n\x03\x61ge\x18\x02 \x01(\x05\x12\x0e\n\x06height\x18\x03 \x01(\x02\x12\x1a\n\x03sex\x18\x04 \x01(\x0e\x32\r.user.SexType\x12\x1e\n\x04\x64\x65mo\x18\x06 \x01(\x0e\x32\x10.single.DemoEnum\x12\x10\n\x08is_adult\x18\x07 \x01(\x08\x12\x11\n\tuser_name\x18\x08 \x01(\t\x12)\n\x0c\x64\x65mo_message\x18\t \x01(\x0b\x32\x13.single.DemoMessage\"\xe4\x01\n\nMapMessage\x12/\n\x08user_map\x18\x01 \x03(\x0b\x32\x1d.user.MapMessage.UserMapEntry\x12\x31\n\tuser_flag\x18\x02 \x03(\x0b\x32\x1e.user.MapMessage.UserFlagEntry\x1a\x41\n\x0cUserMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12 \n\x05value\x18\x02 \x01(\x0b\x32\x11.user.UserMessage:\x02\x38\x01\x1a/\n\rUserFlagEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\"[\n\x0fRepeatedMessage\x12\x10\n\x08str_list\x18\x01 \x03(\t\x12\x10\n\x08int_list\x18\x02 \x03(\x05\x12$\n\tuser_list\x18\x03 \x03(\x0b\x32\x11.user.UserMessage\"\x99\x05\n\rNestedMessage\x12;\n\ruser_list_map\x18\x01 \x03(\x0b\x32$.user.NestedMessage.UserListMapEntry\x12\x32\n\x08user_map\x18\x02 \x03(\x0b\x32 .user.NestedMessage.UserMapEntry\x12\x34\n\x08user_pay\x18\x03 \x01(\x0b\x32\".user.NestedMessage.UserPayMessage\x12\x35\n\x0cinclude_enum\x18\x04 \x01(\x0e\x32\x1f.user.NestedMessage.IncludeEnum\x12?\n\x13not_enable_user_pay\x18\x05 \x01(\x0b\x32\".user.NestedMessage.UserPayMessage\x12%\n\x05\x65mpty\x18\x06 \x01(\x0b\x32\x16.google.protobuf.Empty\x12,\n\x0b\x61\x66ter_refer\x18\x07 \x01(\x0b\x32\x17.user.AfterReferMessage\x1a\\\n\x0eUserPayMessage\x12\x13\n\x0b\x62\x61nk_number\x18\x01 \x01(\t\x12\'\n\x03\x65xp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04uuid\x18\x03 \x01(\t\x1aI\n\x10UserListMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.user.RepeatedMessage:\x02\x38\x01\x1a@\n\x0cUserMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1f\n\x05value\x18\x02 \x01(\x0b\x32\x10.user.MapMessage:\x02\x38\x01\")\n\x0bIncludeEnum\x12\x08\n\x04zero\x10\x00\x12\x07\n\x03one\x10\x01\x12\x07\n\x03two\x10\x02\"-\n\x11\x41\x66terReferMessage\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0b\n\x03\x61ge\x18\x02 \x01(\x05\"_\n\x0bInvoiceItem\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x05\x12\x10\n\x08quantity\x18\x03 \x01(\x05\x12 \n\x05items\x18\x04 \x03(\x0b\x32\x11.user.InvoiceItem\"\x0e\n\x0c\x45mptyMessage\"G\n\x0fOptionalMessage\x12\x11\n\x04name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x03\x61ge\x18\x02 \x01(\x05H\x01\x88\x01\x01\x42\x07\n\x05_nameB\x06\n\x04_age*\x1d\n\x07SexType\x12\x07\n\x03man\x10\x00\x12\t\n\x05women\x10\x01\x62\x06proto3' + serialized_pb=b'\n%example/example_proto/demo/demo.proto\x12\x04user\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)example/example_proto/common/single.proto\"\xc3\x01\n\x0bUserMessage\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0b\n\x03\x61ge\x18\x02 \x01(\x05\x12\x0e\n\x06height\x18\x03 \x01(\x02\x12\x1a\n\x03sex\x18\x04 \x01(\x0e\x32\r.user.SexType\x12\x1e\n\x04\x64\x65mo\x18\x06 \x01(\x0e\x32\x10.single.DemoEnum\x12\x10\n\x08is_adult\x18\x07 \x01(\x08\x12\x11\n\tuser_name\x18\x08 \x01(\t\x12)\n\x0c\x64\x65mo_message\x18\t \x01(\x0b\x32\x13.single.DemoMessage\"\xe4\x01\n\nMapMessage\x12/\n\x08user_map\x18\x01 \x03(\x0b\x32\x1d.user.MapMessage.UserMapEntry\x12\x31\n\tuser_flag\x18\x02 \x03(\x0b\x32\x1e.user.MapMessage.UserFlagEntry\x1a\x41\n\x0cUserMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12 \n\x05value\x18\x02 \x01(\x0b\x32\x11.user.UserMessage:\x02\x38\x01\x1a/\n\rUserFlagEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\"[\n\x0fRepeatedMessage\x12\x10\n\x08str_list\x18\x01 \x03(\t\x12\x10\n\x08int_list\x18\x02 \x03(\x05\x12$\n\tuser_list\x18\x03 \x03(\x0b\x32\x11.user.UserMessage\"\x99\x05\n\rNestedMessage\x12;\n\ruser_list_map\x18\x01 \x03(\x0b\x32$.user.NestedMessage.UserListMapEntry\x12\x32\n\x08user_map\x18\x02 \x03(\x0b\x32 .user.NestedMessage.UserMapEntry\x12\x34\n\x08user_pay\x18\x03 \x01(\x0b\x32\".user.NestedMessage.UserPayMessage\x12\x35\n\x0cinclude_enum\x18\x04 \x01(\x0e\x32\x1f.user.NestedMessage.IncludeEnum\x12?\n\x13not_enable_user_pay\x18\x05 \x01(\x0b\x32\".user.NestedMessage.UserPayMessage\x12%\n\x05\x65mpty\x18\x06 \x01(\x0b\x32\x16.google.protobuf.Empty\x12,\n\x0b\x61\x66ter_refer\x18\x07 \x01(\x0b\x32\x17.user.AfterReferMessage\x1a\\\n\x0eUserPayMessage\x12\x13\n\x0b\x62\x61nk_number\x18\x01 \x01(\t\x12\'\n\x03\x65xp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04uuid\x18\x03 \x01(\t\x1aI\n\x10UserListMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.user.RepeatedMessage:\x02\x38\x01\x1a@\n\x0cUserMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1f\n\x05value\x18\x02 \x01(\x0b\x32\x10.user.MapMessage:\x02\x38\x01\")\n\x0bIncludeEnum\x12\x08\n\x04zero\x10\x00\x12\x07\n\x03one\x10\x01\x12\x07\n\x03two\x10\x02\"-\n\x11\x41\x66terReferMessage\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0b\n\x03\x61ge\x18\x02 \x01(\x05\"_\n\x0bInvoiceItem\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x05\x12\x10\n\x08quantity\x18\x03 \x01(\x05\x12 \n\x05items\x18\x04 \x03(\x0b\x32\x11.user.InvoiceItem\"\x0e\n\x0c\x45mptyMessage\"v\n\x0fOptionalMessage\x12\x11\n\x04name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x03\x61ge\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12$\n\x04item\x18\x03 \x01(\x0b\x32\x11.user.InvoiceItemH\x02\x88\x01\x01\x42\x07\n\x05_nameB\x06\n\x04_ageB\x07\n\x05_item*\x1d\n\x07SexType\x12\x07\n\x03man\x10\x00\x12\t\n\x05women\x10\x01\x62\x06proto3' , dependencies=[google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,example_dot_example__proto_dot_common_dot_single__pb2.DESCRIPTOR,]) @@ -47,8 +47,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=1575, - serialized_end=1604, + serialized_start=1622, + serialized_end=1651, ) _sym_db.RegisterEnumDescriptor(_SEXTYPE) @@ -665,6 +665,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='item', full_name='user.OptionalMessage.item', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -686,9 +693,14 @@ index=1, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), + _descriptor.OneofDescriptor( + name='_item', full_name='user.OptionalMessage._item', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), ], serialized_start=1502, - serialized_end=1573, + serialized_end=1620, ) _USERMESSAGE.fields_by_name['sex'].enum_type = _SEXTYPE @@ -715,12 +727,16 @@ _NESTEDMESSAGE.fields_by_name['after_refer'].message_type = _AFTERREFERMESSAGE _NESTEDMESSAGE_INCLUDEENUM.containing_type = _NESTEDMESSAGE _INVOICEITEM.fields_by_name['items'].message_type = _INVOICEITEM +_OPTIONALMESSAGE.fields_by_name['item'].message_type = _INVOICEITEM _OPTIONALMESSAGE.oneofs_by_name['_name'].fields.append( _OPTIONALMESSAGE.fields_by_name['name']) _OPTIONALMESSAGE.fields_by_name['name'].containing_oneof = _OPTIONALMESSAGE.oneofs_by_name['_name'] _OPTIONALMESSAGE.oneofs_by_name['_age'].fields.append( _OPTIONALMESSAGE.fields_by_name['age']) _OPTIONALMESSAGE.fields_by_name['age'].containing_oneof = _OPTIONALMESSAGE.oneofs_by_name['_age'] +_OPTIONALMESSAGE.oneofs_by_name['_item'].fields.append( + _OPTIONALMESSAGE.fields_by_name['item']) +_OPTIONALMESSAGE.fields_by_name['item'].containing_oneof = _OPTIONALMESSAGE.oneofs_by_name['_item'] DESCRIPTOR.message_types_by_name['UserMessage'] = _USERMESSAGE DESCRIPTOR.message_types_by_name['MapMessage'] = _MAPMESSAGE DESCRIPTOR.message_types_by_name['RepeatedMessage'] = _REPEATEDMESSAGE diff --git a/example/proto_3_20_pydanticv2/example/example_proto/demo/demo_pb2.pyi b/example/proto_3_20_pydanticv2/example/example_proto/demo/demo_pb2.pyi index fabb637..6b5e891 100644 --- a/example/proto_3_20_pydanticv2/example/example_proto/demo/demo_pb2.pyi +++ b/example/proto_3_20_pydanticv2/example/example_proto/demo/demo_pb2.pyi @@ -337,19 +337,25 @@ class OptionalMessage(google.protobuf.message.Message): NAME_FIELD_NUMBER: builtins.int AGE_FIELD_NUMBER: builtins.int + ITEM_FIELD_NUMBER: builtins.int name: builtins.str age: builtins.int + @property + def item(self) -> global___InvoiceItem: ... def __init__( self, *, name: builtins.str | None = ..., age: builtins.int | None = ..., + item: global___InvoiceItem | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["_age", b"_age", "_name", b"_name", "age", b"age", "name", b"name"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["_age", b"_age", "_name", b"_name", "age", b"age", "name", b"name"]) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["_age", b"_age", "_item", b"_item", "_name", b"_name", "age", b"age", "item", b"item", "name", b"name"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["_age", b"_age", "_item", b"_item", "_name", b"_name", "age", b"age", "item", b"item", "name", b"name"]) -> None: ... @typing.overload def WhichOneof(self, oneof_group: typing_extensions.Literal["_age", b"_age"]) -> typing_extensions.Literal["age"] | None: ... @typing.overload + def WhichOneof(self, oneof_group: typing_extensions.Literal["_item", b"_item"]) -> typing_extensions.Literal["item"] | None: ... + @typing.overload def WhichOneof(self, oneof_group: typing_extensions.Literal["_name", b"_name"]) -> typing_extensions.Literal["name"] | None: ... global___OptionalMessage = OptionalMessage diff --git a/example/proto_pydanticv1/demo_gen_code.py b/example/proto_pydanticv1/demo_gen_code.py index 4838584..6c1c511 100644 --- a/example/proto_pydanticv1/demo_gen_code.py +++ b/example/proto_pydanticv1/demo_gen_code.py @@ -93,3 +93,4 @@ class IncludeEnum(IntEnum): class OptionalMessage(BaseModel): name: typing.Optional[str] = Field(default="") age: typing.Optional[int] = Field(default=0) + item: typing.Optional[InvoiceItem] = Field() diff --git a/example/proto_pydanticv1/demo_gen_code_by_text_comment_protobuf_field.py b/example/proto_pydanticv1/demo_gen_code_by_text_comment_protobuf_field.py index 4e1c738..b5ec8bd 100644 --- a/example/proto_pydanticv1/demo_gen_code_by_text_comment_protobuf_field.py +++ b/example/proto_pydanticv1/demo_gen_code_by_text_comment_protobuf_field.py @@ -96,3 +96,4 @@ class IncludeEnum(IntEnum): class OptionalMessage(BaseModel): name: typing.Optional[str] = Field(default="") age: typing.Optional[int] = Field(default=0) + item: typing.Optional[InvoiceItem] = Field() diff --git a/example/proto_pydanticv1/demo_gen_code_by_text_comment_pyi.py b/example/proto_pydanticv1/demo_gen_code_by_text_comment_pyi.py index 4e1c738..b5ec8bd 100644 --- a/example/proto_pydanticv1/demo_gen_code_by_text_comment_pyi.py +++ b/example/proto_pydanticv1/demo_gen_code_by_text_comment_pyi.py @@ -96,3 +96,4 @@ class IncludeEnum(IntEnum): class OptionalMessage(BaseModel): name: typing.Optional[str] = Field(default="") age: typing.Optional[int] = Field(default=0) + item: typing.Optional[InvoiceItem] = Field() diff --git a/example/proto_pydanticv1/example/example_proto/demo/demo_p2p.py b/example/proto_pydanticv1/example/example_proto/demo/demo_p2p.py index 07ef058..dc081df 100644 --- a/example/proto_pydanticv1/example/example_proto/demo/demo_p2p.py +++ b/example/proto_pydanticv1/example/example_proto/demo/demo_p2p.py @@ -78,3 +78,4 @@ class EmptyMessage(BaseModel): class OptionalMessage(BaseModel): name: typing.Optional[str] = Field(default="") age: typing.Optional[int] = Field(default=0) + item: typing.Optional[InvoiceItem] = Field(default=None) diff --git a/example/proto_pydanticv1/example/example_proto/demo/demo_pb2.py b/example/proto_pydanticv1/example/example_proto/demo/demo_pb2.py index 8d38682..245f8bf 100644 --- a/example/proto_pydanticv1/example/example_proto/demo/demo_pb2.py +++ b/example/proto_pydanticv1/example/example_proto/demo/demo_pb2.py @@ -16,7 +16,7 @@ from example.proto_pydanticv1.example.example_proto.common import single_pb2 as example_dot_example__proto_dot_common_dot_single__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%example/example_proto/demo/demo.proto\x12\x04user\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)example/example_proto/common/single.proto\"\xc3\x01\n\x0bUserMessage\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0b\n\x03\x61ge\x18\x02 \x01(\x05\x12\x0e\n\x06height\x18\x03 \x01(\x02\x12\x1a\n\x03sex\x18\x04 \x01(\x0e\x32\r.user.SexType\x12\x1e\n\x04\x64\x65mo\x18\x06 \x01(\x0e\x32\x10.single.DemoEnum\x12\x10\n\x08is_adult\x18\x07 \x01(\x08\x12\x11\n\tuser_name\x18\x08 \x01(\t\x12)\n\x0c\x64\x65mo_message\x18\t \x01(\x0b\x32\x13.single.DemoMessage\"\xe4\x01\n\nMapMessage\x12/\n\x08user_map\x18\x01 \x03(\x0b\x32\x1d.user.MapMessage.UserMapEntry\x12\x31\n\tuser_flag\x18\x02 \x03(\x0b\x32\x1e.user.MapMessage.UserFlagEntry\x1a\x41\n\x0cUserMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12 \n\x05value\x18\x02 \x01(\x0b\x32\x11.user.UserMessage:\x02\x38\x01\x1a/\n\rUserFlagEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\"[\n\x0fRepeatedMessage\x12\x10\n\x08str_list\x18\x01 \x03(\t\x12\x10\n\x08int_list\x18\x02 \x03(\x05\x12$\n\tuser_list\x18\x03 \x03(\x0b\x32\x11.user.UserMessage\"\x99\x05\n\rNestedMessage\x12;\n\ruser_list_map\x18\x01 \x03(\x0b\x32$.user.NestedMessage.UserListMapEntry\x12\x32\n\x08user_map\x18\x02 \x03(\x0b\x32 .user.NestedMessage.UserMapEntry\x12\x34\n\x08user_pay\x18\x03 \x01(\x0b\x32\".user.NestedMessage.UserPayMessage\x12\x35\n\x0cinclude_enum\x18\x04 \x01(\x0e\x32\x1f.user.NestedMessage.IncludeEnum\x12?\n\x13not_enable_user_pay\x18\x05 \x01(\x0b\x32\".user.NestedMessage.UserPayMessage\x12%\n\x05\x65mpty\x18\x06 \x01(\x0b\x32\x16.google.protobuf.Empty\x12,\n\x0b\x61\x66ter_refer\x18\x07 \x01(\x0b\x32\x17.user.AfterReferMessage\x1a\\\n\x0eUserPayMessage\x12\x13\n\x0b\x62\x61nk_number\x18\x01 \x01(\t\x12\'\n\x03\x65xp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04uuid\x18\x03 \x01(\t\x1aI\n\x10UserListMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.user.RepeatedMessage:\x02\x38\x01\x1a@\n\x0cUserMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1f\n\x05value\x18\x02 \x01(\x0b\x32\x10.user.MapMessage:\x02\x38\x01\")\n\x0bIncludeEnum\x12\x08\n\x04zero\x10\x00\x12\x07\n\x03one\x10\x01\x12\x07\n\x03two\x10\x02\"-\n\x11\x41\x66terReferMessage\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0b\n\x03\x61ge\x18\x02 \x01(\x05\"_\n\x0bInvoiceItem\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x05\x12\x10\n\x08quantity\x18\x03 \x01(\x05\x12 \n\x05items\x18\x04 \x03(\x0b\x32\x11.user.InvoiceItem\"\x0e\n\x0c\x45mptyMessage\"G\n\x0fOptionalMessage\x12\x11\n\x04name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x03\x61ge\x18\x02 \x01(\x05H\x01\x88\x01\x01\x42\x07\n\x05_nameB\x06\n\x04_age*\x1d\n\x07SexType\x12\x07\n\x03man\x10\x00\x12\t\n\x05women\x10\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%example/example_proto/demo/demo.proto\x12\x04user\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)example/example_proto/common/single.proto\"\xc3\x01\n\x0bUserMessage\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0b\n\x03\x61ge\x18\x02 \x01(\x05\x12\x0e\n\x06height\x18\x03 \x01(\x02\x12\x1a\n\x03sex\x18\x04 \x01(\x0e\x32\r.user.SexType\x12\x1e\n\x04\x64\x65mo\x18\x06 \x01(\x0e\x32\x10.single.DemoEnum\x12\x10\n\x08is_adult\x18\x07 \x01(\x08\x12\x11\n\tuser_name\x18\x08 \x01(\t\x12)\n\x0c\x64\x65mo_message\x18\t \x01(\x0b\x32\x13.single.DemoMessage\"\xe4\x01\n\nMapMessage\x12/\n\x08user_map\x18\x01 \x03(\x0b\x32\x1d.user.MapMessage.UserMapEntry\x12\x31\n\tuser_flag\x18\x02 \x03(\x0b\x32\x1e.user.MapMessage.UserFlagEntry\x1a\x41\n\x0cUserMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12 \n\x05value\x18\x02 \x01(\x0b\x32\x11.user.UserMessage:\x02\x38\x01\x1a/\n\rUserFlagEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\"[\n\x0fRepeatedMessage\x12\x10\n\x08str_list\x18\x01 \x03(\t\x12\x10\n\x08int_list\x18\x02 \x03(\x05\x12$\n\tuser_list\x18\x03 \x03(\x0b\x32\x11.user.UserMessage\"\x99\x05\n\rNestedMessage\x12;\n\ruser_list_map\x18\x01 \x03(\x0b\x32$.user.NestedMessage.UserListMapEntry\x12\x32\n\x08user_map\x18\x02 \x03(\x0b\x32 .user.NestedMessage.UserMapEntry\x12\x34\n\x08user_pay\x18\x03 \x01(\x0b\x32\".user.NestedMessage.UserPayMessage\x12\x35\n\x0cinclude_enum\x18\x04 \x01(\x0e\x32\x1f.user.NestedMessage.IncludeEnum\x12?\n\x13not_enable_user_pay\x18\x05 \x01(\x0b\x32\".user.NestedMessage.UserPayMessage\x12%\n\x05\x65mpty\x18\x06 \x01(\x0b\x32\x16.google.protobuf.Empty\x12,\n\x0b\x61\x66ter_refer\x18\x07 \x01(\x0b\x32\x17.user.AfterReferMessage\x1a\\\n\x0eUserPayMessage\x12\x13\n\x0b\x62\x61nk_number\x18\x01 \x01(\t\x12\'\n\x03\x65xp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04uuid\x18\x03 \x01(\t\x1aI\n\x10UserListMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.user.RepeatedMessage:\x02\x38\x01\x1a@\n\x0cUserMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1f\n\x05value\x18\x02 \x01(\x0b\x32\x10.user.MapMessage:\x02\x38\x01\")\n\x0bIncludeEnum\x12\x08\n\x04zero\x10\x00\x12\x07\n\x03one\x10\x01\x12\x07\n\x03two\x10\x02\"-\n\x11\x41\x66terReferMessage\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0b\n\x03\x61ge\x18\x02 \x01(\x05\"_\n\x0bInvoiceItem\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x05\x12\x10\n\x08quantity\x18\x03 \x01(\x05\x12 \n\x05items\x18\x04 \x03(\x0b\x32\x11.user.InvoiceItem\"\x0e\n\x0c\x45mptyMessage\"v\n\x0fOptionalMessage\x12\x11\n\x04name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x03\x61ge\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12$\n\x04item\x18\x03 \x01(\x0b\x32\x11.user.InvoiceItemH\x02\x88\x01\x01\x42\x07\n\x05_nameB\x06\n\x04_ageB\x07\n\x05_item*\x1d\n\x07SexType\x12\x07\n\x03man\x10\x00\x12\t\n\x05women\x10\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -32,8 +32,8 @@ _NESTEDMESSAGE_USERLISTMAPENTRY._serialized_options = b'8\001' _NESTEDMESSAGE_USERMAPENTRY._options = None _NESTEDMESSAGE_USERMAPENTRY._serialized_options = b'8\001' - _globals['_SEXTYPE']._serialized_start=1575 - _globals['_SEXTYPE']._serialized_end=1604 + _globals['_SEXTYPE']._serialized_start=1622 + _globals['_SEXTYPE']._serialized_end=1651 _globals['_USERMESSAGE']._serialized_start=153 _globals['_USERMESSAGE']._serialized_end=348 _globals['_MAPMESSAGE']._serialized_start=351 @@ -61,5 +61,5 @@ _globals['_EMPTYMESSAGE']._serialized_start=1486 _globals['_EMPTYMESSAGE']._serialized_end=1500 _globals['_OPTIONALMESSAGE']._serialized_start=1502 - _globals['_OPTIONALMESSAGE']._serialized_end=1573 + _globals['_OPTIONALMESSAGE']._serialized_end=1620 # @@protoc_insertion_point(module_scope) diff --git a/example/proto_pydanticv1/example/example_proto/demo/demo_pb2.pyi b/example/proto_pydanticv1/example/example_proto/demo/demo_pb2.pyi index fabb637..6b5e891 100644 --- a/example/proto_pydanticv1/example/example_proto/demo/demo_pb2.pyi +++ b/example/proto_pydanticv1/example/example_proto/demo/demo_pb2.pyi @@ -337,19 +337,25 @@ class OptionalMessage(google.protobuf.message.Message): NAME_FIELD_NUMBER: builtins.int AGE_FIELD_NUMBER: builtins.int + ITEM_FIELD_NUMBER: builtins.int name: builtins.str age: builtins.int + @property + def item(self) -> global___InvoiceItem: ... def __init__( self, *, name: builtins.str | None = ..., age: builtins.int | None = ..., + item: global___InvoiceItem | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["_age", b"_age", "_name", b"_name", "age", b"age", "name", b"name"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["_age", b"_age", "_name", b"_name", "age", b"age", "name", b"name"]) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["_age", b"_age", "_item", b"_item", "_name", b"_name", "age", b"age", "item", b"item", "name", b"name"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["_age", b"_age", "_item", b"_item", "_name", b"_name", "age", b"age", "item", b"item", "name", b"name"]) -> None: ... @typing.overload def WhichOneof(self, oneof_group: typing_extensions.Literal["_age", b"_age"]) -> typing_extensions.Literal["age"] | None: ... @typing.overload + def WhichOneof(self, oneof_group: typing_extensions.Literal["_item", b"_item"]) -> typing_extensions.Literal["item"] | None: ... + @typing.overload def WhichOneof(self, oneof_group: typing_extensions.Literal["_name", b"_name"]) -> typing_extensions.Literal["name"] | None: ... global___OptionalMessage = OptionalMessage diff --git a/example/proto_pydanticv2/demo_gen_code.py b/example/proto_pydanticv2/demo_gen_code.py index 360df20..d3a328b 100644 --- a/example/proto_pydanticv2/demo_gen_code.py +++ b/example/proto_pydanticv2/demo_gen_code.py @@ -93,3 +93,4 @@ class IncludeEnum(IntEnum): class OptionalMessage(BaseModel): name: typing.Optional[str] = Field(default="") age: typing.Optional[int] = Field(default=0) + item: typing.Optional[InvoiceItem] = Field() diff --git a/example/proto_pydanticv2/demo_gen_code_by_text_comment_protobuf_field.py b/example/proto_pydanticv2/demo_gen_code_by_text_comment_protobuf_field.py index f092350..6650331 100644 --- a/example/proto_pydanticv2/demo_gen_code_by_text_comment_protobuf_field.py +++ b/example/proto_pydanticv2/demo_gen_code_by_text_comment_protobuf_field.py @@ -96,3 +96,4 @@ class IncludeEnum(IntEnum): class OptionalMessage(BaseModel): name: typing.Optional[str] = Field(default="") age: typing.Optional[int] = Field(default=0) + item: typing.Optional[InvoiceItem] = Field() diff --git a/example/proto_pydanticv2/demo_gen_code_by_text_comment_pyi.py b/example/proto_pydanticv2/demo_gen_code_by_text_comment_pyi.py index f092350..6650331 100644 --- a/example/proto_pydanticv2/demo_gen_code_by_text_comment_pyi.py +++ b/example/proto_pydanticv2/demo_gen_code_by_text_comment_pyi.py @@ -96,3 +96,4 @@ class IncludeEnum(IntEnum): class OptionalMessage(BaseModel): name: typing.Optional[str] = Field(default="") age: typing.Optional[int] = Field(default=0) + item: typing.Optional[InvoiceItem] = Field() diff --git a/example/proto_pydanticv2/example/example_proto/demo/demo_p2p.py b/example/proto_pydanticv2/example/example_proto/demo/demo_p2p.py index e3d93c3..8d31f31 100644 --- a/example/proto_pydanticv2/example/example_proto/demo/demo_p2p.py +++ b/example/proto_pydanticv2/example/example_proto/demo/demo_p2p.py @@ -78,3 +78,4 @@ class EmptyMessage(BaseModel): class OptionalMessage(BaseModel): name: typing.Optional[str] = Field(default="", json_schema_extra={}) age: typing.Optional[int] = Field(default=0, json_schema_extra={}) + item: typing.Optional[InvoiceItem] = Field(json_schema_extra={}, default=None) diff --git a/example/proto_pydanticv2/example/example_proto/demo/demo_pb2.py b/example/proto_pydanticv2/example/example_proto/demo/demo_pb2.py index 24c6d66..1896add 100644 --- a/example/proto_pydanticv2/example/example_proto/demo/demo_pb2.py +++ b/example/proto_pydanticv2/example/example_proto/demo/demo_pb2.py @@ -16,7 +16,7 @@ from example.proto_pydanticv2.example.example_proto.common import single_pb2 as example_dot_example__proto_dot_common_dot_single__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%example/example_proto/demo/demo.proto\x12\x04user\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)example/example_proto/common/single.proto\"\xc3\x01\n\x0bUserMessage\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0b\n\x03\x61ge\x18\x02 \x01(\x05\x12\x0e\n\x06height\x18\x03 \x01(\x02\x12\x1a\n\x03sex\x18\x04 \x01(\x0e\x32\r.user.SexType\x12\x1e\n\x04\x64\x65mo\x18\x06 \x01(\x0e\x32\x10.single.DemoEnum\x12\x10\n\x08is_adult\x18\x07 \x01(\x08\x12\x11\n\tuser_name\x18\x08 \x01(\t\x12)\n\x0c\x64\x65mo_message\x18\t \x01(\x0b\x32\x13.single.DemoMessage\"\xe4\x01\n\nMapMessage\x12/\n\x08user_map\x18\x01 \x03(\x0b\x32\x1d.user.MapMessage.UserMapEntry\x12\x31\n\tuser_flag\x18\x02 \x03(\x0b\x32\x1e.user.MapMessage.UserFlagEntry\x1a\x41\n\x0cUserMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12 \n\x05value\x18\x02 \x01(\x0b\x32\x11.user.UserMessage:\x02\x38\x01\x1a/\n\rUserFlagEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\"[\n\x0fRepeatedMessage\x12\x10\n\x08str_list\x18\x01 \x03(\t\x12\x10\n\x08int_list\x18\x02 \x03(\x05\x12$\n\tuser_list\x18\x03 \x03(\x0b\x32\x11.user.UserMessage\"\x99\x05\n\rNestedMessage\x12;\n\ruser_list_map\x18\x01 \x03(\x0b\x32$.user.NestedMessage.UserListMapEntry\x12\x32\n\x08user_map\x18\x02 \x03(\x0b\x32 .user.NestedMessage.UserMapEntry\x12\x34\n\x08user_pay\x18\x03 \x01(\x0b\x32\".user.NestedMessage.UserPayMessage\x12\x35\n\x0cinclude_enum\x18\x04 \x01(\x0e\x32\x1f.user.NestedMessage.IncludeEnum\x12?\n\x13not_enable_user_pay\x18\x05 \x01(\x0b\x32\".user.NestedMessage.UserPayMessage\x12%\n\x05\x65mpty\x18\x06 \x01(\x0b\x32\x16.google.protobuf.Empty\x12,\n\x0b\x61\x66ter_refer\x18\x07 \x01(\x0b\x32\x17.user.AfterReferMessage\x1a\\\n\x0eUserPayMessage\x12\x13\n\x0b\x62\x61nk_number\x18\x01 \x01(\t\x12\'\n\x03\x65xp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04uuid\x18\x03 \x01(\t\x1aI\n\x10UserListMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.user.RepeatedMessage:\x02\x38\x01\x1a@\n\x0cUserMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1f\n\x05value\x18\x02 \x01(\x0b\x32\x10.user.MapMessage:\x02\x38\x01\")\n\x0bIncludeEnum\x12\x08\n\x04zero\x10\x00\x12\x07\n\x03one\x10\x01\x12\x07\n\x03two\x10\x02\"-\n\x11\x41\x66terReferMessage\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0b\n\x03\x61ge\x18\x02 \x01(\x05\"_\n\x0bInvoiceItem\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x05\x12\x10\n\x08quantity\x18\x03 \x01(\x05\x12 \n\x05items\x18\x04 \x03(\x0b\x32\x11.user.InvoiceItem\"\x0e\n\x0c\x45mptyMessage\"G\n\x0fOptionalMessage\x12\x11\n\x04name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x03\x61ge\x18\x02 \x01(\x05H\x01\x88\x01\x01\x42\x07\n\x05_nameB\x06\n\x04_age*\x1d\n\x07SexType\x12\x07\n\x03man\x10\x00\x12\t\n\x05women\x10\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%example/example_proto/demo/demo.proto\x12\x04user\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)example/example_proto/common/single.proto\"\xc3\x01\n\x0bUserMessage\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0b\n\x03\x61ge\x18\x02 \x01(\x05\x12\x0e\n\x06height\x18\x03 \x01(\x02\x12\x1a\n\x03sex\x18\x04 \x01(\x0e\x32\r.user.SexType\x12\x1e\n\x04\x64\x65mo\x18\x06 \x01(\x0e\x32\x10.single.DemoEnum\x12\x10\n\x08is_adult\x18\x07 \x01(\x08\x12\x11\n\tuser_name\x18\x08 \x01(\t\x12)\n\x0c\x64\x65mo_message\x18\t \x01(\x0b\x32\x13.single.DemoMessage\"\xe4\x01\n\nMapMessage\x12/\n\x08user_map\x18\x01 \x03(\x0b\x32\x1d.user.MapMessage.UserMapEntry\x12\x31\n\tuser_flag\x18\x02 \x03(\x0b\x32\x1e.user.MapMessage.UserFlagEntry\x1a\x41\n\x0cUserMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12 \n\x05value\x18\x02 \x01(\x0b\x32\x11.user.UserMessage:\x02\x38\x01\x1a/\n\rUserFlagEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\"[\n\x0fRepeatedMessage\x12\x10\n\x08str_list\x18\x01 \x03(\t\x12\x10\n\x08int_list\x18\x02 \x03(\x05\x12$\n\tuser_list\x18\x03 \x03(\x0b\x32\x11.user.UserMessage\"\x99\x05\n\rNestedMessage\x12;\n\ruser_list_map\x18\x01 \x03(\x0b\x32$.user.NestedMessage.UserListMapEntry\x12\x32\n\x08user_map\x18\x02 \x03(\x0b\x32 .user.NestedMessage.UserMapEntry\x12\x34\n\x08user_pay\x18\x03 \x01(\x0b\x32\".user.NestedMessage.UserPayMessage\x12\x35\n\x0cinclude_enum\x18\x04 \x01(\x0e\x32\x1f.user.NestedMessage.IncludeEnum\x12?\n\x13not_enable_user_pay\x18\x05 \x01(\x0b\x32\".user.NestedMessage.UserPayMessage\x12%\n\x05\x65mpty\x18\x06 \x01(\x0b\x32\x16.google.protobuf.Empty\x12,\n\x0b\x61\x66ter_refer\x18\x07 \x01(\x0b\x32\x17.user.AfterReferMessage\x1a\\\n\x0eUserPayMessage\x12\x13\n\x0b\x62\x61nk_number\x18\x01 \x01(\t\x12\'\n\x03\x65xp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04uuid\x18\x03 \x01(\t\x1aI\n\x10UserListMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.user.RepeatedMessage:\x02\x38\x01\x1a@\n\x0cUserMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1f\n\x05value\x18\x02 \x01(\x0b\x32\x10.user.MapMessage:\x02\x38\x01\")\n\x0bIncludeEnum\x12\x08\n\x04zero\x10\x00\x12\x07\n\x03one\x10\x01\x12\x07\n\x03two\x10\x02\"-\n\x11\x41\x66terReferMessage\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0b\n\x03\x61ge\x18\x02 \x01(\x05\"_\n\x0bInvoiceItem\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x05\x12\x10\n\x08quantity\x18\x03 \x01(\x05\x12 \n\x05items\x18\x04 \x03(\x0b\x32\x11.user.InvoiceItem\"\x0e\n\x0c\x45mptyMessage\"v\n\x0fOptionalMessage\x12\x11\n\x04name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x03\x61ge\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12$\n\x04item\x18\x03 \x01(\x0b\x32\x11.user.InvoiceItemH\x02\x88\x01\x01\x42\x07\n\x05_nameB\x06\n\x04_ageB\x07\n\x05_item*\x1d\n\x07SexType\x12\x07\n\x03man\x10\x00\x12\t\n\x05women\x10\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -32,8 +32,8 @@ _NESTEDMESSAGE_USERLISTMAPENTRY._serialized_options = b'8\001' _NESTEDMESSAGE_USERMAPENTRY._options = None _NESTEDMESSAGE_USERMAPENTRY._serialized_options = b'8\001' - _globals['_SEXTYPE']._serialized_start=1575 - _globals['_SEXTYPE']._serialized_end=1604 + _globals['_SEXTYPE']._serialized_start=1622 + _globals['_SEXTYPE']._serialized_end=1651 _globals['_USERMESSAGE']._serialized_start=153 _globals['_USERMESSAGE']._serialized_end=348 _globals['_MAPMESSAGE']._serialized_start=351 @@ -61,5 +61,5 @@ _globals['_EMPTYMESSAGE']._serialized_start=1486 _globals['_EMPTYMESSAGE']._serialized_end=1500 _globals['_OPTIONALMESSAGE']._serialized_start=1502 - _globals['_OPTIONALMESSAGE']._serialized_end=1573 + _globals['_OPTIONALMESSAGE']._serialized_end=1620 # @@protoc_insertion_point(module_scope) diff --git a/example/proto_pydanticv2/example/example_proto/demo/demo_pb2.pyi b/example/proto_pydanticv2/example/example_proto/demo/demo_pb2.pyi index fabb637..6b5e891 100644 --- a/example/proto_pydanticv2/example/example_proto/demo/demo_pb2.pyi +++ b/example/proto_pydanticv2/example/example_proto/demo/demo_pb2.pyi @@ -337,19 +337,25 @@ class OptionalMessage(google.protobuf.message.Message): NAME_FIELD_NUMBER: builtins.int AGE_FIELD_NUMBER: builtins.int + ITEM_FIELD_NUMBER: builtins.int name: builtins.str age: builtins.int + @property + def item(self) -> global___InvoiceItem: ... def __init__( self, *, name: builtins.str | None = ..., age: builtins.int | None = ..., + item: global___InvoiceItem | None = ..., ) -> None: ... - def HasField(self, field_name: typing_extensions.Literal["_age", b"_age", "_name", b"_name", "age", b"age", "name", b"name"]) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal["_age", b"_age", "_name", b"_name", "age", b"age", "name", b"name"]) -> None: ... + def HasField(self, field_name: typing_extensions.Literal["_age", b"_age", "_item", b"_item", "_name", b"_name", "age", b"age", "item", b"item", "name", b"name"]) -> builtins.bool: ... + def ClearField(self, field_name: typing_extensions.Literal["_age", b"_age", "_item", b"_item", "_name", b"_name", "age", b"age", "item", b"item", "name", b"name"]) -> None: ... @typing.overload def WhichOneof(self, oneof_group: typing_extensions.Literal["_age", b"_age"]) -> typing_extensions.Literal["age"] | None: ... @typing.overload + def WhichOneof(self, oneof_group: typing_extensions.Literal["_item", b"_item"]) -> typing_extensions.Literal["item"] | None: ... + @typing.overload def WhichOneof(self, oneof_group: typing_extensions.Literal["_name", b"_name"]) -> typing_extensions.Literal["name"] | None: ... global___OptionalMessage = OptionalMessage diff --git a/protobuf_to_pydantic/gen_model.py b/protobuf_to_pydantic/gen_model.py index ecc238a..c51ead0 100644 --- a/protobuf_to_pydantic/gen_model.py +++ b/protobuf_to_pydantic/gen_model.py @@ -618,6 +618,9 @@ def _parse_msg_to_pydantic_model(self, *, descriptor: Descriptor, class_name: st continue if optional_dict.get(protobuf_field.full_name, {}).get("is_proto3_optional", False): field_dataclass.field_type = Optional[field_dataclass.field_type] + if field_dataclass.field_default is _pydantic_adapter.PydanticUndefined: + field_dataclass.field_default = None + annotation_dict[field_dataclass.field_name] = (field_dataclass.field_type, field_info) if field_dataclass.field_type in (AnyMessage,) and not _pydantic_adapter.get_model_config_value( diff --git a/protobuf_to_pydantic/plugin/field_desc_proto_to_code.py b/protobuf_to_pydantic/plugin/field_desc_proto_to_code.py index f305fbb..3447c81 100644 --- a/protobuf_to_pydantic/plugin/field_desc_proto_to_code.py +++ b/protobuf_to_pydantic/plugin/field_desc_proto_to_code.py @@ -285,8 +285,6 @@ def _message_field_handle( value_type_str = self._get_protobuf_type_model(message.field[1]).py_type_str type_str = f"typing.Dict[{key_type_str}, {value_type_str}]" - if optional_dict.get(field.name, {}).get("is_proto3_optional", False): - type_str = f"typing.Optional[{type_str}]" # custom field support field_class: Optional[FieldInfo] = field_info_dict.pop("field", None) if field_class: @@ -298,6 +296,15 @@ def _message_field_handle( if not _pydantic_adapter.is_v1: # pgv or p2p rule no warning required field_param_dict_migration_v2_handler(field_info_dict, is_warnings=False) + + if optional_dict.get(field.name, {}).get("is_proto3_optional", False): + type_str = f"typing.Optional[{type_str}]" + if ( + field_info_dict.get("default", _pydantic_adapter.PydanticUndefined) + is _pydantic_adapter.PydanticUndefined + ): + field_info_dict["default"] = None + # arranging field info parameters for key in FieldInfo.__slots__: value: Any = field_info_dict.get(key, None) diff --git a/tests/test_gen_code_output/test_simple.py b/tests/test_gen_code_output/test_simple.py index dd8d69b..5e019f7 100644 --- a/tests/test_gen_code_output/test_simple.py +++ b/tests/test_gen_code_output/test_simple.py @@ -248,5 +248,6 @@ def test_field_optional(self) -> None: class OptionalMessage(BaseModel): name: typing.Optional[str] = Field(default="") age: typing.Optional[int] = Field(default=0) + item: typing.Optional[InvoiceItem] = Field() """ ) in self._model_output(demo_pb2.OptionalMessage) diff --git a/tests/test_gen_code_validate_in_runtime/test_p2p_validate.py b/tests/test_gen_code_validate_in_runtime/test_p2p_validate.py index a8ae78e..ab2c855 100644 --- a/tests/test_gen_code_validate_in_runtime/test_p2p_validate.py +++ b/tests/test_gen_code_validate_in_runtime/test_p2p_validate.py @@ -6,12 +6,12 @@ if __version__ > "4.0.0": if is_v1: - from example.proto import demo_gen_code_by_p2p + from example.proto_pydanticv1 import demo_gen_code_by_p2p else: from example.proto_pydanticv2 import demo_gen_code_by_p2p else: if is_v1: - from example.proto_3_20 import demo_gen_code_by_p2p + from example.proto_3_20_pydanticv1 import demo_gen_code_by_p2p else: from example.proto_3_20_pydanticv2 import demo_gen_code_by_p2p diff --git a/tests/test_gen_code_validate_in_runtime/test_pgv_validate.py b/tests/test_gen_code_validate_in_runtime/test_pgv_validate.py index c513e40..8a6f8ed 100644 --- a/tests/test_gen_code_validate_in_runtime/test_pgv_validate.py +++ b/tests/test_gen_code_validate_in_runtime/test_pgv_validate.py @@ -7,12 +7,12 @@ if __version__ > "4.0.0": if is_v1: - from example.proto import demo_gen_code_by_pgv + from example.proto_pydanticv1 import demo_gen_code_by_pgv else: from example.proto_pydanticv2 import demo_gen_code_by_pgv else: if is_v1: - from example.proto_3_20 import demo_gen_code_by_pgv + from example.proto_3_20_pydanticv1 import demo_gen_code_by_pgv else: from example.proto_3_20_pydanticv2 import demo_gen_code_by_pgv