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.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180<?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;
/** * HTTPResponseLogPagination contains offset pagination metadata. * * Generated from protobuf message <code>openstatus.monitor.v1.HTTPResponseLogPagination</code> */class HTTPResponseLogPagination extends \Google\Protobuf\Internal\Message{ /** * Requested page size. * * Generated from protobuf field <code>int32 limit = 1 [json_name = "limit"];</code> */ protected $limit = 0; /** * Requested offset. * * Generated from protobuf field <code>int32 offset = 2 [json_name = "offset"];</code> */ protected $offset = 0; /** * Whether more logs are available. * * Generated from protobuf field <code>bool has_more = 3 [json_name = "hasMore"];</code> */ protected $has_more = false; /** * Next offset if more logs are available. * * Generated from protobuf field <code>optional int32 next_offset = 4 [json_name = "nextOffset"];</code> */ protected $next_offset = null;
/** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $limit * Requested page size. * @type int $offset * Requested offset. * @type bool $has_more * Whether more logs are available. * @type int $next_offset * Next offset if more logs are available. * } */ public function __construct($data = NULL) { \GPBMetadata\Openstatus\Monitor\V1\Service::initOnce(); parent::__construct($data); }
/** * Requested page size. * * Generated from protobuf field <code>int32 limit = 1 [json_name = "limit"];</code> * @return int */ public function getLimit() { return $this->limit; }
/** * Requested page size. * * Generated from protobuf field <code>int32 limit = 1 [json_name = "limit"];</code> * @param int $var * @return $this */ public function setLimit(int $var) { GPBUtil::checkInt32($var); $this->limit = $var;
return $this; }
/** * Requested offset. * * Generated from protobuf field <code>int32 offset = 2 [json_name = "offset"];</code> * @return int */ public function getOffset() { return $this->offset; }
/** * Requested offset. * * Generated from protobuf field <code>int32 offset = 2 [json_name = "offset"];</code> * @param int $var * @return $this */ public function setOffset(int $var) { GPBUtil::checkInt32($var); $this->offset = $var;
return $this; }
/** * Whether more logs are available. * * Generated from protobuf field <code>bool has_more = 3 [json_name = "hasMore"];</code> * @return bool */ public function getHasMore() { return $this->has_more; }
/** * Whether more logs are available. * * Generated from protobuf field <code>bool has_more = 3 [json_name = "hasMore"];</code> * @param bool $var * @return $this */ public function setHasMore(bool $var) { $this->has_more = $var;
return $this; }
/** * Next offset if more logs are available. * * Generated from protobuf field <code>optional int32 next_offset = 4 [json_name = "nextOffset"];</code> * @return int */ public function getNextOffset() { return isset($this->next_offset) ? $this->next_offset : 0; }
public function hasNextOffset() { return isset($this->next_offset); }
public function clearNextOffset() { unset($this->next_offset); }
/** * Next offset if more logs are available. * * Generated from protobuf field <code>optional int32 next_offset = 4 [json_name = "nextOffset"];</code> * @param int $var * @return $this */ public function setNextOffset(int $var) { GPBUtil::checkInt32($var); $this->next_offset = $var;
return $this; }
}