RequestPublicLogin.php 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <?php
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: proto/game.proto
  4. namespace Uraus\Kku\Request;
  5. use Google\Protobuf\Internal\GPBType;
  6. use Google\Protobuf\Internal\RepeatedField;
  7. use Google\Protobuf\Internal\GPBUtil;
  8. /**
  9. * 登陆操作
  10. *
  11. * Generated from protobuf message <code>uraus.kku.Request.RequestPublicLogin</code>
  12. */
  13. class RequestPublicLogin extends \Google\Protobuf\Internal\Message
  14. {
  15. /**
  16. * 手机好吗
  17. *
  18. * Generated from protobuf field <code>string mobile = 1;</code>
  19. */
  20. protected $mobile = '';
  21. /**
  22. * 密码
  23. *
  24. * Generated from protobuf field <code>string password = 2;</code>
  25. */
  26. protected $password = '';
  27. /**
  28. * Constructor.
  29. *
  30. * @param array $data {
  31. * Optional. Data for populating the Message object.
  32. *
  33. * @type string $mobile
  34. * 手机好吗
  35. * @type string $password
  36. * 密码
  37. * }
  38. */
  39. public function __construct($data = NULL) {
  40. \GPBMetadata\Proto\Game::initOnce();
  41. parent::__construct($data);
  42. }
  43. /**
  44. * 手机好吗
  45. *
  46. * Generated from protobuf field <code>string mobile = 1;</code>
  47. * @return string
  48. */
  49. public function getMobile()
  50. {
  51. return $this->mobile;
  52. }
  53. /**
  54. * 手机好吗
  55. *
  56. * Generated from protobuf field <code>string mobile = 1;</code>
  57. * @param string $var
  58. * @return $this
  59. */
  60. public function setMobile($var)
  61. {
  62. GPBUtil::checkString($var, True);
  63. $this->mobile = $var;
  64. return $this;
  65. }
  66. /**
  67. * 密码
  68. *
  69. * Generated from protobuf field <code>string password = 2;</code>
  70. * @return string
  71. */
  72. public function getPassword()
  73. {
  74. return $this->password;
  75. }
  76. /**
  77. * 密码
  78. *
  79. * Generated from protobuf field <code>string password = 2;</code>
  80. * @param string $var
  81. * @return $this
  82. */
  83. public function setPassword($var)
  84. {
  85. GPBUtil::checkString($var, True);
  86. $this->password = $var;
  87. return $this;
  88. }
  89. }
  90. // Adding a class alias for backwards compatibility with the previous class name.
  91. class_alias(RequestPublicLogin::class, \Uraus\Kku\Request_RequestPublicLogin::class);