google.api.servicemanagement.v1.ListServiceConfigsRequest */ class ListServiceConfigsRequest extends \Google\Protobuf\Internal\Message { /** * Required. The name of the service. See the [overview](/service-management/overview) * for naming requirements. For example: `example.googleapis.com`. * * Generated from protobuf field string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; */ private $service_name = ''; /** * The token of the page to retrieve. * * Generated from protobuf field string page_token = 2; */ private $page_token = ''; /** * 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 = 3; */ private $page_size = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $service_name * Required. The name of the service. See the [overview](/service-management/overview) * for naming requirements. For example: `example.googleapis.com`. * @type string $page_token * The token of the page to retrieve. * @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. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Api\Servicemanagement\V1\Servicemanager::initOnce(); parent::__construct($data); } /** * Required. The name of the service. See the [overview](/service-management/overview) * for naming requirements. For example: `example.googleapis.com`. * * Generated from protobuf field string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; * @return string */ public function getServiceName() { return $this->service_name; } /** * Required. The name of the service. See the [overview](/service-management/overview) * for naming requirements. For example: `example.googleapis.com`. * * Generated from protobuf field string service_name = 1 [(.google.api.field_behavior) = REQUIRED]; * @param string $var * @return $this */ public function setServiceName($var) { GPBUtil::checkString($var, True); $this->service_name = $var; return $this; } /** * The token of the page to retrieve. * * Generated from protobuf field string page_token = 2; * @return string */ public function getPageToken() { return $this->page_token; } /** * The token of the page to retrieve. * * Generated from protobuf field string page_token = 2; * @param string $var * @return $this */ public function setPageToken($var) { GPBUtil::checkString($var, True); $this->page_token = $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 = 3; * @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 = 3; * @param int $var * @return $this */ public function setPageSize($var) { GPBUtil::checkInt32($var); $this->page_size = $var; return $this; } }