google.api.CustomHttpPattern */ class CustomHttpPattern extends \Google\Protobuf\Internal\Message { /** * The name of this custom HTTP verb. * * Generated from protobuf field string kind = 1; */ protected $kind = ''; /** * The path matched by this custom verb. * * Generated from protobuf field string path = 2; */ protected $path = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $kind * The name of this custom HTTP verb. * @type string $path * The path matched by this custom verb. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Api\Http::initOnce(); parent::__construct($data); } /** * The name of this custom HTTP verb. * * Generated from protobuf field string kind = 1; * @return string */ public function getKind() { return $this->kind; } /** * The name of this custom HTTP verb. * * Generated from protobuf field string kind = 1; * @param string $var * @return $this */ public function setKind($var) { GPBUtil::checkString($var, True); $this->kind = $var; return $this; } /** * The path matched by this custom verb. * * Generated from protobuf field string path = 2; * @return string */ public function getPath() { return $this->path; } /** * The path matched by this custom verb. * * Generated from protobuf field string path = 2; * @param string $var * @return $this */ public function setPath($var) { GPBUtil::checkString($var, True); $this->path = $var; return $this; } }