blob: ccb3774117fc0bc67e151e283015fcbe78d9bb69 [file] [log] [blame]
Shivanagouda Malaginahalli335fe4d2021-03-31 16:52:28 +05301// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: dmi/sw_management_service.proto
3
4#include "dmi/sw_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_2fsw_5fimage_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ImageVersion_dmi_2fsw_5fimage_2eproto;
21extern PROTOBUF_INTERNAL_EXPORT_dmi_2fsw_5fimage_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ImageInformation_dmi_2fsw_5fimage_2eproto;
22extern PROTOBUF_INTERNAL_EXPORT_dmi_2fsw_5fmanagement_5fservice_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_SoftwareVersionInformation_dmi_2fsw_5fmanagement_5fservice_2eproto;
23namespace dmi {
24class SoftwareVersionInformationDefaultTypeInternal {
25 public:
26 ::google::protobuf::internal::ExplicitlyConstructed<SoftwareVersionInformation> _instance;
27} _SoftwareVersionInformation_default_instance_;
28class GetSoftwareVersionInformationResponseDefaultTypeInternal {
29 public:
30 ::google::protobuf::internal::ExplicitlyConstructed<GetSoftwareVersionInformationResponse> _instance;
31} _GetSoftwareVersionInformationResponse_default_instance_;
32class DownloadImageRequestDefaultTypeInternal {
33 public:
34 ::google::protobuf::internal::ExplicitlyConstructed<DownloadImageRequest> _instance;
35} _DownloadImageRequest_default_instance_;
36class ConfigRequestDefaultTypeInternal {
37 public:
38 ::google::protobuf::internal::ExplicitlyConstructed<ConfigRequest> _instance;
39} _ConfigRequest_default_instance_;
40class ConfigResponseDefaultTypeInternal {
41 public:
42 ::google::protobuf::internal::ExplicitlyConstructed<ConfigResponse> _instance;
43} _ConfigResponse_default_instance_;
44class StartupConfigInfoRequestDefaultTypeInternal {
45 public:
46 ::google::protobuf::internal::ExplicitlyConstructed<StartupConfigInfoRequest> _instance;
47} _StartupConfigInfoRequest_default_instance_;
48class StartupConfigInfoResponseDefaultTypeInternal {
49 public:
50 ::google::protobuf::internal::ExplicitlyConstructed<StartupConfigInfoResponse> _instance;
51} _StartupConfigInfoResponse_default_instance_;
amit.ghosh5a689802022-09-12 14:26:10 +020052class UploadDebugInfoRequestDefaultTypeInternal {
53 public:
54 ::google::protobuf::internal::ExplicitlyConstructed<UploadDebugInfoRequest> _instance;
55} _UploadDebugInfoRequest_default_instance_;
56class UploadDebugInfoStatusDefaultTypeInternal {
57 public:
58 ::google::protobuf::internal::ExplicitlyConstructed<UploadDebugInfoStatus> _instance;
59} _UploadDebugInfoStatus_default_instance_;
Shivanagouda Malaginahalli335fe4d2021-03-31 16:52:28 +053060} // namespace dmi
61static void InitDefaultsSoftwareVersionInformation_dmi_2fsw_5fmanagement_5fservice_2eproto() {
62 GOOGLE_PROTOBUF_VERIFY_VERSION;
63
64 {
65 void* ptr = &::dmi::_SoftwareVersionInformation_default_instance_;
66 new (ptr) ::dmi::SoftwareVersionInformation();
67 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
68 }
69 ::dmi::SoftwareVersionInformation::InitAsDefaultInstance();
70}
71
72::google::protobuf::internal::SCCInfo<1> scc_info_SoftwareVersionInformation_dmi_2fsw_5fmanagement_5fservice_2eproto =
73 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSoftwareVersionInformation_dmi_2fsw_5fmanagement_5fservice_2eproto}, {
74 &scc_info_ImageVersion_dmi_2fsw_5fimage_2eproto.base,}};
75
76static void InitDefaultsGetSoftwareVersionInformationResponse_dmi_2fsw_5fmanagement_5fservice_2eproto() {
77 GOOGLE_PROTOBUF_VERIFY_VERSION;
78
79 {
80 void* ptr = &::dmi::_GetSoftwareVersionInformationResponse_default_instance_;
81 new (ptr) ::dmi::GetSoftwareVersionInformationResponse();
82 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
83 }
84 ::dmi::GetSoftwareVersionInformationResponse::InitAsDefaultInstance();
85}
86
87::google::protobuf::internal::SCCInfo<1> scc_info_GetSoftwareVersionInformationResponse_dmi_2fsw_5fmanagement_5fservice_2eproto =
88 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetSoftwareVersionInformationResponse_dmi_2fsw_5fmanagement_5fservice_2eproto}, {
89 &scc_info_SoftwareVersionInformation_dmi_2fsw_5fmanagement_5fservice_2eproto.base,}};
90
91static void InitDefaultsDownloadImageRequest_dmi_2fsw_5fmanagement_5fservice_2eproto() {
92 GOOGLE_PROTOBUF_VERIFY_VERSION;
93
94 {
95 void* ptr = &::dmi::_DownloadImageRequest_default_instance_;
96 new (ptr) ::dmi::DownloadImageRequest();
97 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
98 }
99 ::dmi::DownloadImageRequest::InitAsDefaultInstance();
100}
101
102::google::protobuf::internal::SCCInfo<2> scc_info_DownloadImageRequest_dmi_2fsw_5fmanagement_5fservice_2eproto =
103 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsDownloadImageRequest_dmi_2fsw_5fmanagement_5fservice_2eproto}, {
104 &scc_info_Uuid_dmi_2fhw_2eproto.base,
105 &scc_info_ImageInformation_dmi_2fsw_5fimage_2eproto.base,}};
106
107static void InitDefaultsConfigRequest_dmi_2fsw_5fmanagement_5fservice_2eproto() {
108 GOOGLE_PROTOBUF_VERIFY_VERSION;
109
110 {
111 void* ptr = &::dmi::_ConfigRequest_default_instance_;
112 new (ptr) ::dmi::ConfigRequest();
113 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
114 }
115 ::dmi::ConfigRequest::InitAsDefaultInstance();
116}
117
118::google::protobuf::internal::SCCInfo<1> scc_info_ConfigRequest_dmi_2fsw_5fmanagement_5fservice_2eproto =
119 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsConfigRequest_dmi_2fsw_5fmanagement_5fservice_2eproto}, {
120 &scc_info_Uuid_dmi_2fhw_2eproto.base,}};
121
122static void InitDefaultsConfigResponse_dmi_2fsw_5fmanagement_5fservice_2eproto() {
123 GOOGLE_PROTOBUF_VERIFY_VERSION;
124
125 {
126 void* ptr = &::dmi::_ConfigResponse_default_instance_;
127 new (ptr) ::dmi::ConfigResponse();
128 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
129 }
130 ::dmi::ConfigResponse::InitAsDefaultInstance();
131}
132
133::google::protobuf::internal::SCCInfo<0> scc_info_ConfigResponse_dmi_2fsw_5fmanagement_5fservice_2eproto =
134 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsConfigResponse_dmi_2fsw_5fmanagement_5fservice_2eproto}, {}};
135
136static void InitDefaultsStartupConfigInfoRequest_dmi_2fsw_5fmanagement_5fservice_2eproto() {
137 GOOGLE_PROTOBUF_VERIFY_VERSION;
138
139 {
140 void* ptr = &::dmi::_StartupConfigInfoRequest_default_instance_;
141 new (ptr) ::dmi::StartupConfigInfoRequest();
142 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
143 }
144 ::dmi::StartupConfigInfoRequest::InitAsDefaultInstance();
145}
146
147::google::protobuf::internal::SCCInfo<1> scc_info_StartupConfigInfoRequest_dmi_2fsw_5fmanagement_5fservice_2eproto =
148 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsStartupConfigInfoRequest_dmi_2fsw_5fmanagement_5fservice_2eproto}, {
149 &scc_info_Uuid_dmi_2fhw_2eproto.base,}};
150
151static void InitDefaultsStartupConfigInfoResponse_dmi_2fsw_5fmanagement_5fservice_2eproto() {
152 GOOGLE_PROTOBUF_VERIFY_VERSION;
153
154 {
155 void* ptr = &::dmi::_StartupConfigInfoResponse_default_instance_;
156 new (ptr) ::dmi::StartupConfigInfoResponse();
157 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
158 }
159 ::dmi::StartupConfigInfoResponse::InitAsDefaultInstance();
160}
161
162::google::protobuf::internal::SCCInfo<0> scc_info_StartupConfigInfoResponse_dmi_2fsw_5fmanagement_5fservice_2eproto =
163 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsStartupConfigInfoResponse_dmi_2fsw_5fmanagement_5fservice_2eproto}, {}};
164
amit.ghosh5a689802022-09-12 14:26:10 +0200165static void InitDefaultsUploadDebugInfoRequest_dmi_2fsw_5fmanagement_5fservice_2eproto() {
166 GOOGLE_PROTOBUF_VERIFY_VERSION;
167
168 {
169 void* ptr = &::dmi::_UploadDebugInfoRequest_default_instance_;
170 new (ptr) ::dmi::UploadDebugInfoRequest();
171 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
172 }
173 ::dmi::UploadDebugInfoRequest::InitAsDefaultInstance();
174}
175
176::google::protobuf::internal::SCCInfo<1> scc_info_UploadDebugInfoRequest_dmi_2fsw_5fmanagement_5fservice_2eproto =
177 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsUploadDebugInfoRequest_dmi_2fsw_5fmanagement_5fservice_2eproto}, {
178 &scc_info_Uuid_dmi_2fhw_2eproto.base,}};
179
180static void InitDefaultsUploadDebugInfoStatus_dmi_2fsw_5fmanagement_5fservice_2eproto() {
181 GOOGLE_PROTOBUF_VERIFY_VERSION;
182
183 {
184 void* ptr = &::dmi::_UploadDebugInfoStatus_default_instance_;
185 new (ptr) ::dmi::UploadDebugInfoStatus();
186 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
187 }
188 ::dmi::UploadDebugInfoStatus::InitAsDefaultInstance();
189}
190
191::google::protobuf::internal::SCCInfo<1> scc_info_UploadDebugInfoStatus_dmi_2fsw_5fmanagement_5fservice_2eproto =
192 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsUploadDebugInfoStatus_dmi_2fsw_5fmanagement_5fservice_2eproto}, {
193 &scc_info_Uuid_dmi_2fhw_2eproto.base,}};
194
Shivanagouda Malaginahalli335fe4d2021-03-31 16:52:28 +0530195void InitDefaults_dmi_2fsw_5fmanagement_5fservice_2eproto() {
196 ::google::protobuf::internal::InitSCC(&scc_info_SoftwareVersionInformation_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
197 ::google::protobuf::internal::InitSCC(&scc_info_GetSoftwareVersionInformationResponse_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
198 ::google::protobuf::internal::InitSCC(&scc_info_DownloadImageRequest_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
199 ::google::protobuf::internal::InitSCC(&scc_info_ConfigRequest_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
200 ::google::protobuf::internal::InitSCC(&scc_info_ConfigResponse_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
201 ::google::protobuf::internal::InitSCC(&scc_info_StartupConfigInfoRequest_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
202 ::google::protobuf::internal::InitSCC(&scc_info_StartupConfigInfoResponse_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
amit.ghosh5a689802022-09-12 14:26:10 +0200203 ::google::protobuf::internal::InitSCC(&scc_info_UploadDebugInfoRequest_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
204 ::google::protobuf::internal::InitSCC(&scc_info_UploadDebugInfoStatus_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
Shivanagouda Malaginahalli335fe4d2021-03-31 16:52:28 +0530205}
206
amit.ghosh5a689802022-09-12 14:26:10 +0200207::google::protobuf::Metadata file_level_metadata_dmi_2fsw_5fmanagement_5fservice_2eproto[9];
208const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_dmi_2fsw_5fmanagement_5fservice_2eproto[5];
Shivanagouda Malaginahalli335fe4d2021-03-31 16:52:28 +0530209constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_dmi_2fsw_5fmanagement_5fservice_2eproto = nullptr;
210
211const ::google::protobuf::uint32 TableStruct_dmi_2fsw_5fmanagement_5fservice_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
212 ~0u, // no _has_bits_
213 PROTOBUF_FIELD_OFFSET(::dmi::SoftwareVersionInformation, _internal_metadata_),
214 ~0u, // no _extensions_
215 ~0u, // no _oneof_case_
216 ~0u, // no _weak_field_map_
217 PROTOBUF_FIELD_OFFSET(::dmi::SoftwareVersionInformation, active_versions_),
218 PROTOBUF_FIELD_OFFSET(::dmi::SoftwareVersionInformation, standby_versions_),
219 ~0u, // no _has_bits_
220 PROTOBUF_FIELD_OFFSET(::dmi::GetSoftwareVersionInformationResponse, _internal_metadata_),
221 ~0u, // no _extensions_
222 ~0u, // no _oneof_case_
223 ~0u, // no _weak_field_map_
224 PROTOBUF_FIELD_OFFSET(::dmi::GetSoftwareVersionInformationResponse, status_),
225 PROTOBUF_FIELD_OFFSET(::dmi::GetSoftwareVersionInformationResponse, reason_),
226 PROTOBUF_FIELD_OFFSET(::dmi::GetSoftwareVersionInformationResponse, info_),
227 PROTOBUF_FIELD_OFFSET(::dmi::GetSoftwareVersionInformationResponse, reason_detail_),
228 ~0u, // no _has_bits_
229 PROTOBUF_FIELD_OFFSET(::dmi::DownloadImageRequest, _internal_metadata_),
230 ~0u, // no _extensions_
231 ~0u, // no _oneof_case_
232 ~0u, // no _weak_field_map_
233 PROTOBUF_FIELD_OFFSET(::dmi::DownloadImageRequest, device_uuid_),
234 PROTOBUF_FIELD_OFFSET(::dmi::DownloadImageRequest, image_info_),
235 ~0u, // no _has_bits_
236 PROTOBUF_FIELD_OFFSET(::dmi::ConfigRequest, _internal_metadata_),
237 ~0u, // no _extensions_
238 ~0u, // no _oneof_case_
239 ~0u, // no _weak_field_map_
240 PROTOBUF_FIELD_OFFSET(::dmi::ConfigRequest, device_uuid_),
241 PROTOBUF_FIELD_OFFSET(::dmi::ConfigRequest, config_url_),
242 ~0u, // no _has_bits_
243 PROTOBUF_FIELD_OFFSET(::dmi::ConfigResponse, _internal_metadata_),
244 ~0u, // no _extensions_
245 ~0u, // no _oneof_case_
246 ~0u, // no _weak_field_map_
247 PROTOBUF_FIELD_OFFSET(::dmi::ConfigResponse, status_),
248 PROTOBUF_FIELD_OFFSET(::dmi::ConfigResponse, reason_),
249 PROTOBUF_FIELD_OFFSET(::dmi::ConfigResponse, reason_detail_),
250 ~0u, // no _has_bits_
251 PROTOBUF_FIELD_OFFSET(::dmi::StartupConfigInfoRequest, _internal_metadata_),
252 ~0u, // no _extensions_
253 ~0u, // no _oneof_case_
254 ~0u, // no _weak_field_map_
255 PROTOBUF_FIELD_OFFSET(::dmi::StartupConfigInfoRequest, device_uuid_),
256 ~0u, // no _has_bits_
257 PROTOBUF_FIELD_OFFSET(::dmi::StartupConfigInfoResponse, _internal_metadata_),
258 ~0u, // no _extensions_
259 ~0u, // no _oneof_case_
260 ~0u, // no _weak_field_map_
261 PROTOBUF_FIELD_OFFSET(::dmi::StartupConfigInfoResponse, status_),
262 PROTOBUF_FIELD_OFFSET(::dmi::StartupConfigInfoResponse, reason_),
263 PROTOBUF_FIELD_OFFSET(::dmi::StartupConfigInfoResponse, config_url_),
264 PROTOBUF_FIELD_OFFSET(::dmi::StartupConfigInfoResponse, version_),
265 PROTOBUF_FIELD_OFFSET(::dmi::StartupConfigInfoResponse, reason_detail_),
amit.ghosh5a689802022-09-12 14:26:10 +0200266 ~0u, // no _has_bits_
267 PROTOBUF_FIELD_OFFSET(::dmi::UploadDebugInfoRequest, _internal_metadata_),
268 ~0u, // no _extensions_
269 ~0u, // no _oneof_case_
270 ~0u, // no _weak_field_map_
271 PROTOBUF_FIELD_OFFSET(::dmi::UploadDebugInfoRequest, device_uuid_),
272 PROTOBUF_FIELD_OFFSET(::dmi::UploadDebugInfoRequest, location_url_),
273 ~0u, // no _has_bits_
274 PROTOBUF_FIELD_OFFSET(::dmi::UploadDebugInfoStatus, _internal_metadata_),
275 ~0u, // no _extensions_
276 ~0u, // no _oneof_case_
277 ~0u, // no _weak_field_map_
278 PROTOBUF_FIELD_OFFSET(::dmi::UploadDebugInfoStatus, device_uuid_),
279 PROTOBUF_FIELD_OFFSET(::dmi::UploadDebugInfoStatus, status_),
280 PROTOBUF_FIELD_OFFSET(::dmi::UploadDebugInfoStatus, percent_uploaded_),
281 PROTOBUF_FIELD_OFFSET(::dmi::UploadDebugInfoStatus, reason_),
282 PROTOBUF_FIELD_OFFSET(::dmi::UploadDebugInfoStatus, location_url_),
283 PROTOBUF_FIELD_OFFSET(::dmi::UploadDebugInfoStatus, file_name_),
Shivanagouda Malaginahalli335fe4d2021-03-31 16:52:28 +0530284};
285static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
286 { 0, -1, sizeof(::dmi::SoftwareVersionInformation)},
287 { 7, -1, sizeof(::dmi::GetSoftwareVersionInformationResponse)},
288 { 16, -1, sizeof(::dmi::DownloadImageRequest)},
289 { 23, -1, sizeof(::dmi::ConfigRequest)},
290 { 30, -1, sizeof(::dmi::ConfigResponse)},
291 { 38, -1, sizeof(::dmi::StartupConfigInfoRequest)},
292 { 44, -1, sizeof(::dmi::StartupConfigInfoResponse)},
amit.ghosh5a689802022-09-12 14:26:10 +0200293 { 54, -1, sizeof(::dmi::UploadDebugInfoRequest)},
294 { 61, -1, sizeof(::dmi::UploadDebugInfoStatus)},
Shivanagouda Malaginahalli335fe4d2021-03-31 16:52:28 +0530295};
296
297static ::google::protobuf::Message const * const file_default_instances[] = {
298 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_SoftwareVersionInformation_default_instance_),
299 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_GetSoftwareVersionInformationResponse_default_instance_),
300 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_DownloadImageRequest_default_instance_),
301 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_ConfigRequest_default_instance_),
302 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_ConfigResponse_default_instance_),
303 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_StartupConfigInfoRequest_default_instance_),
304 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_StartupConfigInfoResponse_default_instance_),
amit.ghosh5a689802022-09-12 14:26:10 +0200305 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_UploadDebugInfoRequest_default_instance_),
306 reinterpret_cast<const ::google::protobuf::Message*>(&::dmi::_UploadDebugInfoStatus_default_instance_),
Shivanagouda Malaginahalli335fe4d2021-03-31 16:52:28 +0530307};
308
309::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_dmi_2fsw_5fmanagement_5fservice_2eproto = {
310 {}, AddDescriptors_dmi_2fsw_5fmanagement_5fservice_2eproto, "dmi/sw_management_service.proto", schemas,
311 file_default_instances, TableStruct_dmi_2fsw_5fmanagement_5fservice_2eproto::offsets,
amit.ghosh5a689802022-09-12 14:26:10 +0200312 file_level_metadata_dmi_2fsw_5fmanagement_5fservice_2eproto, 9, file_level_enum_descriptors_dmi_2fsw_5fmanagement_5fservice_2eproto, file_level_service_descriptors_dmi_2fsw_5fmanagement_5fservice_2eproto,
Shivanagouda Malaginahalli335fe4d2021-03-31 16:52:28 +0530313};
314
315const char descriptor_table_protodef_dmi_2fsw_5fmanagement_5fservice_2eproto[] =
316 "\n\037dmi/sw_management_service.proto\022\003dmi\032\021"
317 "dmi/commons.proto\032\014dmi/hw.proto\032\022dmi/sw_"
318 "image.proto\"u\n\032SoftwareVersionInformatio"
319 "n\022*\n\017active_versions\030\001 \003(\0132\021.dmi.ImageVe"
320 "rsion\022+\n\020standby_versions\030\002 \003(\0132\021.dmi.Im"
321 "ageVersion\"\255\002\n%GetSoftwareVersionInforma"
322 "tionResponse\022\033\n\006status\030\001 \001(\0162\013.dmi.Statu"
323 "s\022A\n\006reason\030\002 \001(\01621.dmi.GetSoftwareVersi"
324 "onInformationResponse.Reason\022-\n\004info\030\003 \001"
325 "(\0132\037.dmi.SoftwareVersionInformation\022\025\n\rr"
326 "eason_detail\030\004 \001(\t\"^\n\006Reason\022\024\n\020UNDEFINE"
327 "D_REASON\020\000\022\022\n\016UNKNOWN_DEVICE\020\001\022\022\n\016INTERN"
328 "AL_ERROR\020\002\022\026\n\022DEVICE_UNREACHABLE\020\003\"a\n\024Do"
329 "wnloadImageRequest\022\036\n\013device_uuid\030\001 \001(\0132"
330 "\t.dmi.Uuid\022)\n\nimage_info\030\002 \001(\0132\025.dmi.Ima"
331 "geInformation\"C\n\rConfigRequest\022\036\n\013device"
332 "_uuid\030\001 \001(\0132\t.dmi.Uuid\022\022\n\nconfig_url\030\002 \001"
333 "(\t\"\243\002\n\016ConfigResponse\022\033\n\006status\030\001 \001(\0162\013."
334 "dmi.Status\022*\n\006reason\030\002 \001(\0162\032.dmi.ConfigR"
335 "esponse.Reason\022\025\n\rreason_detail\030\003 \001(\t\"\260\001"
336 "\n\006Reason\022\024\n\020UNDEFINED_REASON\020\000\022\022\n\016UNKNOW"
337 "N_DEVICE\020\001\022\022\n\016INTERNAL_ERROR\020\002\022\031\n\025ERROR_"
338 "FETCHING_CONFIG\020\003\022\022\n\016INVALID_CONFIG\020\004\022!\n"
339 "\035OPERATION_ALREADY_IN_PROGRESS\020\005\022\026\n\022DEVI"
340 "CE_UNREACHABLE\020\006\":\n\030StartupConfigInfoReq"
341 "uest\022\036\n\013device_uuid\030\001 \001(\0132\t.dmi.Uuid\"\213\002\n"
342 "\031StartupConfigInfoResponse\022\033\n\006status\030\001 \001"
343 "(\0162\013.dmi.Status\0225\n\006reason\030\002 \001(\0162%.dmi.St"
344 "artupConfigInfoResponse.Reason\022\022\n\nconfig"
345 "_url\030\003 \001(\t\022\017\n\007version\030\004 \001(\t\022\025\n\rreason_de"
346 "tail\030\005 \001(\t\"^\n\006Reason\022\024\n\020UNDEFINED_REASON"
347 "\020\000\022\022\n\016UNKNOWN_DEVICE\020\001\022\022\n\016INTERNAL_ERROR"
amit.ghosh5a689802022-09-12 14:26:10 +0200348 "\020\002\022\026\n\022DEVICE_UNREACHABLE\020\003\"N\n\026UploadDebu"
349 "gInfoRequest\022\036\n\013device_uuid\030\001 \001(\0132\t.dmi."
amit.ghoshdfd5d7e2023-03-14 21:14:33 +0100350 "Uuid\022\024\n\014location_url\030\003 \001(\t\"\346\004\n\025UploadDeb"
amit.ghosh5a689802022-09-12 14:26:10 +0200351 "ugInfoStatus\022\036\n\013device_uuid\030\001 \001(\0132\t.dmi."
352 "Uuid\0227\n\006status\030\002 \001(\0162\'.dmi.UploadDebugIn"
353 "foStatus.UploadStatus\022\030\n\020percent_uploade"
354 "d\030\003 \001(\005\0221\n\006reason\030\004 \001(\0162!.dmi.UploadDebu"
355 "gInfoStatus.Reason\022\024\n\014location_url\030\005 \001(\t"
356 "\022\021\n\tfile_name\030\006 \001(\t\"U\n\014UploadStatus\022\033\n\027U"
357 "NDEFINED_UPLOAD_STATUS\020\000\022\014\n\010COMPLETE\020\001\022\017"
amit.ghoshdfd5d7e2023-03-14 21:14:33 +0100358 "\n\013IN_PROGRESS\020\002\022\t\n\005ERROR\020\003\"\246\002\n\006Reason\022\024\n"
amit.ghosh5a689802022-09-12 14:26:10 +0200359 "\020UNDEFINED_REASON\020\000\022\022\n\016UNKNOWN_DEVICE\020\001\022"
amit.ghoshdfd5d7e2023-03-14 21:14:33 +0100360 "\022\n\016INTERNAL_ERROR\020\002\022\030\n\024DEVICE_NOT_REACHA"
361 "BLE\020\003\022\037\n\033REMOTE_LOCATION_UNREACHABLE\020\004\022%"
362 "\n!REMOTE_LOCATION_PERMISSION_DENIED\020\005\022\027\n"
363 "\023ERROR_DURING_UPLOAD\020\006\022\017\n\013DEVICE_BUSY\020\007\022"
364 "\024\n\020ERROR_IN_REQUEST\020\010\022\031\n\025DEVICE_IN_WRONG"
365 "_STATE\020\t\022!\n\035OPERATION_ALREADY_IN_PROGRES"
366 "S\020\n2\234\004\n\037NativeSoftwareManagementService\022"
367 "Q\n\022GetSoftwareVersion\022\017.dmi.HardwareID\032*"
368 ".dmi.GetSoftwareVersionInformationRespon"
369 "se\022>\n\rDownloadImage\022\031.dmi.DownloadImageR"
370 "equest\032\020.dmi.ImageStatus0\001\0224\n\rActivateIm"
371 "age\022\017.dmi.HardwareID\032\020.dmi.ImageStatus0\001"
372 "\022;\n\024RevertToStandbyImage\022\017.dmi.HardwareI"
373 "D\032\020.dmi.ImageStatus0\001\022G\n\032UpdateStartupCo"
374 "nfiguration\022\022.dmi.ConfigRequest\032\023.dmi.Co"
375 "nfigResponse0\001\022\\\n\033GetStartupConfiguratio"
376 "nInfo\022\035.dmi.StartupConfigInfoRequest\032\036.d"
377 "mi.StartupConfigInfoResponse\022L\n\017UploadDe"
378 "bugInfo\022\033.dmi.UploadDebugInfoRequest\032\032.d"
379 "mi.UploadDebugInfoStatus0\001B;Z9github.com"
380 "/opencord/device-management-interface/v3"
381 "/go/dmib\006proto3"
Shivanagouda Malaginahalli335fe4d2021-03-31 16:52:28 +0530382 ;
383::google::protobuf::internal::DescriptorTable descriptor_table_dmi_2fsw_5fmanagement_5fservice_2eproto = {
384 false, InitDefaults_dmi_2fsw_5fmanagement_5fservice_2eproto,
385 descriptor_table_protodef_dmi_2fsw_5fmanagement_5fservice_2eproto,
amit.ghoshdfd5d7e2023-03-14 21:14:33 +0100386 "dmi/sw_management_service.proto", &assign_descriptors_table_dmi_2fsw_5fmanagement_5fservice_2eproto, 2615,
Shivanagouda Malaginahalli335fe4d2021-03-31 16:52:28 +0530387};
388
389void AddDescriptors_dmi_2fsw_5fmanagement_5fservice_2eproto() {
390 static constexpr ::google::protobuf::internal::InitFunc deps[3] =
391 {
392 ::AddDescriptors_dmi_2fcommons_2eproto,
393 ::AddDescriptors_dmi_2fhw_2eproto,
394 ::AddDescriptors_dmi_2fsw_5fimage_2eproto,
395 };
396 ::google::protobuf::internal::AddDescriptors(&descriptor_table_dmi_2fsw_5fmanagement_5fservice_2eproto, deps, 3);
397}
398
399// Force running AddDescriptors() at dynamic initialization time.
400static bool dynamic_init_dummy_dmi_2fsw_5fmanagement_5fservice_2eproto = []() { AddDescriptors_dmi_2fsw_5fmanagement_5fservice_2eproto(); return true; }();
401namespace dmi {
402const ::google::protobuf::EnumDescriptor* GetSoftwareVersionInformationResponse_Reason_descriptor() {
403 ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_dmi_2fsw_5fmanagement_5fservice_2eproto);
404 return file_level_enum_descriptors_dmi_2fsw_5fmanagement_5fservice_2eproto[0];
405}
406bool GetSoftwareVersionInformationResponse_Reason_IsValid(int value) {
407 switch (value) {
408 case 0:
409 case 1:
410 case 2:
411 case 3:
412 return true;
413 default:
414 return false;
415 }
416}
417
418#if !defined(_MSC_VER) || _MSC_VER >= 1900
419const GetSoftwareVersionInformationResponse_Reason GetSoftwareVersionInformationResponse::UNDEFINED_REASON;
420const GetSoftwareVersionInformationResponse_Reason GetSoftwareVersionInformationResponse::UNKNOWN_DEVICE;
421const GetSoftwareVersionInformationResponse_Reason GetSoftwareVersionInformationResponse::INTERNAL_ERROR;
422const GetSoftwareVersionInformationResponse_Reason GetSoftwareVersionInformationResponse::DEVICE_UNREACHABLE;
423const GetSoftwareVersionInformationResponse_Reason GetSoftwareVersionInformationResponse::Reason_MIN;
424const GetSoftwareVersionInformationResponse_Reason GetSoftwareVersionInformationResponse::Reason_MAX;
425const int GetSoftwareVersionInformationResponse::Reason_ARRAYSIZE;
426#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
427const ::google::protobuf::EnumDescriptor* ConfigResponse_Reason_descriptor() {
428 ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_dmi_2fsw_5fmanagement_5fservice_2eproto);
429 return file_level_enum_descriptors_dmi_2fsw_5fmanagement_5fservice_2eproto[1];
430}
431bool ConfigResponse_Reason_IsValid(int value) {
432 switch (value) {
433 case 0:
434 case 1:
435 case 2:
436 case 3:
437 case 4:
438 case 5:
439 case 6:
440 return true;
441 default:
442 return false;
443 }
444}
445
446#if !defined(_MSC_VER) || _MSC_VER >= 1900
447const ConfigResponse_Reason ConfigResponse::UNDEFINED_REASON;
448const ConfigResponse_Reason ConfigResponse::UNKNOWN_DEVICE;
449const ConfigResponse_Reason ConfigResponse::INTERNAL_ERROR;
450const ConfigResponse_Reason ConfigResponse::ERROR_FETCHING_CONFIG;
451const ConfigResponse_Reason ConfigResponse::INVALID_CONFIG;
452const ConfigResponse_Reason ConfigResponse::OPERATION_ALREADY_IN_PROGRESS;
453const ConfigResponse_Reason ConfigResponse::DEVICE_UNREACHABLE;
454const ConfigResponse_Reason ConfigResponse::Reason_MIN;
455const ConfigResponse_Reason ConfigResponse::Reason_MAX;
456const int ConfigResponse::Reason_ARRAYSIZE;
457#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
458const ::google::protobuf::EnumDescriptor* StartupConfigInfoResponse_Reason_descriptor() {
459 ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_dmi_2fsw_5fmanagement_5fservice_2eproto);
460 return file_level_enum_descriptors_dmi_2fsw_5fmanagement_5fservice_2eproto[2];
461}
462bool StartupConfigInfoResponse_Reason_IsValid(int value) {
463 switch (value) {
464 case 0:
465 case 1:
466 case 2:
467 case 3:
468 return true;
469 default:
470 return false;
471 }
472}
473
474#if !defined(_MSC_VER) || _MSC_VER >= 1900
475const StartupConfigInfoResponse_Reason StartupConfigInfoResponse::UNDEFINED_REASON;
476const StartupConfigInfoResponse_Reason StartupConfigInfoResponse::UNKNOWN_DEVICE;
477const StartupConfigInfoResponse_Reason StartupConfigInfoResponse::INTERNAL_ERROR;
478const StartupConfigInfoResponse_Reason StartupConfigInfoResponse::DEVICE_UNREACHABLE;
479const StartupConfigInfoResponse_Reason StartupConfigInfoResponse::Reason_MIN;
480const StartupConfigInfoResponse_Reason StartupConfigInfoResponse::Reason_MAX;
481const int StartupConfigInfoResponse::Reason_ARRAYSIZE;
482#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
amit.ghosh5a689802022-09-12 14:26:10 +0200483const ::google::protobuf::EnumDescriptor* UploadDebugInfoStatus_UploadStatus_descriptor() {
484 ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_dmi_2fsw_5fmanagement_5fservice_2eproto);
485 return file_level_enum_descriptors_dmi_2fsw_5fmanagement_5fservice_2eproto[3];
486}
487bool UploadDebugInfoStatus_UploadStatus_IsValid(int value) {
488 switch (value) {
489 case 0:
490 case 1:
491 case 2:
492 case 3:
493 return true;
494 default:
495 return false;
496 }
497}
498
499#if !defined(_MSC_VER) || _MSC_VER >= 1900
500const UploadDebugInfoStatus_UploadStatus UploadDebugInfoStatus::UNDEFINED_UPLOAD_STATUS;
501const UploadDebugInfoStatus_UploadStatus UploadDebugInfoStatus::COMPLETE;
502const UploadDebugInfoStatus_UploadStatus UploadDebugInfoStatus::IN_PROGRESS;
503const UploadDebugInfoStatus_UploadStatus UploadDebugInfoStatus::ERROR;
504const UploadDebugInfoStatus_UploadStatus UploadDebugInfoStatus::UploadStatus_MIN;
505const UploadDebugInfoStatus_UploadStatus UploadDebugInfoStatus::UploadStatus_MAX;
506const int UploadDebugInfoStatus::UploadStatus_ARRAYSIZE;
507#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
508const ::google::protobuf::EnumDescriptor* UploadDebugInfoStatus_Reason_descriptor() {
509 ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_dmi_2fsw_5fmanagement_5fservice_2eproto);
510 return file_level_enum_descriptors_dmi_2fsw_5fmanagement_5fservice_2eproto[4];
511}
512bool UploadDebugInfoStatus_Reason_IsValid(int value) {
513 switch (value) {
514 case 0:
515 case 1:
516 case 2:
517 case 3:
518 case 4:
519 case 5:
520 case 6:
amit.ghosh4d731da2023-03-07 14:32:00 +0100521 case 7:
amit.ghoshdfd5d7e2023-03-14 21:14:33 +0100522 case 8:
523 case 9:
524 case 10:
amit.ghosh5a689802022-09-12 14:26:10 +0200525 return true;
526 default:
527 return false;
528 }
529}
530
531#if !defined(_MSC_VER) || _MSC_VER >= 1900
532const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::UNDEFINED_REASON;
533const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::UNKNOWN_DEVICE;
534const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::INTERNAL_ERROR;
amit.ghoshdfd5d7e2023-03-14 21:14:33 +0100535const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::DEVICE_NOT_REACHABLE;
amit.ghosh5a689802022-09-12 14:26:10 +0200536const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::REMOTE_LOCATION_UNREACHABLE;
537const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::REMOTE_LOCATION_PERMISSION_DENIED;
538const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::ERROR_DURING_UPLOAD;
amit.ghosh4d731da2023-03-07 14:32:00 +0100539const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::DEVICE_BUSY;
amit.ghoshdfd5d7e2023-03-14 21:14:33 +0100540const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::ERROR_IN_REQUEST;
541const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::DEVICE_IN_WRONG_STATE;
542const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::OPERATION_ALREADY_IN_PROGRESS;
amit.ghosh5a689802022-09-12 14:26:10 +0200543const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::Reason_MIN;
544const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::Reason_MAX;
545const int UploadDebugInfoStatus::Reason_ARRAYSIZE;
546#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
Shivanagouda Malaginahalli335fe4d2021-03-31 16:52:28 +0530547
548// ===================================================================
549
550void SoftwareVersionInformation::InitAsDefaultInstance() {
551}
552class SoftwareVersionInformation::HasBitSetters {
553 public:
554};
555
556void SoftwareVersionInformation::clear_active_versions() {
557 active_versions_.Clear();
558}
559void SoftwareVersionInformation::clear_standby_versions() {
560 standby_versions_.Clear();
561}
562#if !defined(_MSC_VER) || _MSC_VER >= 1900
563const int SoftwareVersionInformation::kActiveVersionsFieldNumber;
564const int SoftwareVersionInformation::kStandbyVersionsFieldNumber;
565#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
566
567SoftwareVersionInformation::SoftwareVersionInformation()
568 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
569 SharedCtor();
570 // @@protoc_insertion_point(constructor:dmi.SoftwareVersionInformation)
571}
572SoftwareVersionInformation::SoftwareVersionInformation(const SoftwareVersionInformation& from)
573 : ::google::protobuf::Message(),
574 _internal_metadata_(nullptr),
575 active_versions_(from.active_versions_),
576 standby_versions_(from.standby_versions_) {
577 _internal_metadata_.MergeFrom(from._internal_metadata_);
578 // @@protoc_insertion_point(copy_constructor:dmi.SoftwareVersionInformation)
579}
580
581void SoftwareVersionInformation::SharedCtor() {
582 ::google::protobuf::internal::InitSCC(
583 &scc_info_SoftwareVersionInformation_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
584}
585
586SoftwareVersionInformation::~SoftwareVersionInformation() {
587 // @@protoc_insertion_point(destructor:dmi.SoftwareVersionInformation)
588 SharedDtor();
589}
590
591void SoftwareVersionInformation::SharedDtor() {
592}
593
594void SoftwareVersionInformation::SetCachedSize(int size) const {
595 _cached_size_.Set(size);
596}
597const SoftwareVersionInformation& SoftwareVersionInformation::default_instance() {
598 ::google::protobuf::internal::InitSCC(&::scc_info_SoftwareVersionInformation_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
599 return *internal_default_instance();
600}
601
602
603void SoftwareVersionInformation::Clear() {
604// @@protoc_insertion_point(message_clear_start:dmi.SoftwareVersionInformation)
605 ::google::protobuf::uint32 cached_has_bits = 0;
606 // Prevent compiler warnings about cached_has_bits being unused
607 (void) cached_has_bits;
608
609 active_versions_.Clear();
610 standby_versions_.Clear();
611 _internal_metadata_.Clear();
612}
613
614#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
615const char* SoftwareVersionInformation::_InternalParse(const char* begin, const char* end, void* object,
616 ::google::protobuf::internal::ParseContext* ctx) {
617 auto msg = static_cast<SoftwareVersionInformation*>(object);
618 ::google::protobuf::int32 size; (void)size;
619 int depth; (void)depth;
620 ::google::protobuf::uint32 tag;
621 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
622 auto ptr = begin;
623 while (ptr < end) {
624 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
625 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
626 switch (tag >> 3) {
627 // repeated .dmi.ImageVersion active_versions = 1;
628 case 1: {
629 if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual;
630 do {
631 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
632 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
633 parser_till_end = ::dmi::ImageVersion::_InternalParse;
634 object = msg->add_active_versions();
635 if (size > end - ptr) goto len_delim_till_end;
636 ptr += size;
637 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
638 {parser_till_end, object}, ptr - size, ptr));
639 if (ptr >= end) break;
640 } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1));
641 break;
642 }
643 // repeated .dmi.ImageVersion standby_versions = 2;
644 case 2: {
645 if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual;
646 do {
647 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
648 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
649 parser_till_end = ::dmi::ImageVersion::_InternalParse;
650 object = msg->add_standby_versions();
651 if (size > end - ptr) goto len_delim_till_end;
652 ptr += size;
653 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
654 {parser_till_end, object}, ptr - size, ptr));
655 if (ptr >= end) break;
656 } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 18 && (ptr += 1));
657 break;
658 }
659 default: {
660 handle_unusual:
661 if ((tag & 7) == 4 || tag == 0) {
662 ctx->EndGroup(tag);
663 return ptr;
664 }
665 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
666 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
667 ptr = res.first;
668 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
669 if (res.second) return ptr;
670 }
671 } // switch
672 } // while
673 return ptr;
674len_delim_till_end:
675 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
676 {parser_till_end, object}, size);
677}
678#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
679bool SoftwareVersionInformation::MergePartialFromCodedStream(
680 ::google::protobuf::io::CodedInputStream* input) {
681#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
682 ::google::protobuf::uint32 tag;
683 // @@protoc_insertion_point(parse_start:dmi.SoftwareVersionInformation)
684 for (;;) {
685 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
686 tag = p.first;
687 if (!p.second) goto handle_unusual;
688 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
689 // repeated .dmi.ImageVersion active_versions = 1;
690 case 1: {
691 if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) {
692 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
693 input, add_active_versions()));
694 } else {
695 goto handle_unusual;
696 }
697 break;
698 }
699
700 // repeated .dmi.ImageVersion standby_versions = 2;
701 case 2: {
702 if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) {
703 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
704 input, add_standby_versions()));
705 } else {
706 goto handle_unusual;
707 }
708 break;
709 }
710
711 default: {
712 handle_unusual:
713 if (tag == 0) {
714 goto success;
715 }
716 DO_(::google::protobuf::internal::WireFormat::SkipField(
717 input, tag, _internal_metadata_.mutable_unknown_fields()));
718 break;
719 }
720 }
721 }
722success:
723 // @@protoc_insertion_point(parse_success:dmi.SoftwareVersionInformation)
724 return true;
725failure:
726 // @@protoc_insertion_point(parse_failure:dmi.SoftwareVersionInformation)
727 return false;
728#undef DO_
729}
730#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
731
732void SoftwareVersionInformation::SerializeWithCachedSizes(
733 ::google::protobuf::io::CodedOutputStream* output) const {
734 // @@protoc_insertion_point(serialize_start:dmi.SoftwareVersionInformation)
735 ::google::protobuf::uint32 cached_has_bits = 0;
736 (void) cached_has_bits;
737
738 // repeated .dmi.ImageVersion active_versions = 1;
739 for (unsigned int i = 0,
740 n = static_cast<unsigned int>(this->active_versions_size()); i < n; i++) {
741 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
742 1,
743 this->active_versions(static_cast<int>(i)),
744 output);
745 }
746
747 // repeated .dmi.ImageVersion standby_versions = 2;
748 for (unsigned int i = 0,
749 n = static_cast<unsigned int>(this->standby_versions_size()); i < n; i++) {
750 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
751 2,
752 this->standby_versions(static_cast<int>(i)),
753 output);
754 }
755
756 if (_internal_metadata_.have_unknown_fields()) {
757 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
758 _internal_metadata_.unknown_fields(), output);
759 }
760 // @@protoc_insertion_point(serialize_end:dmi.SoftwareVersionInformation)
761}
762
763::google::protobuf::uint8* SoftwareVersionInformation::InternalSerializeWithCachedSizesToArray(
764 ::google::protobuf::uint8* target) const {
765 // @@protoc_insertion_point(serialize_to_array_start:dmi.SoftwareVersionInformation)
766 ::google::protobuf::uint32 cached_has_bits = 0;
767 (void) cached_has_bits;
768
769 // repeated .dmi.ImageVersion active_versions = 1;
770 for (unsigned int i = 0,
771 n = static_cast<unsigned int>(this->active_versions_size()); i < n; i++) {
772 target = ::google::protobuf::internal::WireFormatLite::
773 InternalWriteMessageToArray(
774 1, this->active_versions(static_cast<int>(i)), target);
775 }
776
777 // repeated .dmi.ImageVersion standby_versions = 2;
778 for (unsigned int i = 0,
779 n = static_cast<unsigned int>(this->standby_versions_size()); i < n; i++) {
780 target = ::google::protobuf::internal::WireFormatLite::
781 InternalWriteMessageToArray(
782 2, this->standby_versions(static_cast<int>(i)), target);
783 }
784
785 if (_internal_metadata_.have_unknown_fields()) {
786 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
787 _internal_metadata_.unknown_fields(), target);
788 }
789 // @@protoc_insertion_point(serialize_to_array_end:dmi.SoftwareVersionInformation)
790 return target;
791}
792
793size_t SoftwareVersionInformation::ByteSizeLong() const {
794// @@protoc_insertion_point(message_byte_size_start:dmi.SoftwareVersionInformation)
795 size_t total_size = 0;
796
797 if (_internal_metadata_.have_unknown_fields()) {
798 total_size +=
799 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
800 _internal_metadata_.unknown_fields());
801 }
802 ::google::protobuf::uint32 cached_has_bits = 0;
803 // Prevent compiler warnings about cached_has_bits being unused
804 (void) cached_has_bits;
805
806 // repeated .dmi.ImageVersion active_versions = 1;
807 {
808 unsigned int count = static_cast<unsigned int>(this->active_versions_size());
809 total_size += 1UL * count;
810 for (unsigned int i = 0; i < count; i++) {
811 total_size +=
812 ::google::protobuf::internal::WireFormatLite::MessageSize(
813 this->active_versions(static_cast<int>(i)));
814 }
815 }
816
817 // repeated .dmi.ImageVersion standby_versions = 2;
818 {
819 unsigned int count = static_cast<unsigned int>(this->standby_versions_size());
820 total_size += 1UL * count;
821 for (unsigned int i = 0; i < count; i++) {
822 total_size +=
823 ::google::protobuf::internal::WireFormatLite::MessageSize(
824 this->standby_versions(static_cast<int>(i)));
825 }
826 }
827
828 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
829 SetCachedSize(cached_size);
830 return total_size;
831}
832
833void SoftwareVersionInformation::MergeFrom(const ::google::protobuf::Message& from) {
834// @@protoc_insertion_point(generalized_merge_from_start:dmi.SoftwareVersionInformation)
835 GOOGLE_DCHECK_NE(&from, this);
836 const SoftwareVersionInformation* source =
837 ::google::protobuf::DynamicCastToGenerated<SoftwareVersionInformation>(
838 &from);
839 if (source == nullptr) {
840 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.SoftwareVersionInformation)
841 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
842 } else {
843 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.SoftwareVersionInformation)
844 MergeFrom(*source);
845 }
846}
847
848void SoftwareVersionInformation::MergeFrom(const SoftwareVersionInformation& from) {
849// @@protoc_insertion_point(class_specific_merge_from_start:dmi.SoftwareVersionInformation)
850 GOOGLE_DCHECK_NE(&from, this);
851 _internal_metadata_.MergeFrom(from._internal_metadata_);
852 ::google::protobuf::uint32 cached_has_bits = 0;
853 (void) cached_has_bits;
854
855 active_versions_.MergeFrom(from.active_versions_);
856 standby_versions_.MergeFrom(from.standby_versions_);
857}
858
859void SoftwareVersionInformation::CopyFrom(const ::google::protobuf::Message& from) {
860// @@protoc_insertion_point(generalized_copy_from_start:dmi.SoftwareVersionInformation)
861 if (&from == this) return;
862 Clear();
863 MergeFrom(from);
864}
865
866void SoftwareVersionInformation::CopyFrom(const SoftwareVersionInformation& from) {
867// @@protoc_insertion_point(class_specific_copy_from_start:dmi.SoftwareVersionInformation)
868 if (&from == this) return;
869 Clear();
870 MergeFrom(from);
871}
872
873bool SoftwareVersionInformation::IsInitialized() const {
874 return true;
875}
876
877void SoftwareVersionInformation::Swap(SoftwareVersionInformation* other) {
878 if (other == this) return;
879 InternalSwap(other);
880}
881void SoftwareVersionInformation::InternalSwap(SoftwareVersionInformation* other) {
882 using std::swap;
883 _internal_metadata_.Swap(&other->_internal_metadata_);
884 CastToBase(&active_versions_)->InternalSwap(CastToBase(&other->active_versions_));
885 CastToBase(&standby_versions_)->InternalSwap(CastToBase(&other->standby_versions_));
886}
887
888::google::protobuf::Metadata SoftwareVersionInformation::GetMetadata() const {
889 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fsw_5fmanagement_5fservice_2eproto);
890 return ::file_level_metadata_dmi_2fsw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
891}
892
893
894// ===================================================================
895
896void GetSoftwareVersionInformationResponse::InitAsDefaultInstance() {
897 ::dmi::_GetSoftwareVersionInformationResponse_default_instance_._instance.get_mutable()->info_ = const_cast< ::dmi::SoftwareVersionInformation*>(
898 ::dmi::SoftwareVersionInformation::internal_default_instance());
899}
900class GetSoftwareVersionInformationResponse::HasBitSetters {
901 public:
902 static const ::dmi::SoftwareVersionInformation& info(const GetSoftwareVersionInformationResponse* msg);
903};
904
905const ::dmi::SoftwareVersionInformation&
906GetSoftwareVersionInformationResponse::HasBitSetters::info(const GetSoftwareVersionInformationResponse* msg) {
907 return *msg->info_;
908}
909#if !defined(_MSC_VER) || _MSC_VER >= 1900
910const int GetSoftwareVersionInformationResponse::kStatusFieldNumber;
911const int GetSoftwareVersionInformationResponse::kReasonFieldNumber;
912const int GetSoftwareVersionInformationResponse::kInfoFieldNumber;
913const int GetSoftwareVersionInformationResponse::kReasonDetailFieldNumber;
914#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
915
916GetSoftwareVersionInformationResponse::GetSoftwareVersionInformationResponse()
917 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
918 SharedCtor();
919 // @@protoc_insertion_point(constructor:dmi.GetSoftwareVersionInformationResponse)
920}
921GetSoftwareVersionInformationResponse::GetSoftwareVersionInformationResponse(const GetSoftwareVersionInformationResponse& from)
922 : ::google::protobuf::Message(),
923 _internal_metadata_(nullptr) {
924 _internal_metadata_.MergeFrom(from._internal_metadata_);
925 reason_detail_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
926 if (from.reason_detail().size() > 0) {
927 reason_detail_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_detail_);
928 }
929 if (from.has_info()) {
930 info_ = new ::dmi::SoftwareVersionInformation(*from.info_);
931 } else {
932 info_ = nullptr;
933 }
934 ::memcpy(&status_, &from.status_,
935 static_cast<size_t>(reinterpret_cast<char*>(&reason_) -
936 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
937 // @@protoc_insertion_point(copy_constructor:dmi.GetSoftwareVersionInformationResponse)
938}
939
940void GetSoftwareVersionInformationResponse::SharedCtor() {
941 ::google::protobuf::internal::InitSCC(
942 &scc_info_GetSoftwareVersionInformationResponse_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
943 reason_detail_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
944 ::memset(&info_, 0, static_cast<size_t>(
945 reinterpret_cast<char*>(&reason_) -
946 reinterpret_cast<char*>(&info_)) + sizeof(reason_));
947}
948
949GetSoftwareVersionInformationResponse::~GetSoftwareVersionInformationResponse() {
950 // @@protoc_insertion_point(destructor:dmi.GetSoftwareVersionInformationResponse)
951 SharedDtor();
952}
953
954void GetSoftwareVersionInformationResponse::SharedDtor() {
955 reason_detail_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
956 if (this != internal_default_instance()) delete info_;
957}
958
959void GetSoftwareVersionInformationResponse::SetCachedSize(int size) const {
960 _cached_size_.Set(size);
961}
962const GetSoftwareVersionInformationResponse& GetSoftwareVersionInformationResponse::default_instance() {
963 ::google::protobuf::internal::InitSCC(&::scc_info_GetSoftwareVersionInformationResponse_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
964 return *internal_default_instance();
965}
966
967
968void GetSoftwareVersionInformationResponse::Clear() {
969// @@protoc_insertion_point(message_clear_start:dmi.GetSoftwareVersionInformationResponse)
970 ::google::protobuf::uint32 cached_has_bits = 0;
971 // Prevent compiler warnings about cached_has_bits being unused
972 (void) cached_has_bits;
973
974 reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
975 if (GetArenaNoVirtual() == nullptr && info_ != nullptr) {
976 delete info_;
977 }
978 info_ = nullptr;
979 ::memset(&status_, 0, static_cast<size_t>(
980 reinterpret_cast<char*>(&reason_) -
981 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
982 _internal_metadata_.Clear();
983}
984
985#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
986const char* GetSoftwareVersionInformationResponse::_InternalParse(const char* begin, const char* end, void* object,
987 ::google::protobuf::internal::ParseContext* ctx) {
988 auto msg = static_cast<GetSoftwareVersionInformationResponse*>(object);
989 ::google::protobuf::int32 size; (void)size;
990 int depth; (void)depth;
991 ::google::protobuf::uint32 tag;
992 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
993 auto ptr = begin;
994 while (ptr < end) {
995 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
996 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
997 switch (tag >> 3) {
998 // .dmi.Status status = 1;
999 case 1: {
1000 if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual;
1001 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
1002 msg->set_status(static_cast<::dmi::Status>(val));
1003 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
1004 break;
1005 }
1006 // .dmi.GetSoftwareVersionInformationResponse.Reason reason = 2;
1007 case 2: {
1008 if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual;
1009 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
1010 msg->set_reason(static_cast<::dmi::GetSoftwareVersionInformationResponse_Reason>(val));
1011 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
1012 break;
1013 }
1014 // .dmi.SoftwareVersionInformation info = 3;
1015 case 3: {
1016 if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual;
1017 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
1018 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
1019 parser_till_end = ::dmi::SoftwareVersionInformation::_InternalParse;
1020 object = msg->mutable_info();
1021 if (size > end - ptr) goto len_delim_till_end;
1022 ptr += size;
1023 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
1024 {parser_till_end, object}, ptr - size, ptr));
1025 break;
1026 }
1027 // string reason_detail = 4;
1028 case 4: {
1029 if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual;
1030 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
1031 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
1032 ctx->extra_parse_data().SetFieldName("dmi.GetSoftwareVersionInformationResponse.reason_detail");
1033 object = msg->mutable_reason_detail();
1034 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
1035 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
1036 goto string_till_end;
1037 }
1038 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
1039 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
1040 ptr += size;
1041 break;
1042 }
1043 default: {
1044 handle_unusual:
1045 if ((tag & 7) == 4 || tag == 0) {
1046 ctx->EndGroup(tag);
1047 return ptr;
1048 }
1049 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
1050 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
1051 ptr = res.first;
1052 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
1053 if (res.second) return ptr;
1054 }
1055 } // switch
1056 } // while
1057 return ptr;
1058string_till_end:
1059 static_cast<::std::string*>(object)->clear();
1060 static_cast<::std::string*>(object)->reserve(size);
1061 goto len_delim_till_end;
1062len_delim_till_end:
1063 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
1064 {parser_till_end, object}, size);
1065}
1066#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1067bool GetSoftwareVersionInformationResponse::MergePartialFromCodedStream(
1068 ::google::protobuf::io::CodedInputStream* input) {
1069#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
1070 ::google::protobuf::uint32 tag;
1071 // @@protoc_insertion_point(parse_start:dmi.GetSoftwareVersionInformationResponse)
1072 for (;;) {
1073 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
1074 tag = p.first;
1075 if (!p.second) goto handle_unusual;
1076 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1077 // .dmi.Status status = 1;
1078 case 1: {
1079 if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) {
1080 int value = 0;
1081 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1082 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
1083 input, &value)));
1084 set_status(static_cast< ::dmi::Status >(value));
1085 } else {
1086 goto handle_unusual;
1087 }
1088 break;
1089 }
1090
1091 // .dmi.GetSoftwareVersionInformationResponse.Reason reason = 2;
1092 case 2: {
1093 if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) {
1094 int value = 0;
1095 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1096 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
1097 input, &value)));
1098 set_reason(static_cast< ::dmi::GetSoftwareVersionInformationResponse_Reason >(value));
1099 } else {
1100 goto handle_unusual;
1101 }
1102 break;
1103 }
1104
1105 // .dmi.SoftwareVersionInformation info = 3;
1106 case 3: {
1107 if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) {
1108 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
1109 input, mutable_info()));
1110 } else {
1111 goto handle_unusual;
1112 }
1113 break;
1114 }
1115
1116 // string reason_detail = 4;
1117 case 4: {
1118 if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) {
1119 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
1120 input, this->mutable_reason_detail()));
1121 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1122 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
1123 ::google::protobuf::internal::WireFormatLite::PARSE,
1124 "dmi.GetSoftwareVersionInformationResponse.reason_detail"));
1125 } else {
1126 goto handle_unusual;
1127 }
1128 break;
1129 }
1130
1131 default: {
1132 handle_unusual:
1133 if (tag == 0) {
1134 goto success;
1135 }
1136 DO_(::google::protobuf::internal::WireFormat::SkipField(
1137 input, tag, _internal_metadata_.mutable_unknown_fields()));
1138 break;
1139 }
1140 }
1141 }
1142success:
1143 // @@protoc_insertion_point(parse_success:dmi.GetSoftwareVersionInformationResponse)
1144 return true;
1145failure:
1146 // @@protoc_insertion_point(parse_failure:dmi.GetSoftwareVersionInformationResponse)
1147 return false;
1148#undef DO_
1149}
1150#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1151
1152void GetSoftwareVersionInformationResponse::SerializeWithCachedSizes(
1153 ::google::protobuf::io::CodedOutputStream* output) const {
1154 // @@protoc_insertion_point(serialize_start:dmi.GetSoftwareVersionInformationResponse)
1155 ::google::protobuf::uint32 cached_has_bits = 0;
1156 (void) cached_has_bits;
1157
1158 // .dmi.Status status = 1;
1159 if (this->status() != 0) {
1160 ::google::protobuf::internal::WireFormatLite::WriteEnum(
1161 1, this->status(), output);
1162 }
1163
1164 // .dmi.GetSoftwareVersionInformationResponse.Reason reason = 2;
1165 if (this->reason() != 0) {
1166 ::google::protobuf::internal::WireFormatLite::WriteEnum(
1167 2, this->reason(), output);
1168 }
1169
1170 // .dmi.SoftwareVersionInformation info = 3;
1171 if (this->has_info()) {
1172 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1173 3, HasBitSetters::info(this), output);
1174 }
1175
1176 // string reason_detail = 4;
1177 if (this->reason_detail().size() > 0) {
1178 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1179 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
1180 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1181 "dmi.GetSoftwareVersionInformationResponse.reason_detail");
1182 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
1183 4, this->reason_detail(), output);
1184 }
1185
1186 if (_internal_metadata_.have_unknown_fields()) {
1187 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1188 _internal_metadata_.unknown_fields(), output);
1189 }
1190 // @@protoc_insertion_point(serialize_end:dmi.GetSoftwareVersionInformationResponse)
1191}
1192
1193::google::protobuf::uint8* GetSoftwareVersionInformationResponse::InternalSerializeWithCachedSizesToArray(
1194 ::google::protobuf::uint8* target) const {
1195 // @@protoc_insertion_point(serialize_to_array_start:dmi.GetSoftwareVersionInformationResponse)
1196 ::google::protobuf::uint32 cached_has_bits = 0;
1197 (void) cached_has_bits;
1198
1199 // .dmi.Status status = 1;
1200 if (this->status() != 0) {
1201 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
1202 1, this->status(), target);
1203 }
1204
1205 // .dmi.GetSoftwareVersionInformationResponse.Reason reason = 2;
1206 if (this->reason() != 0) {
1207 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
1208 2, this->reason(), target);
1209 }
1210
1211 // .dmi.SoftwareVersionInformation info = 3;
1212 if (this->has_info()) {
1213 target = ::google::protobuf::internal::WireFormatLite::
1214 InternalWriteMessageToArray(
1215 3, HasBitSetters::info(this), target);
1216 }
1217
1218 // string reason_detail = 4;
1219 if (this->reason_detail().size() > 0) {
1220 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1221 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
1222 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1223 "dmi.GetSoftwareVersionInformationResponse.reason_detail");
1224 target =
1225 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
1226 4, this->reason_detail(), target);
1227 }
1228
1229 if (_internal_metadata_.have_unknown_fields()) {
1230 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1231 _internal_metadata_.unknown_fields(), target);
1232 }
1233 // @@protoc_insertion_point(serialize_to_array_end:dmi.GetSoftwareVersionInformationResponse)
1234 return target;
1235}
1236
1237size_t GetSoftwareVersionInformationResponse::ByteSizeLong() const {
1238// @@protoc_insertion_point(message_byte_size_start:dmi.GetSoftwareVersionInformationResponse)
1239 size_t total_size = 0;
1240
1241 if (_internal_metadata_.have_unknown_fields()) {
1242 total_size +=
1243 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1244 _internal_metadata_.unknown_fields());
1245 }
1246 ::google::protobuf::uint32 cached_has_bits = 0;
1247 // Prevent compiler warnings about cached_has_bits being unused
1248 (void) cached_has_bits;
1249
1250 // string reason_detail = 4;
1251 if (this->reason_detail().size() > 0) {
1252 total_size += 1 +
1253 ::google::protobuf::internal::WireFormatLite::StringSize(
1254 this->reason_detail());
1255 }
1256
1257 // .dmi.SoftwareVersionInformation info = 3;
1258 if (this->has_info()) {
1259 total_size += 1 +
1260 ::google::protobuf::internal::WireFormatLite::MessageSize(
1261 *info_);
1262 }
1263
1264 // .dmi.Status status = 1;
1265 if (this->status() != 0) {
1266 total_size += 1 +
1267 ::google::protobuf::internal::WireFormatLite::EnumSize(this->status());
1268 }
1269
1270 // .dmi.GetSoftwareVersionInformationResponse.Reason reason = 2;
1271 if (this->reason() != 0) {
1272 total_size += 1 +
1273 ::google::protobuf::internal::WireFormatLite::EnumSize(this->reason());
1274 }
1275
1276 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
1277 SetCachedSize(cached_size);
1278 return total_size;
1279}
1280
1281void GetSoftwareVersionInformationResponse::MergeFrom(const ::google::protobuf::Message& from) {
1282// @@protoc_insertion_point(generalized_merge_from_start:dmi.GetSoftwareVersionInformationResponse)
1283 GOOGLE_DCHECK_NE(&from, this);
1284 const GetSoftwareVersionInformationResponse* source =
1285 ::google::protobuf::DynamicCastToGenerated<GetSoftwareVersionInformationResponse>(
1286 &from);
1287 if (source == nullptr) {
1288 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.GetSoftwareVersionInformationResponse)
1289 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1290 } else {
1291 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.GetSoftwareVersionInformationResponse)
1292 MergeFrom(*source);
1293 }
1294}
1295
1296void GetSoftwareVersionInformationResponse::MergeFrom(const GetSoftwareVersionInformationResponse& from) {
1297// @@protoc_insertion_point(class_specific_merge_from_start:dmi.GetSoftwareVersionInformationResponse)
1298 GOOGLE_DCHECK_NE(&from, this);
1299 _internal_metadata_.MergeFrom(from._internal_metadata_);
1300 ::google::protobuf::uint32 cached_has_bits = 0;
1301 (void) cached_has_bits;
1302
1303 if (from.reason_detail().size() > 0) {
1304
1305 reason_detail_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_detail_);
1306 }
1307 if (from.has_info()) {
1308 mutable_info()->::dmi::SoftwareVersionInformation::MergeFrom(from.info());
1309 }
1310 if (from.status() != 0) {
1311 set_status(from.status());
1312 }
1313 if (from.reason() != 0) {
1314 set_reason(from.reason());
1315 }
1316}
1317
1318void GetSoftwareVersionInformationResponse::CopyFrom(const ::google::protobuf::Message& from) {
1319// @@protoc_insertion_point(generalized_copy_from_start:dmi.GetSoftwareVersionInformationResponse)
1320 if (&from == this) return;
1321 Clear();
1322 MergeFrom(from);
1323}
1324
1325void GetSoftwareVersionInformationResponse::CopyFrom(const GetSoftwareVersionInformationResponse& from) {
1326// @@protoc_insertion_point(class_specific_copy_from_start:dmi.GetSoftwareVersionInformationResponse)
1327 if (&from == this) return;
1328 Clear();
1329 MergeFrom(from);
1330}
1331
1332bool GetSoftwareVersionInformationResponse::IsInitialized() const {
1333 return true;
1334}
1335
1336void GetSoftwareVersionInformationResponse::Swap(GetSoftwareVersionInformationResponse* other) {
1337 if (other == this) return;
1338 InternalSwap(other);
1339}
1340void GetSoftwareVersionInformationResponse::InternalSwap(GetSoftwareVersionInformationResponse* other) {
1341 using std::swap;
1342 _internal_metadata_.Swap(&other->_internal_metadata_);
1343 reason_detail_.Swap(&other->reason_detail_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1344 GetArenaNoVirtual());
1345 swap(info_, other->info_);
1346 swap(status_, other->status_);
1347 swap(reason_, other->reason_);
1348}
1349
1350::google::protobuf::Metadata GetSoftwareVersionInformationResponse::GetMetadata() const {
1351 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fsw_5fmanagement_5fservice_2eproto);
1352 return ::file_level_metadata_dmi_2fsw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
1353}
1354
1355
1356// ===================================================================
1357
1358void DownloadImageRequest::InitAsDefaultInstance() {
1359 ::dmi::_DownloadImageRequest_default_instance_._instance.get_mutable()->device_uuid_ = const_cast< ::dmi::Uuid*>(
1360 ::dmi::Uuid::internal_default_instance());
1361 ::dmi::_DownloadImageRequest_default_instance_._instance.get_mutable()->image_info_ = const_cast< ::dmi::ImageInformation*>(
1362 ::dmi::ImageInformation::internal_default_instance());
1363}
1364class DownloadImageRequest::HasBitSetters {
1365 public:
1366 static const ::dmi::Uuid& device_uuid(const DownloadImageRequest* msg);
1367 static const ::dmi::ImageInformation& image_info(const DownloadImageRequest* msg);
1368};
1369
1370const ::dmi::Uuid&
1371DownloadImageRequest::HasBitSetters::device_uuid(const DownloadImageRequest* msg) {
1372 return *msg->device_uuid_;
1373}
1374const ::dmi::ImageInformation&
1375DownloadImageRequest::HasBitSetters::image_info(const DownloadImageRequest* msg) {
1376 return *msg->image_info_;
1377}
1378void DownloadImageRequest::clear_device_uuid() {
1379 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
1380 delete device_uuid_;
1381 }
1382 device_uuid_ = nullptr;
1383}
1384void DownloadImageRequest::clear_image_info() {
1385 if (GetArenaNoVirtual() == nullptr && image_info_ != nullptr) {
1386 delete image_info_;
1387 }
1388 image_info_ = nullptr;
1389}
1390#if !defined(_MSC_VER) || _MSC_VER >= 1900
1391const int DownloadImageRequest::kDeviceUuidFieldNumber;
1392const int DownloadImageRequest::kImageInfoFieldNumber;
1393#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
1394
1395DownloadImageRequest::DownloadImageRequest()
1396 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
1397 SharedCtor();
1398 // @@protoc_insertion_point(constructor:dmi.DownloadImageRequest)
1399}
1400DownloadImageRequest::DownloadImageRequest(const DownloadImageRequest& from)
1401 : ::google::protobuf::Message(),
1402 _internal_metadata_(nullptr) {
1403 _internal_metadata_.MergeFrom(from._internal_metadata_);
1404 if (from.has_device_uuid()) {
1405 device_uuid_ = new ::dmi::Uuid(*from.device_uuid_);
1406 } else {
1407 device_uuid_ = nullptr;
1408 }
1409 if (from.has_image_info()) {
1410 image_info_ = new ::dmi::ImageInformation(*from.image_info_);
1411 } else {
1412 image_info_ = nullptr;
1413 }
1414 // @@protoc_insertion_point(copy_constructor:dmi.DownloadImageRequest)
1415}
1416
1417void DownloadImageRequest::SharedCtor() {
1418 ::google::protobuf::internal::InitSCC(
1419 &scc_info_DownloadImageRequest_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
1420 ::memset(&device_uuid_, 0, static_cast<size_t>(
1421 reinterpret_cast<char*>(&image_info_) -
1422 reinterpret_cast<char*>(&device_uuid_)) + sizeof(image_info_));
1423}
1424
1425DownloadImageRequest::~DownloadImageRequest() {
1426 // @@protoc_insertion_point(destructor:dmi.DownloadImageRequest)
1427 SharedDtor();
1428}
1429
1430void DownloadImageRequest::SharedDtor() {
1431 if (this != internal_default_instance()) delete device_uuid_;
1432 if (this != internal_default_instance()) delete image_info_;
1433}
1434
1435void DownloadImageRequest::SetCachedSize(int size) const {
1436 _cached_size_.Set(size);
1437}
1438const DownloadImageRequest& DownloadImageRequest::default_instance() {
1439 ::google::protobuf::internal::InitSCC(&::scc_info_DownloadImageRequest_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
1440 return *internal_default_instance();
1441}
1442
1443
1444void DownloadImageRequest::Clear() {
1445// @@protoc_insertion_point(message_clear_start:dmi.DownloadImageRequest)
1446 ::google::protobuf::uint32 cached_has_bits = 0;
1447 // Prevent compiler warnings about cached_has_bits being unused
1448 (void) cached_has_bits;
1449
1450 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
1451 delete device_uuid_;
1452 }
1453 device_uuid_ = nullptr;
1454 if (GetArenaNoVirtual() == nullptr && image_info_ != nullptr) {
1455 delete image_info_;
1456 }
1457 image_info_ = nullptr;
1458 _internal_metadata_.Clear();
1459}
1460
1461#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1462const char* DownloadImageRequest::_InternalParse(const char* begin, const char* end, void* object,
1463 ::google::protobuf::internal::ParseContext* ctx) {
1464 auto msg = static_cast<DownloadImageRequest*>(object);
1465 ::google::protobuf::int32 size; (void)size;
1466 int depth; (void)depth;
1467 ::google::protobuf::uint32 tag;
1468 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
1469 auto ptr = begin;
1470 while (ptr < end) {
1471 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
1472 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
1473 switch (tag >> 3) {
1474 // .dmi.Uuid device_uuid = 1;
1475 case 1: {
1476 if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual;
1477 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
1478 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
1479 parser_till_end = ::dmi::Uuid::_InternalParse;
1480 object = msg->mutable_device_uuid();
1481 if (size > end - ptr) goto len_delim_till_end;
1482 ptr += size;
1483 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
1484 {parser_till_end, object}, ptr - size, ptr));
1485 break;
1486 }
1487 // .dmi.ImageInformation image_info = 2;
1488 case 2: {
1489 if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual;
1490 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
1491 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
1492 parser_till_end = ::dmi::ImageInformation::_InternalParse;
1493 object = msg->mutable_image_info();
1494 if (size > end - ptr) goto len_delim_till_end;
1495 ptr += size;
1496 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
1497 {parser_till_end, object}, ptr - size, ptr));
1498 break;
1499 }
1500 default: {
1501 handle_unusual:
1502 if ((tag & 7) == 4 || tag == 0) {
1503 ctx->EndGroup(tag);
1504 return ptr;
1505 }
1506 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
1507 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
1508 ptr = res.first;
1509 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
1510 if (res.second) return ptr;
1511 }
1512 } // switch
1513 } // while
1514 return ptr;
1515len_delim_till_end:
1516 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
1517 {parser_till_end, object}, size);
1518}
1519#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1520bool DownloadImageRequest::MergePartialFromCodedStream(
1521 ::google::protobuf::io::CodedInputStream* input) {
1522#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
1523 ::google::protobuf::uint32 tag;
1524 // @@protoc_insertion_point(parse_start:dmi.DownloadImageRequest)
1525 for (;;) {
1526 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
1527 tag = p.first;
1528 if (!p.second) goto handle_unusual;
1529 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1530 // .dmi.Uuid device_uuid = 1;
1531 case 1: {
1532 if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) {
1533 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
1534 input, mutable_device_uuid()));
1535 } else {
1536 goto handle_unusual;
1537 }
1538 break;
1539 }
1540
1541 // .dmi.ImageInformation image_info = 2;
1542 case 2: {
1543 if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) {
1544 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
1545 input, mutable_image_info()));
1546 } else {
1547 goto handle_unusual;
1548 }
1549 break;
1550 }
1551
1552 default: {
1553 handle_unusual:
1554 if (tag == 0) {
1555 goto success;
1556 }
1557 DO_(::google::protobuf::internal::WireFormat::SkipField(
1558 input, tag, _internal_metadata_.mutable_unknown_fields()));
1559 break;
1560 }
1561 }
1562 }
1563success:
1564 // @@protoc_insertion_point(parse_success:dmi.DownloadImageRequest)
1565 return true;
1566failure:
1567 // @@protoc_insertion_point(parse_failure:dmi.DownloadImageRequest)
1568 return false;
1569#undef DO_
1570}
1571#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1572
1573void DownloadImageRequest::SerializeWithCachedSizes(
1574 ::google::protobuf::io::CodedOutputStream* output) const {
1575 // @@protoc_insertion_point(serialize_start:dmi.DownloadImageRequest)
1576 ::google::protobuf::uint32 cached_has_bits = 0;
1577 (void) cached_has_bits;
1578
1579 // .dmi.Uuid device_uuid = 1;
1580 if (this->has_device_uuid()) {
1581 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1582 1, HasBitSetters::device_uuid(this), output);
1583 }
1584
1585 // .dmi.ImageInformation image_info = 2;
1586 if (this->has_image_info()) {
1587 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1588 2, HasBitSetters::image_info(this), output);
1589 }
1590
1591 if (_internal_metadata_.have_unknown_fields()) {
1592 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1593 _internal_metadata_.unknown_fields(), output);
1594 }
1595 // @@protoc_insertion_point(serialize_end:dmi.DownloadImageRequest)
1596}
1597
1598::google::protobuf::uint8* DownloadImageRequest::InternalSerializeWithCachedSizesToArray(
1599 ::google::protobuf::uint8* target) const {
1600 // @@protoc_insertion_point(serialize_to_array_start:dmi.DownloadImageRequest)
1601 ::google::protobuf::uint32 cached_has_bits = 0;
1602 (void) cached_has_bits;
1603
1604 // .dmi.Uuid device_uuid = 1;
1605 if (this->has_device_uuid()) {
1606 target = ::google::protobuf::internal::WireFormatLite::
1607 InternalWriteMessageToArray(
1608 1, HasBitSetters::device_uuid(this), target);
1609 }
1610
1611 // .dmi.ImageInformation image_info = 2;
1612 if (this->has_image_info()) {
1613 target = ::google::protobuf::internal::WireFormatLite::
1614 InternalWriteMessageToArray(
1615 2, HasBitSetters::image_info(this), target);
1616 }
1617
1618 if (_internal_metadata_.have_unknown_fields()) {
1619 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1620 _internal_metadata_.unknown_fields(), target);
1621 }
1622 // @@protoc_insertion_point(serialize_to_array_end:dmi.DownloadImageRequest)
1623 return target;
1624}
1625
1626size_t DownloadImageRequest::ByteSizeLong() const {
1627// @@protoc_insertion_point(message_byte_size_start:dmi.DownloadImageRequest)
1628 size_t total_size = 0;
1629
1630 if (_internal_metadata_.have_unknown_fields()) {
1631 total_size +=
1632 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1633 _internal_metadata_.unknown_fields());
1634 }
1635 ::google::protobuf::uint32 cached_has_bits = 0;
1636 // Prevent compiler warnings about cached_has_bits being unused
1637 (void) cached_has_bits;
1638
1639 // .dmi.Uuid device_uuid = 1;
1640 if (this->has_device_uuid()) {
1641 total_size += 1 +
1642 ::google::protobuf::internal::WireFormatLite::MessageSize(
1643 *device_uuid_);
1644 }
1645
1646 // .dmi.ImageInformation image_info = 2;
1647 if (this->has_image_info()) {
1648 total_size += 1 +
1649 ::google::protobuf::internal::WireFormatLite::MessageSize(
1650 *image_info_);
1651 }
1652
1653 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
1654 SetCachedSize(cached_size);
1655 return total_size;
1656}
1657
1658void DownloadImageRequest::MergeFrom(const ::google::protobuf::Message& from) {
1659// @@protoc_insertion_point(generalized_merge_from_start:dmi.DownloadImageRequest)
1660 GOOGLE_DCHECK_NE(&from, this);
1661 const DownloadImageRequest* source =
1662 ::google::protobuf::DynamicCastToGenerated<DownloadImageRequest>(
1663 &from);
1664 if (source == nullptr) {
1665 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.DownloadImageRequest)
1666 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1667 } else {
1668 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.DownloadImageRequest)
1669 MergeFrom(*source);
1670 }
1671}
1672
1673void DownloadImageRequest::MergeFrom(const DownloadImageRequest& from) {
1674// @@protoc_insertion_point(class_specific_merge_from_start:dmi.DownloadImageRequest)
1675 GOOGLE_DCHECK_NE(&from, this);
1676 _internal_metadata_.MergeFrom(from._internal_metadata_);
1677 ::google::protobuf::uint32 cached_has_bits = 0;
1678 (void) cached_has_bits;
1679
1680 if (from.has_device_uuid()) {
1681 mutable_device_uuid()->::dmi::Uuid::MergeFrom(from.device_uuid());
1682 }
1683 if (from.has_image_info()) {
1684 mutable_image_info()->::dmi::ImageInformation::MergeFrom(from.image_info());
1685 }
1686}
1687
1688void DownloadImageRequest::CopyFrom(const ::google::protobuf::Message& from) {
1689// @@protoc_insertion_point(generalized_copy_from_start:dmi.DownloadImageRequest)
1690 if (&from == this) return;
1691 Clear();
1692 MergeFrom(from);
1693}
1694
1695void DownloadImageRequest::CopyFrom(const DownloadImageRequest& from) {
1696// @@protoc_insertion_point(class_specific_copy_from_start:dmi.DownloadImageRequest)
1697 if (&from == this) return;
1698 Clear();
1699 MergeFrom(from);
1700}
1701
1702bool DownloadImageRequest::IsInitialized() const {
1703 return true;
1704}
1705
1706void DownloadImageRequest::Swap(DownloadImageRequest* other) {
1707 if (other == this) return;
1708 InternalSwap(other);
1709}
1710void DownloadImageRequest::InternalSwap(DownloadImageRequest* other) {
1711 using std::swap;
1712 _internal_metadata_.Swap(&other->_internal_metadata_);
1713 swap(device_uuid_, other->device_uuid_);
1714 swap(image_info_, other->image_info_);
1715}
1716
1717::google::protobuf::Metadata DownloadImageRequest::GetMetadata() const {
1718 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fsw_5fmanagement_5fservice_2eproto);
1719 return ::file_level_metadata_dmi_2fsw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
1720}
1721
1722
1723// ===================================================================
1724
1725void ConfigRequest::InitAsDefaultInstance() {
1726 ::dmi::_ConfigRequest_default_instance_._instance.get_mutable()->device_uuid_ = const_cast< ::dmi::Uuid*>(
1727 ::dmi::Uuid::internal_default_instance());
1728}
1729class ConfigRequest::HasBitSetters {
1730 public:
1731 static const ::dmi::Uuid& device_uuid(const ConfigRequest* msg);
1732};
1733
1734const ::dmi::Uuid&
1735ConfigRequest::HasBitSetters::device_uuid(const ConfigRequest* msg) {
1736 return *msg->device_uuid_;
1737}
1738void ConfigRequest::clear_device_uuid() {
1739 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
1740 delete device_uuid_;
1741 }
1742 device_uuid_ = nullptr;
1743}
1744#if !defined(_MSC_VER) || _MSC_VER >= 1900
1745const int ConfigRequest::kDeviceUuidFieldNumber;
1746const int ConfigRequest::kConfigUrlFieldNumber;
1747#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
1748
1749ConfigRequest::ConfigRequest()
1750 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
1751 SharedCtor();
1752 // @@protoc_insertion_point(constructor:dmi.ConfigRequest)
1753}
1754ConfigRequest::ConfigRequest(const ConfigRequest& from)
1755 : ::google::protobuf::Message(),
1756 _internal_metadata_(nullptr) {
1757 _internal_metadata_.MergeFrom(from._internal_metadata_);
1758 config_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1759 if (from.config_url().size() > 0) {
1760 config_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.config_url_);
1761 }
1762 if (from.has_device_uuid()) {
1763 device_uuid_ = new ::dmi::Uuid(*from.device_uuid_);
1764 } else {
1765 device_uuid_ = nullptr;
1766 }
1767 // @@protoc_insertion_point(copy_constructor:dmi.ConfigRequest)
1768}
1769
1770void ConfigRequest::SharedCtor() {
1771 ::google::protobuf::internal::InitSCC(
1772 &scc_info_ConfigRequest_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
1773 config_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1774 device_uuid_ = nullptr;
1775}
1776
1777ConfigRequest::~ConfigRequest() {
1778 // @@protoc_insertion_point(destructor:dmi.ConfigRequest)
1779 SharedDtor();
1780}
1781
1782void ConfigRequest::SharedDtor() {
1783 config_url_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1784 if (this != internal_default_instance()) delete device_uuid_;
1785}
1786
1787void ConfigRequest::SetCachedSize(int size) const {
1788 _cached_size_.Set(size);
1789}
1790const ConfigRequest& ConfigRequest::default_instance() {
1791 ::google::protobuf::internal::InitSCC(&::scc_info_ConfigRequest_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
1792 return *internal_default_instance();
1793}
1794
1795
1796void ConfigRequest::Clear() {
1797// @@protoc_insertion_point(message_clear_start:dmi.ConfigRequest)
1798 ::google::protobuf::uint32 cached_has_bits = 0;
1799 // Prevent compiler warnings about cached_has_bits being unused
1800 (void) cached_has_bits;
1801
1802 config_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1803 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
1804 delete device_uuid_;
1805 }
1806 device_uuid_ = nullptr;
1807 _internal_metadata_.Clear();
1808}
1809
1810#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1811const char* ConfigRequest::_InternalParse(const char* begin, const char* end, void* object,
1812 ::google::protobuf::internal::ParseContext* ctx) {
1813 auto msg = static_cast<ConfigRequest*>(object);
1814 ::google::protobuf::int32 size; (void)size;
1815 int depth; (void)depth;
1816 ::google::protobuf::uint32 tag;
1817 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
1818 auto ptr = begin;
1819 while (ptr < end) {
1820 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
1821 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
1822 switch (tag >> 3) {
1823 // .dmi.Uuid device_uuid = 1;
1824 case 1: {
1825 if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual;
1826 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
1827 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
1828 parser_till_end = ::dmi::Uuid::_InternalParse;
1829 object = msg->mutable_device_uuid();
1830 if (size > end - ptr) goto len_delim_till_end;
1831 ptr += size;
1832 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
1833 {parser_till_end, object}, ptr - size, ptr));
1834 break;
1835 }
1836 // string config_url = 2;
1837 case 2: {
1838 if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual;
1839 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
1840 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
1841 ctx->extra_parse_data().SetFieldName("dmi.ConfigRequest.config_url");
1842 object = msg->mutable_config_url();
1843 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
1844 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
1845 goto string_till_end;
1846 }
1847 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
1848 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
1849 ptr += size;
1850 break;
1851 }
1852 default: {
1853 handle_unusual:
1854 if ((tag & 7) == 4 || tag == 0) {
1855 ctx->EndGroup(tag);
1856 return ptr;
1857 }
1858 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
1859 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
1860 ptr = res.first;
1861 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
1862 if (res.second) return ptr;
1863 }
1864 } // switch
1865 } // while
1866 return ptr;
1867string_till_end:
1868 static_cast<::std::string*>(object)->clear();
1869 static_cast<::std::string*>(object)->reserve(size);
1870 goto len_delim_till_end;
1871len_delim_till_end:
1872 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
1873 {parser_till_end, object}, size);
1874}
1875#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1876bool ConfigRequest::MergePartialFromCodedStream(
1877 ::google::protobuf::io::CodedInputStream* input) {
1878#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
1879 ::google::protobuf::uint32 tag;
1880 // @@protoc_insertion_point(parse_start:dmi.ConfigRequest)
1881 for (;;) {
1882 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
1883 tag = p.first;
1884 if (!p.second) goto handle_unusual;
1885 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1886 // .dmi.Uuid device_uuid = 1;
1887 case 1: {
1888 if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) {
1889 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
1890 input, mutable_device_uuid()));
1891 } else {
1892 goto handle_unusual;
1893 }
1894 break;
1895 }
1896
1897 // string config_url = 2;
1898 case 2: {
1899 if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) {
1900 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
1901 input, this->mutable_config_url()));
1902 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1903 this->config_url().data(), static_cast<int>(this->config_url().length()),
1904 ::google::protobuf::internal::WireFormatLite::PARSE,
1905 "dmi.ConfigRequest.config_url"));
1906 } else {
1907 goto handle_unusual;
1908 }
1909 break;
1910 }
1911
1912 default: {
1913 handle_unusual:
1914 if (tag == 0) {
1915 goto success;
1916 }
1917 DO_(::google::protobuf::internal::WireFormat::SkipField(
1918 input, tag, _internal_metadata_.mutable_unknown_fields()));
1919 break;
1920 }
1921 }
1922 }
1923success:
1924 // @@protoc_insertion_point(parse_success:dmi.ConfigRequest)
1925 return true;
1926failure:
1927 // @@protoc_insertion_point(parse_failure:dmi.ConfigRequest)
1928 return false;
1929#undef DO_
1930}
1931#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1932
1933void ConfigRequest::SerializeWithCachedSizes(
1934 ::google::protobuf::io::CodedOutputStream* output) const {
1935 // @@protoc_insertion_point(serialize_start:dmi.ConfigRequest)
1936 ::google::protobuf::uint32 cached_has_bits = 0;
1937 (void) cached_has_bits;
1938
1939 // .dmi.Uuid device_uuid = 1;
1940 if (this->has_device_uuid()) {
1941 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1942 1, HasBitSetters::device_uuid(this), output);
1943 }
1944
1945 // string config_url = 2;
1946 if (this->config_url().size() > 0) {
1947 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1948 this->config_url().data(), static_cast<int>(this->config_url().length()),
1949 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1950 "dmi.ConfigRequest.config_url");
1951 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
1952 2, this->config_url(), output);
1953 }
1954
1955 if (_internal_metadata_.have_unknown_fields()) {
1956 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1957 _internal_metadata_.unknown_fields(), output);
1958 }
1959 // @@protoc_insertion_point(serialize_end:dmi.ConfigRequest)
1960}
1961
1962::google::protobuf::uint8* ConfigRequest::InternalSerializeWithCachedSizesToArray(
1963 ::google::protobuf::uint8* target) const {
1964 // @@protoc_insertion_point(serialize_to_array_start:dmi.ConfigRequest)
1965 ::google::protobuf::uint32 cached_has_bits = 0;
1966 (void) cached_has_bits;
1967
1968 // .dmi.Uuid device_uuid = 1;
1969 if (this->has_device_uuid()) {
1970 target = ::google::protobuf::internal::WireFormatLite::
1971 InternalWriteMessageToArray(
1972 1, HasBitSetters::device_uuid(this), target);
1973 }
1974
1975 // string config_url = 2;
1976 if (this->config_url().size() > 0) {
1977 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1978 this->config_url().data(), static_cast<int>(this->config_url().length()),
1979 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1980 "dmi.ConfigRequest.config_url");
1981 target =
1982 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
1983 2, this->config_url(), target);
1984 }
1985
1986 if (_internal_metadata_.have_unknown_fields()) {
1987 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1988 _internal_metadata_.unknown_fields(), target);
1989 }
1990 // @@protoc_insertion_point(serialize_to_array_end:dmi.ConfigRequest)
1991 return target;
1992}
1993
1994size_t ConfigRequest::ByteSizeLong() const {
1995// @@protoc_insertion_point(message_byte_size_start:dmi.ConfigRequest)
1996 size_t total_size = 0;
1997
1998 if (_internal_metadata_.have_unknown_fields()) {
1999 total_size +=
2000 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
2001 _internal_metadata_.unknown_fields());
2002 }
2003 ::google::protobuf::uint32 cached_has_bits = 0;
2004 // Prevent compiler warnings about cached_has_bits being unused
2005 (void) cached_has_bits;
2006
2007 // string config_url = 2;
2008 if (this->config_url().size() > 0) {
2009 total_size += 1 +
2010 ::google::protobuf::internal::WireFormatLite::StringSize(
2011 this->config_url());
2012 }
2013
2014 // .dmi.Uuid device_uuid = 1;
2015 if (this->has_device_uuid()) {
2016 total_size += 1 +
2017 ::google::protobuf::internal::WireFormatLite::MessageSize(
2018 *device_uuid_);
2019 }
2020
2021 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
2022 SetCachedSize(cached_size);
2023 return total_size;
2024}
2025
2026void ConfigRequest::MergeFrom(const ::google::protobuf::Message& from) {
2027// @@protoc_insertion_point(generalized_merge_from_start:dmi.ConfigRequest)
2028 GOOGLE_DCHECK_NE(&from, this);
2029 const ConfigRequest* source =
2030 ::google::protobuf::DynamicCastToGenerated<ConfigRequest>(
2031 &from);
2032 if (source == nullptr) {
2033 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.ConfigRequest)
2034 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2035 } else {
2036 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.ConfigRequest)
2037 MergeFrom(*source);
2038 }
2039}
2040
2041void ConfigRequest::MergeFrom(const ConfigRequest& from) {
2042// @@protoc_insertion_point(class_specific_merge_from_start:dmi.ConfigRequest)
2043 GOOGLE_DCHECK_NE(&from, this);
2044 _internal_metadata_.MergeFrom(from._internal_metadata_);
2045 ::google::protobuf::uint32 cached_has_bits = 0;
2046 (void) cached_has_bits;
2047
2048 if (from.config_url().size() > 0) {
2049
2050 config_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.config_url_);
2051 }
2052 if (from.has_device_uuid()) {
2053 mutable_device_uuid()->::dmi::Uuid::MergeFrom(from.device_uuid());
2054 }
2055}
2056
2057void ConfigRequest::CopyFrom(const ::google::protobuf::Message& from) {
2058// @@protoc_insertion_point(generalized_copy_from_start:dmi.ConfigRequest)
2059 if (&from == this) return;
2060 Clear();
2061 MergeFrom(from);
2062}
2063
2064void ConfigRequest::CopyFrom(const ConfigRequest& from) {
2065// @@protoc_insertion_point(class_specific_copy_from_start:dmi.ConfigRequest)
2066 if (&from == this) return;
2067 Clear();
2068 MergeFrom(from);
2069}
2070
2071bool ConfigRequest::IsInitialized() const {
2072 return true;
2073}
2074
2075void ConfigRequest::Swap(ConfigRequest* other) {
2076 if (other == this) return;
2077 InternalSwap(other);
2078}
2079void ConfigRequest::InternalSwap(ConfigRequest* other) {
2080 using std::swap;
2081 _internal_metadata_.Swap(&other->_internal_metadata_);
2082 config_url_.Swap(&other->config_url_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2083 GetArenaNoVirtual());
2084 swap(device_uuid_, other->device_uuid_);
2085}
2086
2087::google::protobuf::Metadata ConfigRequest::GetMetadata() const {
2088 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fsw_5fmanagement_5fservice_2eproto);
2089 return ::file_level_metadata_dmi_2fsw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
2090}
2091
2092
2093// ===================================================================
2094
2095void ConfigResponse::InitAsDefaultInstance() {
2096}
2097class ConfigResponse::HasBitSetters {
2098 public:
2099};
2100
2101#if !defined(_MSC_VER) || _MSC_VER >= 1900
2102const int ConfigResponse::kStatusFieldNumber;
2103const int ConfigResponse::kReasonFieldNumber;
2104const int ConfigResponse::kReasonDetailFieldNumber;
2105#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
2106
2107ConfigResponse::ConfigResponse()
2108 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
2109 SharedCtor();
2110 // @@protoc_insertion_point(constructor:dmi.ConfigResponse)
2111}
2112ConfigResponse::ConfigResponse(const ConfigResponse& from)
2113 : ::google::protobuf::Message(),
2114 _internal_metadata_(nullptr) {
2115 _internal_metadata_.MergeFrom(from._internal_metadata_);
2116 reason_detail_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2117 if (from.reason_detail().size() > 0) {
2118 reason_detail_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_detail_);
2119 }
2120 ::memcpy(&status_, &from.status_,
2121 static_cast<size_t>(reinterpret_cast<char*>(&reason_) -
2122 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
2123 // @@protoc_insertion_point(copy_constructor:dmi.ConfigResponse)
2124}
2125
2126void ConfigResponse::SharedCtor() {
2127 ::google::protobuf::internal::InitSCC(
2128 &scc_info_ConfigResponse_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
2129 reason_detail_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2130 ::memset(&status_, 0, static_cast<size_t>(
2131 reinterpret_cast<char*>(&reason_) -
2132 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
2133}
2134
2135ConfigResponse::~ConfigResponse() {
2136 // @@protoc_insertion_point(destructor:dmi.ConfigResponse)
2137 SharedDtor();
2138}
2139
2140void ConfigResponse::SharedDtor() {
2141 reason_detail_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2142}
2143
2144void ConfigResponse::SetCachedSize(int size) const {
2145 _cached_size_.Set(size);
2146}
2147const ConfigResponse& ConfigResponse::default_instance() {
2148 ::google::protobuf::internal::InitSCC(&::scc_info_ConfigResponse_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
2149 return *internal_default_instance();
2150}
2151
2152
2153void ConfigResponse::Clear() {
2154// @@protoc_insertion_point(message_clear_start:dmi.ConfigResponse)
2155 ::google::protobuf::uint32 cached_has_bits = 0;
2156 // Prevent compiler warnings about cached_has_bits being unused
2157 (void) cached_has_bits;
2158
2159 reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2160 ::memset(&status_, 0, static_cast<size_t>(
2161 reinterpret_cast<char*>(&reason_) -
2162 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
2163 _internal_metadata_.Clear();
2164}
2165
2166#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2167const char* ConfigResponse::_InternalParse(const char* begin, const char* end, void* object,
2168 ::google::protobuf::internal::ParseContext* ctx) {
2169 auto msg = static_cast<ConfigResponse*>(object);
2170 ::google::protobuf::int32 size; (void)size;
2171 int depth; (void)depth;
2172 ::google::protobuf::uint32 tag;
2173 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
2174 auto ptr = begin;
2175 while (ptr < end) {
2176 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
2177 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
2178 switch (tag >> 3) {
2179 // .dmi.Status status = 1;
2180 case 1: {
2181 if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual;
2182 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
2183 msg->set_status(static_cast<::dmi::Status>(val));
2184 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
2185 break;
2186 }
2187 // .dmi.ConfigResponse.Reason reason = 2;
2188 case 2: {
2189 if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual;
2190 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
2191 msg->set_reason(static_cast<::dmi::ConfigResponse_Reason>(val));
2192 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
2193 break;
2194 }
2195 // string reason_detail = 3;
2196 case 3: {
2197 if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual;
2198 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
2199 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
2200 ctx->extra_parse_data().SetFieldName("dmi.ConfigResponse.reason_detail");
2201 object = msg->mutable_reason_detail();
2202 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
2203 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
2204 goto string_till_end;
2205 }
2206 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
2207 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
2208 ptr += size;
2209 break;
2210 }
2211 default: {
2212 handle_unusual:
2213 if ((tag & 7) == 4 || tag == 0) {
2214 ctx->EndGroup(tag);
2215 return ptr;
2216 }
2217 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
2218 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
2219 ptr = res.first;
2220 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
2221 if (res.second) return ptr;
2222 }
2223 } // switch
2224 } // while
2225 return ptr;
2226string_till_end:
2227 static_cast<::std::string*>(object)->clear();
2228 static_cast<::std::string*>(object)->reserve(size);
2229 goto len_delim_till_end;
2230len_delim_till_end:
2231 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
2232 {parser_till_end, object}, size);
2233}
2234#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2235bool ConfigResponse::MergePartialFromCodedStream(
2236 ::google::protobuf::io::CodedInputStream* input) {
2237#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
2238 ::google::protobuf::uint32 tag;
2239 // @@protoc_insertion_point(parse_start:dmi.ConfigResponse)
2240 for (;;) {
2241 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
2242 tag = p.first;
2243 if (!p.second) goto handle_unusual;
2244 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2245 // .dmi.Status status = 1;
2246 case 1: {
2247 if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) {
2248 int value = 0;
2249 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2250 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
2251 input, &value)));
2252 set_status(static_cast< ::dmi::Status >(value));
2253 } else {
2254 goto handle_unusual;
2255 }
2256 break;
2257 }
2258
2259 // .dmi.ConfigResponse.Reason reason = 2;
2260 case 2: {
2261 if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) {
2262 int value = 0;
2263 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2264 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
2265 input, &value)));
2266 set_reason(static_cast< ::dmi::ConfigResponse_Reason >(value));
2267 } else {
2268 goto handle_unusual;
2269 }
2270 break;
2271 }
2272
2273 // string reason_detail = 3;
2274 case 3: {
2275 if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) {
2276 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
2277 input, this->mutable_reason_detail()));
2278 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2279 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
2280 ::google::protobuf::internal::WireFormatLite::PARSE,
2281 "dmi.ConfigResponse.reason_detail"));
2282 } else {
2283 goto handle_unusual;
2284 }
2285 break;
2286 }
2287
2288 default: {
2289 handle_unusual:
2290 if (tag == 0) {
2291 goto success;
2292 }
2293 DO_(::google::protobuf::internal::WireFormat::SkipField(
2294 input, tag, _internal_metadata_.mutable_unknown_fields()));
2295 break;
2296 }
2297 }
2298 }
2299success:
2300 // @@protoc_insertion_point(parse_success:dmi.ConfigResponse)
2301 return true;
2302failure:
2303 // @@protoc_insertion_point(parse_failure:dmi.ConfigResponse)
2304 return false;
2305#undef DO_
2306}
2307#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2308
2309void ConfigResponse::SerializeWithCachedSizes(
2310 ::google::protobuf::io::CodedOutputStream* output) const {
2311 // @@protoc_insertion_point(serialize_start:dmi.ConfigResponse)
2312 ::google::protobuf::uint32 cached_has_bits = 0;
2313 (void) cached_has_bits;
2314
2315 // .dmi.Status status = 1;
2316 if (this->status() != 0) {
2317 ::google::protobuf::internal::WireFormatLite::WriteEnum(
2318 1, this->status(), output);
2319 }
2320
2321 // .dmi.ConfigResponse.Reason reason = 2;
2322 if (this->reason() != 0) {
2323 ::google::protobuf::internal::WireFormatLite::WriteEnum(
2324 2, this->reason(), output);
2325 }
2326
2327 // string reason_detail = 3;
2328 if (this->reason_detail().size() > 0) {
2329 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2330 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
2331 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
2332 "dmi.ConfigResponse.reason_detail");
2333 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
2334 3, this->reason_detail(), output);
2335 }
2336
2337 if (_internal_metadata_.have_unknown_fields()) {
2338 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2339 _internal_metadata_.unknown_fields(), output);
2340 }
2341 // @@protoc_insertion_point(serialize_end:dmi.ConfigResponse)
2342}
2343
2344::google::protobuf::uint8* ConfigResponse::InternalSerializeWithCachedSizesToArray(
2345 ::google::protobuf::uint8* target) const {
2346 // @@protoc_insertion_point(serialize_to_array_start:dmi.ConfigResponse)
2347 ::google::protobuf::uint32 cached_has_bits = 0;
2348 (void) cached_has_bits;
2349
2350 // .dmi.Status status = 1;
2351 if (this->status() != 0) {
2352 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
2353 1, this->status(), target);
2354 }
2355
2356 // .dmi.ConfigResponse.Reason reason = 2;
2357 if (this->reason() != 0) {
2358 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
2359 2, this->reason(), target);
2360 }
2361
2362 // string reason_detail = 3;
2363 if (this->reason_detail().size() > 0) {
2364 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2365 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
2366 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
2367 "dmi.ConfigResponse.reason_detail");
2368 target =
2369 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
2370 3, this->reason_detail(), target);
2371 }
2372
2373 if (_internal_metadata_.have_unknown_fields()) {
2374 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
2375 _internal_metadata_.unknown_fields(), target);
2376 }
2377 // @@protoc_insertion_point(serialize_to_array_end:dmi.ConfigResponse)
2378 return target;
2379}
2380
2381size_t ConfigResponse::ByteSizeLong() const {
2382// @@protoc_insertion_point(message_byte_size_start:dmi.ConfigResponse)
2383 size_t total_size = 0;
2384
2385 if (_internal_metadata_.have_unknown_fields()) {
2386 total_size +=
2387 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
2388 _internal_metadata_.unknown_fields());
2389 }
2390 ::google::protobuf::uint32 cached_has_bits = 0;
2391 // Prevent compiler warnings about cached_has_bits being unused
2392 (void) cached_has_bits;
2393
2394 // string reason_detail = 3;
2395 if (this->reason_detail().size() > 0) {
2396 total_size += 1 +
2397 ::google::protobuf::internal::WireFormatLite::StringSize(
2398 this->reason_detail());
2399 }
2400
2401 // .dmi.Status status = 1;
2402 if (this->status() != 0) {
2403 total_size += 1 +
2404 ::google::protobuf::internal::WireFormatLite::EnumSize(this->status());
2405 }
2406
2407 // .dmi.ConfigResponse.Reason reason = 2;
2408 if (this->reason() != 0) {
2409 total_size += 1 +
2410 ::google::protobuf::internal::WireFormatLite::EnumSize(this->reason());
2411 }
2412
2413 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
2414 SetCachedSize(cached_size);
2415 return total_size;
2416}
2417
2418void ConfigResponse::MergeFrom(const ::google::protobuf::Message& from) {
2419// @@protoc_insertion_point(generalized_merge_from_start:dmi.ConfigResponse)
2420 GOOGLE_DCHECK_NE(&from, this);
2421 const ConfigResponse* source =
2422 ::google::protobuf::DynamicCastToGenerated<ConfigResponse>(
2423 &from);
2424 if (source == nullptr) {
2425 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.ConfigResponse)
2426 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2427 } else {
2428 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.ConfigResponse)
2429 MergeFrom(*source);
2430 }
2431}
2432
2433void ConfigResponse::MergeFrom(const ConfigResponse& from) {
2434// @@protoc_insertion_point(class_specific_merge_from_start:dmi.ConfigResponse)
2435 GOOGLE_DCHECK_NE(&from, this);
2436 _internal_metadata_.MergeFrom(from._internal_metadata_);
2437 ::google::protobuf::uint32 cached_has_bits = 0;
2438 (void) cached_has_bits;
2439
2440 if (from.reason_detail().size() > 0) {
2441
2442 reason_detail_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_detail_);
2443 }
2444 if (from.status() != 0) {
2445 set_status(from.status());
2446 }
2447 if (from.reason() != 0) {
2448 set_reason(from.reason());
2449 }
2450}
2451
2452void ConfigResponse::CopyFrom(const ::google::protobuf::Message& from) {
2453// @@protoc_insertion_point(generalized_copy_from_start:dmi.ConfigResponse)
2454 if (&from == this) return;
2455 Clear();
2456 MergeFrom(from);
2457}
2458
2459void ConfigResponse::CopyFrom(const ConfigResponse& from) {
2460// @@protoc_insertion_point(class_specific_copy_from_start:dmi.ConfigResponse)
2461 if (&from == this) return;
2462 Clear();
2463 MergeFrom(from);
2464}
2465
2466bool ConfigResponse::IsInitialized() const {
2467 return true;
2468}
2469
2470void ConfigResponse::Swap(ConfigResponse* other) {
2471 if (other == this) return;
2472 InternalSwap(other);
2473}
2474void ConfigResponse::InternalSwap(ConfigResponse* other) {
2475 using std::swap;
2476 _internal_metadata_.Swap(&other->_internal_metadata_);
2477 reason_detail_.Swap(&other->reason_detail_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2478 GetArenaNoVirtual());
2479 swap(status_, other->status_);
2480 swap(reason_, other->reason_);
2481}
2482
2483::google::protobuf::Metadata ConfigResponse::GetMetadata() const {
2484 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fsw_5fmanagement_5fservice_2eproto);
2485 return ::file_level_metadata_dmi_2fsw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
2486}
2487
2488
2489// ===================================================================
2490
2491void StartupConfigInfoRequest::InitAsDefaultInstance() {
2492 ::dmi::_StartupConfigInfoRequest_default_instance_._instance.get_mutable()->device_uuid_ = const_cast< ::dmi::Uuid*>(
2493 ::dmi::Uuid::internal_default_instance());
2494}
2495class StartupConfigInfoRequest::HasBitSetters {
2496 public:
2497 static const ::dmi::Uuid& device_uuid(const StartupConfigInfoRequest* msg);
2498};
2499
2500const ::dmi::Uuid&
2501StartupConfigInfoRequest::HasBitSetters::device_uuid(const StartupConfigInfoRequest* msg) {
2502 return *msg->device_uuid_;
2503}
2504void StartupConfigInfoRequest::clear_device_uuid() {
2505 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
2506 delete device_uuid_;
2507 }
2508 device_uuid_ = nullptr;
2509}
2510#if !defined(_MSC_VER) || _MSC_VER >= 1900
2511const int StartupConfigInfoRequest::kDeviceUuidFieldNumber;
2512#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
2513
2514StartupConfigInfoRequest::StartupConfigInfoRequest()
2515 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
2516 SharedCtor();
2517 // @@protoc_insertion_point(constructor:dmi.StartupConfigInfoRequest)
2518}
2519StartupConfigInfoRequest::StartupConfigInfoRequest(const StartupConfigInfoRequest& from)
2520 : ::google::protobuf::Message(),
2521 _internal_metadata_(nullptr) {
2522 _internal_metadata_.MergeFrom(from._internal_metadata_);
2523 if (from.has_device_uuid()) {
2524 device_uuid_ = new ::dmi::Uuid(*from.device_uuid_);
2525 } else {
2526 device_uuid_ = nullptr;
2527 }
2528 // @@protoc_insertion_point(copy_constructor:dmi.StartupConfigInfoRequest)
2529}
2530
2531void StartupConfigInfoRequest::SharedCtor() {
2532 ::google::protobuf::internal::InitSCC(
2533 &scc_info_StartupConfigInfoRequest_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
2534 device_uuid_ = nullptr;
2535}
2536
2537StartupConfigInfoRequest::~StartupConfigInfoRequest() {
2538 // @@protoc_insertion_point(destructor:dmi.StartupConfigInfoRequest)
2539 SharedDtor();
2540}
2541
2542void StartupConfigInfoRequest::SharedDtor() {
2543 if (this != internal_default_instance()) delete device_uuid_;
2544}
2545
2546void StartupConfigInfoRequest::SetCachedSize(int size) const {
2547 _cached_size_.Set(size);
2548}
2549const StartupConfigInfoRequest& StartupConfigInfoRequest::default_instance() {
2550 ::google::protobuf::internal::InitSCC(&::scc_info_StartupConfigInfoRequest_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
2551 return *internal_default_instance();
2552}
2553
2554
2555void StartupConfigInfoRequest::Clear() {
2556// @@protoc_insertion_point(message_clear_start:dmi.StartupConfigInfoRequest)
2557 ::google::protobuf::uint32 cached_has_bits = 0;
2558 // Prevent compiler warnings about cached_has_bits being unused
2559 (void) cached_has_bits;
2560
2561 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
2562 delete device_uuid_;
2563 }
2564 device_uuid_ = nullptr;
2565 _internal_metadata_.Clear();
2566}
2567
2568#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2569const char* StartupConfigInfoRequest::_InternalParse(const char* begin, const char* end, void* object,
2570 ::google::protobuf::internal::ParseContext* ctx) {
2571 auto msg = static_cast<StartupConfigInfoRequest*>(object);
2572 ::google::protobuf::int32 size; (void)size;
2573 int depth; (void)depth;
2574 ::google::protobuf::uint32 tag;
2575 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
2576 auto ptr = begin;
2577 while (ptr < end) {
2578 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
2579 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
2580 switch (tag >> 3) {
2581 // .dmi.Uuid device_uuid = 1;
2582 case 1: {
2583 if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual;
2584 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
2585 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
2586 parser_till_end = ::dmi::Uuid::_InternalParse;
2587 object = msg->mutable_device_uuid();
2588 if (size > end - ptr) goto len_delim_till_end;
2589 ptr += size;
2590 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
2591 {parser_till_end, object}, ptr - size, ptr));
2592 break;
2593 }
2594 default: {
2595 handle_unusual:
2596 if ((tag & 7) == 4 || tag == 0) {
2597 ctx->EndGroup(tag);
2598 return ptr;
2599 }
2600 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
2601 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
2602 ptr = res.first;
2603 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
2604 if (res.second) return ptr;
2605 }
2606 } // switch
2607 } // while
2608 return ptr;
2609len_delim_till_end:
2610 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
2611 {parser_till_end, object}, size);
2612}
2613#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2614bool StartupConfigInfoRequest::MergePartialFromCodedStream(
2615 ::google::protobuf::io::CodedInputStream* input) {
2616#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
2617 ::google::protobuf::uint32 tag;
2618 // @@protoc_insertion_point(parse_start:dmi.StartupConfigInfoRequest)
2619 for (;;) {
2620 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
2621 tag = p.first;
2622 if (!p.second) goto handle_unusual;
2623 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2624 // .dmi.Uuid device_uuid = 1;
2625 case 1: {
2626 if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) {
2627 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
2628 input, mutable_device_uuid()));
2629 } else {
2630 goto handle_unusual;
2631 }
2632 break;
2633 }
2634
2635 default: {
2636 handle_unusual:
2637 if (tag == 0) {
2638 goto success;
2639 }
2640 DO_(::google::protobuf::internal::WireFormat::SkipField(
2641 input, tag, _internal_metadata_.mutable_unknown_fields()));
2642 break;
2643 }
2644 }
2645 }
2646success:
2647 // @@protoc_insertion_point(parse_success:dmi.StartupConfigInfoRequest)
2648 return true;
2649failure:
2650 // @@protoc_insertion_point(parse_failure:dmi.StartupConfigInfoRequest)
2651 return false;
2652#undef DO_
2653}
2654#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2655
2656void StartupConfigInfoRequest::SerializeWithCachedSizes(
2657 ::google::protobuf::io::CodedOutputStream* output) const {
2658 // @@protoc_insertion_point(serialize_start:dmi.StartupConfigInfoRequest)
2659 ::google::protobuf::uint32 cached_has_bits = 0;
2660 (void) cached_has_bits;
2661
2662 // .dmi.Uuid device_uuid = 1;
2663 if (this->has_device_uuid()) {
2664 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2665 1, HasBitSetters::device_uuid(this), output);
2666 }
2667
2668 if (_internal_metadata_.have_unknown_fields()) {
2669 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2670 _internal_metadata_.unknown_fields(), output);
2671 }
2672 // @@protoc_insertion_point(serialize_end:dmi.StartupConfigInfoRequest)
2673}
2674
2675::google::protobuf::uint8* StartupConfigInfoRequest::InternalSerializeWithCachedSizesToArray(
2676 ::google::protobuf::uint8* target) const {
2677 // @@protoc_insertion_point(serialize_to_array_start:dmi.StartupConfigInfoRequest)
2678 ::google::protobuf::uint32 cached_has_bits = 0;
2679 (void) cached_has_bits;
2680
2681 // .dmi.Uuid device_uuid = 1;
2682 if (this->has_device_uuid()) {
2683 target = ::google::protobuf::internal::WireFormatLite::
2684 InternalWriteMessageToArray(
2685 1, HasBitSetters::device_uuid(this), target);
2686 }
2687
2688 if (_internal_metadata_.have_unknown_fields()) {
2689 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
2690 _internal_metadata_.unknown_fields(), target);
2691 }
2692 // @@protoc_insertion_point(serialize_to_array_end:dmi.StartupConfigInfoRequest)
2693 return target;
2694}
2695
2696size_t StartupConfigInfoRequest::ByteSizeLong() const {
2697// @@protoc_insertion_point(message_byte_size_start:dmi.StartupConfigInfoRequest)
2698 size_t total_size = 0;
2699
2700 if (_internal_metadata_.have_unknown_fields()) {
2701 total_size +=
2702 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
2703 _internal_metadata_.unknown_fields());
2704 }
2705 ::google::protobuf::uint32 cached_has_bits = 0;
2706 // Prevent compiler warnings about cached_has_bits being unused
2707 (void) cached_has_bits;
2708
2709 // .dmi.Uuid device_uuid = 1;
2710 if (this->has_device_uuid()) {
2711 total_size += 1 +
2712 ::google::protobuf::internal::WireFormatLite::MessageSize(
2713 *device_uuid_);
2714 }
2715
2716 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
2717 SetCachedSize(cached_size);
2718 return total_size;
2719}
2720
2721void StartupConfigInfoRequest::MergeFrom(const ::google::protobuf::Message& from) {
2722// @@protoc_insertion_point(generalized_merge_from_start:dmi.StartupConfigInfoRequest)
2723 GOOGLE_DCHECK_NE(&from, this);
2724 const StartupConfigInfoRequest* source =
2725 ::google::protobuf::DynamicCastToGenerated<StartupConfigInfoRequest>(
2726 &from);
2727 if (source == nullptr) {
2728 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.StartupConfigInfoRequest)
2729 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2730 } else {
2731 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.StartupConfigInfoRequest)
2732 MergeFrom(*source);
2733 }
2734}
2735
2736void StartupConfigInfoRequest::MergeFrom(const StartupConfigInfoRequest& from) {
2737// @@protoc_insertion_point(class_specific_merge_from_start:dmi.StartupConfigInfoRequest)
2738 GOOGLE_DCHECK_NE(&from, this);
2739 _internal_metadata_.MergeFrom(from._internal_metadata_);
2740 ::google::protobuf::uint32 cached_has_bits = 0;
2741 (void) cached_has_bits;
2742
2743 if (from.has_device_uuid()) {
2744 mutable_device_uuid()->::dmi::Uuid::MergeFrom(from.device_uuid());
2745 }
2746}
2747
2748void StartupConfigInfoRequest::CopyFrom(const ::google::protobuf::Message& from) {
2749// @@protoc_insertion_point(generalized_copy_from_start:dmi.StartupConfigInfoRequest)
2750 if (&from == this) return;
2751 Clear();
2752 MergeFrom(from);
2753}
2754
2755void StartupConfigInfoRequest::CopyFrom(const StartupConfigInfoRequest& from) {
2756// @@protoc_insertion_point(class_specific_copy_from_start:dmi.StartupConfigInfoRequest)
2757 if (&from == this) return;
2758 Clear();
2759 MergeFrom(from);
2760}
2761
2762bool StartupConfigInfoRequest::IsInitialized() const {
2763 return true;
2764}
2765
2766void StartupConfigInfoRequest::Swap(StartupConfigInfoRequest* other) {
2767 if (other == this) return;
2768 InternalSwap(other);
2769}
2770void StartupConfigInfoRequest::InternalSwap(StartupConfigInfoRequest* other) {
2771 using std::swap;
2772 _internal_metadata_.Swap(&other->_internal_metadata_);
2773 swap(device_uuid_, other->device_uuid_);
2774}
2775
2776::google::protobuf::Metadata StartupConfigInfoRequest::GetMetadata() const {
2777 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fsw_5fmanagement_5fservice_2eproto);
2778 return ::file_level_metadata_dmi_2fsw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
2779}
2780
2781
2782// ===================================================================
2783
2784void StartupConfigInfoResponse::InitAsDefaultInstance() {
2785}
2786class StartupConfigInfoResponse::HasBitSetters {
2787 public:
2788};
2789
2790#if !defined(_MSC_VER) || _MSC_VER >= 1900
2791const int StartupConfigInfoResponse::kStatusFieldNumber;
2792const int StartupConfigInfoResponse::kReasonFieldNumber;
2793const int StartupConfigInfoResponse::kConfigUrlFieldNumber;
2794const int StartupConfigInfoResponse::kVersionFieldNumber;
2795const int StartupConfigInfoResponse::kReasonDetailFieldNumber;
2796#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
2797
2798StartupConfigInfoResponse::StartupConfigInfoResponse()
2799 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
2800 SharedCtor();
2801 // @@protoc_insertion_point(constructor:dmi.StartupConfigInfoResponse)
2802}
2803StartupConfigInfoResponse::StartupConfigInfoResponse(const StartupConfigInfoResponse& from)
2804 : ::google::protobuf::Message(),
2805 _internal_metadata_(nullptr) {
2806 _internal_metadata_.MergeFrom(from._internal_metadata_);
2807 config_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2808 if (from.config_url().size() > 0) {
2809 config_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.config_url_);
2810 }
2811 version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2812 if (from.version().size() > 0) {
2813 version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.version_);
2814 }
2815 reason_detail_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2816 if (from.reason_detail().size() > 0) {
2817 reason_detail_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_detail_);
2818 }
2819 ::memcpy(&status_, &from.status_,
2820 static_cast<size_t>(reinterpret_cast<char*>(&reason_) -
2821 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
2822 // @@protoc_insertion_point(copy_constructor:dmi.StartupConfigInfoResponse)
2823}
2824
2825void StartupConfigInfoResponse::SharedCtor() {
2826 ::google::protobuf::internal::InitSCC(
2827 &scc_info_StartupConfigInfoResponse_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
2828 config_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2829 version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2830 reason_detail_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2831 ::memset(&status_, 0, static_cast<size_t>(
2832 reinterpret_cast<char*>(&reason_) -
2833 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
2834}
2835
2836StartupConfigInfoResponse::~StartupConfigInfoResponse() {
2837 // @@protoc_insertion_point(destructor:dmi.StartupConfigInfoResponse)
2838 SharedDtor();
2839}
2840
2841void StartupConfigInfoResponse::SharedDtor() {
2842 config_url_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2843 version_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2844 reason_detail_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2845}
2846
2847void StartupConfigInfoResponse::SetCachedSize(int size) const {
2848 _cached_size_.Set(size);
2849}
2850const StartupConfigInfoResponse& StartupConfigInfoResponse::default_instance() {
2851 ::google::protobuf::internal::InitSCC(&::scc_info_StartupConfigInfoResponse_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
2852 return *internal_default_instance();
2853}
2854
2855
2856void StartupConfigInfoResponse::Clear() {
2857// @@protoc_insertion_point(message_clear_start:dmi.StartupConfigInfoResponse)
2858 ::google::protobuf::uint32 cached_has_bits = 0;
2859 // Prevent compiler warnings about cached_has_bits being unused
2860 (void) cached_has_bits;
2861
2862 config_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2863 version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2864 reason_detail_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2865 ::memset(&status_, 0, static_cast<size_t>(
2866 reinterpret_cast<char*>(&reason_) -
2867 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
2868 _internal_metadata_.Clear();
2869}
2870
2871#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2872const char* StartupConfigInfoResponse::_InternalParse(const char* begin, const char* end, void* object,
2873 ::google::protobuf::internal::ParseContext* ctx) {
2874 auto msg = static_cast<StartupConfigInfoResponse*>(object);
2875 ::google::protobuf::int32 size; (void)size;
2876 int depth; (void)depth;
2877 ::google::protobuf::uint32 tag;
2878 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
2879 auto ptr = begin;
2880 while (ptr < end) {
2881 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
2882 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
2883 switch (tag >> 3) {
2884 // .dmi.Status status = 1;
2885 case 1: {
2886 if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual;
2887 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
2888 msg->set_status(static_cast<::dmi::Status>(val));
2889 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
2890 break;
2891 }
2892 // .dmi.StartupConfigInfoResponse.Reason reason = 2;
2893 case 2: {
2894 if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual;
2895 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
2896 msg->set_reason(static_cast<::dmi::StartupConfigInfoResponse_Reason>(val));
2897 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
2898 break;
2899 }
2900 // string config_url = 3;
2901 case 3: {
2902 if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual;
2903 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
2904 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
2905 ctx->extra_parse_data().SetFieldName("dmi.StartupConfigInfoResponse.config_url");
2906 object = msg->mutable_config_url();
2907 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
2908 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
2909 goto string_till_end;
2910 }
2911 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
2912 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
2913 ptr += size;
2914 break;
2915 }
2916 // string version = 4;
2917 case 4: {
2918 if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual;
2919 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
2920 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
2921 ctx->extra_parse_data().SetFieldName("dmi.StartupConfigInfoResponse.version");
2922 object = msg->mutable_version();
2923 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
2924 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
2925 goto string_till_end;
2926 }
2927 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
2928 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
2929 ptr += size;
2930 break;
2931 }
2932 // string reason_detail = 5;
2933 case 5: {
2934 if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual;
2935 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
2936 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
2937 ctx->extra_parse_data().SetFieldName("dmi.StartupConfigInfoResponse.reason_detail");
2938 object = msg->mutable_reason_detail();
2939 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
2940 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
2941 goto string_till_end;
2942 }
2943 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
2944 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
2945 ptr += size;
2946 break;
2947 }
2948 default: {
2949 handle_unusual:
2950 if ((tag & 7) == 4 || tag == 0) {
2951 ctx->EndGroup(tag);
2952 return ptr;
2953 }
2954 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
2955 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
2956 ptr = res.first;
2957 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
2958 if (res.second) return ptr;
2959 }
2960 } // switch
2961 } // while
2962 return ptr;
2963string_till_end:
2964 static_cast<::std::string*>(object)->clear();
2965 static_cast<::std::string*>(object)->reserve(size);
2966 goto len_delim_till_end;
2967len_delim_till_end:
2968 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
2969 {parser_till_end, object}, size);
2970}
2971#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2972bool StartupConfigInfoResponse::MergePartialFromCodedStream(
2973 ::google::protobuf::io::CodedInputStream* input) {
2974#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
2975 ::google::protobuf::uint32 tag;
2976 // @@protoc_insertion_point(parse_start:dmi.StartupConfigInfoResponse)
2977 for (;;) {
2978 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
2979 tag = p.first;
2980 if (!p.second) goto handle_unusual;
2981 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2982 // .dmi.Status status = 1;
2983 case 1: {
2984 if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) {
2985 int value = 0;
2986 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2987 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
2988 input, &value)));
2989 set_status(static_cast< ::dmi::Status >(value));
2990 } else {
2991 goto handle_unusual;
2992 }
2993 break;
2994 }
2995
2996 // .dmi.StartupConfigInfoResponse.Reason reason = 2;
2997 case 2: {
2998 if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) {
2999 int value = 0;
3000 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3001 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
3002 input, &value)));
3003 set_reason(static_cast< ::dmi::StartupConfigInfoResponse_Reason >(value));
3004 } else {
3005 goto handle_unusual;
3006 }
3007 break;
3008 }
3009
3010 // string config_url = 3;
3011 case 3: {
3012 if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) {
3013 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
3014 input, this->mutable_config_url()));
3015 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3016 this->config_url().data(), static_cast<int>(this->config_url().length()),
3017 ::google::protobuf::internal::WireFormatLite::PARSE,
3018 "dmi.StartupConfigInfoResponse.config_url"));
3019 } else {
3020 goto handle_unusual;
3021 }
3022 break;
3023 }
3024
3025 // string version = 4;
3026 case 4: {
3027 if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) {
3028 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
3029 input, this->mutable_version()));
3030 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3031 this->version().data(), static_cast<int>(this->version().length()),
3032 ::google::protobuf::internal::WireFormatLite::PARSE,
3033 "dmi.StartupConfigInfoResponse.version"));
3034 } else {
3035 goto handle_unusual;
3036 }
3037 break;
3038 }
3039
3040 // string reason_detail = 5;
3041 case 5: {
3042 if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) {
3043 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
3044 input, this->mutable_reason_detail()));
3045 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3046 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
3047 ::google::protobuf::internal::WireFormatLite::PARSE,
3048 "dmi.StartupConfigInfoResponse.reason_detail"));
3049 } else {
3050 goto handle_unusual;
3051 }
3052 break;
3053 }
3054
3055 default: {
3056 handle_unusual:
3057 if (tag == 0) {
3058 goto success;
3059 }
3060 DO_(::google::protobuf::internal::WireFormat::SkipField(
3061 input, tag, _internal_metadata_.mutable_unknown_fields()));
3062 break;
3063 }
3064 }
3065 }
3066success:
3067 // @@protoc_insertion_point(parse_success:dmi.StartupConfigInfoResponse)
3068 return true;
3069failure:
3070 // @@protoc_insertion_point(parse_failure:dmi.StartupConfigInfoResponse)
3071 return false;
3072#undef DO_
3073}
3074#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3075
3076void StartupConfigInfoResponse::SerializeWithCachedSizes(
3077 ::google::protobuf::io::CodedOutputStream* output) const {
3078 // @@protoc_insertion_point(serialize_start:dmi.StartupConfigInfoResponse)
3079 ::google::protobuf::uint32 cached_has_bits = 0;
3080 (void) cached_has_bits;
3081
3082 // .dmi.Status status = 1;
3083 if (this->status() != 0) {
3084 ::google::protobuf::internal::WireFormatLite::WriteEnum(
3085 1, this->status(), output);
3086 }
3087
3088 // .dmi.StartupConfigInfoResponse.Reason reason = 2;
3089 if (this->reason() != 0) {
3090 ::google::protobuf::internal::WireFormatLite::WriteEnum(
3091 2, this->reason(), output);
3092 }
3093
3094 // string config_url = 3;
3095 if (this->config_url().size() > 0) {
3096 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3097 this->config_url().data(), static_cast<int>(this->config_url().length()),
3098 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
3099 "dmi.StartupConfigInfoResponse.config_url");
3100 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
3101 3, this->config_url(), output);
3102 }
3103
3104 // string version = 4;
3105 if (this->version().size() > 0) {
3106 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3107 this->version().data(), static_cast<int>(this->version().length()),
3108 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
3109 "dmi.StartupConfigInfoResponse.version");
3110 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
3111 4, this->version(), output);
3112 }
3113
3114 // string reason_detail = 5;
3115 if (this->reason_detail().size() > 0) {
3116 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3117 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
3118 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
3119 "dmi.StartupConfigInfoResponse.reason_detail");
3120 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
3121 5, this->reason_detail(), output);
3122 }
3123
3124 if (_internal_metadata_.have_unknown_fields()) {
3125 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3126 _internal_metadata_.unknown_fields(), output);
3127 }
3128 // @@protoc_insertion_point(serialize_end:dmi.StartupConfigInfoResponse)
3129}
3130
3131::google::protobuf::uint8* StartupConfigInfoResponse::InternalSerializeWithCachedSizesToArray(
3132 ::google::protobuf::uint8* target) const {
3133 // @@protoc_insertion_point(serialize_to_array_start:dmi.StartupConfigInfoResponse)
3134 ::google::protobuf::uint32 cached_has_bits = 0;
3135 (void) cached_has_bits;
3136
3137 // .dmi.Status status = 1;
3138 if (this->status() != 0) {
3139 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
3140 1, this->status(), target);
3141 }
3142
3143 // .dmi.StartupConfigInfoResponse.Reason reason = 2;
3144 if (this->reason() != 0) {
3145 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
3146 2, this->reason(), target);
3147 }
3148
3149 // string config_url = 3;
3150 if (this->config_url().size() > 0) {
3151 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3152 this->config_url().data(), static_cast<int>(this->config_url().length()),
3153 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
3154 "dmi.StartupConfigInfoResponse.config_url");
3155 target =
3156 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
3157 3, this->config_url(), target);
3158 }
3159
3160 // string version = 4;
3161 if (this->version().size() > 0) {
3162 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3163 this->version().data(), static_cast<int>(this->version().length()),
3164 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
3165 "dmi.StartupConfigInfoResponse.version");
3166 target =
3167 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
3168 4, this->version(), target);
3169 }
3170
3171 // string reason_detail = 5;
3172 if (this->reason_detail().size() > 0) {
3173 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3174 this->reason_detail().data(), static_cast<int>(this->reason_detail().length()),
3175 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
3176 "dmi.StartupConfigInfoResponse.reason_detail");
3177 target =
3178 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
3179 5, this->reason_detail(), target);
3180 }
3181
3182 if (_internal_metadata_.have_unknown_fields()) {
3183 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3184 _internal_metadata_.unknown_fields(), target);
3185 }
3186 // @@protoc_insertion_point(serialize_to_array_end:dmi.StartupConfigInfoResponse)
3187 return target;
3188}
3189
3190size_t StartupConfigInfoResponse::ByteSizeLong() const {
3191// @@protoc_insertion_point(message_byte_size_start:dmi.StartupConfigInfoResponse)
3192 size_t total_size = 0;
3193
3194 if (_internal_metadata_.have_unknown_fields()) {
3195 total_size +=
3196 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3197 _internal_metadata_.unknown_fields());
3198 }
3199 ::google::protobuf::uint32 cached_has_bits = 0;
3200 // Prevent compiler warnings about cached_has_bits being unused
3201 (void) cached_has_bits;
3202
3203 // string config_url = 3;
3204 if (this->config_url().size() > 0) {
3205 total_size += 1 +
3206 ::google::protobuf::internal::WireFormatLite::StringSize(
3207 this->config_url());
3208 }
3209
3210 // string version = 4;
3211 if (this->version().size() > 0) {
3212 total_size += 1 +
3213 ::google::protobuf::internal::WireFormatLite::StringSize(
3214 this->version());
3215 }
3216
3217 // string reason_detail = 5;
3218 if (this->reason_detail().size() > 0) {
3219 total_size += 1 +
3220 ::google::protobuf::internal::WireFormatLite::StringSize(
3221 this->reason_detail());
3222 }
3223
3224 // .dmi.Status status = 1;
3225 if (this->status() != 0) {
3226 total_size += 1 +
3227 ::google::protobuf::internal::WireFormatLite::EnumSize(this->status());
3228 }
3229
3230 // .dmi.StartupConfigInfoResponse.Reason reason = 2;
3231 if (this->reason() != 0) {
3232 total_size += 1 +
3233 ::google::protobuf::internal::WireFormatLite::EnumSize(this->reason());
3234 }
3235
3236 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3237 SetCachedSize(cached_size);
3238 return total_size;
3239}
3240
3241void StartupConfigInfoResponse::MergeFrom(const ::google::protobuf::Message& from) {
3242// @@protoc_insertion_point(generalized_merge_from_start:dmi.StartupConfigInfoResponse)
3243 GOOGLE_DCHECK_NE(&from, this);
3244 const StartupConfigInfoResponse* source =
3245 ::google::protobuf::DynamicCastToGenerated<StartupConfigInfoResponse>(
3246 &from);
3247 if (source == nullptr) {
3248 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.StartupConfigInfoResponse)
3249 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3250 } else {
3251 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.StartupConfigInfoResponse)
3252 MergeFrom(*source);
3253 }
3254}
3255
3256void StartupConfigInfoResponse::MergeFrom(const StartupConfigInfoResponse& from) {
3257// @@protoc_insertion_point(class_specific_merge_from_start:dmi.StartupConfigInfoResponse)
3258 GOOGLE_DCHECK_NE(&from, this);
3259 _internal_metadata_.MergeFrom(from._internal_metadata_);
3260 ::google::protobuf::uint32 cached_has_bits = 0;
3261 (void) cached_has_bits;
3262
3263 if (from.config_url().size() > 0) {
3264
3265 config_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.config_url_);
3266 }
3267 if (from.version().size() > 0) {
3268
3269 version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.version_);
3270 }
3271 if (from.reason_detail().size() > 0) {
3272
3273 reason_detail_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_detail_);
3274 }
3275 if (from.status() != 0) {
3276 set_status(from.status());
3277 }
3278 if (from.reason() != 0) {
3279 set_reason(from.reason());
3280 }
3281}
3282
3283void StartupConfigInfoResponse::CopyFrom(const ::google::protobuf::Message& from) {
3284// @@protoc_insertion_point(generalized_copy_from_start:dmi.StartupConfigInfoResponse)
3285 if (&from == this) return;
3286 Clear();
3287 MergeFrom(from);
3288}
3289
3290void StartupConfigInfoResponse::CopyFrom(const StartupConfigInfoResponse& from) {
3291// @@protoc_insertion_point(class_specific_copy_from_start:dmi.StartupConfigInfoResponse)
3292 if (&from == this) return;
3293 Clear();
3294 MergeFrom(from);
3295}
3296
3297bool StartupConfigInfoResponse::IsInitialized() const {
3298 return true;
3299}
3300
3301void StartupConfigInfoResponse::Swap(StartupConfigInfoResponse* other) {
3302 if (other == this) return;
3303 InternalSwap(other);
3304}
3305void StartupConfigInfoResponse::InternalSwap(StartupConfigInfoResponse* other) {
3306 using std::swap;
3307 _internal_metadata_.Swap(&other->_internal_metadata_);
3308 config_url_.Swap(&other->config_url_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3309 GetArenaNoVirtual());
3310 version_.Swap(&other->version_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3311 GetArenaNoVirtual());
3312 reason_detail_.Swap(&other->reason_detail_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3313 GetArenaNoVirtual());
3314 swap(status_, other->status_);
3315 swap(reason_, other->reason_);
3316}
3317
3318::google::protobuf::Metadata StartupConfigInfoResponse::GetMetadata() const {
3319 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fsw_5fmanagement_5fservice_2eproto);
3320 return ::file_level_metadata_dmi_2fsw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
3321}
3322
3323
amit.ghosh5a689802022-09-12 14:26:10 +02003324// ===================================================================
3325
3326void UploadDebugInfoRequest::InitAsDefaultInstance() {
3327 ::dmi::_UploadDebugInfoRequest_default_instance_._instance.get_mutable()->device_uuid_ = const_cast< ::dmi::Uuid*>(
3328 ::dmi::Uuid::internal_default_instance());
3329}
3330class UploadDebugInfoRequest::HasBitSetters {
3331 public:
3332 static const ::dmi::Uuid& device_uuid(const UploadDebugInfoRequest* msg);
3333};
3334
3335const ::dmi::Uuid&
3336UploadDebugInfoRequest::HasBitSetters::device_uuid(const UploadDebugInfoRequest* msg) {
3337 return *msg->device_uuid_;
3338}
3339void UploadDebugInfoRequest::clear_device_uuid() {
3340 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
3341 delete device_uuid_;
3342 }
3343 device_uuid_ = nullptr;
3344}
3345#if !defined(_MSC_VER) || _MSC_VER >= 1900
3346const int UploadDebugInfoRequest::kDeviceUuidFieldNumber;
3347const int UploadDebugInfoRequest::kLocationUrlFieldNumber;
3348#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
3349
3350UploadDebugInfoRequest::UploadDebugInfoRequest()
3351 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
3352 SharedCtor();
3353 // @@protoc_insertion_point(constructor:dmi.UploadDebugInfoRequest)
3354}
3355UploadDebugInfoRequest::UploadDebugInfoRequest(const UploadDebugInfoRequest& from)
3356 : ::google::protobuf::Message(),
3357 _internal_metadata_(nullptr) {
3358 _internal_metadata_.MergeFrom(from._internal_metadata_);
3359 location_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3360 if (from.location_url().size() > 0) {
3361 location_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.location_url_);
3362 }
3363 if (from.has_device_uuid()) {
3364 device_uuid_ = new ::dmi::Uuid(*from.device_uuid_);
3365 } else {
3366 device_uuid_ = nullptr;
3367 }
3368 // @@protoc_insertion_point(copy_constructor:dmi.UploadDebugInfoRequest)
3369}
3370
3371void UploadDebugInfoRequest::SharedCtor() {
3372 ::google::protobuf::internal::InitSCC(
3373 &scc_info_UploadDebugInfoRequest_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
3374 location_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3375 device_uuid_ = nullptr;
3376}
3377
3378UploadDebugInfoRequest::~UploadDebugInfoRequest() {
3379 // @@protoc_insertion_point(destructor:dmi.UploadDebugInfoRequest)
3380 SharedDtor();
3381}
3382
3383void UploadDebugInfoRequest::SharedDtor() {
3384 location_url_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3385 if (this != internal_default_instance()) delete device_uuid_;
3386}
3387
3388void UploadDebugInfoRequest::SetCachedSize(int size) const {
3389 _cached_size_.Set(size);
3390}
3391const UploadDebugInfoRequest& UploadDebugInfoRequest::default_instance() {
3392 ::google::protobuf::internal::InitSCC(&::scc_info_UploadDebugInfoRequest_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
3393 return *internal_default_instance();
3394}
3395
3396
3397void UploadDebugInfoRequest::Clear() {
3398// @@protoc_insertion_point(message_clear_start:dmi.UploadDebugInfoRequest)
3399 ::google::protobuf::uint32 cached_has_bits = 0;
3400 // Prevent compiler warnings about cached_has_bits being unused
3401 (void) cached_has_bits;
3402
3403 location_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3404 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
3405 delete device_uuid_;
3406 }
3407 device_uuid_ = nullptr;
3408 _internal_metadata_.Clear();
3409}
3410
3411#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3412const char* UploadDebugInfoRequest::_InternalParse(const char* begin, const char* end, void* object,
3413 ::google::protobuf::internal::ParseContext* ctx) {
3414 auto msg = static_cast<UploadDebugInfoRequest*>(object);
3415 ::google::protobuf::int32 size; (void)size;
3416 int depth; (void)depth;
3417 ::google::protobuf::uint32 tag;
3418 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
3419 auto ptr = begin;
3420 while (ptr < end) {
3421 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
3422 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
3423 switch (tag >> 3) {
3424 // .dmi.Uuid device_uuid = 1;
3425 case 1: {
3426 if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual;
3427 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
3428 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
3429 parser_till_end = ::dmi::Uuid::_InternalParse;
3430 object = msg->mutable_device_uuid();
3431 if (size > end - ptr) goto len_delim_till_end;
3432 ptr += size;
3433 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
3434 {parser_till_end, object}, ptr - size, ptr));
3435 break;
3436 }
3437 // string location_url = 3;
3438 case 3: {
3439 if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual;
3440 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
3441 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
3442 ctx->extra_parse_data().SetFieldName("dmi.UploadDebugInfoRequest.location_url");
3443 object = msg->mutable_location_url();
3444 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
3445 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
3446 goto string_till_end;
3447 }
3448 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
3449 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
3450 ptr += size;
3451 break;
3452 }
3453 default: {
3454 handle_unusual:
3455 if ((tag & 7) == 4 || tag == 0) {
3456 ctx->EndGroup(tag);
3457 return ptr;
3458 }
3459 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
3460 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
3461 ptr = res.first;
3462 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
3463 if (res.second) return ptr;
3464 }
3465 } // switch
3466 } // while
3467 return ptr;
3468string_till_end:
3469 static_cast<::std::string*>(object)->clear();
3470 static_cast<::std::string*>(object)->reserve(size);
3471 goto len_delim_till_end;
3472len_delim_till_end:
3473 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
3474 {parser_till_end, object}, size);
3475}
3476#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3477bool UploadDebugInfoRequest::MergePartialFromCodedStream(
3478 ::google::protobuf::io::CodedInputStream* input) {
3479#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
3480 ::google::protobuf::uint32 tag;
3481 // @@protoc_insertion_point(parse_start:dmi.UploadDebugInfoRequest)
3482 for (;;) {
3483 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3484 tag = p.first;
3485 if (!p.second) goto handle_unusual;
3486 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3487 // .dmi.Uuid device_uuid = 1;
3488 case 1: {
3489 if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) {
3490 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3491 input, mutable_device_uuid()));
3492 } else {
3493 goto handle_unusual;
3494 }
3495 break;
3496 }
3497
3498 // string location_url = 3;
3499 case 3: {
3500 if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) {
3501 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
3502 input, this->mutable_location_url()));
3503 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3504 this->location_url().data(), static_cast<int>(this->location_url().length()),
3505 ::google::protobuf::internal::WireFormatLite::PARSE,
3506 "dmi.UploadDebugInfoRequest.location_url"));
3507 } else {
3508 goto handle_unusual;
3509 }
3510 break;
3511 }
3512
3513 default: {
3514 handle_unusual:
3515 if (tag == 0) {
3516 goto success;
3517 }
3518 DO_(::google::protobuf::internal::WireFormat::SkipField(
3519 input, tag, _internal_metadata_.mutable_unknown_fields()));
3520 break;
3521 }
3522 }
3523 }
3524success:
3525 // @@protoc_insertion_point(parse_success:dmi.UploadDebugInfoRequest)
3526 return true;
3527failure:
3528 // @@protoc_insertion_point(parse_failure:dmi.UploadDebugInfoRequest)
3529 return false;
3530#undef DO_
3531}
3532#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3533
3534void UploadDebugInfoRequest::SerializeWithCachedSizes(
3535 ::google::protobuf::io::CodedOutputStream* output) const {
3536 // @@protoc_insertion_point(serialize_start:dmi.UploadDebugInfoRequest)
3537 ::google::protobuf::uint32 cached_has_bits = 0;
3538 (void) cached_has_bits;
3539
3540 // .dmi.Uuid device_uuid = 1;
3541 if (this->has_device_uuid()) {
3542 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3543 1, HasBitSetters::device_uuid(this), output);
3544 }
3545
3546 // string location_url = 3;
3547 if (this->location_url().size() > 0) {
3548 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3549 this->location_url().data(), static_cast<int>(this->location_url().length()),
3550 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
3551 "dmi.UploadDebugInfoRequest.location_url");
3552 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
3553 3, this->location_url(), output);
3554 }
3555
3556 if (_internal_metadata_.have_unknown_fields()) {
3557 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3558 _internal_metadata_.unknown_fields(), output);
3559 }
3560 // @@protoc_insertion_point(serialize_end:dmi.UploadDebugInfoRequest)
3561}
3562
3563::google::protobuf::uint8* UploadDebugInfoRequest::InternalSerializeWithCachedSizesToArray(
3564 ::google::protobuf::uint8* target) const {
3565 // @@protoc_insertion_point(serialize_to_array_start:dmi.UploadDebugInfoRequest)
3566 ::google::protobuf::uint32 cached_has_bits = 0;
3567 (void) cached_has_bits;
3568
3569 // .dmi.Uuid device_uuid = 1;
3570 if (this->has_device_uuid()) {
3571 target = ::google::protobuf::internal::WireFormatLite::
3572 InternalWriteMessageToArray(
3573 1, HasBitSetters::device_uuid(this), target);
3574 }
3575
3576 // string location_url = 3;
3577 if (this->location_url().size() > 0) {
3578 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3579 this->location_url().data(), static_cast<int>(this->location_url().length()),
3580 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
3581 "dmi.UploadDebugInfoRequest.location_url");
3582 target =
3583 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
3584 3, this->location_url(), target);
3585 }
3586
3587 if (_internal_metadata_.have_unknown_fields()) {
3588 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3589 _internal_metadata_.unknown_fields(), target);
3590 }
3591 // @@protoc_insertion_point(serialize_to_array_end:dmi.UploadDebugInfoRequest)
3592 return target;
3593}
3594
3595size_t UploadDebugInfoRequest::ByteSizeLong() const {
3596// @@protoc_insertion_point(message_byte_size_start:dmi.UploadDebugInfoRequest)
3597 size_t total_size = 0;
3598
3599 if (_internal_metadata_.have_unknown_fields()) {
3600 total_size +=
3601 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3602 _internal_metadata_.unknown_fields());
3603 }
3604 ::google::protobuf::uint32 cached_has_bits = 0;
3605 // Prevent compiler warnings about cached_has_bits being unused
3606 (void) cached_has_bits;
3607
3608 // string location_url = 3;
3609 if (this->location_url().size() > 0) {
3610 total_size += 1 +
3611 ::google::protobuf::internal::WireFormatLite::StringSize(
3612 this->location_url());
3613 }
3614
3615 // .dmi.Uuid device_uuid = 1;
3616 if (this->has_device_uuid()) {
3617 total_size += 1 +
3618 ::google::protobuf::internal::WireFormatLite::MessageSize(
3619 *device_uuid_);
3620 }
3621
3622 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3623 SetCachedSize(cached_size);
3624 return total_size;
3625}
3626
3627void UploadDebugInfoRequest::MergeFrom(const ::google::protobuf::Message& from) {
3628// @@protoc_insertion_point(generalized_merge_from_start:dmi.UploadDebugInfoRequest)
3629 GOOGLE_DCHECK_NE(&from, this);
3630 const UploadDebugInfoRequest* source =
3631 ::google::protobuf::DynamicCastToGenerated<UploadDebugInfoRequest>(
3632 &from);
3633 if (source == nullptr) {
3634 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.UploadDebugInfoRequest)
3635 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3636 } else {
3637 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.UploadDebugInfoRequest)
3638 MergeFrom(*source);
3639 }
3640}
3641
3642void UploadDebugInfoRequest::MergeFrom(const UploadDebugInfoRequest& from) {
3643// @@protoc_insertion_point(class_specific_merge_from_start:dmi.UploadDebugInfoRequest)
3644 GOOGLE_DCHECK_NE(&from, this);
3645 _internal_metadata_.MergeFrom(from._internal_metadata_);
3646 ::google::protobuf::uint32 cached_has_bits = 0;
3647 (void) cached_has_bits;
3648
3649 if (from.location_url().size() > 0) {
3650
3651 location_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.location_url_);
3652 }
3653 if (from.has_device_uuid()) {
3654 mutable_device_uuid()->::dmi::Uuid::MergeFrom(from.device_uuid());
3655 }
3656}
3657
3658void UploadDebugInfoRequest::CopyFrom(const ::google::protobuf::Message& from) {
3659// @@protoc_insertion_point(generalized_copy_from_start:dmi.UploadDebugInfoRequest)
3660 if (&from == this) return;
3661 Clear();
3662 MergeFrom(from);
3663}
3664
3665void UploadDebugInfoRequest::CopyFrom(const UploadDebugInfoRequest& from) {
3666// @@protoc_insertion_point(class_specific_copy_from_start:dmi.UploadDebugInfoRequest)
3667 if (&from == this) return;
3668 Clear();
3669 MergeFrom(from);
3670}
3671
3672bool UploadDebugInfoRequest::IsInitialized() const {
3673 return true;
3674}
3675
3676void UploadDebugInfoRequest::Swap(UploadDebugInfoRequest* other) {
3677 if (other == this) return;
3678 InternalSwap(other);
3679}
3680void UploadDebugInfoRequest::InternalSwap(UploadDebugInfoRequest* other) {
3681 using std::swap;
3682 _internal_metadata_.Swap(&other->_internal_metadata_);
3683 location_url_.Swap(&other->location_url_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3684 GetArenaNoVirtual());
3685 swap(device_uuid_, other->device_uuid_);
3686}
3687
3688::google::protobuf::Metadata UploadDebugInfoRequest::GetMetadata() const {
3689 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fsw_5fmanagement_5fservice_2eproto);
3690 return ::file_level_metadata_dmi_2fsw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
3691}
3692
3693
3694// ===================================================================
3695
3696void UploadDebugInfoStatus::InitAsDefaultInstance() {
3697 ::dmi::_UploadDebugInfoStatus_default_instance_._instance.get_mutable()->device_uuid_ = const_cast< ::dmi::Uuid*>(
3698 ::dmi::Uuid::internal_default_instance());
3699}
3700class UploadDebugInfoStatus::HasBitSetters {
3701 public:
3702 static const ::dmi::Uuid& device_uuid(const UploadDebugInfoStatus* msg);
3703};
3704
3705const ::dmi::Uuid&
3706UploadDebugInfoStatus::HasBitSetters::device_uuid(const UploadDebugInfoStatus* msg) {
3707 return *msg->device_uuid_;
3708}
3709void UploadDebugInfoStatus::clear_device_uuid() {
3710 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
3711 delete device_uuid_;
3712 }
3713 device_uuid_ = nullptr;
3714}
3715#if !defined(_MSC_VER) || _MSC_VER >= 1900
3716const int UploadDebugInfoStatus::kDeviceUuidFieldNumber;
3717const int UploadDebugInfoStatus::kStatusFieldNumber;
3718const int UploadDebugInfoStatus::kPercentUploadedFieldNumber;
3719const int UploadDebugInfoStatus::kReasonFieldNumber;
3720const int UploadDebugInfoStatus::kLocationUrlFieldNumber;
3721const int UploadDebugInfoStatus::kFileNameFieldNumber;
3722#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
3723
3724UploadDebugInfoStatus::UploadDebugInfoStatus()
3725 : ::google::protobuf::Message(), _internal_metadata_(nullptr) {
3726 SharedCtor();
3727 // @@protoc_insertion_point(constructor:dmi.UploadDebugInfoStatus)
3728}
3729UploadDebugInfoStatus::UploadDebugInfoStatus(const UploadDebugInfoStatus& from)
3730 : ::google::protobuf::Message(),
3731 _internal_metadata_(nullptr) {
3732 _internal_metadata_.MergeFrom(from._internal_metadata_);
3733 location_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3734 if (from.location_url().size() > 0) {
3735 location_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.location_url_);
3736 }
3737 file_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3738 if (from.file_name().size() > 0) {
3739 file_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.file_name_);
3740 }
3741 if (from.has_device_uuid()) {
3742 device_uuid_ = new ::dmi::Uuid(*from.device_uuid_);
3743 } else {
3744 device_uuid_ = nullptr;
3745 }
3746 ::memcpy(&status_, &from.status_,
3747 static_cast<size_t>(reinterpret_cast<char*>(&reason_) -
3748 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
3749 // @@protoc_insertion_point(copy_constructor:dmi.UploadDebugInfoStatus)
3750}
3751
3752void UploadDebugInfoStatus::SharedCtor() {
3753 ::google::protobuf::internal::InitSCC(
3754 &scc_info_UploadDebugInfoStatus_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
3755 location_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3756 file_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3757 ::memset(&device_uuid_, 0, static_cast<size_t>(
3758 reinterpret_cast<char*>(&reason_) -
3759 reinterpret_cast<char*>(&device_uuid_)) + sizeof(reason_));
3760}
3761
3762UploadDebugInfoStatus::~UploadDebugInfoStatus() {
3763 // @@protoc_insertion_point(destructor:dmi.UploadDebugInfoStatus)
3764 SharedDtor();
3765}
3766
3767void UploadDebugInfoStatus::SharedDtor() {
3768 location_url_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3769 file_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3770 if (this != internal_default_instance()) delete device_uuid_;
3771}
3772
3773void UploadDebugInfoStatus::SetCachedSize(int size) const {
3774 _cached_size_.Set(size);
3775}
3776const UploadDebugInfoStatus& UploadDebugInfoStatus::default_instance() {
3777 ::google::protobuf::internal::InitSCC(&::scc_info_UploadDebugInfoStatus_dmi_2fsw_5fmanagement_5fservice_2eproto.base);
3778 return *internal_default_instance();
3779}
3780
3781
3782void UploadDebugInfoStatus::Clear() {
3783// @@protoc_insertion_point(message_clear_start:dmi.UploadDebugInfoStatus)
3784 ::google::protobuf::uint32 cached_has_bits = 0;
3785 // Prevent compiler warnings about cached_has_bits being unused
3786 (void) cached_has_bits;
3787
3788 location_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3789 file_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3790 if (GetArenaNoVirtual() == nullptr && device_uuid_ != nullptr) {
3791 delete device_uuid_;
3792 }
3793 device_uuid_ = nullptr;
3794 ::memset(&status_, 0, static_cast<size_t>(
3795 reinterpret_cast<char*>(&reason_) -
3796 reinterpret_cast<char*>(&status_)) + sizeof(reason_));
3797 _internal_metadata_.Clear();
3798}
3799
3800#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3801const char* UploadDebugInfoStatus::_InternalParse(const char* begin, const char* end, void* object,
3802 ::google::protobuf::internal::ParseContext* ctx) {
3803 auto msg = static_cast<UploadDebugInfoStatus*>(object);
3804 ::google::protobuf::int32 size; (void)size;
3805 int depth; (void)depth;
3806 ::google::protobuf::uint32 tag;
3807 ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
3808 auto ptr = begin;
3809 while (ptr < end) {
3810 ptr = ::google::protobuf::io::Parse32(ptr, &tag);
3811 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
3812 switch (tag >> 3) {
3813 // .dmi.Uuid device_uuid = 1;
3814 case 1: {
3815 if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual;
3816 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
3817 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
3818 parser_till_end = ::dmi::Uuid::_InternalParse;
3819 object = msg->mutable_device_uuid();
3820 if (size > end - ptr) goto len_delim_till_end;
3821 ptr += size;
3822 GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange(
3823 {parser_till_end, object}, ptr - size, ptr));
3824 break;
3825 }
3826 // .dmi.UploadDebugInfoStatus.UploadStatus status = 2;
3827 case 2: {
3828 if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual;
3829 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
3830 msg->set_status(static_cast<::dmi::UploadDebugInfoStatus_UploadStatus>(val));
3831 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
3832 break;
3833 }
3834 // int32 percent_uploaded = 3;
3835 case 3: {
3836 if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual;
3837 msg->set_percent_uploaded(::google::protobuf::internal::ReadVarint(&ptr));
3838 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
3839 break;
3840 }
3841 // .dmi.UploadDebugInfoStatus.Reason reason = 4;
3842 case 4: {
3843 if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual;
3844 ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr);
3845 msg->set_reason(static_cast<::dmi::UploadDebugInfoStatus_Reason>(val));
3846 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
3847 break;
3848 }
3849 // string location_url = 5;
3850 case 5: {
3851 if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual;
3852 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
3853 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
3854 ctx->extra_parse_data().SetFieldName("dmi.UploadDebugInfoStatus.location_url");
3855 object = msg->mutable_location_url();
3856 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
3857 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
3858 goto string_till_end;
3859 }
3860 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
3861 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
3862 ptr += size;
3863 break;
3864 }
3865 // string file_name = 6;
3866 case 6: {
3867 if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual;
3868 ptr = ::google::protobuf::io::ReadSize(ptr, &size);
3869 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
3870 ctx->extra_parse_data().SetFieldName("dmi.UploadDebugInfoStatus.file_name");
3871 object = msg->mutable_file_name();
3872 if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
3873 parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8;
3874 goto string_till_end;
3875 }
3876 GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx));
3877 ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
3878 ptr += size;
3879 break;
3880 }
3881 default: {
3882 handle_unusual:
3883 if ((tag & 7) == 4 || tag == 0) {
3884 ctx->EndGroup(tag);
3885 return ptr;
3886 }
3887 auto res = UnknownFieldParse(tag, {_InternalParse, msg},
3888 ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
3889 ptr = res.first;
3890 GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
3891 if (res.second) return ptr;
3892 }
3893 } // switch
3894 } // while
3895 return ptr;
3896string_till_end:
3897 static_cast<::std::string*>(object)->clear();
3898 static_cast<::std::string*>(object)->reserve(size);
3899 goto len_delim_till_end;
3900len_delim_till_end:
3901 return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
3902 {parser_till_end, object}, size);
3903}
3904#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
3905bool UploadDebugInfoStatus::MergePartialFromCodedStream(
3906 ::google::protobuf::io::CodedInputStream* input) {
3907#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
3908 ::google::protobuf::uint32 tag;
3909 // @@protoc_insertion_point(parse_start:dmi.UploadDebugInfoStatus)
3910 for (;;) {
3911 ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3912 tag = p.first;
3913 if (!p.second) goto handle_unusual;
3914 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3915 // .dmi.Uuid device_uuid = 1;
3916 case 1: {
3917 if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) {
3918 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3919 input, mutable_device_uuid()));
3920 } else {
3921 goto handle_unusual;
3922 }
3923 break;
3924 }
3925
3926 // .dmi.UploadDebugInfoStatus.UploadStatus status = 2;
3927 case 2: {
3928 if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) {
3929 int value = 0;
3930 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3931 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
3932 input, &value)));
3933 set_status(static_cast< ::dmi::UploadDebugInfoStatus_UploadStatus >(value));
3934 } else {
3935 goto handle_unusual;
3936 }
3937 break;
3938 }
3939
3940 // int32 percent_uploaded = 3;
3941 case 3: {
3942 if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) {
3943
3944 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3945 ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
3946 input, &percent_uploaded_)));
3947 } else {
3948 goto handle_unusual;
3949 }
3950 break;
3951 }
3952
3953 // .dmi.UploadDebugInfoStatus.Reason reason = 4;
3954 case 4: {
3955 if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) {
3956 int value = 0;
3957 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3958 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
3959 input, &value)));
3960 set_reason(static_cast< ::dmi::UploadDebugInfoStatus_Reason >(value));
3961 } else {
3962 goto handle_unusual;
3963 }
3964 break;
3965 }
3966
3967 // string location_url = 5;
3968 case 5: {
3969 if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) {
3970 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
3971 input, this->mutable_location_url()));
3972 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3973 this->location_url().data(), static_cast<int>(this->location_url().length()),
3974 ::google::protobuf::internal::WireFormatLite::PARSE,
3975 "dmi.UploadDebugInfoStatus.location_url"));
3976 } else {
3977 goto handle_unusual;
3978 }
3979 break;
3980 }
3981
3982 // string file_name = 6;
3983 case 6: {
3984 if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) {
3985 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
3986 input, this->mutable_file_name()));
3987 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3988 this->file_name().data(), static_cast<int>(this->file_name().length()),
3989 ::google::protobuf::internal::WireFormatLite::PARSE,
3990 "dmi.UploadDebugInfoStatus.file_name"));
3991 } else {
3992 goto handle_unusual;
3993 }
3994 break;
3995 }
3996
3997 default: {
3998 handle_unusual:
3999 if (tag == 0) {
4000 goto success;
4001 }
4002 DO_(::google::protobuf::internal::WireFormat::SkipField(
4003 input, tag, _internal_metadata_.mutable_unknown_fields()));
4004 break;
4005 }
4006 }
4007 }
4008success:
4009 // @@protoc_insertion_point(parse_success:dmi.UploadDebugInfoStatus)
4010 return true;
4011failure:
4012 // @@protoc_insertion_point(parse_failure:dmi.UploadDebugInfoStatus)
4013 return false;
4014#undef DO_
4015}
4016#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
4017
4018void UploadDebugInfoStatus::SerializeWithCachedSizes(
4019 ::google::protobuf::io::CodedOutputStream* output) const {
4020 // @@protoc_insertion_point(serialize_start:dmi.UploadDebugInfoStatus)
4021 ::google::protobuf::uint32 cached_has_bits = 0;
4022 (void) cached_has_bits;
4023
4024 // .dmi.Uuid device_uuid = 1;
4025 if (this->has_device_uuid()) {
4026 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4027 1, HasBitSetters::device_uuid(this), output);
4028 }
4029
4030 // .dmi.UploadDebugInfoStatus.UploadStatus status = 2;
4031 if (this->status() != 0) {
4032 ::google::protobuf::internal::WireFormatLite::WriteEnum(
4033 2, this->status(), output);
4034 }
4035
4036 // int32 percent_uploaded = 3;
4037 if (this->percent_uploaded() != 0) {
4038 ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->percent_uploaded(), output);
4039 }
4040
4041 // .dmi.UploadDebugInfoStatus.Reason reason = 4;
4042 if (this->reason() != 0) {
4043 ::google::protobuf::internal::WireFormatLite::WriteEnum(
4044 4, this->reason(), output);
4045 }
4046
4047 // string location_url = 5;
4048 if (this->location_url().size() > 0) {
4049 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4050 this->location_url().data(), static_cast<int>(this->location_url().length()),
4051 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
4052 "dmi.UploadDebugInfoStatus.location_url");
4053 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
4054 5, this->location_url(), output);
4055 }
4056
4057 // string file_name = 6;
4058 if (this->file_name().size() > 0) {
4059 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4060 this->file_name().data(), static_cast<int>(this->file_name().length()),
4061 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
4062 "dmi.UploadDebugInfoStatus.file_name");
4063 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
4064 6, this->file_name(), output);
4065 }
4066
4067 if (_internal_metadata_.have_unknown_fields()) {
4068 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4069 _internal_metadata_.unknown_fields(), output);
4070 }
4071 // @@protoc_insertion_point(serialize_end:dmi.UploadDebugInfoStatus)
4072}
4073
4074::google::protobuf::uint8* UploadDebugInfoStatus::InternalSerializeWithCachedSizesToArray(
4075 ::google::protobuf::uint8* target) const {
4076 // @@protoc_insertion_point(serialize_to_array_start:dmi.UploadDebugInfoStatus)
4077 ::google::protobuf::uint32 cached_has_bits = 0;
4078 (void) cached_has_bits;
4079
4080 // .dmi.Uuid device_uuid = 1;
4081 if (this->has_device_uuid()) {
4082 target = ::google::protobuf::internal::WireFormatLite::
4083 InternalWriteMessageToArray(
4084 1, HasBitSetters::device_uuid(this), target);
4085 }
4086
4087 // .dmi.UploadDebugInfoStatus.UploadStatus status = 2;
4088 if (this->status() != 0) {
4089 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
4090 2, this->status(), target);
4091 }
4092
4093 // int32 percent_uploaded = 3;
4094 if (this->percent_uploaded() != 0) {
4095 target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->percent_uploaded(), target);
4096 }
4097
4098 // .dmi.UploadDebugInfoStatus.Reason reason = 4;
4099 if (this->reason() != 0) {
4100 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
4101 4, this->reason(), target);
4102 }
4103
4104 // string location_url = 5;
4105 if (this->location_url().size() > 0) {
4106 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4107 this->location_url().data(), static_cast<int>(this->location_url().length()),
4108 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
4109 "dmi.UploadDebugInfoStatus.location_url");
4110 target =
4111 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
4112 5, this->location_url(), target);
4113 }
4114
4115 // string file_name = 6;
4116 if (this->file_name().size() > 0) {
4117 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4118 this->file_name().data(), static_cast<int>(this->file_name().length()),
4119 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
4120 "dmi.UploadDebugInfoStatus.file_name");
4121 target =
4122 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
4123 6, this->file_name(), target);
4124 }
4125
4126 if (_internal_metadata_.have_unknown_fields()) {
4127 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4128 _internal_metadata_.unknown_fields(), target);
4129 }
4130 // @@protoc_insertion_point(serialize_to_array_end:dmi.UploadDebugInfoStatus)
4131 return target;
4132}
4133
4134size_t UploadDebugInfoStatus::ByteSizeLong() const {
4135// @@protoc_insertion_point(message_byte_size_start:dmi.UploadDebugInfoStatus)
4136 size_t total_size = 0;
4137
4138 if (_internal_metadata_.have_unknown_fields()) {
4139 total_size +=
4140 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4141 _internal_metadata_.unknown_fields());
4142 }
4143 ::google::protobuf::uint32 cached_has_bits = 0;
4144 // Prevent compiler warnings about cached_has_bits being unused
4145 (void) cached_has_bits;
4146
4147 // string location_url = 5;
4148 if (this->location_url().size() > 0) {
4149 total_size += 1 +
4150 ::google::protobuf::internal::WireFormatLite::StringSize(
4151 this->location_url());
4152 }
4153
4154 // string file_name = 6;
4155 if (this->file_name().size() > 0) {
4156 total_size += 1 +
4157 ::google::protobuf::internal::WireFormatLite::StringSize(
4158 this->file_name());
4159 }
4160
4161 // .dmi.Uuid device_uuid = 1;
4162 if (this->has_device_uuid()) {
4163 total_size += 1 +
4164 ::google::protobuf::internal::WireFormatLite::MessageSize(
4165 *device_uuid_);
4166 }
4167
4168 // .dmi.UploadDebugInfoStatus.UploadStatus status = 2;
4169 if (this->status() != 0) {
4170 total_size += 1 +
4171 ::google::protobuf::internal::WireFormatLite::EnumSize(this->status());
4172 }
4173
4174 // int32 percent_uploaded = 3;
4175 if (this->percent_uploaded() != 0) {
4176 total_size += 1 +
4177 ::google::protobuf::internal::WireFormatLite::Int32Size(
4178 this->percent_uploaded());
4179 }
4180
4181 // .dmi.UploadDebugInfoStatus.Reason reason = 4;
4182 if (this->reason() != 0) {
4183 total_size += 1 +
4184 ::google::protobuf::internal::WireFormatLite::EnumSize(this->reason());
4185 }
4186
4187 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4188 SetCachedSize(cached_size);
4189 return total_size;
4190}
4191
4192void UploadDebugInfoStatus::MergeFrom(const ::google::protobuf::Message& from) {
4193// @@protoc_insertion_point(generalized_merge_from_start:dmi.UploadDebugInfoStatus)
4194 GOOGLE_DCHECK_NE(&from, this);
4195 const UploadDebugInfoStatus* source =
4196 ::google::protobuf::DynamicCastToGenerated<UploadDebugInfoStatus>(
4197 &from);
4198 if (source == nullptr) {
4199 // @@protoc_insertion_point(generalized_merge_from_cast_fail:dmi.UploadDebugInfoStatus)
4200 ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4201 } else {
4202 // @@protoc_insertion_point(generalized_merge_from_cast_success:dmi.UploadDebugInfoStatus)
4203 MergeFrom(*source);
4204 }
4205}
4206
4207void UploadDebugInfoStatus::MergeFrom(const UploadDebugInfoStatus& from) {
4208// @@protoc_insertion_point(class_specific_merge_from_start:dmi.UploadDebugInfoStatus)
4209 GOOGLE_DCHECK_NE(&from, this);
4210 _internal_metadata_.MergeFrom(from._internal_metadata_);
4211 ::google::protobuf::uint32 cached_has_bits = 0;
4212 (void) cached_has_bits;
4213
4214 if (from.location_url().size() > 0) {
4215
4216 location_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.location_url_);
4217 }
4218 if (from.file_name().size() > 0) {
4219
4220 file_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.file_name_);
4221 }
4222 if (from.has_device_uuid()) {
4223 mutable_device_uuid()->::dmi::Uuid::MergeFrom(from.device_uuid());
4224 }
4225 if (from.status() != 0) {
4226 set_status(from.status());
4227 }
4228 if (from.percent_uploaded() != 0) {
4229 set_percent_uploaded(from.percent_uploaded());
4230 }
4231 if (from.reason() != 0) {
4232 set_reason(from.reason());
4233 }
4234}
4235
4236void UploadDebugInfoStatus::CopyFrom(const ::google::protobuf::Message& from) {
4237// @@protoc_insertion_point(generalized_copy_from_start:dmi.UploadDebugInfoStatus)
4238 if (&from == this) return;
4239 Clear();
4240 MergeFrom(from);
4241}
4242
4243void UploadDebugInfoStatus::CopyFrom(const UploadDebugInfoStatus& from) {
4244// @@protoc_insertion_point(class_specific_copy_from_start:dmi.UploadDebugInfoStatus)
4245 if (&from == this) return;
4246 Clear();
4247 MergeFrom(from);
4248}
4249
4250bool UploadDebugInfoStatus::IsInitialized() const {
4251 return true;
4252}
4253
4254void UploadDebugInfoStatus::Swap(UploadDebugInfoStatus* other) {
4255 if (other == this) return;
4256 InternalSwap(other);
4257}
4258void UploadDebugInfoStatus::InternalSwap(UploadDebugInfoStatus* other) {
4259 using std::swap;
4260 _internal_metadata_.Swap(&other->_internal_metadata_);
4261 location_url_.Swap(&other->location_url_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4262 GetArenaNoVirtual());
4263 file_name_.Swap(&other->file_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4264 GetArenaNoVirtual());
4265 swap(device_uuid_, other->device_uuid_);
4266 swap(status_, other->status_);
4267 swap(percent_uploaded_, other->percent_uploaded_);
4268 swap(reason_, other->reason_);
4269}
4270
4271::google::protobuf::Metadata UploadDebugInfoStatus::GetMetadata() const {
4272 ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_dmi_2fsw_5fmanagement_5fservice_2eproto);
4273 return ::file_level_metadata_dmi_2fsw_5fmanagement_5fservice_2eproto[kIndexInFileMessages];
4274}
4275
4276
Shivanagouda Malaginahalli335fe4d2021-03-31 16:52:28 +05304277// @@protoc_insertion_point(namespace_scope)
4278} // namespace dmi
4279namespace google {
4280namespace protobuf {
4281template<> PROTOBUF_NOINLINE ::dmi::SoftwareVersionInformation* Arena::CreateMaybeMessage< ::dmi::SoftwareVersionInformation >(Arena* arena) {
4282 return Arena::CreateInternal< ::dmi::SoftwareVersionInformation >(arena);
4283}
4284template<> PROTOBUF_NOINLINE ::dmi::GetSoftwareVersionInformationResponse* Arena::CreateMaybeMessage< ::dmi::GetSoftwareVersionInformationResponse >(Arena* arena) {
4285 return Arena::CreateInternal< ::dmi::GetSoftwareVersionInformationResponse >(arena);
4286}
4287template<> PROTOBUF_NOINLINE ::dmi::DownloadImageRequest* Arena::CreateMaybeMessage< ::dmi::DownloadImageRequest >(Arena* arena) {
4288 return Arena::CreateInternal< ::dmi::DownloadImageRequest >(arena);
4289}
4290template<> PROTOBUF_NOINLINE ::dmi::ConfigRequest* Arena::CreateMaybeMessage< ::dmi::ConfigRequest >(Arena* arena) {
4291 return Arena::CreateInternal< ::dmi::ConfigRequest >(arena);
4292}
4293template<> PROTOBUF_NOINLINE ::dmi::ConfigResponse* Arena::CreateMaybeMessage< ::dmi::ConfigResponse >(Arena* arena) {
4294 return Arena::CreateInternal< ::dmi::ConfigResponse >(arena);
4295}
4296template<> PROTOBUF_NOINLINE ::dmi::StartupConfigInfoRequest* Arena::CreateMaybeMessage< ::dmi::StartupConfigInfoRequest >(Arena* arena) {
4297 return Arena::CreateInternal< ::dmi::StartupConfigInfoRequest >(arena);
4298}
4299template<> PROTOBUF_NOINLINE ::dmi::StartupConfigInfoResponse* Arena::CreateMaybeMessage< ::dmi::StartupConfigInfoResponse >(Arena* arena) {
4300 return Arena::CreateInternal< ::dmi::StartupConfigInfoResponse >(arena);
4301}
amit.ghosh5a689802022-09-12 14:26:10 +02004302template<> PROTOBUF_NOINLINE ::dmi::UploadDebugInfoRequest* Arena::CreateMaybeMessage< ::dmi::UploadDebugInfoRequest >(Arena* arena) {
4303 return Arena::CreateInternal< ::dmi::UploadDebugInfoRequest >(arena);
4304}
4305template<> PROTOBUF_NOINLINE ::dmi::UploadDebugInfoStatus* Arena::CreateMaybeMessage< ::dmi::UploadDebugInfoStatus >(Arena* arena) {
4306 return Arena::CreateInternal< ::dmi::UploadDebugInfoStatus >(arena);
4307}
Shivanagouda Malaginahalli335fe4d2021-03-31 16:52:28 +05304308} // namespace protobuf
4309} // namespace google
4310
4311// @@protoc_insertion_point(global_scope)
4312#include <google/protobuf/port_undef.inc>