SubShopListReq.php 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <?php
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # NO CHECKED-IN PROTOBUF GENCODE
  4. # source: api/CityPackage.proto
  5. namespace Proto\Api;
  6. use Google\Protobuf\Internal\GPBType;
  7. use Google\Protobuf\Internal\RepeatedField;
  8. use Google\Protobuf\Internal\GPBUtil;
  9. /**
  10. * Generated from protobuf message <code>proto.api.SubShopListReq</code>
  11. */
  12. class SubShopListReq extends \Google\Protobuf\Internal\Message
  13. {
  14. /**
  15. * 分页参数
  16. *
  17. * Generated from protobuf field <code>.proto.api.PageArg page_arg = 1;</code>
  18. */
  19. protected $page_arg = null;
  20. /**
  21. * Constructor.
  22. *
  23. * @param array $data {
  24. * Optional. Data for populating the Message object.
  25. *
  26. * @type \Proto\Api\PageArg $page_arg
  27. * 分页参数
  28. * }
  29. */
  30. public function __construct($data = NULL) {
  31. \GPBMetadata\Api\CityPackage::initOnce();
  32. parent::__construct($data);
  33. }
  34. /**
  35. * 分页参数
  36. *
  37. * Generated from protobuf field <code>.proto.api.PageArg page_arg = 1;</code>
  38. * @return \Proto\Api\PageArg|null
  39. */
  40. public function getPageArg()
  41. {
  42. return $this->page_arg;
  43. }
  44. public function hasPageArg()
  45. {
  46. return isset($this->page_arg);
  47. }
  48. public function clearPageArg()
  49. {
  50. unset($this->page_arg);
  51. }
  52. /**
  53. * 分页参数
  54. *
  55. * Generated from protobuf field <code>.proto.api.PageArg page_arg = 1;</code>
  56. * @param \Proto\Api\PageArg $var
  57. * @return $this
  58. */
  59. public function setPageArg($var)
  60. {
  61. GPBUtil::checkMessage($var, \Proto\Api\PageArg::class);
  62. $this->page_arg = $var;
  63. return $this;
  64. }
  65. }