123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- <?php
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # source: protos/ydb_issue_message.proto
- namespace Ydb\Issue\IssueMessage;
- use Google\Protobuf\Internal\GPBType;
- use Google\Protobuf\Internal\RepeatedField;
- use Google\Protobuf\Internal\GPBUtil;
- /**
- * Generated from protobuf message <code>Ydb.Issue.IssueMessage.Position</code>
- */
- class Position extends \Google\Protobuf\Internal\Message
- {
- /**
- * Generated from protobuf field <code>uint32 row = 1;</code>
- */
- protected $row = 0;
- /**
- * Generated from protobuf field <code>uint32 column = 2;</code>
- */
- protected $column = 0;
- /**
- * Generated from protobuf field <code>string file = 3;</code>
- */
- protected $file = '';
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $row
- * @type int $column
- * @type string $file
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Protos\YdbIssueMessage::initOnce();
- parent::__construct($data);
- }
- /**
- * Generated from protobuf field <code>uint32 row = 1;</code>
- * @return int
- */
- public function getRow()
- {
- return $this->row;
- }
- /**
- * Generated from protobuf field <code>uint32 row = 1;</code>
- * @param int $var
- * @return $this
- */
- public function setRow($var)
- {
- GPBUtil::checkUint32($var);
- $this->row = $var;
- return $this;
- }
- /**
- * Generated from protobuf field <code>uint32 column = 2;</code>
- * @return int
- */
- public function getColumn()
- {
- return $this->column;
- }
- /**
- * Generated from protobuf field <code>uint32 column = 2;</code>
- * @param int $var
- * @return $this
- */
- public function setColumn($var)
- {
- GPBUtil::checkUint32($var);
- $this->column = $var;
- return $this;
- }
- /**
- * Generated from protobuf field <code>string file = 3;</code>
- * @return string
- */
- public function getFile()
- {
- return $this->file;
- }
- /**
- * Generated from protobuf field <code>string file = 3;</code>
- * @param string $var
- * @return $this
- */
- public function setFile($var)
- {
- GPBUtil::checkString($var, True);
- $this->file = $var;
- return $this;
- }
- }
- // Adding a class alias for backwards compatibility with the previous class name.
- class_alias(Position::class, \Ydb\Issue\IssueMessage_Position::class);
|