ref: master
yats-connector-php/Yats/Event.php
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 |
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: yats-grpc.proto namespace Yats; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Generated from protobuf message <code>yats.Event</code> */ class Event extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field <code>string id_client = 1;</code> */ protected $id_client = ''; /** * Generated from protobuf field <code>int64 etime = 2;</code> */ protected $etime = 0; /** * Generated from protobuf field <code>string name = 3;</code> */ protected $name = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $id_client * @type int|string $etime * @type string $name * } */ public function __construct($data = NULL) { \GPBMetadata\YatsGrpc::initOnce(); parent::__construct($data); } /** * Generated from protobuf field <code>string id_client = 1;</code> * @return string */ public function getIdClient() { return $this->id_client; } /** * Generated from protobuf field <code>string id_client = 1;</code> * @param string $var * @return $this */ public function setIdClient($var) { GPBUtil::checkString($var, True); $this->id_client = $var; return $this; } /** * Generated from protobuf field <code>int64 etime = 2;</code> * @return int|string */ public function getEtime() { return $this->etime; } /** * Generated from protobuf field <code>int64 etime = 2;</code> * @param int|string $var * @return $this */ public function setEtime($var) { GPBUtil::checkInt64($var); $this->etime = $var; return $this; } /** * Generated from protobuf field <code>string name = 3;</code> * @return string */ public function getName() { return $this->name; } /** * Generated from protobuf field <code>string name = 3;</code> * @param string $var * @return $this */ public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; } } |