rv.data.API_v1_Looks_Request */ class API_v1_Looks_Request extends \Google\Protobuf\Internal\Message { protected $Request; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Data\API_v1_Looks_Request\Looks $looks * @type \Rv\Data\API_v1_Looks_Request\CreateLook $create_look * @type \Rv\Data\API_v1_Looks_Request\GetCurrentLook $get_current_look * @type \Rv\Data\API_v1_Looks_Request\PutCurrentLook $put_current_look * @type \Rv\Data\API_v1_Looks_Request\GetLook $get_look * @type \Rv\Data\API_v1_Looks_Request\PutLook $put_look * @type \Rv\Data\API_v1_Looks_Request\DeleteLook $delete_look * @type \Rv\Data\API_v1_Looks_Request\TriggerLook $trigger_look * } */ public function __construct($data = NULL) { \GPBMetadata\ProApiV1Looks::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.data.API_v1_Looks_Request.Looks looks = 1; * @return \Rv\Data\API_v1_Looks_Request\Looks|null */ public function getLooks() { return $this->readOneof(1); } public function hasLooks() { return $this->hasOneof(1); } /** * Generated from protobuf field .rv.data.API_v1_Looks_Request.Looks looks = 1; * @param \Rv\Data\API_v1_Looks_Request\Looks $var * @return $this */ public function setLooks($var) { GPBUtil::checkMessage($var, \Rv\Data\API_v1_Looks_Request\Looks::class); $this->writeOneof(1, $var); return $this; } /** * Generated from protobuf field .rv.data.API_v1_Looks_Request.CreateLook create_look = 2; * @return \Rv\Data\API_v1_Looks_Request\CreateLook|null */ public function getCreateLook() { return $this->readOneof(2); } public function hasCreateLook() { return $this->hasOneof(2); } /** * Generated from protobuf field .rv.data.API_v1_Looks_Request.CreateLook create_look = 2; * @param \Rv\Data\API_v1_Looks_Request\CreateLook $var * @return $this */ public function setCreateLook($var) { GPBUtil::checkMessage($var, \Rv\Data\API_v1_Looks_Request\CreateLook::class); $this->writeOneof(2, $var); return $this; } /** * Generated from protobuf field .rv.data.API_v1_Looks_Request.GetCurrentLook get_current_look = 3; * @return \Rv\Data\API_v1_Looks_Request\GetCurrentLook|null */ public function getGetCurrentLook() { return $this->readOneof(3); } public function hasGetCurrentLook() { return $this->hasOneof(3); } /** * Generated from protobuf field .rv.data.API_v1_Looks_Request.GetCurrentLook get_current_look = 3; * @param \Rv\Data\API_v1_Looks_Request\GetCurrentLook $var * @return $this */ public function setGetCurrentLook($var) { GPBUtil::checkMessage($var, \Rv\Data\API_v1_Looks_Request\GetCurrentLook::class); $this->writeOneof(3, $var); return $this; } /** * Generated from protobuf field .rv.data.API_v1_Looks_Request.PutCurrentLook put_current_look = 4; * @return \Rv\Data\API_v1_Looks_Request\PutCurrentLook|null */ public function getPutCurrentLook() { return $this->readOneof(4); } public function hasPutCurrentLook() { return $this->hasOneof(4); } /** * Generated from protobuf field .rv.data.API_v1_Looks_Request.PutCurrentLook put_current_look = 4; * @param \Rv\Data\API_v1_Looks_Request\PutCurrentLook $var * @return $this */ public function setPutCurrentLook($var) { GPBUtil::checkMessage($var, \Rv\Data\API_v1_Looks_Request\PutCurrentLook::class); $this->writeOneof(4, $var); return $this; } /** * Generated from protobuf field .rv.data.API_v1_Looks_Request.GetLook get_look = 5; * @return \Rv\Data\API_v1_Looks_Request\GetLook|null */ public function getGetLook() { return $this->readOneof(5); } public function hasGetLook() { return $this->hasOneof(5); } /** * Generated from protobuf field .rv.data.API_v1_Looks_Request.GetLook get_look = 5; * @param \Rv\Data\API_v1_Looks_Request\GetLook $var * @return $this */ public function setGetLook($var) { GPBUtil::checkMessage($var, \Rv\Data\API_v1_Looks_Request\GetLook::class); $this->writeOneof(5, $var); return $this; } /** * Generated from protobuf field .rv.data.API_v1_Looks_Request.PutLook put_look = 6; * @return \Rv\Data\API_v1_Looks_Request\PutLook|null */ public function getPutLook() { return $this->readOneof(6); } public function hasPutLook() { return $this->hasOneof(6); } /** * Generated from protobuf field .rv.data.API_v1_Looks_Request.PutLook put_look = 6; * @param \Rv\Data\API_v1_Looks_Request\PutLook $var * @return $this */ public function setPutLook($var) { GPBUtil::checkMessage($var, \Rv\Data\API_v1_Looks_Request\PutLook::class); $this->writeOneof(6, $var); return $this; } /** * Generated from protobuf field .rv.data.API_v1_Looks_Request.DeleteLook delete_look = 7; * @return \Rv\Data\API_v1_Looks_Request\DeleteLook|null */ public function getDeleteLook() { return $this->readOneof(7); } public function hasDeleteLook() { return $this->hasOneof(7); } /** * Generated from protobuf field .rv.data.API_v1_Looks_Request.DeleteLook delete_look = 7; * @param \Rv\Data\API_v1_Looks_Request\DeleteLook $var * @return $this */ public function setDeleteLook($var) { GPBUtil::checkMessage($var, \Rv\Data\API_v1_Looks_Request\DeleteLook::class); $this->writeOneof(7, $var); return $this; } /** * Generated from protobuf field .rv.data.API_v1_Looks_Request.TriggerLook trigger_look = 8; * @return \Rv\Data\API_v1_Looks_Request\TriggerLook|null */ public function getTriggerLook() { return $this->readOneof(8); } public function hasTriggerLook() { return $this->hasOneof(8); } /** * Generated from protobuf field .rv.data.API_v1_Looks_Request.TriggerLook trigger_look = 8; * @param \Rv\Data\API_v1_Looks_Request\TriggerLook $var * @return $this */ public function setTriggerLook($var) { GPBUtil::checkMessage($var, \Rv\Data\API_v1_Looks_Request\TriggerLook::class); $this->writeOneof(8, $var); return $this; } /** * @return string */ public function getRequest() { return $this->whichOneof("Request"); } }