mysqlx-connector-python/lib/mysqlx/protobuf/mysqlx_session_pb2.py (25 lines of code) (raw):

# -*- coding: utf-8 -*- # Copyright (c) 2017, 2024, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, as # published by the Free Software Foundation. # # This program is designed to work with certain software (including # but not limited to OpenSSL) that is licensed under separate terms, # as designated in a particular file or component or in included license # documentation. The authors of MySQL hereby grant you an # additional permission to link the program and your derivative works # with the separately licensed software that they have either included with # the program or referenced in the documentation. # # Without limiting anything contained in the foregoing, this file, # which is part of MySQL Connector/Python, is also subject to the # Universal FOSS Exception, version 1.0, a copy of which can be found at # http://oss.oracle.com/licenses/universal-foss-exception. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the GNU General Public License, version 2.0, for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Generated by the protocol buffer compiler. DO NOT EDIT! # source: mysqlx_session.proto # type: ignore """Generated protocol buffer code.""" from google.protobuf import ( descriptor as _descriptor, descriptor_pool as _descriptor_pool, symbol_database as _symbol_database, ) from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( b'\n\x14mysqlx_session.proto\x12\x0eMysqlx.Session"S\n\x11\x41uthenticateStart\x12\x11\n\tmech_name\x18\x01 \x02(\t\x12\x11\n\tauth_data\x18\x02 \x01(\x0c\x12\x18\n\x10initial_response\x18\x03 \x01(\x0c")\n\x14\x41uthenticateContinue\x12\x11\n\tauth_data\x18\x01 \x02(\x0c"#\n\x0e\x41uthenticateOk\x12\x11\n\tauth_data\x18\x01 \x01(\x0c"!\n\x05Reset\x12\x18\n\tkeep_open\x18\x01 \x01(\x08:\x05\x66\x61lse"\x07\n\x05\x43loseB\x1b\n\x17\x63om.mysql.cj.x.protobufH\x03' ) _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "mysqlx_session_pb2", globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b"\n\027com.mysql.cj.x.protobufH\003" _AUTHENTICATESTART._serialized_start = 40 _AUTHENTICATESTART._serialized_end = 123 _AUTHENTICATECONTINUE._serialized_start = 125 _AUTHENTICATECONTINUE._serialized_end = 166 _AUTHENTICATEOK._serialized_start = 168 _AUTHENTICATEOK._serialized_end = 203 _RESET._serialized_start = 205 _RESET._serialized_end = 238 _CLOSE._serialized_start = 240 _CLOSE._serialized_end = 247 # @@protoc_insertion_point(module_scope)