-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathkitchen_sink_pb2.py
More file actions
92 lines (85 loc) · 8.55 KB
/
kitchen_sink_pb2.py
File metadata and controls
92 lines (85 loc) · 8.55 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
# 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/kitchen_sink.proto
# Protobuf Python Version: 6.30.1
"""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,
1,
'',
'buf/validate/conformance/cases/kitchen_sink.proto'
)
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
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 timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1buf/validate/conformance/cases/kitchen_sink.proto\x12\x1e\x62uf.validate.conformance.cases\x1a\x1b\x62uf/validate/validate.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xbc\x08\n\x0e\x43omplexTestMsg\x12!\n\x05\x63onst\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\n\x04\x61\x62\x63\x64R\x05\x63onst\x12\x46\n\x06nested\x18\x02 \x01(\x0b\x32..buf.validate.conformance.cases.ComplexTestMsgR\x06nested\x12$\n\tint_const\x18\x03 \x01(\x05\x42\x07\xbaH\x04\x1a\x02\x08\x05R\x08intConst\x12&\n\nbool_const\x18\x04 \x01(\x08\x42\x07\xbaH\x04j\x02\x08\x00R\tboolConst\x12\x44\n\tfloat_val\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.FloatValueB\n\xbaH\x07\n\x05%\x00\x00\x00\x00R\x08\x66loatVal\x12\x41\n\x07\x64ur_val\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\r\xbaH\n\xaa\x01\x04\x1a\x02\x08\x11\xc8\x01\x01R\x06\x64urVal\x12=\n\x06ts_val\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\n\xbaH\x07\xb2\x01\x04*\x02\x08\x07R\x05tsVal\x12H\n\x07\x61nother\x18\x08 \x01(\x0b\x32..buf.validate.conformance.cases.ComplexTestMsgR\x07\x61nother\x12+\n\x0b\x66loat_const\x18\t \x01(\x02\x42\n\xbaH\x07\n\x05\x15\x00\x00\x00\x41R\nfloatConst\x12\x34\n\tdouble_in\x18\n \x01(\x01\x42\x17\xbaH\x14\x12\x12\x31\xb4\xc8v\xbe\x9f\x8c|@1\x00\x00\x00\x00\x00\xc0^@R\x08\x64oubleIn\x12X\n\nenum_const\x18\x0b \x01(\x0e\x32/.buf.validate.conformance.cases.ComplexTestEnumB\x08\xbaH\x05\x82\x01\x02\x08\x02R\tenumConst\x12\x63\n\x07\x61ny_val\x18\x0c \x01(\x0b\x32\x14.google.protobuf.AnyB4\xbaH1\xa2\x01.\x12,type.googleapis.com/google.protobuf.DurationR\x06\x61nyVal\x12K\n\nrep_ts_val\x18\r \x03(\x0b\x32\x1a.google.protobuf.TimestampB\x11\xbaH\x0e\x92\x01\x0b\"\t\xb2\x01\x06\x32\x04\x10\xc0\x84=R\x08repTsVal\x12\x61\n\x07map_val\x18\x0e \x03(\x0b\x32:.buf.validate.conformance.cases.ComplexTestMsg.MapValEntryB\x0c\xbaH\t\x9a\x01\x06\"\x04:\x02\x10\x00R\x06mapVal\x12&\n\tbytes_val\x18\x0f \x01(\x0c\x42\t\xbaH\x06z\x04\n\x02\x00\x99R\x08\x62ytesVal\x12\x0e\n\x01x\x18\x10 \x01(\tH\x00R\x01x\x12\x0e\n\x01y\x18\x11 \x01(\x05H\x00R\x01y\x1a\x39\n\x0bMapValEntry\x12\x10\n\x03key\x18\x01 \x01(\x11R\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\n\n\x01o\x12\x05\xbaH\x02\x08\x01\"V\n\x12KitchenSinkMessage\x12@\n\x03val\x18\x01 \x01(\x0b\x32..buf.validate.conformance.cases.ComplexTestMsgR\x03val*j\n\x0f\x43omplexTestEnum\x12!\n\x1d\x43OMPLEX_TEST_ENUM_UNSPECIFIED\x10\x00\x12\x19\n\x15\x43OMPLEX_TEST_ENUM_ONE\x10\x01\x12\x19\n\x15\x43OMPLEX_TEST_ENUM_TWO\x10\x02\x42\xd2\x01\n\"com.buf.validate.conformance.casesB\x10KitchenSinkProtoP\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.kitchen_sink_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
_globals['DESCRIPTOR']._loaded_options = None
_globals['DESCRIPTOR']._serialized_options = b'\n\"com.buf.validate.conformance.casesB\020KitchenSinkProtoP\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['_COMPLEXTESTMSG_MAPVALENTRY']._loaded_options = None
_globals['_COMPLEXTESTMSG_MAPVALENTRY']._serialized_options = b'8\001'
_globals['_COMPLEXTESTMSG'].oneofs_by_name['o']._loaded_options = None
_globals['_COMPLEXTESTMSG'].oneofs_by_name['o']._serialized_options = b'\272H\002\010\001'
_globals['_COMPLEXTESTMSG'].fields_by_name['const']._loaded_options = None
_globals['_COMPLEXTESTMSG'].fields_by_name['const']._serialized_options = b'\272H\010r\006\n\004abcd'
_globals['_COMPLEXTESTMSG'].fields_by_name['int_const']._loaded_options = None
_globals['_COMPLEXTESTMSG'].fields_by_name['int_const']._serialized_options = b'\272H\004\032\002\010\005'
_globals['_COMPLEXTESTMSG'].fields_by_name['bool_const']._loaded_options = None
_globals['_COMPLEXTESTMSG'].fields_by_name['bool_const']._serialized_options = b'\272H\004j\002\010\000'
_globals['_COMPLEXTESTMSG'].fields_by_name['float_val']._loaded_options = None
_globals['_COMPLEXTESTMSG'].fields_by_name['float_val']._serialized_options = b'\272H\007\n\005%\000\000\000\000'
_globals['_COMPLEXTESTMSG'].fields_by_name['dur_val']._loaded_options = None
_globals['_COMPLEXTESTMSG'].fields_by_name['dur_val']._serialized_options = b'\272H\n\252\001\004\032\002\010\021\310\001\001'
_globals['_COMPLEXTESTMSG'].fields_by_name['ts_val']._loaded_options = None
_globals['_COMPLEXTESTMSG'].fields_by_name['ts_val']._serialized_options = b'\272H\007\262\001\004*\002\010\007'
_globals['_COMPLEXTESTMSG'].fields_by_name['float_const']._loaded_options = None
_globals['_COMPLEXTESTMSG'].fields_by_name['float_const']._serialized_options = b'\272H\007\n\005\025\000\000\000A'
_globals['_COMPLEXTESTMSG'].fields_by_name['double_in']._loaded_options = None
_globals['_COMPLEXTESTMSG'].fields_by_name['double_in']._serialized_options = b'\272H\024\022\0221\264\310v\276\237\214|@1\000\000\000\000\000\300^@'
_globals['_COMPLEXTESTMSG'].fields_by_name['enum_const']._loaded_options = None
_globals['_COMPLEXTESTMSG'].fields_by_name['enum_const']._serialized_options = b'\272H\005\202\001\002\010\002'
_globals['_COMPLEXTESTMSG'].fields_by_name['any_val']._loaded_options = None
_globals['_COMPLEXTESTMSG'].fields_by_name['any_val']._serialized_options = b'\272H1\242\001.\022,type.googleapis.com/google.protobuf.Duration'
_globals['_COMPLEXTESTMSG'].fields_by_name['rep_ts_val']._loaded_options = None
_globals['_COMPLEXTESTMSG'].fields_by_name['rep_ts_val']._serialized_options = b'\272H\016\222\001\013\"\t\262\001\0062\004\020\300\204='
_globals['_COMPLEXTESTMSG'].fields_by_name['map_val']._loaded_options = None
_globals['_COMPLEXTESTMSG'].fields_by_name['map_val']._serialized_options = b'\272H\t\232\001\006\"\004:\002\020\000'
_globals['_COMPLEXTESTMSG'].fields_by_name['bytes_val']._loaded_options = None
_globals['_COMPLEXTESTMSG'].fields_by_name['bytes_val']._serialized_options = b'\272H\006z\004\n\002\000\231'
_globals['_COMPLEXTESTENUM']._serialized_start=1413
_globals['_COMPLEXTESTENUM']._serialized_end=1519
_globals['_COMPLEXTESTMSG']._serialized_start=239
_globals['_COMPLEXTESTMSG']._serialized_end=1323
_globals['_COMPLEXTESTMSG_MAPVALENTRY']._serialized_start=1254
_globals['_COMPLEXTESTMSG_MAPVALENTRY']._serialized_end=1311
_globals['_KITCHENSINKMESSAGE']._serialized_start=1325
_globals['_KITCHENSINKMESSAGE']._serialized_end=1411
# @@protoc_insertion_point(module_scope)