grpc.testing.ServerArgs
*/
class ServerArgs extends \Google\Protobuf\Internal\Message
{
protected $argtype;
public function __construct() {
\GPBMetadata\Src\Proto\Grpc\Testing\Control::initOnce();
parent::__construct();
}
/**
* .grpc.testing.ServerConfig setup = 1;
*/
public function getSetup()
{
return $this->readOneof(1);
}
/**
* .grpc.testing.ServerConfig setup = 1;
*/
public function setSetup(&$var)
{
GPBUtil::checkMessage($var, \Grpc\Testing\ServerConfig::class);
$this->writeOneof(1, $var);
}
/**
* .grpc.testing.Mark mark = 2;
*/
public function getMark()
{
return $this->readOneof(2);
}
/**
* .grpc.testing.Mark mark = 2;
*/
public function setMark(&$var)
{
GPBUtil::checkMessage($var, \Grpc\Testing\Mark::class);
$this->writeOneof(2, $var);
}
public function getArgtype()
{
return $this->whichOneof("argtype");
}
}