source: vendor/google/apiclient-services/src/Compute/BfdStatus.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 4.4 KB
Line 
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
18namespace Google\Service\Compute;
19
20class BfdStatus extends \Google\Collection
21{
22 protected $collection_key = 'controlPacketIntervals';
23 /**
24 * @var string
25 */
26 public $bfdSessionInitializationMode;
27 /**
28 * @var string
29 */
30 public $configUpdateTimestampMicros;
31 protected $controlPacketCountsType = BfdStatusPacketCounts::class;
32 protected $controlPacketCountsDataType = '';
33 protected $controlPacketIntervalsType = PacketIntervals::class;
34 protected $controlPacketIntervalsDataType = 'array';
35 /**
36 * @var string
37 */
38 public $localDiagnostic;
39 /**
40 * @var string
41 */
42 public $localState;
43 /**
44 * @var string
45 */
46 public $negotiatedLocalControlTxIntervalMs;
47 protected $rxPacketType = BfdPacket::class;
48 protected $rxPacketDataType = '';
49 protected $txPacketType = BfdPacket::class;
50 protected $txPacketDataType = '';
51 /**
52 * @var string
53 */
54 public $uptimeMs;
55
56 /**
57 * @param string
58 */
59 public function setBfdSessionInitializationMode($bfdSessionInitializationMode)
60 {
61 $this->bfdSessionInitializationMode = $bfdSessionInitializationMode;
62 }
63 /**
64 * @return string
65 */
66 public function getBfdSessionInitializationMode()
67 {
68 return $this->bfdSessionInitializationMode;
69 }
70 /**
71 * @param string
72 */
73 public function setConfigUpdateTimestampMicros($configUpdateTimestampMicros)
74 {
75 $this->configUpdateTimestampMicros = $configUpdateTimestampMicros;
76 }
77 /**
78 * @return string
79 */
80 public function getConfigUpdateTimestampMicros()
81 {
82 return $this->configUpdateTimestampMicros;
83 }
84 /**
85 * @param BfdStatusPacketCounts
86 */
87 public function setControlPacketCounts(BfdStatusPacketCounts $controlPacketCounts)
88 {
89 $this->controlPacketCounts = $controlPacketCounts;
90 }
91 /**
92 * @return BfdStatusPacketCounts
93 */
94 public function getControlPacketCounts()
95 {
96 return $this->controlPacketCounts;
97 }
98 /**
99 * @param PacketIntervals[]
100 */
101 public function setControlPacketIntervals($controlPacketIntervals)
102 {
103 $this->controlPacketIntervals = $controlPacketIntervals;
104 }
105 /**
106 * @return PacketIntervals[]
107 */
108 public function getControlPacketIntervals()
109 {
110 return $this->controlPacketIntervals;
111 }
112 /**
113 * @param string
114 */
115 public function setLocalDiagnostic($localDiagnostic)
116 {
117 $this->localDiagnostic = $localDiagnostic;
118 }
119 /**
120 * @return string
121 */
122 public function getLocalDiagnostic()
123 {
124 return $this->localDiagnostic;
125 }
126 /**
127 * @param string
128 */
129 public function setLocalState($localState)
130 {
131 $this->localState = $localState;
132 }
133 /**
134 * @return string
135 */
136 public function getLocalState()
137 {
138 return $this->localState;
139 }
140 /**
141 * @param string
142 */
143 public function setNegotiatedLocalControlTxIntervalMs($negotiatedLocalControlTxIntervalMs)
144 {
145 $this->negotiatedLocalControlTxIntervalMs = $negotiatedLocalControlTxIntervalMs;
146 }
147 /**
148 * @return string
149 */
150 public function getNegotiatedLocalControlTxIntervalMs()
151 {
152 return $this->negotiatedLocalControlTxIntervalMs;
153 }
154 /**
155 * @param BfdPacket
156 */
157 public function setRxPacket(BfdPacket $rxPacket)
158 {
159 $this->rxPacket = $rxPacket;
160 }
161 /**
162 * @return BfdPacket
163 */
164 public function getRxPacket()
165 {
166 return $this->rxPacket;
167 }
168 /**
169 * @param BfdPacket
170 */
171 public function setTxPacket(BfdPacket $txPacket)
172 {
173 $this->txPacket = $txPacket;
174 }
175 /**
176 * @return BfdPacket
177 */
178 public function getTxPacket()
179 {
180 return $this->txPacket;
181 }
182 /**
183 * @param string
184 */
185 public function setUptimeMs($uptimeMs)
186 {
187 $this->uptimeMs = $uptimeMs;
188 }
189 /**
190 * @return string
191 */
192 public function getUptimeMs()
193 {
194 return $this->uptimeMs;
195 }
196}
197
198// Adding a class alias for backwards compatibility with the previous class name.
199class_alias(BfdStatus::class, 'Google_Service_Compute_BfdStatus');
Note: See TracBrowser for help on using the repository browser.