google.protobuf.OneofOptions */ class OneofOptions extends \Google\Protobuf\Internal\Message { /** *
* The parser stores options it doesn't recognize here. See above. ** *
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
private $uninterpreted_option;
private $has_uninterpreted_option = false;
public function __construct() {
\GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce();
parent::__construct();
}
/**
* * The parser stores options it doesn't recognize here. See above. ** *
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public function getUninterpretedOption()
{
return $this->uninterpreted_option;
}
/**
* * The parser stores options it doesn't recognize here. See above. ** *
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*/
public function setUninterpretedOption(&$var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\UninterpretedOption::class);
$this->uninterpreted_option = $arr;
$this->has_uninterpreted_option = true;
return $this;
}
public function hasUninterpretedOption()
{
return $this->has_uninterpreted_option;
}
}