[e3d4e0a] | 1 | <?php
|
---|
| 2 | /*
|
---|
| 3 | * Copyright 2014 Google Inc.
|
---|
| 4 | *
|
---|
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
| 6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
| 7 | * the License at
|
---|
| 8 | *
|
---|
| 9 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
| 10 | *
|
---|
| 11 | * Unless required by applicable law or agreed to in writing, software
|
---|
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
---|
| 13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
| 14 | * License for the specific language governing permissions and limitations under
|
---|
| 15 | * the License.
|
---|
| 16 | */
|
---|
| 17 |
|
---|
| 18 | namespace Google\Service\Networkconnectivity;
|
---|
| 19 |
|
---|
| 20 | class TraceSpan extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $attributesType = Attributes::class;
|
---|
| 23 | protected $attributesDataType = '';
|
---|
| 24 | public $childSpanCount;
|
---|
| 25 | protected $displayNameType = TruncatableString::class;
|
---|
| 26 | protected $displayNameDataType = '';
|
---|
| 27 | public $endTime;
|
---|
| 28 | public $name;
|
---|
| 29 | public $parentSpanId;
|
---|
| 30 | public $sameProcessAsParentSpan;
|
---|
| 31 | public $spanId;
|
---|
| 32 | public $spanKind;
|
---|
| 33 | public $startTime;
|
---|
| 34 | protected $statusType = GoogleRpcStatus::class;
|
---|
| 35 | protected $statusDataType = '';
|
---|
| 36 |
|
---|
| 37 | /**
|
---|
| 38 | * @param Attributes
|
---|
| 39 | */
|
---|
| 40 | public function setAttributes(Attributes $attributes)
|
---|
| 41 | {
|
---|
| 42 | $this->attributes = $attributes;
|
---|
| 43 | }
|
---|
| 44 | /**
|
---|
| 45 | * @return Attributes
|
---|
| 46 | */
|
---|
| 47 | public function getAttributes()
|
---|
| 48 | {
|
---|
| 49 | return $this->attributes;
|
---|
| 50 | }
|
---|
| 51 | public function setChildSpanCount($childSpanCount)
|
---|
| 52 | {
|
---|
| 53 | $this->childSpanCount = $childSpanCount;
|
---|
| 54 | }
|
---|
| 55 | public function getChildSpanCount()
|
---|
| 56 | {
|
---|
| 57 | return $this->childSpanCount;
|
---|
| 58 | }
|
---|
| 59 | /**
|
---|
| 60 | * @param TruncatableString
|
---|
| 61 | */
|
---|
| 62 | public function setDisplayName(TruncatableString $displayName)
|
---|
| 63 | {
|
---|
| 64 | $this->displayName = $displayName;
|
---|
| 65 | }
|
---|
| 66 | /**
|
---|
| 67 | * @return TruncatableString
|
---|
| 68 | */
|
---|
| 69 | public function getDisplayName()
|
---|
| 70 | {
|
---|
| 71 | return $this->displayName;
|
---|
| 72 | }
|
---|
| 73 | public function setEndTime($endTime)
|
---|
| 74 | {
|
---|
| 75 | $this->endTime = $endTime;
|
---|
| 76 | }
|
---|
| 77 | public function getEndTime()
|
---|
| 78 | {
|
---|
| 79 | return $this->endTime;
|
---|
| 80 | }
|
---|
| 81 | public function setName($name)
|
---|
| 82 | {
|
---|
| 83 | $this->name = $name;
|
---|
| 84 | }
|
---|
| 85 | public function getName()
|
---|
| 86 | {
|
---|
| 87 | return $this->name;
|
---|
| 88 | }
|
---|
| 89 | public function setParentSpanId($parentSpanId)
|
---|
| 90 | {
|
---|
| 91 | $this->parentSpanId = $parentSpanId;
|
---|
| 92 | }
|
---|
| 93 | public function getParentSpanId()
|
---|
| 94 | {
|
---|
| 95 | return $this->parentSpanId;
|
---|
| 96 | }
|
---|
| 97 | public function setSameProcessAsParentSpan($sameProcessAsParentSpan)
|
---|
| 98 | {
|
---|
| 99 | $this->sameProcessAsParentSpan = $sameProcessAsParentSpan;
|
---|
| 100 | }
|
---|
| 101 | public function getSameProcessAsParentSpan()
|
---|
| 102 | {
|
---|
| 103 | return $this->sameProcessAsParentSpan;
|
---|
| 104 | }
|
---|
| 105 | public function setSpanId($spanId)
|
---|
| 106 | {
|
---|
| 107 | $this->spanId = $spanId;
|
---|
| 108 | }
|
---|
| 109 | public function getSpanId()
|
---|
| 110 | {
|
---|
| 111 | return $this->spanId;
|
---|
| 112 | }
|
---|
| 113 | public function setSpanKind($spanKind)
|
---|
| 114 | {
|
---|
| 115 | $this->spanKind = $spanKind;
|
---|
| 116 | }
|
---|
| 117 | public function getSpanKind()
|
---|
| 118 | {
|
---|
| 119 | return $this->spanKind;
|
---|
| 120 | }
|
---|
| 121 | public function setStartTime($startTime)
|
---|
| 122 | {
|
---|
| 123 | $this->startTime = $startTime;
|
---|
| 124 | }
|
---|
| 125 | public function getStartTime()
|
---|
| 126 | {
|
---|
| 127 | return $this->startTime;
|
---|
| 128 | }
|
---|
| 129 | /**
|
---|
| 130 | * @param GoogleRpcStatus
|
---|
| 131 | */
|
---|
| 132 | public function setStatus(GoogleRpcStatus $status)
|
---|
| 133 | {
|
---|
| 134 | $this->status = $status;
|
---|
| 135 | }
|
---|
| 136 | /**
|
---|
| 137 | * @return GoogleRpcStatus
|
---|
| 138 | */
|
---|
| 139 | public function getStatus()
|
---|
| 140 | {
|
---|
| 141 | return $this->status;
|
---|
| 142 | }
|
---|
| 143 | }
|
---|
| 144 |
|
---|
| 145 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 146 | class_alias(TraceSpan::class, 'Google_Service_Networkconnectivity_TraceSpan');
|
---|