registration.core.SetClientInfo
*/
class SetClientInfo extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field int32 client_id = 1;
*/
protected $client_id = 0;
/**
* Generated from protobuf field string client_secret = 2;
*/
protected $client_secret = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int $client_id
* @type string $client_secret
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Registration::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field int32 client_id = 1;
* @return int
*/
public function getClientId()
{
return $this->client_id;
}
/**
* Generated from protobuf field int32 client_id = 1;
* @param int $var
* @return $this
*/
public function setClientId($var)
{
GPBUtil::checkInt32($var);
$this->client_id = $var;
return $this;
}
/**
* Generated from protobuf field string client_secret = 2;
* @return string
*/
public function getClientSecret()
{
return $this->client_secret;
}
/**
* Generated from protobuf field string client_secret = 2;
* @param string $var
* @return $this
*/
public function setClientSecret($var)
{
GPBUtil::checkString($var, True);
$this->client_secret = $var;
return $this;
}
}