-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathbytes_pb2.py
More file actions
134 lines (127 loc) · 10.7 KB
/
bytes_pb2.py
File metadata and controls
134 lines (127 loc) · 10.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# Copyright 2023-2025 Buf Technologies, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: buf/validate/conformance/cases/bytes.proto
# Protobuf Python Version: 5.26.0
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*buf/validate/conformance/cases/bytes.proto\x12\x1e\x62uf.validate.conformance.cases\x1a\x1b\x62uf/validate/validate.proto\"\x1d\n\tBytesNone\x12\x10\n\x03val\x18\x01 \x01(\x0cR\x03val\"*\n\nBytesConst\x12\x1c\n\x03val\x18\x01 \x01(\x0c\x42\n\xbaH\x07z\x05\n\x03\x66ooR\x03val\",\n\x07\x42ytesIn\x12!\n\x03val\x18\x01 \x01(\x0c\x42\x0f\xbaH\x0cz\nB\x03\x62\x61rB\x03\x62\x61zR\x03val\"1\n\nBytesNotIn\x12#\n\x03val\x18\x01 \x01(\x0c\x42\x11\xbaH\x0ez\x0cJ\x04\x66izzJ\x04\x62uzzR\x03val\"%\n\x08\x42ytesLen\x12\x19\n\x03val\x18\x01 \x01(\x0c\x42\x07\xbaH\x04z\x02h\x03R\x03val\"(\n\x0b\x42ytesMinLen\x12\x19\n\x03val\x18\x01 \x01(\x0c\x42\x07\xbaH\x04z\x02\x10\x03R\x03val\"(\n\x0b\x42ytesMaxLen\x12\x19\n\x03val\x18\x01 \x01(\x0c\x42\x07\xbaH\x04z\x02\x18\x05R\x03val\"-\n\x0e\x42ytesMinMaxLen\x12\x1b\n\x03val\x18\x01 \x01(\x0c\x42\t\xbaH\x06z\x04\x10\x03\x18\x05R\x03val\"2\n\x13\x42ytesEqualMinMaxLen\x12\x1b\n\x03val\x18\x01 \x01(\x0c\x42\t\xbaH\x06z\x04\x10\x05\x18\x05R\x03val\"7\n\x0c\x42ytesPattern\x12\'\n\x03val\x18\x01 \x01(\x0c\x42\x15\xbaH\x12z\x10\"\x0e^[\\x00-\\x7F]+$R\x03val\")\n\x0b\x42ytesPrefix\x12\x1a\n\x03val\x18\x01 \x01(\x0c\x42\x08\xbaH\x05z\x03*\x01\x99R\x03val\"-\n\rBytesContains\x12\x1c\n\x03val\x18\x01 \x01(\x0c\x42\n\xbaH\x07z\x05:\x03\x62\x61rR\x03val\",\n\x0b\x42ytesSuffix\x12\x1d\n\x03val\x18\x01 \x01(\x0c\x42\x0b\xbaH\x08z\x06\x32\x04\x62uzzR\x03val\"$\n\x07\x42ytesIP\x12\x19\n\x03val\x18\x01 \x01(\x0c\x42\x07\xbaH\x04z\x02P\x01R\x03val\"\'\n\nBytesNotIP\x12\x19\n\x03val\x18\x01 \x01(\x0c\x42\x07\xbaH\x04z\x02P\x00R\x03val\"&\n\tBytesIPv4\x12\x19\n\x03val\x18\x01 \x01(\x0c\x42\x07\xbaH\x04z\x02X\x01R\x03val\")\n\x0c\x42ytesNotIPv4\x12\x19\n\x03val\x18\x01 \x01(\x0c\x42\x07\xbaH\x04z\x02X\x00R\x03val\"&\n\tBytesIPv6\x12\x19\n\x03val\x18\x01 \x01(\x0c\x42\x07\xbaH\x04z\x02`\x01R\x03val\")\n\x0c\x42ytesNotIPv6\x12\x19\n\x03val\x18\x01 \x01(\x0c\x42\x07\xbaH\x04z\x02`\x00R\x03val\"/\n\x0f\x42ytesIPv6Ignore\x12\x1c\n\x03val\x18\x01 \x01(\x0c\x42\n\xbaH\x07z\x02`\x01\xd8\x01\x01R\x03val\"&\n\tBytesUUID\x12\x19\n\x03val\x18\x01 \x01(\x0c\x42\x07\xbaH\x04z\x02x\x01R\x03val\")\n\x0c\x42ytesNotUUID\x12\x19\n\x03val\x18\x01 \x01(\x0c\x42\x07\xbaH\x04z\x02x\x00R\x03val\"/\n\x0f\x42ytesUUIDIgnore\x12\x1c\n\x03val\x18\x01 \x01(\x0c\x42\n\xbaH\x07z\x02x\x01\xd8\x01\x01R\x03val\"*\n\x0c\x42ytesExample\x12\x1a\n\x03val\x18\x01 \x01(\x0c\x42\x08\xbaH\x05z\x03r\x01\x99R\x03valB\xee\x01\n\"com.buf.validate.conformance.casesB\nBytesProtoP\x01\xa2\x02\x04\x42VCC\xaa\x02\x1e\x42uf.Validate.Conformance.Cases\xba\x02\x1f\x42uf_Validate_Conformance_Cases_\xca\x02\x1e\x42uf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Casesb\x06proto3')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'buf.validate.conformance.cases.bytes_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
_globals['DESCRIPTOR']._loaded_options = None
_globals['DESCRIPTOR']._serialized_options = b'\n\"com.buf.validate.conformance.casesB\nBytesProtoP\001\242\002\004BVCC\252\002\036Buf.Validate.Conformance.Cases\272\002\037Buf_Validate_Conformance_Cases_\312\002\036Buf\\Validate\\Conformance\\Cases\342\002*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\352\002!Buf::Validate::Conformance::Cases'
_globals['_BYTESCONST'].fields_by_name['val']._loaded_options = None
_globals['_BYTESCONST'].fields_by_name['val']._serialized_options = b'\272H\007z\005\n\003foo'
_globals['_BYTESIN'].fields_by_name['val']._loaded_options = None
_globals['_BYTESIN'].fields_by_name['val']._serialized_options = b'\272H\014z\nB\003barB\003baz'
_globals['_BYTESNOTIN'].fields_by_name['val']._loaded_options = None
_globals['_BYTESNOTIN'].fields_by_name['val']._serialized_options = b'\272H\016z\014J\004fizzJ\004buzz'
_globals['_BYTESLEN'].fields_by_name['val']._loaded_options = None
_globals['_BYTESLEN'].fields_by_name['val']._serialized_options = b'\272H\004z\002h\003'
_globals['_BYTESMINLEN'].fields_by_name['val']._loaded_options = None
_globals['_BYTESMINLEN'].fields_by_name['val']._serialized_options = b'\272H\004z\002\020\003'
_globals['_BYTESMAXLEN'].fields_by_name['val']._loaded_options = None
_globals['_BYTESMAXLEN'].fields_by_name['val']._serialized_options = b'\272H\004z\002\030\005'
_globals['_BYTESMINMAXLEN'].fields_by_name['val']._loaded_options = None
_globals['_BYTESMINMAXLEN'].fields_by_name['val']._serialized_options = b'\272H\006z\004\020\003\030\005'
_globals['_BYTESEQUALMINMAXLEN'].fields_by_name['val']._loaded_options = None
_globals['_BYTESEQUALMINMAXLEN'].fields_by_name['val']._serialized_options = b'\272H\006z\004\020\005\030\005'
_globals['_BYTESPATTERN'].fields_by_name['val']._loaded_options = None
_globals['_BYTESPATTERN'].fields_by_name['val']._serialized_options = b'\272H\022z\020\"\016^[\\x00-\\x7F]+$'
_globals['_BYTESPREFIX'].fields_by_name['val']._loaded_options = None
_globals['_BYTESPREFIX'].fields_by_name['val']._serialized_options = b'\272H\005z\003*\001\231'
_globals['_BYTESCONTAINS'].fields_by_name['val']._loaded_options = None
_globals['_BYTESCONTAINS'].fields_by_name['val']._serialized_options = b'\272H\007z\005:\003bar'
_globals['_BYTESSUFFIX'].fields_by_name['val']._loaded_options = None
_globals['_BYTESSUFFIX'].fields_by_name['val']._serialized_options = b'\272H\010z\0062\004buzz'
_globals['_BYTESIP'].fields_by_name['val']._loaded_options = None
_globals['_BYTESIP'].fields_by_name['val']._serialized_options = b'\272H\004z\002P\001'
_globals['_BYTESNOTIP'].fields_by_name['val']._loaded_options = None
_globals['_BYTESNOTIP'].fields_by_name['val']._serialized_options = b'\272H\004z\002P\000'
_globals['_BYTESIPV4'].fields_by_name['val']._loaded_options = None
_globals['_BYTESIPV4'].fields_by_name['val']._serialized_options = b'\272H\004z\002X\001'
_globals['_BYTESNOTIPV4'].fields_by_name['val']._loaded_options = None
_globals['_BYTESNOTIPV4'].fields_by_name['val']._serialized_options = b'\272H\004z\002X\000'
_globals['_BYTESIPV6'].fields_by_name['val']._loaded_options = None
_globals['_BYTESIPV6'].fields_by_name['val']._serialized_options = b'\272H\004z\002`\001'
_globals['_BYTESNOTIPV6'].fields_by_name['val']._loaded_options = None
_globals['_BYTESNOTIPV6'].fields_by_name['val']._serialized_options = b'\272H\004z\002`\000'
_globals['_BYTESIPV6IGNORE'].fields_by_name['val']._loaded_options = None
_globals['_BYTESIPV6IGNORE'].fields_by_name['val']._serialized_options = b'\272H\007z\002`\001\330\001\001'
_globals['_BYTESUUID'].fields_by_name['val']._loaded_options = None
_globals['_BYTESUUID'].fields_by_name['val']._serialized_options = b'\272H\004z\002x\001'
_globals['_BYTESNOTUUID'].fields_by_name['val']._loaded_options = None
_globals['_BYTESNOTUUID'].fields_by_name['val']._serialized_options = b'\272H\004z\002x\000'
_globals['_BYTESUUIDIGNORE'].fields_by_name['val']._loaded_options = None
_globals['_BYTESUUIDIGNORE'].fields_by_name['val']._serialized_options = b'\272H\007z\002x\001\330\001\001'
_globals['_BYTESEXAMPLE'].fields_by_name['val']._loaded_options = None
_globals['_BYTESEXAMPLE'].fields_by_name['val']._serialized_options = b'\272H\005z\003r\001\231'
_globals['_BYTESNONE']._serialized_start=107
_globals['_BYTESNONE']._serialized_end=136
_globals['_BYTESCONST']._serialized_start=138
_globals['_BYTESCONST']._serialized_end=180
_globals['_BYTESIN']._serialized_start=182
_globals['_BYTESIN']._serialized_end=226
_globals['_BYTESNOTIN']._serialized_start=228
_globals['_BYTESNOTIN']._serialized_end=277
_globals['_BYTESLEN']._serialized_start=279
_globals['_BYTESLEN']._serialized_end=316
_globals['_BYTESMINLEN']._serialized_start=318
_globals['_BYTESMINLEN']._serialized_end=358
_globals['_BYTESMAXLEN']._serialized_start=360
_globals['_BYTESMAXLEN']._serialized_end=400
_globals['_BYTESMINMAXLEN']._serialized_start=402
_globals['_BYTESMINMAXLEN']._serialized_end=447
_globals['_BYTESEQUALMINMAXLEN']._serialized_start=449
_globals['_BYTESEQUALMINMAXLEN']._serialized_end=499
_globals['_BYTESPATTERN']._serialized_start=501
_globals['_BYTESPATTERN']._serialized_end=556
_globals['_BYTESPREFIX']._serialized_start=558
_globals['_BYTESPREFIX']._serialized_end=599
_globals['_BYTESCONTAINS']._serialized_start=601
_globals['_BYTESCONTAINS']._serialized_end=646
_globals['_BYTESSUFFIX']._serialized_start=648
_globals['_BYTESSUFFIX']._serialized_end=692
_globals['_BYTESIP']._serialized_start=694
_globals['_BYTESIP']._serialized_end=730
_globals['_BYTESNOTIP']._serialized_start=732
_globals['_BYTESNOTIP']._serialized_end=771
_globals['_BYTESIPV4']._serialized_start=773
_globals['_BYTESIPV4']._serialized_end=811
_globals['_BYTESNOTIPV4']._serialized_start=813
_globals['_BYTESNOTIPV4']._serialized_end=854
_globals['_BYTESIPV6']._serialized_start=856
_globals['_BYTESIPV6']._serialized_end=894
_globals['_BYTESNOTIPV6']._serialized_start=896
_globals['_BYTESNOTIPV6']._serialized_end=937
_globals['_BYTESIPV6IGNORE']._serialized_start=939
_globals['_BYTESIPV6IGNORE']._serialized_end=986
_globals['_BYTESUUID']._serialized_start=988
_globals['_BYTESUUID']._serialized_end=1026
_globals['_BYTESNOTUUID']._serialized_start=1028
_globals['_BYTESNOTUUID']._serialized_end=1069
_globals['_BYTESUUIDIGNORE']._serialized_start=1071
_globals['_BYTESUUIDIGNORE']._serialized_end=1118
_globals['_BYTESEXAMPLE']._serialized_start=1120
_globals['_BYTESEXAMPLE']._serialized_end=1162
# @@protoc_insertion_point(module_scope)