Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/openstatusHQ/sdk-php. php sdk for openstatus www.openstatus.dev
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205<?php# Generated by the protocol buffer compiler. DO NOT EDIT!# NO CHECKED-IN PROTOBUF GENCODE# source: openstatus/monitor/v1/service.proto
namespace Openstatus\Monitor\V1;
use Google\Protobuf\Internal\GPBType;use Google\Protobuf\Internal\GPBUtil;use Google\Protobuf\RepeatedField;
/** * HTTPResponseLogTiming contains calculated timing phases in milliseconds. * * Generated from protobuf message <code>openstatus.monitor.v1.HTTPResponseLogTiming</code> */class HTTPResponseLogTiming extends \Google\Protobuf\Internal\Message{ /** * DNS lookup duration. * * Generated from protobuf field <code>int32 dns = 1 [json_name = "dns"];</code> */ protected $dns = 0; /** * TCP connection duration. * * Generated from protobuf field <code>int32 connect = 2 [json_name = "connect"];</code> */ protected $connect = 0; /** * TLS handshake duration. * * Generated from protobuf field <code>int32 tls = 3 [json_name = "tls"];</code> */ protected $tls = 0; /** * Time to first byte duration. * * Generated from protobuf field <code>int32 ttfb = 4 [json_name = "ttfb"];</code> */ protected $ttfb = 0; /** * Response transfer duration. * * Generated from protobuf field <code>int32 transfer = 5 [json_name = "transfer"];</code> */ protected $transfer = 0;
/** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $dns * DNS lookup duration. * @type int $connect * TCP connection duration. * @type int $tls * TLS handshake duration. * @type int $ttfb * Time to first byte duration. * @type int $transfer * Response transfer duration. * } */ public function __construct($data = NULL) { \GPBMetadata\Openstatus\Monitor\V1\Service::initOnce(); parent::__construct($data); }
/** * DNS lookup duration. * * Generated from protobuf field <code>int32 dns = 1 [json_name = "dns"];</code> * @return int */ public function getDns() { return $this->dns; }
/** * DNS lookup duration. * * Generated from protobuf field <code>int32 dns = 1 [json_name = "dns"];</code> * @param int $var * @return $this */ public function setDns(int $var) { GPBUtil::checkInt32($var); $this->dns = $var;
return $this; }
/** * TCP connection duration. * * Generated from protobuf field <code>int32 connect = 2 [json_name = "connect"];</code> * @return int */ public function getConnect() { return $this->connect; }
/** * TCP connection duration. * * Generated from protobuf field <code>int32 connect = 2 [json_name = "connect"];</code> * @param int $var * @return $this */ public function setConnect(int $var) { GPBUtil::checkInt32($var); $this->connect = $var;
return $this; }
/** * TLS handshake duration. * * Generated from protobuf field <code>int32 tls = 3 [json_name = "tls"];</code> * @return int */ public function getTls() { return $this->tls; }
/** * TLS handshake duration. * * Generated from protobuf field <code>int32 tls = 3 [json_name = "tls"];</code> * @param int $var * @return $this */ public function setTls(int $var) { GPBUtil::checkInt32($var); $this->tls = $var;
return $this; }
/** * Time to first byte duration. * * Generated from protobuf field <code>int32 ttfb = 4 [json_name = "ttfb"];</code> * @return int */ public function getTtfb() { return $this->ttfb; }
/** * Time to first byte duration. * * Generated from protobuf field <code>int32 ttfb = 4 [json_name = "ttfb"];</code> * @param int $var * @return $this */ public function setTtfb(int $var) { GPBUtil::checkInt32($var); $this->ttfb = $var;
return $this; }
/** * Response transfer duration. * * Generated from protobuf field <code>int32 transfer = 5 [json_name = "transfer"];</code> * @return int */ public function getTransfer() { return $this->transfer; }
/** * Response transfer duration. * * Generated from protobuf field <code>int32 transfer = 5 [json_name = "transfer"];</code> * @param int $var * @return $this */ public function setTransfer(int $var) { GPBUtil::checkInt32($var); $this->transfer = $var;
return $this; }
}