← All changes
|
includes/sdk/google/google/common-protos/src/Api/Distribution/BucketOptions.php
+9
-9
1.2.8
→
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/distribution.proto |
| 5 | -namespace Dudlewebs\WPMCS\Google\Api\Distribution; | |
| 5 | +namespace Dudlewebs\WPMCS\GCP\Google\Api\Distribution; | |
| 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 | * `BucketOptions` describes the bucket boundaries used to create a histogram |
| 12 | 12 | * for the distribution. The buckets can be in a linear sequence, an |
| 13 | 13 | * exponential sequence, or each bucket can be specified explicitly. |
| @@ -24,9 +24,9 @@ | ||
| 24 | 24 | * so-called because both bounds are finite. |
| 25 | 25 | * |
| 26 | 26 | * Generated from protobuf message <code>google.api.Distribution.BucketOptions</code> |
| 27 | 27 | */ |
| 28 | -class BucketOptions extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message | |
| 28 | +class BucketOptions extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message | |
| 29 | 29 | { |
| 30 | 30 | protected $options; |
| 31 | 31 | /** |
| 32 | 32 | * Constructor. |
| @@ -43,9 +43,9 @@ | ||
| 43 | 43 | * } |
| 44 | 44 | */ |
| 45 | 45 | public function __construct($data = NULL) |
| 46 | 46 | { |
| 47 | - \Dudlewebs\WPMCS\GPBMetadata\Google\Api\Distribution::initOnce(); | |
| 47 | + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Api\Distribution::initOnce(); | |
| 48 | 48 | parent::__construct($data); |
| 49 | 49 | } |
| 50 | 50 | /** |
| 51 | 51 | * The linear bucket. |
| @@ -69,9 +69,9 @@ | ||
| 69 | 69 | * @return $this |
| 70 | 70 | */ |
| 71 | 71 | public function setLinearBuckets($var) |
| 72 | 72 | { |
| 73 | - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Distribution\BucketOptions\Linear::class); | |
| 73 | + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Api\Distribution\BucketOptions\Linear::class); | |
| 74 | 74 | $this->writeOneof(1, $var); |
| 75 | 75 | return $this; |
| 76 | 76 | } |
| 77 | 77 | /** |
| @@ -96,9 +96,9 @@ | ||
| 96 | 96 | * @return $this |
| 97 | 97 | */ |
| 98 | 98 | public function setExponentialBuckets($var) |
| 99 | 99 | { |
| 100 | - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Distribution\BucketOptions\Exponential::class); | |
| 100 | + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Api\Distribution\BucketOptions\Exponential::class); | |
| 101 | 101 | $this->writeOneof(2, $var); |
| 102 | 102 | return $this; |
| 103 | 103 | } |
| 104 | 104 | /** |
| @@ -123,9 +123,9 @@ | ||
| 123 | 123 | * @return $this |
| 124 | 124 | */ |
| 125 | 125 | public function setExplicitBuckets($var) |
| 126 | 126 | { |
| 127 | - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\Distribution\BucketOptions\Explicit::class); | |
| 127 | + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Api\Distribution\BucketOptions\Explicit::class); | |
| 128 | 128 | $this->writeOneof(3, $var); |
| 129 | 129 | return $this; |
| 130 | 130 | } |
| 131 | 131 | /** |