function FileDescriptorProto::setPublicDependency
Indexes of the public imported files in the dependency list above.
Generated from protobuf field <code>repeated int32 public_dependency = 10;</code>
Parameters
array<int>|\Google\Protobuf\Internal\RepeatedField $var:
Return value
$this
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ FileDescriptorProto.php, line 254
Class
- FileDescriptorProto
- Describes a complete .proto file.
Namespace
Google\Protobuf\InternalCode
public function setPublicDependency($var) {
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32);
$this->public_dependency = $arr;
return $this;
}