google.protobuf.SourceContext */ class SourceContext extends \Google\Protobuf\Internal\Message { /** * The path-qualified name of the .proto file that contained the associated * protobuf element. For example: `"google/protobuf/source_context.proto"`. * * Generated from protobuf field string file_name = 1; */ private $file_name = ''; public function __construct() { \GPBMetadata\Google\Protobuf\SourceContext::initOnce(); parent::__construct(); } /** * The path-qualified name of the .proto file that contained the associated * protobuf element. For example: `"google/protobuf/source_context.proto"`. * * Generated from protobuf field string file_name = 1; * @return string */ public function getFileName() { return $this->file_name; } /** * The path-qualified name of the .proto file that contained the associated * protobuf element. For example: `"google/protobuf/source_context.proto"`. * * Generated from protobuf field string file_name = 1; * @param string $var * @return $this */ public function setFileName($var) { GPBUtil::checkString($var, True); $this->file_name = $var; return $this; } }