← All changes
|
includes/sdk/google/google/common-protos/src/Api/Metric.php
+7
-7
1.2.13
→
1.4.2
View file →
| @@ -1,13 +1,13 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | # Generated by the protocol buffer compiler. DO NOT EDIT! |
| 4 | 4 | # source: google/api/metric.proto |
| 5 | -namespace Dudlewebs\WPMCS\Google\Api; | |
| 5 | +namespace Dudlewebs\WPMCS\GCP\Google\Api; | |
| 6 | 6 | |
| 7 | -use Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType; | |
| 8 | -use Dudlewebs\WPMCS\Google\Protobuf\Internal\RepeatedField; | |
| 9 | -use Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBUtil; | |
| 7 | +use Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType; | |
| 8 | +use Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBUtil; | |
| 9 | +use Dudlewebs\WPMCS\GCP\Google\Protobuf\RepeatedField; | |
| 10 | 10 | /** |
| 11 | 11 | * A specific metric, identified by specifying values for all of the |
| 12 | 12 | * labels of a [`MetricDescriptor`][google.api.MetricDescriptor]. |
| 13 | 13 | * |
| @@ -12,9 +12,9 @@ | ||
| 12 | 12 | * labels of a [`MetricDescriptor`][google.api.MetricDescriptor]. |
| 13 | 13 | * |
| 14 | 14 | * Generated from protobuf message <code>google.api.Metric</code> |
| 15 | 15 | */ |
| 16 | -class Metric extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message | |
| 16 | +class Metric extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message | |
| 17 | 17 | { |
| 18 | 18 | /** |
| 19 | 19 | * An existing metric type, see |
| 20 | 20 | * [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example, |
| @@ -46,9 +46,9 @@ | ||
| 46 | 46 | * } |
| 47 | 47 | */ |
| 48 | 48 | public function __construct($data = NULL) |
| 49 | 49 | { |
| 50 | - \Dudlewebs\WPMCS\GPBMetadata\Google\Api\Metric::initOnce(); | |
| 50 | + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Api\Metric::initOnce(); | |
| 51 | 51 | parent::__construct($data); |
| 52 | 52 | } |
| 53 | 53 | /** |
| 54 | 54 | * An existing metric type, see |
| @@ -97,9 +97,9 @@ | ||
| 97 | 97 | * @return $this |
| 98 | 98 | */ |
| 99 | 99 | public function setLabels($var) |
| 100 | 100 | { |
| 101 | - $arr = GPBUtil::checkMapField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::STRING, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::STRING); | |
| 101 | + $arr = GPBUtil::checkMapField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::STRING, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::STRING); | |
| 102 | 102 | $this->labels = $arr; |
| 103 | 103 | return $this; |
| 104 | 104 | } |
| 105 | 105 | } |