# 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/messages.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.conformance.cases.other_package import embed_pb2 as buf_dot_validate_dot_conformance_dot_cases_dot_other__package_dot_embed__pb2
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-buf/validate/conformance/cases/messages.proto\x12\x1e\x62uf.validate.conformance.cases\x1a\x38\x62uf/validate/conformance/cases/other_package/embed.proto\x1a\x1b\x62uf/validate/validate.proto\"l\n\x07TestMsg\x12 \n\x05\x63onst\x18\x01 \x01(\tB\n\xbaH\x07r\x05\n\x03\x66ooR\x05\x63onst\x12?\n\x06nested\x18\x02 \x01(\x0b\x32\'.buf.validate.conformance.cases.TestMsgR\x06nested\"_\n\x0bMessageNone\x12\x45\n\x03val\x18\x01 \x01(\x0b\x32\x33.buf.validate.conformance.cases.MessageNone.NoneMsgR\x03val\x1a\t\n\x07NoneMsg\"D\n\x07Message\x12\x39\n\x03val\x18\x01 \x01(\x0b\x32\'.buf.validate.conformance.cases.TestMsgR\x03val\"\\\n\x13MessageCrossPackage\x12\x45\n\x03val\x18\x01 \x01(\x0b\x32\x33.buf.validate.conformance.cases.other_package.EmbedR\x03val\"P\n\x0bMessageSkip\x12\x41\n\x03val\x18\x01 \x01(\x0b\x32\'.buf.validate.conformance.cases.TestMsgB\x06\xbaH\x03\xd8\x01\x03R\x03val\"T\n\x0fMessageRequired\x12\x41\n\x03val\x18\x01 \x01(\x0b\x32\'.buf.validate.conformance.cases.TestMsgB\x06\xbaH\x03\xc8\x01\x01R\x03val\"l\n\x1aMessageRequiredButOptional\x12\x46\n\x03val\x18\x01 \x01(\x0b\x32\'.buf.validate.conformance.cases.TestMsgB\x06\xbaH\x03\xc8\x01\x01H\x00R\x03val\x88\x01\x01\x42\x06\n\x04_val\"i\n\x14MessageRequiredOneof\x12\x43\n\x03val\x18\x01 \x01(\x0b\x32\'.buf.validate.conformance.cases.TestMsgB\x06\xbaH\x03\xc8\x01\x01H\x00R\x03valB\x0c\n\x03one\x12\x05\xbaH\x02\x08\x01\"\x15\n\x13MessageWith3dInside\"g\n\x17MessageOneofSingleField\x12\x1b\n\tstr_field\x18\x01 \x01(\tR\x08strField\x12\x1d\n\nbool_field\x18\x02 \x01(\x08R\tboolField:\x10\xbaH\r\"\x0b\n\tstr_field\"q\n\x1fMessageOneofSingleFieldRequired\x12\x1b\n\tstr_field\x18\x01 \x01(\tR\x08strField\x12\x1d\n\nbool_field\x18\x02 \x01(\x08R\tboolField:\x12\xbaH\x0f\"\r\n\tstr_field\x10\x01\"v\n\x1aMessageOneofMultipleFields\x12\x1b\n\tstr_field\x18\x01 \x01(\tR\x08strField\x12\x1d\n\nbool_field\x18\x02 \x01(\x08R\tboolField:\x1c\xbaH\x19\"\x17\n\tstr_field\n\nbool_field\"\x80\x01\n\"MessageOneofMultipleFieldsRequired\x12\x1b\n\tstr_field\x18\x01 \x01(\tR\x08strField\x12\x1d\n\nbool_field\x18\x02 \x01(\x08R\tboolField:\x1e\xbaH\x1b\"\x19\n\tstr_field\n\nbool_field\x10\x01\"\xb5\x01\n MessageOneofMultipleSharedFields\x12\x1b\n\tstr_field\x18\x01 \x01(\tR\x08strField\x12\x1d\n\nbool_field\x18\x02 \x01(\x08R\tboolField\x12\x1b\n\tint_field\x18\x03 \x01(\x05R\x08intField:8\xbaH5\"\x19\n\tstr_field\n\nbool_field\x10\x01\"\x18\n\tstr_field\n\tint_field\x10\x01\"G\n\x1cMessageOneofUnknownFieldName\x12\x1b\n\tstr_field\x18\x01 \x01(\tR\x08strField:\n\xbaH\x07\"\x05\n\x03xxx\"\x81\x01\n\x1aMessageOneofDuplicateField\x12\x1b\n\tstr_field\x18\x01 \x01(\tR\x08strField\x12\x1d\n\nbool_field\x18\x02 \x01(\x08R\tboolField:\'\xbaH$\"\"\n\tstr_field\n\nbool_field\n\tstr_field\"[\n\x16MessageOneofZeroFields\x12\x1b\n\tstr_field\x18\x01 \x01(\tR\x08strField\x12\x1d\n\nbool_field\x18\x02 \x01(\x08R\tboolField:\x05\xbaH\x02\"\x00\"h\n\x19MessageOneofUnsatisfiable\x12\x0c\n\x01\x61\x18\x01 \x01(\x08R\x01\x61\x12\x0c\n\x01\x62\x18\x02 \x01(\x08R\x01\x62\x12\x0c\n\x01\x63\x18\x03 \x01(\x08R\x01\x63:!\xbaH\x1e\"\x08\n\x01\x61\n\x01\x62\x10\x01\"\x08\n\x01\x62\n\x01\x63\x10\x01\"\x08\n\x01\x61\n\x01\x63\x10\x01\"\x82\x01\n\x1dMessageOneofIgnoreUnpopulated\x12\x1b\n\tstr_field\x18\x01 \x01(\tR\x08strField\x12&\n\nbool_field\x18\x02 \x01(\x08\x42\x07\xbaH\x04j\x02\x08\x01R\tboolField:\x1c\xbaH\x19\"\x17\n\tstr_field\n\nbool_field\"\x8c\x01\n%MessageOneofIgnoreUnpopulatedRequired\x12\x1b\n\tstr_field\x18\x01 \x01(\tR\x08strField\x12&\n\nbool_field\x18\x02 \x01(\x08\x42\x07\xbaH\x04j\x02\x08\x01R\tboolField:\x1e\xbaH\x1b\"\x19\n\tstr_field\n\nbool_field\x10\x01\"\xa7\x01\n\x1aMessageOneofIgnoreOverride\x12L\n\tmsg_field\x18\x01 \x01(\x0b\x32\'.buf.validate.conformance.cases.TestMsgB\x06\xbaH\x03\xd8\x01\x03R\x08msgField\x12\x1d\n\nbool_field\x18\x02 \x01(\x08R\tboolField:\x1c\xbaH\x19\"\x17\n\tmsg_field\n\nbool_fieldB\xcf\x01\n\"com.buf.validate.conformance.casesB\rMessagesProtoP\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.messages_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n\"com.buf.validate.conformance.casesB\rMessagesProtoP\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['_TESTMSG'].fields_by_name['const']._loaded_options = None
  _globals['_TESTMSG'].fields_by_name['const']._serialized_options = b'\272H\007r\005\n\003foo'
  _globals['_MESSAGESKIP'].fields_by_name['val']._loaded_options = None
  _globals['_MESSAGESKIP'].fields_by_name['val']._serialized_options = b'\272H\003\330\001\003'
  _globals['_MESSAGEREQUIRED'].fields_by_name['val']._loaded_options = None
  _globals['_MESSAGEREQUIRED'].fields_by_name['val']._serialized_options = b'\272H\003\310\001\001'
  _globals['_MESSAGEREQUIREDBUTOPTIONAL'].fields_by_name['val']._loaded_options = None
  _globals['_MESSAGEREQUIREDBUTOPTIONAL'].fields_by_name['val']._serialized_options = b'\272H\003\310\001\001'
  _globals['_MESSAGEREQUIREDONEOF'].oneofs_by_name['one']._loaded_options = None
  _globals['_MESSAGEREQUIREDONEOF'].oneofs_by_name['one']._serialized_options = b'\272H\002\010\001'
  _globals['_MESSAGEREQUIREDONEOF'].fields_by_name['val']._loaded_options = None
  _globals['_MESSAGEREQUIREDONEOF'].fields_by_name['val']._serialized_options = b'\272H\003\310\001\001'
  _globals['_MESSAGEONEOFSINGLEFIELD']._loaded_options = None
  _globals['_MESSAGEONEOFSINGLEFIELD']._serialized_options = b'\272H\r\"\013\n\tstr_field'
  _globals['_MESSAGEONEOFSINGLEFIELDREQUIRED']._loaded_options = None
  _globals['_MESSAGEONEOFSINGLEFIELDREQUIRED']._serialized_options = b'\272H\017\"\r\n\tstr_field\020\001'
  _globals['_MESSAGEONEOFMULTIPLEFIELDS']._loaded_options = None
  _globals['_MESSAGEONEOFMULTIPLEFIELDS']._serialized_options = b'\272H\031\"\027\n\tstr_field\n\nbool_field'
  _globals['_MESSAGEONEOFMULTIPLEFIELDSREQUIRED']._loaded_options = None
  _globals['_MESSAGEONEOFMULTIPLEFIELDSREQUIRED']._serialized_options = b'\272H\033\"\031\n\tstr_field\n\nbool_field\020\001'
  _globals['_MESSAGEONEOFMULTIPLESHAREDFIELDS']._loaded_options = None
  _globals['_MESSAGEONEOFMULTIPLESHAREDFIELDS']._serialized_options = b'\272H5\"\031\n\tstr_field\n\nbool_field\020\001\"\030\n\tstr_field\n\tint_field\020\001'
  _globals['_MESSAGEONEOFUNKNOWNFIELDNAME']._loaded_options = None
  _globals['_MESSAGEONEOFUNKNOWNFIELDNAME']._serialized_options = b'\272H\007\"\005\n\003xxx'
  _globals['_MESSAGEONEOFDUPLICATEFIELD']._loaded_options = None
  _globals['_MESSAGEONEOFDUPLICATEFIELD']._serialized_options = b'\272H$\"\"\n\tstr_field\n\nbool_field\n\tstr_field'
  _globals['_MESSAGEONEOFZEROFIELDS']._loaded_options = None
  _globals['_MESSAGEONEOFZEROFIELDS']._serialized_options = b'\272H\002\"\000'
  _globals['_MESSAGEONEOFUNSATISFIABLE']._loaded_options = None
  _globals['_MESSAGEONEOFUNSATISFIABLE']._serialized_options = b'\272H\036\"\010\n\001a\n\001b\020\001\"\010\n\001b\n\001c\020\001\"\010\n\001a\n\001c\020\001'
  _globals['_MESSAGEONEOFIGNOREUNPOPULATED'].fields_by_name['bool_field']._loaded_options = None
  _globals['_MESSAGEONEOFIGNOREUNPOPULATED'].fields_by_name['bool_field']._serialized_options = b'\272H\004j\002\010\001'
  _globals['_MESSAGEONEOFIGNOREUNPOPULATED']._loaded_options = None
  _globals['_MESSAGEONEOFIGNOREUNPOPULATED']._serialized_options = b'\272H\031\"\027\n\tstr_field\n\nbool_field'
  _globals['_MESSAGEONEOFIGNOREUNPOPULATEDREQUIRED'].fields_by_name['bool_field']._loaded_options = None
  _globals['_MESSAGEONEOFIGNOREUNPOPULATEDREQUIRED'].fields_by_name['bool_field']._serialized_options = b'\272H\004j\002\010\001'
  _globals['_MESSAGEONEOFIGNOREUNPOPULATEDREQUIRED']._loaded_options = None
  _globals['_MESSAGEONEOFIGNOREUNPOPULATEDREQUIRED']._serialized_options = b'\272H\033\"\031\n\tstr_field\n\nbool_field\020\001'
  _globals['_MESSAGEONEOFIGNOREOVERRIDE'].fields_by_name['msg_field']._loaded_options = None
  _globals['_MESSAGEONEOFIGNOREOVERRIDE'].fields_by_name['msg_field']._serialized_options = b'\272H\003\330\001\003'
  _globals['_MESSAGEONEOFIGNOREOVERRIDE']._loaded_options = None
  _globals['_MESSAGEONEOFIGNOREOVERRIDE']._serialized_options = b'\272H\031\"\027\n\tmsg_field\n\nbool_field'
  _globals['_TESTMSG']._serialized_start=168
  _globals['_TESTMSG']._serialized_end=276
  _globals['_MESSAGENONE']._serialized_start=278
  _globals['_MESSAGENONE']._serialized_end=373
  _globals['_MESSAGENONE_NONEMSG']._serialized_start=364
  _globals['_MESSAGENONE_NONEMSG']._serialized_end=373
  _globals['_MESSAGE']._serialized_start=375
  _globals['_MESSAGE']._serialized_end=443
  _globals['_MESSAGECROSSPACKAGE']._serialized_start=445
  _globals['_MESSAGECROSSPACKAGE']._serialized_end=537
  _globals['_MESSAGESKIP']._serialized_start=539
  _globals['_MESSAGESKIP']._serialized_end=619
  _globals['_MESSAGEREQUIRED']._serialized_start=621
  _globals['_MESSAGEREQUIRED']._serialized_end=705
  _globals['_MESSAGEREQUIREDBUTOPTIONAL']._serialized_start=707
  _globals['_MESSAGEREQUIREDBUTOPTIONAL']._serialized_end=815
  _globals['_MESSAGEREQUIREDONEOF']._serialized_start=817
  _globals['_MESSAGEREQUIREDONEOF']._serialized_end=922
  _globals['_MESSAGEWITH3DINSIDE']._serialized_start=924
  _globals['_MESSAGEWITH3DINSIDE']._serialized_end=945
  _globals['_MESSAGEONEOFSINGLEFIELD']._serialized_start=947
  _globals['_MESSAGEONEOFSINGLEFIELD']._serialized_end=1050
  _globals['_MESSAGEONEOFSINGLEFIELDREQUIRED']._serialized_start=1052
  _globals['_MESSAGEONEOFSINGLEFIELDREQUIRED']._serialized_end=1165
  _globals['_MESSAGEONEOFMULTIPLEFIELDS']._serialized_start=1167
  _globals['_MESSAGEONEOFMULTIPLEFIELDS']._serialized_end=1285
  _globals['_MESSAGEONEOFMULTIPLEFIELDSREQUIRED']._serialized_start=1288
  _globals['_MESSAGEONEOFMULTIPLEFIELDSREQUIRED']._serialized_end=1416
  _globals['_MESSAGEONEOFMULTIPLESHAREDFIELDS']._serialized_start=1419
  _globals['_MESSAGEONEOFMULTIPLESHAREDFIELDS']._serialized_end=1600
  _globals['_MESSAGEONEOFUNKNOWNFIELDNAME']._serialized_start=1602
  _globals['_MESSAGEONEOFUNKNOWNFIELDNAME']._serialized_end=1673
  _globals['_MESSAGEONEOFDUPLICATEFIELD']._serialized_start=1676
  _globals['_MESSAGEONEOFDUPLICATEFIELD']._serialized_end=1805
  _globals['_MESSAGEONEOFZEROFIELDS']._serialized_start=1807
  _globals['_MESSAGEONEOFZEROFIELDS']._serialized_end=1898
  _globals['_MESSAGEONEOFUNSATISFIABLE']._serialized_start=1900
  _globals['_MESSAGEONEOFUNSATISFIABLE']._serialized_end=2004
  _globals['_MESSAGEONEOFIGNOREUNPOPULATED']._serialized_start=2007
  _globals['_MESSAGEONEOFIGNOREUNPOPULATED']._serialized_end=2137
  _globals['_MESSAGEONEOFIGNOREUNPOPULATEDREQUIRED']._serialized_start=2140
  _globals['_MESSAGEONEOFIGNOREUNPOPULATEDREQUIRED']._serialized_end=2280
  _globals['_MESSAGEONEOFIGNOREOVERRIDE']._serialized_start=2283
  _globals['_MESSAGEONEOFIGNOREOVERRIDE']._serialized_end=2450
# @@protoc_insertion_point(module_scope)
