blob: 573645e97461f1aeebf32f5e42f785693ef8984e [file] [log] [blame]
Shivanagouda Malaginahalli335fe4d2021-03-31 16:52:28 +05301// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: dmi/hw_management_service.proto
3
4#include "dmi/hw_management_service.pb.h"
5
6#include <algorithm>
7
8#include <google/protobuf/stubs/common.h>
9#include <google/protobuf/io/coded_stream.h>
10#include <google/protobuf/extension_set.h>
11#include <google/protobuf/wire_format_lite_inl.h>
12#include <google/protobuf/descriptor.h>
13#include <google/protobuf/generated_message_reflection.h>
14#include <google/protobuf/reflection_ops.h>
15#include <google/protobuf/wire_format.h>
16// @@protoc_insertion_point(includes)
17#include <google/protobuf/port_def.inc>
18
19extern PROTOBUF_INTERNAL_EXPORT_dmi_2fhw_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Uuid_dmi_2fhw_2eproto;
20extern PROTOBUF_INTERNAL_EXPORT_dmi_2fhw_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_Hardware_dmi_2fhw_2eproto;
21extern PROTOBUF_INTERNAL_EXPORT_dmi_2fhw_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_ModifiableComponent_dmi_2fhw_2eproto;
22extern PROTOBUF_INTERNAL_EXPORT_dmi_2fhw_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_Component_dmi_2fhw_2eproto;
23extern PROTOBUF_INTERNAL_EXPORT_dmi_2fhw_5fmanagement_5fservice_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_EntitiesLogLevel_dmi_2fhw_5fmanagement_5fservice_2eproto;
24extern PROTOBUF_INTERNAL_EXPORT_dmi_2fhw_5fmanagement_5fservice_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_ManagedDeviceInfo_dmi_2fhw_5fmanagement_5fservice_2eproto;
25namespace dmi {
26class PhysicalInventoryRequestDefaultTypeInternal {
27 public:
28 ::google::protobuf::internal::ExplicitlyConstructed<PhysicalInventoryRequest> _instance;
29} _PhysicalInventoryRequest_default_instance_;
30class PhysicalInventoryResponseDefaultTypeInternal {
31 public:
32 ::google::protobuf::internal::ExplicitlyConstructed<PhysicalInventoryResponse> _instance;
33} _PhysicalInventoryResponse_default_instance_;
34class HWComponentInfoGetRequestDefaultTypeInternal {
35 public:
36 ::google::protobuf::internal::ExplicitlyConstructed<HWComponentInfoGetRequest> _instance;
37} _HWComponentInfoGetRequest_default_instance_;
38class HWComponentInfoGetResponseDefaultTypeInternal {
39 public:
40 ::google::protobuf::internal::ExplicitlyConstructed<HWComponentInfoGetResponse> _instance;
41} _HWComponentInfoGetResponse_default_instance_;
42class HWComponentInfoSetRequestDefaultTypeInternal {
43 public:
44 ::google::protobuf::internal::ExplicitlyConstructed<HWComponentInfoSetRequest> _instance;
45} _HWComponentInfoSetRequest_default_instance_;
46class HWComponentInfoSetResponseDefaultTypeInternal {
47 public:
48 ::google::protobuf::internal::ExplicitlyConstructed<HWComponentInfoSetResponse> _instance;
49} _HWComponentInfoSetResponse_default_instance_;
50class StartManagingDeviceResponseDefaultTypeInternal {
51 public:
52 ::google::protobuf::internal::ExplicitlyConstructed<StartManagingDeviceResponse> _instance;
53} _StartManagingDeviceResponse_default_instance_;
54class StopManagingDeviceRequestDefaultTypeInternal {
55 public:
56 ::google::protobuf::internal::ExplicitlyConstructed<StopManagingDeviceRequest> _instance;
57} _StopManagingDeviceRequest_default_instance_;
58class StopManagingDeviceResponseDefaultTypeInternal {
59 public:
60 ::google::protobuf::internal::ExplicitlyConstructed<StopManagingDeviceResponse> _instance;
61} _StopManagingDeviceResponse_default_instance_;
62class ManagedDeviceInfoDefaultTypeInternal {
63 public:
64 ::google::protobuf::internal::ExplicitlyConstructed<ManagedDeviceInfo> _instance;
65} _ManagedDeviceInfo_default_instance_;
66class ManagedDevicesResponseDefaultTypeInternal {
67 public:
68 ::google::protobuf::internal::ExplicitlyConstructed<ManagedDevicesResponse> _instance;
69} _ManagedDevicesResponse_default_instance_;
70class SetLoggingEndpointRequestDefaultTypeInternal {
71 public:
72 ::google::protobuf::internal::ExplicitlyConstructed<SetLoggingEndpointRequest> _instance;
73} _SetLoggingEndpointRequest_default_instance_;
74class SetRemoteEndpointResponseDefaultTypeInternal {
75 public:
76 ::google::protobuf::internal::ExplicitlyConstructed<SetRemoteEndpointResponse> _instance;
77} _SetRemoteEndpointResponse_default_instance_;
78class GetLoggingEndpointResponseDefaultTypeInternal {
79 public:
80 ::google::protobuf::internal::ExplicitlyConstructed<GetLoggingEndpointResponse> _instance;
81} _GetLoggingEndpointResponse_default_instance_;
82class SetMsgBusEndpointRequestDefaultTypeInternal {
83 public:
84 ::google::protobuf::internal::ExplicitlyConstructed<SetMsgBusEndpointRequest> _instance;
85} _SetMsgBusEndpointRequest_default_instance_;
86class GetMsgBusEndpointResponseDefaultTypeInternal {
87 public:
88 ::google::protobuf::internal::ExplicitlyConstructed<GetMsgBusEndpointResponse> _instance;
89} _GetMsgBusEndpointResponse_default_instance_;
90class EntitiesLogLevelDefaultTypeInternal {
91 public:
92 ::google::protobuf::internal::ExplicitlyConstructed<EntitiesLogLevel> _instance;
93} _EntitiesLogLevel_default_instance_;
94class SetLogLevelRequestDefaultTypeInternal {
95 public:
96 ::google::protobuf::internal::ExplicitlyConstructed<SetLogLevelRequest> _instance;
97} _SetLogLevelRequest_default_instance_;
98class SetLogLevelResponseDefaultTypeInternal {
99 public:
100 ::google::protobuf::internal::ExplicitlyConstructed<SetLogLevelResponse> _instance;
101} _SetLogLevelResponse_default_instance_;
102class GetLogLevelRequestDefaultTypeInternal {
103 public:
104 ::google::protobuf::internal::ExplicitlyConstructed<GetLogLevelRequest> _instance;
105} _GetLogLevelRequest_default_instance_;
106class GetLogLevelResponseDefaultTypeInternal {
107 public:
108 ::google::protobuf::internal::ExplicitlyConstructed<GetLogLevelResponse> _instance;
109} _GetLogLevelResponse_default_instance_;
110class GetLoggableEntitiesRequestDefaultTypeInternal {
111 public:
112 ::google::protobuf::internal::ExplicitlyConstructed<GetLoggableEntitiesRequest> _instance;
113} _GetLoggableEntitiesRequest_default_instance_;
114} // namespace dmi
115static void InitDefaultsPhysicalInventoryRequest_dmi_2fhw_5fmanagement_5fservice_2eproto() {
116 GOOGLE_PROTOBUF_VERIFY_VERSION;
117
118 {
119 void* ptr = &::dmi::_PhysicalInventoryRequest_default_instance_;
120 new (ptr) ::dmi::PhysicalInventoryRequest();
121 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
122 }
123 ::dmi::PhysicalInventoryRequest::InitAsDefaultInstance();
124}
125
126::google::protobuf::internal::SCCInfo<1> scc_info_PhysicalInventoryRequest_dmi_2fhw_5fmanagement_5fservice_2eproto =
127 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsPhysicalInventoryRequest_dmi_2fhw_5fmanagement_5fservice_2eproto}, {
128 &scc_info_Uuid_dmi_2fhw_2eproto.base,}};
129
130static void InitDefaultsPhysicalInventoryResponse_dmi_2fhw_5fmanagement_5fservice_2eproto() {
131 GOOGLE_PROTOBUF_VERIFY_VERSION;
132
133 {
134 void* ptr = &::dmi::_PhysicalInventoryResponse_default_instance_;
135 new (ptr) ::dmi::PhysicalInventoryResponse();
136 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
137 }
138 ::dmi::PhysicalInventoryResponse::InitAsDefaultInstance();
139}
140
141::google::protobuf::internal::SCCInfo<1> scc_info_PhysicalInventoryResponse_dmi_2fhw_5fmanagement_5fservice_2eproto =
142 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsPhysicalInventoryResponse_dmi_2fhw_5fmanagement_5fservice_2eproto}, {
143 &scc_info_Hardware_dmi_2fhw_2eproto.base,}};
144
145static void InitDefaultsHWComponentInfoGetRequest_dmi_2fhw_5fmanagement_5fservice_2eproto() {
146 GOOGLE_PROTOBUF_VERIFY_VERSION;
147
148 {
149 void* ptr = &::dmi::_HWComponentInfoGetRequest_default_instance_;
150 new (ptr) ::dmi::HWComponentInfoGetRequest();
151 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
152 }
153 ::dmi::HWComponentInfoGetRequest::InitAsDefaultInstance();
154}
155
156::google::protobuf::internal::SCCInfo<1> scc_info_HWComponentInfoGetRequest_dmi_2fhw_5fmanagement_5fservice_2eproto =
157 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsHWComponentInfoGetRequest_dmi_2fhw_5fmanagement_5fservice_2eproto}, {
158 &scc_info_Uuid_dmi_2fhw_2eproto.base,}};
159
160static void InitDefaultsHWComponentInfoGetResponse_dmi_2fhw_5fmanagement_5fservice_2eproto() {
161 GOOGLE_PROTOBUF_VERIFY_VERSION;
162
163 {
164 void* ptr = &::dmi::_HWComponentInfoGetResponse_default_instance_;
165 new (ptr) ::dmi::HWComponentInfoGetResponse();
166 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
167 }
168 ::dmi::HWComponentInfoGetResponse::InitAsDefaultInstance();
169}
170
171::google::protobuf::internal::SCCInfo<1> scc_info_HWComponentInfoGetResponse_dmi_2fhw_5fmanagement_5fservice_2eproto =
172 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsHWComponentInfoGetResponse_dmi_2fhw_5fmanagement_5fservice_2eproto}, {
173 &scc_info_Component_dmi_2fhw_2eproto.base,}};
174
175static void InitDefaultsHWComponentInfoSetRequest_dmi_2fhw_5fmanagement_5fservice_2eproto() {
176 GOOGLE_PROTOBUF_VERIFY_VERSION;
177
178 {
179 void* ptr = &::dmi::_HWComponentInfoSetRequest_default_instance_;
180 new (ptr) ::dmi::HWComponentInfoSetRequest();
181 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
182 }
183 ::dmi::HWComponentInfoSetRequest::InitAsDefaultInstance();
184}
185
186::google::protobuf::internal::SCCInfo<2> scc_info_HWComponentInfoSetRequest_dmi_2fhw_5fmanagement_5fservice_2eproto =
187 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsHWComponentInfoSetRequest_dmi_2fhw_5fmanagement_5fservice_2eproto}, {
188 &scc_info_Uuid_dmi_2fhw_2eproto.base,
189 &scc_info_ModifiableComponent_dmi_2fhw_2eproto.base,}};
190
191static void InitDefaultsHWComponentInfoSetResponse_dmi_2fhw_5fmanagement_5fservice_2eproto() {
192 GOOGLE_PROTOBUF_VERIFY_VERSION;
193
194 {
195 void* ptr = &::dmi::_HWComponentInfoSetResponse_default_instance_;
196 new (ptr) ::dmi::HWComponentInfoSetResponse();
197 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
198 }
199 ::dmi::HWComponentInfoSetResponse::InitAsDefaultInstance();
200}
201
202::google::protobuf::internal::SCCInfo<0> scc_info_HWComponentInfoSetResponse_dmi_2fhw_5fmanagement_5fservice_2eproto =
203 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsHWComponentInfoSetResponse_dmi_2fhw_5fmanagement_5fservice_2eproto}, {}};
204
205static void InitDefaultsStartManagingDeviceResponse_dmi_2fhw_5fmanagement_5fservice_2eproto() {
206 GOOGLE_PROTOBUF_VERIFY_VERSION;
207
208 {
209 void* ptr = &::dmi::_StartManagingDeviceResponse_default_instance_;
210 new (ptr) ::dmi::StartManagingDeviceResponse();
211 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
212 }
213 ::dmi::StartManagingDeviceResponse::InitAsDefaultInstance();
214}
215
216::google::protobuf::internal::SCCInfo<1> scc_info_StartManagingDeviceResponse_dmi_2fhw_5fmanagement_5fservice_2eproto =
217 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsStartManagingDeviceResponse_dmi_2fhw_5fmanagement_5fservice_2eproto}, {
218 &scc_info_Uuid_dmi_2fhw_2eproto.base,}};
219
220static void InitDefaultsStopManagingDeviceRequest_dmi_2fhw_5fmanagement_5fservice_2eproto() {
221 GOOGLE_PROTOBUF_VERIFY_VERSION;
222
223 {
224 void* ptr = &::dmi::_StopManagingDeviceRequest_default_instance_;
225 new (ptr) ::dmi::StopManagingDeviceRequest();
226 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
227 }
228 ::dmi::StopManagingDeviceRequest::InitAsDefaultInstance();
229}
230
231::google::protobuf::internal::SCCInfo<0> scc_info_StopManagingDeviceRequest_dmi_2fhw_5fmanagement_5fservice_2eproto =
232 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsStopManagingDeviceRequest_dmi_2fhw_5fmanagement_5fservice_2eproto}, {}};
233
234static void InitDefaultsStopManagingDeviceResponse_dmi_2fhw_5fmanagement_5fservice_2eproto() {
235 GOOGLE_PROTOBUF_VERIFY_VERSION;
236
237 {
238 void* ptr = &::dmi::_StopManagingDeviceResponse_default_instance_;
239 new (ptr) ::dmi::StopManagingDeviceResponse();
240 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
241 }
242 ::dmi::StopManagingDeviceResponse::InitAsDefaultInstance();
243}
244
245::google::protobuf::internal::SCCInfo<0> scc_info_StopManagingDeviceResponse_dmi_2fhw_5fmanagement_5fservice_2eproto =
246 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsStopManagingDeviceResponse_dmi_2fhw_5fmanagement_5fservice_2eproto}, {}};
247
248static void InitDefaultsManagedDeviceInfo_dmi_2fhw_5fmanagement_5fservice_2eproto() {
249 GOOGLE_PROTOBUF_VERIFY_VERSION;
250
251 {
252 void* ptr = &::dmi::_ManagedDeviceInfo_default_instance_;
253 new (ptr) ::dmi::ManagedDeviceInfo();
254 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
255 }
256 ::dmi::ManagedDeviceInfo::InitAsDefaultInstance();
257}
258
259::google::protobuf::internal::SCCInfo<2> scc_info_ManagedDeviceInfo_dmi_2fhw_5fmanagement_5fservice_2eproto =
260 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsManagedDeviceInfo_dmi_2fhw_5fmanagement_5fservice_2eproto}, {
261 &scc_info_ModifiableComponent_dmi_2fhw_2eproto.base,
262 &scc_info_Uuid_dmi_2fhw_2eproto.base,}};
263
264static void InitDefaultsManagedDevicesResponse_dmi_2fhw_5fmanagement_5fservice_2eproto() {
265 GOOGLE_PROTOBUF_VERIFY_VERSION;
266
267 {
268 void* ptr = &::dmi::_ManagedDevicesResponse_default_instance_;
269 new (ptr) ::dmi::ManagedDevicesResponse();
270 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
271 }
272 ::dmi::ManagedDevicesResponse::InitAsDefaultInstance();
273}
274
275::google::protobuf::internal::SCCInfo<1> scc_info_ManagedDevicesResponse_dmi_2fhw_5fmanagement_5fservice_2eproto =
276 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsManagedDevicesResponse_dmi_2fhw_5fmanagement_5fservice_2eproto}, {
277 &scc_info_ManagedDeviceInfo_dmi_2fhw_5fmanagement_5fservice_2eproto.base,}};
278
279static void InitDefaultsSetLoggingEndpointRequest_dmi_2fhw_5fmanagement_5fservice_2eproto() {
280 GOOGLE_PROTOBUF_VERIFY_VERSION;
281
282 {
283 void* ptr = &::dmi::_SetLoggingEndpointRequest_default_instance_;
284 new (ptr) ::dmi::SetLoggingEndpointRequest();
285 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
286 }
287 ::dmi::SetLoggingEndpointRequest::InitAsDefaultInstance();
288}
289
290::google::protobuf::internal::SCCInfo<1> scc_info_SetLoggingEndpointRequest_dmi_2fhw_5fmanagement_5fservice_2eproto =
291 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSetLoggingEndpointRequest_dmi_2fhw_5fmanagement_5fservice_2eproto}, {
292 &scc_info_Uuid_dmi_2fhw_2eproto.base,}};
293
294static void InitDefaultsSetRemoteEndpointResponse_dmi_2fhw_5fmanagement_5fservice_2eproto() {
295 GOOGLE_PROTOBUF_VERIFY_VERSION;
296
297 {
298 void* ptr = &::dmi::_SetRemoteEndpointResponse_default_instance_;
299 new (ptr) ::dmi::SetRemoteEndpointResponse();
300 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
301 }
302 ::dmi::SetRemoteEndpointResponse::InitAsDefaultInstance();
303}
304
305::google::protobuf::internal::SCCInfo<0> scc_info_SetRemoteEndpointResponse_dmi_2fhw_5fmanagement_5fservice_2eproto =
306 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSetRemoteEndpointResponse_dmi_2fhw_5fmanagement_5fservice_2eproto}, {}};
307
308static void InitDefaultsGetLoggingEndpointResponse_dmi_2fhw_5fmanagement_5fservice_2eproto() {
309 GOOGLE_PROTOBUF_VERIFY_VERSION;
310
311 {
312 void* ptr = &::dmi::_GetLoggingEndpointResponse_default_instance_;
313 new (ptr) ::dmi::GetLoggingEndpointResponse();
314 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
315 }
316 ::dmi::GetLoggingEndpointResponse::InitAsDefaultInstance();
317}
318
319::google::protobuf::internal::SCCInfo<0> scc_info_GetLoggingEndpointResponse_dmi_2fhw_5fmanagement_5fservice_2eproto =
320 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetLoggingEndpointResponse_dmi_2fhw_5fmanagement_5fservice_2eproto}, {}};
321
322static void InitDefaultsSetMsgBusEndpointRequest_dmi_2fhw_5fmanagement_5fservice_2eproto() {
323 GOOGLE_PROTOBUF_VERIFY_VERSION;
324
325 {
326 void* ptr = &::dmi::_SetMsgBusEndpointRequest_default_instance_;
327 new (ptr) ::dmi::SetMsgBusEndpointRequest();
328 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
329 }
330 ::dmi::SetMsgBusEndpointRequest::InitAsDefaultInstance();
331}
332
333::google::protobuf::internal::SCCInfo<0> scc_info_SetMsgBusEndpointRequest_dmi_2fhw_5fmanagement_5fservice_2eproto =
334 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSetMsgBusEndpointRequest_dmi_2fhw_5fmanagement_5fservice_2eproto}, {}};
335
336static void InitDefaultsGetMsgBusEndpointResponse_dmi_2fhw_5fmanagement_5fservice_2eproto() {
337 GOOGLE_PROTOBUF_VERIFY_VERSION;
338
339 {
340 void* ptr = &::dmi::_GetMsgBusEndpointResponse_default_instance_;
341 new (ptr) ::dmi::GetMsgBusEndpointResponse();
342 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
343 }
344 ::dmi::GetMsgBusEndpointResponse::InitAsDefaultInstance();
345}
346
347::google::protobuf::internal::SCCInfo<0> scc_info_GetMsgBusEndpointResponse_dmi_2fhw_5fmanagement_5fservice_2eproto =
348 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetMsgBusEndpointResponse_dmi_2fhw_5fmanagement_5fservice_2eproto}, {}};
349
350static void InitDefaultsEntitiesLogLevel_dmi_2fhw_5fmanagement_5fservice_2eproto() {
351 GOOGLE_PROTOBUF_VERIFY_VERSION;
352
353 {
354 void* ptr = &::dmi::_EntitiesLogLevel_default_instance_;
355 new (ptr) ::dmi::EntitiesLogLevel();
356 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
357 }
358 ::dmi::EntitiesLogLevel::InitAsDefaultInstance();
359}
360
361::google::protobuf::internal::SCCInfo<0> scc_info_EntitiesLogLevel_dmi_2fhw_5fmanagement_5fservice_2eproto =
362 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsEntitiesLogLevel_dmi_2fhw_5fmanagement_5fservice_2eproto}, {}};
363
364static void InitDefaultsSetLogLevelRequest_dmi_2fhw_5fmanagement_5fservice_2eproto() {
365 GOOGLE_PROTOBUF_VERIFY_VERSION;
366
367 {
368 void* ptr = &::dmi::_SetLogLevelRequest_default_instance_;
369 new (ptr) ::dmi::SetLogLevelRequest();
370 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
371 }
372 ::dmi::SetLogLevelRequest::InitAsDefaultInstance();
373}
374
375::google::protobuf::internal::SCCInfo<2> scc_info_SetLogLevelRequest_dmi_2fhw_5fmanagement_5fservice_2eproto =
376 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsSetLogLevelRequest_dmi_2fhw_5fmanagement_5fservice_2eproto}, {
377 &scc_info_Uuid_dmi_2fhw_2eproto.base,
378 &scc_info_EntitiesLogLevel_dmi_2fhw_5fmanagement_5fservice_2eproto.base,}};
379
380static void InitDefaultsSetLogLevelResponse_dmi_2fhw_5fmanagement_5fservice_2eproto() {
381 GOOGLE_PROTOBUF_VERIFY_VERSION;
382
383 {
384 void* ptr = &::dmi::_SetLogLevelResponse_default_instance_;
385 new (ptr) ::dmi::SetLogLevelResponse();
386 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
387 }
388 ::dmi::SetLogLevelResponse::InitAsDefaultInstance();
389}
390
391::google::protobuf::internal::SCCInfo<1> scc_info_SetLogLevelResponse_dmi_2fhw_5fmanagement_5fservice_2eproto =
392 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSetLogLevelResponse_dmi_2fhw_5fmanagement_5fservice_2eproto}, {
393 &scc_info_Uuid_dmi_2fhw_2eproto.base,}};
394
395static void InitDefaultsGetLogLevelRequest_dmi_2fhw_5fmanagement_5fservice_2eproto() {
396 GOOGLE_PROTOBUF_VERIFY_VERSION;
397
398 {
399 void* ptr = &::dmi::_GetLogLevelRequest_default_instance_;
400 new (ptr) ::dmi::GetLogLevelRequest();
401 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
402 }
403 ::dmi::GetLogLevelRequest::InitAsDefaultInstance();
404}
405
406::google::protobuf::internal::SCCInfo<1> scc_info_GetLogLevelRequest_dmi_2fhw_5fmanagement_5fservice_2eproto =
407 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetLogLevelRequest_dmi_2fhw_5fmanagement_5fservice_2eproto}, {
408 &scc_info_Uuid_dmi_2fhw_2eproto.base,}};
409
410static void InitDefaultsGetLogLevelResponse_dmi_2fhw_5fmanagement_5fservice_2eproto() {
411 GOOGLE_PROTOBUF_VERIFY_VERSION;
412
413 {
414 void* ptr = &::dmi::_GetLogLevelResponse_default_instance_;
415 new (ptr) ::dmi::GetLogLevelResponse();
416 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
417 }
418 ::dmi::GetLogLevelResponse::InitAsDefaultInstance();
419}
420
421::google::protobuf::internal::SCCInfo<2> scc_info_GetLogLevelResponse_dmi_2fhw_5fmanagement_5fservice_2eproto =
422 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsGetLogLevelResponse_dmi_2fhw_5fmanagement_5fservice_2eproto}, {
423 &scc_info_Uuid_dmi_2fhw_2eproto.base,
424 &scc_info_EntitiesLogLevel_dmi_2fhw_5fmanagement_5fservice_2eproto.base,}};
425
426static void InitDefaultsGetLoggableEntitiesRequest_dmi_2fhw_5fmanagement_5fservice_2eproto() {
427 GOOGLE_PROTOBUF_VERIFY_VERSION;
428
429 {
430 void* ptr = &::dmi::_GetLoggableEntitiesRequest_default_instance_;
431 new (ptr) ::dmi::GetLoggableEntitiesRequest();
432 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
433 }
434 ::dmi::GetLoggableEntitiesRequest::InitAsDefaultInstance();
435}
436
437::google::protobuf::internal::SCCInfo<1> scc_info_GetLoggableEntitiesRequest_dmi_2fhw_5fmanagement_5fservice_2eproto =
438 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetLoggableEntitiesRequest_dmi_2fhw_5fmanagement_5fservice_2eproto}, {
439 &scc_info_Uuid_dmi_2fhw_2eproto.base,}};
440
441void InitDefaults_dmi_2fhw_5fmanagement_5fservice_2eproto() {
442 ::google::protobuf::internal::InitSCC(&scc_info_PhysicalInventoryRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
443 ::google::protobuf::internal::InitSCC(&scc_info_PhysicalInventoryResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
444 ::google::protobuf::internal::InitSCC(&scc_info_HWComponentInfoGetRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
445 ::google::protobuf::internal::InitSCC(&scc_info_HWComponentInfoGetResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
446 ::google::protobuf::internal::InitSCC(&scc_info_HWComponentInfoSetRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
447 ::google::protobuf::internal::InitSCC(&scc_info_HWComponentInfoSetResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
448 ::google::protobuf::internal::InitSCC(&scc_info_StartManagingDeviceResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
449 ::google::protobuf::internal::InitSCC(&scc_info_StopManagingDeviceRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
450 ::google::protobuf::internal::InitSCC(&scc_info_StopManagingDeviceResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
451 ::google::protobuf::internal::InitSCC(&scc_info_ManagedDeviceInfo_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
452 ::google::protobuf::internal::InitSCC(&scc_info_ManagedDevicesResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
453 ::google::protobuf::internal::InitSCC(&scc_info_SetLoggingEndpointRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
454 ::google::protobuf::internal::InitSCC(&scc_info_SetRemoteEndpointResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
455 ::google::protobuf::internal::InitSCC(&scc_info_GetLoggingEndpointResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
456 ::google::protobuf::internal::InitSCC(&scc_info_SetMsgBusEndpointRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
457 ::google::protobuf::internal::InitSCC(&scc_info_GetMsgBusEndpointResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
458 ::google::protobuf::internal::InitSCC(&scc_info_EntitiesLogLevel_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
459 ::google::protobuf::internal::InitSCC(&scc_info_SetLogLevelRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
460 ::google::protobuf::internal::InitSCC(&scc_info_SetLogLevelResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
461 ::google::protobuf::internal::InitSCC(&scc_info_GetLogLevelRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
462 ::google::protobuf::internal::InitSCC(&scc_info_GetLogLevelResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
463 ::google::protobuf::internal::InitSCC(&scc_info_GetLoggableEntitiesRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
464}
465
466::google::protobuf::Metadata file_level_metadata_dmi_2fhw_5fmanagement_5fservice_2eproto[22];
467const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_dmi_2fhw_5fmanagement_5fservice_2eproto[11];
468constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_dmi_2fhw_5fmanagement_5fservice_2eproto = nullptr;
469
470const ::google::protobuf::uint32 TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
471 ~0u, // no _has_bits_
472 PROTOBUF_FIELD_OFFSET(::dmi::PhysicalInventoryRequest, _internal_metadata_),
473 ~0u, // no _extensions_
474 ~0u, // no _oneof_case_
475 ~0u, // no _weak_field_map_
476 PROTOBUF_FIELD_OFFSET(::dmi::PhysicalInventoryRequest, device_uuid_),
477 ~0u, // no _has_bits_
478 PROTOBUF_FIELD_OFFSET(::dmi::PhysicalInventoryResponse, _internal_metadata_),
479 ~0u, // no _extensions_
480 ~0u, // no _oneof_case_
481 ~0u, // no _weak_field_map_
482 PROTOBUF_FIELD_OFFSET(::dmi::PhysicalInventoryResponse, status_),
483 PROTOBUF_FIELD_OFFSET(::dmi::PhysicalInventoryResponse, reason_),
484 PROTOBUF_FIELD_OFFSET(::dmi::PhysicalInventoryResponse, inventory_),
485 PROTOBUF_FIELD_OFFSET(::dmi::PhysicalInventoryResponse, reason_detail_),
486 ~0u, // no _has_bits_
487 PROTOBUF_FIELD_OFFSET(::dmi::HWComponentInfoGetRequest, _internal_metadata_),
488 ~0u, // no _extensions_
489 ~0u, // no _oneof_case_
490 ~0u, // no _weak_field_map_
491 PROTOBUF_FIELD_OFFSET(::dmi::HWComponentInfoGetRequest, device_uuid_),
492 PROTOBUF_FIELD_OFFSET(::dmi::HWComponentInfoGetRequest, component_uuid_),
493 PROTOBUF_FIELD_OFFSET(::dmi::HWComponentInfoGetRequest, component_name_),
494 ~0u, // no _has_bits_
495 PROTOBUF_FIELD_OFFSET(::dmi::HWComponentInfoGetResponse, _internal_metadata_),
496 ~0u, // no _extensions_
497 ~0u, // no _oneof_case_
498 ~0u, // no _weak_field_map_
499 PROTOBUF_FIELD_OFFSET(::dmi::HWComponentInfoGetResponse, status_),
500 PROTOBUF_FIELD_OFFSET(::dmi::HWComponentInfoGetResponse, reason_),
501 PROTOBUF_FIELD_OFFSET(::dmi::HWComponentInfoGetResponse, component_),
502 PROTOBUF_FIELD_OFFSET(::dmi::HWComponentInfoGetResponse, reason_detail_),
503 ~0u, // no _has_bits_
504 PROTOBUF_FIELD_OFFSET(::dmi::HWComponentInfoSetRequest, _internal_metadata_),
505 ~0u, // no _extensions_
506 ~0u, // no _oneof_case_
507 ~0u, // no _weak_field_map_
508 PROTOBUF_FIELD_OFFSET(::dmi::HWComponentInfoSetRequest, device_uuid_),
509 PROTOBUF_FIELD_OFFSET(::dmi::HWComponentInfoSetRequest, component_uuid_),
510 PROTOBUF_FIELD_OFFSET(::dmi::HWComponentInfoSetRequest, component_name_),
511 PROTOBUF_FIELD_OFFSET(::dmi::HWComponentInfoSetRequest, changes_),
512 ~0u, // no _has_bits_
513 PROTOBUF_FIELD_OFFSET(::dmi::HWComponentInfoSetResponse, _internal_metadata_),
514 ~0u, // no _extensions_
515 ~0u, // no _oneof_case_
516 ~0u, // no _weak_field_map_
517 PROTOBUF_FIELD_OFFSET(::dmi::HWComponentInfoSetResponse, status_),
518 PROTOBUF_FIELD_OFFSET(::dmi::HWComponentInfoSetResponse, reason_),
519 PROTOBUF_FIELD_OFFSET(::dmi::HWComponentInfoSetResponse, reason_detail_),
520 ~0u, // no _has_bits_
521 PROTOBUF_FIELD_OFFSET(::dmi::StartManagingDeviceResponse, _internal_metadata_),
522 ~0u, // no _extensions_
523 ~0u, // no _oneof_case_
524 ~0u, // no _weak_field_map_
525 PROTOBUF_FIELD_OFFSET(::dmi::StartManagingDeviceResponse, status_),
526 PROTOBUF_FIELD_OFFSET(::dmi::StartManagingDeviceResponse, reason_),
527 PROTOBUF_FIELD_OFFSET(::dmi::StartManagingDeviceResponse, device_uuid_),
528 PROTOBUF_FIELD_OFFSET(::dmi::StartManagingDeviceResponse, reason_detail_),
529 ~0u, // no _has_bits_
530 PROTOBUF_FIELD_OFFSET(::dmi::StopManagingDeviceRequest, _internal_metadata_),
531 ~0u, // no _extensions_
532 ~0u, // no _oneof_case_
533 ~0u, // no _weak_field_map_
534 PROTOBUF_FIELD_OFFSET(::dmi::StopManagingDeviceRequest, name_),
535 ~0u, // no _has_bits_
536 PROTOBUF_FIELD_OFFSET(::dmi::StopManagingDeviceResponse, _internal_metadata_),
537 ~0u, // no _extensions_
538 ~0u, // no _oneof_case_
539 ~0u, // no _weak_field_map_
540 PROTOBUF_FIELD_OFFSET(::dmi::StopManagingDeviceResponse, status_),
541 PROTOBUF_FIELD_OFFSET(::dmi::StopManagingDeviceResponse, reason_),
542 PROTOBUF_FIELD_OFFSET(::dmi::StopManagingDeviceResponse, reason_detail_),
543 ~0u, // no _has_bits_
544 PROTOBUF_FIELD_OFFSET(::dmi::ManagedDeviceInfo, _internal_metadata_),
545 ~0u, // no _extensions_
546 ~0u, // no _oneof_case_
547 ~0u, // no _weak_field_map_
548 PROTOBUF_FIELD_OFFSET(::dmi::ManagedDeviceInfo, info_),
549 PROTOBUF_FIELD_OFFSET(::dmi::ManagedDeviceInfo, device_uuid_),
550 ~0u, // no _has_bits_
551 PROTOBUF_FIELD_OFFSET(::dmi::ManagedDevicesResponse, _internal_metadata_),
552 ~0u, // no _extensions_
553 ~0u, // no _oneof_case_
554 ~0u, // no _weak_field_map_
555 PROTOBUF_FIELD_OFFSET(::dmi::ManagedDevicesResponse, status_),
556 PROTOBUF_FIELD_OFFSET(::dmi::ManagedDevicesResponse, reason_),
557 PROTOBUF_FIELD_OFFSET(::dmi::ManagedDevicesResponse, devices_),
558 ~0u, // no _has_bits_
559 PROTOBUF_FIELD_OFFSET(::dmi::SetLoggingEndpointRequest, _internal_metadata_),
560 ~0u, // no _extensions_
561 ~0u, // no _oneof_case_
562 ~0u, // no _weak_field_map_
563 PROTOBUF_FIELD_OFFSET(::dmi::SetLoggingEndpointRequest, device_uuid_),
564 PROTOBUF_FIELD_OFFSET(::dmi::SetLoggingEndpointRequest, logging_endpoint_),
565 PROTOBUF_FIELD_OFFSET(::dmi::SetLoggingEndpointRequest, logging_protocol_),
566 ~0u, // no _has_bits_
567 PROTOBUF_FIELD_OFFSET(::dmi::SetRemoteEndpointResponse, _internal_metadata_),
568 ~0u, // no _extensions_
569 ~0u, // no _oneof_case_
570 ~0u, // no _weak_field_map_
571 PROTOBUF_FIELD_OFFSET(::dmi::SetRemoteEndpointResponse, status_),
572 PROTOBUF_FIELD_OFFSET(::dmi::SetRemoteEndpointResponse, reason_),
573 PROTOBUF_FIELD_OFFSET(::dmi::SetRemoteEndpointResponse, reason_detail_),
574 ~0u, // no _has_bits_
575 PROTOBUF_FIELD_OFFSET(::dmi::GetLoggingEndpointResponse, _internal_metadata_),
576 ~0u, // no _extensions_
577 ~0u, // no _oneof_case_
578 ~0u, // no _weak_field_map_
579 PROTOBUF_FIELD_OFFSET(::dmi::GetLoggingEndpointResponse, status_),
580 PROTOBUF_FIELD_OFFSET(::dmi::GetLoggingEndpointResponse, reason_),
581 PROTOBUF_FIELD_OFFSET(::dmi::GetLoggingEndpointResponse, logging_endpoint_),
582 PROTOBUF_FIELD_OFFSET(::dmi::GetLoggingEndpointResponse, logging_protocol_),
583 PROTOBUF_FIELD_OFFSET(::dmi::GetLoggingEndpointResponse, reason_detail_),
584 ~0u, // no _has_bits_
585 PROTOBUF_FIELD_OFFSET(::dmi::SetMsgBusEndpointRequest, _internal_metadata_),
586 ~0u, // no _extensions_
587 ~0u, // no _oneof_case_
588 ~0u, // no _weak_field_map_
589 PROTOBUF_FIELD_OFFSET(::dmi::SetMsgBusEndpointRequest, msgbus_endpoint_),
590 ~0u, // no _has_bits_
591 PROTOBUF_FIELD_OFFSET(::dmi::GetMsgBusEndpointResponse, _internal_metadata_),
592 ~0u, // no _extensions_
593 ~0u, // no _oneof_case_
594 ~0u, // no _weak_field_map_
595 PROTOBUF_FIELD_OFFSET(::dmi::GetMsgBusEndpointResponse, status_),
596 PROTOBUF_FIELD_OFFSET(::dmi::GetMsgBusEndpointResponse, reason_),
597 PROTOBUF_FIELD_OFFSET(::dmi::GetMsgBusEndpointResponse, msgbus_endpoint_),
598 PROTOBUF_FIELD_OFFSET(::dmi::GetMsgBusEndpointResponse, reason_detail_),
599 ~0u, // no _has_bits_
600 PROTOBUF_FIELD_OFFSET(::dmi::EntitiesLogLevel, _internal_metadata_),
601 ~0u, // no _extensions_
602 ~0u, // no _oneof_case_
603 ~0u, // no _weak_field_map_
604 PROTOBUF_FIELD_OFFSET(::dmi::EntitiesLogLevel, loglevel_),
605 PROTOBUF_FIELD_OFFSET(::dmi::EntitiesLogLevel, entities_),
606 ~0u, // no _has_bits_
607 PROTOBUF_FIELD_OFFSET(::dmi::SetLogLevelRequest, _internal_metadata_),
608 ~0u, // no _extensions_
609 ~0u, // no _oneof_case_
610 ~0u, // no _weak_field_map_
611 PROTOBUF_FIELD_OFFSET(::dmi::SetLogLevelRequest, device_uuid_),
612 PROTOBUF_FIELD_OFFSET(::dmi::SetLogLevelRequest, loglevels_),
613 ~0u, // no _has_bits_
614 PROTOBUF_FIELD_OFFSET(::dmi::SetLogLevelResponse, _internal_metadata_),
615 ~0u, // no _extensions_
616 ~0u, // no _oneof_case_
617 ~0u, // no _weak_field_map_
618 PROTOBUF_FIELD_OFFSET(::dmi::SetLogLevelResponse, device_uuid_),
619 PROTOBUF_FIELD_OFFSET(::dmi::SetLogLevelResponse, status_),
620 PROTOBUF_FIELD_OFFSET(::dmi::SetLogLevelResponse, reason_),
621 PROTOBUF_FIELD_OFFSET(::dmi::SetLogLevelResponse, reason_detail_),
622 ~0u, // no _has_bits_
623 PROTOBUF_FIELD_OFFSET(::dmi::GetLogLevelRequest, _internal_metadata_),
624 ~0u, // no _extensions_
625 ~0u, // no _oneof_case_
626 ~0u, // no _weak_field_map_
627 PROTOBUF_FIELD_OFFSET(::dmi::GetLogLevelRequest, device_uuid_),
628 PROTOBUF_FIELD_OFFSET(::dmi::GetLogLevelRequest, entities_),
629 ~0u, // no _has_bits_
630 PROTOBUF_FIELD_OFFSET(::dmi::GetLogLevelResponse, _internal_metadata_),
631 ~0u, // no _extensions_
632 ~0u, // no _oneof_case_
633 ~0u, // no _weak_field_map_
634 PROTOBUF_FIELD_OFFSET(::dmi::GetLogLevelResponse, device_uuid_),
635 PROTOBUF_FIELD_OFFSET(::dmi::GetLogLevelResponse, loglevels_),
636 PROTOBUF_FIELD_OFFSET(::dmi::GetLogLevelResponse, status_),
637 PROTOBUF_FIELD_OFFSET(::dmi::GetLogLevelResponse, reason_),
638 PROTOBUF_FIELD_OFFSET(::dmi::GetLogLevelResponse, reason_detail_),
639 ~0u, // no _has_bits_
640 PROTOBUF_FIELD_OFFSET(::dmi::GetLoggableEntitiesRequest, _internal_metadata_),
641 ~0u, // no _extensions_
642 ~0u, // no _oneof_case_
643 ~0u, // no _weak_field_map_
644 PROTOBUF_FIELD_OFFSET(::dmi::GetLoggableEntitiesRequest, device_uuid_),
645};
646static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
647 { 0, -1, sizeof(::dmi::PhysicalInventoryRequest)},
648 { 6, -1, sizeof(::dmi::PhysicalInventoryResponse)},
649 { 15, -1, sizeof(::dmi::HWComponentInfoGetRequest)},
650 { 23, -1, sizeof(::dmi::HWComponentInfoGetResponse)},
651 { 32, -1, sizeof(::dmi::HWComponentInfoSetRequest)},
652 { 41, -1, sizeof(::dmi::HWComponentInfoSetResponse)},
653 { 49, -1, sizeof(::dmi::StartManagingDeviceResponse)},
654 { 58, -1, sizeof(::dmi::StopManagingDeviceRequest)},
655 { 64, -1, sizeof(::dmi::StopManagingDeviceResponse)},
656 { 72, -1, sizeof(::dmi::ManagedDeviceInfo)},
657 { 79, -1, sizeof(::dmi::ManagedDevicesResponse)},
658 { 87, -1, sizeof(::dmi::SetLoggingEndpointRequest)},
659 { 95, -1, sizeof(::dmi::SetRemoteEndpointResponse)},
660 { 103, -1, sizeof(::dmi::GetLoggingEndpointResponse)},
661 { 113, -1, sizeof(::dmi::SetMsgBusEndpointRequest)},
662 { 119, -1, sizeof(::dmi::GetMsgBusEndpointResponse)},
663 { 128, -1, sizeof(::dmi::EntitiesLogLevel)},
664 { 135, -1, sizeof(::dmi::SetLogLevelRequest)},
665 { 142, -1, sizeof(::dmi::SetLogLevelResponse)},
666 { 151, -1, sizeof(::dmi::GetLogLevelRequest)},
667 { 158, -1, sizeof(::dmi::GetLogLevelResponse)},
668 { 168, -1, sizeof(::dmi::GetLoggableEntitiesRequest)},
669};
670
671static ::google::protobuf::Message const * const file_default_instances[] = {
672 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_PhysicalInventoryRequest_default_instance_),
673 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_PhysicalInventoryResponse_default_instance_),
674 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_HWComponentInfoGetRequest_default_instance_),
675 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_HWComponentInfoGetResponse_default_instance_),
676 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_HWComponentInfoSetRequest_default_instance_),
677 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_HWComponentInfoSetResponse_default_instance_),
678 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_StartManagingDeviceResponse_default_instance_),
679 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_StopManagingDeviceRequest_default_instance_),
680 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_StopManagingDeviceResponse_default_instance_),
681 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_ManagedDeviceInfo_default_instance_),
682 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_ManagedDevicesResponse_default_instance_),
683 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_SetLoggingEndpointRequest_default_instance_),
684 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_SetRemoteEndpointResponse_default_instance_),
685 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_GetLoggingEndpointResponse_default_instance_),
686 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_SetMsgBusEndpointRequest_default_instance_),
687 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_GetMsgBusEndpointResponse_default_instance_),
688 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_EntitiesLogLevel_default_instance_),
689 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_SetLogLevelRequest_default_instance_),
690 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_SetLogLevelResponse_default_instance_),
691 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_GetLogLevelRequest_default_instance_),
692 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_GetLogLevelResponse_default_instance_),
693 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_GetLoggableEntitiesRequest_default_instance_),
694};
695
696::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto = {
697 {}, AddDescriptors_dmi_2fhw_5fmanagement_5fservice_2eproto, "dmi/hw_management_service.proto", schemas,
698 file_default_instances, TableStruct_dmi_2fhw_5fmanagement_5fservice_2eproto::offsets,
699 file_level_metadata_dmi_2fhw_5fmanagement_5fservice_2eproto, 22, file_level_enum_descriptors_dmi_2fhw_5fmanagement_5fservice_2eproto, file_level_service_descriptors_dmi_2fhw_5fmanagement_5fservice_2eproto,
700};
701
702const char descriptor_table_protodef_dmi_2fhw_5fmanagement_5fservice_2eproto[] =
703 "\n\037dmi/hw_management_service.proto\022\003dmi\032\021"
704 "dmi/commons.proto\032\014dmi/hw.proto\032\033google/"
705 "protobuf/empty.proto\":\n\030PhysicalInventor"
706 "yRequest\022\036\n\013device_uuid\030\001 \001(\0132\t.dmi.Uuid"
707 "\"\210\002\n\031PhysicalInventoryResponse\022\033\n\006status"
708 "\030\001 \001(\0162\013.dmi.Status\0225\n\006reason\030\002 \001(\0162%.dm"
709 "i.PhysicalInventoryResponse.Reason\022 \n\tin"
710 "ventory\030\003 \001(\0132\r.dmi.Hardware\022\025\n\rreason_d"
711 "etail\030\004 \001(\t\"^\n\006Reason\022\024\n\020UNDEFINED_REASO"
712 "N\020\000\022\022\n\016UNKNOWN_DEVICE\020\001\022\022\n\016INTERNAL_ERRO"
713 "R\020\002\022\026\n\022DEVICE_UNREACHABLE\020\003\"v\n\031HWCompone"
714 "ntInfoGetRequest\022\036\n\013device_uuid\030\001 \001(\0132\t."
715 "dmi.Uuid\022!\n\016component_uuid\030\002 \001(\0132\t.dmi.U"
716 "uid\022\026\n\016component_name\030\003 \001(\t\"\242\002\n\032HWCompon"
717 "entInfoGetResponse\022\033\n\006status\030\001 \001(\0162\013.dmi"
718 ".Status\0226\n\006reason\030\002 \001(\0162&.dmi.HWComponen"
719 "tInfoGetResponse.Reason\022!\n\tcomponent\030\003 \001"
720 "(\0132\016.dmi.Component\022\025\n\rreason_detail\030\004 \001("
721 "\t\"u\n\006Reason\022\024\n\020UNDEFINED_REASON\020\000\022\022\n\016UNK"
722 "NOWN_DEVICE\020\001\022\025\n\021UNKNOWN_COMPONENT\020\002\022\022\n\016"
723 "INTERNAL_ERROR\020\003\022\026\n\022DEVICE_UNREACHABLE\020\004"
724 "\"\241\001\n\031HWComponentInfoSetRequest\022\036\n\013device"
725 "_uuid\030\001 \001(\0132\t.dmi.Uuid\022!\n\016component_uuid"
726 "\030\002 \001(\0132\t.dmi.Uuid\022\026\n\016component_name\030\003 \001("
727 "\t\022)\n\007changes\030\004 \001(\0132\030.dmi.ModifiableCompo"
728 "nent\"\224\002\n\032HWComponentInfoSetResponse\022\033\n\006s"
729 "tatus\030\001 \001(\0162\013.dmi.Status\0226\n\006reason\030\002 \001(\016"
730 "2&.dmi.HWComponentInfoSetResponse.Reason"
731 "\022\025\n\rreason_detail\030\003 \001(\t\"\211\001\n\006Reason\022\024\n\020UN"
732 "DEFINED_REASON\020\000\022\022\n\016UNKNOWN_DEVICE\020\001\022\025\n\021"
733 "UNKNOWN_COMPONENT\020\002\022\022\n\016INVALID_PARAMS\020\003\022"
734 "\022\n\016INTERNAL_ERROR\020\004\022\026\n\022DEVICE_UNREACHABL"
735 "E\020\005\"\262\002\n\033StartManagingDeviceResponse\022\033\n\006s"
736 "tatus\030\001 \001(\0162\013.dmi.Status\0227\n\006reason\030\002 \001(\016"
737 "2\'.dmi.StartManagingDeviceResponse.Reaso"
738 "n\022\036\n\013device_uuid\030\003 \001(\0132\t.dmi.Uuid\022\025\n\rrea"
739 "son_detail\030\004 \001(\t\"\205\001\n\006Reason\022\024\n\020UNDEFINED"
740 "_REASON\020\000\022\032\n\026DEVICE_ALREADY_MANAGED\020\001\022!\n"
741 "\035OPERATION_ALREADY_IN_PROGRESS\020\002\022\022\n\016INVA"
742 "LID_PARAMS\020\003\022\022\n\016INTERNAL_ERROR\020\004\")\n\031Stop"
743 "ManagingDeviceRequest\022\014\n\004name\030\001 \001(\t\"\274\001\n\032"
744 "StopManagingDeviceResponse\022\033\n\006status\030\001 \001"
745 "(\0162\013.dmi.Status\0226\n\006reason\030\002 \001(\0162&.dmi.St"
746 "opManagingDeviceResponse.Reason\022\025\n\rreaso"
747 "n_detail\030\003 \001(\t\"2\n\006Reason\022\024\n\020UNDEFINED_RE"
748 "ASON\020\000\022\022\n\016UNKNOWN_DEVICE\020\001\"[\n\021ManagedDev"
749 "iceInfo\022&\n\004info\030\001 \001(\0132\030.dmi.ModifiableCo"
750 "mponent\022\036\n\013device_uuid\030\002 \001(\0132\t.dmi.Uuid\""
751 "\306\001\n\026ManagedDevicesResponse\022\033\n\006status\030\001 \001"
752 "(\0162\013.dmi.Status\0222\n\006reason\030\002 \001(\0162\".dmi.Ma"
753 "nagedDevicesResponse.Reason\022\'\n\007devices\030\003"
754 " \003(\0132\026.dmi.ManagedDeviceInfo\"2\n\006Reason\022\024"
755 "\n\020UNDEFINED_REASON\020\000\022\022\n\016INTERNAL_ERROR\020\001"
756 "\"o\n\031SetLoggingEndpointRequest\022\036\n\013device_"
757 "uuid\030\001 \001(\0132\t.dmi.Uuid\022\030\n\020logging_endpoin"
758 "t\030\002 \001(\t\022\030\n\020logging_protocol\030\003 \001(\t\"\303\002\n\031Se"
759 "tRemoteEndpointResponse\022\033\n\006status\030\001 \001(\0162"
760 "\013.dmi.Status\0225\n\006reason\030\002 \001(\0162%.dmi.SetRe"
761 "moteEndpointResponse.Reason\022\025\n\rreason_de"
762 "tail\030\003 \001(\t\"\272\001\n\006Reason\022\024\n\020UNDEFINED_REASO"
763 "N\020\000\022\022\n\016UNKNOWN_DEVICE\020\001\022\022\n\016INTERNAL_ERRO"
764 "R\020\002\022\032\n\026LOGGING_ENDPOINT_ERROR\020\003\022#\n\037LOGGI"
765 "NG_ENDPOINT_PROTOCOL_ERROR\020\004\022\031\n\025MSGBUS_E"
766 "NDPOINT_ERROR\020\005\022\026\n\022DEVICE_UNREACHABLE\020\006\""
767 "\234\002\n\032GetLoggingEndpointResponse\022\033\n\006status"
768 "\030\001 \001(\0162\013.dmi.Status\0226\n\006reason\030\002 \001(\0162&.dm"
769 "i.GetLoggingEndpointResponse.Reason\022\030\n\020l"
770 "ogging_endpoint\030\003 \001(\t\022\030\n\020logging_protoco"
771 "l\030\004 \001(\t\022\025\n\rreason_detail\030\005 \001(\t\"^\n\006Reason"
772 "\022\024\n\020UNDEFINED_REASON\020\000\022\022\n\016UNKNOWN_DEVICE"
773 "\020\001\022\022\n\016INTERNAL_ERROR\020\002\022\026\n\022DEVICE_UNREACH"
774 "ABLE\020\003\"3\n\030SetMsgBusEndpointRequest\022\027\n\017ms"
775 "gbus_endpoint\030\001 \001(\t\"\353\001\n\031GetMsgBusEndpoin"
776 "tResponse\022\033\n\006status\030\001 \001(\0162\013.dmi.Status\0225"
777 "\n\006reason\030\002 \001(\0162%.dmi.GetMsgBusEndpointRe"
778 "sponse.Reason\022\027\n\017msgbus_endpoint\030\003 \001(\t\022\025"
779 "\n\rreason_detail\030\004 \001(\t\"J\n\006Reason\022\024\n\020UNDEF"
780 "INED_REASON\020\000\022\022\n\016INTERNAL_ERROR\020\001\022\026\n\022DEV"
781 "ICE_UNREACHABLE\020\002\"E\n\020EntitiesLogLevel\022\037\n"
782 "\010logLevel\030\001 \001(\0162\r.dmi.LogLevel\022\020\n\010entiti"
783 "es\030\002 \003(\t\"^\n\022SetLogLevelRequest\022\036\n\013device"
784 "_uuid\030\001 \001(\0132\t.dmi.Uuid\022(\n\tloglevels\030\002 \003("
785 "\0132\025.dmi.EntitiesLogLevel\"\222\002\n\023SetLogLevel"
786 "Response\022\036\n\013device_uuid\030\001 \001(\0132\t.dmi.Uuid"
787 "\022\033\n\006status\030\002 \001(\0162\013.dmi.Status\022/\n\006reason\030"
788 "\003 \001(\0162\037.dmi.SetLogLevelResponse.Reason\022\025"
789 "\n\rreason_detail\030\004 \001(\t\"v\n\006Reason\022\024\n\020UNDEF"
790 "INED_REASON\020\000\022\022\n\016UNKNOWN_DEVICE\020\001\022\022\n\016INT"
791 "ERNAL_ERROR\020\002\022\026\n\022UNKNOWN_LOG_ENTITY\020\003\022\026\n"
792 "\022DEVICE_UNREACHABLE\020\004\"F\n\022GetLogLevelRequ"
793 "est\022\036\n\013device_uuid\030\001 \001(\0132\t.dmi.Uuid\022\020\n\010e"
794 "ntities\030\002 \003(\t\"\274\002\n\023GetLogLevelResponse\022\036\n"
795 "\013device_uuid\030\001 \001(\0132\t.dmi.Uuid\022(\n\tlogLeve"
796 "ls\030\002 \003(\0132\025.dmi.EntitiesLogLevel\022\033\n\006statu"
797 "s\030\003 \001(\0162\013.dmi.Status\022/\n\006reason\030\004 \001(\0162\037.d"
798 "mi.GetLogLevelResponse.Reason\022\025\n\rreason_"
799 "detail\030\005 \001(\t\"v\n\006Reason\022\024\n\020UNDEFINED_REAS"
800 "ON\020\000\022\022\n\016UNKNOWN_DEVICE\020\001\022\022\n\016INTERNAL_ERR"
801 "OR\020\002\022\026\n\022UNKNOWN_LOG_ENTITY\020\003\022\026\n\022DEVICE_U"
802 "NREACHABLE\020\004\"<\n\032GetLoggableEntitiesReque"
803 "st\022\036\n\013device_uuid\030\001 \001(\0132\t.dmi.Uuid2\257\010\n\031N"
804 "ativeHWManagementService\022S\n\023StartManagin"
805 "gDevice\022\030.dmi.ModifiableComponent\032 .dmi."
806 "StartManagingDeviceResponse0\001\022U\n\022StopMan"
807 "agingDevice\022\036.dmi.StopManagingDeviceRequ"
808 "est\032\037.dmi.StopManagingDeviceResponse\022H\n\021"
809 "GetManagedDevices\022\026.google.protobuf.Empt"
810 "y\032\033.dmi.ManagedDevicesResponse\022W\n\024GetPhy"
811 "sicalInventory\022\035.dmi.PhysicalInventoryRe"
812 "quest\032\036.dmi.PhysicalInventoryResponse0\001\022"
813 "W\n\022GetHWComponentInfo\022\036.dmi.HWComponentI"
814 "nfoGetRequest\032\037.dmi.HWComponentInfoGetRe"
815 "sponse0\001\022U\n\022SetHWComponentInfo\022\036.dmi.HWC"
816 "omponentInfoSetRequest\032\037.dmi.HWComponent"
817 "InfoSetResponse\022T\n\022SetLoggingEndpoint\022\036."
818 "dmi.SetLoggingEndpointRequest\032\036.dmi.SetR"
819 "emoteEndpointResponse\022F\n\022GetLoggingEndpo"
820 "int\022\017.dmi.HardwareID\032\037.dmi.GetLoggingEnd"
821 "pointResponse\022R\n\021SetMsgBusEndpoint\022\035.dmi"
822 ".SetMsgBusEndpointRequest\032\036.dmi.SetRemot"
823 "eEndpointResponse\022K\n\021GetMsgBusEndpoint\022\026"
824 ".google.protobuf.Empty\032\036.dmi.GetMsgBusEn"
825 "dpointResponse\022P\n\023GetLoggableEntities\022\037."
826 "dmi.GetLoggableEntitiesRequest\032\030.dmi.Get"
827 "LogLevelResponse\022@\n\013SetLogLevel\022\027.dmi.Se"
828 "tLogLevelRequest\032\030.dmi.SetLogLevelRespon"
829 "se\022@\n\013GetLogLevel\022\027.dmi.GetLogLevelReque"
830 "st\032\030.dmi.GetLogLevelResponseB;Z9github.c"
831 "om/opencord/device-management-interface/"
832 "v3/go/dmib\006proto3"
833 ;
834::google::protobuf::internal::DescriptorTable descriptor_table_dmi_2fhw_5fmanagement_5fservice_2eproto = {
835 false, InitDefaults_dmi_2fhw_5fmanagement_5fservice_2eproto,
836 descriptor_table_protodef_dmi_2fhw_5fmanagement_5fservice_2eproto,
837 "dmi/hw_management_service.proto", &assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto, 5177,
838};
839
840void AddDescriptors_dmi_2fhw_5fmanagement_5fservice_2eproto() {
841 static constexpr ::google::protobuf::internal::InitFunc deps[3] =
842 {
843 ::AddDescriptors_dmi_2fcommons_2eproto,
844 ::AddDescriptors_dmi_2fhw_2eproto,
845 ::AddDescriptors_google_2fprotobuf_2fempty_2eproto,
846 };
847 ::google::protobuf::internal::AddDescriptors(&descriptor_table_dmi_2fhw_5fmanagement_5fservice_2eproto, deps, 3);
848}
849
850// Force running AddDescriptors() at dynamic initialization time.
851static bool dynamic_init_dummy_dmi_2fhw_5fmanagement_5fservice_2eproto = []() { AddDescriptors_dmi_2fhw_5fmanagement_5fservice_2eproto(); return true; }();
852namespace dmi {
853const ::google::protobuf::EnumDescriptor* PhysicalInventoryResponse_Reason_descriptor() {
854 ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
855 return file_level_enum_descriptors_dmi_2fhw_5fmanagement_5fservice_2eproto[0];
856}
857bool PhysicalInventoryResponse_Reason_IsValid(int value) {
858 switch (value) {
859 case 0:
860 case 1:
861 case 2:
862 case 3:
863 return true;
864 default:
865 return false;
866 }
867}
868
869#if !defined(_MSC_VER) || _MSC_VER >= 1900
870const PhysicalInventoryResponse_Reason PhysicalInventoryResponse::UNDEFINED_REASON;
871const PhysicalInventoryResponse_Reason PhysicalInventoryResponse::UNKNOWN_DEVICE;
872const PhysicalInventoryResponse_Reason PhysicalInventoryResponse::INTERNAL_ERROR;
873const PhysicalInventoryResponse_Reason PhysicalInventoryResponse::DEVICE_UNREACHABLE;
874const PhysicalInventoryResponse_Reason PhysicalInventoryResponse::Reason_MIN;
875const PhysicalInventoryResponse_Reason PhysicalInventoryResponse::Reason_MAX;
876const int PhysicalInventoryResponse::Reason_ARRAYSIZE;
877#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
878const ::google::protobuf::EnumDescriptor* HWComponentInfoGetResponse_Reason_descriptor() {
879 ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
880 return file_level_enum_descriptors_dmi_2fhw_5fmanagement_5fservice_2eproto[1];
881}
882bool HWComponentInfoGetResponse_Reason_IsValid(int value) {
883 switch (value) {
884 case 0:
885 case 1:
886 case 2:
887 case 3:
888 case 4:
889 return true;
890 default:
891 return false;
892 }
893}
894
895#if !defined(_MSC_VER) || _MSC_VER >= 1900
896const HWComponentInfoGetResponse_Reason HWComponentInfoGetResponse::UNDEFINED_REASON;
897const HWComponentInfoGetResponse_Reason HWComponentInfoGetResponse::UNKNOWN_DEVICE;
898const HWComponentInfoGetResponse_Reason HWComponentInfoGetResponse::UNKNOWN_COMPONENT;
899const HWComponentInfoGetResponse_Reason HWComponentInfoGetResponse::INTERNAL_ERROR;
900const HWComponentInfoGetResponse_Reason HWComponentInfoGetResponse::DEVICE_UNREACHABLE;
901const HWComponentInfoGetResponse_Reason HWComponentInfoGetResponse::Reason_MIN;
902const HWComponentInfoGetResponse_Reason HWComponentInfoGetResponse::Reason_MAX;
903const int HWComponentInfoGetResponse::Reason_ARRAYSIZE;
904#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
905const ::google::protobuf::EnumDescriptor* HWComponentInfoSetResponse_Reason_descriptor() {
906 ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
907 return file_level_enum_descriptors_dmi_2fhw_5fmanagement_5fservice_2eproto[2];
908}
909bool HWComponentInfoSetResponse_Reason_IsValid(int value) {
910 switch (value) {
911 case 0:
912 case 1:
913 case 2:
914 case 3:
915 case 4:
916 case 5:
917 return true;
918 default:
919 return false;
920 }
921}
922
923#if !defined(_MSC_VER) || _MSC_VER >= 1900
924const HWComponentInfoSetResponse_Reason HWComponentInfoSetResponse::UNDEFINED_REASON;
925const HWComponentInfoSetResponse_Reason HWComponentInfoSetResponse::UNKNOWN_DEVICE;
926const HWComponentInfoSetResponse_Reason HWComponentInfoSetResponse::UNKNOWN_COMPONENT;
927const HWComponentInfoSetResponse_Reason HWComponentInfoSetResponse::INVALID_PARAMS;
928const HWComponentInfoSetResponse_Reason HWComponentInfoSetResponse::INTERNAL_ERROR;
929const HWComponentInfoSetResponse_Reason HWComponentInfoSetResponse::DEVICE_UNREACHABLE;
930const HWComponentInfoSetResponse_Reason HWComponentInfoSetResponse::Reason_MIN;
931const HWComponentInfoSetResponse_Reason HWComponentInfoSetResponse::Reason_MAX;
932const int HWComponentInfoSetResponse::Reason_ARRAYSIZE;
933#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
934const ::google::protobuf::EnumDescriptor* StartManagingDeviceResponse_Reason_descriptor() {
935 ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
936 return file_level_enum_descriptors_dmi_2fhw_5fmanagement_5fservice_2eproto[3];
937}
938bool StartManagingDeviceResponse_Reason_IsValid(int value) {
939 switch (value) {
940 case 0:
941 case 1:
942 case 2:
943 case 3:
944 case 4:
945 return true;
946 default:
947 return false;
948 }
949}
950
951#if !defined(_MSC_VER) || _MSC_VER >= 1900
952const StartManagingDeviceResponse_Reason StartManagingDeviceResponse::UNDEFINED_REASON;
953const StartManagingDeviceResponse_Reason StartManagingDeviceResponse::DEVICE_ALREADY_MANAGED;
954const StartManagingDeviceResponse_Reason StartManagingDeviceResponse::OPERATION_ALREADY_IN_PROGRESS;
955const StartManagingDeviceResponse_Reason StartManagingDeviceResponse::INVALID_PARAMS;
956const StartManagingDeviceResponse_Reason StartManagingDeviceResponse::INTERNAL_ERROR;
957const StartManagingDeviceResponse_Reason StartManagingDeviceResponse::Reason_MIN;
958const StartManagingDeviceResponse_Reason StartManagingDeviceResponse::Reason_MAX;
959const int StartManagingDeviceResponse::Reason_ARRAYSIZE;
960#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
961const ::google::protobuf::EnumDescriptor* StopManagingDeviceResponse_Reason_descriptor() {
962 ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
963 return file_level_enum_descriptors_dmi_2fhw_5fmanagement_5fservice_2eproto[4];
964}
965bool StopManagingDeviceResponse_Reason_IsValid(int value) {
966 switch (value) {
967 case 0:
968 case 1:
969 return true;
970 default:
971 return false;
972 }
973}
974
975#if !defined(_MSC_VER) || _MSC_VER >= 1900
976const StopManagingDeviceResponse_Reason StopManagingDeviceResponse::UNDEFINED_REASON;
977const StopManagingDeviceResponse_Reason StopManagingDeviceResponse::UNKNOWN_DEVICE;
978const StopManagingDeviceResponse_Reason StopManagingDeviceResponse::Reason_MIN;
979const StopManagingDeviceResponse_Reason StopManagingDeviceResponse::Reason_MAX;
980const int StopManagingDeviceResponse::Reason_ARRAYSIZE;
981#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
982const ::google::protobuf::EnumDescriptor* ManagedDevicesResponse_Reason_descriptor() {
983 ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
984 return file_level_enum_descriptors_dmi_2fhw_5fmanagement_5fservice_2eproto[5];
985}
986bool ManagedDevicesResponse_Reason_IsValid(int value) {
987 switch (value) {
988 case 0:
989 case 1:
990 return true;
991 default:
992 return false;
993 }
994}
995
996#if !defined(_MSC_VER) || _MSC_VER >= 1900
997const ManagedDevicesResponse_Reason ManagedDevicesResponse::UNDEFINED_REASON;
998const ManagedDevicesResponse_Reason ManagedDevicesResponse::INTERNAL_ERROR;
999const ManagedDevicesResponse_Reason ManagedDevicesResponse::Reason_MIN;
1000const ManagedDevicesResponse_Reason ManagedDevicesResponse::Reason_MAX;
1001const int ManagedDevicesResponse::Reason_ARRAYSIZE;
1002#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
1003const ::google::protobuf::EnumDescriptor* SetRemoteEndpointResponse_Reason_descriptor() {
1004 ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
1005 return file_level_enum_descriptors_dmi_2fhw_5fmanagement_5fservice_2eproto[6];
1006}
1007bool SetRemoteEndpointResponse_Reason_IsValid(int value) {
1008 switch (value) {
1009 case 0:
1010 case 1:
1011 case 2:
1012 case 3:
1013 case 4:
1014 case 5:
1015 case 6:
1016 return true;
1017 default:
1018 return false;
1019 }
1020}
1021
1022#if !defined(_MSC_VER) || _MSC_VER >= 1900
1023const SetRemoteEndpointResponse_Reason SetRemoteEndpointResponse::UNDEFINED_REASON;
1024const SetRemoteEndpointResponse_Reason SetRemoteEndpointResponse::UNKNOWN_DEVICE;
1025const SetRemoteEndpointResponse_Reason SetRemoteEndpointResponse::INTERNAL_ERROR;
1026const SetRemoteEndpointResponse_Reason SetRemoteEndpointResponse::LOGGING_ENDPOINT_ERROR;
1027const SetRemoteEndpointResponse_Reason SetRemoteEndpointResponse::LOGGING_ENDPOINT_PROTOCOL_ERROR;
1028const SetRemoteEndpointResponse_Reason SetRemoteEndpointResponse::MSGBUS_ENDPOINT_ERROR;
1029const SetRemoteEndpointResponse_Reason SetRemoteEndpointResponse::DEVICE_UNREACHABLE;
1030const SetRemoteEndpointResponse_Reason SetRemoteEndpointResponse::Reason_MIN;
1031const SetRemoteEndpointResponse_Reason SetRemoteEndpointResponse::Reason_MAX;
1032const int SetRemoteEndpointResponse::Reason_ARRAYSIZE;
1033#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
1034const ::google::protobuf::EnumDescriptor* GetLoggingEndpointResponse_Reason_descriptor() {
1035 ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
1036 return file_level_enum_descriptors_dmi_2fhw_5fmanagement_5fservice_2eproto[7];
1037}
1038bool GetLoggingEndpointResponse_Reason_IsValid(int value) {
1039 switch (value) {
1040 case 0:
1041 case 1:
1042 case 2:
1043 case 3:
1044 return true;
1045 default:
1046 return false;
1047 }
1048}
1049
1050#if !defined(_MSC_VER) || _MSC_VER >= 1900
1051const GetLoggingEndpointResponse_Reason GetLoggingEndpointResponse::UNDEFINED_REASON;
1052const GetLoggingEndpointResponse_Reason GetLoggingEndpointResponse::UNKNOWN_DEVICE;
1053const GetLoggingEndpointResponse_Reason GetLoggingEndpointResponse::INTERNAL_ERROR;
1054const GetLoggingEndpointResponse_Reason GetLoggingEndpointResponse::DEVICE_UNREACHABLE;
1055const GetLoggingEndpointResponse_Reason GetLoggingEndpointResponse::Reason_MIN;
1056const GetLoggingEndpointResponse_Reason GetLoggingEndpointResponse::Reason_MAX;
1057const int GetLoggingEndpointResponse::Reason_ARRAYSIZE;
1058#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
1059const ::google::protobuf::EnumDescriptor* GetMsgBusEndpointResponse_Reason_descriptor() {
1060 ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
1061 return file_level_enum_descriptors_dmi_2fhw_5fmanagement_5fservice_2eproto[8];
1062}
1063bool GetMsgBusEndpointResponse_Reason_IsValid(int value) {
1064 switch (value) {
1065 case 0:
1066 case 1:
1067 case 2:
1068 return true;
1069 default:
1070 return false;
1071 }
1072}
1073
1074#if !defined(_MSC_VER) || _MSC_VER >= 1900
1075const GetMsgBusEndpointResponse_Reason GetMsgBusEndpointResponse::UNDEFINED_REASON;
1076const GetMsgBusEndpointResponse_Reason GetMsgBusEndpointResponse::INTERNAL_ERROR;
1077const GetMsgBusEndpointResponse_Reason GetMsgBusEndpointResponse::DEVICE_UNREACHABLE;
1078const GetMsgBusEndpointResponse_Reason GetMsgBusEndpointResponse::Reason_MIN;
1079const GetMsgBusEndpointResponse_Reason GetMsgBusEndpointResponse::Reason_MAX;
1080const int GetMsgBusEndpointResponse::Reason_ARRAYSIZE;
1081#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
1082const ::google::protobuf::EnumDescriptor* SetLogLevelResponse_Reason_descriptor() {
1083 ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
1084 return file_level_enum_descriptors_dmi_2fhw_5fmanagement_5fservice_2eproto[9];
1085}
1086bool SetLogLevelResponse_Reason_IsValid(int value) {
1087 switch (value) {
1088 case 0:
1089 case 1:
1090 case 2:
1091 case 3:
1092 case 4:
1093 return true;
1094 default:
1095 return false;
1096 }
1097}
1098
1099#if !defined(_MSC_VER) || _MSC_VER >= 1900
1100const SetLogLevelResponse_Reason SetLogLevelResponse::UNDEFINED_REASON;
1101const SetLogLevelResponse_Reason SetLogLevelResponse::UNKNOWN_DEVICE;
1102const SetLogLevelResponse_Reason SetLogLevelResponse::INTERNAL_ERROR;
1103const SetLogLevelResponse_Reason SetLogLevelResponse::UNKNOWN_LOG_ENTITY;
1104const SetLogLevelResponse_Reason SetLogLevelResponse::DEVICE_UNREACHABLE;
1105const SetLogLevelResponse_Reason SetLogLevelResponse::Reason_MIN;
1106const SetLogLevelResponse_Reason SetLogLevelResponse::Reason_MAX;
1107const int SetLogLevelResponse::Reason_ARRAYSIZE;
1108#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
1109const ::google::protobuf::EnumDescriptor* GetLogLevelResponse_Reason_descriptor() {
1110 ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
1111 return file_level_enum_descriptors_dmi_2fhw_5fmanagement_5fservice_2eproto[10];
1112}
1113bool GetLogLevelResponse_Reason_IsValid(int value) {
1114 switch (value) {
1115 case 0:
1116 case 1:
1117 case 2:
1118 case 3:
1119 case 4:
1120 return true;
1121 default:
1122 return false;
1123 }
1124}
1125
1126#if !defined(_MSC_VER) || _MSC_VER >= 1900
1127const GetLogLevelResponse_Reason GetLogLevelResponse::UNDEFINED_REASON;
1128const GetLogLevelResponse_Reason GetLogLevelResponse::UNKNOWN_DEVICE;
1129const GetLogLevelResponse_Reason GetLogLevelResponse::INTERNAL_ERROR;
1130const GetLogLevelResponse_Reason GetLogLevelResponse::UNKNOWN_LOG_ENTITY;
1131const GetLogLevelResponse_Reason GetLogLevelResponse::DEVICE_UNREACHABLE;
1132const GetLogLevelResponse_Reason GetLogLevelResponse::Reason_MIN;
1133const GetLogLevelResponse_Reason GetLogLevelResponse::Reason_MAX;
1134const int GetLogLevelResponse::Reason_ARRAYSIZE;
1135#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
1136
1137// ===================================================================
1138
1139void PhysicalInventoryRequest::InitAsDefaultInstance() {
1140 ::dmi::_PhysicalInventoryRequest_default_instance_._instance.get_mutable()->device_uuid_ = const_cast< ::dmi::Uuid*>(
1141 ::dmi::Uuid::internal_default_instance());
1142}
1143class PhysicalInventoryRequest::HasBitSetters {
1144 public:
1145 static const ::dmi::Uuid& device_uuid(const PhysicalInventoryRequest* msg);
1146};
1147
1148const ::dmi::Uuid&
1149PhysicalInventoryRequest::HasBitSetters::device_uuid(const PhysicalInventoryRequest* msg) {
1150 return *msg->device_uuid_;
1151}
1152void PhysicalInventoryRequest::clear_device_uuid() {
1153 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
1154 delete device_uuid_;
1155 }
1156 device_uuid_ = nullptr;
1157}
1158#if !defined(_MSC_VER) || _MSC_VER >= 1900
1159const int PhysicalInventoryRequest::kDeviceUuidFieldNumber;
1160#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
1161
1162PhysicalInventoryRequest::PhysicalInventoryRequest()
1163 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
1164 SharedCtor();
1165 // @@protoc_insertion_point(constructor:dmi.PhysicalInventoryRequest)
1166}
1167PhysicalInventoryRequest::PhysicalInventoryRequest(const PhysicalInventoryRequest& from)
1168 : ::google::protobuf::Message(),
1169 _internal_metadata_(nullptr) {
1170 _internal_metadata_.MergeFrom(from._internal_metadata_);
1171 if (from.has_device_uuid()) {
1172 device_uuid_ = new ::dmi::Uuid(*from.device_uuid_);
1173 } else {
1174 device_uuid_ = nullptr;
1175 }
1176 // @@protoc_insertion_point(copy_constructor:dmi.PhysicalInventoryRequest)
1177}
1178
1179void PhysicalInventoryRequest::SharedCtor() {
1180 ::google::protobuf::internal::InitSCC(
1181 &scc_info_PhysicalInventoryRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
1182 device_uuid_ = nullptr;
1183}
1184
1185PhysicalInventoryRequest::~PhysicalInventoryRequest() {
1186 // @@protoc_insertion_point(destructor:dmi.PhysicalInventoryRequest)
1187 SharedDtor();
1188}
1189
1190void PhysicalInventoryRequest::SharedDtor() {
1191 if (this != internal_default_instance()) delete device_uuid_;
1192}
1193
1194void PhysicalInventoryRequest::SetCachedSize(int size) const {
1195 _cached_size_.Set(size);
1196}
1197const PhysicalInventoryRequest& PhysicalInventoryRequest::default_instance() {
1198 ::google::protobuf::internal::InitSCC(&::scc_info_PhysicalInventoryRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
1199 return *internal_default_instance();
1200}
1201
1202
1203void PhysicalInventoryRequest::Clear() {
1204// @@protoc_insertion_point(message_clear_start:dmi.PhysicalInventoryRequest)
1205 ::google::protobuf::uint32 cached_has_bits = 0;
1206 // Prevent compiler warnings about cached_has_bits being unused
1207 (void) cached_has_bits;
1208
1209 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
1210 delete device_uuid_;
1211 }
1212 device_uuid_ = nullptr;
1213 _internal_metadata_.Clear();
1214}
1215
1216#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1217const char* PhysicalInventoryRequest::_InternalParse(const char* begin, const char* end, void* object,
1218 ::google::protobuf::internal::ParseContext* ctx) {
1219 auto msg = static_cast<PhysicalInventoryRequest*>(object);
1220 ::google::protobuf::int32 size; (void)size;
1221 int depth; (void)depth;
1222 ::google::protobuf::uint32 tag;
1223 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
1224 auto ptr = begin;
1225 while (ptr < end) {
1226 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
1227 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
1228 switch (tag >> 3) {
1229 // .dmi.Uuid device_uuid = 1;
1230 case 1: {
1231 if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual;
1232 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
1233 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
1234 parser_till_end = ::dmi::Uuid::_InternalParse;
1235 object = msg->mutable_device_uuid();
1236 if (size > end - ptr) goto len_delim_till_end;
1237 ptr += size;
1238 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
1239 {parser_till_end, object}, ptr - size, ptr));
1240 break;
1241 }
1242 default: {
1243 handle_unusual:
1244 if ((tag & 7) == 4 || tag == 0) {
1245 ctx->EndGroup(tag);
1246 return ptr;
1247 }
1248 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
1249 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
1250 ptr = res.first;
1251 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
1252 if (res.second) return ptr;
1253 }
1254 } // switch
1255 } // while
1256 return ptr;
1257len_delim_till_end:
1258 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
1259 {parser_till_end, object}, size);
1260}
1261#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1262bool PhysicalInventoryRequest::MergePartialFromCodedStream(
1263 ::google::protobuf::io::CodedInputStream* input) {
1264#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
1265 ::google::protobuf::uint32 tag;
1266 // @@protoc_insertion_point(parse_start:dmi.PhysicalInventoryRequest)
1267 for (;;) {
1268 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
1269 tag = p.first;
1270 if (!p.second) goto handle_unusual;
1271 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1272 // .dmi.Uuid device_uuid = 1;
1273 case 1: {
1274 if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) {
1275 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
1276 input, mutable_device_uuid()));
1277 } else {
1278 goto handle_unusual;
1279 }
1280 break;
1281 }
1282
1283 default: {
1284 handle_unusual:
1285 if (tag == 0) {
1286 goto success;
1287 }
1288 DO_(::google::protobuf::internal::WireFormat::SkipField(
1289 input, tag, _internal_metadata_.mutable_unknown_fields()));
1290 break;
1291 }
1292 }
1293 }
1294success:
1295 // @@protoc_insertion_point(parse_success:dmi.PhysicalInventoryRequest)
1296 return true;
1297failure:
1298 // @@protoc_insertion_point(parse_failure:dmi.PhysicalInventoryRequest)
1299 return false;
1300#undef DO_
1301}
1302#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1303
1304void PhysicalInventoryRequest::SerializeWithCachedSizes(
1305 ::google::protobuf::io::CodedOutputStream* output) const {
1306 // @@protoc_insertion_point(serialize_start:dmi.PhysicalInventoryRequest)
1307 ::google::protobuf::uint32 cached_has_bits = 0;
1308 (void) cached_has_bits;
1309
1310 // .dmi.Uuid device_uuid = 1;
1311 if (this->has_device_uuid()) {
1312 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1313 1, HasBitSetters::device_uuid(this), output);
1314 }
1315
1316 if (_internal_metadata_.have_unknown_fields()) {
1317 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1318 _internal_metadata_.unknown_fields(), output);
1319 }
1320 // @@protoc_insertion_point(serialize_end:dmi.PhysicalInventoryRequest)
1321}
1322
1323::google::protobuf::uint8* PhysicalInventoryRequest::InternalSerializeWithCachedSizesToArray(
1324 ::google::protobuf::uint8* target) const {
1325 // @@protoc_insertion_point(serialize_to_array_start:dmi.PhysicalInventoryRequest)
1326 ::google::protobuf::uint32 cached_has_bits = 0;
1327 (void) cached_has_bits;
1328
1329 // .dmi.Uuid device_uuid = 1;
1330 if (this->has_device_uuid()) {
1331 target = ::google::protobuf::internal::WireFormatLite::
1332 InternalWriteMessageToArray(
1333 1, HasBitSetters::device_uuid(this), target);
1334 }
1335
1336 if (_internal_metadata_.have_unknown_fields()) {
1337 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1338 _internal_metadata_.unknown_fields(), target);
1339 }
1340 // @@protoc_insertion_point(serialize_to_array_end:dmi.PhysicalInventoryRequest)
1341 return target;
1342}
1343
1344size_t PhysicalInventoryRequest::ByteSizeLong() const {
1345// @@protoc_insertion_point(message_byte_size_start:dmi.PhysicalInventoryRequest)
1346 size_t total_size = 0;
1347
1348 if (_internal_metadata_.have_unknown_fields()) {
1349 total_size +=
1350 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1351 _internal_metadata_.unknown_fields());
1352 }
1353 ::google::protobuf::uint32 cached_has_bits = 0;
1354 // Prevent compiler warnings about cached_has_bits being unused
1355 (void) cached_has_bits;
1356
1357 // .dmi.Uuid device_uuid = 1;
1358 if (this->has_device_uuid()) {
1359 total_size += 1 +
1360 ::google::protobuf::internal::WireFormatLite::MessageSize(
1361 *device_uuid_);
1362 }
1363
1364 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
1365 SetCachedSize(cached_size);
1366 return total_size;
1367}
1368
1369void PhysicalInventoryRequest::MergeFrom(const ::google::protobuf::Message& from) {
1370// @@protoc_insertion_point(generalized_merge_from_start:dmi.PhysicalInventoryRequest)
1371 GOOGLE_DCHECK_NE(&from, this);
1372 const PhysicalInventoryRequest* source =
1373 ::google::protobuf::DynamicCastToGenerated<PhysicalInventoryRequest>(
1374 &from);
1375 if (source == nullptr) {
1376 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.PhysicalInventoryRequest)
1377 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1378 } else {
1379 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.PhysicalInventoryRequest)
1380 MergeFrom(*source);
1381 }
1382}
1383
1384void PhysicalInventoryRequest::MergeFrom(const PhysicalInventoryRequest& from) {
1385// @@protoc_insertion_point(class_specific_merge_from_start:dmi.PhysicalInventoryRequest)
1386 GOOGLE_DCHECK_NE(&from, this);
1387 _internal_metadata_.MergeFrom(from._internal_metadata_);
1388 ::google::protobuf::uint32 cached_has_bits = 0;
1389 (void) cached_has_bits;
1390
1391 if (from.has_device_uuid()) {
1392 mutable_device_uuid()->::dmi::Uuid::MergeFrom(from.device_uuid());
1393 }
1394}
1395
1396void PhysicalInventoryRequest::CopyFrom(const ::google::protobuf::Message& from) {
1397// @@protoc_insertion_point(generalized_copy_from_start:dmi.PhysicalInventoryRequest)
1398 if (&from == this) return;
1399 Clear();
1400 MergeFrom(from);
1401}
1402
1403void PhysicalInventoryRequest::CopyFrom(const PhysicalInventoryRequest& from) {
1404// @@protoc_insertion_point(class_specific_copy_from_start:dmi.PhysicalInventoryRequest)
1405 if (&from == this) return;
1406 Clear();
1407 MergeFrom(from);
1408}
1409
1410bool PhysicalInventoryRequest::IsInitialized() const {
1411 return true;
1412}
1413
1414void PhysicalInventoryRequest::Swap(PhysicalInventoryRequest* other) {
1415 if (other == this) return;
1416 InternalSwap(other);
1417}
1418void PhysicalInventoryRequest::InternalSwap(PhysicalInventoryRequest* other) {
1419 using std::swap;
1420 _internal_metadata_.Swap(&other->_internal_metadata_);
1421 swap(device_uuid_, other->device_uuid_);
1422}
1423
1424::google::protobuf::Metadata PhysicalInventoryRequest::GetMetadata() const {
1425 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
1426 return ::file_level_metadata_dmi_2fhw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
1427}
1428
1429
1430// ===================================================================
1431
1432void PhysicalInventoryResponse::InitAsDefaultInstance() {
1433 ::dmi::_PhysicalInventoryResponse_default_instance_._instance.get_mutable()->inventory_ = const_cast< ::dmi::Hardware*>(
1434 ::dmi::Hardware::internal_default_instance());
1435}
1436class PhysicalInventoryResponse::HasBitSetters {
1437 public:
1438 static const ::dmi::Hardware& inventory(const PhysicalInventoryResponse* msg);
1439};
1440
1441const ::dmi::Hardware&
1442PhysicalInventoryResponse::HasBitSetters::inventory(const PhysicalInventoryResponse* msg) {
1443 return *msg->inventory_;
1444}
1445void PhysicalInventoryResponse::clear_inventory() {
1446 if (GetArenaNoVirtual() == nullptr && inventory_ != nullptr) {
1447 delete inventory_;
1448 }
1449 inventory_ = nullptr;
1450}
1451#if !defined(_MSC_VER) || _MSC_VER >= 1900
1452const int PhysicalInventoryResponse::kStatusFieldNumber;
1453const int PhysicalInventoryResponse::kReasonFieldNumber;
1454const int PhysicalInventoryResponse::kInventoryFieldNumber;
1455const int PhysicalInventoryResponse::kReasonDetailFieldNumber;
1456#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
1457
1458PhysicalInventoryResponse::PhysicalInventoryResponse()
1459 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
1460 SharedCtor();
1461 // @@protoc_insertion_point(constructor:dmi.PhysicalInventoryResponse)
1462}
1463PhysicalInventoryResponse::PhysicalInventoryResponse(const PhysicalInventoryResponse& from)
1464 : ::google::protobuf::Message(),
1465 _internal_metadata_(nullptr) {
1466 _internal_metadata_.MergeFrom(from._internal_metadata_);
1467 reason_detail_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1468 if (from.reason_detail().size() > 0) {
1469 reason_detail_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_detail_);
1470 }
1471 if (from.has_inventory()) {
1472 inventory_ = new ::dmi::Hardware(*from.inventory_);
1473 } else {
1474 inventory_ = nullptr;
1475 }
1476 ::memcpy(&status_, &from.status_,
1477 static_cast<size_t>(reinterpret_cast<char*>(&reason_) -
1478 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
1479 // @@protoc_insertion_point(copy_constructor:dmi.PhysicalInventoryResponse)
1480}
1481
1482void PhysicalInventoryResponse::SharedCtor() {
1483 ::google::protobuf::internal::InitSCC(
1484 &scc_info_PhysicalInventoryResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
1485 reason_detail_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1486 ::memset(&inventory_, 0, static_cast<size_t>(
1487 reinterpret_cast<char*>(&reason_) -
1488 reinterpret_cast<char*>(&inventory_)) + sizeof(reason_));
1489}
1490
1491PhysicalInventoryResponse::~PhysicalInventoryResponse() {
1492 // @@protoc_insertion_point(destructor:dmi.PhysicalInventoryResponse)
1493 SharedDtor();
1494}
1495
1496void PhysicalInventoryResponse::SharedDtor() {
1497 reason_detail_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1498 if (this != internal_default_instance()) delete inventory_;
1499}
1500
1501void PhysicalInventoryResponse::SetCachedSize(int size) const {
1502 _cached_size_.Set(size);
1503}
1504const PhysicalInventoryResponse& PhysicalInventoryResponse::default_instance() {
1505 ::google::protobuf::internal::InitSCC(&::scc_info_PhysicalInventoryResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
1506 return *internal_default_instance();
1507}
1508
1509
1510void PhysicalInventoryResponse::Clear() {
1511// @@protoc_insertion_point(message_clear_start:dmi.PhysicalInventoryResponse)
1512 ::google::protobuf::uint32 cached_has_bits = 0;
1513 // Prevent compiler warnings about cached_has_bits being unused
1514 (void) cached_has_bits;
1515
1516 reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1517 if (GetArenaNoVirtual() == nullptr && inventory_ != nullptr) {
1518 delete inventory_;
1519 }
1520 inventory_ = nullptr;
1521 ::memset(&status_, 0, static_cast<size_t>(
1522 reinterpret_cast<char*>(&reason_) -
1523 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
1524 _internal_metadata_.Clear();
1525}
1526
1527#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1528const char* PhysicalInventoryResponse::_InternalParse(const char* begin, const char* end, void* object,
1529 ::google::protobuf::internal::ParseContext* ctx) {
1530 auto msg = static_cast<PhysicalInventoryResponse*>(object);
1531 ::google::protobuf::int32 size; (void)size;
1532 int depth; (void)depth;
1533 ::google::protobuf::uint32 tag;
1534 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
1535 auto ptr = begin;
1536 while (ptr < end) {
1537 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
1538 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
1539 switch (tag >> 3) {
1540 // .dmi.Status status = 1;
1541 case 1: {
1542 if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual;
1543 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
1544 msg->set_status(static_cast<::dmi::Status>(val));
1545 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
1546 break;
1547 }
1548 // .dmi.PhysicalInventoryResponse.Reason reason = 2;
1549 case 2: {
1550 if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual;
1551 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
1552 msg->set_reason(static_cast<::dmi::PhysicalInventoryResponse_Reason>(val));
1553 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
1554 break;
1555 }
1556 // .dmi.Hardware inventory = 3;
1557 case 3: {
1558 if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual;
1559 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
1560 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
1561 parser_till_end = ::dmi::Hardware::_InternalParse;
1562 object = msg->mutable_inventory();
1563 if (size > end - ptr) goto len_delim_till_end;
1564 ptr += size;
1565 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
1566 {parser_till_end, object}, ptr - size, ptr));
1567 break;
1568 }
1569 // string reason_detail = 4;
1570 case 4: {
1571 if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual;
1572 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
1573 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
1574 ctx->extra_parse_data().SetFieldName("dmi.PhysicalInventoryResponse.reason_detail");
1575 object = msg->mutable_reason_detail();
1576 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
1577 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
1578 goto string_till_end;
1579 }
1580 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
1581 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
1582 ptr += size;
1583 break;
1584 }
1585 default: {
1586 handle_unusual:
1587 if ((tag & 7) == 4 || tag == 0) {
1588 ctx->EndGroup(tag);
1589 return ptr;
1590 }
1591 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
1592 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
1593 ptr = res.first;
1594 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
1595 if (res.second) return ptr;
1596 }
1597 } // switch
1598 } // while
1599 return ptr;
1600string_till_end:
1601 static_cast<::std::string*>(object)->clear();
1602 static_cast<::std::string*>(object)->reserve(size);
1603 goto len_delim_till_end;
1604len_delim_till_end:
1605 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
1606 {parser_till_end, object}, size);
1607}
1608#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1609bool PhysicalInventoryResponse::MergePartialFromCodedStream(
1610 ::google::protobuf::io::CodedInputStream* input) {
1611#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
1612 ::google::protobuf::uint32 tag;
1613 // @@protoc_insertion_point(parse_start:dmi.PhysicalInventoryResponse)
1614 for (;;) {
1615 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
1616 tag = p.first;
1617 if (!p.second) goto handle_unusual;
1618 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1619 // .dmi.Status status = 1;
1620 case 1: {
1621 if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) {
1622 int value = 0;
1623 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1624 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
1625 input, &value)));
1626 set_status(static_cast< ::dmi::Status >(value));
1627 } else {
1628 goto handle_unusual;
1629 }
1630 break;
1631 }
1632
1633 // .dmi.PhysicalInventoryResponse.Reason reason = 2;
1634 case 2: {
1635 if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) {
1636 int value = 0;
1637 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1638 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
1639 input, &value)));
1640 set_reason(static_cast< ::dmi::PhysicalInventoryResponse_Reason >(value));
1641 } else {
1642 goto handle_unusual;
1643 }
1644 break;
1645 }
1646
1647 // .dmi.Hardware inventory = 3;
1648 case 3: {
1649 if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) {
1650 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
1651 input, mutable_inventory()));
1652 } else {
1653 goto handle_unusual;
1654 }
1655 break;
1656 }
1657
1658 // string reason_detail = 4;
1659 case 4: {
1660 if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) {
1661 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
1662 input, this->mutable_reason_detail()));
1663 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1664 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
1665 ::google::protobuf::internal::WireFormatLite::PARSE,
1666 "dmi.PhysicalInventoryResponse.reason_detail"));
1667 } else {
1668 goto handle_unusual;
1669 }
1670 break;
1671 }
1672
1673 default: {
1674 handle_unusual:
1675 if (tag == 0) {
1676 goto success;
1677 }
1678 DO_(::google::protobuf::internal::WireFormat::SkipField(
1679 input, tag, _internal_metadata_.mutable_unknown_fields()));
1680 break;
1681 }
1682 }
1683 }
1684success:
1685 // @@protoc_insertion_point(parse_success:dmi.PhysicalInventoryResponse)
1686 return true;
1687failure:
1688 // @@protoc_insertion_point(parse_failure:dmi.PhysicalInventoryResponse)
1689 return false;
1690#undef DO_
1691}
1692#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1693
1694void PhysicalInventoryResponse::SerializeWithCachedSizes(
1695 ::google::protobuf::io::CodedOutputStream* output) const {
1696 // @@protoc_insertion_point(serialize_start:dmi.PhysicalInventoryResponse)
1697 ::google::protobuf::uint32 cached_has_bits = 0;
1698 (void) cached_has_bits;
1699
1700 // .dmi.Status status = 1;
1701 if (this->status() != 0) {
1702 ::google::protobuf::internal::WireFormatLite::WriteEnum(
1703 1, this->status(), output);
1704 }
1705
1706 // .dmi.PhysicalInventoryResponse.Reason reason = 2;
1707 if (this->reason() != 0) {
1708 ::google::protobuf::internal::WireFormatLite::WriteEnum(
1709 2, this->reason(), output);
1710 }
1711
1712 // .dmi.Hardware inventory = 3;
1713 if (this->has_inventory()) {
1714 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1715 3, HasBitSetters::inventory(this), output);
1716 }
1717
1718 // string reason_detail = 4;
1719 if (this->reason_detail().size() > 0) {
1720 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1721 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
1722 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1723 "dmi.PhysicalInventoryResponse.reason_detail");
1724 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
1725 4, this->reason_detail(), output);
1726 }
1727
1728 if (_internal_metadata_.have_unknown_fields()) {
1729 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1730 _internal_metadata_.unknown_fields(), output);
1731 }
1732 // @@protoc_insertion_point(serialize_end:dmi.PhysicalInventoryResponse)
1733}
1734
1735::google::protobuf::uint8* PhysicalInventoryResponse::InternalSerializeWithCachedSizesToArray(
1736 ::google::protobuf::uint8* target) const {
1737 // @@protoc_insertion_point(serialize_to_array_start:dmi.PhysicalInventoryResponse)
1738 ::google::protobuf::uint32 cached_has_bits = 0;
1739 (void) cached_has_bits;
1740
1741 // .dmi.Status status = 1;
1742 if (this->status() != 0) {
1743 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
1744 1, this->status(), target);
1745 }
1746
1747 // .dmi.PhysicalInventoryResponse.Reason reason = 2;
1748 if (this->reason() != 0) {
1749 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
1750 2, this->reason(), target);
1751 }
1752
1753 // .dmi.Hardware inventory = 3;
1754 if (this->has_inventory()) {
1755 target = ::google::protobuf::internal::WireFormatLite::
1756 InternalWriteMessageToArray(
1757 3, HasBitSetters::inventory(this), target);
1758 }
1759
1760 // string reason_detail = 4;
1761 if (this->reason_detail().size() > 0) {
1762 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1763 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
1764 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1765 "dmi.PhysicalInventoryResponse.reason_detail");
1766 target =
1767 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
1768 4, this->reason_detail(), target);
1769 }
1770
1771 if (_internal_metadata_.have_unknown_fields()) {
1772 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1773 _internal_metadata_.unknown_fields(), target);
1774 }
1775 // @@protoc_insertion_point(serialize_to_array_end:dmi.PhysicalInventoryResponse)
1776 return target;
1777}
1778
1779size_t PhysicalInventoryResponse::ByteSizeLong() const {
1780// @@protoc_insertion_point(message_byte_size_start:dmi.PhysicalInventoryResponse)
1781 size_t total_size = 0;
1782
1783 if (_internal_metadata_.have_unknown_fields()) {
1784 total_size +=
1785 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1786 _internal_metadata_.unknown_fields());
1787 }
1788 ::google::protobuf::uint32 cached_has_bits = 0;
1789 // Prevent compiler warnings about cached_has_bits being unused
1790 (void) cached_has_bits;
1791
1792 // string reason_detail = 4;
1793 if (this->reason_detail().size() > 0) {
1794 total_size += 1 +
1795 ::google::protobuf::internal::WireFormatLite::StringSize(
1796 this->reason_detail());
1797 }
1798
1799 // .dmi.Hardware inventory = 3;
1800 if (this->has_inventory()) {
1801 total_size += 1 +
1802 ::google::protobuf::internal::WireFormatLite::MessageSize(
1803 *inventory_);
1804 }
1805
1806 // .dmi.Status status = 1;
1807 if (this->status() != 0) {
1808 total_size += 1 +
1809 ::google::protobuf::internal::WireFormatLite::EnumSize(this->status());
1810 }
1811
1812 // .dmi.PhysicalInventoryResponse.Reason reason = 2;
1813 if (this->reason() != 0) {
1814 total_size += 1 +
1815 ::google::protobuf::internal::WireFormatLite::EnumSize(this->reason());
1816 }
1817
1818 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
1819 SetCachedSize(cached_size);
1820 return total_size;
1821}
1822
1823void PhysicalInventoryResponse::MergeFrom(const ::google::protobuf::Message& from) {
1824// @@protoc_insertion_point(generalized_merge_from_start:dmi.PhysicalInventoryResponse)
1825 GOOGLE_DCHECK_NE(&from, this);
1826 const PhysicalInventoryResponse* source =
1827 ::google::protobuf::DynamicCastToGenerated<PhysicalInventoryResponse>(
1828 &from);
1829 if (source == nullptr) {
1830 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.PhysicalInventoryResponse)
1831 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1832 } else {
1833 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.PhysicalInventoryResponse)
1834 MergeFrom(*source);
1835 }
1836}
1837
1838void PhysicalInventoryResponse::MergeFrom(const PhysicalInventoryResponse& from) {
1839// @@protoc_insertion_point(class_specific_merge_from_start:dmi.PhysicalInventoryResponse)
1840 GOOGLE_DCHECK_NE(&from, this);
1841 _internal_metadata_.MergeFrom(from._internal_metadata_);
1842 ::google::protobuf::uint32 cached_has_bits = 0;
1843 (void) cached_has_bits;
1844
1845 if (from.reason_detail().size() > 0) {
1846
1847 reason_detail_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_detail_);
1848 }
1849 if (from.has_inventory()) {
1850 mutable_inventory()->::dmi::Hardware::MergeFrom(from.inventory());
1851 }
1852 if (from.status() != 0) {
1853 set_status(from.status());
1854 }
1855 if (from.reason() != 0) {
1856 set_reason(from.reason());
1857 }
1858}
1859
1860void PhysicalInventoryResponse::CopyFrom(const ::google::protobuf::Message& from) {
1861// @@protoc_insertion_point(generalized_copy_from_start:dmi.PhysicalInventoryResponse)
1862 if (&from == this) return;
1863 Clear();
1864 MergeFrom(from);
1865}
1866
1867void PhysicalInventoryResponse::CopyFrom(const PhysicalInventoryResponse& from) {
1868// @@protoc_insertion_point(class_specific_copy_from_start:dmi.PhysicalInventoryResponse)
1869 if (&from == this) return;
1870 Clear();
1871 MergeFrom(from);
1872}
1873
1874bool PhysicalInventoryResponse::IsInitialized() const {
1875 return true;
1876}
1877
1878void PhysicalInventoryResponse::Swap(PhysicalInventoryResponse* other) {
1879 if (other == this) return;
1880 InternalSwap(other);
1881}
1882void PhysicalInventoryResponse::InternalSwap(PhysicalInventoryResponse* other) {
1883 using std::swap;
1884 _internal_metadata_.Swap(&other->_internal_metadata_);
1885 reason_detail_.Swap(&other->reason_detail_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1886 GetArenaNoVirtual());
1887 swap(inventory_, other->inventory_);
1888 swap(status_, other->status_);
1889 swap(reason_, other->reason_);
1890}
1891
1892::google::protobuf::Metadata PhysicalInventoryResponse::GetMetadata() const {
1893 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
1894 return ::file_level_metadata_dmi_2fhw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
1895}
1896
1897
1898// ===================================================================
1899
1900void HWComponentInfoGetRequest::InitAsDefaultInstance() {
1901 ::dmi::_HWComponentInfoGetRequest_default_instance_._instance.get_mutable()->device_uuid_ = const_cast< ::dmi::Uuid*>(
1902 ::dmi::Uuid::internal_default_instance());
1903 ::dmi::_HWComponentInfoGetRequest_default_instance_._instance.get_mutable()->component_uuid_ = const_cast< ::dmi::Uuid*>(
1904 ::dmi::Uuid::internal_default_instance());
1905}
1906class HWComponentInfoGetRequest::HasBitSetters {
1907 public:
1908 static const ::dmi::Uuid& device_uuid(const HWComponentInfoGetRequest* msg);
1909 static const ::dmi::Uuid& component_uuid(const HWComponentInfoGetRequest* msg);
1910};
1911
1912const ::dmi::Uuid&
1913HWComponentInfoGetRequest::HasBitSetters::device_uuid(const HWComponentInfoGetRequest* msg) {
1914 return *msg->device_uuid_;
1915}
1916const ::dmi::Uuid&
1917HWComponentInfoGetRequest::HasBitSetters::component_uuid(const HWComponentInfoGetRequest* msg) {
1918 return *msg->component_uuid_;
1919}
1920void HWComponentInfoGetRequest::clear_device_uuid() {
1921 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
1922 delete device_uuid_;
1923 }
1924 device_uuid_ = nullptr;
1925}
1926void HWComponentInfoGetRequest::clear_component_uuid() {
1927 if (GetArenaNoVirtual() == nullptr && component_uuid_ != nullptr) {
1928 delete component_uuid_;
1929 }
1930 component_uuid_ = nullptr;
1931}
1932#if !defined(_MSC_VER) || _MSC_VER >= 1900
1933const int HWComponentInfoGetRequest::kDeviceUuidFieldNumber;
1934const int HWComponentInfoGetRequest::kComponentUuidFieldNumber;
1935const int HWComponentInfoGetRequest::kComponentNameFieldNumber;
1936#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
1937
1938HWComponentInfoGetRequest::HWComponentInfoGetRequest()
1939 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
1940 SharedCtor();
1941 // @@protoc_insertion_point(constructor:dmi.HWComponentInfoGetRequest)
1942}
1943HWComponentInfoGetRequest::HWComponentInfoGetRequest(const HWComponentInfoGetRequest& from)
1944 : ::google::protobuf::Message(),
1945 _internal_metadata_(nullptr) {
1946 _internal_metadata_.MergeFrom(from._internal_metadata_);
1947 component_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1948 if (from.component_name().size() > 0) {
1949 component_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.component_name_);
1950 }
1951 if (from.has_device_uuid()) {
1952 device_uuid_ = new ::dmi::Uuid(*from.device_uuid_);
1953 } else {
1954 device_uuid_ = nullptr;
1955 }
1956 if (from.has_component_uuid()) {
1957 component_uuid_ = new ::dmi::Uuid(*from.component_uuid_);
1958 } else {
1959 component_uuid_ = nullptr;
1960 }
1961 // @@protoc_insertion_point(copy_constructor:dmi.HWComponentInfoGetRequest)
1962}
1963
1964void HWComponentInfoGetRequest::SharedCtor() {
1965 ::google::protobuf::internal::InitSCC(
1966 &scc_info_HWComponentInfoGetRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
1967 component_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1968 ::memset(&device_uuid_, 0, static_cast<size_t>(
1969 reinterpret_cast<char*>(&component_uuid_) -
1970 reinterpret_cast<char*>(&device_uuid_)) + sizeof(component_uuid_));
1971}
1972
1973HWComponentInfoGetRequest::~HWComponentInfoGetRequest() {
1974 // @@protoc_insertion_point(destructor:dmi.HWComponentInfoGetRequest)
1975 SharedDtor();
1976}
1977
1978void HWComponentInfoGetRequest::SharedDtor() {
1979 component_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1980 if (this != internal_default_instance()) delete device_uuid_;
1981 if (this != internal_default_instance()) delete component_uuid_;
1982}
1983
1984void HWComponentInfoGetRequest::SetCachedSize(int size) const {
1985 _cached_size_.Set(size);
1986}
1987const HWComponentInfoGetRequest& HWComponentInfoGetRequest::default_instance() {
1988 ::google::protobuf::internal::InitSCC(&::scc_info_HWComponentInfoGetRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
1989 return *internal_default_instance();
1990}
1991
1992
1993void HWComponentInfoGetRequest::Clear() {
1994// @@protoc_insertion_point(message_clear_start:dmi.HWComponentInfoGetRequest)
1995 ::google::protobuf::uint32 cached_has_bits = 0;
1996 // Prevent compiler warnings about cached_has_bits being unused
1997 (void) cached_has_bits;
1998
1999 component_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2000 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
2001 delete device_uuid_;
2002 }
2003 device_uuid_ = nullptr;
2004 if (GetArenaNoVirtual() == nullptr && component_uuid_ != nullptr) {
2005 delete component_uuid_;
2006 }
2007 component_uuid_ = nullptr;
2008 _internal_metadata_.Clear();
2009}
2010
2011#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2012const char* HWComponentInfoGetRequest::_InternalParse(const char* begin, const char* end, void* object,
2013 ::google::protobuf::internal::ParseContext* ctx) {
2014 auto msg = static_cast<HWComponentInfoGetRequest*>(object);
2015 ::google::protobuf::int32 size; (void)size;
2016 int depth; (void)depth;
2017 ::google::protobuf::uint32 tag;
2018 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
2019 auto ptr = begin;
2020 while (ptr < end) {
2021 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
2022 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
2023 switch (tag >> 3) {
2024 // .dmi.Uuid device_uuid = 1;
2025 case 1: {
2026 if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual;
2027 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
2028 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
2029 parser_till_end = ::dmi::Uuid::_InternalParse;
2030 object = msg->mutable_device_uuid();
2031 if (size > end - ptr) goto len_delim_till_end;
2032 ptr += size;
2033 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
2034 {parser_till_end, object}, ptr - size, ptr));
2035 break;
2036 }
2037 // .dmi.Uuid component_uuid = 2;
2038 case 2: {
2039 if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual;
2040 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
2041 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
2042 parser_till_end = ::dmi::Uuid::_InternalParse;
2043 object = msg->mutable_component_uuid();
2044 if (size > end - ptr) goto len_delim_till_end;
2045 ptr += size;
2046 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
2047 {parser_till_end, object}, ptr - size, ptr));
2048 break;
2049 }
2050 // string component_name = 3;
2051 case 3: {
2052 if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual;
2053 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
2054 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
2055 ctx->extra_parse_data().SetFieldName("dmi.HWComponentInfoGetRequest.component_name");
2056 object = msg->mutable_component_name();
2057 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
2058 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
2059 goto string_till_end;
2060 }
2061 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
2062 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
2063 ptr += size;
2064 break;
2065 }
2066 default: {
2067 handle_unusual:
2068 if ((tag & 7) == 4 || tag == 0) {
2069 ctx->EndGroup(tag);
2070 return ptr;
2071 }
2072 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
2073 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
2074 ptr = res.first;
2075 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
2076 if (res.second) return ptr;
2077 }
2078 } // switch
2079 } // while
2080 return ptr;
2081string_till_end:
2082 static_cast<::std::string*>(object)->clear();
2083 static_cast<::std::string*>(object)->reserve(size);
2084 goto len_delim_till_end;
2085len_delim_till_end:
2086 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
2087 {parser_till_end, object}, size);
2088}
2089#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2090bool HWComponentInfoGetRequest::MergePartialFromCodedStream(
2091 ::google::protobuf::io::CodedInputStream* input) {
2092#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
2093 ::google::protobuf::uint32 tag;
2094 // @@protoc_insertion_point(parse_start:dmi.HWComponentInfoGetRequest)
2095 for (;;) {
2096 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
2097 tag = p.first;
2098 if (!p.second) goto handle_unusual;
2099 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2100 // .dmi.Uuid device_uuid = 1;
2101 case 1: {
2102 if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) {
2103 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
2104 input, mutable_device_uuid()));
2105 } else {
2106 goto handle_unusual;
2107 }
2108 break;
2109 }
2110
2111 // .dmi.Uuid component_uuid = 2;
2112 case 2: {
2113 if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) {
2114 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
2115 input, mutable_component_uuid()));
2116 } else {
2117 goto handle_unusual;
2118 }
2119 break;
2120 }
2121
2122 // string component_name = 3;
2123 case 3: {
2124 if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) {
2125 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
2126 input, this->mutable_component_name()));
2127 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2128 this->component_name().data(), static_cast<int>(this->component_name().length()),
2129 ::google::protobuf::internal::WireFormatLite::PARSE,
2130 "dmi.HWComponentInfoGetRequest.component_name"));
2131 } else {
2132 goto handle_unusual;
2133 }
2134 break;
2135 }
2136
2137 default: {
2138 handle_unusual:
2139 if (tag == 0) {
2140 goto success;
2141 }
2142 DO_(::google::protobuf::internal::WireFormat::SkipField(
2143 input, tag, _internal_metadata_.mutable_unknown_fields()));
2144 break;
2145 }
2146 }
2147 }
2148success:
2149 // @@protoc_insertion_point(parse_success:dmi.HWComponentInfoGetRequest)
2150 return true;
2151failure:
2152 // @@protoc_insertion_point(parse_failure:dmi.HWComponentInfoGetRequest)
2153 return false;
2154#undef DO_
2155}
2156#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2157
2158void HWComponentInfoGetRequest::SerializeWithCachedSizes(
2159 ::google::protobuf::io::CodedOutputStream* output) const {
2160 // @@protoc_insertion_point(serialize_start:dmi.HWComponentInfoGetRequest)
2161 ::google::protobuf::uint32 cached_has_bits = 0;
2162 (void) cached_has_bits;
2163
2164 // .dmi.Uuid device_uuid = 1;
2165 if (this->has_device_uuid()) {
2166 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2167 1, HasBitSetters::device_uuid(this), output);
2168 }
2169
2170 // .dmi.Uuid component_uuid = 2;
2171 if (this->has_component_uuid()) {
2172 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2173 2, HasBitSetters::component_uuid(this), output);
2174 }
2175
2176 // string component_name = 3;
2177 if (this->component_name().size() > 0) {
2178 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2179 this->component_name().data(), static_cast<int>(this->component_name().length()),
2180 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
2181 "dmi.HWComponentInfoGetRequest.component_name");
2182 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
2183 3, this->component_name(), output);
2184 }
2185
2186 if (_internal_metadata_.have_unknown_fields()) {
2187 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2188 _internal_metadata_.unknown_fields(), output);
2189 }
2190 // @@protoc_insertion_point(serialize_end:dmi.HWComponentInfoGetRequest)
2191}
2192
2193::google::protobuf::uint8* HWComponentInfoGetRequest::InternalSerializeWithCachedSizesToArray(
2194 ::google::protobuf::uint8* target) const {
2195 // @@protoc_insertion_point(serialize_to_array_start:dmi.HWComponentInfoGetRequest)
2196 ::google::protobuf::uint32 cached_has_bits = 0;
2197 (void) cached_has_bits;
2198
2199 // .dmi.Uuid device_uuid = 1;
2200 if (this->has_device_uuid()) {
2201 target = ::google::protobuf::internal::WireFormatLite::
2202 InternalWriteMessageToArray(
2203 1, HasBitSetters::device_uuid(this), target);
2204 }
2205
2206 // .dmi.Uuid component_uuid = 2;
2207 if (this->has_component_uuid()) {
2208 target = ::google::protobuf::internal::WireFormatLite::
2209 InternalWriteMessageToArray(
2210 2, HasBitSetters::component_uuid(this), target);
2211 }
2212
2213 // string component_name = 3;
2214 if (this->component_name().size() > 0) {
2215 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2216 this->component_name().data(), static_cast<int>(this->component_name().length()),
2217 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
2218 "dmi.HWComponentInfoGetRequest.component_name");
2219 target =
2220 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
2221 3, this->component_name(), target);
2222 }
2223
2224 if (_internal_metadata_.have_unknown_fields()) {
2225 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
2226 _internal_metadata_.unknown_fields(), target);
2227 }
2228 // @@protoc_insertion_point(serialize_to_array_end:dmi.HWComponentInfoGetRequest)
2229 return target;
2230}
2231
2232size_t HWComponentInfoGetRequest::ByteSizeLong() const {
2233// @@protoc_insertion_point(message_byte_size_start:dmi.HWComponentInfoGetRequest)
2234 size_t total_size = 0;
2235
2236 if (_internal_metadata_.have_unknown_fields()) {
2237 total_size +=
2238 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
2239 _internal_metadata_.unknown_fields());
2240 }
2241 ::google::protobuf::uint32 cached_has_bits = 0;
2242 // Prevent compiler warnings about cached_has_bits being unused
2243 (void) cached_has_bits;
2244
2245 // string component_name = 3;
2246 if (this->component_name().size() > 0) {
2247 total_size += 1 +
2248 ::google::protobuf::internal::WireFormatLite::StringSize(
2249 this->component_name());
2250 }
2251
2252 // .dmi.Uuid device_uuid = 1;
2253 if (this->has_device_uuid()) {
2254 total_size += 1 +
2255 ::google::protobuf::internal::WireFormatLite::MessageSize(
2256 *device_uuid_);
2257 }
2258
2259 // .dmi.Uuid component_uuid = 2;
2260 if (this->has_component_uuid()) {
2261 total_size += 1 +
2262 ::google::protobuf::internal::WireFormatLite::MessageSize(
2263 *component_uuid_);
2264 }
2265
2266 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
2267 SetCachedSize(cached_size);
2268 return total_size;
2269}
2270
2271void HWComponentInfoGetRequest::MergeFrom(const ::google::protobuf::Message& from) {
2272// @@protoc_insertion_point(generalized_merge_from_start:dmi.HWComponentInfoGetRequest)
2273 GOOGLE_DCHECK_NE(&from, this);
2274 const HWComponentInfoGetRequest* source =
2275 ::google::protobuf::DynamicCastToGenerated<HWComponentInfoGetRequest>(
2276 &from);
2277 if (source == nullptr) {
2278 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.HWComponentInfoGetRequest)
2279 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2280 } else {
2281 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.HWComponentInfoGetRequest)
2282 MergeFrom(*source);
2283 }
2284}
2285
2286void HWComponentInfoGetRequest::MergeFrom(const HWComponentInfoGetRequest& from) {
2287// @@protoc_insertion_point(class_specific_merge_from_start:dmi.HWComponentInfoGetRequest)
2288 GOOGLE_DCHECK_NE(&from, this);
2289 _internal_metadata_.MergeFrom(from._internal_metadata_);
2290 ::google::protobuf::uint32 cached_has_bits = 0;
2291 (void) cached_has_bits;
2292
2293 if (from.component_name().size() > 0) {
2294
2295 component_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.component_name_);
2296 }
2297 if (from.has_device_uuid()) {
2298 mutable_device_uuid()->::dmi::Uuid::MergeFrom(from.device_uuid());
2299 }
2300 if (from.has_component_uuid()) {
2301 mutable_component_uuid()->::dmi::Uuid::MergeFrom(from.component_uuid());
2302 }
2303}
2304
2305void HWComponentInfoGetRequest::CopyFrom(const ::google::protobuf::Message& from) {
2306// @@protoc_insertion_point(generalized_copy_from_start:dmi.HWComponentInfoGetRequest)
2307 if (&from == this) return;
2308 Clear();
2309 MergeFrom(from);
2310}
2311
2312void HWComponentInfoGetRequest::CopyFrom(const HWComponentInfoGetRequest& from) {
2313// @@protoc_insertion_point(class_specific_copy_from_start:dmi.HWComponentInfoGetRequest)
2314 if (&from == this) return;
2315 Clear();
2316 MergeFrom(from);
2317}
2318
2319bool HWComponentInfoGetRequest::IsInitialized() const {
2320 return true;
2321}
2322
2323void HWComponentInfoGetRequest::Swap(HWComponentInfoGetRequest* other) {
2324 if (other == this) return;
2325 InternalSwap(other);
2326}
2327void HWComponentInfoGetRequest::InternalSwap(HWComponentInfoGetRequest* other) {
2328 using std::swap;
2329 _internal_metadata_.Swap(&other->_internal_metadata_);
2330 component_name_.Swap(&other->component_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2331 GetArenaNoVirtual());
2332 swap(device_uuid_, other->device_uuid_);
2333 swap(component_uuid_, other->component_uuid_);
2334}
2335
2336::google::protobuf::Metadata HWComponentInfoGetRequest::GetMetadata() const {
2337 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
2338 return ::file_level_metadata_dmi_2fhw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
2339}
2340
2341
2342// ===================================================================
2343
2344void HWComponentInfoGetResponse::InitAsDefaultInstance() {
2345 ::dmi::_HWComponentInfoGetResponse_default_instance_._instance.get_mutable()->component_ = const_cast< ::dmi::Component*>(
2346 ::dmi::Component::internal_default_instance());
2347}
2348class HWComponentInfoGetResponse::HasBitSetters {
2349 public:
2350 static const ::dmi::Component& component(const HWComponentInfoGetResponse* msg);
2351};
2352
2353const ::dmi::Component&
2354HWComponentInfoGetResponse::HasBitSetters::component(const HWComponentInfoGetResponse* msg) {
2355 return *msg->component_;
2356}
2357void HWComponentInfoGetResponse::clear_component() {
2358 if (GetArenaNoVirtual() == nullptr && component_ != nullptr) {
2359 delete component_;
2360 }
2361 component_ = nullptr;
2362}
2363#if !defined(_MSC_VER) || _MSC_VER >= 1900
2364const int HWComponentInfoGetResponse::kStatusFieldNumber;
2365const int HWComponentInfoGetResponse::kReasonFieldNumber;
2366const int HWComponentInfoGetResponse::kComponentFieldNumber;
2367const int HWComponentInfoGetResponse::kReasonDetailFieldNumber;
2368#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
2369
2370HWComponentInfoGetResponse::HWComponentInfoGetResponse()
2371 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
2372 SharedCtor();
2373 // @@protoc_insertion_point(constructor:dmi.HWComponentInfoGetResponse)
2374}
2375HWComponentInfoGetResponse::HWComponentInfoGetResponse(const HWComponentInfoGetResponse& from)
2376 : ::google::protobuf::Message(),
2377 _internal_metadata_(nullptr) {
2378 _internal_metadata_.MergeFrom(from._internal_metadata_);
2379 reason_detail_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2380 if (from.reason_detail().size() > 0) {
2381 reason_detail_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_detail_);
2382 }
2383 if (from.has_component()) {
2384 component_ = new ::dmi::Component(*from.component_);
2385 } else {
2386 component_ = nullptr;
2387 }
2388 ::memcpy(&status_, &from.status_,
2389 static_cast<size_t>(reinterpret_cast<char*>(&reason_) -
2390 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
2391 // @@protoc_insertion_point(copy_constructor:dmi.HWComponentInfoGetResponse)
2392}
2393
2394void HWComponentInfoGetResponse::SharedCtor() {
2395 ::google::protobuf::internal::InitSCC(
2396 &scc_info_HWComponentInfoGetResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
2397 reason_detail_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2398 ::memset(&component_, 0, static_cast<size_t>(
2399 reinterpret_cast<char*>(&reason_) -
2400 reinterpret_cast<char*>(&component_)) + sizeof(reason_));
2401}
2402
2403HWComponentInfoGetResponse::~HWComponentInfoGetResponse() {
2404 // @@protoc_insertion_point(destructor:dmi.HWComponentInfoGetResponse)
2405 SharedDtor();
2406}
2407
2408void HWComponentInfoGetResponse::SharedDtor() {
2409 reason_detail_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2410 if (this != internal_default_instance()) delete component_;
2411}
2412
2413void HWComponentInfoGetResponse::SetCachedSize(int size) const {
2414 _cached_size_.Set(size);
2415}
2416const HWComponentInfoGetResponse& HWComponentInfoGetResponse::default_instance() {
2417 ::google::protobuf::internal::InitSCC(&::scc_info_HWComponentInfoGetResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
2418 return *internal_default_instance();
2419}
2420
2421
2422void HWComponentInfoGetResponse::Clear() {
2423// @@protoc_insertion_point(message_clear_start:dmi.HWComponentInfoGetResponse)
2424 ::google::protobuf::uint32 cached_has_bits = 0;
2425 // Prevent compiler warnings about cached_has_bits being unused
2426 (void) cached_has_bits;
2427
2428 reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2429 if (GetArenaNoVirtual() == nullptr && component_ != nullptr) {
2430 delete component_;
2431 }
2432 component_ = nullptr;
2433 ::memset(&status_, 0, static_cast<size_t>(
2434 reinterpret_cast<char*>(&reason_) -
2435 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
2436 _internal_metadata_.Clear();
2437}
2438
2439#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2440const char* HWComponentInfoGetResponse::_InternalParse(const char* begin, const char* end, void* object,
2441 ::google::protobuf::internal::ParseContext* ctx) {
2442 auto msg = static_cast<HWComponentInfoGetResponse*>(object);
2443 ::google::protobuf::int32 size; (void)size;
2444 int depth; (void)depth;
2445 ::google::protobuf::uint32 tag;
2446 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
2447 auto ptr = begin;
2448 while (ptr < end) {
2449 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
2450 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
2451 switch (tag >> 3) {
2452 // .dmi.Status status = 1;
2453 case 1: {
2454 if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual;
2455 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
2456 msg->set_status(static_cast<::dmi::Status>(val));
2457 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
2458 break;
2459 }
2460 // .dmi.HWComponentInfoGetResponse.Reason reason = 2;
2461 case 2: {
2462 if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual;
2463 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
2464 msg->set_reason(static_cast<::dmi::HWComponentInfoGetResponse_Reason>(val));
2465 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
2466 break;
2467 }
2468 // .dmi.Component component = 3;
2469 case 3: {
2470 if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual;
2471 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
2472 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
2473 parser_till_end = ::dmi::Component::_InternalParse;
2474 object = msg->mutable_component();
2475 if (size > end - ptr) goto len_delim_till_end;
2476 ptr += size;
2477 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
2478 {parser_till_end, object}, ptr - size, ptr));
2479 break;
2480 }
2481 // string reason_detail = 4;
2482 case 4: {
2483 if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual;
2484 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
2485 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
2486 ctx->extra_parse_data().SetFieldName("dmi.HWComponentInfoGetResponse.reason_detail");
2487 object = msg->mutable_reason_detail();
2488 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
2489 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
2490 goto string_till_end;
2491 }
2492 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
2493 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
2494 ptr += size;
2495 break;
2496 }
2497 default: {
2498 handle_unusual:
2499 if ((tag & 7) == 4 || tag == 0) {
2500 ctx->EndGroup(tag);
2501 return ptr;
2502 }
2503 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
2504 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
2505 ptr = res.first;
2506 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
2507 if (res.second) return ptr;
2508 }
2509 } // switch
2510 } // while
2511 return ptr;
2512string_till_end:
2513 static_cast<::std::string*>(object)->clear();
2514 static_cast<::std::string*>(object)->reserve(size);
2515 goto len_delim_till_end;
2516len_delim_till_end:
2517 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
2518 {parser_till_end, object}, size);
2519}
2520#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2521bool HWComponentInfoGetResponse::MergePartialFromCodedStream(
2522 ::google::protobuf::io::CodedInputStream* input) {
2523#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
2524 ::google::protobuf::uint32 tag;
2525 // @@protoc_insertion_point(parse_start:dmi.HWComponentInfoGetResponse)
2526 for (;;) {
2527 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
2528 tag = p.first;
2529 if (!p.second) goto handle_unusual;
2530 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2531 // .dmi.Status status = 1;
2532 case 1: {
2533 if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) {
2534 int value = 0;
2535 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2536 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
2537 input, &value)));
2538 set_status(static_cast< ::dmi::Status >(value));
2539 } else {
2540 goto handle_unusual;
2541 }
2542 break;
2543 }
2544
2545 // .dmi.HWComponentInfoGetResponse.Reason reason = 2;
2546 case 2: {
2547 if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) {
2548 int value = 0;
2549 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2550 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
2551 input, &value)));
2552 set_reason(static_cast< ::dmi::HWComponentInfoGetResponse_Reason >(value));
2553 } else {
2554 goto handle_unusual;
2555 }
2556 break;
2557 }
2558
2559 // .dmi.Component component = 3;
2560 case 3: {
2561 if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) {
2562 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
2563 input, mutable_component()));
2564 } else {
2565 goto handle_unusual;
2566 }
2567 break;
2568 }
2569
2570 // string reason_detail = 4;
2571 case 4: {
2572 if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) {
2573 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
2574 input, this->mutable_reason_detail()));
2575 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2576 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
2577 ::google::protobuf::internal::WireFormatLite::PARSE,
2578 "dmi.HWComponentInfoGetResponse.reason_detail"));
2579 } else {
2580 goto handle_unusual;
2581 }
2582 break;
2583 }
2584
2585 default: {
2586 handle_unusual:
2587 if (tag == 0) {
2588 goto success;
2589 }
2590 DO_(::google::protobuf::internal::WireFormat::SkipField(
2591 input, tag, _internal_metadata_.mutable_unknown_fields()));
2592 break;
2593 }
2594 }
2595 }
2596success:
2597 // @@protoc_insertion_point(parse_success:dmi.HWComponentInfoGetResponse)
2598 return true;
2599failure:
2600 // @@protoc_insertion_point(parse_failure:dmi.HWComponentInfoGetResponse)
2601 return false;
2602#undef DO_
2603}
2604#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2605
2606void HWComponentInfoGetResponse::SerializeWithCachedSizes(
2607 ::google::protobuf::io::CodedOutputStream* output) const {
2608 // @@protoc_insertion_point(serialize_start:dmi.HWComponentInfoGetResponse)
2609 ::google::protobuf::uint32 cached_has_bits = 0;
2610 (void) cached_has_bits;
2611
2612 // .dmi.Status status = 1;
2613 if (this->status() != 0) {
2614 ::google::protobuf::internal::WireFormatLite::WriteEnum(
2615 1, this->status(), output);
2616 }
2617
2618 // .dmi.HWComponentInfoGetResponse.Reason reason = 2;
2619 if (this->reason() != 0) {
2620 ::google::protobuf::internal::WireFormatLite::WriteEnum(
2621 2, this->reason(), output);
2622 }
2623
2624 // .dmi.Component component = 3;
2625 if (this->has_component()) {
2626 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2627 3, HasBitSetters::component(this), output);
2628 }
2629
2630 // string reason_detail = 4;
2631 if (this->reason_detail().size() > 0) {
2632 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2633 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
2634 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
2635 "dmi.HWComponentInfoGetResponse.reason_detail");
2636 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
2637 4, this->reason_detail(), output);
2638 }
2639
2640 if (_internal_metadata_.have_unknown_fields()) {
2641 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2642 _internal_metadata_.unknown_fields(), output);
2643 }
2644 // @@protoc_insertion_point(serialize_end:dmi.HWComponentInfoGetResponse)
2645}
2646
2647::google::protobuf::uint8* HWComponentInfoGetResponse::InternalSerializeWithCachedSizesToArray(
2648 ::google::protobuf::uint8* target) const {
2649 // @@protoc_insertion_point(serialize_to_array_start:dmi.HWComponentInfoGetResponse)
2650 ::google::protobuf::uint32 cached_has_bits = 0;
2651 (void) cached_has_bits;
2652
2653 // .dmi.Status status = 1;
2654 if (this->status() != 0) {
2655 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
2656 1, this->status(), target);
2657 }
2658
2659 // .dmi.HWComponentInfoGetResponse.Reason reason = 2;
2660 if (this->reason() != 0) {
2661 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
2662 2, this->reason(), target);
2663 }
2664
2665 // .dmi.Component component = 3;
2666 if (this->has_component()) {
2667 target = ::google::protobuf::internal::WireFormatLite::
2668 InternalWriteMessageToArray(
2669 3, HasBitSetters::component(this), target);
2670 }
2671
2672 // string reason_detail = 4;
2673 if (this->reason_detail().size() > 0) {
2674 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2675 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
2676 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
2677 "dmi.HWComponentInfoGetResponse.reason_detail");
2678 target =
2679 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
2680 4, this->reason_detail(), target);
2681 }
2682
2683 if (_internal_metadata_.have_unknown_fields()) {
2684 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
2685 _internal_metadata_.unknown_fields(), target);
2686 }
2687 // @@protoc_insertion_point(serialize_to_array_end:dmi.HWComponentInfoGetResponse)
2688 return target;
2689}
2690
2691size_t HWComponentInfoGetResponse::ByteSizeLong() const {
2692// @@protoc_insertion_point(message_byte_size_start:dmi.HWComponentInfoGetResponse)
2693 size_t total_size = 0;
2694
2695 if (_internal_metadata_.have_unknown_fields()) {
2696 total_size +=
2697 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
2698 _internal_metadata_.unknown_fields());
2699 }
2700 ::google::protobuf::uint32 cached_has_bits = 0;
2701 // Prevent compiler warnings about cached_has_bits being unused
2702 (void) cached_has_bits;
2703
2704 // string reason_detail = 4;
2705 if (this->reason_detail().size() > 0) {
2706 total_size += 1 +
2707 ::google::protobuf::internal::WireFormatLite::StringSize(
2708 this->reason_detail());
2709 }
2710
2711 // .dmi.Component component = 3;
2712 if (this->has_component()) {
2713 total_size += 1 +
2714 ::google::protobuf::internal::WireFormatLite::MessageSize(
2715 *component_);
2716 }
2717
2718 // .dmi.Status status = 1;
2719 if (this->status() != 0) {
2720 total_size += 1 +
2721 ::google::protobuf::internal::WireFormatLite::EnumSize(this->status());
2722 }
2723
2724 // .dmi.HWComponentInfoGetResponse.Reason reason = 2;
2725 if (this->reason() != 0) {
2726 total_size += 1 +
2727 ::google::protobuf::internal::WireFormatLite::EnumSize(this->reason());
2728 }
2729
2730 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
2731 SetCachedSize(cached_size);
2732 return total_size;
2733}
2734
2735void HWComponentInfoGetResponse::MergeFrom(const ::google::protobuf::Message& from) {
2736// @@protoc_insertion_point(generalized_merge_from_start:dmi.HWComponentInfoGetResponse)
2737 GOOGLE_DCHECK_NE(&from, this);
2738 const HWComponentInfoGetResponse* source =
2739 ::google::protobuf::DynamicCastToGenerated<HWComponentInfoGetResponse>(
2740 &from);
2741 if (source == nullptr) {
2742 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.HWComponentInfoGetResponse)
2743 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2744 } else {
2745 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.HWComponentInfoGetResponse)
2746 MergeFrom(*source);
2747 }
2748}
2749
2750void HWComponentInfoGetResponse::MergeFrom(const HWComponentInfoGetResponse& from) {
2751// @@protoc_insertion_point(class_specific_merge_from_start:dmi.HWComponentInfoGetResponse)
2752 GOOGLE_DCHECK_NE(&from, this);
2753 _internal_metadata_.MergeFrom(from._internal_metadata_);
2754 ::google::protobuf::uint32 cached_has_bits = 0;
2755 (void) cached_has_bits;
2756
2757 if (from.reason_detail().size() > 0) {
2758
2759 reason_detail_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_detail_);
2760 }
2761 if (from.has_component()) {
2762 mutable_component()->::dmi::Component::MergeFrom(from.component());
2763 }
2764 if (from.status() != 0) {
2765 set_status(from.status());
2766 }
2767 if (from.reason() != 0) {
2768 set_reason(from.reason());
2769 }
2770}
2771
2772void HWComponentInfoGetResponse::CopyFrom(const ::google::protobuf::Message& from) {
2773// @@protoc_insertion_point(generalized_copy_from_start:dmi.HWComponentInfoGetResponse)
2774 if (&from == this) return;
2775 Clear();
2776 MergeFrom(from);
2777}
2778
2779void HWComponentInfoGetResponse::CopyFrom(const HWComponentInfoGetResponse& from) {
2780// @@protoc_insertion_point(class_specific_copy_from_start:dmi.HWComponentInfoGetResponse)
2781 if (&from == this) return;
2782 Clear();
2783 MergeFrom(from);
2784}
2785
2786bool HWComponentInfoGetResponse::IsInitialized() const {
2787 return true;
2788}
2789
2790void HWComponentInfoGetResponse::Swap(HWComponentInfoGetResponse* other) {
2791 if (other == this) return;
2792 InternalSwap(other);
2793}
2794void HWComponentInfoGetResponse::InternalSwap(HWComponentInfoGetResponse* other) {
2795 using std::swap;
2796 _internal_metadata_.Swap(&other->_internal_metadata_);
2797 reason_detail_.Swap(&other->reason_detail_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2798 GetArenaNoVirtual());
2799 swap(component_, other->component_);
2800 swap(status_, other->status_);
2801 swap(reason_, other->reason_);
2802}
2803
2804::google::protobuf::Metadata HWComponentInfoGetResponse::GetMetadata() const {
2805 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
2806 return ::file_level_metadata_dmi_2fhw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
2807}
2808
2809
2810// ===================================================================
2811
2812void HWComponentInfoSetRequest::InitAsDefaultInstance() {
2813 ::dmi::_HWComponentInfoSetRequest_default_instance_._instance.get_mutable()->device_uuid_ = const_cast< ::dmi::Uuid*>(
2814 ::dmi::Uuid::internal_default_instance());
2815 ::dmi::_HWComponentInfoSetRequest_default_instance_._instance.get_mutable()->component_uuid_ = const_cast< ::dmi::Uuid*>(
2816 ::dmi::Uuid::internal_default_instance());
2817 ::dmi::_HWComponentInfoSetRequest_default_instance_._instance.get_mutable()->changes_ = const_cast< ::dmi::ModifiableComponent*>(
2818 ::dmi::ModifiableComponent::internal_default_instance());
2819}
2820class HWComponentInfoSetRequest::HasBitSetters {
2821 public:
2822 static const ::dmi::Uuid& device_uuid(const HWComponentInfoSetRequest* msg);
2823 static const ::dmi::Uuid& component_uuid(const HWComponentInfoSetRequest* msg);
2824 static const ::dmi::ModifiableComponent& changes(const HWComponentInfoSetRequest* msg);
2825};
2826
2827const ::dmi::Uuid&
2828HWComponentInfoSetRequest::HasBitSetters::device_uuid(const HWComponentInfoSetRequest* msg) {
2829 return *msg->device_uuid_;
2830}
2831const ::dmi::Uuid&
2832HWComponentInfoSetRequest::HasBitSetters::component_uuid(const HWComponentInfoSetRequest* msg) {
2833 return *msg->component_uuid_;
2834}
2835const ::dmi::ModifiableComponent&
2836HWComponentInfoSetRequest::HasBitSetters::changes(const HWComponentInfoSetRequest* msg) {
2837 return *msg->changes_;
2838}
2839void HWComponentInfoSetRequest::clear_device_uuid() {
2840 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
2841 delete device_uuid_;
2842 }
2843 device_uuid_ = nullptr;
2844}
2845void HWComponentInfoSetRequest::clear_component_uuid() {
2846 if (GetArenaNoVirtual() == nullptr && component_uuid_ != nullptr) {
2847 delete component_uuid_;
2848 }
2849 component_uuid_ = nullptr;
2850}
2851void HWComponentInfoSetRequest::clear_changes() {
2852 if (GetArenaNoVirtual() == nullptr && changes_ != nullptr) {
2853 delete changes_;
2854 }
2855 changes_ = nullptr;
2856}
2857#if !defined(_MSC_VER) || _MSC_VER >= 1900
2858const int HWComponentInfoSetRequest::kDeviceUuidFieldNumber;
2859const int HWComponentInfoSetRequest::kComponentUuidFieldNumber;
2860const int HWComponentInfoSetRequest::kComponentNameFieldNumber;
2861const int HWComponentInfoSetRequest::kChangesFieldNumber;
2862#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
2863
2864HWComponentInfoSetRequest::HWComponentInfoSetRequest()
2865 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
2866 SharedCtor();
2867 // @@protoc_insertion_point(constructor:dmi.HWComponentInfoSetRequest)
2868}
2869HWComponentInfoSetRequest::HWComponentInfoSetRequest(const HWComponentInfoSetRequest& from)
2870 : ::google::protobuf::Message(),
2871 _internal_metadata_(nullptr) {
2872 _internal_metadata_.MergeFrom(from._internal_metadata_);
2873 component_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2874 if (from.component_name().size() > 0) {
2875 component_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.component_name_);
2876 }
2877 if (from.has_device_uuid()) {
2878 device_uuid_ = new ::dmi::Uuid(*from.device_uuid_);
2879 } else {
2880 device_uuid_ = nullptr;
2881 }
2882 if (from.has_component_uuid()) {
2883 component_uuid_ = new ::dmi::Uuid(*from.component_uuid_);
2884 } else {
2885 component_uuid_ = nullptr;
2886 }
2887 if (from.has_changes()) {
2888 changes_ = new ::dmi::ModifiableComponent(*from.changes_);
2889 } else {
2890 changes_ = nullptr;
2891 }
2892 // @@protoc_insertion_point(copy_constructor:dmi.HWComponentInfoSetRequest)
2893}
2894
2895void HWComponentInfoSetRequest::SharedCtor() {
2896 ::google::protobuf::internal::InitSCC(
2897 &scc_info_HWComponentInfoSetRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
2898 component_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2899 ::memset(&device_uuid_, 0, static_cast<size_t>(
2900 reinterpret_cast<char*>(&changes_) -
2901 reinterpret_cast<char*>(&device_uuid_)) + sizeof(changes_));
2902}
2903
2904HWComponentInfoSetRequest::~HWComponentInfoSetRequest() {
2905 // @@protoc_insertion_point(destructor:dmi.HWComponentInfoSetRequest)
2906 SharedDtor();
2907}
2908
2909void HWComponentInfoSetRequest::SharedDtor() {
2910 component_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2911 if (this != internal_default_instance()) delete device_uuid_;
2912 if (this != internal_default_instance()) delete component_uuid_;
2913 if (this != internal_default_instance()) delete changes_;
2914}
2915
2916void HWComponentInfoSetRequest::SetCachedSize(int size) const {
2917 _cached_size_.Set(size);
2918}
2919const HWComponentInfoSetRequest& HWComponentInfoSetRequest::default_instance() {
2920 ::google::protobuf::internal::InitSCC(&::scc_info_HWComponentInfoSetRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
2921 return *internal_default_instance();
2922}
2923
2924
2925void HWComponentInfoSetRequest::Clear() {
2926// @@protoc_insertion_point(message_clear_start:dmi.HWComponentInfoSetRequest)
2927 ::google::protobuf::uint32 cached_has_bits = 0;
2928 // Prevent compiler warnings about cached_has_bits being unused
2929 (void) cached_has_bits;
2930
2931 component_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2932 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
2933 delete device_uuid_;
2934 }
2935 device_uuid_ = nullptr;
2936 if (GetArenaNoVirtual() == nullptr && component_uuid_ != nullptr) {
2937 delete component_uuid_;
2938 }
2939 component_uuid_ = nullptr;
2940 if (GetArenaNoVirtual() == nullptr && changes_ != nullptr) {
2941 delete changes_;
2942 }
2943 changes_ = nullptr;
2944 _internal_metadata_.Clear();
2945}
2946
2947#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2948const char* HWComponentInfoSetRequest::_InternalParse(const char* begin, const char* end, void* object,
2949 ::google::protobuf::internal::ParseContext* ctx) {
2950 auto msg = static_cast<HWComponentInfoSetRequest*>(object);
2951 ::google::protobuf::int32 size; (void)size;
2952 int depth; (void)depth;
2953 ::google::protobuf::uint32 tag;
2954 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
2955 auto ptr = begin;
2956 while (ptr < end) {
2957 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
2958 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
2959 switch (tag >> 3) {
2960 // .dmi.Uuid device_uuid = 1;
2961 case 1: {
2962 if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual;
2963 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
2964 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
2965 parser_till_end = ::dmi::Uuid::_InternalParse;
2966 object = msg->mutable_device_uuid();
2967 if (size > end - ptr) goto len_delim_till_end;
2968 ptr += size;
2969 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
2970 {parser_till_end, object}, ptr - size, ptr));
2971 break;
2972 }
2973 // .dmi.Uuid component_uuid = 2;
2974 case 2: {
2975 if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual;
2976 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
2977 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
2978 parser_till_end = ::dmi::Uuid::_InternalParse;
2979 object = msg->mutable_component_uuid();
2980 if (size > end - ptr) goto len_delim_till_end;
2981 ptr += size;
2982 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
2983 {parser_till_end, object}, ptr - size, ptr));
2984 break;
2985 }
2986 // string component_name = 3;
2987 case 3: {
2988 if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual;
2989 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
2990 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
2991 ctx->extra_parse_data().SetFieldName("dmi.HWComponentInfoSetRequest.component_name");
2992 object = msg->mutable_component_name();
2993 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
2994 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
2995 goto string_till_end;
2996 }
2997 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
2998 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
2999 ptr += size;
3000 break;
3001 }
3002 // .dmi.ModifiableComponent changes = 4;
3003 case 4: {
3004 if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual;
3005 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
3006 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
3007 parser_till_end = ::dmi::ModifiableComponent::_InternalParse;
3008 object = msg->mutable_changes();
3009 if (size > end - ptr) goto len_delim_till_end;
3010 ptr += size;
3011 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
3012 {parser_till_end, object}, ptr - size, ptr));
3013 break;
3014 }
3015 default: {
3016 handle_unusual:
3017 if ((tag & 7) == 4 || tag == 0) {
3018 ctx->EndGroup(tag);
3019 return ptr;
3020 }
3021 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
3022 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
3023 ptr = res.first;
3024 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
3025 if (res.second) return ptr;
3026 }
3027 } // switch
3028 } // while
3029 return ptr;
3030string_till_end:
3031 static_cast<::std::string*>(object)->clear();
3032 static_cast<::std::string*>(object)->reserve(size);
3033 goto len_delim_till_end;
3034len_delim_till_end:
3035 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
3036 {parser_till_end, object}, size);
3037}
3038#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3039bool HWComponentInfoSetRequest::MergePartialFromCodedStream(
3040 ::google::protobuf::io::CodedInputStream* input) {
3041#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
3042 ::google::protobuf::uint32 tag;
3043 // @@protoc_insertion_point(parse_start:dmi.HWComponentInfoSetRequest)
3044 for (;;) {
3045 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3046 tag = p.first;
3047 if (!p.second) goto handle_unusual;
3048 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3049 // .dmi.Uuid device_uuid = 1;
3050 case 1: {
3051 if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) {
3052 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3053 input, mutable_device_uuid()));
3054 } else {
3055 goto handle_unusual;
3056 }
3057 break;
3058 }
3059
3060 // .dmi.Uuid component_uuid = 2;
3061 case 2: {
3062 if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) {
3063 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3064 input, mutable_component_uuid()));
3065 } else {
3066 goto handle_unusual;
3067 }
3068 break;
3069 }
3070
3071 // string component_name = 3;
3072 case 3: {
3073 if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) {
3074 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
3075 input, this->mutable_component_name()));
3076 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3077 this->component_name().data(), static_cast<int>(this->component_name().length()),
3078 ::google::protobuf::internal::WireFormatLite::PARSE,
3079 "dmi.HWComponentInfoSetRequest.component_name"));
3080 } else {
3081 goto handle_unusual;
3082 }
3083 break;
3084 }
3085
3086 // .dmi.ModifiableComponent changes = 4;
3087 case 4: {
3088 if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) {
3089 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3090 input, mutable_changes()));
3091 } else {
3092 goto handle_unusual;
3093 }
3094 break;
3095 }
3096
3097 default: {
3098 handle_unusual:
3099 if (tag == 0) {
3100 goto success;
3101 }
3102 DO_(::google::protobuf::internal::WireFormat::SkipField(
3103 input, tag, _internal_metadata_.mutable_unknown_fields()));
3104 break;
3105 }
3106 }
3107 }
3108success:
3109 // @@protoc_insertion_point(parse_success:dmi.HWComponentInfoSetRequest)
3110 return true;
3111failure:
3112 // @@protoc_insertion_point(parse_failure:dmi.HWComponentInfoSetRequest)
3113 return false;
3114#undef DO_
3115}
3116#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3117
3118void HWComponentInfoSetRequest::SerializeWithCachedSizes(
3119 ::google::protobuf::io::CodedOutputStream* output) const {
3120 // @@protoc_insertion_point(serialize_start:dmi.HWComponentInfoSetRequest)
3121 ::google::protobuf::uint32 cached_has_bits = 0;
3122 (void) cached_has_bits;
3123
3124 // .dmi.Uuid device_uuid = 1;
3125 if (this->has_device_uuid()) {
3126 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3127 1, HasBitSetters::device_uuid(this), output);
3128 }
3129
3130 // .dmi.Uuid component_uuid = 2;
3131 if (this->has_component_uuid()) {
3132 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3133 2, HasBitSetters::component_uuid(this), output);
3134 }
3135
3136 // string component_name = 3;
3137 if (this->component_name().size() > 0) {
3138 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3139 this->component_name().data(), static_cast<int>(this->component_name().length()),
3140 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
3141 "dmi.HWComponentInfoSetRequest.component_name");
3142 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
3143 3, this->component_name(), output);
3144 }
3145
3146 // .dmi.ModifiableComponent changes = 4;
3147 if (this->has_changes()) {
3148 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3149 4, HasBitSetters::changes(this), output);
3150 }
3151
3152 if (_internal_metadata_.have_unknown_fields()) {
3153 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3154 _internal_metadata_.unknown_fields(), output);
3155 }
3156 // @@protoc_insertion_point(serialize_end:dmi.HWComponentInfoSetRequest)
3157}
3158
3159::google::protobuf::uint8* HWComponentInfoSetRequest::InternalSerializeWithCachedSizesToArray(
3160 ::google::protobuf::uint8* target) const {
3161 // @@protoc_insertion_point(serialize_to_array_start:dmi.HWComponentInfoSetRequest)
3162 ::google::protobuf::uint32 cached_has_bits = 0;
3163 (void) cached_has_bits;
3164
3165 // .dmi.Uuid device_uuid = 1;
3166 if (this->has_device_uuid()) {
3167 target = ::google::protobuf::internal::WireFormatLite::
3168 InternalWriteMessageToArray(
3169 1, HasBitSetters::device_uuid(this), target);
3170 }
3171
3172 // .dmi.Uuid component_uuid = 2;
3173 if (this->has_component_uuid()) {
3174 target = ::google::protobuf::internal::WireFormatLite::
3175 InternalWriteMessageToArray(
3176 2, HasBitSetters::component_uuid(this), target);
3177 }
3178
3179 // string component_name = 3;
3180 if (this->component_name().size() > 0) {
3181 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3182 this->component_name().data(), static_cast<int>(this->component_name().length()),
3183 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
3184 "dmi.HWComponentInfoSetRequest.component_name");
3185 target =
3186 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
3187 3, this->component_name(), target);
3188 }
3189
3190 // .dmi.ModifiableComponent changes = 4;
3191 if (this->has_changes()) {
3192 target = ::google::protobuf::internal::WireFormatLite::
3193 InternalWriteMessageToArray(
3194 4, HasBitSetters::changes(this), target);
3195 }
3196
3197 if (_internal_metadata_.have_unknown_fields()) {
3198 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3199 _internal_metadata_.unknown_fields(), target);
3200 }
3201 // @@protoc_insertion_point(serialize_to_array_end:dmi.HWComponentInfoSetRequest)
3202 return target;
3203}
3204
3205size_t HWComponentInfoSetRequest::ByteSizeLong() const {
3206// @@protoc_insertion_point(message_byte_size_start:dmi.HWComponentInfoSetRequest)
3207 size_t total_size = 0;
3208
3209 if (_internal_metadata_.have_unknown_fields()) {
3210 total_size +=
3211 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3212 _internal_metadata_.unknown_fields());
3213 }
3214 ::google::protobuf::uint32 cached_has_bits = 0;
3215 // Prevent compiler warnings about cached_has_bits being unused
3216 (void) cached_has_bits;
3217
3218 // string component_name = 3;
3219 if (this->component_name().size() > 0) {
3220 total_size += 1 +
3221 ::google::protobuf::internal::WireFormatLite::StringSize(
3222 this->component_name());
3223 }
3224
3225 // .dmi.Uuid device_uuid = 1;
3226 if (this->has_device_uuid()) {
3227 total_size += 1 +
3228 ::google::protobuf::internal::WireFormatLite::MessageSize(
3229 *device_uuid_);
3230 }
3231
3232 // .dmi.Uuid component_uuid = 2;
3233 if (this->has_component_uuid()) {
3234 total_size += 1 +
3235 ::google::protobuf::internal::WireFormatLite::MessageSize(
3236 *component_uuid_);
3237 }
3238
3239 // .dmi.ModifiableComponent changes = 4;
3240 if (this->has_changes()) {
3241 total_size += 1 +
3242 ::google::protobuf::internal::WireFormatLite::MessageSize(
3243 *changes_);
3244 }
3245
3246 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3247 SetCachedSize(cached_size);
3248 return total_size;
3249}
3250
3251void HWComponentInfoSetRequest::MergeFrom(const ::google::protobuf::Message& from) {
3252// @@protoc_insertion_point(generalized_merge_from_start:dmi.HWComponentInfoSetRequest)
3253 GOOGLE_DCHECK_NE(&from, this);
3254 const HWComponentInfoSetRequest* source =
3255 ::google::protobuf::DynamicCastToGenerated<HWComponentInfoSetRequest>(
3256 &from);
3257 if (source == nullptr) {
3258 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.HWComponentInfoSetRequest)
3259 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3260 } else {
3261 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.HWComponentInfoSetRequest)
3262 MergeFrom(*source);
3263 }
3264}
3265
3266void HWComponentInfoSetRequest::MergeFrom(const HWComponentInfoSetRequest& from) {
3267// @@protoc_insertion_point(class_specific_merge_from_start:dmi.HWComponentInfoSetRequest)
3268 GOOGLE_DCHECK_NE(&from, this);
3269 _internal_metadata_.MergeFrom(from._internal_metadata_);
3270 ::google::protobuf::uint32 cached_has_bits = 0;
3271 (void) cached_has_bits;
3272
3273 if (from.component_name().size() > 0) {
3274
3275 component_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.component_name_);
3276 }
3277 if (from.has_device_uuid()) {
3278 mutable_device_uuid()->::dmi::Uuid::MergeFrom(from.device_uuid());
3279 }
3280 if (from.has_component_uuid()) {
3281 mutable_component_uuid()->::dmi::Uuid::MergeFrom(from.component_uuid());
3282 }
3283 if (from.has_changes()) {
3284 mutable_changes()->::dmi::ModifiableComponent::MergeFrom(from.changes());
3285 }
3286}
3287
3288void HWComponentInfoSetRequest::CopyFrom(const ::google::protobuf::Message& from) {
3289// @@protoc_insertion_point(generalized_copy_from_start:dmi.HWComponentInfoSetRequest)
3290 if (&from == this) return;
3291 Clear();
3292 MergeFrom(from);
3293}
3294
3295void HWComponentInfoSetRequest::CopyFrom(const HWComponentInfoSetRequest& from) {
3296// @@protoc_insertion_point(class_specific_copy_from_start:dmi.HWComponentInfoSetRequest)
3297 if (&from == this) return;
3298 Clear();
3299 MergeFrom(from);
3300}
3301
3302bool HWComponentInfoSetRequest::IsInitialized() const {
3303 return true;
3304}
3305
3306void HWComponentInfoSetRequest::Swap(HWComponentInfoSetRequest* other) {
3307 if (other == this) return;
3308 InternalSwap(other);
3309}
3310void HWComponentInfoSetRequest::InternalSwap(HWComponentInfoSetRequest* other) {
3311 using std::swap;
3312 _internal_metadata_.Swap(&other->_internal_metadata_);
3313 component_name_.Swap(&other->component_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3314 GetArenaNoVirtual());
3315 swap(device_uuid_, other->device_uuid_);
3316 swap(component_uuid_, other->component_uuid_);
3317 swap(changes_, other->changes_);
3318}
3319
3320::google::protobuf::Metadata HWComponentInfoSetRequest::GetMetadata() const {
3321 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
3322 return ::file_level_metadata_dmi_2fhw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
3323}
3324
3325
3326// ===================================================================
3327
3328void HWComponentInfoSetResponse::InitAsDefaultInstance() {
3329}
3330class HWComponentInfoSetResponse::HasBitSetters {
3331 public:
3332};
3333
3334#if !defined(_MSC_VER) || _MSC_VER >= 1900
3335const int HWComponentInfoSetResponse::kStatusFieldNumber;
3336const int HWComponentInfoSetResponse::kReasonFieldNumber;
3337const int HWComponentInfoSetResponse::kReasonDetailFieldNumber;
3338#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
3339
3340HWComponentInfoSetResponse::HWComponentInfoSetResponse()
3341 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
3342 SharedCtor();
3343 // @@protoc_insertion_point(constructor:dmi.HWComponentInfoSetResponse)
3344}
3345HWComponentInfoSetResponse::HWComponentInfoSetResponse(const HWComponentInfoSetResponse& from)
3346 : ::google::protobuf::Message(),
3347 _internal_metadata_(nullptr) {
3348 _internal_metadata_.MergeFrom(from._internal_metadata_);
3349 reason_detail_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3350 if (from.reason_detail().size() > 0) {
3351 reason_detail_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_detail_);
3352 }
3353 ::memcpy(&status_, &from.status_,
3354 static_cast<size_t>(reinterpret_cast<char*>(&reason_) -
3355 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
3356 // @@protoc_insertion_point(copy_constructor:dmi.HWComponentInfoSetResponse)
3357}
3358
3359void HWComponentInfoSetResponse::SharedCtor() {
3360 ::google::protobuf::internal::InitSCC(
3361 &scc_info_HWComponentInfoSetResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
3362 reason_detail_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3363 ::memset(&status_, 0, static_cast<size_t>(
3364 reinterpret_cast<char*>(&reason_) -
3365 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
3366}
3367
3368HWComponentInfoSetResponse::~HWComponentInfoSetResponse() {
3369 // @@protoc_insertion_point(destructor:dmi.HWComponentInfoSetResponse)
3370 SharedDtor();
3371}
3372
3373void HWComponentInfoSetResponse::SharedDtor() {
3374 reason_detail_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3375}
3376
3377void HWComponentInfoSetResponse::SetCachedSize(int size) const {
3378 _cached_size_.Set(size);
3379}
3380const HWComponentInfoSetResponse& HWComponentInfoSetResponse::default_instance() {
3381 ::google::protobuf::internal::InitSCC(&::scc_info_HWComponentInfoSetResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
3382 return *internal_default_instance();
3383}
3384
3385
3386void HWComponentInfoSetResponse::Clear() {
3387// @@protoc_insertion_point(message_clear_start:dmi.HWComponentInfoSetResponse)
3388 ::google::protobuf::uint32 cached_has_bits = 0;
3389 // Prevent compiler warnings about cached_has_bits being unused
3390 (void) cached_has_bits;
3391
3392 reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3393 ::memset(&status_, 0, static_cast<size_t>(
3394 reinterpret_cast<char*>(&reason_) -
3395 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
3396 _internal_metadata_.Clear();
3397}
3398
3399#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3400const char* HWComponentInfoSetResponse::_InternalParse(const char* begin, const char* end, void* object,
3401 ::google::protobuf::internal::ParseContext* ctx) {
3402 auto msg = static_cast<HWComponentInfoSetResponse*>(object);
3403 ::google::protobuf::int32 size; (void)size;
3404 int depth; (void)depth;
3405 ::google::protobuf::uint32 tag;
3406 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
3407 auto ptr = begin;
3408 while (ptr < end) {
3409 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
3410 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
3411 switch (tag >> 3) {
3412 // .dmi.Status status = 1;
3413 case 1: {
3414 if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual;
3415 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
3416 msg->set_status(static_cast<::dmi::Status>(val));
3417 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
3418 break;
3419 }
3420 // .dmi.HWComponentInfoSetResponse.Reason reason = 2;
3421 case 2: {
3422 if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual;
3423 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
3424 msg->set_reason(static_cast<::dmi::HWComponentInfoSetResponse_Reason>(val));
3425 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
3426 break;
3427 }
3428 // string reason_detail = 3;
3429 case 3: {
3430 if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual;
3431 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
3432 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
3433 ctx->extra_parse_data().SetFieldName("dmi.HWComponentInfoSetResponse.reason_detail");
3434 object = msg->mutable_reason_detail();
3435 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
3436 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
3437 goto string_till_end;
3438 }
3439 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
3440 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
3441 ptr += size;
3442 break;
3443 }
3444 default: {
3445 handle_unusual:
3446 if ((tag & 7) == 4 || tag == 0) {
3447 ctx->EndGroup(tag);
3448 return ptr;
3449 }
3450 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
3451 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
3452 ptr = res.first;
3453 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
3454 if (res.second) return ptr;
3455 }
3456 } // switch
3457 } // while
3458 return ptr;
3459string_till_end:
3460 static_cast<::std::string*>(object)->clear();
3461 static_cast<::std::string*>(object)->reserve(size);
3462 goto len_delim_till_end;
3463len_delim_till_end:
3464 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
3465 {parser_till_end, object}, size);
3466}
3467#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3468bool HWComponentInfoSetResponse::MergePartialFromCodedStream(
3469 ::google::protobuf::io::CodedInputStream* input) {
3470#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
3471 ::google::protobuf::uint32 tag;
3472 // @@protoc_insertion_point(parse_start:dmi.HWComponentInfoSetResponse)
3473 for (;;) {
3474 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3475 tag = p.first;
3476 if (!p.second) goto handle_unusual;
3477 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3478 // .dmi.Status status = 1;
3479 case 1: {
3480 if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) {
3481 int value = 0;
3482 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3483 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
3484 input, &value)));
3485 set_status(static_cast< ::dmi::Status >(value));
3486 } else {
3487 goto handle_unusual;
3488 }
3489 break;
3490 }
3491
3492 // .dmi.HWComponentInfoSetResponse.Reason reason = 2;
3493 case 2: {
3494 if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) {
3495 int value = 0;
3496 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3497 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
3498 input, &value)));
3499 set_reason(static_cast< ::dmi::HWComponentInfoSetResponse_Reason >(value));
3500 } else {
3501 goto handle_unusual;
3502 }
3503 break;
3504 }
3505
3506 // string reason_detail = 3;
3507 case 3: {
3508 if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) {
3509 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
3510 input, this->mutable_reason_detail()));
3511 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3512 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
3513 ::google::protobuf::internal::WireFormatLite::PARSE,
3514 "dmi.HWComponentInfoSetResponse.reason_detail"));
3515 } else {
3516 goto handle_unusual;
3517 }
3518 break;
3519 }
3520
3521 default: {
3522 handle_unusual:
3523 if (tag == 0) {
3524 goto success;
3525 }
3526 DO_(::google::protobuf::internal::WireFormat::SkipField(
3527 input, tag, _internal_metadata_.mutable_unknown_fields()));
3528 break;
3529 }
3530 }
3531 }
3532success:
3533 // @@protoc_insertion_point(parse_success:dmi.HWComponentInfoSetResponse)
3534 return true;
3535failure:
3536 // @@protoc_insertion_point(parse_failure:dmi.HWComponentInfoSetResponse)
3537 return false;
3538#undef DO_
3539}
3540#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3541
3542void HWComponentInfoSetResponse::SerializeWithCachedSizes(
3543 ::google::protobuf::io::CodedOutputStream* output) const {
3544 // @@protoc_insertion_point(serialize_start:dmi.HWComponentInfoSetResponse)
3545 ::google::protobuf::uint32 cached_has_bits = 0;
3546 (void) cached_has_bits;
3547
3548 // .dmi.Status status = 1;
3549 if (this->status() != 0) {
3550 ::google::protobuf::internal::WireFormatLite::WriteEnum(
3551 1, this->status(), output);
3552 }
3553
3554 // .dmi.HWComponentInfoSetResponse.Reason reason = 2;
3555 if (this->reason() != 0) {
3556 ::google::protobuf::internal::WireFormatLite::WriteEnum(
3557 2, this->reason(), output);
3558 }
3559
3560 // string reason_detail = 3;
3561 if (this->reason_detail().size() > 0) {
3562 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3563 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
3564 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
3565 "dmi.HWComponentInfoSetResponse.reason_detail");
3566 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
3567 3, this->reason_detail(), output);
3568 }
3569
3570 if (_internal_metadata_.have_unknown_fields()) {
3571 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3572 _internal_metadata_.unknown_fields(), output);
3573 }
3574 // @@protoc_insertion_point(serialize_end:dmi.HWComponentInfoSetResponse)
3575}
3576
3577::google::protobuf::uint8* HWComponentInfoSetResponse::InternalSerializeWithCachedSizesToArray(
3578 ::google::protobuf::uint8* target) const {
3579 // @@protoc_insertion_point(serialize_to_array_start:dmi.HWComponentInfoSetResponse)
3580 ::google::protobuf::uint32 cached_has_bits = 0;
3581 (void) cached_has_bits;
3582
3583 // .dmi.Status status = 1;
3584 if (this->status() != 0) {
3585 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
3586 1, this->status(), target);
3587 }
3588
3589 // .dmi.HWComponentInfoSetResponse.Reason reason = 2;
3590 if (this->reason() != 0) {
3591 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
3592 2, this->reason(), target);
3593 }
3594
3595 // string reason_detail = 3;
3596 if (this->reason_detail().size() > 0) {
3597 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3598 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
3599 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
3600 "dmi.HWComponentInfoSetResponse.reason_detail");
3601 target =
3602 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
3603 3, this->reason_detail(), target);
3604 }
3605
3606 if (_internal_metadata_.have_unknown_fields()) {
3607 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3608 _internal_metadata_.unknown_fields(), target);
3609 }
3610 // @@protoc_insertion_point(serialize_to_array_end:dmi.HWComponentInfoSetResponse)
3611 return target;
3612}
3613
3614size_t HWComponentInfoSetResponse::ByteSizeLong() const {
3615// @@protoc_insertion_point(message_byte_size_start:dmi.HWComponentInfoSetResponse)
3616 size_t total_size = 0;
3617
3618 if (_internal_metadata_.have_unknown_fields()) {
3619 total_size +=
3620 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3621 _internal_metadata_.unknown_fields());
3622 }
3623 ::google::protobuf::uint32 cached_has_bits = 0;
3624 // Prevent compiler warnings about cached_has_bits being unused
3625 (void) cached_has_bits;
3626
3627 // string reason_detail = 3;
3628 if (this->reason_detail().size() > 0) {
3629 total_size += 1 +
3630 ::google::protobuf::internal::WireFormatLite::StringSize(
3631 this->reason_detail());
3632 }
3633
3634 // .dmi.Status status = 1;
3635 if (this->status() != 0) {
3636 total_size += 1 +
3637 ::google::protobuf::internal::WireFormatLite::EnumSize(this->status());
3638 }
3639
3640 // .dmi.HWComponentInfoSetResponse.Reason reason = 2;
3641 if (this->reason() != 0) {
3642 total_size += 1 +
3643 ::google::protobuf::internal::WireFormatLite::EnumSize(this->reason());
3644 }
3645
3646 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3647 SetCachedSize(cached_size);
3648 return total_size;
3649}
3650
3651void HWComponentInfoSetResponse::MergeFrom(const ::google::protobuf::Message& from) {
3652// @@protoc_insertion_point(generalized_merge_from_start:dmi.HWComponentInfoSetResponse)
3653 GOOGLE_DCHECK_NE(&from, this);
3654 const HWComponentInfoSetResponse* source =
3655 ::google::protobuf::DynamicCastToGenerated<HWComponentInfoSetResponse>(
3656 &from);
3657 if (source == nullptr) {
3658 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.HWComponentInfoSetResponse)
3659 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3660 } else {
3661 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.HWComponentInfoSetResponse)
3662 MergeFrom(*source);
3663 }
3664}
3665
3666void HWComponentInfoSetResponse::MergeFrom(const HWComponentInfoSetResponse& from) {
3667// @@protoc_insertion_point(class_specific_merge_from_start:dmi.HWComponentInfoSetResponse)
3668 GOOGLE_DCHECK_NE(&from, this);
3669 _internal_metadata_.MergeFrom(from._internal_metadata_);
3670 ::google::protobuf::uint32 cached_has_bits = 0;
3671 (void) cached_has_bits;
3672
3673 if (from.reason_detail().size() > 0) {
3674
3675 reason_detail_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_detail_);
3676 }
3677 if (from.status() != 0) {
3678 set_status(from.status());
3679 }
3680 if (from.reason() != 0) {
3681 set_reason(from.reason());
3682 }
3683}
3684
3685void HWComponentInfoSetResponse::CopyFrom(const ::google::protobuf::Message& from) {
3686// @@protoc_insertion_point(generalized_copy_from_start:dmi.HWComponentInfoSetResponse)
3687 if (&from == this) return;
3688 Clear();
3689 MergeFrom(from);
3690}
3691
3692void HWComponentInfoSetResponse::CopyFrom(const HWComponentInfoSetResponse& from) {
3693// @@protoc_insertion_point(class_specific_copy_from_start:dmi.HWComponentInfoSetResponse)
3694 if (&from == this) return;
3695 Clear();
3696 MergeFrom(from);
3697}
3698
3699bool HWComponentInfoSetResponse::IsInitialized() const {
3700 return true;
3701}
3702
3703void HWComponentInfoSetResponse::Swap(HWComponentInfoSetResponse* other) {
3704 if (other == this) return;
3705 InternalSwap(other);
3706}
3707void HWComponentInfoSetResponse::InternalSwap(HWComponentInfoSetResponse* other) {
3708 using std::swap;
3709 _internal_metadata_.Swap(&other->_internal_metadata_);
3710 reason_detail_.Swap(&other->reason_detail_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3711 GetArenaNoVirtual());
3712 swap(status_, other->status_);
3713 swap(reason_, other->reason_);
3714}
3715
3716::google::protobuf::Metadata HWComponentInfoSetResponse::GetMetadata() const {
3717 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
3718 return ::file_level_metadata_dmi_2fhw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
3719}
3720
3721
3722// ===================================================================
3723
3724void StartManagingDeviceResponse::InitAsDefaultInstance() {
3725 ::dmi::_StartManagingDeviceResponse_default_instance_._instance.get_mutable()->device_uuid_ = const_cast< ::dmi::Uuid*>(
3726 ::dmi::Uuid::internal_default_instance());
3727}
3728class StartManagingDeviceResponse::HasBitSetters {
3729 public:
3730 static const ::dmi::Uuid& device_uuid(const StartManagingDeviceResponse* msg);
3731};
3732
3733const ::dmi::Uuid&
3734StartManagingDeviceResponse::HasBitSetters::device_uuid(const StartManagingDeviceResponse* msg) {
3735 return *msg->device_uuid_;
3736}
3737void StartManagingDeviceResponse::clear_device_uuid() {
3738 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
3739 delete device_uuid_;
3740 }
3741 device_uuid_ = nullptr;
3742}
3743#if !defined(_MSC_VER) || _MSC_VER >= 1900
3744const int StartManagingDeviceResponse::kStatusFieldNumber;
3745const int StartManagingDeviceResponse::kReasonFieldNumber;
3746const int StartManagingDeviceResponse::kDeviceUuidFieldNumber;
3747const int StartManagingDeviceResponse::kReasonDetailFieldNumber;
3748#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
3749
3750StartManagingDeviceResponse::StartManagingDeviceResponse()
3751 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
3752 SharedCtor();
3753 // @@protoc_insertion_point(constructor:dmi.StartManagingDeviceResponse)
3754}
3755StartManagingDeviceResponse::StartManagingDeviceResponse(const StartManagingDeviceResponse& from)
3756 : ::google::protobuf::Message(),
3757 _internal_metadata_(nullptr) {
3758 _internal_metadata_.MergeFrom(from._internal_metadata_);
3759 reason_detail_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3760 if (from.reason_detail().size() > 0) {
3761 reason_detail_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_detail_);
3762 }
3763 if (from.has_device_uuid()) {
3764 device_uuid_ = new ::dmi::Uuid(*from.device_uuid_);
3765 } else {
3766 device_uuid_ = nullptr;
3767 }
3768 ::memcpy(&status_, &from.status_,
3769 static_cast<size_t>(reinterpret_cast<char*>(&reason_) -
3770 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
3771 // @@protoc_insertion_point(copy_constructor:dmi.StartManagingDeviceResponse)
3772}
3773
3774void StartManagingDeviceResponse::SharedCtor() {
3775 ::google::protobuf::internal::InitSCC(
3776 &scc_info_StartManagingDeviceResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
3777 reason_detail_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3778 ::memset(&device_uuid_, 0, static_cast<size_t>(
3779 reinterpret_cast<char*>(&reason_) -
3780 reinterpret_cast<char*>(&device_uuid_)) + sizeof(reason_));
3781}
3782
3783StartManagingDeviceResponse::~StartManagingDeviceResponse() {
3784 // @@protoc_insertion_point(destructor:dmi.StartManagingDeviceResponse)
3785 SharedDtor();
3786}
3787
3788void StartManagingDeviceResponse::SharedDtor() {
3789 reason_detail_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3790 if (this != internal_default_instance()) delete device_uuid_;
3791}
3792
3793void StartManagingDeviceResponse::SetCachedSize(int size) const {
3794 _cached_size_.Set(size);
3795}
3796const StartManagingDeviceResponse& StartManagingDeviceResponse::default_instance() {
3797 ::google::protobuf::internal::InitSCC(&::scc_info_StartManagingDeviceResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
3798 return *internal_default_instance();
3799}
3800
3801
3802void StartManagingDeviceResponse::Clear() {
3803// @@protoc_insertion_point(message_clear_start:dmi.StartManagingDeviceResponse)
3804 ::google::protobuf::uint32 cached_has_bits = 0;
3805 // Prevent compiler warnings about cached_has_bits being unused
3806 (void) cached_has_bits;
3807
3808 reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3809 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
3810 delete device_uuid_;
3811 }
3812 device_uuid_ = nullptr;
3813 ::memset(&status_, 0, static_cast<size_t>(
3814 reinterpret_cast<char*>(&reason_) -
3815 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
3816 _internal_metadata_.Clear();
3817}
3818
3819#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3820const char* StartManagingDeviceResponse::_InternalParse(const char* begin, const char* end, void* object,
3821 ::google::protobuf::internal::ParseContext* ctx) {
3822 auto msg = static_cast<StartManagingDeviceResponse*>(object);
3823 ::google::protobuf::int32 size; (void)size;
3824 int depth; (void)depth;
3825 ::google::protobuf::uint32 tag;
3826 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
3827 auto ptr = begin;
3828 while (ptr < end) {
3829 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
3830 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
3831 switch (tag >> 3) {
3832 // .dmi.Status status = 1;
3833 case 1: {
3834 if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual;
3835 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
3836 msg->set_status(static_cast<::dmi::Status>(val));
3837 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
3838 break;
3839 }
3840 // .dmi.StartManagingDeviceResponse.Reason reason = 2;
3841 case 2: {
3842 if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual;
3843 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
3844 msg->set_reason(static_cast<::dmi::StartManagingDeviceResponse_Reason>(val));
3845 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
3846 break;
3847 }
3848 // .dmi.Uuid device_uuid = 3;
3849 case 3: {
3850 if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual;
3851 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
3852 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
3853 parser_till_end = ::dmi::Uuid::_InternalParse;
3854 object = msg->mutable_device_uuid();
3855 if (size > end - ptr) goto len_delim_till_end;
3856 ptr += size;
3857 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
3858 {parser_till_end, object}, ptr - size, ptr));
3859 break;
3860 }
3861 // string reason_detail = 4;
3862 case 4: {
3863 if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual;
3864 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
3865 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
3866 ctx->extra_parse_data().SetFieldName("dmi.StartManagingDeviceResponse.reason_detail");
3867 object = msg->mutable_reason_detail();
3868 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
3869 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
3870 goto string_till_end;
3871 }
3872 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
3873 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
3874 ptr += size;
3875 break;
3876 }
3877 default: {
3878 handle_unusual:
3879 if ((tag & 7) == 4 || tag == 0) {
3880 ctx->EndGroup(tag);
3881 return ptr;
3882 }
3883 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
3884 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
3885 ptr = res.first;
3886 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
3887 if (res.second) return ptr;
3888 }
3889 } // switch
3890 } // while
3891 return ptr;
3892string_till_end:
3893 static_cast<::std::string*>(object)->clear();
3894 static_cast<::std::string*>(object)->reserve(size);
3895 goto len_delim_till_end;
3896len_delim_till_end:
3897 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
3898 {parser_till_end, object}, size);
3899}
3900#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3901bool StartManagingDeviceResponse::MergePartialFromCodedStream(
3902 ::google::protobuf::io::CodedInputStream* input) {
3903#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
3904 ::google::protobuf::uint32 tag;
3905 // @@protoc_insertion_point(parse_start:dmi.StartManagingDeviceResponse)
3906 for (;;) {
3907 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3908 tag = p.first;
3909 if (!p.second) goto handle_unusual;
3910 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3911 // .dmi.Status status = 1;
3912 case 1: {
3913 if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) {
3914 int value = 0;
3915 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3916 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
3917 input, &value)));
3918 set_status(static_cast< ::dmi::Status >(value));
3919 } else {
3920 goto handle_unusual;
3921 }
3922 break;
3923 }
3924
3925 // .dmi.StartManagingDeviceResponse.Reason reason = 2;
3926 case 2: {
3927 if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) {
3928 int value = 0;
3929 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3930 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
3931 input, &value)));
3932 set_reason(static_cast< ::dmi::StartManagingDeviceResponse_Reason >(value));
3933 } else {
3934 goto handle_unusual;
3935 }
3936 break;
3937 }
3938
3939 // .dmi.Uuid device_uuid = 3;
3940 case 3: {
3941 if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) {
3942 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3943 input, mutable_device_uuid()));
3944 } else {
3945 goto handle_unusual;
3946 }
3947 break;
3948 }
3949
3950 // string reason_detail = 4;
3951 case 4: {
3952 if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) {
3953 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
3954 input, this->mutable_reason_detail()));
3955 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3956 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
3957 ::google::protobuf::internal::WireFormatLite::PARSE,
3958 "dmi.StartManagingDeviceResponse.reason_detail"));
3959 } else {
3960 goto handle_unusual;
3961 }
3962 break;
3963 }
3964
3965 default: {
3966 handle_unusual:
3967 if (tag == 0) {
3968 goto success;
3969 }
3970 DO_(::google::protobuf::internal::WireFormat::SkipField(
3971 input, tag, _internal_metadata_.mutable_unknown_fields()));
3972 break;
3973 }
3974 }
3975 }
3976success:
3977 // @@protoc_insertion_point(parse_success:dmi.StartManagingDeviceResponse)
3978 return true;
3979failure:
3980 // @@protoc_insertion_point(parse_failure:dmi.StartManagingDeviceResponse)
3981 return false;
3982#undef DO_
3983}
3984#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3985
3986void StartManagingDeviceResponse::SerializeWithCachedSizes(
3987 ::google::protobuf::io::CodedOutputStream* output) const {
3988 // @@protoc_insertion_point(serialize_start:dmi.StartManagingDeviceResponse)
3989 ::google::protobuf::uint32 cached_has_bits = 0;
3990 (void) cached_has_bits;
3991
3992 // .dmi.Status status = 1;
3993 if (this->status() != 0) {
3994 ::google::protobuf::internal::WireFormatLite::WriteEnum(
3995 1, this->status(), output);
3996 }
3997
3998 // .dmi.StartManagingDeviceResponse.Reason reason = 2;
3999 if (this->reason() != 0) {
4000 ::google::protobuf::internal::WireFormatLite::WriteEnum(
4001 2, this->reason(), output);
4002 }
4003
4004 // .dmi.Uuid device_uuid = 3;
4005 if (this->has_device_uuid()) {
4006 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4007 3, HasBitSetters::device_uuid(this), output);
4008 }
4009
4010 // string reason_detail = 4;
4011 if (this->reason_detail().size() > 0) {
4012 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4013 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
4014 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
4015 "dmi.StartManagingDeviceResponse.reason_detail");
4016 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
4017 4, this->reason_detail(), output);
4018 }
4019
4020 if (_internal_metadata_.have_unknown_fields()) {
4021 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4022 _internal_metadata_.unknown_fields(), output);
4023 }
4024 // @@protoc_insertion_point(serialize_end:dmi.StartManagingDeviceResponse)
4025}
4026
4027::google::protobuf::uint8* StartManagingDeviceResponse::InternalSerializeWithCachedSizesToArray(
4028 ::google::protobuf::uint8* target) const {
4029 // @@protoc_insertion_point(serialize_to_array_start:dmi.StartManagingDeviceResponse)
4030 ::google::protobuf::uint32 cached_has_bits = 0;
4031 (void) cached_has_bits;
4032
4033 // .dmi.Status status = 1;
4034 if (this->status() != 0) {
4035 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
4036 1, this->status(), target);
4037 }
4038
4039 // .dmi.StartManagingDeviceResponse.Reason reason = 2;
4040 if (this->reason() != 0) {
4041 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
4042 2, this->reason(), target);
4043 }
4044
4045 // .dmi.Uuid device_uuid = 3;
4046 if (this->has_device_uuid()) {
4047 target = ::google::protobuf::internal::WireFormatLite::
4048 InternalWriteMessageToArray(
4049 3, HasBitSetters::device_uuid(this), target);
4050 }
4051
4052 // string reason_detail = 4;
4053 if (this->reason_detail().size() > 0) {
4054 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4055 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
4056 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
4057 "dmi.StartManagingDeviceResponse.reason_detail");
4058 target =
4059 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
4060 4, this->reason_detail(), target);
4061 }
4062
4063 if (_internal_metadata_.have_unknown_fields()) {
4064 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4065 _internal_metadata_.unknown_fields(), target);
4066 }
4067 // @@protoc_insertion_point(serialize_to_array_end:dmi.StartManagingDeviceResponse)
4068 return target;
4069}
4070
4071size_t StartManagingDeviceResponse::ByteSizeLong() const {
4072// @@protoc_insertion_point(message_byte_size_start:dmi.StartManagingDeviceResponse)
4073 size_t total_size = 0;
4074
4075 if (_internal_metadata_.have_unknown_fields()) {
4076 total_size +=
4077 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4078 _internal_metadata_.unknown_fields());
4079 }
4080 ::google::protobuf::uint32 cached_has_bits = 0;
4081 // Prevent compiler warnings about cached_has_bits being unused
4082 (void) cached_has_bits;
4083
4084 // string reason_detail = 4;
4085 if (this->reason_detail().size() > 0) {
4086 total_size += 1 +
4087 ::google::protobuf::internal::WireFormatLite::StringSize(
4088 this->reason_detail());
4089 }
4090
4091 // .dmi.Uuid device_uuid = 3;
4092 if (this->has_device_uuid()) {
4093 total_size += 1 +
4094 ::google::protobuf::internal::WireFormatLite::MessageSize(
4095 *device_uuid_);
4096 }
4097
4098 // .dmi.Status status = 1;
4099 if (this->status() != 0) {
4100 total_size += 1 +
4101 ::google::protobuf::internal::WireFormatLite::EnumSize(this->status());
4102 }
4103
4104 // .dmi.StartManagingDeviceResponse.Reason reason = 2;
4105 if (this->reason() != 0) {
4106 total_size += 1 +
4107 ::google::protobuf::internal::WireFormatLite::EnumSize(this->reason());
4108 }
4109
4110 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4111 SetCachedSize(cached_size);
4112 return total_size;
4113}
4114
4115void StartManagingDeviceResponse::MergeFrom(const ::google::protobuf::Message& from) {
4116// @@protoc_insertion_point(generalized_merge_from_start:dmi.StartManagingDeviceResponse)
4117 GOOGLE_DCHECK_NE(&from, this);
4118 const StartManagingDeviceResponse* source =
4119 ::google::protobuf::DynamicCastToGenerated<StartManagingDeviceResponse>(
4120 &from);
4121 if (source == nullptr) {
4122 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.StartManagingDeviceResponse)
4123 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4124 } else {
4125 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.StartManagingDeviceResponse)
4126 MergeFrom(*source);
4127 }
4128}
4129
4130void StartManagingDeviceResponse::MergeFrom(const StartManagingDeviceResponse& from) {
4131// @@protoc_insertion_point(class_specific_merge_from_start:dmi.StartManagingDeviceResponse)
4132 GOOGLE_DCHECK_NE(&from, this);
4133 _internal_metadata_.MergeFrom(from._internal_metadata_);
4134 ::google::protobuf::uint32 cached_has_bits = 0;
4135 (void) cached_has_bits;
4136
4137 if (from.reason_detail().size() > 0) {
4138
4139 reason_detail_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_detail_);
4140 }
4141 if (from.has_device_uuid()) {
4142 mutable_device_uuid()->::dmi::Uuid::MergeFrom(from.device_uuid());
4143 }
4144 if (from.status() != 0) {
4145 set_status(from.status());
4146 }
4147 if (from.reason() != 0) {
4148 set_reason(from.reason());
4149 }
4150}
4151
4152void StartManagingDeviceResponse::CopyFrom(const ::google::protobuf::Message& from) {
4153// @@protoc_insertion_point(generalized_copy_from_start:dmi.StartManagingDeviceResponse)
4154 if (&from == this) return;
4155 Clear();
4156 MergeFrom(from);
4157}
4158
4159void StartManagingDeviceResponse::CopyFrom(const StartManagingDeviceResponse& from) {
4160// @@protoc_insertion_point(class_specific_copy_from_start:dmi.StartManagingDeviceResponse)
4161 if (&from == this) return;
4162 Clear();
4163 MergeFrom(from);
4164}
4165
4166bool StartManagingDeviceResponse::IsInitialized() const {
4167 return true;
4168}
4169
4170void StartManagingDeviceResponse::Swap(StartManagingDeviceResponse* other) {
4171 if (other == this) return;
4172 InternalSwap(other);
4173}
4174void StartManagingDeviceResponse::InternalSwap(StartManagingDeviceResponse* other) {
4175 using std::swap;
4176 _internal_metadata_.Swap(&other->_internal_metadata_);
4177 reason_detail_.Swap(&other->reason_detail_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4178 GetArenaNoVirtual());
4179 swap(device_uuid_, other->device_uuid_);
4180 swap(status_, other->status_);
4181 swap(reason_, other->reason_);
4182}
4183
4184::google::protobuf::Metadata StartManagingDeviceResponse::GetMetadata() const {
4185 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
4186 return ::file_level_metadata_dmi_2fhw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
4187}
4188
4189
4190// ===================================================================
4191
4192void StopManagingDeviceRequest::InitAsDefaultInstance() {
4193}
4194class StopManagingDeviceRequest::HasBitSetters {
4195 public:
4196};
4197
4198#if !defined(_MSC_VER) || _MSC_VER >= 1900
4199const int StopManagingDeviceRequest::kNameFieldNumber;
4200#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
4201
4202StopManagingDeviceRequest::StopManagingDeviceRequest()
4203 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
4204 SharedCtor();
4205 // @@protoc_insertion_point(constructor:dmi.StopManagingDeviceRequest)
4206}
4207StopManagingDeviceRequest::StopManagingDeviceRequest(const StopManagingDeviceRequest& from)
4208 : ::google::protobuf::Message(),
4209 _internal_metadata_(nullptr) {
4210 _internal_metadata_.MergeFrom(from._internal_metadata_);
4211 name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4212 if (from.name().size() > 0) {
4213 name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
4214 }
4215 // @@protoc_insertion_point(copy_constructor:dmi.StopManagingDeviceRequest)
4216}
4217
4218void StopManagingDeviceRequest::SharedCtor() {
4219 ::google::protobuf::internal::InitSCC(
4220 &scc_info_StopManagingDeviceRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
4221 name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4222}
4223
4224StopManagingDeviceRequest::~StopManagingDeviceRequest() {
4225 // @@protoc_insertion_point(destructor:dmi.StopManagingDeviceRequest)
4226 SharedDtor();
4227}
4228
4229void StopManagingDeviceRequest::SharedDtor() {
4230 name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4231}
4232
4233void StopManagingDeviceRequest::SetCachedSize(int size) const {
4234 _cached_size_.Set(size);
4235}
4236const StopManagingDeviceRequest& StopManagingDeviceRequest::default_instance() {
4237 ::google::protobuf::internal::InitSCC(&::scc_info_StopManagingDeviceRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
4238 return *internal_default_instance();
4239}
4240
4241
4242void StopManagingDeviceRequest::Clear() {
4243// @@protoc_insertion_point(message_clear_start:dmi.StopManagingDeviceRequest)
4244 ::google::protobuf::uint32 cached_has_bits = 0;
4245 // Prevent compiler warnings about cached_has_bits being unused
4246 (void) cached_has_bits;
4247
4248 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4249 _internal_metadata_.Clear();
4250}
4251
4252#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4253const char* StopManagingDeviceRequest::_InternalParse(const char* begin, const char* end, void* object,
4254 ::google::protobuf::internal::ParseContext* ctx) {
4255 auto msg = static_cast<StopManagingDeviceRequest*>(object);
4256 ::google::protobuf::int32 size; (void)size;
4257 int depth; (void)depth;
4258 ::google::protobuf::uint32 tag;
4259 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
4260 auto ptr = begin;
4261 while (ptr < end) {
4262 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
4263 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
4264 switch (tag >> 3) {
4265 // string name = 1;
4266 case 1: {
4267 if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual;
4268 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
4269 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
4270 ctx->extra_parse_data().SetFieldName("dmi.StopManagingDeviceRequest.name");
4271 object = msg->mutable_name();
4272 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
4273 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
4274 goto string_till_end;
4275 }
4276 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
4277 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
4278 ptr += size;
4279 break;
4280 }
4281 default: {
4282 handle_unusual:
4283 if ((tag & 7) == 4 || tag == 0) {
4284 ctx->EndGroup(tag);
4285 return ptr;
4286 }
4287 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
4288 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
4289 ptr = res.first;
4290 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
4291 if (res.second) return ptr;
4292 }
4293 } // switch
4294 } // while
4295 return ptr;
4296string_till_end:
4297 static_cast<::std::string*>(object)->clear();
4298 static_cast<::std::string*>(object)->reserve(size);
4299 goto len_delim_till_end;
4300len_delim_till_end:
4301 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
4302 {parser_till_end, object}, size);
4303}
4304#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4305bool StopManagingDeviceRequest::MergePartialFromCodedStream(
4306 ::google::protobuf::io::CodedInputStream* input) {
4307#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
4308 ::google::protobuf::uint32 tag;
4309 // @@protoc_insertion_point(parse_start:dmi.StopManagingDeviceRequest)
4310 for (;;) {
4311 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4312 tag = p.first;
4313 if (!p.second) goto handle_unusual;
4314 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4315 // string name = 1;
4316 case 1: {
4317 if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) {
4318 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
4319 input, this->mutable_name()));
4320 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4321 this->name().data(), static_cast<int>(this->name().length()),
4322 ::google::protobuf::internal::WireFormatLite::PARSE,
4323 "dmi.StopManagingDeviceRequest.name"));
4324 } else {
4325 goto handle_unusual;
4326 }
4327 break;
4328 }
4329
4330 default: {
4331 handle_unusual:
4332 if (tag == 0) {
4333 goto success;
4334 }
4335 DO_(::google::protobuf::internal::WireFormat::SkipField(
4336 input, tag, _internal_metadata_.mutable_unknown_fields()));
4337 break;
4338 }
4339 }
4340 }
4341success:
4342 // @@protoc_insertion_point(parse_success:dmi.StopManagingDeviceRequest)
4343 return true;
4344failure:
4345 // @@protoc_insertion_point(parse_failure:dmi.StopManagingDeviceRequest)
4346 return false;
4347#undef DO_
4348}
4349#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4350
4351void StopManagingDeviceRequest::SerializeWithCachedSizes(
4352 ::google::protobuf::io::CodedOutputStream* output) const {
4353 // @@protoc_insertion_point(serialize_start:dmi.StopManagingDeviceRequest)
4354 ::google::protobuf::uint32 cached_has_bits = 0;
4355 (void) cached_has_bits;
4356
4357 // string name = 1;
4358 if (this->name().size() > 0) {
4359 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4360 this->name().data(), static_cast<int>(this->name().length()),
4361 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
4362 "dmi.StopManagingDeviceRequest.name");
4363 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
4364 1, this->name(), output);
4365 }
4366
4367 if (_internal_metadata_.have_unknown_fields()) {
4368 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4369 _internal_metadata_.unknown_fields(), output);
4370 }
4371 // @@protoc_insertion_point(serialize_end:dmi.StopManagingDeviceRequest)
4372}
4373
4374::google::protobuf::uint8* StopManagingDeviceRequest::InternalSerializeWithCachedSizesToArray(
4375 ::google::protobuf::uint8* target) const {
4376 // @@protoc_insertion_point(serialize_to_array_start:dmi.StopManagingDeviceRequest)
4377 ::google::protobuf::uint32 cached_has_bits = 0;
4378 (void) cached_has_bits;
4379
4380 // string name = 1;
4381 if (this->name().size() > 0) {
4382 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4383 this->name().data(), static_cast<int>(this->name().length()),
4384 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
4385 "dmi.StopManagingDeviceRequest.name");
4386 target =
4387 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
4388 1, this->name(), target);
4389 }
4390
4391 if (_internal_metadata_.have_unknown_fields()) {
4392 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4393 _internal_metadata_.unknown_fields(), target);
4394 }
4395 // @@protoc_insertion_point(serialize_to_array_end:dmi.StopManagingDeviceRequest)
4396 return target;
4397}
4398
4399size_t StopManagingDeviceRequest::ByteSizeLong() const {
4400// @@protoc_insertion_point(message_byte_size_start:dmi.StopManagingDeviceRequest)
4401 size_t total_size = 0;
4402
4403 if (_internal_metadata_.have_unknown_fields()) {
4404 total_size +=
4405 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4406 _internal_metadata_.unknown_fields());
4407 }
4408 ::google::protobuf::uint32 cached_has_bits = 0;
4409 // Prevent compiler warnings about cached_has_bits being unused
4410 (void) cached_has_bits;
4411
4412 // string name = 1;
4413 if (this->name().size() > 0) {
4414 total_size += 1 +
4415 ::google::protobuf::internal::WireFormatLite::StringSize(
4416 this->name());
4417 }
4418
4419 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4420 SetCachedSize(cached_size);
4421 return total_size;
4422}
4423
4424void StopManagingDeviceRequest::MergeFrom(const ::google::protobuf::Message& from) {
4425// @@protoc_insertion_point(generalized_merge_from_start:dmi.StopManagingDeviceRequest)
4426 GOOGLE_DCHECK_NE(&from, this);
4427 const StopManagingDeviceRequest* source =
4428 ::google::protobuf::DynamicCastToGenerated<StopManagingDeviceRequest>(
4429 &from);
4430 if (source == nullptr) {
4431 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.StopManagingDeviceRequest)
4432 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4433 } else {
4434 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.StopManagingDeviceRequest)
4435 MergeFrom(*source);
4436 }
4437}
4438
4439void StopManagingDeviceRequest::MergeFrom(const StopManagingDeviceRequest& from) {
4440// @@protoc_insertion_point(class_specific_merge_from_start:dmi.StopManagingDeviceRequest)
4441 GOOGLE_DCHECK_NE(&from, this);
4442 _internal_metadata_.MergeFrom(from._internal_metadata_);
4443 ::google::protobuf::uint32 cached_has_bits = 0;
4444 (void) cached_has_bits;
4445
4446 if (from.name().size() > 0) {
4447
4448 name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
4449 }
4450}
4451
4452void StopManagingDeviceRequest::CopyFrom(const ::google::protobuf::Message& from) {
4453// @@protoc_insertion_point(generalized_copy_from_start:dmi.StopManagingDeviceRequest)
4454 if (&from == this) return;
4455 Clear();
4456 MergeFrom(from);
4457}
4458
4459void StopManagingDeviceRequest::CopyFrom(const StopManagingDeviceRequest& from) {
4460// @@protoc_insertion_point(class_specific_copy_from_start:dmi.StopManagingDeviceRequest)
4461 if (&from == this) return;
4462 Clear();
4463 MergeFrom(from);
4464}
4465
4466bool StopManagingDeviceRequest::IsInitialized() const {
4467 return true;
4468}
4469
4470void StopManagingDeviceRequest::Swap(StopManagingDeviceRequest* other) {
4471 if (other == this) return;
4472 InternalSwap(other);
4473}
4474void StopManagingDeviceRequest::InternalSwap(StopManagingDeviceRequest* other) {
4475 using std::swap;
4476 _internal_metadata_.Swap(&other->_internal_metadata_);
4477 name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4478 GetArenaNoVirtual());
4479}
4480
4481::google::protobuf::Metadata StopManagingDeviceRequest::GetMetadata() const {
4482 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
4483 return ::file_level_metadata_dmi_2fhw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
4484}
4485
4486
4487// ===================================================================
4488
4489void StopManagingDeviceResponse::InitAsDefaultInstance() {
4490}
4491class StopManagingDeviceResponse::HasBitSetters {
4492 public:
4493};
4494
4495#if !defined(_MSC_VER) || _MSC_VER >= 1900
4496const int StopManagingDeviceResponse::kStatusFieldNumber;
4497const int StopManagingDeviceResponse::kReasonFieldNumber;
4498const int StopManagingDeviceResponse::kReasonDetailFieldNumber;
4499#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
4500
4501StopManagingDeviceResponse::StopManagingDeviceResponse()
4502 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
4503 SharedCtor();
4504 // @@protoc_insertion_point(constructor:dmi.StopManagingDeviceResponse)
4505}
4506StopManagingDeviceResponse::StopManagingDeviceResponse(const StopManagingDeviceResponse& from)
4507 : ::google::protobuf::Message(),
4508 _internal_metadata_(nullptr) {
4509 _internal_metadata_.MergeFrom(from._internal_metadata_);
4510 reason_detail_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4511 if (from.reason_detail().size() > 0) {
4512 reason_detail_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_detail_);
4513 }
4514 ::memcpy(&status_, &from.status_,
4515 static_cast<size_t>(reinterpret_cast<char*>(&reason_) -
4516 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
4517 // @@protoc_insertion_point(copy_constructor:dmi.StopManagingDeviceResponse)
4518}
4519
4520void StopManagingDeviceResponse::SharedCtor() {
4521 ::google::protobuf::internal::InitSCC(
4522 &scc_info_StopManagingDeviceResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
4523 reason_detail_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4524 ::memset(&status_, 0, static_cast<size_t>(
4525 reinterpret_cast<char*>(&reason_) -
4526 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
4527}
4528
4529StopManagingDeviceResponse::~StopManagingDeviceResponse() {
4530 // @@protoc_insertion_point(destructor:dmi.StopManagingDeviceResponse)
4531 SharedDtor();
4532}
4533
4534void StopManagingDeviceResponse::SharedDtor() {
4535 reason_detail_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4536}
4537
4538void StopManagingDeviceResponse::SetCachedSize(int size) const {
4539 _cached_size_.Set(size);
4540}
4541const StopManagingDeviceResponse& StopManagingDeviceResponse::default_instance() {
4542 ::google::protobuf::internal::InitSCC(&::scc_info_StopManagingDeviceResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
4543 return *internal_default_instance();
4544}
4545
4546
4547void StopManagingDeviceResponse::Clear() {
4548// @@protoc_insertion_point(message_clear_start:dmi.StopManagingDeviceResponse)
4549 ::google::protobuf::uint32 cached_has_bits = 0;
4550 // Prevent compiler warnings about cached_has_bits being unused
4551 (void) cached_has_bits;
4552
4553 reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4554 ::memset(&status_, 0, static_cast<size_t>(
4555 reinterpret_cast<char*>(&reason_) -
4556 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
4557 _internal_metadata_.Clear();
4558}
4559
4560#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4561const char* StopManagingDeviceResponse::_InternalParse(const char* begin, const char* end, void* object,
4562 ::google::protobuf::internal::ParseContext* ctx) {
4563 auto msg = static_cast<StopManagingDeviceResponse*>(object);
4564 ::google::protobuf::int32 size; (void)size;
4565 int depth; (void)depth;
4566 ::google::protobuf::uint32 tag;
4567 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
4568 auto ptr = begin;
4569 while (ptr < end) {
4570 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
4571 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
4572 switch (tag >> 3) {
4573 // .dmi.Status status = 1;
4574 case 1: {
4575 if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual;
4576 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
4577 msg->set_status(static_cast<::dmi::Status>(val));
4578 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
4579 break;
4580 }
4581 // .dmi.StopManagingDeviceResponse.Reason reason = 2;
4582 case 2: {
4583 if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual;
4584 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
4585 msg->set_reason(static_cast<::dmi::StopManagingDeviceResponse_Reason>(val));
4586 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
4587 break;
4588 }
4589 // string reason_detail = 3;
4590 case 3: {
4591 if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual;
4592 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
4593 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
4594 ctx->extra_parse_data().SetFieldName("dmi.StopManagingDeviceResponse.reason_detail");
4595 object = msg->mutable_reason_detail();
4596 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
4597 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
4598 goto string_till_end;
4599 }
4600 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
4601 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
4602 ptr += size;
4603 break;
4604 }
4605 default: {
4606 handle_unusual:
4607 if ((tag & 7) == 4 || tag == 0) {
4608 ctx->EndGroup(tag);
4609 return ptr;
4610 }
4611 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
4612 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
4613 ptr = res.first;
4614 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
4615 if (res.second) return ptr;
4616 }
4617 } // switch
4618 } // while
4619 return ptr;
4620string_till_end:
4621 static_cast<::std::string*>(object)->clear();
4622 static_cast<::std::string*>(object)->reserve(size);
4623 goto len_delim_till_end;
4624len_delim_till_end:
4625 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
4626 {parser_till_end, object}, size);
4627}
4628#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4629bool StopManagingDeviceResponse::MergePartialFromCodedStream(
4630 ::google::protobuf::io::CodedInputStream* input) {
4631#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
4632 ::google::protobuf::uint32 tag;
4633 // @@protoc_insertion_point(parse_start:dmi.StopManagingDeviceResponse)
4634 for (;;) {
4635 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4636 tag = p.first;
4637 if (!p.second) goto handle_unusual;
4638 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4639 // .dmi.Status status = 1;
4640 case 1: {
4641 if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) {
4642 int value = 0;
4643 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4644 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
4645 input, &value)));
4646 set_status(static_cast< ::dmi::Status >(value));
4647 } else {
4648 goto handle_unusual;
4649 }
4650 break;
4651 }
4652
4653 // .dmi.StopManagingDeviceResponse.Reason reason = 2;
4654 case 2: {
4655 if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) {
4656 int value = 0;
4657 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4658 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
4659 input, &value)));
4660 set_reason(static_cast< ::dmi::StopManagingDeviceResponse_Reason >(value));
4661 } else {
4662 goto handle_unusual;
4663 }
4664 break;
4665 }
4666
4667 // string reason_detail = 3;
4668 case 3: {
4669 if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) {
4670 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
4671 input, this->mutable_reason_detail()));
4672 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4673 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
4674 ::google::protobuf::internal::WireFormatLite::PARSE,
4675 "dmi.StopManagingDeviceResponse.reason_detail"));
4676 } else {
4677 goto handle_unusual;
4678 }
4679 break;
4680 }
4681
4682 default: {
4683 handle_unusual:
4684 if (tag == 0) {
4685 goto success;
4686 }
4687 DO_(::google::protobuf::internal::WireFormat::SkipField(
4688 input, tag, _internal_metadata_.mutable_unknown_fields()));
4689 break;
4690 }
4691 }
4692 }
4693success:
4694 // @@protoc_insertion_point(parse_success:dmi.StopManagingDeviceResponse)
4695 return true;
4696failure:
4697 // @@protoc_insertion_point(parse_failure:dmi.StopManagingDeviceResponse)
4698 return false;
4699#undef DO_
4700}
4701#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4702
4703void StopManagingDeviceResponse::SerializeWithCachedSizes(
4704 ::google::protobuf::io::CodedOutputStream* output) const {
4705 // @@protoc_insertion_point(serialize_start:dmi.StopManagingDeviceResponse)
4706 ::google::protobuf::uint32 cached_has_bits = 0;
4707 (void) cached_has_bits;
4708
4709 // .dmi.Status status = 1;
4710 if (this->status() != 0) {
4711 ::google::protobuf::internal::WireFormatLite::WriteEnum(
4712 1, this->status(), output);
4713 }
4714
4715 // .dmi.StopManagingDeviceResponse.Reason reason = 2;
4716 if (this->reason() != 0) {
4717 ::google::protobuf::internal::WireFormatLite::WriteEnum(
4718 2, this->reason(), output);
4719 }
4720
4721 // string reason_detail = 3;
4722 if (this->reason_detail().size() > 0) {
4723 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4724 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
4725 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
4726 "dmi.StopManagingDeviceResponse.reason_detail");
4727 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
4728 3, this->reason_detail(), output);
4729 }
4730
4731 if (_internal_metadata_.have_unknown_fields()) {
4732 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4733 _internal_metadata_.unknown_fields(), output);
4734 }
4735 // @@protoc_insertion_point(serialize_end:dmi.StopManagingDeviceResponse)
4736}
4737
4738::google::protobuf::uint8* StopManagingDeviceResponse::InternalSerializeWithCachedSizesToArray(
4739 ::google::protobuf::uint8* target) const {
4740 // @@protoc_insertion_point(serialize_to_array_start:dmi.StopManagingDeviceResponse)
4741 ::google::protobuf::uint32 cached_has_bits = 0;
4742 (void) cached_has_bits;
4743
4744 // .dmi.Status status = 1;
4745 if (this->status() != 0) {
4746 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
4747 1, this->status(), target);
4748 }
4749
4750 // .dmi.StopManagingDeviceResponse.Reason reason = 2;
4751 if (this->reason() != 0) {
4752 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
4753 2, this->reason(), target);
4754 }
4755
4756 // string reason_detail = 3;
4757 if (this->reason_detail().size() > 0) {
4758 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4759 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
4760 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
4761 "dmi.StopManagingDeviceResponse.reason_detail");
4762 target =
4763 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
4764 3, this->reason_detail(), target);
4765 }
4766
4767 if (_internal_metadata_.have_unknown_fields()) {
4768 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4769 _internal_metadata_.unknown_fields(), target);
4770 }
4771 // @@protoc_insertion_point(serialize_to_array_end:dmi.StopManagingDeviceResponse)
4772 return target;
4773}
4774
4775size_t StopManagingDeviceResponse::ByteSizeLong() const {
4776// @@protoc_insertion_point(message_byte_size_start:dmi.StopManagingDeviceResponse)
4777 size_t total_size = 0;
4778
4779 if (_internal_metadata_.have_unknown_fields()) {
4780 total_size +=
4781 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4782 _internal_metadata_.unknown_fields());
4783 }
4784 ::google::protobuf::uint32 cached_has_bits = 0;
4785 // Prevent compiler warnings about cached_has_bits being unused
4786 (void) cached_has_bits;
4787
4788 // string reason_detail = 3;
4789 if (this->reason_detail().size() > 0) {
4790 total_size += 1 +
4791 ::google::protobuf::internal::WireFormatLite::StringSize(
4792 this->reason_detail());
4793 }
4794
4795 // .dmi.Status status = 1;
4796 if (this->status() != 0) {
4797 total_size += 1 +
4798 ::google::protobuf::internal::WireFormatLite::EnumSize(this->status());
4799 }
4800
4801 // .dmi.StopManagingDeviceResponse.Reason reason = 2;
4802 if (this->reason() != 0) {
4803 total_size += 1 +
4804 ::google::protobuf::internal::WireFormatLite::EnumSize(this->reason());
4805 }
4806
4807 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4808 SetCachedSize(cached_size);
4809 return total_size;
4810}
4811
4812void StopManagingDeviceResponse::MergeFrom(const ::google::protobuf::Message& from) {
4813// @@protoc_insertion_point(generalized_merge_from_start:dmi.StopManagingDeviceResponse)
4814 GOOGLE_DCHECK_NE(&from, this);
4815 const StopManagingDeviceResponse* source =
4816 ::google::protobuf::DynamicCastToGenerated<StopManagingDeviceResponse>(
4817 &from);
4818 if (source == nullptr) {
4819 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.StopManagingDeviceResponse)
4820 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4821 } else {
4822 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.StopManagingDeviceResponse)
4823 MergeFrom(*source);
4824 }
4825}
4826
4827void StopManagingDeviceResponse::MergeFrom(const StopManagingDeviceResponse& from) {
4828// @@protoc_insertion_point(class_specific_merge_from_start:dmi.StopManagingDeviceResponse)
4829 GOOGLE_DCHECK_NE(&from, this);
4830 _internal_metadata_.MergeFrom(from._internal_metadata_);
4831 ::google::protobuf::uint32 cached_has_bits = 0;
4832 (void) cached_has_bits;
4833
4834 if (from.reason_detail().size() > 0) {
4835
4836 reason_detail_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_detail_);
4837 }
4838 if (from.status() != 0) {
4839 set_status(from.status());
4840 }
4841 if (from.reason() != 0) {
4842 set_reason(from.reason());
4843 }
4844}
4845
4846void StopManagingDeviceResponse::CopyFrom(const ::google::protobuf::Message& from) {
4847// @@protoc_insertion_point(generalized_copy_from_start:dmi.StopManagingDeviceResponse)
4848 if (&from == this) return;
4849 Clear();
4850 MergeFrom(from);
4851}
4852
4853void StopManagingDeviceResponse::CopyFrom(const StopManagingDeviceResponse& from) {
4854// @@protoc_insertion_point(class_specific_copy_from_start:dmi.StopManagingDeviceResponse)
4855 if (&from == this) return;
4856 Clear();
4857 MergeFrom(from);
4858}
4859
4860bool StopManagingDeviceResponse::IsInitialized() const {
4861 return true;
4862}
4863
4864void StopManagingDeviceResponse::Swap(StopManagingDeviceResponse* other) {
4865 if (other == this) return;
4866 InternalSwap(other);
4867}
4868void StopManagingDeviceResponse::InternalSwap(StopManagingDeviceResponse* other) {
4869 using std::swap;
4870 _internal_metadata_.Swap(&other->_internal_metadata_);
4871 reason_detail_.Swap(&other->reason_detail_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4872 GetArenaNoVirtual());
4873 swap(status_, other->status_);
4874 swap(reason_, other->reason_);
4875}
4876
4877::google::protobuf::Metadata StopManagingDeviceResponse::GetMetadata() const {
4878 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
4879 return ::file_level_metadata_dmi_2fhw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
4880}
4881
4882
4883// ===================================================================
4884
4885void ManagedDeviceInfo::InitAsDefaultInstance() {
4886 ::dmi::_ManagedDeviceInfo_default_instance_._instance.get_mutable()->info_ = const_cast< ::dmi::ModifiableComponent*>(
4887 ::dmi::ModifiableComponent::internal_default_instance());
4888 ::dmi::_ManagedDeviceInfo_default_instance_._instance.get_mutable()->device_uuid_ = const_cast< ::dmi::Uuid*>(
4889 ::dmi::Uuid::internal_default_instance());
4890}
4891class ManagedDeviceInfo::HasBitSetters {
4892 public:
4893 static const ::dmi::ModifiableComponent& info(const ManagedDeviceInfo* msg);
4894 static const ::dmi::Uuid& device_uuid(const ManagedDeviceInfo* msg);
4895};
4896
4897const ::dmi::ModifiableComponent&
4898ManagedDeviceInfo::HasBitSetters::info(const ManagedDeviceInfo* msg) {
4899 return *msg->info_;
4900}
4901const ::dmi::Uuid&
4902ManagedDeviceInfo::HasBitSetters::device_uuid(const ManagedDeviceInfo* msg) {
4903 return *msg->device_uuid_;
4904}
4905void ManagedDeviceInfo::clear_info() {
4906 if (GetArenaNoVirtual() == nullptr && info_ != nullptr) {
4907 delete info_;
4908 }
4909 info_ = nullptr;
4910}
4911void ManagedDeviceInfo::clear_device_uuid() {
4912 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
4913 delete device_uuid_;
4914 }
4915 device_uuid_ = nullptr;
4916}
4917#if !defined(_MSC_VER) || _MSC_VER >= 1900
4918const int ManagedDeviceInfo::kInfoFieldNumber;
4919const int ManagedDeviceInfo::kDeviceUuidFieldNumber;
4920#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
4921
4922ManagedDeviceInfo::ManagedDeviceInfo()
4923 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
4924 SharedCtor();
4925 // @@protoc_insertion_point(constructor:dmi.ManagedDeviceInfo)
4926}
4927ManagedDeviceInfo::ManagedDeviceInfo(const ManagedDeviceInfo& from)
4928 : ::google::protobuf::Message(),
4929 _internal_metadata_(nullptr) {
4930 _internal_metadata_.MergeFrom(from._internal_metadata_);
4931 if (from.has_info()) {
4932 info_ = new ::dmi::ModifiableComponent(*from.info_);
4933 } else {
4934 info_ = nullptr;
4935 }
4936 if (from.has_device_uuid()) {
4937 device_uuid_ = new ::dmi::Uuid(*from.device_uuid_);
4938 } else {
4939 device_uuid_ = nullptr;
4940 }
4941 // @@protoc_insertion_point(copy_constructor:dmi.ManagedDeviceInfo)
4942}
4943
4944void ManagedDeviceInfo::SharedCtor() {
4945 ::google::protobuf::internal::InitSCC(
4946 &scc_info_ManagedDeviceInfo_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
4947 ::memset(&info_, 0, static_cast<size_t>(
4948 reinterpret_cast<char*>(&device_uuid_) -
4949 reinterpret_cast<char*>(&info_)) + sizeof(device_uuid_));
4950}
4951
4952ManagedDeviceInfo::~ManagedDeviceInfo() {
4953 // @@protoc_insertion_point(destructor:dmi.ManagedDeviceInfo)
4954 SharedDtor();
4955}
4956
4957void ManagedDeviceInfo::SharedDtor() {
4958 if (this != internal_default_instance()) delete info_;
4959 if (this != internal_default_instance()) delete device_uuid_;
4960}
4961
4962void ManagedDeviceInfo::SetCachedSize(int size) const {
4963 _cached_size_.Set(size);
4964}
4965const ManagedDeviceInfo& ManagedDeviceInfo::default_instance() {
4966 ::google::protobuf::internal::InitSCC(&::scc_info_ManagedDeviceInfo_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
4967 return *internal_default_instance();
4968}
4969
4970
4971void ManagedDeviceInfo::Clear() {
4972// @@protoc_insertion_point(message_clear_start:dmi.ManagedDeviceInfo)
4973 ::google::protobuf::uint32 cached_has_bits = 0;
4974 // Prevent compiler warnings about cached_has_bits being unused
4975 (void) cached_has_bits;
4976
4977 if (GetArenaNoVirtual() == nullptr && info_ != nullptr) {
4978 delete info_;
4979 }
4980 info_ = nullptr;
4981 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
4982 delete device_uuid_;
4983 }
4984 device_uuid_ = nullptr;
4985 _internal_metadata_.Clear();
4986}
4987
4988#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4989const char* ManagedDeviceInfo::_InternalParse(const char* begin, const char* end, void* object,
4990 ::google::protobuf::internal::ParseContext* ctx) {
4991 auto msg = static_cast<ManagedDeviceInfo*>(object);
4992 ::google::protobuf::int32 size; (void)size;
4993 int depth; (void)depth;
4994 ::google::protobuf::uint32 tag;
4995 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
4996 auto ptr = begin;
4997 while (ptr < end) {
4998 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
4999 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
5000 switch (tag >> 3) {
5001 // .dmi.ModifiableComponent info = 1;
5002 case 1: {
5003 if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual;
5004 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
5005 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
5006 parser_till_end = ::dmi::ModifiableComponent::_InternalParse;
5007 object = msg->mutable_info();
5008 if (size > end - ptr) goto len_delim_till_end;
5009 ptr += size;
5010 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
5011 {parser_till_end, object}, ptr - size, ptr));
5012 break;
5013 }
5014 // .dmi.Uuid device_uuid = 2;
5015 case 2: {
5016 if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual;
5017 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
5018 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
5019 parser_till_end = ::dmi::Uuid::_InternalParse;
5020 object = msg->mutable_device_uuid();
5021 if (size > end - ptr) goto len_delim_till_end;
5022 ptr += size;
5023 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
5024 {parser_till_end, object}, ptr - size, ptr));
5025 break;
5026 }
5027 default: {
5028 handle_unusual:
5029 if ((tag & 7) == 4 || tag == 0) {
5030 ctx->EndGroup(tag);
5031 return ptr;
5032 }
5033 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
5034 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
5035 ptr = res.first;
5036 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
5037 if (res.second) return ptr;
5038 }
5039 } // switch
5040 } // while
5041 return ptr;
5042len_delim_till_end:
5043 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
5044 {parser_till_end, object}, size);
5045}
5046#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
5047bool ManagedDeviceInfo::MergePartialFromCodedStream(
5048 ::google::protobuf::io::CodedInputStream* input) {
5049#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
5050 ::google::protobuf::uint32 tag;
5051 // @@protoc_insertion_point(parse_start:dmi.ManagedDeviceInfo)
5052 for (;;) {
5053 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
5054 tag = p.first;
5055 if (!p.second) goto handle_unusual;
5056 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
5057 // .dmi.ModifiableComponent info = 1;
5058 case 1: {
5059 if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) {
5060 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
5061 input, mutable_info()));
5062 } else {
5063 goto handle_unusual;
5064 }
5065 break;
5066 }
5067
5068 // .dmi.Uuid device_uuid = 2;
5069 case 2: {
5070 if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) {
5071 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
5072 input, mutable_device_uuid()));
5073 } else {
5074 goto handle_unusual;
5075 }
5076 break;
5077 }
5078
5079 default: {
5080 handle_unusual:
5081 if (tag == 0) {
5082 goto success;
5083 }
5084 DO_(::google::protobuf::internal::WireFormat::SkipField(
5085 input, tag, _internal_metadata_.mutable_unknown_fields()));
5086 break;
5087 }
5088 }
5089 }
5090success:
5091 // @@protoc_insertion_point(parse_success:dmi.ManagedDeviceInfo)
5092 return true;
5093failure:
5094 // @@protoc_insertion_point(parse_failure:dmi.ManagedDeviceInfo)
5095 return false;
5096#undef DO_
5097}
5098#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
5099
5100void ManagedDeviceInfo::SerializeWithCachedSizes(
5101 ::google::protobuf::io::CodedOutputStream* output) const {
5102 // @@protoc_insertion_point(serialize_start:dmi.ManagedDeviceInfo)
5103 ::google::protobuf::uint32 cached_has_bits = 0;
5104 (void) cached_has_bits;
5105
5106 // .dmi.ModifiableComponent info = 1;
5107 if (this->has_info()) {
5108 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5109 1, HasBitSetters::info(this), output);
5110 }
5111
5112 // .dmi.Uuid device_uuid = 2;
5113 if (this->has_device_uuid()) {
5114 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5115 2, HasBitSetters::device_uuid(this), output);
5116 }
5117
5118 if (_internal_metadata_.have_unknown_fields()) {
5119 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
5120 _internal_metadata_.unknown_fields(), output);
5121 }
5122 // @@protoc_insertion_point(serialize_end:dmi.ManagedDeviceInfo)
5123}
5124
5125::google::protobuf::uint8* ManagedDeviceInfo::InternalSerializeWithCachedSizesToArray(
5126 ::google::protobuf::uint8* target) const {
5127 // @@protoc_insertion_point(serialize_to_array_start:dmi.ManagedDeviceInfo)
5128 ::google::protobuf::uint32 cached_has_bits = 0;
5129 (void) cached_has_bits;
5130
5131 // .dmi.ModifiableComponent info = 1;
5132 if (this->has_info()) {
5133 target = ::google::protobuf::internal::WireFormatLite::
5134 InternalWriteMessageToArray(
5135 1, HasBitSetters::info(this), target);
5136 }
5137
5138 // .dmi.Uuid device_uuid = 2;
5139 if (this->has_device_uuid()) {
5140 target = ::google::protobuf::internal::WireFormatLite::
5141 InternalWriteMessageToArray(
5142 2, HasBitSetters::device_uuid(this), target);
5143 }
5144
5145 if (_internal_metadata_.have_unknown_fields()) {
5146 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
5147 _internal_metadata_.unknown_fields(), target);
5148 }
5149 // @@protoc_insertion_point(serialize_to_array_end:dmi.ManagedDeviceInfo)
5150 return target;
5151}
5152
5153size_t ManagedDeviceInfo::ByteSizeLong() const {
5154// @@protoc_insertion_point(message_byte_size_start:dmi.ManagedDeviceInfo)
5155 size_t total_size = 0;
5156
5157 if (_internal_metadata_.have_unknown_fields()) {
5158 total_size +=
5159 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
5160 _internal_metadata_.unknown_fields());
5161 }
5162 ::google::protobuf::uint32 cached_has_bits = 0;
5163 // Prevent compiler warnings about cached_has_bits being unused
5164 (void) cached_has_bits;
5165
5166 // .dmi.ModifiableComponent info = 1;
5167 if (this->has_info()) {
5168 total_size += 1 +
5169 ::google::protobuf::internal::WireFormatLite::MessageSize(
5170 *info_);
5171 }
5172
5173 // .dmi.Uuid device_uuid = 2;
5174 if (this->has_device_uuid()) {
5175 total_size += 1 +
5176 ::google::protobuf::internal::WireFormatLite::MessageSize(
5177 *device_uuid_);
5178 }
5179
5180 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
5181 SetCachedSize(cached_size);
5182 return total_size;
5183}
5184
5185void ManagedDeviceInfo::MergeFrom(const ::google::protobuf::Message& from) {
5186// @@protoc_insertion_point(generalized_merge_from_start:dmi.ManagedDeviceInfo)
5187 GOOGLE_DCHECK_NE(&from, this);
5188 const ManagedDeviceInfo* source =
5189 ::google::protobuf::DynamicCastToGenerated<ManagedDeviceInfo>(
5190 &from);
5191 if (source == nullptr) {
5192 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.ManagedDeviceInfo)
5193 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
5194 } else {
5195 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.ManagedDeviceInfo)
5196 MergeFrom(*source);
5197 }
5198}
5199
5200void ManagedDeviceInfo::MergeFrom(const ManagedDeviceInfo& from) {
5201// @@protoc_insertion_point(class_specific_merge_from_start:dmi.ManagedDeviceInfo)
5202 GOOGLE_DCHECK_NE(&from, this);
5203 _internal_metadata_.MergeFrom(from._internal_metadata_);
5204 ::google::protobuf::uint32 cached_has_bits = 0;
5205 (void) cached_has_bits;
5206
5207 if (from.has_info()) {
5208 mutable_info()->::dmi::ModifiableComponent::MergeFrom(from.info());
5209 }
5210 if (from.has_device_uuid()) {
5211 mutable_device_uuid()->::dmi::Uuid::MergeFrom(from.device_uuid());
5212 }
5213}
5214
5215void ManagedDeviceInfo::CopyFrom(const ::google::protobuf::Message& from) {
5216// @@protoc_insertion_point(generalized_copy_from_start:dmi.ManagedDeviceInfo)
5217 if (&from == this) return;
5218 Clear();
5219 MergeFrom(from);
5220}
5221
5222void ManagedDeviceInfo::CopyFrom(const ManagedDeviceInfo& from) {
5223// @@protoc_insertion_point(class_specific_copy_from_start:dmi.ManagedDeviceInfo)
5224 if (&from == this) return;
5225 Clear();
5226 MergeFrom(from);
5227}
5228
5229bool ManagedDeviceInfo::IsInitialized() const {
5230 return true;
5231}
5232
5233void ManagedDeviceInfo::Swap(ManagedDeviceInfo* other) {
5234 if (other == this) return;
5235 InternalSwap(other);
5236}
5237void ManagedDeviceInfo::InternalSwap(ManagedDeviceInfo* other) {
5238 using std::swap;
5239 _internal_metadata_.Swap(&other->_internal_metadata_);
5240 swap(info_, other->info_);
5241 swap(device_uuid_, other->device_uuid_);
5242}
5243
5244::google::protobuf::Metadata ManagedDeviceInfo::GetMetadata() const {
5245 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
5246 return ::file_level_metadata_dmi_2fhw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
5247}
5248
5249
5250// ===================================================================
5251
5252void ManagedDevicesResponse::InitAsDefaultInstance() {
5253}
5254class ManagedDevicesResponse::HasBitSetters {
5255 public:
5256};
5257
5258#if !defined(_MSC_VER) || _MSC_VER >= 1900
5259const int ManagedDevicesResponse::kStatusFieldNumber;
5260const int ManagedDevicesResponse::kReasonFieldNumber;
5261const int ManagedDevicesResponse::kDevicesFieldNumber;
5262#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
5263
5264ManagedDevicesResponse::ManagedDevicesResponse()
5265 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
5266 SharedCtor();
5267 // @@protoc_insertion_point(constructor:dmi.ManagedDevicesResponse)
5268}
5269ManagedDevicesResponse::ManagedDevicesResponse(const ManagedDevicesResponse& from)
5270 : ::google::protobuf::Message(),
5271 _internal_metadata_(nullptr),
5272 devices_(from.devices_) {
5273 _internal_metadata_.MergeFrom(from._internal_metadata_);
5274 ::memcpy(&status_, &from.status_,
5275 static_cast<size_t>(reinterpret_cast<char*>(&reason_) -
5276 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
5277 // @@protoc_insertion_point(copy_constructor:dmi.ManagedDevicesResponse)
5278}
5279
5280void ManagedDevicesResponse::SharedCtor() {
5281 ::google::protobuf::internal::InitSCC(
5282 &scc_info_ManagedDevicesResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
5283 ::memset(&status_, 0, static_cast<size_t>(
5284 reinterpret_cast<char*>(&reason_) -
5285 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
5286}
5287
5288ManagedDevicesResponse::~ManagedDevicesResponse() {
5289 // @@protoc_insertion_point(destructor:dmi.ManagedDevicesResponse)
5290 SharedDtor();
5291}
5292
5293void ManagedDevicesResponse::SharedDtor() {
5294}
5295
5296void ManagedDevicesResponse::SetCachedSize(int size) const {
5297 _cached_size_.Set(size);
5298}
5299const ManagedDevicesResponse& ManagedDevicesResponse::default_instance() {
5300 ::google::protobuf::internal::InitSCC(&::scc_info_ManagedDevicesResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
5301 return *internal_default_instance();
5302}
5303
5304
5305void ManagedDevicesResponse::Clear() {
5306// @@protoc_insertion_point(message_clear_start:dmi.ManagedDevicesResponse)
5307 ::google::protobuf::uint32 cached_has_bits = 0;
5308 // Prevent compiler warnings about cached_has_bits being unused
5309 (void) cached_has_bits;
5310
5311 devices_.Clear();
5312 ::memset(&status_, 0, static_cast<size_t>(
5313 reinterpret_cast<char*>(&reason_) -
5314 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
5315 _internal_metadata_.Clear();
5316}
5317
5318#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
5319const char* ManagedDevicesResponse::_InternalParse(const char* begin, const char* end, void* object,
5320 ::google::protobuf::internal::ParseContext* ctx) {
5321 auto msg = static_cast<ManagedDevicesResponse*>(object);
5322 ::google::protobuf::int32 size; (void)size;
5323 int depth; (void)depth;
5324 ::google::protobuf::uint32 tag;
5325 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
5326 auto ptr = begin;
5327 while (ptr < end) {
5328 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
5329 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
5330 switch (tag >> 3) {
5331 // .dmi.Status status = 1;
5332 case 1: {
5333 if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual;
5334 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
5335 msg->set_status(static_cast<::dmi::Status>(val));
5336 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
5337 break;
5338 }
5339 // .dmi.ManagedDevicesResponse.Reason reason = 2;
5340 case 2: {
5341 if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual;
5342 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
5343 msg->set_reason(static_cast<::dmi::ManagedDevicesResponse_Reason>(val));
5344 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
5345 break;
5346 }
5347 // repeated .dmi.ManagedDeviceInfo devices = 3;
5348 case 3: {
5349 if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual;
5350 do {
5351 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
5352 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
5353 parser_till_end = ::dmi::ManagedDeviceInfo::_InternalParse;
5354 object = msg->add_devices();
5355 if (size > end - ptr) goto len_delim_till_end;
5356 ptr += size;
5357 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
5358 {parser_till_end, object}, ptr - size, ptr));
5359 if (ptr >= end) break;
5360 } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 26 && (ptr += 1));
5361 break;
5362 }
5363 default: {
5364 handle_unusual:
5365 if ((tag & 7) == 4 || tag == 0) {
5366 ctx->EndGroup(tag);
5367 return ptr;
5368 }
5369 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
5370 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
5371 ptr = res.first;
5372 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
5373 if (res.second) return ptr;
5374 }
5375 } // switch
5376 } // while
5377 return ptr;
5378len_delim_till_end:
5379 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
5380 {parser_till_end, object}, size);
5381}
5382#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
5383bool ManagedDevicesResponse::MergePartialFromCodedStream(
5384 ::google::protobuf::io::CodedInputStream* input) {
5385#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
5386 ::google::protobuf::uint32 tag;
5387 // @@protoc_insertion_point(parse_start:dmi.ManagedDevicesResponse)
5388 for (;;) {
5389 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
5390 tag = p.first;
5391 if (!p.second) goto handle_unusual;
5392 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
5393 // .dmi.Status status = 1;
5394 case 1: {
5395 if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) {
5396 int value = 0;
5397 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5398 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
5399 input, &value)));
5400 set_status(static_cast< ::dmi::Status >(value));
5401 } else {
5402 goto handle_unusual;
5403 }
5404 break;
5405 }
5406
5407 // .dmi.ManagedDevicesResponse.Reason reason = 2;
5408 case 2: {
5409 if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) {
5410 int value = 0;
5411 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5412 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
5413 input, &value)));
5414 set_reason(static_cast< ::dmi::ManagedDevicesResponse_Reason >(value));
5415 } else {
5416 goto handle_unusual;
5417 }
5418 break;
5419 }
5420
5421 // repeated .dmi.ManagedDeviceInfo devices = 3;
5422 case 3: {
5423 if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) {
5424 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
5425 input, add_devices()));
5426 } else {
5427 goto handle_unusual;
5428 }
5429 break;
5430 }
5431
5432 default: {
5433 handle_unusual:
5434 if (tag == 0) {
5435 goto success;
5436 }
5437 DO_(::google::protobuf::internal::WireFormat::SkipField(
5438 input, tag, _internal_metadata_.mutable_unknown_fields()));
5439 break;
5440 }
5441 }
5442 }
5443success:
5444 // @@protoc_insertion_point(parse_success:dmi.ManagedDevicesResponse)
5445 return true;
5446failure:
5447 // @@protoc_insertion_point(parse_failure:dmi.ManagedDevicesResponse)
5448 return false;
5449#undef DO_
5450}
5451#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
5452
5453void ManagedDevicesResponse::SerializeWithCachedSizes(
5454 ::google::protobuf::io::CodedOutputStream* output) const {
5455 // @@protoc_insertion_point(serialize_start:dmi.ManagedDevicesResponse)
5456 ::google::protobuf::uint32 cached_has_bits = 0;
5457 (void) cached_has_bits;
5458
5459 // .dmi.Status status = 1;
5460 if (this->status() != 0) {
5461 ::google::protobuf::internal::WireFormatLite::WriteEnum(
5462 1, this->status(), output);
5463 }
5464
5465 // .dmi.ManagedDevicesResponse.Reason reason = 2;
5466 if (this->reason() != 0) {
5467 ::google::protobuf::internal::WireFormatLite::WriteEnum(
5468 2, this->reason(), output);
5469 }
5470
5471 // repeated .dmi.ManagedDeviceInfo devices = 3;
5472 for (unsigned int i = 0,
5473 n = static_cast<unsigned int>(this->devices_size()); i < n; i++) {
5474 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5475 3,
5476 this->devices(static_cast<int>(i)),
5477 output);
5478 }
5479
5480 if (_internal_metadata_.have_unknown_fields()) {
5481 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
5482 _internal_metadata_.unknown_fields(), output);
5483 }
5484 // @@protoc_insertion_point(serialize_end:dmi.ManagedDevicesResponse)
5485}
5486
5487::google::protobuf::uint8* ManagedDevicesResponse::InternalSerializeWithCachedSizesToArray(
5488 ::google::protobuf::uint8* target) const {
5489 // @@protoc_insertion_point(serialize_to_array_start:dmi.ManagedDevicesResponse)
5490 ::google::protobuf::uint32 cached_has_bits = 0;
5491 (void) cached_has_bits;
5492
5493 // .dmi.Status status = 1;
5494 if (this->status() != 0) {
5495 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
5496 1, this->status(), target);
5497 }
5498
5499 // .dmi.ManagedDevicesResponse.Reason reason = 2;
5500 if (this->reason() != 0) {
5501 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
5502 2, this->reason(), target);
5503 }
5504
5505 // repeated .dmi.ManagedDeviceInfo devices = 3;
5506 for (unsigned int i = 0,
5507 n = static_cast<unsigned int>(this->devices_size()); i < n; i++) {
5508 target = ::google::protobuf::internal::WireFormatLite::
5509 InternalWriteMessageToArray(
5510 3, this->devices(static_cast<int>(i)), target);
5511 }
5512
5513 if (_internal_metadata_.have_unknown_fields()) {
5514 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
5515 _internal_metadata_.unknown_fields(), target);
5516 }
5517 // @@protoc_insertion_point(serialize_to_array_end:dmi.ManagedDevicesResponse)
5518 return target;
5519}
5520
5521size_t ManagedDevicesResponse::ByteSizeLong() const {
5522// @@protoc_insertion_point(message_byte_size_start:dmi.ManagedDevicesResponse)
5523 size_t total_size = 0;
5524
5525 if (_internal_metadata_.have_unknown_fields()) {
5526 total_size +=
5527 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
5528 _internal_metadata_.unknown_fields());
5529 }
5530 ::google::protobuf::uint32 cached_has_bits = 0;
5531 // Prevent compiler warnings about cached_has_bits being unused
5532 (void) cached_has_bits;
5533
5534 // repeated .dmi.ManagedDeviceInfo devices = 3;
5535 {
5536 unsigned int count = static_cast<unsigned int>(this->devices_size());
5537 total_size += 1UL * count;
5538 for (unsigned int i = 0; i < count; i++) {
5539 total_size +=
5540 ::google::protobuf::internal::WireFormatLite::MessageSize(
5541 this->devices(static_cast<int>(i)));
5542 }
5543 }
5544
5545 // .dmi.Status status = 1;
5546 if (this->status() != 0) {
5547 total_size += 1 +
5548 ::google::protobuf::internal::WireFormatLite::EnumSize(this->status());
5549 }
5550
5551 // .dmi.ManagedDevicesResponse.Reason reason = 2;
5552 if (this->reason() != 0) {
5553 total_size += 1 +
5554 ::google::protobuf::internal::WireFormatLite::EnumSize(this->reason());
5555 }
5556
5557 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
5558 SetCachedSize(cached_size);
5559 return total_size;
5560}
5561
5562void ManagedDevicesResponse::MergeFrom(const ::google::protobuf::Message& from) {
5563// @@protoc_insertion_point(generalized_merge_from_start:dmi.ManagedDevicesResponse)
5564 GOOGLE_DCHECK_NE(&from, this);
5565 const ManagedDevicesResponse* source =
5566 ::google::protobuf::DynamicCastToGenerated<ManagedDevicesResponse>(
5567 &from);
5568 if (source == nullptr) {
5569 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.ManagedDevicesResponse)
5570 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
5571 } else {
5572 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.ManagedDevicesResponse)
5573 MergeFrom(*source);
5574 }
5575}
5576
5577void ManagedDevicesResponse::MergeFrom(const ManagedDevicesResponse& from) {
5578// @@protoc_insertion_point(class_specific_merge_from_start:dmi.ManagedDevicesResponse)
5579 GOOGLE_DCHECK_NE(&from, this);
5580 _internal_metadata_.MergeFrom(from._internal_metadata_);
5581 ::google::protobuf::uint32 cached_has_bits = 0;
5582 (void) cached_has_bits;
5583
5584 devices_.MergeFrom(from.devices_);
5585 if (from.status() != 0) {
5586 set_status(from.status());
5587 }
5588 if (from.reason() != 0) {
5589 set_reason(from.reason());
5590 }
5591}
5592
5593void ManagedDevicesResponse::CopyFrom(const ::google::protobuf::Message& from) {
5594// @@protoc_insertion_point(generalized_copy_from_start:dmi.ManagedDevicesResponse)
5595 if (&from == this) return;
5596 Clear();
5597 MergeFrom(from);
5598}
5599
5600void ManagedDevicesResponse::CopyFrom(const ManagedDevicesResponse& from) {
5601// @@protoc_insertion_point(class_specific_copy_from_start:dmi.ManagedDevicesResponse)
5602 if (&from == this) return;
5603 Clear();
5604 MergeFrom(from);
5605}
5606
5607bool ManagedDevicesResponse::IsInitialized() const {
5608 return true;
5609}
5610
5611void ManagedDevicesResponse::Swap(ManagedDevicesResponse* other) {
5612 if (other == this) return;
5613 InternalSwap(other);
5614}
5615void ManagedDevicesResponse::InternalSwap(ManagedDevicesResponse* other) {
5616 using std::swap;
5617 _internal_metadata_.Swap(&other->_internal_metadata_);
5618 CastToBase(&devices_)->InternalSwap(CastToBase(&other->devices_));
5619 swap(status_, other->status_);
5620 swap(reason_, other->reason_);
5621}
5622
5623::google::protobuf::Metadata ManagedDevicesResponse::GetMetadata() const {
5624 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
5625 return ::file_level_metadata_dmi_2fhw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
5626}
5627
5628
5629// ===================================================================
5630
5631void SetLoggingEndpointRequest::InitAsDefaultInstance() {
5632 ::dmi::_SetLoggingEndpointRequest_default_instance_._instance.get_mutable()->device_uuid_ = const_cast< ::dmi::Uuid*>(
5633 ::dmi::Uuid::internal_default_instance());
5634}
5635class SetLoggingEndpointRequest::HasBitSetters {
5636 public:
5637 static const ::dmi::Uuid& device_uuid(const SetLoggingEndpointRequest* msg);
5638};
5639
5640const ::dmi::Uuid&
5641SetLoggingEndpointRequest::HasBitSetters::device_uuid(const SetLoggingEndpointRequest* msg) {
5642 return *msg->device_uuid_;
5643}
5644void SetLoggingEndpointRequest::clear_device_uuid() {
5645 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
5646 delete device_uuid_;
5647 }
5648 device_uuid_ = nullptr;
5649}
5650#if !defined(_MSC_VER) || _MSC_VER >= 1900
5651const int SetLoggingEndpointRequest::kDeviceUuidFieldNumber;
5652const int SetLoggingEndpointRequest::kLoggingEndpointFieldNumber;
5653const int SetLoggingEndpointRequest::kLoggingProtocolFieldNumber;
5654#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
5655
5656SetLoggingEndpointRequest::SetLoggingEndpointRequest()
5657 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
5658 SharedCtor();
5659 // @@protoc_insertion_point(constructor:dmi.SetLoggingEndpointRequest)
5660}
5661SetLoggingEndpointRequest::SetLoggingEndpointRequest(const SetLoggingEndpointRequest& from)
5662 : ::google::protobuf::Message(),
5663 _internal_metadata_(nullptr) {
5664 _internal_metadata_.MergeFrom(from._internal_metadata_);
5665 logging_endpoint_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5666 if (from.logging_endpoint().size() > 0) {
5667 logging_endpoint_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.logging_endpoint_);
5668 }
5669 logging_protocol_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5670 if (from.logging_protocol().size() > 0) {
5671 logging_protocol_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.logging_protocol_);
5672 }
5673 if (from.has_device_uuid()) {
5674 device_uuid_ = new ::dmi::Uuid(*from.device_uuid_);
5675 } else {
5676 device_uuid_ = nullptr;
5677 }
5678 // @@protoc_insertion_point(copy_constructor:dmi.SetLoggingEndpointRequest)
5679}
5680
5681void SetLoggingEndpointRequest::SharedCtor() {
5682 ::google::protobuf::internal::InitSCC(
5683 &scc_info_SetLoggingEndpointRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
5684 logging_endpoint_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5685 logging_protocol_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5686 device_uuid_ = nullptr;
5687}
5688
5689SetLoggingEndpointRequest::~SetLoggingEndpointRequest() {
5690 // @@protoc_insertion_point(destructor:dmi.SetLoggingEndpointRequest)
5691 SharedDtor();
5692}
5693
5694void SetLoggingEndpointRequest::SharedDtor() {
5695 logging_endpoint_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5696 logging_protocol_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5697 if (this != internal_default_instance()) delete device_uuid_;
5698}
5699
5700void SetLoggingEndpointRequest::SetCachedSize(int size) const {
5701 _cached_size_.Set(size);
5702}
5703const SetLoggingEndpointRequest& SetLoggingEndpointRequest::default_instance() {
5704 ::google::protobuf::internal::InitSCC(&::scc_info_SetLoggingEndpointRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
5705 return *internal_default_instance();
5706}
5707
5708
5709void SetLoggingEndpointRequest::Clear() {
5710// @@protoc_insertion_point(message_clear_start:dmi.SetLoggingEndpointRequest)
5711 ::google::protobuf::uint32 cached_has_bits = 0;
5712 // Prevent compiler warnings about cached_has_bits being unused
5713 (void) cached_has_bits;
5714
5715 logging_endpoint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5716 logging_protocol_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5717 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
5718 delete device_uuid_;
5719 }
5720 device_uuid_ = nullptr;
5721 _internal_metadata_.Clear();
5722}
5723
5724#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
5725const char* SetLoggingEndpointRequest::_InternalParse(const char* begin, const char* end, void* object,
5726 ::google::protobuf::internal::ParseContext* ctx) {
5727 auto msg = static_cast<SetLoggingEndpointRequest*>(object);
5728 ::google::protobuf::int32 size; (void)size;
5729 int depth; (void)depth;
5730 ::google::protobuf::uint32 tag;
5731 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
5732 auto ptr = begin;
5733 while (ptr < end) {
5734 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
5735 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
5736 switch (tag >> 3) {
5737 // .dmi.Uuid device_uuid = 1;
5738 case 1: {
5739 if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual;
5740 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
5741 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
5742 parser_till_end = ::dmi::Uuid::_InternalParse;
5743 object = msg->mutable_device_uuid();
5744 if (size > end - ptr) goto len_delim_till_end;
5745 ptr += size;
5746 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
5747 {parser_till_end, object}, ptr - size, ptr));
5748 break;
5749 }
5750 // string logging_endpoint = 2;
5751 case 2: {
5752 if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual;
5753 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
5754 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
5755 ctx->extra_parse_data().SetFieldName("dmi.SetLoggingEndpointRequest.logging_endpoint");
5756 object = msg->mutable_logging_endpoint();
5757 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
5758 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
5759 goto string_till_end;
5760 }
5761 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
5762 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
5763 ptr += size;
5764 break;
5765 }
5766 // string logging_protocol = 3;
5767 case 3: {
5768 if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual;
5769 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
5770 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
5771 ctx->extra_parse_data().SetFieldName("dmi.SetLoggingEndpointRequest.logging_protocol");
5772 object = msg->mutable_logging_protocol();
5773 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
5774 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
5775 goto string_till_end;
5776 }
5777 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
5778 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
5779 ptr += size;
5780 break;
5781 }
5782 default: {
5783 handle_unusual:
5784 if ((tag & 7) == 4 || tag == 0) {
5785 ctx->EndGroup(tag);
5786 return ptr;
5787 }
5788 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
5789 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
5790 ptr = res.first;
5791 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
5792 if (res.second) return ptr;
5793 }
5794 } // switch
5795 } // while
5796 return ptr;
5797string_till_end:
5798 static_cast<::std::string*>(object)->clear();
5799 static_cast<::std::string*>(object)->reserve(size);
5800 goto len_delim_till_end;
5801len_delim_till_end:
5802 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
5803 {parser_till_end, object}, size);
5804}
5805#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
5806bool SetLoggingEndpointRequest::MergePartialFromCodedStream(
5807 ::google::protobuf::io::CodedInputStream* input) {
5808#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
5809 ::google::protobuf::uint32 tag;
5810 // @@protoc_insertion_point(parse_start:dmi.SetLoggingEndpointRequest)
5811 for (;;) {
5812 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
5813 tag = p.first;
5814 if (!p.second) goto handle_unusual;
5815 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
5816 // .dmi.Uuid device_uuid = 1;
5817 case 1: {
5818 if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) {
5819 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
5820 input, mutable_device_uuid()));
5821 } else {
5822 goto handle_unusual;
5823 }
5824 break;
5825 }
5826
5827 // string logging_endpoint = 2;
5828 case 2: {
5829 if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) {
5830 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
5831 input, this->mutable_logging_endpoint()));
5832 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
5833 this->logging_endpoint().data(), static_cast<int>(this->logging_endpoint().length()),
5834 ::google::protobuf::internal::WireFormatLite::PARSE,
5835 "dmi.SetLoggingEndpointRequest.logging_endpoint"));
5836 } else {
5837 goto handle_unusual;
5838 }
5839 break;
5840 }
5841
5842 // string logging_protocol = 3;
5843 case 3: {
5844 if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) {
5845 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
5846 input, this->mutable_logging_protocol()));
5847 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
5848 this->logging_protocol().data(), static_cast<int>(this->logging_protocol().length()),
5849 ::google::protobuf::internal::WireFormatLite::PARSE,
5850 "dmi.SetLoggingEndpointRequest.logging_protocol"));
5851 } else {
5852 goto handle_unusual;
5853 }
5854 break;
5855 }
5856
5857 default: {
5858 handle_unusual:
5859 if (tag == 0) {
5860 goto success;
5861 }
5862 DO_(::google::protobuf::internal::WireFormat::SkipField(
5863 input, tag, _internal_metadata_.mutable_unknown_fields()));
5864 break;
5865 }
5866 }
5867 }
5868success:
5869 // @@protoc_insertion_point(parse_success:dmi.SetLoggingEndpointRequest)
5870 return true;
5871failure:
5872 // @@protoc_insertion_point(parse_failure:dmi.SetLoggingEndpointRequest)
5873 return false;
5874#undef DO_
5875}
5876#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
5877
5878void SetLoggingEndpointRequest::SerializeWithCachedSizes(
5879 ::google::protobuf::io::CodedOutputStream* output) const {
5880 // @@protoc_insertion_point(serialize_start:dmi.SetLoggingEndpointRequest)
5881 ::google::protobuf::uint32 cached_has_bits = 0;
5882 (void) cached_has_bits;
5883
5884 // .dmi.Uuid device_uuid = 1;
5885 if (this->has_device_uuid()) {
5886 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5887 1, HasBitSetters::device_uuid(this), output);
5888 }
5889
5890 // string logging_endpoint = 2;
5891 if (this->logging_endpoint().size() > 0) {
5892 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
5893 this->logging_endpoint().data(), static_cast<int>(this->logging_endpoint().length()),
5894 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
5895 "dmi.SetLoggingEndpointRequest.logging_endpoint");
5896 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
5897 2, this->logging_endpoint(), output);
5898 }
5899
5900 // string logging_protocol = 3;
5901 if (this->logging_protocol().size() > 0) {
5902 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
5903 this->logging_protocol().data(), static_cast<int>(this->logging_protocol().length()),
5904 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
5905 "dmi.SetLoggingEndpointRequest.logging_protocol");
5906 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
5907 3, this->logging_protocol(), output);
5908 }
5909
5910 if (_internal_metadata_.have_unknown_fields()) {
5911 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
5912 _internal_metadata_.unknown_fields(), output);
5913 }
5914 // @@protoc_insertion_point(serialize_end:dmi.SetLoggingEndpointRequest)
5915}
5916
5917::google::protobuf::uint8* SetLoggingEndpointRequest::InternalSerializeWithCachedSizesToArray(
5918 ::google::protobuf::uint8* target) const {
5919 // @@protoc_insertion_point(serialize_to_array_start:dmi.SetLoggingEndpointRequest)
5920 ::google::protobuf::uint32 cached_has_bits = 0;
5921 (void) cached_has_bits;
5922
5923 // .dmi.Uuid device_uuid = 1;
5924 if (this->has_device_uuid()) {
5925 target = ::google::protobuf::internal::WireFormatLite::
5926 InternalWriteMessageToArray(
5927 1, HasBitSetters::device_uuid(this), target);
5928 }
5929
5930 // string logging_endpoint = 2;
5931 if (this->logging_endpoint().size() > 0) {
5932 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
5933 this->logging_endpoint().data(), static_cast<int>(this->logging_endpoint().length()),
5934 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
5935 "dmi.SetLoggingEndpointRequest.logging_endpoint");
5936 target =
5937 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
5938 2, this->logging_endpoint(), target);
5939 }
5940
5941 // string logging_protocol = 3;
5942 if (this->logging_protocol().size() > 0) {
5943 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
5944 this->logging_protocol().data(), static_cast<int>(this->logging_protocol().length()),
5945 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
5946 "dmi.SetLoggingEndpointRequest.logging_protocol");
5947 target =
5948 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
5949 3, this->logging_protocol(), target);
5950 }
5951
5952 if (_internal_metadata_.have_unknown_fields()) {
5953 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
5954 _internal_metadata_.unknown_fields(), target);
5955 }
5956 // @@protoc_insertion_point(serialize_to_array_end:dmi.SetLoggingEndpointRequest)
5957 return target;
5958}
5959
5960size_t SetLoggingEndpointRequest::ByteSizeLong() const {
5961// @@protoc_insertion_point(message_byte_size_start:dmi.SetLoggingEndpointRequest)
5962 size_t total_size = 0;
5963
5964 if (_internal_metadata_.have_unknown_fields()) {
5965 total_size +=
5966 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
5967 _internal_metadata_.unknown_fields());
5968 }
5969 ::google::protobuf::uint32 cached_has_bits = 0;
5970 // Prevent compiler warnings about cached_has_bits being unused
5971 (void) cached_has_bits;
5972
5973 // string logging_endpoint = 2;
5974 if (this->logging_endpoint().size() > 0) {
5975 total_size += 1 +
5976 ::google::protobuf::internal::WireFormatLite::StringSize(
5977 this->logging_endpoint());
5978 }
5979
5980 // string logging_protocol = 3;
5981 if (this->logging_protocol().size() > 0) {
5982 total_size += 1 +
5983 ::google::protobuf::internal::WireFormatLite::StringSize(
5984 this->logging_protocol());
5985 }
5986
5987 // .dmi.Uuid device_uuid = 1;
5988 if (this->has_device_uuid()) {
5989 total_size += 1 +
5990 ::google::protobuf::internal::WireFormatLite::MessageSize(
5991 *device_uuid_);
5992 }
5993
5994 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
5995 SetCachedSize(cached_size);
5996 return total_size;
5997}
5998
5999void SetLoggingEndpointRequest::MergeFrom(const ::google::protobuf::Message& from) {
6000// @@protoc_insertion_point(generalized_merge_from_start:dmi.SetLoggingEndpointRequest)
6001 GOOGLE_DCHECK_NE(&from, this);
6002 const SetLoggingEndpointRequest* source =
6003 ::google::protobuf::DynamicCastToGenerated<SetLoggingEndpointRequest>(
6004 &from);
6005 if (source == nullptr) {
6006 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.SetLoggingEndpointRequest)
6007 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6008 } else {
6009 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.SetLoggingEndpointRequest)
6010 MergeFrom(*source);
6011 }
6012}
6013
6014void SetLoggingEndpointRequest::MergeFrom(const SetLoggingEndpointRequest& from) {
6015// @@protoc_insertion_point(class_specific_merge_from_start:dmi.SetLoggingEndpointRequest)
6016 GOOGLE_DCHECK_NE(&from, this);
6017 _internal_metadata_.MergeFrom(from._internal_metadata_);
6018 ::google::protobuf::uint32 cached_has_bits = 0;
6019 (void) cached_has_bits;
6020
6021 if (from.logging_endpoint().size() > 0) {
6022
6023 logging_endpoint_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.logging_endpoint_);
6024 }
6025 if (from.logging_protocol().size() > 0) {
6026
6027 logging_protocol_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.logging_protocol_);
6028 }
6029 if (from.has_device_uuid()) {
6030 mutable_device_uuid()->::dmi::Uuid::MergeFrom(from.device_uuid());
6031 }
6032}
6033
6034void SetLoggingEndpointRequest::CopyFrom(const ::google::protobuf::Message& from) {
6035// @@protoc_insertion_point(generalized_copy_from_start:dmi.SetLoggingEndpointRequest)
6036 if (&from == this) return;
6037 Clear();
6038 MergeFrom(from);
6039}
6040
6041void SetLoggingEndpointRequest::CopyFrom(const SetLoggingEndpointRequest& from) {
6042// @@protoc_insertion_point(class_specific_copy_from_start:dmi.SetLoggingEndpointRequest)
6043 if (&from == this) return;
6044 Clear();
6045 MergeFrom(from);
6046}
6047
6048bool SetLoggingEndpointRequest::IsInitialized() const {
6049 return true;
6050}
6051
6052void SetLoggingEndpointRequest::Swap(SetLoggingEndpointRequest* other) {
6053 if (other == this) return;
6054 InternalSwap(other);
6055}
6056void SetLoggingEndpointRequest::InternalSwap(SetLoggingEndpointRequest* other) {
6057 using std::swap;
6058 _internal_metadata_.Swap(&other->_internal_metadata_);
6059 logging_endpoint_.Swap(&other->logging_endpoint_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6060 GetArenaNoVirtual());
6061 logging_protocol_.Swap(&other->logging_protocol_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6062 GetArenaNoVirtual());
6063 swap(device_uuid_, other->device_uuid_);
6064}
6065
6066::google::protobuf::Metadata SetLoggingEndpointRequest::GetMetadata() const {
6067 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
6068 return ::file_level_metadata_dmi_2fhw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
6069}
6070
6071
6072// ===================================================================
6073
6074void SetRemoteEndpointResponse::InitAsDefaultInstance() {
6075}
6076class SetRemoteEndpointResponse::HasBitSetters {
6077 public:
6078};
6079
6080#if !defined(_MSC_VER) || _MSC_VER >= 1900
6081const int SetRemoteEndpointResponse::kStatusFieldNumber;
6082const int SetRemoteEndpointResponse::kReasonFieldNumber;
6083const int SetRemoteEndpointResponse::kReasonDetailFieldNumber;
6084#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
6085
6086SetRemoteEndpointResponse::SetRemoteEndpointResponse()
6087 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
6088 SharedCtor();
6089 // @@protoc_insertion_point(constructor:dmi.SetRemoteEndpointResponse)
6090}
6091SetRemoteEndpointResponse::SetRemoteEndpointResponse(const SetRemoteEndpointResponse& from)
6092 : ::google::protobuf::Message(),
6093 _internal_metadata_(nullptr) {
6094 _internal_metadata_.MergeFrom(from._internal_metadata_);
6095 reason_detail_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6096 if (from.reason_detail().size() > 0) {
6097 reason_detail_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_detail_);
6098 }
6099 ::memcpy(&status_, &from.status_,
6100 static_cast<size_t>(reinterpret_cast<char*>(&reason_) -
6101 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
6102 // @@protoc_insertion_point(copy_constructor:dmi.SetRemoteEndpointResponse)
6103}
6104
6105void SetRemoteEndpointResponse::SharedCtor() {
6106 ::google::protobuf::internal::InitSCC(
6107 &scc_info_SetRemoteEndpointResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
6108 reason_detail_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6109 ::memset(&status_, 0, static_cast<size_t>(
6110 reinterpret_cast<char*>(&reason_) -
6111 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
6112}
6113
6114SetRemoteEndpointResponse::~SetRemoteEndpointResponse() {
6115 // @@protoc_insertion_point(destructor:dmi.SetRemoteEndpointResponse)
6116 SharedDtor();
6117}
6118
6119void SetRemoteEndpointResponse::SharedDtor() {
6120 reason_detail_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6121}
6122
6123void SetRemoteEndpointResponse::SetCachedSize(int size) const {
6124 _cached_size_.Set(size);
6125}
6126const SetRemoteEndpointResponse& SetRemoteEndpointResponse::default_instance() {
6127 ::google::protobuf::internal::InitSCC(&::scc_info_SetRemoteEndpointResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
6128 return *internal_default_instance();
6129}
6130
6131
6132void SetRemoteEndpointResponse::Clear() {
6133// @@protoc_insertion_point(message_clear_start:dmi.SetRemoteEndpointResponse)
6134 ::google::protobuf::uint32 cached_has_bits = 0;
6135 // Prevent compiler warnings about cached_has_bits being unused
6136 (void) cached_has_bits;
6137
6138 reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6139 ::memset(&status_, 0, static_cast<size_t>(
6140 reinterpret_cast<char*>(&reason_) -
6141 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
6142 _internal_metadata_.Clear();
6143}
6144
6145#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
6146const char* SetRemoteEndpointResponse::_InternalParse(const char* begin, const char* end, void* object,
6147 ::google::protobuf::internal::ParseContext* ctx) {
6148 auto msg = static_cast<SetRemoteEndpointResponse*>(object);
6149 ::google::protobuf::int32 size; (void)size;
6150 int depth; (void)depth;
6151 ::google::protobuf::uint32 tag;
6152 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
6153 auto ptr = begin;
6154 while (ptr < end) {
6155 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
6156 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
6157 switch (tag >> 3) {
6158 // .dmi.Status status = 1;
6159 case 1: {
6160 if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual;
6161 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
6162 msg->set_status(static_cast<::dmi::Status>(val));
6163 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
6164 break;
6165 }
6166 // .dmi.SetRemoteEndpointResponse.Reason reason = 2;
6167 case 2: {
6168 if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual;
6169 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
6170 msg->set_reason(static_cast<::dmi::SetRemoteEndpointResponse_Reason>(val));
6171 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
6172 break;
6173 }
6174 // string reason_detail = 3;
6175 case 3: {
6176 if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual;
6177 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
6178 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
6179 ctx->extra_parse_data().SetFieldName("dmi.SetRemoteEndpointResponse.reason_detail");
6180 object = msg->mutable_reason_detail();
6181 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
6182 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
6183 goto string_till_end;
6184 }
6185 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
6186 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
6187 ptr += size;
6188 break;
6189 }
6190 default: {
6191 handle_unusual:
6192 if ((tag & 7) == 4 || tag == 0) {
6193 ctx->EndGroup(tag);
6194 return ptr;
6195 }
6196 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
6197 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
6198 ptr = res.first;
6199 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
6200 if (res.second) return ptr;
6201 }
6202 } // switch
6203 } // while
6204 return ptr;
6205string_till_end:
6206 static_cast<::std::string*>(object)->clear();
6207 static_cast<::std::string*>(object)->reserve(size);
6208 goto len_delim_till_end;
6209len_delim_till_end:
6210 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
6211 {parser_till_end, object}, size);
6212}
6213#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
6214bool SetRemoteEndpointResponse::MergePartialFromCodedStream(
6215 ::google::protobuf::io::CodedInputStream* input) {
6216#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
6217 ::google::protobuf::uint32 tag;
6218 // @@protoc_insertion_point(parse_start:dmi.SetRemoteEndpointResponse)
6219 for (;;) {
6220 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
6221 tag = p.first;
6222 if (!p.second) goto handle_unusual;
6223 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6224 // .dmi.Status status = 1;
6225 case 1: {
6226 if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) {
6227 int value = 0;
6228 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6229 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
6230 input, &value)));
6231 set_status(static_cast< ::dmi::Status >(value));
6232 } else {
6233 goto handle_unusual;
6234 }
6235 break;
6236 }
6237
6238 // .dmi.SetRemoteEndpointResponse.Reason reason = 2;
6239 case 2: {
6240 if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) {
6241 int value = 0;
6242 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6243 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
6244 input, &value)));
6245 set_reason(static_cast< ::dmi::SetRemoteEndpointResponse_Reason >(value));
6246 } else {
6247 goto handle_unusual;
6248 }
6249 break;
6250 }
6251
6252 // string reason_detail = 3;
6253 case 3: {
6254 if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) {
6255 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
6256 input, this->mutable_reason_detail()));
6257 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
6258 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
6259 ::google::protobuf::internal::WireFormatLite::PARSE,
6260 "dmi.SetRemoteEndpointResponse.reason_detail"));
6261 } else {
6262 goto handle_unusual;
6263 }
6264 break;
6265 }
6266
6267 default: {
6268 handle_unusual:
6269 if (tag == 0) {
6270 goto success;
6271 }
6272 DO_(::google::protobuf::internal::WireFormat::SkipField(
6273 input, tag, _internal_metadata_.mutable_unknown_fields()));
6274 break;
6275 }
6276 }
6277 }
6278success:
6279 // @@protoc_insertion_point(parse_success:dmi.SetRemoteEndpointResponse)
6280 return true;
6281failure:
6282 // @@protoc_insertion_point(parse_failure:dmi.SetRemoteEndpointResponse)
6283 return false;
6284#undef DO_
6285}
6286#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
6287
6288void SetRemoteEndpointResponse::SerializeWithCachedSizes(
6289 ::google::protobuf::io::CodedOutputStream* output) const {
6290 // @@protoc_insertion_point(serialize_start:dmi.SetRemoteEndpointResponse)
6291 ::google::protobuf::uint32 cached_has_bits = 0;
6292 (void) cached_has_bits;
6293
6294 // .dmi.Status status = 1;
6295 if (this->status() != 0) {
6296 ::google::protobuf::internal::WireFormatLite::WriteEnum(
6297 1, this->status(), output);
6298 }
6299
6300 // .dmi.SetRemoteEndpointResponse.Reason reason = 2;
6301 if (this->reason() != 0) {
6302 ::google::protobuf::internal::WireFormatLite::WriteEnum(
6303 2, this->reason(), output);
6304 }
6305
6306 // string reason_detail = 3;
6307 if (this->reason_detail().size() > 0) {
6308 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
6309 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
6310 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
6311 "dmi.SetRemoteEndpointResponse.reason_detail");
6312 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
6313 3, this->reason_detail(), output);
6314 }
6315
6316 if (_internal_metadata_.have_unknown_fields()) {
6317 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
6318 _internal_metadata_.unknown_fields(), output);
6319 }
6320 // @@protoc_insertion_point(serialize_end:dmi.SetRemoteEndpointResponse)
6321}
6322
6323::google::protobuf::uint8* SetRemoteEndpointResponse::InternalSerializeWithCachedSizesToArray(
6324 ::google::protobuf::uint8* target) const {
6325 // @@protoc_insertion_point(serialize_to_array_start:dmi.SetRemoteEndpointResponse)
6326 ::google::protobuf::uint32 cached_has_bits = 0;
6327 (void) cached_has_bits;
6328
6329 // .dmi.Status status = 1;
6330 if (this->status() != 0) {
6331 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
6332 1, this->status(), target);
6333 }
6334
6335 // .dmi.SetRemoteEndpointResponse.Reason reason = 2;
6336 if (this->reason() != 0) {
6337 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
6338 2, this->reason(), target);
6339 }
6340
6341 // string reason_detail = 3;
6342 if (this->reason_detail().size() > 0) {
6343 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
6344 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
6345 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
6346 "dmi.SetRemoteEndpointResponse.reason_detail");
6347 target =
6348 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
6349 3, this->reason_detail(), target);
6350 }
6351
6352 if (_internal_metadata_.have_unknown_fields()) {
6353 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
6354 _internal_metadata_.unknown_fields(), target);
6355 }
6356 // @@protoc_insertion_point(serialize_to_array_end:dmi.SetRemoteEndpointResponse)
6357 return target;
6358}
6359
6360size_t SetRemoteEndpointResponse::ByteSizeLong() const {
6361// @@protoc_insertion_point(message_byte_size_start:dmi.SetRemoteEndpointResponse)
6362 size_t total_size = 0;
6363
6364 if (_internal_metadata_.have_unknown_fields()) {
6365 total_size +=
6366 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
6367 _internal_metadata_.unknown_fields());
6368 }
6369 ::google::protobuf::uint32 cached_has_bits = 0;
6370 // Prevent compiler warnings about cached_has_bits being unused
6371 (void) cached_has_bits;
6372
6373 // string reason_detail = 3;
6374 if (this->reason_detail().size() > 0) {
6375 total_size += 1 +
6376 ::google::protobuf::internal::WireFormatLite::StringSize(
6377 this->reason_detail());
6378 }
6379
6380 // .dmi.Status status = 1;
6381 if (this->status() != 0) {
6382 total_size += 1 +
6383 ::google::protobuf::internal::WireFormatLite::EnumSize(this->status());
6384 }
6385
6386 // .dmi.SetRemoteEndpointResponse.Reason reason = 2;
6387 if (this->reason() != 0) {
6388 total_size += 1 +
6389 ::google::protobuf::internal::WireFormatLite::EnumSize(this->reason());
6390 }
6391
6392 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
6393 SetCachedSize(cached_size);
6394 return total_size;
6395}
6396
6397void SetRemoteEndpointResponse::MergeFrom(const ::google::protobuf::Message& from) {
6398// @@protoc_insertion_point(generalized_merge_from_start:dmi.SetRemoteEndpointResponse)
6399 GOOGLE_DCHECK_NE(&from, this);
6400 const SetRemoteEndpointResponse* source =
6401 ::google::protobuf::DynamicCastToGenerated<SetRemoteEndpointResponse>(
6402 &from);
6403 if (source == nullptr) {
6404 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.SetRemoteEndpointResponse)
6405 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6406 } else {
6407 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.SetRemoteEndpointResponse)
6408 MergeFrom(*source);
6409 }
6410}
6411
6412void SetRemoteEndpointResponse::MergeFrom(const SetRemoteEndpointResponse& from) {
6413// @@protoc_insertion_point(class_specific_merge_from_start:dmi.SetRemoteEndpointResponse)
6414 GOOGLE_DCHECK_NE(&from, this);
6415 _internal_metadata_.MergeFrom(from._internal_metadata_);
6416 ::google::protobuf::uint32 cached_has_bits = 0;
6417 (void) cached_has_bits;
6418
6419 if (from.reason_detail().size() > 0) {
6420
6421 reason_detail_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_detail_);
6422 }
6423 if (from.status() != 0) {
6424 set_status(from.status());
6425 }
6426 if (from.reason() != 0) {
6427 set_reason(from.reason());
6428 }
6429}
6430
6431void SetRemoteEndpointResponse::CopyFrom(const ::google::protobuf::Message& from) {
6432// @@protoc_insertion_point(generalized_copy_from_start:dmi.SetRemoteEndpointResponse)
6433 if (&from == this) return;
6434 Clear();
6435 MergeFrom(from);
6436}
6437
6438void SetRemoteEndpointResponse::CopyFrom(const SetRemoteEndpointResponse& from) {
6439// @@protoc_insertion_point(class_specific_copy_from_start:dmi.SetRemoteEndpointResponse)
6440 if (&from == this) return;
6441 Clear();
6442 MergeFrom(from);
6443}
6444
6445bool SetRemoteEndpointResponse::IsInitialized() const {
6446 return true;
6447}
6448
6449void SetRemoteEndpointResponse::Swap(SetRemoteEndpointResponse* other) {
6450 if (other == this) return;
6451 InternalSwap(other);
6452}
6453void SetRemoteEndpointResponse::InternalSwap(SetRemoteEndpointResponse* other) {
6454 using std::swap;
6455 _internal_metadata_.Swap(&other->_internal_metadata_);
6456 reason_detail_.Swap(&other->reason_detail_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6457 GetArenaNoVirtual());
6458 swap(status_, other->status_);
6459 swap(reason_, other->reason_);
6460}
6461
6462::google::protobuf::Metadata SetRemoteEndpointResponse::GetMetadata() const {
6463 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
6464 return ::file_level_metadata_dmi_2fhw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
6465}
6466
6467
6468// ===================================================================
6469
6470void GetLoggingEndpointResponse::InitAsDefaultInstance() {
6471}
6472class GetLoggingEndpointResponse::HasBitSetters {
6473 public:
6474};
6475
6476#if !defined(_MSC_VER) || _MSC_VER >= 1900
6477const int GetLoggingEndpointResponse::kStatusFieldNumber;
6478const int GetLoggingEndpointResponse::kReasonFieldNumber;
6479const int GetLoggingEndpointResponse::kLoggingEndpointFieldNumber;
6480const int GetLoggingEndpointResponse::kLoggingProtocolFieldNumber;
6481const int GetLoggingEndpointResponse::kReasonDetailFieldNumber;
6482#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
6483
6484GetLoggingEndpointResponse::GetLoggingEndpointResponse()
6485 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
6486 SharedCtor();
6487 // @@protoc_insertion_point(constructor:dmi.GetLoggingEndpointResponse)
6488}
6489GetLoggingEndpointResponse::GetLoggingEndpointResponse(const GetLoggingEndpointResponse& from)
6490 : ::google::protobuf::Message(),
6491 _internal_metadata_(nullptr) {
6492 _internal_metadata_.MergeFrom(from._internal_metadata_);
6493 logging_endpoint_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6494 if (from.logging_endpoint().size() > 0) {
6495 logging_endpoint_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.logging_endpoint_);
6496 }
6497 logging_protocol_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6498 if (from.logging_protocol().size() > 0) {
6499 logging_protocol_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.logging_protocol_);
6500 }
6501 reason_detail_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6502 if (from.reason_detail().size() > 0) {
6503 reason_detail_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_detail_);
6504 }
6505 ::memcpy(&status_, &from.status_,
6506 static_cast<size_t>(reinterpret_cast<char*>(&reason_) -
6507 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
6508 // @@protoc_insertion_point(copy_constructor:dmi.GetLoggingEndpointResponse)
6509}
6510
6511void GetLoggingEndpointResponse::SharedCtor() {
6512 ::google::protobuf::internal::InitSCC(
6513 &scc_info_GetLoggingEndpointResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
6514 logging_endpoint_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6515 logging_protocol_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6516 reason_detail_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6517 ::memset(&status_, 0, static_cast<size_t>(
6518 reinterpret_cast<char*>(&reason_) -
6519 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
6520}
6521
6522GetLoggingEndpointResponse::~GetLoggingEndpointResponse() {
6523 // @@protoc_insertion_point(destructor:dmi.GetLoggingEndpointResponse)
6524 SharedDtor();
6525}
6526
6527void GetLoggingEndpointResponse::SharedDtor() {
6528 logging_endpoint_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6529 logging_protocol_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6530 reason_detail_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6531}
6532
6533void GetLoggingEndpointResponse::SetCachedSize(int size) const {
6534 _cached_size_.Set(size);
6535}
6536const GetLoggingEndpointResponse& GetLoggingEndpointResponse::default_instance() {
6537 ::google::protobuf::internal::InitSCC(&::scc_info_GetLoggingEndpointResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
6538 return *internal_default_instance();
6539}
6540
6541
6542void GetLoggingEndpointResponse::Clear() {
6543// @@protoc_insertion_point(message_clear_start:dmi.GetLoggingEndpointResponse)
6544 ::google::protobuf::uint32 cached_has_bits = 0;
6545 // Prevent compiler warnings about cached_has_bits being unused
6546 (void) cached_has_bits;
6547
6548 logging_endpoint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6549 logging_protocol_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6550 reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6551 ::memset(&status_, 0, static_cast<size_t>(
6552 reinterpret_cast<char*>(&reason_) -
6553 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
6554 _internal_metadata_.Clear();
6555}
6556
6557#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
6558const char* GetLoggingEndpointResponse::_InternalParse(const char* begin, const char* end, void* object,
6559 ::google::protobuf::internal::ParseContext* ctx) {
6560 auto msg = static_cast<GetLoggingEndpointResponse*>(object);
6561 ::google::protobuf::int32 size; (void)size;
6562 int depth; (void)depth;
6563 ::google::protobuf::uint32 tag;
6564 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
6565 auto ptr = begin;
6566 while (ptr < end) {
6567 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
6568 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
6569 switch (tag >> 3) {
6570 // .dmi.Status status = 1;
6571 case 1: {
6572 if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual;
6573 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
6574 msg->set_status(static_cast<::dmi::Status>(val));
6575 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
6576 break;
6577 }
6578 // .dmi.GetLoggingEndpointResponse.Reason reason = 2;
6579 case 2: {
6580 if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual;
6581 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
6582 msg->set_reason(static_cast<::dmi::GetLoggingEndpointResponse_Reason>(val));
6583 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
6584 break;
6585 }
6586 // string logging_endpoint = 3;
6587 case 3: {
6588 if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual;
6589 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
6590 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
6591 ctx->extra_parse_data().SetFieldName("dmi.GetLoggingEndpointResponse.logging_endpoint");
6592 object = msg->mutable_logging_endpoint();
6593 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
6594 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
6595 goto string_till_end;
6596 }
6597 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
6598 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
6599 ptr += size;
6600 break;
6601 }
6602 // string logging_protocol = 4;
6603 case 4: {
6604 if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual;
6605 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
6606 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
6607 ctx->extra_parse_data().SetFieldName("dmi.GetLoggingEndpointResponse.logging_protocol");
6608 object = msg->mutable_logging_protocol();
6609 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
6610 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
6611 goto string_till_end;
6612 }
6613 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
6614 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
6615 ptr += size;
6616 break;
6617 }
6618 // string reason_detail = 5;
6619 case 5: {
6620 if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual;
6621 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
6622 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
6623 ctx->extra_parse_data().SetFieldName("dmi.GetLoggingEndpointResponse.reason_detail");
6624 object = msg->mutable_reason_detail();
6625 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
6626 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
6627 goto string_till_end;
6628 }
6629 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
6630 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
6631 ptr += size;
6632 break;
6633 }
6634 default: {
6635 handle_unusual:
6636 if ((tag & 7) == 4 || tag == 0) {
6637 ctx->EndGroup(tag);
6638 return ptr;
6639 }
6640 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
6641 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
6642 ptr = res.first;
6643 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
6644 if (res.second) return ptr;
6645 }
6646 } // switch
6647 } // while
6648 return ptr;
6649string_till_end:
6650 static_cast<::std::string*>(object)->clear();
6651 static_cast<::std::string*>(object)->reserve(size);
6652 goto len_delim_till_end;
6653len_delim_till_end:
6654 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
6655 {parser_till_end, object}, size);
6656}
6657#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
6658bool GetLoggingEndpointResponse::MergePartialFromCodedStream(
6659 ::google::protobuf::io::CodedInputStream* input) {
6660#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
6661 ::google::protobuf::uint32 tag;
6662 // @@protoc_insertion_point(parse_start:dmi.GetLoggingEndpointResponse)
6663 for (;;) {
6664 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
6665 tag = p.first;
6666 if (!p.second) goto handle_unusual;
6667 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6668 // .dmi.Status status = 1;
6669 case 1: {
6670 if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) {
6671 int value = 0;
6672 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6673 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
6674 input, &value)));
6675 set_status(static_cast< ::dmi::Status >(value));
6676 } else {
6677 goto handle_unusual;
6678 }
6679 break;
6680 }
6681
6682 // .dmi.GetLoggingEndpointResponse.Reason reason = 2;
6683 case 2: {
6684 if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) {
6685 int value = 0;
6686 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6687 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
6688 input, &value)));
6689 set_reason(static_cast< ::dmi::GetLoggingEndpointResponse_Reason >(value));
6690 } else {
6691 goto handle_unusual;
6692 }
6693 break;
6694 }
6695
6696 // string logging_endpoint = 3;
6697 case 3: {
6698 if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) {
6699 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
6700 input, this->mutable_logging_endpoint()));
6701 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
6702 this->logging_endpoint().data(), static_cast<int>(this->logging_endpoint().length()),
6703 ::google::protobuf::internal::WireFormatLite::PARSE,
6704 "dmi.GetLoggingEndpointResponse.logging_endpoint"));
6705 } else {
6706 goto handle_unusual;
6707 }
6708 break;
6709 }
6710
6711 // string logging_protocol = 4;
6712 case 4: {
6713 if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) {
6714 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
6715 input, this->mutable_logging_protocol()));
6716 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
6717 this->logging_protocol().data(), static_cast<int>(this->logging_protocol().length()),
6718 ::google::protobuf::internal::WireFormatLite::PARSE,
6719 "dmi.GetLoggingEndpointResponse.logging_protocol"));
6720 } else {
6721 goto handle_unusual;
6722 }
6723 break;
6724 }
6725
6726 // string reason_detail = 5;
6727 case 5: {
6728 if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) {
6729 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
6730 input, this->mutable_reason_detail()));
6731 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
6732 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
6733 ::google::protobuf::internal::WireFormatLite::PARSE,
6734 "dmi.GetLoggingEndpointResponse.reason_detail"));
6735 } else {
6736 goto handle_unusual;
6737 }
6738 break;
6739 }
6740
6741 default: {
6742 handle_unusual:
6743 if (tag == 0) {
6744 goto success;
6745 }
6746 DO_(::google::protobuf::internal::WireFormat::SkipField(
6747 input, tag, _internal_metadata_.mutable_unknown_fields()));
6748 break;
6749 }
6750 }
6751 }
6752success:
6753 // @@protoc_insertion_point(parse_success:dmi.GetLoggingEndpointResponse)
6754 return true;
6755failure:
6756 // @@protoc_insertion_point(parse_failure:dmi.GetLoggingEndpointResponse)
6757 return false;
6758#undef DO_
6759}
6760#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
6761
6762void GetLoggingEndpointResponse::SerializeWithCachedSizes(
6763 ::google::protobuf::io::CodedOutputStream* output) const {
6764 // @@protoc_insertion_point(serialize_start:dmi.GetLoggingEndpointResponse)
6765 ::google::protobuf::uint32 cached_has_bits = 0;
6766 (void) cached_has_bits;
6767
6768 // .dmi.Status status = 1;
6769 if (this->status() != 0) {
6770 ::google::protobuf::internal::WireFormatLite::WriteEnum(
6771 1, this->status(), output);
6772 }
6773
6774 // .dmi.GetLoggingEndpointResponse.Reason reason = 2;
6775 if (this->reason() != 0) {
6776 ::google::protobuf::internal::WireFormatLite::WriteEnum(
6777 2, this->reason(), output);
6778 }
6779
6780 // string logging_endpoint = 3;
6781 if (this->logging_endpoint().size() > 0) {
6782 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
6783 this->logging_endpoint().data(), static_cast<int>(this->logging_endpoint().length()),
6784 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
6785 "dmi.GetLoggingEndpointResponse.logging_endpoint");
6786 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
6787 3, this->logging_endpoint(), output);
6788 }
6789
6790 // string logging_protocol = 4;
6791 if (this->logging_protocol().size() > 0) {
6792 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
6793 this->logging_protocol().data(), static_cast<int>(this->logging_protocol().length()),
6794 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
6795 "dmi.GetLoggingEndpointResponse.logging_protocol");
6796 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
6797 4, this->logging_protocol(), output);
6798 }
6799
6800 // string reason_detail = 5;
6801 if (this->reason_detail().size() > 0) {
6802 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
6803 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
6804 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
6805 "dmi.GetLoggingEndpointResponse.reason_detail");
6806 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
6807 5, this->reason_detail(), output);
6808 }
6809
6810 if (_internal_metadata_.have_unknown_fields()) {
6811 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
6812 _internal_metadata_.unknown_fields(), output);
6813 }
6814 // @@protoc_insertion_point(serialize_end:dmi.GetLoggingEndpointResponse)
6815}
6816
6817::google::protobuf::uint8* GetLoggingEndpointResponse::InternalSerializeWithCachedSizesToArray(
6818 ::google::protobuf::uint8* target) const {
6819 // @@protoc_insertion_point(serialize_to_array_start:dmi.GetLoggingEndpointResponse)
6820 ::google::protobuf::uint32 cached_has_bits = 0;
6821 (void) cached_has_bits;
6822
6823 // .dmi.Status status = 1;
6824 if (this->status() != 0) {
6825 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
6826 1, this->status(), target);
6827 }
6828
6829 // .dmi.GetLoggingEndpointResponse.Reason reason = 2;
6830 if (this->reason() != 0) {
6831 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
6832 2, this->reason(), target);
6833 }
6834
6835 // string logging_endpoint = 3;
6836 if (this->logging_endpoint().size() > 0) {
6837 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
6838 this->logging_endpoint().data(), static_cast<int>(this->logging_endpoint().length()),
6839 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
6840 "dmi.GetLoggingEndpointResponse.logging_endpoint");
6841 target =
6842 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
6843 3, this->logging_endpoint(), target);
6844 }
6845
6846 // string logging_protocol = 4;
6847 if (this->logging_protocol().size() > 0) {
6848 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
6849 this->logging_protocol().data(), static_cast<int>(this->logging_protocol().length()),
6850 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
6851 "dmi.GetLoggingEndpointResponse.logging_protocol");
6852 target =
6853 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
6854 4, this->logging_protocol(), target);
6855 }
6856
6857 // string reason_detail = 5;
6858 if (this->reason_detail().size() > 0) {
6859 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
6860 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
6861 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
6862 "dmi.GetLoggingEndpointResponse.reason_detail");
6863 target =
6864 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
6865 5, this->reason_detail(), target);
6866 }
6867
6868 if (_internal_metadata_.have_unknown_fields()) {
6869 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
6870 _internal_metadata_.unknown_fields(), target);
6871 }
6872 // @@protoc_insertion_point(serialize_to_array_end:dmi.GetLoggingEndpointResponse)
6873 return target;
6874}
6875
6876size_t GetLoggingEndpointResponse::ByteSizeLong() const {
6877// @@protoc_insertion_point(message_byte_size_start:dmi.GetLoggingEndpointResponse)
6878 size_t total_size = 0;
6879
6880 if (_internal_metadata_.have_unknown_fields()) {
6881 total_size +=
6882 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
6883 _internal_metadata_.unknown_fields());
6884 }
6885 ::google::protobuf::uint32 cached_has_bits = 0;
6886 // Prevent compiler warnings about cached_has_bits being unused
6887 (void) cached_has_bits;
6888
6889 // string logging_endpoint = 3;
6890 if (this->logging_endpoint().size() > 0) {
6891 total_size += 1 +
6892 ::google::protobuf::internal::WireFormatLite::StringSize(
6893 this->logging_endpoint());
6894 }
6895
6896 // string logging_protocol = 4;
6897 if (this->logging_protocol().size() > 0) {
6898 total_size += 1 +
6899 ::google::protobuf::internal::WireFormatLite::StringSize(
6900 this->logging_protocol());
6901 }
6902
6903 // string reason_detail = 5;
6904 if (this->reason_detail().size() > 0) {
6905 total_size += 1 +
6906 ::google::protobuf::internal::WireFormatLite::StringSize(
6907 this->reason_detail());
6908 }
6909
6910 // .dmi.Status status = 1;
6911 if (this->status() != 0) {
6912 total_size += 1 +
6913 ::google::protobuf::internal::WireFormatLite::EnumSize(this->status());
6914 }
6915
6916 // .dmi.GetLoggingEndpointResponse.Reason reason = 2;
6917 if (this->reason() != 0) {
6918 total_size += 1 +
6919 ::google::protobuf::internal::WireFormatLite::EnumSize(this->reason());
6920 }
6921
6922 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
6923 SetCachedSize(cached_size);
6924 return total_size;
6925}
6926
6927void GetLoggingEndpointResponse::MergeFrom(const ::google::protobuf::Message& from) {
6928// @@protoc_insertion_point(generalized_merge_from_start:dmi.GetLoggingEndpointResponse)
6929 GOOGLE_DCHECK_NE(&from, this);
6930 const GetLoggingEndpointResponse* source =
6931 ::google::protobuf::DynamicCastToGenerated<GetLoggingEndpointResponse>(
6932 &from);
6933 if (source == nullptr) {
6934 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.GetLoggingEndpointResponse)
6935 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6936 } else {
6937 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.GetLoggingEndpointResponse)
6938 MergeFrom(*source);
6939 }
6940}
6941
6942void GetLoggingEndpointResponse::MergeFrom(const GetLoggingEndpointResponse& from) {
6943// @@protoc_insertion_point(class_specific_merge_from_start:dmi.GetLoggingEndpointResponse)
6944 GOOGLE_DCHECK_NE(&from, this);
6945 _internal_metadata_.MergeFrom(from._internal_metadata_);
6946 ::google::protobuf::uint32 cached_has_bits = 0;
6947 (void) cached_has_bits;
6948
6949 if (from.logging_endpoint().size() > 0) {
6950
6951 logging_endpoint_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.logging_endpoint_);
6952 }
6953 if (from.logging_protocol().size() > 0) {
6954
6955 logging_protocol_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.logging_protocol_);
6956 }
6957 if (from.reason_detail().size() > 0) {
6958
6959 reason_detail_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_detail_);
6960 }
6961 if (from.status() != 0) {
6962 set_status(from.status());
6963 }
6964 if (from.reason() != 0) {
6965 set_reason(from.reason());
6966 }
6967}
6968
6969void GetLoggingEndpointResponse::CopyFrom(const ::google::protobuf::Message& from) {
6970// @@protoc_insertion_point(generalized_copy_from_start:dmi.GetLoggingEndpointResponse)
6971 if (&from == this) return;
6972 Clear();
6973 MergeFrom(from);
6974}
6975
6976void GetLoggingEndpointResponse::CopyFrom(const GetLoggingEndpointResponse& from) {
6977// @@protoc_insertion_point(class_specific_copy_from_start:dmi.GetLoggingEndpointResponse)
6978 if (&from == this) return;
6979 Clear();
6980 MergeFrom(from);
6981}
6982
6983bool GetLoggingEndpointResponse::IsInitialized() const {
6984 return true;
6985}
6986
6987void GetLoggingEndpointResponse::Swap(GetLoggingEndpointResponse* other) {
6988 if (other == this) return;
6989 InternalSwap(other);
6990}
6991void GetLoggingEndpointResponse::InternalSwap(GetLoggingEndpointResponse* other) {
6992 using std::swap;
6993 _internal_metadata_.Swap(&other->_internal_metadata_);
6994 logging_endpoint_.Swap(&other->logging_endpoint_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6995 GetArenaNoVirtual());
6996 logging_protocol_.Swap(&other->logging_protocol_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6997 GetArenaNoVirtual());
6998 reason_detail_.Swap(&other->reason_detail_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6999 GetArenaNoVirtual());
7000 swap(status_, other->status_);
7001 swap(reason_, other->reason_);
7002}
7003
7004::google::protobuf::Metadata GetLoggingEndpointResponse::GetMetadata() const {
7005 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
7006 return ::file_level_metadata_dmi_2fhw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
7007}
7008
7009
7010// ===================================================================
7011
7012void SetMsgBusEndpointRequest::InitAsDefaultInstance() {
7013}
7014class SetMsgBusEndpointRequest::HasBitSetters {
7015 public:
7016};
7017
7018#if !defined(_MSC_VER) || _MSC_VER >= 1900
7019const int SetMsgBusEndpointRequest::kMsgbusEndpointFieldNumber;
7020#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
7021
7022SetMsgBusEndpointRequest::SetMsgBusEndpointRequest()
7023 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
7024 SharedCtor();
7025 // @@protoc_insertion_point(constructor:dmi.SetMsgBusEndpointRequest)
7026}
7027SetMsgBusEndpointRequest::SetMsgBusEndpointRequest(const SetMsgBusEndpointRequest& from)
7028 : ::google::protobuf::Message(),
7029 _internal_metadata_(nullptr) {
7030 _internal_metadata_.MergeFrom(from._internal_metadata_);
7031 msgbus_endpoint_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7032 if (from.msgbus_endpoint().size() > 0) {
7033 msgbus_endpoint_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.msgbus_endpoint_);
7034 }
7035 // @@protoc_insertion_point(copy_constructor:dmi.SetMsgBusEndpointRequest)
7036}
7037
7038void SetMsgBusEndpointRequest::SharedCtor() {
7039 ::google::protobuf::internal::InitSCC(
7040 &scc_info_SetMsgBusEndpointRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
7041 msgbus_endpoint_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7042}
7043
7044SetMsgBusEndpointRequest::~SetMsgBusEndpointRequest() {
7045 // @@protoc_insertion_point(destructor:dmi.SetMsgBusEndpointRequest)
7046 SharedDtor();
7047}
7048
7049void SetMsgBusEndpointRequest::SharedDtor() {
7050 msgbus_endpoint_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7051}
7052
7053void SetMsgBusEndpointRequest::SetCachedSize(int size) const {
7054 _cached_size_.Set(size);
7055}
7056const SetMsgBusEndpointRequest& SetMsgBusEndpointRequest::default_instance() {
7057 ::google::protobuf::internal::InitSCC(&::scc_info_SetMsgBusEndpointRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
7058 return *internal_default_instance();
7059}
7060
7061
7062void SetMsgBusEndpointRequest::Clear() {
7063// @@protoc_insertion_point(message_clear_start:dmi.SetMsgBusEndpointRequest)
7064 ::google::protobuf::uint32 cached_has_bits = 0;
7065 // Prevent compiler warnings about cached_has_bits being unused
7066 (void) cached_has_bits;
7067
7068 msgbus_endpoint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7069 _internal_metadata_.Clear();
7070}
7071
7072#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
7073const char* SetMsgBusEndpointRequest::_InternalParse(const char* begin, const char* end, void* object,
7074 ::google::protobuf::internal::ParseContext* ctx) {
7075 auto msg = static_cast<SetMsgBusEndpointRequest*>(object);
7076 ::google::protobuf::int32 size; (void)size;
7077 int depth; (void)depth;
7078 ::google::protobuf::uint32 tag;
7079 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
7080 auto ptr = begin;
7081 while (ptr < end) {
7082 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
7083 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
7084 switch (tag >> 3) {
7085 // string msgbus_endpoint = 1;
7086 case 1: {
7087 if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual;
7088 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
7089 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
7090 ctx->extra_parse_data().SetFieldName("dmi.SetMsgBusEndpointRequest.msgbus_endpoint");
7091 object = msg->mutable_msgbus_endpoint();
7092 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
7093 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
7094 goto string_till_end;
7095 }
7096 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
7097 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
7098 ptr += size;
7099 break;
7100 }
7101 default: {
7102 handle_unusual:
7103 if ((tag & 7) == 4 || tag == 0) {
7104 ctx->EndGroup(tag);
7105 return ptr;
7106 }
7107 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
7108 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
7109 ptr = res.first;
7110 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
7111 if (res.second) return ptr;
7112 }
7113 } // switch
7114 } // while
7115 return ptr;
7116string_till_end:
7117 static_cast<::std::string*>(object)->clear();
7118 static_cast<::std::string*>(object)->reserve(size);
7119 goto len_delim_till_end;
7120len_delim_till_end:
7121 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
7122 {parser_till_end, object}, size);
7123}
7124#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
7125bool SetMsgBusEndpointRequest::MergePartialFromCodedStream(
7126 ::google::protobuf::io::CodedInputStream* input) {
7127#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
7128 ::google::protobuf::uint32 tag;
7129 // @@protoc_insertion_point(parse_start:dmi.SetMsgBusEndpointRequest)
7130 for (;;) {
7131 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7132 tag = p.first;
7133 if (!p.second) goto handle_unusual;
7134 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7135 // string msgbus_endpoint = 1;
7136 case 1: {
7137 if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) {
7138 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
7139 input, this->mutable_msgbus_endpoint()));
7140 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
7141 this->msgbus_endpoint().data(), static_cast<int>(this->msgbus_endpoint().length()),
7142 ::google::protobuf::internal::WireFormatLite::PARSE,
7143 "dmi.SetMsgBusEndpointRequest.msgbus_endpoint"));
7144 } else {
7145 goto handle_unusual;
7146 }
7147 break;
7148 }
7149
7150 default: {
7151 handle_unusual:
7152 if (tag == 0) {
7153 goto success;
7154 }
7155 DO_(::google::protobuf::internal::WireFormat::SkipField(
7156 input, tag, _internal_metadata_.mutable_unknown_fields()));
7157 break;
7158 }
7159 }
7160 }
7161success:
7162 // @@protoc_insertion_point(parse_success:dmi.SetMsgBusEndpointRequest)
7163 return true;
7164failure:
7165 // @@protoc_insertion_point(parse_failure:dmi.SetMsgBusEndpointRequest)
7166 return false;
7167#undef DO_
7168}
7169#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
7170
7171void SetMsgBusEndpointRequest::SerializeWithCachedSizes(
7172 ::google::protobuf::io::CodedOutputStream* output) const {
7173 // @@protoc_insertion_point(serialize_start:dmi.SetMsgBusEndpointRequest)
7174 ::google::protobuf::uint32 cached_has_bits = 0;
7175 (void) cached_has_bits;
7176
7177 // string msgbus_endpoint = 1;
7178 if (this->msgbus_endpoint().size() > 0) {
7179 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
7180 this->msgbus_endpoint().data(), static_cast<int>(this->msgbus_endpoint().length()),
7181 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
7182 "dmi.SetMsgBusEndpointRequest.msgbus_endpoint");
7183 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
7184 1, this->msgbus_endpoint(), output);
7185 }
7186
7187 if (_internal_metadata_.have_unknown_fields()) {
7188 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7189 _internal_metadata_.unknown_fields(), output);
7190 }
7191 // @@protoc_insertion_point(serialize_end:dmi.SetMsgBusEndpointRequest)
7192}
7193
7194::google::protobuf::uint8* SetMsgBusEndpointRequest::InternalSerializeWithCachedSizesToArray(
7195 ::google::protobuf::uint8* target) const {
7196 // @@protoc_insertion_point(serialize_to_array_start:dmi.SetMsgBusEndpointRequest)
7197 ::google::protobuf::uint32 cached_has_bits = 0;
7198 (void) cached_has_bits;
7199
7200 // string msgbus_endpoint = 1;
7201 if (this->msgbus_endpoint().size() > 0) {
7202 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
7203 this->msgbus_endpoint().data(), static_cast<int>(this->msgbus_endpoint().length()),
7204 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
7205 "dmi.SetMsgBusEndpointRequest.msgbus_endpoint");
7206 target =
7207 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
7208 1, this->msgbus_endpoint(), target);
7209 }
7210
7211 if (_internal_metadata_.have_unknown_fields()) {
7212 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7213 _internal_metadata_.unknown_fields(), target);
7214 }
7215 // @@protoc_insertion_point(serialize_to_array_end:dmi.SetMsgBusEndpointRequest)
7216 return target;
7217}
7218
7219size_t SetMsgBusEndpointRequest::ByteSizeLong() const {
7220// @@protoc_insertion_point(message_byte_size_start:dmi.SetMsgBusEndpointRequest)
7221 size_t total_size = 0;
7222
7223 if (_internal_metadata_.have_unknown_fields()) {
7224 total_size +=
7225 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7226 _internal_metadata_.unknown_fields());
7227 }
7228 ::google::protobuf::uint32 cached_has_bits = 0;
7229 // Prevent compiler warnings about cached_has_bits being unused
7230 (void) cached_has_bits;
7231
7232 // string msgbus_endpoint = 1;
7233 if (this->msgbus_endpoint().size() > 0) {
7234 total_size += 1 +
7235 ::google::protobuf::internal::WireFormatLite::StringSize(
7236 this->msgbus_endpoint());
7237 }
7238
7239 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7240 SetCachedSize(cached_size);
7241 return total_size;
7242}
7243
7244void SetMsgBusEndpointRequest::MergeFrom(const ::google::protobuf::Message& from) {
7245// @@protoc_insertion_point(generalized_merge_from_start:dmi.SetMsgBusEndpointRequest)
7246 GOOGLE_DCHECK_NE(&from, this);
7247 const SetMsgBusEndpointRequest* source =
7248 ::google::protobuf::DynamicCastToGenerated<SetMsgBusEndpointRequest>(
7249 &from);
7250 if (source == nullptr) {
7251 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.SetMsgBusEndpointRequest)
7252 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7253 } else {
7254 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.SetMsgBusEndpointRequest)
7255 MergeFrom(*source);
7256 }
7257}
7258
7259void SetMsgBusEndpointRequest::MergeFrom(const SetMsgBusEndpointRequest& from) {
7260// @@protoc_insertion_point(class_specific_merge_from_start:dmi.SetMsgBusEndpointRequest)
7261 GOOGLE_DCHECK_NE(&from, this);
7262 _internal_metadata_.MergeFrom(from._internal_metadata_);
7263 ::google::protobuf::uint32 cached_has_bits = 0;
7264 (void) cached_has_bits;
7265
7266 if (from.msgbus_endpoint().size() > 0) {
7267
7268 msgbus_endpoint_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.msgbus_endpoint_);
7269 }
7270}
7271
7272void SetMsgBusEndpointRequest::CopyFrom(const ::google::protobuf::Message& from) {
7273// @@protoc_insertion_point(generalized_copy_from_start:dmi.SetMsgBusEndpointRequest)
7274 if (&from == this) return;
7275 Clear();
7276 MergeFrom(from);
7277}
7278
7279void SetMsgBusEndpointRequest::CopyFrom(const SetMsgBusEndpointRequest& from) {
7280// @@protoc_insertion_point(class_specific_copy_from_start:dmi.SetMsgBusEndpointRequest)
7281 if (&from == this) return;
7282 Clear();
7283 MergeFrom(from);
7284}
7285
7286bool SetMsgBusEndpointRequest::IsInitialized() const {
7287 return true;
7288}
7289
7290void SetMsgBusEndpointRequest::Swap(SetMsgBusEndpointRequest* other) {
7291 if (other == this) return;
7292 InternalSwap(other);
7293}
7294void SetMsgBusEndpointRequest::InternalSwap(SetMsgBusEndpointRequest* other) {
7295 using std::swap;
7296 _internal_metadata_.Swap(&other->_internal_metadata_);
7297 msgbus_endpoint_.Swap(&other->msgbus_endpoint_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7298 GetArenaNoVirtual());
7299}
7300
7301::google::protobuf::Metadata SetMsgBusEndpointRequest::GetMetadata() const {
7302 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
7303 return ::file_level_metadata_dmi_2fhw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
7304}
7305
7306
7307// ===================================================================
7308
7309void GetMsgBusEndpointResponse::InitAsDefaultInstance() {
7310}
7311class GetMsgBusEndpointResponse::HasBitSetters {
7312 public:
7313};
7314
7315#if !defined(_MSC_VER) || _MSC_VER >= 1900
7316const int GetMsgBusEndpointResponse::kStatusFieldNumber;
7317const int GetMsgBusEndpointResponse::kReasonFieldNumber;
7318const int GetMsgBusEndpointResponse::kMsgbusEndpointFieldNumber;
7319const int GetMsgBusEndpointResponse::kReasonDetailFieldNumber;
7320#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
7321
7322GetMsgBusEndpointResponse::GetMsgBusEndpointResponse()
7323 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
7324 SharedCtor();
7325 // @@protoc_insertion_point(constructor:dmi.GetMsgBusEndpointResponse)
7326}
7327GetMsgBusEndpointResponse::GetMsgBusEndpointResponse(const GetMsgBusEndpointResponse& from)
7328 : ::google::protobuf::Message(),
7329 _internal_metadata_(nullptr) {
7330 _internal_metadata_.MergeFrom(from._internal_metadata_);
7331 msgbus_endpoint_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7332 if (from.msgbus_endpoint().size() > 0) {
7333 msgbus_endpoint_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.msgbus_endpoint_);
7334 }
7335 reason_detail_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7336 if (from.reason_detail().size() > 0) {
7337 reason_detail_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_detail_);
7338 }
7339 ::memcpy(&status_, &from.status_,
7340 static_cast<size_t>(reinterpret_cast<char*>(&reason_) -
7341 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
7342 // @@protoc_insertion_point(copy_constructor:dmi.GetMsgBusEndpointResponse)
7343}
7344
7345void GetMsgBusEndpointResponse::SharedCtor() {
7346 ::google::protobuf::internal::InitSCC(
7347 &scc_info_GetMsgBusEndpointResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
7348 msgbus_endpoint_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7349 reason_detail_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7350 ::memset(&status_, 0, static_cast<size_t>(
7351 reinterpret_cast<char*>(&reason_) -
7352 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
7353}
7354
7355GetMsgBusEndpointResponse::~GetMsgBusEndpointResponse() {
7356 // @@protoc_insertion_point(destructor:dmi.GetMsgBusEndpointResponse)
7357 SharedDtor();
7358}
7359
7360void GetMsgBusEndpointResponse::SharedDtor() {
7361 msgbus_endpoint_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7362 reason_detail_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7363}
7364
7365void GetMsgBusEndpointResponse::SetCachedSize(int size) const {
7366 _cached_size_.Set(size);
7367}
7368const GetMsgBusEndpointResponse& GetMsgBusEndpointResponse::default_instance() {
7369 ::google::protobuf::internal::InitSCC(&::scc_info_GetMsgBusEndpointResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
7370 return *internal_default_instance();
7371}
7372
7373
7374void GetMsgBusEndpointResponse::Clear() {
7375// @@protoc_insertion_point(message_clear_start:dmi.GetMsgBusEndpointResponse)
7376 ::google::protobuf::uint32 cached_has_bits = 0;
7377 // Prevent compiler warnings about cached_has_bits being unused
7378 (void) cached_has_bits;
7379
7380 msgbus_endpoint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7381 reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7382 ::memset(&status_, 0, static_cast<size_t>(
7383 reinterpret_cast<char*>(&reason_) -
7384 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
7385 _internal_metadata_.Clear();
7386}
7387
7388#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
7389const char* GetMsgBusEndpointResponse::_InternalParse(const char* begin, const char* end, void* object,
7390 ::google::protobuf::internal::ParseContext* ctx) {
7391 auto msg = static_cast<GetMsgBusEndpointResponse*>(object);
7392 ::google::protobuf::int32 size; (void)size;
7393 int depth; (void)depth;
7394 ::google::protobuf::uint32 tag;
7395 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
7396 auto ptr = begin;
7397 while (ptr < end) {
7398 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
7399 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
7400 switch (tag >> 3) {
7401 // .dmi.Status status = 1;
7402 case 1: {
7403 if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual;
7404 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
7405 msg->set_status(static_cast<::dmi::Status>(val));
7406 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
7407 break;
7408 }
7409 // .dmi.GetMsgBusEndpointResponse.Reason reason = 2;
7410 case 2: {
7411 if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual;
7412 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
7413 msg->set_reason(static_cast<::dmi::GetMsgBusEndpointResponse_Reason>(val));
7414 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
7415 break;
7416 }
7417 // string msgbus_endpoint = 3;
7418 case 3: {
7419 if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual;
7420 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
7421 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
7422 ctx->extra_parse_data().SetFieldName("dmi.GetMsgBusEndpointResponse.msgbus_endpoint");
7423 object = msg->mutable_msgbus_endpoint();
7424 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
7425 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
7426 goto string_till_end;
7427 }
7428 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
7429 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
7430 ptr += size;
7431 break;
7432 }
7433 // string reason_detail = 4;
7434 case 4: {
7435 if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual;
7436 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
7437 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
7438 ctx->extra_parse_data().SetFieldName("dmi.GetMsgBusEndpointResponse.reason_detail");
7439 object = msg->mutable_reason_detail();
7440 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
7441 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
7442 goto string_till_end;
7443 }
7444 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
7445 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
7446 ptr += size;
7447 break;
7448 }
7449 default: {
7450 handle_unusual:
7451 if ((tag & 7) == 4 || tag == 0) {
7452 ctx->EndGroup(tag);
7453 return ptr;
7454 }
7455 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
7456 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
7457 ptr = res.first;
7458 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
7459 if (res.second) return ptr;
7460 }
7461 } // switch
7462 } // while
7463 return ptr;
7464string_till_end:
7465 static_cast<::std::string*>(object)->clear();
7466 static_cast<::std::string*>(object)->reserve(size);
7467 goto len_delim_till_end;
7468len_delim_till_end:
7469 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
7470 {parser_till_end, object}, size);
7471}
7472#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
7473bool GetMsgBusEndpointResponse::MergePartialFromCodedStream(
7474 ::google::protobuf::io::CodedInputStream* input) {
7475#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
7476 ::google::protobuf::uint32 tag;
7477 // @@protoc_insertion_point(parse_start:dmi.GetMsgBusEndpointResponse)
7478 for (;;) {
7479 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7480 tag = p.first;
7481 if (!p.second) goto handle_unusual;
7482 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7483 // .dmi.Status status = 1;
7484 case 1: {
7485 if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) {
7486 int value = 0;
7487 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
7488 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
7489 input, &value)));
7490 set_status(static_cast< ::dmi::Status >(value));
7491 } else {
7492 goto handle_unusual;
7493 }
7494 break;
7495 }
7496
7497 // .dmi.GetMsgBusEndpointResponse.Reason reason = 2;
7498 case 2: {
7499 if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) {
7500 int value = 0;
7501 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
7502 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
7503 input, &value)));
7504 set_reason(static_cast< ::dmi::GetMsgBusEndpointResponse_Reason >(value));
7505 } else {
7506 goto handle_unusual;
7507 }
7508 break;
7509 }
7510
7511 // string msgbus_endpoint = 3;
7512 case 3: {
7513 if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) {
7514 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
7515 input, this->mutable_msgbus_endpoint()));
7516 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
7517 this->msgbus_endpoint().data(), static_cast<int>(this->msgbus_endpoint().length()),
7518 ::google::protobuf::internal::WireFormatLite::PARSE,
7519 "dmi.GetMsgBusEndpointResponse.msgbus_endpoint"));
7520 } else {
7521 goto handle_unusual;
7522 }
7523 break;
7524 }
7525
7526 // string reason_detail = 4;
7527 case 4: {
7528 if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) {
7529 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
7530 input, this->mutable_reason_detail()));
7531 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
7532 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
7533 ::google::protobuf::internal::WireFormatLite::PARSE,
7534 "dmi.GetMsgBusEndpointResponse.reason_detail"));
7535 } else {
7536 goto handle_unusual;
7537 }
7538 break;
7539 }
7540
7541 default: {
7542 handle_unusual:
7543 if (tag == 0) {
7544 goto success;
7545 }
7546 DO_(::google::protobuf::internal::WireFormat::SkipField(
7547 input, tag, _internal_metadata_.mutable_unknown_fields()));
7548 break;
7549 }
7550 }
7551 }
7552success:
7553 // @@protoc_insertion_point(parse_success:dmi.GetMsgBusEndpointResponse)
7554 return true;
7555failure:
7556 // @@protoc_insertion_point(parse_failure:dmi.GetMsgBusEndpointResponse)
7557 return false;
7558#undef DO_
7559}
7560#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
7561
7562void GetMsgBusEndpointResponse::SerializeWithCachedSizes(
7563 ::google::protobuf::io::CodedOutputStream* output) const {
7564 // @@protoc_insertion_point(serialize_start:dmi.GetMsgBusEndpointResponse)
7565 ::google::protobuf::uint32 cached_has_bits = 0;
7566 (void) cached_has_bits;
7567
7568 // .dmi.Status status = 1;
7569 if (this->status() != 0) {
7570 ::google::protobuf::internal::WireFormatLite::WriteEnum(
7571 1, this->status(), output);
7572 }
7573
7574 // .dmi.GetMsgBusEndpointResponse.Reason reason = 2;
7575 if (this->reason() != 0) {
7576 ::google::protobuf::internal::WireFormatLite::WriteEnum(
7577 2, this->reason(), output);
7578 }
7579
7580 // string msgbus_endpoint = 3;
7581 if (this->msgbus_endpoint().size() > 0) {
7582 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
7583 this->msgbus_endpoint().data(), static_cast<int>(this->msgbus_endpoint().length()),
7584 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
7585 "dmi.GetMsgBusEndpointResponse.msgbus_endpoint");
7586 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
7587 3, this->msgbus_endpoint(), output);
7588 }
7589
7590 // string reason_detail = 4;
7591 if (this->reason_detail().size() > 0) {
7592 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
7593 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
7594 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
7595 "dmi.GetMsgBusEndpointResponse.reason_detail");
7596 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
7597 4, this->reason_detail(), output);
7598 }
7599
7600 if (_internal_metadata_.have_unknown_fields()) {
7601 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7602 _internal_metadata_.unknown_fields(), output);
7603 }
7604 // @@protoc_insertion_point(serialize_end:dmi.GetMsgBusEndpointResponse)
7605}
7606
7607::google::protobuf::uint8* GetMsgBusEndpointResponse::InternalSerializeWithCachedSizesToArray(
7608 ::google::protobuf::uint8* target) const {
7609 // @@protoc_insertion_point(serialize_to_array_start:dmi.GetMsgBusEndpointResponse)
7610 ::google::protobuf::uint32 cached_has_bits = 0;
7611 (void) cached_has_bits;
7612
7613 // .dmi.Status status = 1;
7614 if (this->status() != 0) {
7615 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
7616 1, this->status(), target);
7617 }
7618
7619 // .dmi.GetMsgBusEndpointResponse.Reason reason = 2;
7620 if (this->reason() != 0) {
7621 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
7622 2, this->reason(), target);
7623 }
7624
7625 // string msgbus_endpoint = 3;
7626 if (this->msgbus_endpoint().size() > 0) {
7627 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
7628 this->msgbus_endpoint().data(), static_cast<int>(this->msgbus_endpoint().length()),
7629 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
7630 "dmi.GetMsgBusEndpointResponse.msgbus_endpoint");
7631 target =
7632 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
7633 3, this->msgbus_endpoint(), target);
7634 }
7635
7636 // string reason_detail = 4;
7637 if (this->reason_detail().size() > 0) {
7638 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
7639 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
7640 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
7641 "dmi.GetMsgBusEndpointResponse.reason_detail");
7642 target =
7643 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
7644 4, this->reason_detail(), target);
7645 }
7646
7647 if (_internal_metadata_.have_unknown_fields()) {
7648 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7649 _internal_metadata_.unknown_fields(), target);
7650 }
7651 // @@protoc_insertion_point(serialize_to_array_end:dmi.GetMsgBusEndpointResponse)
7652 return target;
7653}
7654
7655size_t GetMsgBusEndpointResponse::ByteSizeLong() const {
7656// @@protoc_insertion_point(message_byte_size_start:dmi.GetMsgBusEndpointResponse)
7657 size_t total_size = 0;
7658
7659 if (_internal_metadata_.have_unknown_fields()) {
7660 total_size +=
7661 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7662 _internal_metadata_.unknown_fields());
7663 }
7664 ::google::protobuf::uint32 cached_has_bits = 0;
7665 // Prevent compiler warnings about cached_has_bits being unused
7666 (void) cached_has_bits;
7667
7668 // string msgbus_endpoint = 3;
7669 if (this->msgbus_endpoint().size() > 0) {
7670 total_size += 1 +
7671 ::google::protobuf::internal::WireFormatLite::StringSize(
7672 this->msgbus_endpoint());
7673 }
7674
7675 // string reason_detail = 4;
7676 if (this->reason_detail().size() > 0) {
7677 total_size += 1 +
7678 ::google::protobuf::internal::WireFormatLite::StringSize(
7679 this->reason_detail());
7680 }
7681
7682 // .dmi.Status status = 1;
7683 if (this->status() != 0) {
7684 total_size += 1 +
7685 ::google::protobuf::internal::WireFormatLite::EnumSize(this->status());
7686 }
7687
7688 // .dmi.GetMsgBusEndpointResponse.Reason reason = 2;
7689 if (this->reason() != 0) {
7690 total_size += 1 +
7691 ::google::protobuf::internal::WireFormatLite::EnumSize(this->reason());
7692 }
7693
7694 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7695 SetCachedSize(cached_size);
7696 return total_size;
7697}
7698
7699void GetMsgBusEndpointResponse::MergeFrom(const ::google::protobuf::Message& from) {
7700// @@protoc_insertion_point(generalized_merge_from_start:dmi.GetMsgBusEndpointResponse)
7701 GOOGLE_DCHECK_NE(&from, this);
7702 const GetMsgBusEndpointResponse* source =
7703 ::google::protobuf::DynamicCastToGenerated<GetMsgBusEndpointResponse>(
7704 &from);
7705 if (source == nullptr) {
7706 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.GetMsgBusEndpointResponse)
7707 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7708 } else {
7709 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.GetMsgBusEndpointResponse)
7710 MergeFrom(*source);
7711 }
7712}
7713
7714void GetMsgBusEndpointResponse::MergeFrom(const GetMsgBusEndpointResponse& from) {
7715// @@protoc_insertion_point(class_specific_merge_from_start:dmi.GetMsgBusEndpointResponse)
7716 GOOGLE_DCHECK_NE(&from, this);
7717 _internal_metadata_.MergeFrom(from._internal_metadata_);
7718 ::google::protobuf::uint32 cached_has_bits = 0;
7719 (void) cached_has_bits;
7720
7721 if (from.msgbus_endpoint().size() > 0) {
7722
7723 msgbus_endpoint_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.msgbus_endpoint_);
7724 }
7725 if (from.reason_detail().size() > 0) {
7726
7727 reason_detail_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_detail_);
7728 }
7729 if (from.status() != 0) {
7730 set_status(from.status());
7731 }
7732 if (from.reason() != 0) {
7733 set_reason(from.reason());
7734 }
7735}
7736
7737void GetMsgBusEndpointResponse::CopyFrom(const ::google::protobuf::Message& from) {
7738// @@protoc_insertion_point(generalized_copy_from_start:dmi.GetMsgBusEndpointResponse)
7739 if (&from == this) return;
7740 Clear();
7741 MergeFrom(from);
7742}
7743
7744void GetMsgBusEndpointResponse::CopyFrom(const GetMsgBusEndpointResponse& from) {
7745// @@protoc_insertion_point(class_specific_copy_from_start:dmi.GetMsgBusEndpointResponse)
7746 if (&from == this) return;
7747 Clear();
7748 MergeFrom(from);
7749}
7750
7751bool GetMsgBusEndpointResponse::IsInitialized() const {
7752 return true;
7753}
7754
7755void GetMsgBusEndpointResponse::Swap(GetMsgBusEndpointResponse* other) {
7756 if (other == this) return;
7757 InternalSwap(other);
7758}
7759void GetMsgBusEndpointResponse::InternalSwap(GetMsgBusEndpointResponse* other) {
7760 using std::swap;
7761 _internal_metadata_.Swap(&other->_internal_metadata_);
7762 msgbus_endpoint_.Swap(&other->msgbus_endpoint_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7763 GetArenaNoVirtual());
7764 reason_detail_.Swap(&other->reason_detail_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7765 GetArenaNoVirtual());
7766 swap(status_, other->status_);
7767 swap(reason_, other->reason_);
7768}
7769
7770::google::protobuf::Metadata GetMsgBusEndpointResponse::GetMetadata() const {
7771 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
7772 return ::file_level_metadata_dmi_2fhw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
7773}
7774
7775
7776// ===================================================================
7777
7778void EntitiesLogLevel::InitAsDefaultInstance() {
7779}
7780class EntitiesLogLevel::HasBitSetters {
7781 public:
7782};
7783
7784#if !defined(_MSC_VER) || _MSC_VER >= 1900
7785const int EntitiesLogLevel::kLogLevelFieldNumber;
7786const int EntitiesLogLevel::kEntitiesFieldNumber;
7787#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
7788
7789EntitiesLogLevel::EntitiesLogLevel()
7790 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
7791 SharedCtor();
7792 // @@protoc_insertion_point(constructor:dmi.EntitiesLogLevel)
7793}
7794EntitiesLogLevel::EntitiesLogLevel(const EntitiesLogLevel& from)
7795 : ::google::protobuf::Message(),
7796 _internal_metadata_(nullptr),
7797 entities_(from.entities_) {
7798 _internal_metadata_.MergeFrom(from._internal_metadata_);
7799 loglevel_ = from.loglevel_;
7800 // @@protoc_insertion_point(copy_constructor:dmi.EntitiesLogLevel)
7801}
7802
7803void EntitiesLogLevel::SharedCtor() {
7804 ::google::protobuf::internal::InitSCC(
7805 &scc_info_EntitiesLogLevel_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
7806 loglevel_ = 0;
7807}
7808
7809EntitiesLogLevel::~EntitiesLogLevel() {
7810 // @@protoc_insertion_point(destructor:dmi.EntitiesLogLevel)
7811 SharedDtor();
7812}
7813
7814void EntitiesLogLevel::SharedDtor() {
7815}
7816
7817void EntitiesLogLevel::SetCachedSize(int size) const {
7818 _cached_size_.Set(size);
7819}
7820const EntitiesLogLevel& EntitiesLogLevel::default_instance() {
7821 ::google::protobuf::internal::InitSCC(&::scc_info_EntitiesLogLevel_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
7822 return *internal_default_instance();
7823}
7824
7825
7826void EntitiesLogLevel::Clear() {
7827// @@protoc_insertion_point(message_clear_start:dmi.EntitiesLogLevel)
7828 ::google::protobuf::uint32 cached_has_bits = 0;
7829 // Prevent compiler warnings about cached_has_bits being unused
7830 (void) cached_has_bits;
7831
7832 entities_.Clear();
7833 loglevel_ = 0;
7834 _internal_metadata_.Clear();
7835}
7836
7837#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
7838const char* EntitiesLogLevel::_InternalParse(const char* begin, const char* end, void* object,
7839 ::google::protobuf::internal::ParseContext* ctx) {
7840 auto msg = static_cast<EntitiesLogLevel*>(object);
7841 ::google::protobuf::int32 size; (void)size;
7842 int depth; (void)depth;
7843 ::google::protobuf::uint32 tag;
7844 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
7845 auto ptr = begin;
7846 while (ptr < end) {
7847 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
7848 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
7849 switch (tag >> 3) {
7850 // .dmi.LogLevel logLevel = 1;
7851 case 1: {
7852 if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual;
7853 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
7854 msg->set_loglevel(static_cast<::dmi::LogLevel>(val));
7855 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
7856 break;
7857 }
7858 // repeated string entities = 2;
7859 case 2: {
7860 if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual;
7861 do {
7862 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
7863 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
7864 ctx->extra_parse_data().SetFieldName("dmi.EntitiesLogLevel.entities");
7865 object = msg->add_entities();
7866 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
7867 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
7868 goto string_till_end;
7869 }
7870 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
7871 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
7872 ptr += size;
7873 if (ptr >= end) break;
7874 } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 18 && (ptr += 1));
7875 break;
7876 }
7877 default: {
7878 handle_unusual:
7879 if ((tag & 7) == 4 || tag == 0) {
7880 ctx->EndGroup(tag);
7881 return ptr;
7882 }
7883 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
7884 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
7885 ptr = res.first;
7886 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
7887 if (res.second) return ptr;
7888 }
7889 } // switch
7890 } // while
7891 return ptr;
7892string_till_end:
7893 static_cast<::std::string*>(object)->clear();
7894 static_cast<::std::string*>(object)->reserve(size);
7895 goto len_delim_till_end;
7896len_delim_till_end:
7897 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
7898 {parser_till_end, object}, size);
7899}
7900#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
7901bool EntitiesLogLevel::MergePartialFromCodedStream(
7902 ::google::protobuf::io::CodedInputStream* input) {
7903#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
7904 ::google::protobuf::uint32 tag;
7905 // @@protoc_insertion_point(parse_start:dmi.EntitiesLogLevel)
7906 for (;;) {
7907 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7908 tag = p.first;
7909 if (!p.second) goto handle_unusual;
7910 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7911 // .dmi.LogLevel logLevel = 1;
7912 case 1: {
7913 if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) {
7914 int value = 0;
7915 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
7916 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
7917 input, &value)));
7918 set_loglevel(static_cast< ::dmi::LogLevel >(value));
7919 } else {
7920 goto handle_unusual;
7921 }
7922 break;
7923 }
7924
7925 // repeated string entities = 2;
7926 case 2: {
7927 if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) {
7928 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
7929 input, this->add_entities()));
7930 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
7931 this->entities(this->entities_size() - 1).data(),
7932 static_cast<int>(this->entities(this->entities_size() - 1).length()),
7933 ::google::protobuf::internal::WireFormatLite::PARSE,
7934 "dmi.EntitiesLogLevel.entities"));
7935 } else {
7936 goto handle_unusual;
7937 }
7938 break;
7939 }
7940
7941 default: {
7942 handle_unusual:
7943 if (tag == 0) {
7944 goto success;
7945 }
7946 DO_(::google::protobuf::internal::WireFormat::SkipField(
7947 input, tag, _internal_metadata_.mutable_unknown_fields()));
7948 break;
7949 }
7950 }
7951 }
7952success:
7953 // @@protoc_insertion_point(parse_success:dmi.EntitiesLogLevel)
7954 return true;
7955failure:
7956 // @@protoc_insertion_point(parse_failure:dmi.EntitiesLogLevel)
7957 return false;
7958#undef DO_
7959}
7960#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
7961
7962void EntitiesLogLevel::SerializeWithCachedSizes(
7963 ::google::protobuf::io::CodedOutputStream* output) const {
7964 // @@protoc_insertion_point(serialize_start:dmi.EntitiesLogLevel)
7965 ::google::protobuf::uint32 cached_has_bits = 0;
7966 (void) cached_has_bits;
7967
7968 // .dmi.LogLevel logLevel = 1;
7969 if (this->loglevel() != 0) {
7970 ::google::protobuf::internal::WireFormatLite::WriteEnum(
7971 1, this->loglevel(), output);
7972 }
7973
7974 // repeated string entities = 2;
7975 for (int i = 0, n = this->entities_size(); i < n; i++) {
7976 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
7977 this->entities(i).data(), static_cast<int>(this->entities(i).length()),
7978 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
7979 "dmi.EntitiesLogLevel.entities");
7980 ::google::protobuf::internal::WireFormatLite::WriteString(
7981 2, this->entities(i), output);
7982 }
7983
7984 if (_internal_metadata_.have_unknown_fields()) {
7985 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7986 _internal_metadata_.unknown_fields(), output);
7987 }
7988 // @@protoc_insertion_point(serialize_end:dmi.EntitiesLogLevel)
7989}
7990
7991::google::protobuf::uint8* EntitiesLogLevel::InternalSerializeWithCachedSizesToArray(
7992 ::google::protobuf::uint8* target) const {
7993 // @@protoc_insertion_point(serialize_to_array_start:dmi.EntitiesLogLevel)
7994 ::google::protobuf::uint32 cached_has_bits = 0;
7995 (void) cached_has_bits;
7996
7997 // .dmi.LogLevel logLevel = 1;
7998 if (this->loglevel() != 0) {
7999 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
8000 1, this->loglevel(), target);
8001 }
8002
8003 // repeated string entities = 2;
8004 for (int i = 0, n = this->entities_size(); i < n; i++) {
8005 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
8006 this->entities(i).data(), static_cast<int>(this->entities(i).length()),
8007 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
8008 "dmi.EntitiesLogLevel.entities");
8009 target = ::google::protobuf::internal::WireFormatLite::
8010 WriteStringToArray(2, this->entities(i), target);
8011 }
8012
8013 if (_internal_metadata_.have_unknown_fields()) {
8014 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
8015 _internal_metadata_.unknown_fields(), target);
8016 }
8017 // @@protoc_insertion_point(serialize_to_array_end:dmi.EntitiesLogLevel)
8018 return target;
8019}
8020
8021size_t EntitiesLogLevel::ByteSizeLong() const {
8022// @@protoc_insertion_point(message_byte_size_start:dmi.EntitiesLogLevel)
8023 size_t total_size = 0;
8024
8025 if (_internal_metadata_.have_unknown_fields()) {
8026 total_size +=
8027 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
8028 _internal_metadata_.unknown_fields());
8029 }
8030 ::google::protobuf::uint32 cached_has_bits = 0;
8031 // Prevent compiler warnings about cached_has_bits being unused
8032 (void) cached_has_bits;
8033
8034 // repeated string entities = 2;
8035 total_size += 1 *
8036 ::google::protobuf::internal::FromIntSize(this->entities_size());
8037 for (int i = 0, n = this->entities_size(); i < n; i++) {
8038 total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
8039 this->entities(i));
8040 }
8041
8042 // .dmi.LogLevel logLevel = 1;
8043 if (this->loglevel() != 0) {
8044 total_size += 1 +
8045 ::google::protobuf::internal::WireFormatLite::EnumSize(this->loglevel());
8046 }
8047
8048 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
8049 SetCachedSize(cached_size);
8050 return total_size;
8051}
8052
8053void EntitiesLogLevel::MergeFrom(const ::google::protobuf::Message& from) {
8054// @@protoc_insertion_point(generalized_merge_from_start:dmi.EntitiesLogLevel)
8055 GOOGLE_DCHECK_NE(&from, this);
8056 const EntitiesLogLevel* source =
8057 ::google::protobuf::DynamicCastToGenerated<EntitiesLogLevel>(
8058 &from);
8059 if (source == nullptr) {
8060 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.EntitiesLogLevel)
8061 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
8062 } else {
8063 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.EntitiesLogLevel)
8064 MergeFrom(*source);
8065 }
8066}
8067
8068void EntitiesLogLevel::MergeFrom(const EntitiesLogLevel& from) {
8069// @@protoc_insertion_point(class_specific_merge_from_start:dmi.EntitiesLogLevel)
8070 GOOGLE_DCHECK_NE(&from, this);
8071 _internal_metadata_.MergeFrom(from._internal_metadata_);
8072 ::google::protobuf::uint32 cached_has_bits = 0;
8073 (void) cached_has_bits;
8074
8075 entities_.MergeFrom(from.entities_);
8076 if (from.loglevel() != 0) {
8077 set_loglevel(from.loglevel());
8078 }
8079}
8080
8081void EntitiesLogLevel::CopyFrom(const ::google::protobuf::Message& from) {
8082// @@protoc_insertion_point(generalized_copy_from_start:dmi.EntitiesLogLevel)
8083 if (&from == this) return;
8084 Clear();
8085 MergeFrom(from);
8086}
8087
8088void EntitiesLogLevel::CopyFrom(const EntitiesLogLevel& from) {
8089// @@protoc_insertion_point(class_specific_copy_from_start:dmi.EntitiesLogLevel)
8090 if (&from == this) return;
8091 Clear();
8092 MergeFrom(from);
8093}
8094
8095bool EntitiesLogLevel::IsInitialized() const {
8096 return true;
8097}
8098
8099void EntitiesLogLevel::Swap(EntitiesLogLevel* other) {
8100 if (other == this) return;
8101 InternalSwap(other);
8102}
8103void EntitiesLogLevel::InternalSwap(EntitiesLogLevel* other) {
8104 using std::swap;
8105 _internal_metadata_.Swap(&other->_internal_metadata_);
8106 entities_.InternalSwap(CastToBase(&other->entities_));
8107 swap(loglevel_, other->loglevel_);
8108}
8109
8110::google::protobuf::Metadata EntitiesLogLevel::GetMetadata() const {
8111 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
8112 return ::file_level_metadata_dmi_2fhw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
8113}
8114
8115
8116// ===================================================================
8117
8118void SetLogLevelRequest::InitAsDefaultInstance() {
8119 ::dmi::_SetLogLevelRequest_default_instance_._instance.get_mutable()->device_uuid_ = const_cast< ::dmi::Uuid*>(
8120 ::dmi::Uuid::internal_default_instance());
8121}
8122class SetLogLevelRequest::HasBitSetters {
8123 public:
8124 static const ::dmi::Uuid& device_uuid(const SetLogLevelRequest* msg);
8125};
8126
8127const ::dmi::Uuid&
8128SetLogLevelRequest::HasBitSetters::device_uuid(const SetLogLevelRequest* msg) {
8129 return *msg->device_uuid_;
8130}
8131void SetLogLevelRequest::clear_device_uuid() {
8132 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
8133 delete device_uuid_;
8134 }
8135 device_uuid_ = nullptr;
8136}
8137#if !defined(_MSC_VER) || _MSC_VER >= 1900
8138const int SetLogLevelRequest::kDeviceUuidFieldNumber;
8139const int SetLogLevelRequest::kLoglevelsFieldNumber;
8140#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
8141
8142SetLogLevelRequest::SetLogLevelRequest()
8143 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
8144 SharedCtor();
8145 // @@protoc_insertion_point(constructor:dmi.SetLogLevelRequest)
8146}
8147SetLogLevelRequest::SetLogLevelRequest(const SetLogLevelRequest& from)
8148 : ::google::protobuf::Message(),
8149 _internal_metadata_(nullptr),
8150 loglevels_(from.loglevels_) {
8151 _internal_metadata_.MergeFrom(from._internal_metadata_);
8152 if (from.has_device_uuid()) {
8153 device_uuid_ = new ::dmi::Uuid(*from.device_uuid_);
8154 } else {
8155 device_uuid_ = nullptr;
8156 }
8157 // @@protoc_insertion_point(copy_constructor:dmi.SetLogLevelRequest)
8158}
8159
8160void SetLogLevelRequest::SharedCtor() {
8161 ::google::protobuf::internal::InitSCC(
8162 &scc_info_SetLogLevelRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
8163 device_uuid_ = nullptr;
8164}
8165
8166SetLogLevelRequest::~SetLogLevelRequest() {
8167 // @@protoc_insertion_point(destructor:dmi.SetLogLevelRequest)
8168 SharedDtor();
8169}
8170
8171void SetLogLevelRequest::SharedDtor() {
8172 if (this != internal_default_instance()) delete device_uuid_;
8173}
8174
8175void SetLogLevelRequest::SetCachedSize(int size) const {
8176 _cached_size_.Set(size);
8177}
8178const SetLogLevelRequest& SetLogLevelRequest::default_instance() {
8179 ::google::protobuf::internal::InitSCC(&::scc_info_SetLogLevelRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
8180 return *internal_default_instance();
8181}
8182
8183
8184void SetLogLevelRequest::Clear() {
8185// @@protoc_insertion_point(message_clear_start:dmi.SetLogLevelRequest)
8186 ::google::protobuf::uint32 cached_has_bits = 0;
8187 // Prevent compiler warnings about cached_has_bits being unused
8188 (void) cached_has_bits;
8189
8190 loglevels_.Clear();
8191 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
8192 delete device_uuid_;
8193 }
8194 device_uuid_ = nullptr;
8195 _internal_metadata_.Clear();
8196}
8197
8198#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
8199const char* SetLogLevelRequest::_InternalParse(const char* begin, const char* end, void* object,
8200 ::google::protobuf::internal::ParseContext* ctx) {
8201 auto msg = static_cast<SetLogLevelRequest*>(object);
8202 ::google::protobuf::int32 size; (void)size;
8203 int depth; (void)depth;
8204 ::google::protobuf::uint32 tag;
8205 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
8206 auto ptr = begin;
8207 while (ptr < end) {
8208 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
8209 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
8210 switch (tag >> 3) {
8211 // .dmi.Uuid device_uuid = 1;
8212 case 1: {
8213 if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual;
8214 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
8215 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
8216 parser_till_end = ::dmi::Uuid::_InternalParse;
8217 object = msg->mutable_device_uuid();
8218 if (size > end - ptr) goto len_delim_till_end;
8219 ptr += size;
8220 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
8221 {parser_till_end, object}, ptr - size, ptr));
8222 break;
8223 }
8224 // repeated .dmi.EntitiesLogLevel loglevels = 2;
8225 case 2: {
8226 if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual;
8227 do {
8228 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
8229 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
8230 parser_till_end = ::dmi::EntitiesLogLevel::_InternalParse;
8231 object = msg->add_loglevels();
8232 if (size > end - ptr) goto len_delim_till_end;
8233 ptr += size;
8234 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
8235 {parser_till_end, object}, ptr - size, ptr));
8236 if (ptr >= end) break;
8237 } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 18 && (ptr += 1));
8238 break;
8239 }
8240 default: {
8241 handle_unusual:
8242 if ((tag & 7) == 4 || tag == 0) {
8243 ctx->EndGroup(tag);
8244 return ptr;
8245 }
8246 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
8247 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
8248 ptr = res.first;
8249 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
8250 if (res.second) return ptr;
8251 }
8252 } // switch
8253 } // while
8254 return ptr;
8255len_delim_till_end:
8256 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
8257 {parser_till_end, object}, size);
8258}
8259#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
8260bool SetLogLevelRequest::MergePartialFromCodedStream(
8261 ::google::protobuf::io::CodedInputStream* input) {
8262#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
8263 ::google::protobuf::uint32 tag;
8264 // @@protoc_insertion_point(parse_start:dmi.SetLogLevelRequest)
8265 for (;;) {
8266 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
8267 tag = p.first;
8268 if (!p.second) goto handle_unusual;
8269 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
8270 // .dmi.Uuid device_uuid = 1;
8271 case 1: {
8272 if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) {
8273 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
8274 input, mutable_device_uuid()));
8275 } else {
8276 goto handle_unusual;
8277 }
8278 break;
8279 }
8280
8281 // repeated .dmi.EntitiesLogLevel loglevels = 2;
8282 case 2: {
8283 if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) {
8284 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
8285 input, add_loglevels()));
8286 } else {
8287 goto handle_unusual;
8288 }
8289 break;
8290 }
8291
8292 default: {
8293 handle_unusual:
8294 if (tag == 0) {
8295 goto success;
8296 }
8297 DO_(::google::protobuf::internal::WireFormat::SkipField(
8298 input, tag, _internal_metadata_.mutable_unknown_fields()));
8299 break;
8300 }
8301 }
8302 }
8303success:
8304 // @@protoc_insertion_point(parse_success:dmi.SetLogLevelRequest)
8305 return true;
8306failure:
8307 // @@protoc_insertion_point(parse_failure:dmi.SetLogLevelRequest)
8308 return false;
8309#undef DO_
8310}
8311#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
8312
8313void SetLogLevelRequest::SerializeWithCachedSizes(
8314 ::google::protobuf::io::CodedOutputStream* output) const {
8315 // @@protoc_insertion_point(serialize_start:dmi.SetLogLevelRequest)
8316 ::google::protobuf::uint32 cached_has_bits = 0;
8317 (void) cached_has_bits;
8318
8319 // .dmi.Uuid device_uuid = 1;
8320 if (this->has_device_uuid()) {
8321 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8322 1, HasBitSetters::device_uuid(this), output);
8323 }
8324
8325 // repeated .dmi.EntitiesLogLevel loglevels = 2;
8326 for (unsigned int i = 0,
8327 n = static_cast<unsigned int>(this->loglevels_size()); i < n; i++) {
8328 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8329 2,
8330 this->loglevels(static_cast<int>(i)),
8331 output);
8332 }
8333
8334 if (_internal_metadata_.have_unknown_fields()) {
8335 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
8336 _internal_metadata_.unknown_fields(), output);
8337 }
8338 // @@protoc_insertion_point(serialize_end:dmi.SetLogLevelRequest)
8339}
8340
8341::google::protobuf::uint8* SetLogLevelRequest::InternalSerializeWithCachedSizesToArray(
8342 ::google::protobuf::uint8* target) const {
8343 // @@protoc_insertion_point(serialize_to_array_start:dmi.SetLogLevelRequest)
8344 ::google::protobuf::uint32 cached_has_bits = 0;
8345 (void) cached_has_bits;
8346
8347 // .dmi.Uuid device_uuid = 1;
8348 if (this->has_device_uuid()) {
8349 target = ::google::protobuf::internal::WireFormatLite::
8350 InternalWriteMessageToArray(
8351 1, HasBitSetters::device_uuid(this), target);
8352 }
8353
8354 // repeated .dmi.EntitiesLogLevel loglevels = 2;
8355 for (unsigned int i = 0,
8356 n = static_cast<unsigned int>(this->loglevels_size()); i < n; i++) {
8357 target = ::google::protobuf::internal::WireFormatLite::
8358 InternalWriteMessageToArray(
8359 2, this->loglevels(static_cast<int>(i)), target);
8360 }
8361
8362 if (_internal_metadata_.have_unknown_fields()) {
8363 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
8364 _internal_metadata_.unknown_fields(), target);
8365 }
8366 // @@protoc_insertion_point(serialize_to_array_end:dmi.SetLogLevelRequest)
8367 return target;
8368}
8369
8370size_t SetLogLevelRequest::ByteSizeLong() const {
8371// @@protoc_insertion_point(message_byte_size_start:dmi.SetLogLevelRequest)
8372 size_t total_size = 0;
8373
8374 if (_internal_metadata_.have_unknown_fields()) {
8375 total_size +=
8376 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
8377 _internal_metadata_.unknown_fields());
8378 }
8379 ::google::protobuf::uint32 cached_has_bits = 0;
8380 // Prevent compiler warnings about cached_has_bits being unused
8381 (void) cached_has_bits;
8382
8383 // repeated .dmi.EntitiesLogLevel loglevels = 2;
8384 {
8385 unsigned int count = static_cast<unsigned int>(this->loglevels_size());
8386 total_size += 1UL * count;
8387 for (unsigned int i = 0; i < count; i++) {
8388 total_size +=
8389 ::google::protobuf::internal::WireFormatLite::MessageSize(
8390 this->loglevels(static_cast<int>(i)));
8391 }
8392 }
8393
8394 // .dmi.Uuid device_uuid = 1;
8395 if (this->has_device_uuid()) {
8396 total_size += 1 +
8397 ::google::protobuf::internal::WireFormatLite::MessageSize(
8398 *device_uuid_);
8399 }
8400
8401 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
8402 SetCachedSize(cached_size);
8403 return total_size;
8404}
8405
8406void SetLogLevelRequest::MergeFrom(const ::google::protobuf::Message& from) {
8407// @@protoc_insertion_point(generalized_merge_from_start:dmi.SetLogLevelRequest)
8408 GOOGLE_DCHECK_NE(&from, this);
8409 const SetLogLevelRequest* source =
8410 ::google::protobuf::DynamicCastToGenerated<SetLogLevelRequest>(
8411 &from);
8412 if (source == nullptr) {
8413 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.SetLogLevelRequest)
8414 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
8415 } else {
8416 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.SetLogLevelRequest)
8417 MergeFrom(*source);
8418 }
8419}
8420
8421void SetLogLevelRequest::MergeFrom(const SetLogLevelRequest& from) {
8422// @@protoc_insertion_point(class_specific_merge_from_start:dmi.SetLogLevelRequest)
8423 GOOGLE_DCHECK_NE(&from, this);
8424 _internal_metadata_.MergeFrom(from._internal_metadata_);
8425 ::google::protobuf::uint32 cached_has_bits = 0;
8426 (void) cached_has_bits;
8427
8428 loglevels_.MergeFrom(from.loglevels_);
8429 if (from.has_device_uuid()) {
8430 mutable_device_uuid()->::dmi::Uuid::MergeFrom(from.device_uuid());
8431 }
8432}
8433
8434void SetLogLevelRequest::CopyFrom(const ::google::protobuf::Message& from) {
8435// @@protoc_insertion_point(generalized_copy_from_start:dmi.SetLogLevelRequest)
8436 if (&from == this) return;
8437 Clear();
8438 MergeFrom(from);
8439}
8440
8441void SetLogLevelRequest::CopyFrom(const SetLogLevelRequest& from) {
8442// @@protoc_insertion_point(class_specific_copy_from_start:dmi.SetLogLevelRequest)
8443 if (&from == this) return;
8444 Clear();
8445 MergeFrom(from);
8446}
8447
8448bool SetLogLevelRequest::IsInitialized() const {
8449 return true;
8450}
8451
8452void SetLogLevelRequest::Swap(SetLogLevelRequest* other) {
8453 if (other == this) return;
8454 InternalSwap(other);
8455}
8456void SetLogLevelRequest::InternalSwap(SetLogLevelRequest* other) {
8457 using std::swap;
8458 _internal_metadata_.Swap(&other->_internal_metadata_);
8459 CastToBase(&loglevels_)->InternalSwap(CastToBase(&other->loglevels_));
8460 swap(device_uuid_, other->device_uuid_);
8461}
8462
8463::google::protobuf::Metadata SetLogLevelRequest::GetMetadata() const {
8464 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
8465 return ::file_level_metadata_dmi_2fhw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
8466}
8467
8468
8469// ===================================================================
8470
8471void SetLogLevelResponse::InitAsDefaultInstance() {
8472 ::dmi::_SetLogLevelResponse_default_instance_._instance.get_mutable()->device_uuid_ = const_cast< ::dmi::Uuid*>(
8473 ::dmi::Uuid::internal_default_instance());
8474}
8475class SetLogLevelResponse::HasBitSetters {
8476 public:
8477 static const ::dmi::Uuid& device_uuid(const SetLogLevelResponse* msg);
8478};
8479
8480const ::dmi::Uuid&
8481SetLogLevelResponse::HasBitSetters::device_uuid(const SetLogLevelResponse* msg) {
8482 return *msg->device_uuid_;
8483}
8484void SetLogLevelResponse::clear_device_uuid() {
8485 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
8486 delete device_uuid_;
8487 }
8488 device_uuid_ = nullptr;
8489}
8490#if !defined(_MSC_VER) || _MSC_VER >= 1900
8491const int SetLogLevelResponse::kDeviceUuidFieldNumber;
8492const int SetLogLevelResponse::kStatusFieldNumber;
8493const int SetLogLevelResponse::kReasonFieldNumber;
8494const int SetLogLevelResponse::kReasonDetailFieldNumber;
8495#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
8496
8497SetLogLevelResponse::SetLogLevelResponse()
8498 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
8499 SharedCtor();
8500 // @@protoc_insertion_point(constructor:dmi.SetLogLevelResponse)
8501}
8502SetLogLevelResponse::SetLogLevelResponse(const SetLogLevelResponse& from)
8503 : ::google::protobuf::Message(),
8504 _internal_metadata_(nullptr) {
8505 _internal_metadata_.MergeFrom(from._internal_metadata_);
8506 reason_detail_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8507 if (from.reason_detail().size() > 0) {
8508 reason_detail_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_detail_);
8509 }
8510 if (from.has_device_uuid()) {
8511 device_uuid_ = new ::dmi::Uuid(*from.device_uuid_);
8512 } else {
8513 device_uuid_ = nullptr;
8514 }
8515 ::memcpy(&status_, &from.status_,
8516 static_cast<size_t>(reinterpret_cast<char*>(&reason_) -
8517 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
8518 // @@protoc_insertion_point(copy_constructor:dmi.SetLogLevelResponse)
8519}
8520
8521void SetLogLevelResponse::SharedCtor() {
8522 ::google::protobuf::internal::InitSCC(
8523 &scc_info_SetLogLevelResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
8524 reason_detail_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8525 ::memset(&device_uuid_, 0, static_cast<size_t>(
8526 reinterpret_cast<char*>(&reason_) -
8527 reinterpret_cast<char*>(&device_uuid_)) + sizeof(reason_));
8528}
8529
8530SetLogLevelResponse::~SetLogLevelResponse() {
8531 // @@protoc_insertion_point(destructor:dmi.SetLogLevelResponse)
8532 SharedDtor();
8533}
8534
8535void SetLogLevelResponse::SharedDtor() {
8536 reason_detail_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8537 if (this != internal_default_instance()) delete device_uuid_;
8538}
8539
8540void SetLogLevelResponse::SetCachedSize(int size) const {
8541 _cached_size_.Set(size);
8542}
8543const SetLogLevelResponse& SetLogLevelResponse::default_instance() {
8544 ::google::protobuf::internal::InitSCC(&::scc_info_SetLogLevelResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
8545 return *internal_default_instance();
8546}
8547
8548
8549void SetLogLevelResponse::Clear() {
8550// @@protoc_insertion_point(message_clear_start:dmi.SetLogLevelResponse)
8551 ::google::protobuf::uint32 cached_has_bits = 0;
8552 // Prevent compiler warnings about cached_has_bits being unused
8553 (void) cached_has_bits;
8554
8555 reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8556 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
8557 delete device_uuid_;
8558 }
8559 device_uuid_ = nullptr;
8560 ::memset(&status_, 0, static_cast<size_t>(
8561 reinterpret_cast<char*>(&reason_) -
8562 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
8563 _internal_metadata_.Clear();
8564}
8565
8566#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
8567const char* SetLogLevelResponse::_InternalParse(const char* begin, const char* end, void* object,
8568 ::google::protobuf::internal::ParseContext* ctx) {
8569 auto msg = static_cast<SetLogLevelResponse*>(object);
8570 ::google::protobuf::int32 size; (void)size;
8571 int depth; (void)depth;
8572 ::google::protobuf::uint32 tag;
8573 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
8574 auto ptr = begin;
8575 while (ptr < end) {
8576 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
8577 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
8578 switch (tag >> 3) {
8579 // .dmi.Uuid device_uuid = 1;
8580 case 1: {
8581 if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual;
8582 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
8583 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
8584 parser_till_end = ::dmi::Uuid::_InternalParse;
8585 object = msg->mutable_device_uuid();
8586 if (size > end - ptr) goto len_delim_till_end;
8587 ptr += size;
8588 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
8589 {parser_till_end, object}, ptr - size, ptr));
8590 break;
8591 }
8592 // .dmi.Status status = 2;
8593 case 2: {
8594 if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual;
8595 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
8596 msg->set_status(static_cast<::dmi::Status>(val));
8597 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
8598 break;
8599 }
8600 // .dmi.SetLogLevelResponse.Reason reason = 3;
8601 case 3: {
8602 if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual;
8603 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
8604 msg->set_reason(static_cast<::dmi::SetLogLevelResponse_Reason>(val));
8605 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
8606 break;
8607 }
8608 // string reason_detail = 4;
8609 case 4: {
8610 if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual;
8611 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
8612 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
8613 ctx->extra_parse_data().SetFieldName("dmi.SetLogLevelResponse.reason_detail");
8614 object = msg->mutable_reason_detail();
8615 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
8616 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
8617 goto string_till_end;
8618 }
8619 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
8620 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
8621 ptr += size;
8622 break;
8623 }
8624 default: {
8625 handle_unusual:
8626 if ((tag & 7) == 4 || tag == 0) {
8627 ctx->EndGroup(tag);
8628 return ptr;
8629 }
8630 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
8631 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
8632 ptr = res.first;
8633 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
8634 if (res.second) return ptr;
8635 }
8636 } // switch
8637 } // while
8638 return ptr;
8639string_till_end:
8640 static_cast<::std::string*>(object)->clear();
8641 static_cast<::std::string*>(object)->reserve(size);
8642 goto len_delim_till_end;
8643len_delim_till_end:
8644 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
8645 {parser_till_end, object}, size);
8646}
8647#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
8648bool SetLogLevelResponse::MergePartialFromCodedStream(
8649 ::google::protobuf::io::CodedInputStream* input) {
8650#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
8651 ::google::protobuf::uint32 tag;
8652 // @@protoc_insertion_point(parse_start:dmi.SetLogLevelResponse)
8653 for (;;) {
8654 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
8655 tag = p.first;
8656 if (!p.second) goto handle_unusual;
8657 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
8658 // .dmi.Uuid device_uuid = 1;
8659 case 1: {
8660 if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) {
8661 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
8662 input, mutable_device_uuid()));
8663 } else {
8664 goto handle_unusual;
8665 }
8666 break;
8667 }
8668
8669 // .dmi.Status status = 2;
8670 case 2: {
8671 if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) {
8672 int value = 0;
8673 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8674 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
8675 input, &value)));
8676 set_status(static_cast< ::dmi::Status >(value));
8677 } else {
8678 goto handle_unusual;
8679 }
8680 break;
8681 }
8682
8683 // .dmi.SetLogLevelResponse.Reason reason = 3;
8684 case 3: {
8685 if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) {
8686 int value = 0;
8687 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8688 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
8689 input, &value)));
8690 set_reason(static_cast< ::dmi::SetLogLevelResponse_Reason >(value));
8691 } else {
8692 goto handle_unusual;
8693 }
8694 break;
8695 }
8696
8697 // string reason_detail = 4;
8698 case 4: {
8699 if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) {
8700 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
8701 input, this->mutable_reason_detail()));
8702 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
8703 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
8704 ::google::protobuf::internal::WireFormatLite::PARSE,
8705 "dmi.SetLogLevelResponse.reason_detail"));
8706 } else {
8707 goto handle_unusual;
8708 }
8709 break;
8710 }
8711
8712 default: {
8713 handle_unusual:
8714 if (tag == 0) {
8715 goto success;
8716 }
8717 DO_(::google::protobuf::internal::WireFormat::SkipField(
8718 input, tag, _internal_metadata_.mutable_unknown_fields()));
8719 break;
8720 }
8721 }
8722 }
8723success:
8724 // @@protoc_insertion_point(parse_success:dmi.SetLogLevelResponse)
8725 return true;
8726failure:
8727 // @@protoc_insertion_point(parse_failure:dmi.SetLogLevelResponse)
8728 return false;
8729#undef DO_
8730}
8731#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
8732
8733void SetLogLevelResponse::SerializeWithCachedSizes(
8734 ::google::protobuf::io::CodedOutputStream* output) const {
8735 // @@protoc_insertion_point(serialize_start:dmi.SetLogLevelResponse)
8736 ::google::protobuf::uint32 cached_has_bits = 0;
8737 (void) cached_has_bits;
8738
8739 // .dmi.Uuid device_uuid = 1;
8740 if (this->has_device_uuid()) {
8741 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8742 1, HasBitSetters::device_uuid(this), output);
8743 }
8744
8745 // .dmi.Status status = 2;
8746 if (this->status() != 0) {
8747 ::google::protobuf::internal::WireFormatLite::WriteEnum(
8748 2, this->status(), output);
8749 }
8750
8751 // .dmi.SetLogLevelResponse.Reason reason = 3;
8752 if (this->reason() != 0) {
8753 ::google::protobuf::internal::WireFormatLite::WriteEnum(
8754 3, this->reason(), output);
8755 }
8756
8757 // string reason_detail = 4;
8758 if (this->reason_detail().size() > 0) {
8759 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
8760 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
8761 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
8762 "dmi.SetLogLevelResponse.reason_detail");
8763 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
8764 4, this->reason_detail(), output);
8765 }
8766
8767 if (_internal_metadata_.have_unknown_fields()) {
8768 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
8769 _internal_metadata_.unknown_fields(), output);
8770 }
8771 // @@protoc_insertion_point(serialize_end:dmi.SetLogLevelResponse)
8772}
8773
8774::google::protobuf::uint8* SetLogLevelResponse::InternalSerializeWithCachedSizesToArray(
8775 ::google::protobuf::uint8* target) const {
8776 // @@protoc_insertion_point(serialize_to_array_start:dmi.SetLogLevelResponse)
8777 ::google::protobuf::uint32 cached_has_bits = 0;
8778 (void) cached_has_bits;
8779
8780 // .dmi.Uuid device_uuid = 1;
8781 if (this->has_device_uuid()) {
8782 target = ::google::protobuf::internal::WireFormatLite::
8783 InternalWriteMessageToArray(
8784 1, HasBitSetters::device_uuid(this), target);
8785 }
8786
8787 // .dmi.Status status = 2;
8788 if (this->status() != 0) {
8789 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
8790 2, this->status(), target);
8791 }
8792
8793 // .dmi.SetLogLevelResponse.Reason reason = 3;
8794 if (this->reason() != 0) {
8795 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
8796 3, this->reason(), target);
8797 }
8798
8799 // string reason_detail = 4;
8800 if (this->reason_detail().size() > 0) {
8801 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
8802 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
8803 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
8804 "dmi.SetLogLevelResponse.reason_detail");
8805 target =
8806 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
8807 4, this->reason_detail(), target);
8808 }
8809
8810 if (_internal_metadata_.have_unknown_fields()) {
8811 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
8812 _internal_metadata_.unknown_fields(), target);
8813 }
8814 // @@protoc_insertion_point(serialize_to_array_end:dmi.SetLogLevelResponse)
8815 return target;
8816}
8817
8818size_t SetLogLevelResponse::ByteSizeLong() const {
8819// @@protoc_insertion_point(message_byte_size_start:dmi.SetLogLevelResponse)
8820 size_t total_size = 0;
8821
8822 if (_internal_metadata_.have_unknown_fields()) {
8823 total_size +=
8824 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
8825 _internal_metadata_.unknown_fields());
8826 }
8827 ::google::protobuf::uint32 cached_has_bits = 0;
8828 // Prevent compiler warnings about cached_has_bits being unused
8829 (void) cached_has_bits;
8830
8831 // string reason_detail = 4;
8832 if (this->reason_detail().size() > 0) {
8833 total_size += 1 +
8834 ::google::protobuf::internal::WireFormatLite::StringSize(
8835 this->reason_detail());
8836 }
8837
8838 // .dmi.Uuid device_uuid = 1;
8839 if (this->has_device_uuid()) {
8840 total_size += 1 +
8841 ::google::protobuf::internal::WireFormatLite::MessageSize(
8842 *device_uuid_);
8843 }
8844
8845 // .dmi.Status status = 2;
8846 if (this->status() != 0) {
8847 total_size += 1 +
8848 ::google::protobuf::internal::WireFormatLite::EnumSize(this->status());
8849 }
8850
8851 // .dmi.SetLogLevelResponse.Reason reason = 3;
8852 if (this->reason() != 0) {
8853 total_size += 1 +
8854 ::google::protobuf::internal::WireFormatLite::EnumSize(this->reason());
8855 }
8856
8857 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
8858 SetCachedSize(cached_size);
8859 return total_size;
8860}
8861
8862void SetLogLevelResponse::MergeFrom(const ::google::protobuf::Message& from) {
8863// @@protoc_insertion_point(generalized_merge_from_start:dmi.SetLogLevelResponse)
8864 GOOGLE_DCHECK_NE(&from, this);
8865 const SetLogLevelResponse* source =
8866 ::google::protobuf::DynamicCastToGenerated<SetLogLevelResponse>(
8867 &from);
8868 if (source == nullptr) {
8869 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.SetLogLevelResponse)
8870 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
8871 } else {
8872 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.SetLogLevelResponse)
8873 MergeFrom(*source);
8874 }
8875}
8876
8877void SetLogLevelResponse::MergeFrom(const SetLogLevelResponse& from) {
8878// @@protoc_insertion_point(class_specific_merge_from_start:dmi.SetLogLevelResponse)
8879 GOOGLE_DCHECK_NE(&from, this);
8880 _internal_metadata_.MergeFrom(from._internal_metadata_);
8881 ::google::protobuf::uint32 cached_has_bits = 0;
8882 (void) cached_has_bits;
8883
8884 if (from.reason_detail().size() > 0) {
8885
8886 reason_detail_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_detail_);
8887 }
8888 if (from.has_device_uuid()) {
8889 mutable_device_uuid()->::dmi::Uuid::MergeFrom(from.device_uuid());
8890 }
8891 if (from.status() != 0) {
8892 set_status(from.status());
8893 }
8894 if (from.reason() != 0) {
8895 set_reason(from.reason());
8896 }
8897}
8898
8899void SetLogLevelResponse::CopyFrom(const ::google::protobuf::Message& from) {
8900// @@protoc_insertion_point(generalized_copy_from_start:dmi.SetLogLevelResponse)
8901 if (&from == this) return;
8902 Clear();
8903 MergeFrom(from);
8904}
8905
8906void SetLogLevelResponse::CopyFrom(const SetLogLevelResponse& from) {
8907// @@protoc_insertion_point(class_specific_copy_from_start:dmi.SetLogLevelResponse)
8908 if (&from == this) return;
8909 Clear();
8910 MergeFrom(from);
8911}
8912
8913bool SetLogLevelResponse::IsInitialized() const {
8914 return true;
8915}
8916
8917void SetLogLevelResponse::Swap(SetLogLevelResponse* other) {
8918 if (other == this) return;
8919 InternalSwap(other);
8920}
8921void SetLogLevelResponse::InternalSwap(SetLogLevelResponse* other) {
8922 using std::swap;
8923 _internal_metadata_.Swap(&other->_internal_metadata_);
8924 reason_detail_.Swap(&other->reason_detail_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
8925 GetArenaNoVirtual());
8926 swap(device_uuid_, other->device_uuid_);
8927 swap(status_, other->status_);
8928 swap(reason_, other->reason_);
8929}
8930
8931::google::protobuf::Metadata SetLogLevelResponse::GetMetadata() const {
8932 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
8933 return ::file_level_metadata_dmi_2fhw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
8934}
8935
8936
8937// ===================================================================
8938
8939void GetLogLevelRequest::InitAsDefaultInstance() {
8940 ::dmi::_GetLogLevelRequest_default_instance_._instance.get_mutable()->device_uuid_ = const_cast< ::dmi::Uuid*>(
8941 ::dmi::Uuid::internal_default_instance());
8942}
8943class GetLogLevelRequest::HasBitSetters {
8944 public:
8945 static const ::dmi::Uuid& device_uuid(const GetLogLevelRequest* msg);
8946};
8947
8948const ::dmi::Uuid&
8949GetLogLevelRequest::HasBitSetters::device_uuid(const GetLogLevelRequest* msg) {
8950 return *msg->device_uuid_;
8951}
8952void GetLogLevelRequest::clear_device_uuid() {
8953 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
8954 delete device_uuid_;
8955 }
8956 device_uuid_ = nullptr;
8957}
8958#if !defined(_MSC_VER) || _MSC_VER >= 1900
8959const int GetLogLevelRequest::kDeviceUuidFieldNumber;
8960const int GetLogLevelRequest::kEntitiesFieldNumber;
8961#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
8962
8963GetLogLevelRequest::GetLogLevelRequest()
8964 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
8965 SharedCtor();
8966 // @@protoc_insertion_point(constructor:dmi.GetLogLevelRequest)
8967}
8968GetLogLevelRequest::GetLogLevelRequest(const GetLogLevelRequest& from)
8969 : ::google::protobuf::Message(),
8970 _internal_metadata_(nullptr),
8971 entities_(from.entities_) {
8972 _internal_metadata_.MergeFrom(from._internal_metadata_);
8973 if (from.has_device_uuid()) {
8974 device_uuid_ = new ::dmi::Uuid(*from.device_uuid_);
8975 } else {
8976 device_uuid_ = nullptr;
8977 }
8978 // @@protoc_insertion_point(copy_constructor:dmi.GetLogLevelRequest)
8979}
8980
8981void GetLogLevelRequest::SharedCtor() {
8982 ::google::protobuf::internal::InitSCC(
8983 &scc_info_GetLogLevelRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
8984 device_uuid_ = nullptr;
8985}
8986
8987GetLogLevelRequest::~GetLogLevelRequest() {
8988 // @@protoc_insertion_point(destructor:dmi.GetLogLevelRequest)
8989 SharedDtor();
8990}
8991
8992void GetLogLevelRequest::SharedDtor() {
8993 if (this != internal_default_instance()) delete device_uuid_;
8994}
8995
8996void GetLogLevelRequest::SetCachedSize(int size) const {
8997 _cached_size_.Set(size);
8998}
8999const GetLogLevelRequest& GetLogLevelRequest::default_instance() {
9000 ::google::protobuf::internal::InitSCC(&::scc_info_GetLogLevelRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
9001 return *internal_default_instance();
9002}
9003
9004
9005void GetLogLevelRequest::Clear() {
9006// @@protoc_insertion_point(message_clear_start:dmi.GetLogLevelRequest)
9007 ::google::protobuf::uint32 cached_has_bits = 0;
9008 // Prevent compiler warnings about cached_has_bits being unused
9009 (void) cached_has_bits;
9010
9011 entities_.Clear();
9012 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
9013 delete device_uuid_;
9014 }
9015 device_uuid_ = nullptr;
9016 _internal_metadata_.Clear();
9017}
9018
9019#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
9020const char* GetLogLevelRequest::_InternalParse(const char* begin, const char* end, void* object,
9021 ::google::protobuf::internal::ParseContext* ctx) {
9022 auto msg = static_cast<GetLogLevelRequest*>(object);
9023 ::google::protobuf::int32 size; (void)size;
9024 int depth; (void)depth;
9025 ::google::protobuf::uint32 tag;
9026 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
9027 auto ptr = begin;
9028 while (ptr < end) {
9029 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
9030 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
9031 switch (tag >> 3) {
9032 // .dmi.Uuid device_uuid = 1;
9033 case 1: {
9034 if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual;
9035 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
9036 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
9037 parser_till_end = ::dmi::Uuid::_InternalParse;
9038 object = msg->mutable_device_uuid();
9039 if (size > end - ptr) goto len_delim_till_end;
9040 ptr += size;
9041 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
9042 {parser_till_end, object}, ptr - size, ptr));
9043 break;
9044 }
9045 // repeated string entities = 2;
9046 case 2: {
9047 if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual;
9048 do {
9049 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
9050 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
9051 ctx->extra_parse_data().SetFieldName("dmi.GetLogLevelRequest.entities");
9052 object = msg->add_entities();
9053 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
9054 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
9055 goto string_till_end;
9056 }
9057 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
9058 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
9059 ptr += size;
9060 if (ptr >= end) break;
9061 } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 18 && (ptr += 1));
9062 break;
9063 }
9064 default: {
9065 handle_unusual:
9066 if ((tag & 7) == 4 || tag == 0) {
9067 ctx->EndGroup(tag);
9068 return ptr;
9069 }
9070 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
9071 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
9072 ptr = res.first;
9073 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
9074 if (res.second) return ptr;
9075 }
9076 } // switch
9077 } // while
9078 return ptr;
9079string_till_end:
9080 static_cast<::std::string*>(object)->clear();
9081 static_cast<::std::string*>(object)->reserve(size);
9082 goto len_delim_till_end;
9083len_delim_till_end:
9084 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
9085 {parser_till_end, object}, size);
9086}
9087#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
9088bool GetLogLevelRequest::MergePartialFromCodedStream(
9089 ::google::protobuf::io::CodedInputStream* input) {
9090#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
9091 ::google::protobuf::uint32 tag;
9092 // @@protoc_insertion_point(parse_start:dmi.GetLogLevelRequest)
9093 for (;;) {
9094 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
9095 tag = p.first;
9096 if (!p.second) goto handle_unusual;
9097 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
9098 // .dmi.Uuid device_uuid = 1;
9099 case 1: {
9100 if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) {
9101 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
9102 input, mutable_device_uuid()));
9103 } else {
9104 goto handle_unusual;
9105 }
9106 break;
9107 }
9108
9109 // repeated string entities = 2;
9110 case 2: {
9111 if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) {
9112 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
9113 input, this->add_entities()));
9114 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
9115 this->entities(this->entities_size() - 1).data(),
9116 static_cast<int>(this->entities(this->entities_size() - 1).length()),
9117 ::google::protobuf::internal::WireFormatLite::PARSE,
9118 "dmi.GetLogLevelRequest.entities"));
9119 } else {
9120 goto handle_unusual;
9121 }
9122 break;
9123 }
9124
9125 default: {
9126 handle_unusual:
9127 if (tag == 0) {
9128 goto success;
9129 }
9130 DO_(::google::protobuf::internal::WireFormat::SkipField(
9131 input, tag, _internal_metadata_.mutable_unknown_fields()));
9132 break;
9133 }
9134 }
9135 }
9136success:
9137 // @@protoc_insertion_point(parse_success:dmi.GetLogLevelRequest)
9138 return true;
9139failure:
9140 // @@protoc_insertion_point(parse_failure:dmi.GetLogLevelRequest)
9141 return false;
9142#undef DO_
9143}
9144#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
9145
9146void GetLogLevelRequest::SerializeWithCachedSizes(
9147 ::google::protobuf::io::CodedOutputStream* output) const {
9148 // @@protoc_insertion_point(serialize_start:dmi.GetLogLevelRequest)
9149 ::google::protobuf::uint32 cached_has_bits = 0;
9150 (void) cached_has_bits;
9151
9152 // .dmi.Uuid device_uuid = 1;
9153 if (this->has_device_uuid()) {
9154 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
9155 1, HasBitSetters::device_uuid(this), output);
9156 }
9157
9158 // repeated string entities = 2;
9159 for (int i = 0, n = this->entities_size(); i < n; i++) {
9160 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
9161 this->entities(i).data(), static_cast<int>(this->entities(i).length()),
9162 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
9163 "dmi.GetLogLevelRequest.entities");
9164 ::google::protobuf::internal::WireFormatLite::WriteString(
9165 2, this->entities(i), output);
9166 }
9167
9168 if (_internal_metadata_.have_unknown_fields()) {
9169 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
9170 _internal_metadata_.unknown_fields(), output);
9171 }
9172 // @@protoc_insertion_point(serialize_end:dmi.GetLogLevelRequest)
9173}
9174
9175::google::protobuf::uint8* GetLogLevelRequest::InternalSerializeWithCachedSizesToArray(
9176 ::google::protobuf::uint8* target) const {
9177 // @@protoc_insertion_point(serialize_to_array_start:dmi.GetLogLevelRequest)
9178 ::google::protobuf::uint32 cached_has_bits = 0;
9179 (void) cached_has_bits;
9180
9181 // .dmi.Uuid device_uuid = 1;
9182 if (this->has_device_uuid()) {
9183 target = ::google::protobuf::internal::WireFormatLite::
9184 InternalWriteMessageToArray(
9185 1, HasBitSetters::device_uuid(this), target);
9186 }
9187
9188 // repeated string entities = 2;
9189 for (int i = 0, n = this->entities_size(); i < n; i++) {
9190 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
9191 this->entities(i).data(), static_cast<int>(this->entities(i).length()),
9192 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
9193 "dmi.GetLogLevelRequest.entities");
9194 target = ::google::protobuf::internal::WireFormatLite::
9195 WriteStringToArray(2, this->entities(i), target);
9196 }
9197
9198 if (_internal_metadata_.have_unknown_fields()) {
9199 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
9200 _internal_metadata_.unknown_fields(), target);
9201 }
9202 // @@protoc_insertion_point(serialize_to_array_end:dmi.GetLogLevelRequest)
9203 return target;
9204}
9205
9206size_t GetLogLevelRequest::ByteSizeLong() const {
9207// @@protoc_insertion_point(message_byte_size_start:dmi.GetLogLevelRequest)
9208 size_t total_size = 0;
9209
9210 if (_internal_metadata_.have_unknown_fields()) {
9211 total_size +=
9212 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
9213 _internal_metadata_.unknown_fields());
9214 }
9215 ::google::protobuf::uint32 cached_has_bits = 0;
9216 // Prevent compiler warnings about cached_has_bits being unused
9217 (void) cached_has_bits;
9218
9219 // repeated string entities = 2;
9220 total_size += 1 *
9221 ::google::protobuf::internal::FromIntSize(this->entities_size());
9222 for (int i = 0, n = this->entities_size(); i < n; i++) {
9223 total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
9224 this->entities(i));
9225 }
9226
9227 // .dmi.Uuid device_uuid = 1;
9228 if (this->has_device_uuid()) {
9229 total_size += 1 +
9230 ::google::protobuf::internal::WireFormatLite::MessageSize(
9231 *device_uuid_);
9232 }
9233
9234 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
9235 SetCachedSize(cached_size);
9236 return total_size;
9237}
9238
9239void GetLogLevelRequest::MergeFrom(const ::google::protobuf::Message& from) {
9240// @@protoc_insertion_point(generalized_merge_from_start:dmi.GetLogLevelRequest)
9241 GOOGLE_DCHECK_NE(&from, this);
9242 const GetLogLevelRequest* source =
9243 ::google::protobuf::DynamicCastToGenerated<GetLogLevelRequest>(
9244 &from);
9245 if (source == nullptr) {
9246 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.GetLogLevelRequest)
9247 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
9248 } else {
9249 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.GetLogLevelRequest)
9250 MergeFrom(*source);
9251 }
9252}
9253
9254void GetLogLevelRequest::MergeFrom(const GetLogLevelRequest& from) {
9255// @@protoc_insertion_point(class_specific_merge_from_start:dmi.GetLogLevelRequest)
9256 GOOGLE_DCHECK_NE(&from, this);
9257 _internal_metadata_.MergeFrom(from._internal_metadata_);
9258 ::google::protobuf::uint32 cached_has_bits = 0;
9259 (void) cached_has_bits;
9260
9261 entities_.MergeFrom(from.entities_);
9262 if (from.has_device_uuid()) {
9263 mutable_device_uuid()->::dmi::Uuid::MergeFrom(from.device_uuid());
9264 }
9265}
9266
9267void GetLogLevelRequest::CopyFrom(const ::google::protobuf::Message& from) {
9268// @@protoc_insertion_point(generalized_copy_from_start:dmi.GetLogLevelRequest)
9269 if (&from == this) return;
9270 Clear();
9271 MergeFrom(from);
9272}
9273
9274void GetLogLevelRequest::CopyFrom(const GetLogLevelRequest& from) {
9275// @@protoc_insertion_point(class_specific_copy_from_start:dmi.GetLogLevelRequest)
9276 if (&from == this) return;
9277 Clear();
9278 MergeFrom(from);
9279}
9280
9281bool GetLogLevelRequest::IsInitialized() const {
9282 return true;
9283}
9284
9285void GetLogLevelRequest::Swap(GetLogLevelRequest* other) {
9286 if (other == this) return;
9287 InternalSwap(other);
9288}
9289void GetLogLevelRequest::InternalSwap(GetLogLevelRequest* other) {
9290 using std::swap;
9291 _internal_metadata_.Swap(&other->_internal_metadata_);
9292 entities_.InternalSwap(CastToBase(&other->entities_));
9293 swap(device_uuid_, other->device_uuid_);
9294}
9295
9296::google::protobuf::Metadata GetLogLevelRequest::GetMetadata() const {
9297 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
9298 return ::file_level_metadata_dmi_2fhw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
9299}
9300
9301
9302// ===================================================================
9303
9304void GetLogLevelResponse::InitAsDefaultInstance() {
9305 ::dmi::_GetLogLevelResponse_default_instance_._instance.get_mutable()->device_uuid_ = const_cast< ::dmi::Uuid*>(
9306 ::dmi::Uuid::internal_default_instance());
9307}
9308class GetLogLevelResponse::HasBitSetters {
9309 public:
9310 static const ::dmi::Uuid& device_uuid(const GetLogLevelResponse* msg);
9311};
9312
9313const ::dmi::Uuid&
9314GetLogLevelResponse::HasBitSetters::device_uuid(const GetLogLevelResponse* msg) {
9315 return *msg->device_uuid_;
9316}
9317void GetLogLevelResponse::clear_device_uuid() {
9318 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
9319 delete device_uuid_;
9320 }
9321 device_uuid_ = nullptr;
9322}
9323#if !defined(_MSC_VER) || _MSC_VER >= 1900
9324const int GetLogLevelResponse::kDeviceUuidFieldNumber;
9325const int GetLogLevelResponse::kLogLevelsFieldNumber;
9326const int GetLogLevelResponse::kStatusFieldNumber;
9327const int GetLogLevelResponse::kReasonFieldNumber;
9328const int GetLogLevelResponse::kReasonDetailFieldNumber;
9329#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
9330
9331GetLogLevelResponse::GetLogLevelResponse()
9332 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
9333 SharedCtor();
9334 // @@protoc_insertion_point(constructor:dmi.GetLogLevelResponse)
9335}
9336GetLogLevelResponse::GetLogLevelResponse(const GetLogLevelResponse& from)
9337 : ::google::protobuf::Message(),
9338 _internal_metadata_(nullptr),
9339 loglevels_(from.loglevels_) {
9340 _internal_metadata_.MergeFrom(from._internal_metadata_);
9341 reason_detail_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9342 if (from.reason_detail().size() > 0) {
9343 reason_detail_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_detail_);
9344 }
9345 if (from.has_device_uuid()) {
9346 device_uuid_ = new ::dmi::Uuid(*from.device_uuid_);
9347 } else {
9348 device_uuid_ = nullptr;
9349 }
9350 ::memcpy(&status_, &from.status_,
9351 static_cast<size_t>(reinterpret_cast<char*>(&reason_) -
9352 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
9353 // @@protoc_insertion_point(copy_constructor:dmi.GetLogLevelResponse)
9354}
9355
9356void GetLogLevelResponse::SharedCtor() {
9357 ::google::protobuf::internal::InitSCC(
9358 &scc_info_GetLogLevelResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
9359 reason_detail_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9360 ::memset(&device_uuid_, 0, static_cast<size_t>(
9361 reinterpret_cast<char*>(&reason_) -
9362 reinterpret_cast<char*>(&device_uuid_)) + sizeof(reason_));
9363}
9364
9365GetLogLevelResponse::~GetLogLevelResponse() {
9366 // @@protoc_insertion_point(destructor:dmi.GetLogLevelResponse)
9367 SharedDtor();
9368}
9369
9370void GetLogLevelResponse::SharedDtor() {
9371 reason_detail_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9372 if (this != internal_default_instance()) delete device_uuid_;
9373}
9374
9375void GetLogLevelResponse::SetCachedSize(int size) const {
9376 _cached_size_.Set(size);
9377}
9378const GetLogLevelResponse& GetLogLevelResponse::default_instance() {
9379 ::google::protobuf::internal::InitSCC(&::scc_info_GetLogLevelResponse_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
9380 return *internal_default_instance();
9381}
9382
9383
9384void GetLogLevelResponse::Clear() {
9385// @@protoc_insertion_point(message_clear_start:dmi.GetLogLevelResponse)
9386 ::google::protobuf::uint32 cached_has_bits = 0;
9387 // Prevent compiler warnings about cached_has_bits being unused
9388 (void) cached_has_bits;
9389
9390 loglevels_.Clear();
9391 reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9392 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
9393 delete device_uuid_;
9394 }
9395 device_uuid_ = nullptr;
9396 ::memset(&status_, 0, static_cast<size_t>(
9397 reinterpret_cast<char*>(&reason_) -
9398 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
9399 _internal_metadata_.Clear();
9400}
9401
9402#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
9403const char* GetLogLevelResponse::_InternalParse(const char* begin, const char* end, void* object,
9404 ::google::protobuf::internal::ParseContext* ctx) {
9405 auto msg = static_cast<GetLogLevelResponse*>(object);
9406 ::google::protobuf::int32 size; (void)size;
9407 int depth; (void)depth;
9408 ::google::protobuf::uint32 tag;
9409 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
9410 auto ptr = begin;
9411 while (ptr < end) {
9412 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
9413 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
9414 switch (tag >> 3) {
9415 // .dmi.Uuid device_uuid = 1;
9416 case 1: {
9417 if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual;
9418 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
9419 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
9420 parser_till_end = ::dmi::Uuid::_InternalParse;
9421 object = msg->mutable_device_uuid();
9422 if (size > end - ptr) goto len_delim_till_end;
9423 ptr += size;
9424 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
9425 {parser_till_end, object}, ptr - size, ptr));
9426 break;
9427 }
9428 // repeated .dmi.EntitiesLogLevel logLevels = 2;
9429 case 2: {
9430 if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual;
9431 do {
9432 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
9433 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
9434 parser_till_end = ::dmi::EntitiesLogLevel::_InternalParse;
9435 object = msg->add_loglevels();
9436 if (size > end - ptr) goto len_delim_till_end;
9437 ptr += size;
9438 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
9439 {parser_till_end, object}, ptr - size, ptr));
9440 if (ptr >= end) break;
9441 } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 18 && (ptr += 1));
9442 break;
9443 }
9444 // .dmi.Status status = 3;
9445 case 3: {
9446 if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual;
9447 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
9448 msg->set_status(static_cast<::dmi::Status>(val));
9449 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
9450 break;
9451 }
9452 // .dmi.GetLogLevelResponse.Reason reason = 4;
9453 case 4: {
9454 if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual;
9455 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
9456 msg->set_reason(static_cast<::dmi::GetLogLevelResponse_Reason>(val));
9457 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
9458 break;
9459 }
9460 // string reason_detail = 5;
9461 case 5: {
9462 if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual;
9463 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
9464 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
9465 ctx->extra_parse_data().SetFieldName("dmi.GetLogLevelResponse.reason_detail");
9466 object = msg->mutable_reason_detail();
9467 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
9468 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
9469 goto string_till_end;
9470 }
9471 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
9472 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
9473 ptr += size;
9474 break;
9475 }
9476 default: {
9477 handle_unusual:
9478 if ((tag & 7) == 4 || tag == 0) {
9479 ctx->EndGroup(tag);
9480 return ptr;
9481 }
9482 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
9483 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
9484 ptr = res.first;
9485 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
9486 if (res.second) return ptr;
9487 }
9488 } // switch
9489 } // while
9490 return ptr;
9491string_till_end:
9492 static_cast<::std::string*>(object)->clear();
9493 static_cast<::std::string*>(object)->reserve(size);
9494 goto len_delim_till_end;
9495len_delim_till_end:
9496 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
9497 {parser_till_end, object}, size);
9498}
9499#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
9500bool GetLogLevelResponse::MergePartialFromCodedStream(
9501 ::google::protobuf::io::CodedInputStream* input) {
9502#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
9503 ::google::protobuf::uint32 tag;
9504 // @@protoc_insertion_point(parse_start:dmi.GetLogLevelResponse)
9505 for (;;) {
9506 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
9507 tag = p.first;
9508 if (!p.second) goto handle_unusual;
9509 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
9510 // .dmi.Uuid device_uuid = 1;
9511 case 1: {
9512 if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) {
9513 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
9514 input, mutable_device_uuid()));
9515 } else {
9516 goto handle_unusual;
9517 }
9518 break;
9519 }
9520
9521 // repeated .dmi.EntitiesLogLevel logLevels = 2;
9522 case 2: {
9523 if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) {
9524 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
9525 input, add_loglevels()));
9526 } else {
9527 goto handle_unusual;
9528 }
9529 break;
9530 }
9531
9532 // .dmi.Status status = 3;
9533 case 3: {
9534 if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) {
9535 int value = 0;
9536 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
9537 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
9538 input, &value)));
9539 set_status(static_cast< ::dmi::Status >(value));
9540 } else {
9541 goto handle_unusual;
9542 }
9543 break;
9544 }
9545
9546 // .dmi.GetLogLevelResponse.Reason reason = 4;
9547 case 4: {
9548 if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) {
9549 int value = 0;
9550 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
9551 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
9552 input, &value)));
9553 set_reason(static_cast< ::dmi::GetLogLevelResponse_Reason >(value));
9554 } else {
9555 goto handle_unusual;
9556 }
9557 break;
9558 }
9559
9560 // string reason_detail = 5;
9561 case 5: {
9562 if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) {
9563 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
9564 input, this->mutable_reason_detail()));
9565 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
9566 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
9567 ::google::protobuf::internal::WireFormatLite::PARSE,
9568 "dmi.GetLogLevelResponse.reason_detail"));
9569 } else {
9570 goto handle_unusual;
9571 }
9572 break;
9573 }
9574
9575 default: {
9576 handle_unusual:
9577 if (tag == 0) {
9578 goto success;
9579 }
9580 DO_(::google::protobuf::internal::WireFormat::SkipField(
9581 input, tag, _internal_metadata_.mutable_unknown_fields()));
9582 break;
9583 }
9584 }
9585 }
9586success:
9587 // @@protoc_insertion_point(parse_success:dmi.GetLogLevelResponse)
9588 return true;
9589failure:
9590 // @@protoc_insertion_point(parse_failure:dmi.GetLogLevelResponse)
9591 return false;
9592#undef DO_
9593}
9594#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
9595
9596void GetLogLevelResponse::SerializeWithCachedSizes(
9597 ::google::protobuf::io::CodedOutputStream* output) const {
9598 // @@protoc_insertion_point(serialize_start:dmi.GetLogLevelResponse)
9599 ::google::protobuf::uint32 cached_has_bits = 0;
9600 (void) cached_has_bits;
9601
9602 // .dmi.Uuid device_uuid = 1;
9603 if (this->has_device_uuid()) {
9604 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
9605 1, HasBitSetters::device_uuid(this), output);
9606 }
9607
9608 // repeated .dmi.EntitiesLogLevel logLevels = 2;
9609 for (unsigned int i = 0,
9610 n = static_cast<unsigned int>(this->loglevels_size()); i < n; i++) {
9611 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
9612 2,
9613 this->loglevels(static_cast<int>(i)),
9614 output);
9615 }
9616
9617 // .dmi.Status status = 3;
9618 if (this->status() != 0) {
9619 ::google::protobuf::internal::WireFormatLite::WriteEnum(
9620 3, this->status(), output);
9621 }
9622
9623 // .dmi.GetLogLevelResponse.Reason reason = 4;
9624 if (this->reason() != 0) {
9625 ::google::protobuf::internal::WireFormatLite::WriteEnum(
9626 4, this->reason(), output);
9627 }
9628
9629 // string reason_detail = 5;
9630 if (this->reason_detail().size() > 0) {
9631 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
9632 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
9633 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
9634 "dmi.GetLogLevelResponse.reason_detail");
9635 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
9636 5, this->reason_detail(), output);
9637 }
9638
9639 if (_internal_metadata_.have_unknown_fields()) {
9640 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
9641 _internal_metadata_.unknown_fields(), output);
9642 }
9643 // @@protoc_insertion_point(serialize_end:dmi.GetLogLevelResponse)
9644}
9645
9646::google::protobuf::uint8* GetLogLevelResponse::InternalSerializeWithCachedSizesToArray(
9647 ::google::protobuf::uint8* target) const {
9648 // @@protoc_insertion_point(serialize_to_array_start:dmi.GetLogLevelResponse)
9649 ::google::protobuf::uint32 cached_has_bits = 0;
9650 (void) cached_has_bits;
9651
9652 // .dmi.Uuid device_uuid = 1;
9653 if (this->has_device_uuid()) {
9654 target = ::google::protobuf::internal::WireFormatLite::
9655 InternalWriteMessageToArray(
9656 1, HasBitSetters::device_uuid(this), target);
9657 }
9658
9659 // repeated .dmi.EntitiesLogLevel logLevels = 2;
9660 for (unsigned int i = 0,
9661 n = static_cast<unsigned int>(this->loglevels_size()); i < n; i++) {
9662 target = ::google::protobuf::internal::WireFormatLite::
9663 InternalWriteMessageToArray(
9664 2, this->loglevels(static_cast<int>(i)), target);
9665 }
9666
9667 // .dmi.Status status = 3;
9668 if (this->status() != 0) {
9669 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
9670 3, this->status(), target);
9671 }
9672
9673 // .dmi.GetLogLevelResponse.Reason reason = 4;
9674 if (this->reason() != 0) {
9675 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
9676 4, this->reason(), target);
9677 }
9678
9679 // string reason_detail = 5;
9680 if (this->reason_detail().size() > 0) {
9681 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
9682 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
9683 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
9684 "dmi.GetLogLevelResponse.reason_detail");
9685 target =
9686 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
9687 5, this->reason_detail(), target);
9688 }
9689
9690 if (_internal_metadata_.have_unknown_fields()) {
9691 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
9692 _internal_metadata_.unknown_fields(), target);
9693 }
9694 // @@protoc_insertion_point(serialize_to_array_end:dmi.GetLogLevelResponse)
9695 return target;
9696}
9697
9698size_t GetLogLevelResponse::ByteSizeLong() const {
9699// @@protoc_insertion_point(message_byte_size_start:dmi.GetLogLevelResponse)
9700 size_t total_size = 0;
9701
9702 if (_internal_metadata_.have_unknown_fields()) {
9703 total_size +=
9704 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
9705 _internal_metadata_.unknown_fields());
9706 }
9707 ::google::protobuf::uint32 cached_has_bits = 0;
9708 // Prevent compiler warnings about cached_has_bits being unused
9709 (void) cached_has_bits;
9710
9711 // repeated .dmi.EntitiesLogLevel logLevels = 2;
9712 {
9713 unsigned int count = static_cast<unsigned int>(this->loglevels_size());
9714 total_size += 1UL * count;
9715 for (unsigned int i = 0; i < count; i++) {
9716 total_size +=
9717 ::google::protobuf::internal::WireFormatLite::MessageSize(
9718 this->loglevels(static_cast<int>(i)));
9719 }
9720 }
9721
9722 // string reason_detail = 5;
9723 if (this->reason_detail().size() > 0) {
9724 total_size += 1 +
9725 ::google::protobuf::internal::WireFormatLite::StringSize(
9726 this->reason_detail());
9727 }
9728
9729 // .dmi.Uuid device_uuid = 1;
9730 if (this->has_device_uuid()) {
9731 total_size += 1 +
9732 ::google::protobuf::internal::WireFormatLite::MessageSize(
9733 *device_uuid_);
9734 }
9735
9736 // .dmi.Status status = 3;
9737 if (this->status() != 0) {
9738 total_size += 1 +
9739 ::google::protobuf::internal::WireFormatLite::EnumSize(this->status());
9740 }
9741
9742 // .dmi.GetLogLevelResponse.Reason reason = 4;
9743 if (this->reason() != 0) {
9744 total_size += 1 +
9745 ::google::protobuf::internal::WireFormatLite::EnumSize(this->reason());
9746 }
9747
9748 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
9749 SetCachedSize(cached_size);
9750 return total_size;
9751}
9752
9753void GetLogLevelResponse::MergeFrom(const ::google::protobuf::Message& from) {
9754// @@protoc_insertion_point(generalized_merge_from_start:dmi.GetLogLevelResponse)
9755 GOOGLE_DCHECK_NE(&from, this);
9756 const GetLogLevelResponse* source =
9757 ::google::protobuf::DynamicCastToGenerated<GetLogLevelResponse>(
9758 &from);
9759 if (source == nullptr) {
9760 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.GetLogLevelResponse)
9761 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
9762 } else {
9763 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.GetLogLevelResponse)
9764 MergeFrom(*source);
9765 }
9766}
9767
9768void GetLogLevelResponse::MergeFrom(const GetLogLevelResponse& from) {
9769// @@protoc_insertion_point(class_specific_merge_from_start:dmi.GetLogLevelResponse)
9770 GOOGLE_DCHECK_NE(&from, this);
9771 _internal_metadata_.MergeFrom(from._internal_metadata_);
9772 ::google::protobuf::uint32 cached_has_bits = 0;
9773 (void) cached_has_bits;
9774
9775 loglevels_.MergeFrom(from.loglevels_);
9776 if (from.reason_detail().size() > 0) {
9777
9778 reason_detail_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_detail_);
9779 }
9780 if (from.has_device_uuid()) {
9781 mutable_device_uuid()->::dmi::Uuid::MergeFrom(from.device_uuid());
9782 }
9783 if (from.status() != 0) {
9784 set_status(from.status());
9785 }
9786 if (from.reason() != 0) {
9787 set_reason(from.reason());
9788 }
9789}
9790
9791void GetLogLevelResponse::CopyFrom(const ::google::protobuf::Message& from) {
9792// @@protoc_insertion_point(generalized_copy_from_start:dmi.GetLogLevelResponse)
9793 if (&from == this) return;
9794 Clear();
9795 MergeFrom(from);
9796}
9797
9798void GetLogLevelResponse::CopyFrom(const GetLogLevelResponse& from) {
9799// @@protoc_insertion_point(class_specific_copy_from_start:dmi.GetLogLevelResponse)
9800 if (&from == this) return;
9801 Clear();
9802 MergeFrom(from);
9803}
9804
9805bool GetLogLevelResponse::IsInitialized() const {
9806 return true;
9807}
9808
9809void GetLogLevelResponse::Swap(GetLogLevelResponse* other) {
9810 if (other == this) return;
9811 InternalSwap(other);
9812}
9813void GetLogLevelResponse::InternalSwap(GetLogLevelResponse* other) {
9814 using std::swap;
9815 _internal_metadata_.Swap(&other->_internal_metadata_);
9816 CastToBase(&loglevels_)->InternalSwap(CastToBase(&other->loglevels_));
9817 reason_detail_.Swap(&other->reason_detail_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9818 GetArenaNoVirtual());
9819 swap(device_uuid_, other->device_uuid_);
9820 swap(status_, other->status_);
9821 swap(reason_, other->reason_);
9822}
9823
9824::google::protobuf::Metadata GetLogLevelResponse::GetMetadata() const {
9825 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
9826 return ::file_level_metadata_dmi_2fhw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
9827}
9828
9829
9830// ===================================================================
9831
9832void GetLoggableEntitiesRequest::InitAsDefaultInstance() {
9833 ::dmi::_GetLoggableEntitiesRequest_default_instance_._instance.get_mutable()->device_uuid_ = const_cast< ::dmi::Uuid*>(
9834 ::dmi::Uuid::internal_default_instance());
9835}
9836class GetLoggableEntitiesRequest::HasBitSetters {
9837 public:
9838 static const ::dmi::Uuid& device_uuid(const GetLoggableEntitiesRequest* msg);
9839};
9840
9841const ::dmi::Uuid&
9842GetLoggableEntitiesRequest::HasBitSetters::device_uuid(const GetLoggableEntitiesRequest* msg) {
9843 return *msg->device_uuid_;
9844}
9845void GetLoggableEntitiesRequest::clear_device_uuid() {
9846 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
9847 delete device_uuid_;
9848 }
9849 device_uuid_ = nullptr;
9850}
9851#if !defined(_MSC_VER) || _MSC_VER >= 1900
9852const int GetLoggableEntitiesRequest::kDeviceUuidFieldNumber;
9853#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
9854
9855GetLoggableEntitiesRequest::GetLoggableEntitiesRequest()
9856 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
9857 SharedCtor();
9858 // @@protoc_insertion_point(constructor:dmi.GetLoggableEntitiesRequest)
9859}
9860GetLoggableEntitiesRequest::GetLoggableEntitiesRequest(const GetLoggableEntitiesRequest& from)
9861 : ::google::protobuf::Message(),
9862 _internal_metadata_(nullptr) {
9863 _internal_metadata_.MergeFrom(from._internal_metadata_);
9864 if (from.has_device_uuid()) {
9865 device_uuid_ = new ::dmi::Uuid(*from.device_uuid_);
9866 } else {
9867 device_uuid_ = nullptr;
9868 }
9869 // @@protoc_insertion_point(copy_constructor:dmi.GetLoggableEntitiesRequest)
9870}
9871
9872void GetLoggableEntitiesRequest::SharedCtor() {
9873 ::google::protobuf::internal::InitSCC(
9874 &scc_info_GetLoggableEntitiesRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
9875 device_uuid_ = nullptr;
9876}
9877
9878GetLoggableEntitiesRequest::~GetLoggableEntitiesRequest() {
9879 // @@protoc_insertion_point(destructor:dmi.GetLoggableEntitiesRequest)
9880 SharedDtor();
9881}
9882
9883void GetLoggableEntitiesRequest::SharedDtor() {
9884 if (this != internal_default_instance()) delete device_uuid_;
9885}
9886
9887void GetLoggableEntitiesRequest::SetCachedSize(int size) const {
9888 _cached_size_.Set(size);
9889}
9890const GetLoggableEntitiesRequest& GetLoggableEntitiesRequest::default_instance() {
9891 ::google::protobuf::internal::InitSCC(&::scc_info_GetLoggableEntitiesRequest_dmi_2fhw_5fmanagement_5fservice_2eproto.base);
9892 return *internal_default_instance();
9893}
9894
9895
9896void GetLoggableEntitiesRequest::Clear() {
9897// @@protoc_insertion_point(message_clear_start:dmi.GetLoggableEntitiesRequest)
9898 ::google::protobuf::uint32 cached_has_bits = 0;
9899 // Prevent compiler warnings about cached_has_bits being unused
9900 (void) cached_has_bits;
9901
9902 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
9903 delete device_uuid_;
9904 }
9905 device_uuid_ = nullptr;
9906 _internal_metadata_.Clear();
9907}
9908
9909#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
9910const char* GetLoggableEntitiesRequest::_InternalParse(const char* begin, const char* end, void* object,
9911 ::google::protobuf::internal::ParseContext* ctx) {
9912 auto msg = static_cast<GetLoggableEntitiesRequest*>(object);
9913 ::google::protobuf::int32 size; (void)size;
9914 int depth; (void)depth;
9915 ::google::protobuf::uint32 tag;
9916 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
9917 auto ptr = begin;
9918 while (ptr < end) {
9919 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
9920 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
9921 switch (tag >> 3) {
9922 // .dmi.Uuid device_uuid = 1;
9923 case 1: {
9924 if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual;
9925 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
9926 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
9927 parser_till_end = ::dmi::Uuid::_InternalParse;
9928 object = msg->mutable_device_uuid();
9929 if (size > end - ptr) goto len_delim_till_end;
9930 ptr += size;
9931 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
9932 {parser_till_end, object}, ptr - size, ptr));
9933 break;
9934 }
9935 default: {
9936 handle_unusual:
9937 if ((tag & 7) == 4 || tag == 0) {
9938 ctx->EndGroup(tag);
9939 return ptr;
9940 }
9941 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
9942 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
9943 ptr = res.first;
9944 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
9945 if (res.second) return ptr;
9946 }
9947 } // switch
9948 } // while
9949 return ptr;
9950len_delim_till_end:
9951 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
9952 {parser_till_end, object}, size);
9953}
9954#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
9955bool GetLoggableEntitiesRequest::MergePartialFromCodedStream(
9956 ::google::protobuf::io::CodedInputStream* input) {
9957#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
9958 ::google::protobuf::uint32 tag;
9959 // @@protoc_insertion_point(parse_start:dmi.GetLoggableEntitiesRequest)
9960 for (;;) {
9961 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
9962 tag = p.first;
9963 if (!p.second) goto handle_unusual;
9964 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
9965 // .dmi.Uuid device_uuid = 1;
9966 case 1: {
9967 if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) {
9968 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
9969 input, mutable_device_uuid()));
9970 } else {
9971 goto handle_unusual;
9972 }
9973 break;
9974 }
9975
9976 default: {
9977 handle_unusual:
9978 if (tag == 0) {
9979 goto success;
9980 }
9981 DO_(::google::protobuf::internal::WireFormat::SkipField(
9982 input, tag, _internal_metadata_.mutable_unknown_fields()));
9983 break;
9984 }
9985 }
9986 }
9987success:
9988 // @@protoc_insertion_point(parse_success:dmi.GetLoggableEntitiesRequest)
9989 return true;
9990failure:
9991 // @@protoc_insertion_point(parse_failure:dmi.GetLoggableEntitiesRequest)
9992 return false;
9993#undef DO_
9994}
9995#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
9996
9997void GetLoggableEntitiesRequest::SerializeWithCachedSizes(
9998 ::google::protobuf::io::CodedOutputStream* output) const {
9999 // @@protoc_insertion_point(serialize_start:dmi.GetLoggableEntitiesRequest)
10000 ::google::protobuf::uint32 cached_has_bits = 0;
10001 (void) cached_has_bits;
10002
10003 // .dmi.Uuid device_uuid = 1;
10004 if (this->has_device_uuid()) {
10005 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
10006 1, HasBitSetters::device_uuid(this), output);
10007 }
10008
10009 if (_internal_metadata_.have_unknown_fields()) {
10010 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
10011 _internal_metadata_.unknown_fields(), output);
10012 }
10013 // @@protoc_insertion_point(serialize_end:dmi.GetLoggableEntitiesRequest)
10014}
10015
10016::google::protobuf::uint8* GetLoggableEntitiesRequest::InternalSerializeWithCachedSizesToArray(
10017 ::google::protobuf::uint8* target) const {
10018 // @@protoc_insertion_point(serialize_to_array_start:dmi.GetLoggableEntitiesRequest)
10019 ::google::protobuf::uint32 cached_has_bits = 0;
10020 (void) cached_has_bits;
10021
10022 // .dmi.Uuid device_uuid = 1;
10023 if (this->has_device_uuid()) {
10024 target = ::google::protobuf::internal::WireFormatLite::
10025 InternalWriteMessageToArray(
10026 1, HasBitSetters::device_uuid(this), target);
10027 }
10028
10029 if (_internal_metadata_.have_unknown_fields()) {
10030 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
10031 _internal_metadata_.unknown_fields(), target);
10032 }
10033 // @@protoc_insertion_point(serialize_to_array_end:dmi.GetLoggableEntitiesRequest)
10034 return target;
10035}
10036
10037size_t GetLoggableEntitiesRequest::ByteSizeLong() const {
10038// @@protoc_insertion_point(message_byte_size_start:dmi.GetLoggableEntitiesRequest)
10039 size_t total_size = 0;
10040
10041 if (_internal_metadata_.have_unknown_fields()) {
10042 total_size +=
10043 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
10044 _internal_metadata_.unknown_fields());
10045 }
10046 ::google::protobuf::uint32 cached_has_bits = 0;
10047 // Prevent compiler warnings about cached_has_bits being unused
10048 (void) cached_has_bits;
10049
10050 // .dmi.Uuid device_uuid = 1;
10051 if (this->has_device_uuid()) {
10052 total_size += 1 +
10053 ::google::protobuf::internal::WireFormatLite::MessageSize(
10054 *device_uuid_);
10055 }
10056
10057 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
10058 SetCachedSize(cached_size);
10059 return total_size;
10060}
10061
10062void GetLoggableEntitiesRequest::MergeFrom(const ::google::protobuf::Message& from) {
10063// @@protoc_insertion_point(generalized_merge_from_start:dmi.GetLoggableEntitiesRequest)
10064 GOOGLE_DCHECK_NE(&from, this);
10065 const GetLoggableEntitiesRequest* source =
10066 ::google::protobuf::DynamicCastToGenerated<GetLoggableEntitiesRequest>(
10067 &from);
10068 if (source == nullptr) {
10069 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.GetLoggableEntitiesRequest)
10070 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
10071 } else {
10072 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.GetLoggableEntitiesRequest)
10073 MergeFrom(*source);
10074 }
10075}
10076
10077void GetLoggableEntitiesRequest::MergeFrom(const GetLoggableEntitiesRequest& from) {
10078// @@protoc_insertion_point(class_specific_merge_from_start:dmi.GetLoggableEntitiesRequest)
10079 GOOGLE_DCHECK_NE(&from, this);
10080 _internal_metadata_.MergeFrom(from._internal_metadata_);
10081 ::google::protobuf::uint32 cached_has_bits = 0;
10082 (void) cached_has_bits;
10083
10084 if (from.has_device_uuid()) {
10085 mutable_device_uuid()->::dmi::Uuid::MergeFrom(from.device_uuid());
10086 }
10087}
10088
10089void GetLoggableEntitiesRequest::CopyFrom(const ::google::protobuf::Message& from) {
10090// @@protoc_insertion_point(generalized_copy_from_start:dmi.GetLoggableEntitiesRequest)
10091 if (&from == this) return;
10092 Clear();
10093 MergeFrom(from);
10094}
10095
10096void GetLoggableEntitiesRequest::CopyFrom(const GetLoggableEntitiesRequest& from) {
10097// @@protoc_insertion_point(class_specific_copy_from_start:dmi.GetLoggableEntitiesRequest)
10098 if (&from == this) return;
10099 Clear();
10100 MergeFrom(from);
10101}
10102
10103bool GetLoggableEntitiesRequest::IsInitialized() const {
10104 return true;
10105}
10106
10107void GetLoggableEntitiesRequest::Swap(GetLoggableEntitiesRequest* other) {
10108 if (other == this) return;
10109 InternalSwap(other);
10110}
10111void GetLoggableEntitiesRequest::InternalSwap(GetLoggableEntitiesRequest* other) {
10112 using std::swap;
10113 _internal_metadata_.Swap(&other->_internal_metadata_);
10114 swap(device_uuid_, other->device_uuid_);
10115}
10116
10117::google::protobuf::Metadata GetLoggableEntitiesRequest::GetMetadata() const {
10118 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fhw_5fmanagement_5fservice_2eproto);
10119 return ::file_level_metadata_dmi_2fhw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
10120}
10121
10122
10123// @@protoc_insertion_point(namespace_scope)
10124} // namespace dmi
10125namespace google {
10126namespace protobuf {
10127template<> PROTOBUF_NOINLINE ::dmi::PhysicalInventoryRequest* Arena::CreateMaybeMessage< ::dmi::PhysicalInventoryRequest >(Arena* arena) {
10128 return Arena::CreateInternal< ::dmi::PhysicalInventoryRequest >(arena);
10129}
10130template<> PROTOBUF_NOINLINE ::dmi::PhysicalInventoryResponse* Arena::CreateMaybeMessage< ::dmi::PhysicalInventoryResponse >(Arena* arena) {
10131 return Arena::CreateInternal< ::dmi::PhysicalInventoryResponse >(arena);
10132}
10133template<> PROTOBUF_NOINLINE ::dmi::HWComponentInfoGetRequest* Arena::CreateMaybeMessage< ::dmi::HWComponentInfoGetRequest >(Arena* arena) {
10134 return Arena::CreateInternal< ::dmi::HWComponentInfoGetRequest >(arena);
10135}
10136template<> PROTOBUF_NOINLINE ::dmi::HWComponentInfoGetResponse* Arena::CreateMaybeMessage< ::dmi::HWComponentInfoGetResponse >(Arena* arena) {
10137 return Arena::CreateInternal< ::dmi::HWComponentInfoGetResponse >(arena);
10138}
10139template<> PROTOBUF_NOINLINE ::dmi::HWComponentInfoSetRequest* Arena::CreateMaybeMessage< ::dmi::HWComponentInfoSetRequest >(Arena* arena) {
10140 return Arena::CreateInternal< ::dmi::HWComponentInfoSetRequest >(arena);
10141}
10142template<> PROTOBUF_NOINLINE ::dmi::HWComponentInfoSetResponse* Arena::CreateMaybeMessage< ::dmi::HWComponentInfoSetResponse >(Arena* arena) {
10143 return Arena::CreateInternal< ::dmi::HWComponentInfoSetResponse >(arena);
10144}
10145template<> PROTOBUF_NOINLINE ::dmi::StartManagingDeviceResponse* Arena::CreateMaybeMessage< ::dmi::StartManagingDeviceResponse >(Arena* arena) {
10146 return Arena::CreateInternal< ::dmi::StartManagingDeviceResponse >(arena);
10147}
10148template<> PROTOBUF_NOINLINE ::dmi::StopManagingDeviceRequest* Arena::CreateMaybeMessage< ::dmi::StopManagingDeviceRequest >(Arena* arena) {
10149 return Arena::CreateInternal< ::dmi::StopManagingDeviceRequest >(arena);
10150}
10151template<> PROTOBUF_NOINLINE ::dmi::StopManagingDeviceResponse* Arena::CreateMaybeMessage< ::dmi::StopManagingDeviceResponse >(Arena* arena) {
10152 return Arena::CreateInternal< ::dmi::StopManagingDeviceResponse >(arena);
10153}
10154template<> PROTOBUF_NOINLINE ::dmi::ManagedDeviceInfo* Arena::CreateMaybeMessage< ::dmi::ManagedDeviceInfo >(Arena* arena) {
10155 return Arena::CreateInternal< ::dmi::ManagedDeviceInfo >(arena);
10156}
10157template<> PROTOBUF_NOINLINE ::dmi::ManagedDevicesResponse* Arena::CreateMaybeMessage< ::dmi::ManagedDevicesResponse >(Arena* arena) {
10158 return Arena::CreateInternal< ::dmi::ManagedDevicesResponse >(arena);
10159}
10160template<> PROTOBUF_NOINLINE ::dmi::SetLoggingEndpointRequest* Arena::CreateMaybeMessage< ::dmi::SetLoggingEndpointRequest >(Arena* arena) {
10161 return Arena::CreateInternal< ::dmi::SetLoggingEndpointRequest >(arena);
10162}
10163template<> PROTOBUF_NOINLINE ::dmi::SetRemoteEndpointResponse* Arena::CreateMaybeMessage< ::dmi::SetRemoteEndpointResponse >(Arena* arena) {
10164 return Arena::CreateInternal< ::dmi::SetRemoteEndpointResponse >(arena);
10165}
10166template<> PROTOBUF_NOINLINE ::dmi::GetLoggingEndpointResponse* Arena::CreateMaybeMessage< ::dmi::GetLoggingEndpointResponse >(Arena* arena) {
10167 return Arena::CreateInternal< ::dmi::GetLoggingEndpointResponse >(arena);
10168}
10169template<> PROTOBUF_NOINLINE ::dmi::SetMsgBusEndpointRequest* Arena::CreateMaybeMessage< ::dmi::SetMsgBusEndpointRequest >(Arena* arena) {
10170 return Arena::CreateInternal< ::dmi::SetMsgBusEndpointRequest >(arena);
10171}
10172template<> PROTOBUF_NOINLINE ::dmi::GetMsgBusEndpointResponse* Arena::CreateMaybeMessage< ::dmi::GetMsgBusEndpointResponse >(Arena* arena) {
10173 return Arena::CreateInternal< ::dmi::GetMsgBusEndpointResponse >(arena);
10174}
10175template<> PROTOBUF_NOINLINE ::dmi::EntitiesLogLevel* Arena::CreateMaybeMessage< ::dmi::EntitiesLogLevel >(Arena* arena) {
10176 return Arena::CreateInternal< ::dmi::EntitiesLogLevel >(arena);
10177}
10178template<> PROTOBUF_NOINLINE ::dmi::SetLogLevelRequest* Arena::CreateMaybeMessage< ::dmi::SetLogLevelRequest >(Arena* arena) {
10179 return Arena::CreateInternal< ::dmi::SetLogLevelRequest >(arena);
10180}
10181template<> PROTOBUF_NOINLINE ::dmi::SetLogLevelResponse* Arena::CreateMaybeMessage< ::dmi::SetLogLevelResponse >(Arena* arena) {
10182 return Arena::CreateInternal< ::dmi::SetLogLevelResponse >(arena);
10183}
10184template<> PROTOBUF_NOINLINE ::dmi::GetLogLevelRequest* Arena::CreateMaybeMessage< ::dmi::GetLogLevelRequest >(Arena* arena) {
10185 return Arena::CreateInternal< ::dmi::GetLogLevelRequest >(arena);
10186}
10187template<> PROTOBUF_NOINLINE ::dmi::GetLogLevelResponse* Arena::CreateMaybeMessage< ::dmi::GetLogLevelResponse >(Arena* arena) {
10188 return Arena::CreateInternal< ::dmi::GetLogLevelResponse >(arena);
10189}
10190template<> PROTOBUF_NOINLINE ::dmi::GetLoggableEntitiesRequest* Arena::CreateMaybeMessage< ::dmi::GetLoggableEntitiesRequest >(Arena* arena) {
10191 return Arena::CreateInternal< ::dmi::GetLoggableEntitiesRequest >(arena);
10192}
10193} // namespace protobuf
10194} // namespace google
10195
10196// @@protoc_insertion_point(global_scope)
10197#include <google/protobuf/port_undef.inc>