"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "php/src/Google/Protobuf/Internal/GeneratedCodeInfo/Annotation.php" between
protobuf-all-3.20.1.tar.gz and protobuf-all-3.21.0.tar.gz

About: Protocol Buffers (a.k.a., protobuf) are Google’s language-neutral, platform-neutral, extensible mechanism for serializing structured data.

Annotation.php  (protobuf-all-3.20.1):Annotation.php  (protobuf-all-3.21.0)
skipping to change at line 53 skipping to change at line 53
* Generated from protobuf field <code>optional int32 end = 4;</code> * Generated from protobuf field <code>optional int32 end = 4;</code>
*/ */
protected $end = null; protected $end = null;
/** /**
* Constructor. * Constructor.
* *
* @param array $data { * @param array $data {
* Optional. Data for populating the Message object. * Optional. Data for populating the Message object.
* *
* @type int[]|\Google\Protobuf\Internal\RepeatedField $path * @type array<int>|\Google\Protobuf\Internal\RepeatedField $path
* Identifies the element in the original source .proto file. This field * Identifies the element in the original source .proto file. This field
* is formatted the same as SourceCodeInfo.Location.path. * is formatted the same as SourceCodeInfo.Location.path.
* @type string $source_file * @type string $source_file
* Identifies the filesystem path to the original source .proto. * Identifies the filesystem path to the original source .proto.
* @type int $begin * @type int $begin
* Identifies the starting offset in bytes in the generated code * Identifies the starting offset in bytes in the generated code
* that relates to the identified object. * that relates to the identified object.
* @type int $end * @type int $end
* Identifies the ending offset in bytes in the generated code tha t * Identifies the ending offset in bytes in the generated code tha t
* relates to the identified offset. The end offset should be one past * relates to the identified offset. The end offset should be one past
skipping to change at line 89 skipping to change at line 89
public function getPath() public function getPath()
{ {
return $this->path; return $this->path;
} }
/** /**
* Identifies the element in the original source .proto file. This field * Identifies the element in the original source .proto file. This field
* is formatted the same as SourceCodeInfo.Location.path. * is formatted the same as SourceCodeInfo.Location.path.
* *
* Generated from protobuf field <code>repeated int32 path = 1 [packed = tru e];</code> * Generated from protobuf field <code>repeated int32 path = 1 [packed = tru e];</code>
* @param int[]|\Google\Protobuf\Internal\RepeatedField $var * @param array<int>|\Google\Protobuf\Internal\RepeatedField $var
* @return $this * @return $this
*/ */
public function setPath($var) public function setPath($var)
{ {
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBTy pe::INT32); $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBTy pe::INT32);
$this->path = $arr; $this->path = $arr;
return $this; return $this;
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)