google.api.servicemanagement.v1.ListServicesRequest */ class ListServicesRequest extends \Google\Protobuf\Internal\Message { /** * Include services produced by the specified project. * * Generated from protobuf field string producer_project_id = 1; */ private $producer_project_id = ''; /** * The max number of items to include in the response list. Page size is 50 * if not specified. Maximum value is 100. * * Generated from protobuf field int32 page_size = 5; */ private $page_size = 0; /** * Token identifying which result to start with; returned by a previous list * call. * * Generated from protobuf field string page_token = 6; */ private $page_token = ''; /** * Include services consumed by the specified consumer. * The Google Service Management implementation accepts the following * forms: * - project: * * Generated from protobuf field string consumer_id = 7 [deprecated = true]; */ private $consumer_id = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $producer_project_id * Include services produced by the specified project. * @type int $page_size * The max number of items to include in the response list. Page size is 50 * if not specified. Maximum value is 100. * @type string $page_token * Token identifying which result to start with; returned by a previous list * call. * @type string $consumer_id * Include services consumed by the specified consumer. * The Google Service Management implementation accepts the following * forms: * - project: * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Api\Servicemanagement\V1\Servicemanager::initOnce(); parent::__construct($data); } /** * Include services produced by the specified project. * * Generated from protobuf field string producer_project_id = 1; * @return string */ public function getProducerProjectId() { return $this->producer_project_id; } /** * Include services produced by the specified project. * * Generated from protobuf field string producer_project_id = 1; * @param string $var * @return $this */ public function setProducerProjectId($var) { GPBUtil::checkString($var, True); $this->producer_project_id = $var; return $this; } /** * The max number of items to include in the response list. Page size is 50 * if not specified. Maximum value is 100. * * Generated from protobuf field int32 page_size = 5; * @return int */ public function getPageSize() { return $this->page_size; } /** * The max number of items to include in the response list. Page size is 50 * if not specified. Maximum value is 100. * * Generated from protobuf field int32 page_size = 5; * @param int $var * @return $this */ public function setPageSize($var) { GPBUtil::checkInt32($var); $this->page_size = $var; return $this; } /** * Token identifying which result to start with; returned by a previous list * call. * * Generated from protobuf field string page_token = 6; * @return string */ public function getPageToken() { return $this->page_token; } /** * Token identifying which result to start with; returned by a previous list * call. * * Generated from protobuf field string page_token = 6; * @param string $var * @return $this */ public function setPageToken($var) { GPBUtil::checkString($var, True); $this->page_token = $var; return $this; } /** * Include services consumed by the specified consumer. * The Google Service Management implementation accepts the following * forms: * - project: * * Generated from protobuf field string consumer_id = 7 [deprecated = true]; * @return string */ public function getConsumerId() { return $this->consumer_id; } /** * Include services consumed by the specified consumer. * The Google Service Management implementation accepts the following * forms: * - project: * * Generated from protobuf field string consumer_id = 7 [deprecated = true]; * @param string $var * @return $this */ public function setConsumerId($var) { GPBUtil::checkString($var, True); $this->consumer_id = $var; return $this; } }