1ffe3c632Sopenharmony_ci<?php 2ffe3c632Sopenharmony_ci# Generated by the protocol buffer compiler. DO NOT EDIT! 3ffe3c632Sopenharmony_ci# source: google/protobuf/source_context.proto 4ffe3c632Sopenharmony_ci 5ffe3c632Sopenharmony_cinamespace Google\Protobuf; 6ffe3c632Sopenharmony_ci 7ffe3c632Sopenharmony_ciuse Google\Protobuf\Internal\GPBType; 8ffe3c632Sopenharmony_ciuse Google\Protobuf\Internal\RepeatedField; 9ffe3c632Sopenharmony_ciuse Google\Protobuf\Internal\GPBUtil; 10ffe3c632Sopenharmony_ci 11ffe3c632Sopenharmony_ci/** 12ffe3c632Sopenharmony_ci * `SourceContext` represents information about the source of a 13ffe3c632Sopenharmony_ci * protobuf element, like the file in which it is defined. 14ffe3c632Sopenharmony_ci * 15ffe3c632Sopenharmony_ci * Generated from protobuf message <code>google.protobuf.SourceContext</code> 16ffe3c632Sopenharmony_ci */ 17ffe3c632Sopenharmony_ciclass SourceContext extends \Google\Protobuf\Internal\Message 18ffe3c632Sopenharmony_ci{ 19ffe3c632Sopenharmony_ci /** 20ffe3c632Sopenharmony_ci * The path-qualified name of the .proto file that contained the associated 21ffe3c632Sopenharmony_ci * protobuf element. For example: `"google/protobuf/source_context.proto"`. 22ffe3c632Sopenharmony_ci * 23ffe3c632Sopenharmony_ci * Generated from protobuf field <code>string file_name = 1;</code> 24ffe3c632Sopenharmony_ci */ 25ffe3c632Sopenharmony_ci private $file_name = ''; 26ffe3c632Sopenharmony_ci 27ffe3c632Sopenharmony_ci /** 28ffe3c632Sopenharmony_ci * Constructor. 29ffe3c632Sopenharmony_ci * 30ffe3c632Sopenharmony_ci * @param array $data { 31ffe3c632Sopenharmony_ci * Optional. Data for populating the Message object. 32ffe3c632Sopenharmony_ci * 33ffe3c632Sopenharmony_ci * @type string $file_name 34ffe3c632Sopenharmony_ci * The path-qualified name of the .proto file that contained the associated 35ffe3c632Sopenharmony_ci * protobuf element. For example: `"google/protobuf/source_context.proto"`. 36ffe3c632Sopenharmony_ci * } 37ffe3c632Sopenharmony_ci */ 38ffe3c632Sopenharmony_ci public function __construct($data = NULL) { 39ffe3c632Sopenharmony_ci \GPBMetadata\Google\Protobuf\SourceContext::initOnce(); 40ffe3c632Sopenharmony_ci parent::__construct($data); 41ffe3c632Sopenharmony_ci } 42ffe3c632Sopenharmony_ci 43ffe3c632Sopenharmony_ci /** 44ffe3c632Sopenharmony_ci * The path-qualified name of the .proto file that contained the associated 45ffe3c632Sopenharmony_ci * protobuf element. For example: `"google/protobuf/source_context.proto"`. 46ffe3c632Sopenharmony_ci * 47ffe3c632Sopenharmony_ci * Generated from protobuf field <code>string file_name = 1;</code> 48ffe3c632Sopenharmony_ci * @return string 49ffe3c632Sopenharmony_ci */ 50ffe3c632Sopenharmony_ci public function getFileName() 51ffe3c632Sopenharmony_ci { 52ffe3c632Sopenharmony_ci return $this->file_name; 53ffe3c632Sopenharmony_ci } 54ffe3c632Sopenharmony_ci 55ffe3c632Sopenharmony_ci /** 56ffe3c632Sopenharmony_ci * The path-qualified name of the .proto file that contained the associated 57ffe3c632Sopenharmony_ci * protobuf element. For example: `"google/protobuf/source_context.proto"`. 58ffe3c632Sopenharmony_ci * 59ffe3c632Sopenharmony_ci * Generated from protobuf field <code>string file_name = 1;</code> 60ffe3c632Sopenharmony_ci * @param string $var 61ffe3c632Sopenharmony_ci * @return $this 62ffe3c632Sopenharmony_ci */ 63ffe3c632Sopenharmony_ci public function setFileName($var) 64ffe3c632Sopenharmony_ci { 65ffe3c632Sopenharmony_ci GPBUtil::checkString($var, True); 66ffe3c632Sopenharmony_ci $this->file_name = $var; 67ffe3c632Sopenharmony_ci 68ffe3c632Sopenharmony_ci return $this; 69ffe3c632Sopenharmony_ci } 70ffe3c632Sopenharmony_ci 71ffe3c632Sopenharmony_ci} 72ffe3c632Sopenharmony_ci 73