-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathlibrary_pb2.py
More file actions
78 lines (71 loc) · 5.92 KB
/
library_pb2.py
File metadata and controls
78 lines (71 loc) · 5.92 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
# 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!
# NO CHECKED-IN PROTOBUF GENCODE
# source: buf/validate/conformance/cases/library.proto
# Protobuf Python Version: 6.30.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 runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
_runtime_version.Domain.PUBLIC,
6,
30,
0,
'',
'buf/validate/conformance/cases/library.proto'
)
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,buf/validate/conformance/cases/library.proto\x12\x1e\x62uf.validate.conformance.cases\x1a\x1b\x62uf/validate/validate.proto\"Q\n\nIsHostname\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val:1\xbaH.\x1a,\n\x13library.is_hostname\x1a\x15this.val.isHostname()\"\x93\x01\n\rIsHostAndPort\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val\x12#\n\rport_required\x18\x02 \x01(\x08R\x0cportRequired:K\xbaHH\x1a\x46\n\x18library.is_host_and_port\x1a*this.val.isHostAndPort(this.port_required)\"\xf0\x02\n\nIsIpPrefix\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val\x12\x1d\n\x07version\x18\x02 \x01(\x05H\x00R\x07version\x88\x01\x01\x12\x1b\n\x06strict\x18\x03 \x01(\x08H\x01R\x06strict\x88\x01\x01:\xfc\x01\xbaH\xf8\x01\x1a\xf5\x01\n\x14library.is_ip_prefix\x1a\xdc\x01has(this.version) && has(this.strict) ? this.val.isIpPrefix(this.version, this.strict) : has(this.version) ? this.val.isIpPrefix(this.version) : has(this.strict) ? this.val.isIpPrefix(this.strict) : this.val.isIpPrefix()B\n\n\x08_versionB\t\n\x07_strict\"\x9c\x01\n\x04IsIp\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val\x12\x1d\n\x07version\x18\x02 \x01(\x05H\x00R\x07version\x88\x01\x01:W\xbaHT\x1aR\n\rlibrary.is_ip\x1a\x41has(this.version) ? this.val.isIp(this.version) : this.val.isIp()B\n\n\x08_version\"H\n\x07IsEmail\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val:+\xbaH(\x1a&\n\x10library.is_email\x1a\x12this.val.isEmail()\"B\n\x05IsUri\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val:\'\xbaH$\x1a\"\n\x0elibrary.is_uri\x1a\x10this.val.isUri()\"L\n\x08IsUriRef\x12\x10\n\x03val\x18\x01 \x01(\tR\x03val:.\xbaH+\x1a)\n\x12library.is_uri_ref\x1a\x13this.val.isUriRef()B\xce\x01\n\"com.buf.validate.conformance.casesB\x0cLibraryProtoP\x01\xa2\x02\x04\x42VCC\xaa\x02\x1e\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.library_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
_globals['DESCRIPTOR']._loaded_options = None
_globals['DESCRIPTOR']._serialized_options = b'\n\"com.buf.validate.conformance.casesB\014LibraryProtoP\001\242\002\004BVCC\252\002\036Buf.Validate.Conformance.Cases\312\002\036Buf\\Validate\\Conformance\\Cases\342\002*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\352\002!Buf::Validate::Conformance::Cases'
_globals['_ISHOSTNAME']._loaded_options = None
_globals['_ISHOSTNAME']._serialized_options = b'\272H.\032,\n\023library.is_hostname\032\025this.val.isHostname()'
_globals['_ISHOSTANDPORT']._loaded_options = None
_globals['_ISHOSTANDPORT']._serialized_options = b'\272HH\032F\n\030library.is_host_and_port\032*this.val.isHostAndPort(this.port_required)'
_globals['_ISIPPREFIX']._loaded_options = None
_globals['_ISIPPREFIX']._serialized_options = b'\272H\370\001\032\365\001\n\024library.is_ip_prefix\032\334\001has(this.version) && has(this.strict) ? this.val.isIpPrefix(this.version, this.strict) : has(this.version) ? this.val.isIpPrefix(this.version) : has(this.strict) ? this.val.isIpPrefix(this.strict) : this.val.isIpPrefix()'
_globals['_ISIP']._loaded_options = None
_globals['_ISIP']._serialized_options = b'\272HT\032R\n\rlibrary.is_ip\032Ahas(this.version) ? this.val.isIp(this.version) : this.val.isIp()'
_globals['_ISEMAIL']._loaded_options = None
_globals['_ISEMAIL']._serialized_options = b'\272H(\032&\n\020library.is_email\032\022this.val.isEmail()'
_globals['_ISURI']._loaded_options = None
_globals['_ISURI']._serialized_options = b'\272H$\032\"\n\016library.is_uri\032\020this.val.isUri()'
_globals['_ISURIREF']._loaded_options = None
_globals['_ISURIREF']._serialized_options = b'\272H+\032)\n\022library.is_uri_ref\032\023this.val.isUriRef()'
_globals['_ISHOSTNAME']._serialized_start=109
_globals['_ISHOSTNAME']._serialized_end=190
_globals['_ISHOSTANDPORT']._serialized_start=193
_globals['_ISHOSTANDPORT']._serialized_end=340
_globals['_ISIPPREFIX']._serialized_start=343
_globals['_ISIPPREFIX']._serialized_end=711
_globals['_ISIP']._serialized_start=714
_globals['_ISIP']._serialized_end=870
_globals['_ISEMAIL']._serialized_start=872
_globals['_ISEMAIL']._serialized_end=944
_globals['_ISURI']._serialized_start=946
_globals['_ISURI']._serialized_end=1012
_globals['_ISURIREF']._serialized_start=1014
_globals['_ISURIREF']._serialized_end=1090
# @@protoc_insertion_point(module_scope)