google.protobuf.GeneratedCodeInfo.Annotation */ class GeneratedCodeInfo_Annotation extends \Google\Protobuf\Internal\Message { /** *
     * Identifies the element in the original source .proto file. This field
     * is formatted the same as SourceCodeInfo.Location.path.
     * 
* * repeated int32 path = 1 [packed = true]; */ private $path; private $has_path = false; /** *
     * Identifies the filesystem path to the original source .proto.
     * 
* * optional string source_file = 2; */ private $source_file = ''; private $has_source_file = false; /** *
     * Identifies the starting offset in bytes in the generated code
     * that relates to the identified object.
     * 
* * optional int32 begin = 3; */ private $begin = 0; private $has_begin = false; /** *
     * Identifies the ending offset in bytes in the generated code that
     * relates to the identified offset. The end offset should be one past
     * the last relevant byte (so the length of the text = end - begin).
     * 
* * optional int32 end = 4; */ private $end = 0; private $has_end = false; public function __construct() { \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); parent::__construct(); } /** *
     * Identifies the element in the original source .proto file. This field
     * is formatted the same as SourceCodeInfo.Location.path.
     * 
* * repeated int32 path = 1 [packed = true]; */ public function getPath() { return $this->path; } /** *
     * Identifies the element in the original source .proto file. This field
     * is formatted the same as SourceCodeInfo.Location.path.
     * 
* * repeated int32 path = 1 [packed = true]; */ public function setPath(&$var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32); $this->path = $arr; $this->has_path = true; } public function hasPath() { return $this->has_path; } /** *
     * Identifies the filesystem path to the original source .proto.
     * 
* * optional string source_file = 2; */ public function getSourceFile() { return $this->source_file; } /** *
     * Identifies the filesystem path to the original source .proto.
     * 
* * optional string source_file = 2; */ public function setSourceFile($var) { GPBUtil::checkString($var, True); $this->source_file = $var; $this->has_source_file = true; } public function hasSourceFile() { return $this->has_source_file; } /** *
     * Identifies the starting offset in bytes in the generated code
     * that relates to the identified object.
     * 
* * optional int32 begin = 3; */ public function getBegin() { return $this->begin; } /** *
     * Identifies the starting offset in bytes in the generated code
     * that relates to the identified object.
     * 
* * optional int32 begin = 3; */ public function setBegin($var) { GPBUtil::checkInt32($var); $this->begin = $var; $this->has_begin = true; } public function hasBegin() { return $this->has_begin; } /** *
     * Identifies the ending offset in bytes in the generated code that
     * relates to the identified offset. The end offset should be one past
     * the last relevant byte (so the length of the text = end - begin).
     * 
* * optional int32 end = 4; */ public function getEnd() { return $this->end; } /** *
     * Identifies the ending offset in bytes in the generated code that
     * relates to the identified offset. The end offset should be one past
     * the last relevant byte (so the length of the text = end - begin).
     * 
* * optional int32 end = 4; */ public function setEnd($var) { GPBUtil::checkInt32($var); $this->end = $var; $this->has_end = true; } public function hasEnd() { return $this->has_end; } }