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\CloudTrace;
|
---|
19 |
|
---|
20 | class StackFrame extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var string
|
---|
24 | */
|
---|
25 | public $columnNumber;
|
---|
26 | protected $fileNameType = TruncatableString::class;
|
---|
27 | protected $fileNameDataType = '';
|
---|
28 | protected $functionNameType = TruncatableString::class;
|
---|
29 | protected $functionNameDataType = '';
|
---|
30 | /**
|
---|
31 | * @var string
|
---|
32 | */
|
---|
33 | public $lineNumber;
|
---|
34 | protected $loadModuleType = Module::class;
|
---|
35 | protected $loadModuleDataType = '';
|
---|
36 | protected $originalFunctionNameType = TruncatableString::class;
|
---|
37 | protected $originalFunctionNameDataType = '';
|
---|
38 | protected $sourceVersionType = TruncatableString::class;
|
---|
39 | protected $sourceVersionDataType = '';
|
---|
40 |
|
---|
41 | /**
|
---|
42 | * @param string
|
---|
43 | */
|
---|
44 | public function setColumnNumber($columnNumber)
|
---|
45 | {
|
---|
46 | $this->columnNumber = $columnNumber;
|
---|
47 | }
|
---|
48 | /**
|
---|
49 | * @return string
|
---|
50 | */
|
---|
51 | public function getColumnNumber()
|
---|
52 | {
|
---|
53 | return $this->columnNumber;
|
---|
54 | }
|
---|
55 | /**
|
---|
56 | * @param TruncatableString
|
---|
57 | */
|
---|
58 | public function setFileName(TruncatableString $fileName)
|
---|
59 | {
|
---|
60 | $this->fileName = $fileName;
|
---|
61 | }
|
---|
62 | /**
|
---|
63 | * @return TruncatableString
|
---|
64 | */
|
---|
65 | public function getFileName()
|
---|
66 | {
|
---|
67 | return $this->fileName;
|
---|
68 | }
|
---|
69 | /**
|
---|
70 | * @param TruncatableString
|
---|
71 | */
|
---|
72 | public function setFunctionName(TruncatableString $functionName)
|
---|
73 | {
|
---|
74 | $this->functionName = $functionName;
|
---|
75 | }
|
---|
76 | /**
|
---|
77 | * @return TruncatableString
|
---|
78 | */
|
---|
79 | public function getFunctionName()
|
---|
80 | {
|
---|
81 | return $this->functionName;
|
---|
82 | }
|
---|
83 | /**
|
---|
84 | * @param string
|
---|
85 | */
|
---|
86 | public function setLineNumber($lineNumber)
|
---|
87 | {
|
---|
88 | $this->lineNumber = $lineNumber;
|
---|
89 | }
|
---|
90 | /**
|
---|
91 | * @return string
|
---|
92 | */
|
---|
93 | public function getLineNumber()
|
---|
94 | {
|
---|
95 | return $this->lineNumber;
|
---|
96 | }
|
---|
97 | /**
|
---|
98 | * @param Module
|
---|
99 | */
|
---|
100 | public function setLoadModule(Module $loadModule)
|
---|
101 | {
|
---|
102 | $this->loadModule = $loadModule;
|
---|
103 | }
|
---|
104 | /**
|
---|
105 | * @return Module
|
---|
106 | */
|
---|
107 | public function getLoadModule()
|
---|
108 | {
|
---|
109 | return $this->loadModule;
|
---|
110 | }
|
---|
111 | /**
|
---|
112 | * @param TruncatableString
|
---|
113 | */
|
---|
114 | public function setOriginalFunctionName(TruncatableString $originalFunctionName)
|
---|
115 | {
|
---|
116 | $this->originalFunctionName = $originalFunctionName;
|
---|
117 | }
|
---|
118 | /**
|
---|
119 | * @return TruncatableString
|
---|
120 | */
|
---|
121 | public function getOriginalFunctionName()
|
---|
122 | {
|
---|
123 | return $this->originalFunctionName;
|
---|
124 | }
|
---|
125 | /**
|
---|
126 | * @param TruncatableString
|
---|
127 | */
|
---|
128 | public function setSourceVersion(TruncatableString $sourceVersion)
|
---|
129 | {
|
---|
130 | $this->sourceVersion = $sourceVersion;
|
---|
131 | }
|
---|
132 | /**
|
---|
133 | * @return TruncatableString
|
---|
134 | */
|
---|
135 | public function getSourceVersion()
|
---|
136 | {
|
---|
137 | return $this->sourceVersion;
|
---|
138 | }
|
---|
139 | }
|
---|
140 |
|
---|
141 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
142 | class_alias(StackFrame::class, 'Google_Service_CloudTrace_StackFrame');
|
---|