public function setPublicDependency($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32);
        $this->public_dependency = $arr;
        $this->has_public_dependency = true;

        return $this;
    }
public function setPublicDependency($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32);
        $this->public_dependency = $arr;
        $this->has_public_dependency = true;

        return $this;
    }
public function setPublicDependency ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: INT32 ) ; $ this -> public_dependency = $ arr ; $ this -> has_public_dependency = true ; return $ this ; }
Indexes of the public imported files in the dependency list above.

Generated from protobuf field <code>repeated int32 public_dependency = 10;</code>
@param int[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
Indexes of the public imported files in the dependency list above .