зеркало из https://github.com/github/vitess-gh.git
Update protobuf files for the changed contents of mysqlctl.StartRequest.
This commit is contained in:
Родитель
88e607da13
Коммит
2c5dc71dd2
|
@ -41,6 +41,7 @@ var _ = math.Inf
|
|||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
type StartRequest struct {
|
||||
MysqldArgs []string `protobuf:"bytes,1,rep,name=mysqld_args,json=mysqldArgs" json:"mysqld_args,omitempty"`
|
||||
}
|
||||
|
||||
func (m *StartRequest) Reset() { *m = StartRequest{} }
|
||||
|
@ -290,22 +291,24 @@ var _MysqlCtl_serviceDesc = grpc.ServiceDesc{
|
|||
func init() { proto.RegisterFile("mysqlctl.proto", fileDescriptor0) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 265 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x7c, 0x52, 0xcf, 0x4b, 0xc3, 0x30,
|
||||
0x14, 0x76, 0x82, 0x52, 0x1e, 0xdb, 0x2a, 0x4f, 0xed, 0xb6, 0x80, 0x32, 0x7b, 0x10, 0x4f, 0x3b,
|
||||
0xe8, 0x49, 0xaf, 0x05, 0x6f, 0x22, 0x74, 0x08, 0xde, 0x46, 0xb5, 0xd9, 0x2c, 0xd4, 0xa4, 0x4b,
|
||||
0x5e, 0x19, 0xfe, 0x63, 0xfe, 0x7d, 0x62, 0x4c, 0xba, 0xcc, 0x56, 0x8f, 0xf9, 0x7e, 0x3d, 0xbe,
|
||||
0x8f, 0xc0, 0xf0, 0xfd, 0x43, 0xaf, 0xcb, 0x57, 0x2a, 0x67, 0x95, 0x92, 0x24, 0x31, 0x70, 0xef,
|
||||
0x78, 0x08, 0xfd, 0x39, 0x65, 0x8a, 0x52, 0xbe, 0xae, 0xb9, 0xa6, 0x38, 0x84, 0x81, 0x7d, 0xeb,
|
||||
0x4a, 0x0a, 0xcd, 0xe3, 0x5b, 0x08, 0xe7, 0x6f, 0x35, 0xe5, 0x72, 0x23, 0xac, 0x06, 0x2f, 0x21,
|
||||
0xdc, 0x64, 0x05, 0x2d, 0x96, 0x52, 0x2d, 0x4c, 0x50, 0x3e, 0xee, 0x4d, 0x7b, 0x57, 0x41, 0x3a,
|
||||
0xf8, 0x86, 0xef, 0xa5, 0x7a, 0x30, 0x60, 0x8c, 0x70, 0xb4, 0xb5, 0xda, 0xb8, 0x31, 0x44, 0x69,
|
||||
0x2d, 0x8c, 0xe0, 0xa9, 0x5a, 0xa9, 0x2c, 0xe7, 0xee, 0xf2, 0x04, 0x46, 0x2d, 0xc6, 0x9a, 0x4e,
|
||||
0xe1, 0x38, 0xe5, 0x85, 0x28, 0x28, 0x91, 0x62, 0x59, 0xac, 0x9c, 0x23, 0x82, 0x93, 0x5d, 0xf8,
|
||||
0x47, 0x7e, 0xfd, 0xb9, 0x0f, 0x81, 0xc9, 0x49, 0xa8, 0xc4, 0x3b, 0x38, 0x30, 0x85, 0x30, 0x9a,
|
||||
0x35, 0x23, 0xf8, 0x8d, 0xd9, 0xa8, 0x85, 0xdb, 0xab, 0x7b, 0x98, 0x40, 0xe0, 0x0a, 0xe0, 0xc4,
|
||||
0x93, 0xed, 0xee, 0xc1, 0x58, 0x17, 0xd5, 0x84, 0x3c, 0x43, 0xf8, 0xab, 0x17, 0x4e, 0xb7, 0x86,
|
||||
0xee, 0x31, 0xd8, 0xc5, 0x3f, 0x8a, 0x26, 0xf9, 0x11, 0xfa, 0x7e, 0x7f, 0x3c, 0xf3, 0x4c, 0xed,
|
||||
0xb9, 0xd8, 0xf9, 0x5f, 0xb4, 0x0b, 0x7c, 0x39, 0x34, 0xbf, 0xe3, 0xe6, 0x2b, 0x00, 0x00, 0xff,
|
||||
0xff, 0x1f, 0x63, 0x65, 0xd4, 0x2f, 0x02, 0x00, 0x00,
|
||||
// 289 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0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 0x38, 0x24, 0xb4, 0x60, 0x85, 0x8a, 0x39, 0x9b, 0x17, 0xb9,
|
||||
0x4d, 0xf8, 0x70, 0xb4, 0x2e, 0x37, 0xf6, 0xab, 0xcf, 0xff, 0xe0, 0x6a, 0x4e, 0xac, 0x4a, 0x74,
|
||||
0x0b, 0xdb, 0xba, 0x10, 0xf2, 0xa7, 0xed, 0x4a, 0xdd, 0x49, 0xc2, 0x51, 0x4f, 0x37, 0x7f, 0xfd,
|
||||
0x87, 0x62, 0x70, 0x6d, 0x01, 0x34, 0xee, 0xd8, 0xd6, 0xf7, 0x08, 0xc3, 0x4d, 0xa7, 0x16, 0xf2,
|
||||
0x0c, 0xde, 0x8f, 0x5e, 0x28, 0x5a, 0x05, 0x36, 0x8f, 0x11, 0x9e, 0xff, 0xe1, 0x68, 0xc9, 0x8f,
|
||||
0x30, 0xe8, 0xf6, 0x47, 0x27, 0x9d, 0x50, 0x7f, 0xae, 0xf0, 0xf4, 0xb7, 0xb3, 0x05, 0xbe, 0xec,
|
||||
0xe8, 0xe7, 0x73, 0xfd, 0x15, 0x00, 0x00, 0xff, 0xff, 0xb9, 0x5e, 0x84, 0xed, 0x50, 0x02, 0x00,
|
||||
0x00,
|
||||
}
|
||||
|
|
|
@ -6,6 +6,9 @@ namespace Vitess\Proto\Mysqlctl {
|
|||
|
||||
class StartRequest extends \DrSlump\Protobuf\Message {
|
||||
|
||||
/** @var string[] */
|
||||
public $mysqld_args = array();
|
||||
|
||||
|
||||
/** @var \Closure[] */
|
||||
protected static $__extensions = array();
|
||||
|
@ -14,12 +17,77 @@ namespace Vitess\Proto\Mysqlctl {
|
|||
{
|
||||
$descriptor = new \DrSlump\Protobuf\Descriptor(__CLASS__, 'mysqlctl.StartRequest');
|
||||
|
||||
// REPEATED STRING mysqld_args = 1
|
||||
$f = new \DrSlump\Protobuf\Field();
|
||||
$f->number = 1;
|
||||
$f->name = "mysqld_args";
|
||||
$f->type = \DrSlump\Protobuf::TYPE_STRING;
|
||||
$f->rule = \DrSlump\Protobuf::RULE_REPEATED;
|
||||
$descriptor->addField($f);
|
||||
|
||||
foreach (self::$__extensions as $cb) {
|
||||
$descriptor->addField($cb(), true);
|
||||
}
|
||||
|
||||
return $descriptor;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if <mysqld_args> has a value
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public function hasMysqldArgs(){
|
||||
return $this->_has(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Clear <mysqld_args> value
|
||||
*
|
||||
* @return \Vitess\Proto\Mysqlctl\StartRequest
|
||||
*/
|
||||
public function clearMysqldArgs(){
|
||||
return $this->_clear(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get <mysqld_args> value
|
||||
*
|
||||
* @param int $idx
|
||||
* @return string
|
||||
*/
|
||||
public function getMysqldArgs($idx = NULL){
|
||||
return $this->_get(1, $idx);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set <mysqld_args> value
|
||||
*
|
||||
* @param string $value
|
||||
* @return \Vitess\Proto\Mysqlctl\StartRequest
|
||||
*/
|
||||
public function setMysqldArgs( $value, $idx = NULL){
|
||||
return $this->_set(1, $value, $idx);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all elements of <mysqld_args>
|
||||
*
|
||||
* @return string[]
|
||||
*/
|
||||
public function getMysqldArgsList(){
|
||||
return $this->_get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a new element to <mysqld_args>
|
||||
*
|
||||
* @param string $value
|
||||
* @return \Vitess\Proto\Mysqlctl\StartRequest
|
||||
*/
|
||||
public function addMysqldArgs( $value){
|
||||
return $this->_add(1, $value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
|
|||
name='mysqlctl.proto',
|
||||
package='mysqlctl',
|
||||
syntax='proto3',
|
||||
serialized_pb=_b('\n\x0emysqlctl.proto\x12\x08mysqlctl\"\x0e\n\x0cStartRequest\"\x0f\n\rStartResponse\"*\n\x0fShutdownRequest\x12\x17\n\x0fwait_for_mysqld\x18\x01 \x01(\x08\"\x12\n\x10ShutdownResponse\"\x18\n\x16RunMysqlUpgradeRequest\"\x19\n\x17RunMysqlUpgradeResponse\"\x15\n\x13ReinitConfigRequest\"\x16\n\x14ReinitConfigResponse2\xb6\x02\n\x08MysqlCtl\x12:\n\x05Start\x12\x16.mysqlctl.StartRequest\x1a\x17.mysqlctl.StartResponse\"\x00\x12\x43\n\x08Shutdown\x12\x19.mysqlctl.ShutdownRequest\x1a\x1a.mysqlctl.ShutdownResponse\"\x00\x12X\n\x0fRunMysqlUpgrade\x12 .mysqlctl.RunMysqlUpgradeRequest\x1a!.mysqlctl.RunMysqlUpgradeResponse\"\x00\x12O\n\x0cReinitConfig\x12\x1d.mysqlctl.ReinitConfigRequest\x1a\x1e.mysqlctl.ReinitConfigResponse\"\x00\x62\x06proto3')
|
||||
serialized_pb=_b('\n\x0emysqlctl.proto\x12\x08mysqlctl\"#\n\x0cStartRequest\x12\x13\n\x0bmysqld_args\x18\x01 \x03(\t\"\x0f\n\rStartResponse\"*\n\x0fShutdownRequest\x12\x17\n\x0fwait_for_mysqld\x18\x01 \x01(\x08\"\x12\n\x10ShutdownResponse\"\x18\n\x16RunMysqlUpgradeRequest\"\x19\n\x17RunMysqlUpgradeResponse\"\x15\n\x13ReinitConfigRequest\"\x16\n\x14ReinitConfigResponse2\xb6\x02\n\x08MysqlCtl\x12:\n\x05Start\x12\x16.mysqlctl.StartRequest\x1a\x17.mysqlctl.StartResponse\"\x00\x12\x43\n\x08Shutdown\x12\x19.mysqlctl.ShutdownRequest\x1a\x1a.mysqlctl.ShutdownResponse\"\x00\x12X\n\x0fRunMysqlUpgrade\x12 .mysqlctl.RunMysqlUpgradeRequest\x1a!.mysqlctl.RunMysqlUpgradeResponse\"\x00\x12O\n\x0cReinitConfig\x12\x1d.mysqlctl.ReinitConfigRequest\x1a\x1e.mysqlctl.ReinitConfigResponse\"\x00\x62\x06proto3')
|
||||
)
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
|
@ -33,6 +33,13 @@ _STARTREQUEST = _descriptor.Descriptor(
|
|||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='mysqld_args', full_name='mysqlctl.StartRequest.mysqld_args', index=0,
|
||||
number=1, type=9, cpp_type=9, label=3,
|
||||
has_default_value=False, default_value=[],
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
options=None),
|
||||
],
|
||||
extensions=[
|
||||
],
|
||||
|
@ -46,7 +53,7 @@ _STARTREQUEST = _descriptor.Descriptor(
|
|||
oneofs=[
|
||||
],
|
||||
serialized_start=28,
|
||||
serialized_end=42,
|
||||
serialized_end=63,
|
||||
)
|
||||
|
||||
|
||||
|
@ -69,8 +76,8 @@ _STARTRESPONSE = _descriptor.Descriptor(
|
|||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=44,
|
||||
serialized_end=59,
|
||||
serialized_start=65,
|
||||
serialized_end=80,
|
||||
)
|
||||
|
||||
|
||||
|
@ -100,8 +107,8 @@ _SHUTDOWNREQUEST = _descriptor.Descriptor(
|
|||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=61,
|
||||
serialized_end=103,
|
||||
serialized_start=82,
|
||||
serialized_end=124,
|
||||
)
|
||||
|
||||
|
||||
|
@ -124,8 +131,8 @@ _SHUTDOWNRESPONSE = _descriptor.Descriptor(
|
|||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=105,
|
||||
serialized_end=123,
|
||||
serialized_start=126,
|
||||
serialized_end=144,
|
||||
)
|
||||
|
||||
|
||||
|
@ -148,8 +155,8 @@ _RUNMYSQLUPGRADEREQUEST = _descriptor.Descriptor(
|
|||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=125,
|
||||
serialized_end=149,
|
||||
serialized_start=146,
|
||||
serialized_end=170,
|
||||
)
|
||||
|
||||
|
||||
|
@ -172,8 +179,8 @@ _RUNMYSQLUPGRADERESPONSE = _descriptor.Descriptor(
|
|||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=151,
|
||||
serialized_end=176,
|
||||
serialized_start=172,
|
||||
serialized_end=197,
|
||||
)
|
||||
|
||||
|
||||
|
@ -196,8 +203,8 @@ _REINITCONFIGREQUEST = _descriptor.Descriptor(
|
|||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=178,
|
||||
serialized_end=199,
|
||||
serialized_start=199,
|
||||
serialized_end=220,
|
||||
)
|
||||
|
||||
|
||||
|
@ -220,8 +227,8 @@ _REINITCONFIGRESPONSE = _descriptor.Descriptor(
|
|||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=201,
|
||||
serialized_end=223,
|
||||
serialized_start=222,
|
||||
serialized_end=244,
|
||||
)
|
||||
|
||||
DESCRIPTOR.message_types_by_name['StartRequest'] = _STARTREQUEST
|
||||
|
|
Загрузка…
Ссылка в новой задаче