[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: Metric.php
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/api/metric.proto namespace Google\Api; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * A specific metric, identified by specifying values for all of the * labels of a [`MetricDescriptor`][google.api.MetricDescriptor]. * * Generated from protobuf message <code>google.api.Metric</code> */ class Metric extends \Google\Protobuf\Internal\Message { /** * An existing metric type, see * [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example, * `custom.googleapis.com/invoice/paid/amount`. * * Generated from protobuf field <code>string type = 3;</code> */ protected $type = ''; /** * The set of label values that uniquely identify this metric. All * labels listed in the `MetricDescriptor` must be assigned values. * * Generated from protobuf field <code>map<string, string> labels = 2;</code> */ private $labels; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $type * An existing metric type, see * [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example, * `custom.googleapis.com/invoice/paid/amount`. * @type array|\Google\Protobuf\Internal\MapField $labels * The set of label values that uniquely identify this metric. All * labels listed in the `MetricDescriptor` must be assigned values. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Api\Metric::initOnce(); parent::__construct($data); } /** * An existing metric type, see * [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example, * `custom.googleapis.com/invoice/paid/amount`. * * Generated from protobuf field <code>string type = 3;</code> * @return string */ public function getType() { return $this->type; } /** * An existing metric type, see * [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example, * `custom.googleapis.com/invoice/paid/amount`. * * Generated from protobuf field <code>string type = 3;</code> * @param string $var * @return $this */ public function setType($var) { GPBUtil::checkString($var, True); $this->type = $var; return $this; } /** * The set of label values that uniquely identify this metric. All * labels listed in the `MetricDescriptor` must be assigned values. * * Generated from protobuf field <code>map<string, string> labels = 2;</code> * @return \Google\Protobuf\Internal\MapField */ public function getLabels() { return $this->labels; } /** * The set of label values that uniquely identify this metric. All * labels listed in the `MetricDescriptor` must be assigned values. * * Generated from protobuf field <code>map<string, string> labels = 2;</code> * @param array|\Google\Protobuf\Internal\MapField $var * @return $this */ public function setLabels($var) { $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); $this->labels = $arr; return $this; } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.57 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002