DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
daphne_control_high.pb.cc
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: daphnemodules/daphne_control_high.proto
3
5
6#include <algorithm>
7#include "google/protobuf/io/coded_stream.h"
8#include "google/protobuf/extension_set.h"
9#include "google/protobuf/wire_format_lite.h"
10#include "google/protobuf/descriptor.h"
11#include "google/protobuf/generated_message_reflection.h"
12#include "google/protobuf/reflection_ops.h"
13#include "google/protobuf/wire_format.h"
14#include "google/protobuf/generated_message_tctable_impl.h"
15// @@protoc_insertion_point(includes)
16
17// Must be included last.
18#include "google/protobuf/port_def.inc"
19PROTOBUF_PRAGMA_INIT_SEG
20namespace _pb = ::google::protobuf;
21namespace _pbi = ::google::protobuf::internal;
22namespace _fl = ::google::protobuf::internal::field_layout;
23namespace daphne {
24 template <typename>
25PROTOBUF_CONSTEXPR ConfigureCLKsRequest::ConfigureCLKsRequest(::_pbi::ConstantInitialized)
26 : _impl_{
27 /*decltype(_impl_.id_)*/ 0u,
28 /*decltype(_impl_.ctrl_ep_clk_)*/ false,
29 /*decltype(_impl_.reset_mmcm1_)*/ false,
30 /*decltype(_impl_.reset_endpoint_)*/ false,
31 /*decltype(_impl_._cached_size_)*/ {},
32 } {}
40
41PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
43 template <typename>
44PROTOBUF_CONSTEXPR ConfigureCLKsResponse::ConfigureCLKsResponse(::_pbi::ConstantInitialized)
45 : _impl_{
46 /*decltype(_impl_.message_)*/ {
47 &::_pbi::fixed_address_empty_string,
48 ::_pbi::ConstantInitialized{},
49 },
50 /*decltype(_impl_.success_)*/ false,
51 /*decltype(_impl_._cached_size_)*/ {},
52 } {}
60
61PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
63 template <typename>
64PROTOBUF_CONSTEXPR ChannelConfig::ChannelConfig(::_pbi::ConstantInitialized)
65 : _impl_{
66 /*decltype(_impl_.id_)*/ 0u,
67 /*decltype(_impl_.trim_)*/ 0u,
68 /*decltype(_impl_.offset_)*/ 0u,
69 /*decltype(_impl_.gain_)*/ 0u,
70 /*decltype(_impl_._cached_size_)*/ {},
71 } {}
73 PROTOBUF_CONSTEXPR ChannelConfigDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
75 union {
77 };
78};
79
80PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
82 template <typename>
83PROTOBUF_CONSTEXPR AFEConfig::AFEConfig(::_pbi::ConstantInitialized)
84 : _impl_{
85 /*decltype(_impl_._has_bits_)*/ {},
86 /*decltype(_impl_._cached_size_)*/ {},
87 /*decltype(_impl_.adc_)*/ nullptr,
88 /*decltype(_impl_.pga_)*/ nullptr,
89 /*decltype(_impl_.lna_)*/ nullptr,
90 /*decltype(_impl_.id_)*/ 0u,
91 /*decltype(_impl_.attenuators_)*/ 0u,
92 /*decltype(_impl_.v_bias_)*/ 0u,
93 } {}
95 PROTOBUF_CONSTEXPR AFEConfigDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
97 union {
99 };
100};
101
102PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
104 template <typename>
105PROTOBUF_CONSTEXPR ADCConfig::ADCConfig(::_pbi::ConstantInitialized)
106 : _impl_{
107 /*decltype(_impl_.resolution_)*/ false,
108 /*decltype(_impl_.output_format_)*/ false,
109 /*decltype(_impl_.sb_first_)*/ false,
110 /*decltype(_impl_._cached_size_)*/ {},
111 } {}
113 PROTOBUF_CONSTEXPR ADCConfigDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
115 union {
117 };
118};
119
120PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
122 template <typename>
123PROTOBUF_CONSTEXPR PGAConfig::PGAConfig(::_pbi::ConstantInitialized)
124 : _impl_{
125 /*decltype(_impl_.lpf_cut_frequency_)*/ 0u,
126 /*decltype(_impl_.integrator_disable_)*/ false,
127 /*decltype(_impl_.gain_)*/ false,
128 /*decltype(_impl_._cached_size_)*/ {},
129 } {}
131 PROTOBUF_CONSTEXPR PGAConfigDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
133 union {
135 };
136};
137
138PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
140 template <typename>
141PROTOBUF_CONSTEXPR LNAConfig::LNAConfig(::_pbi::ConstantInitialized)
142 : _impl_{
143 /*decltype(_impl_.clamp_)*/ 0u,
144 /*decltype(_impl_.gain_)*/ 0u,
145 /*decltype(_impl_.integrator_disable_)*/ false,
146 /*decltype(_impl_._cached_size_)*/ {},
147 } {}
149 PROTOBUF_CONSTEXPR LNAConfigDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
151 union {
153 };
154};
155
156PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
158 template <typename>
159PROTOBUF_CONSTEXPR ConfigureRequest::ConfigureRequest(::_pbi::ConstantInitialized)
160 : _impl_{
161 /*decltype(_impl_.channels_)*/ {},
162 /*decltype(_impl_.afes_)*/ {},
163 /*decltype(_impl_.full_stream_channels_)*/ {},
164 /* _impl_._full_stream_channels_cached_byte_size_ = */ {0},
165 /*decltype(_impl_.daphne_address_)*/ {
166 &::_pbi::fixed_address_empty_string,
167 ::_pbi::ConstantInitialized{},
168 },
169 /*decltype(_impl_.slot_)*/ 0u,
170 /*decltype(_impl_.timeout_ms_)*/ 0u,
171 /*decltype(_impl_.self_trigger_threshold_)*/ ::uint64_t{0u},
172 /*decltype(_impl_.self_trigger_xcorr_)*/ ::uint64_t{0u},
173 /*decltype(_impl_.tp_conf_)*/ ::uint64_t{0u},
174 /*decltype(_impl_.compensator_)*/ ::uint64_t{0u},
175 /*decltype(_impl_.inverters_)*/ ::uint64_t{0u},
176 /*decltype(_impl_.biasctrl_)*/ 0u,
177 /*decltype(_impl_._cached_size_)*/ {},
178 } {}
186
187PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
189 template <typename>
190PROTOBUF_CONSTEXPR ConfigureResponse::ConfigureResponse(::_pbi::ConstantInitialized)
191 : _impl_{
192 /*decltype(_impl_.message_)*/ {
193 &::_pbi::fixed_address_empty_string,
194 ::_pbi::ConstantInitialized{},
195 },
196 /*decltype(_impl_.success_)*/ false,
197 /*decltype(_impl_._cached_size_)*/ {},
198 } {}
206
207PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
209 template <typename>
210PROTOBUF_CONSTEXPR ScrapRequest::ScrapRequest(::_pbi::ConstantInitialized) {}
212 PROTOBUF_CONSTEXPR ScrapRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
214 union {
216 };
217};
218
219PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
221 template <typename>
222PROTOBUF_CONSTEXPR ScrapResponse::ScrapResponse(::_pbi::ConstantInitialized)
223 : _impl_{
224 /*decltype(_impl_.message_)*/ {
225 &::_pbi::fixed_address_empty_string,
226 ::_pbi::ConstantInitialized{},
227 },
228 /*decltype(_impl_.success_)*/ false,
229 /*decltype(_impl_._cached_size_)*/ {},
230 } {}
232 PROTOBUF_CONSTEXPR ScrapResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
234 union {
236 };
237};
238
239PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
241 template <typename>
242PROTOBUF_CONSTEXPR DumpSpyBuffersRequest::DumpSpyBuffersRequest(::_pbi::ConstantInitialized)
243 : _impl_{
244 /*decltype(_impl_.channellist_)*/ {},
245 /* _impl_._channellist_cached_byte_size_ = */ {0},
246 /*decltype(_impl_.numberofsamples_)*/ 0u,
247 /*decltype(_impl_.numberofwaveforms_)*/ 0u,
248 /*decltype(_impl_.softwaretrigger_)*/ false,
249 /*decltype(_impl_._cached_size_)*/ {},
250 } {}
258
259PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
261 template <typename>
262PROTOBUF_CONSTEXPR DumpSpyBuffersResponse::DumpSpyBuffersResponse(::_pbi::ConstantInitialized)
263 : _impl_{
264 /*decltype(_impl_.channellist_)*/ {},
265 /* _impl_._channellist_cached_byte_size_ = */ {0},
266 /*decltype(_impl_.data_)*/ {},
267 /* _impl_._data_cached_byte_size_ = */ {0},
268 /*decltype(_impl_.message_)*/ {
269 &::_pbi::fixed_address_empty_string,
270 ::_pbi::ConstantInitialized{},
271 },
272 /*decltype(_impl_.numberofsamples_)*/ 0u,
273 /*decltype(_impl_.success_)*/ false,
274 /*decltype(_impl_.softwaretrigger_)*/ false,
275 /*decltype(_impl_.numberofwaveforms_)*/ 0u,
276 /*decltype(_impl_._cached_size_)*/ {},
277 } {}
285
286PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
288 template <typename>
289PROTOBUF_CONSTEXPR DumpSpyBuffersChunkRequest::DumpSpyBuffersChunkRequest(::_pbi::ConstantInitialized)
290 : _impl_{
291 /*decltype(_impl_.channellist_)*/ {},
292 /* _impl_._channellist_cached_byte_size_ = */ {0},
293 /*decltype(_impl_.requestid_)*/ {
294 &::_pbi::fixed_address_empty_string,
295 ::_pbi::ConstantInitialized{},
296 },
297 /*decltype(_impl_.numberofsamples_)*/ 0u,
298 /*decltype(_impl_.numberofwaveforms_)*/ 0u,
299 /*decltype(_impl_.softwaretrigger_)*/ false,
300 /*decltype(_impl_.chunksize_)*/ 0u,
301 /*decltype(_impl_._cached_size_)*/ {},
302 } {}
310
311PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
313 template <typename>
314PROTOBUF_CONSTEXPR DumpSpyBuffersChunkResponse::DumpSpyBuffersChunkResponse(::_pbi::ConstantInitialized)
315 : _impl_{
316 /*decltype(_impl_.channellist_)*/ {},
317 /* _impl_._channellist_cached_byte_size_ = */ {0},
318 /*decltype(_impl_.data_)*/ {},
319 /* _impl_._data_cached_byte_size_ = */ {0},
320 /*decltype(_impl_.requestid_)*/ {
321 &::_pbi::fixed_address_empty_string,
322 ::_pbi::ConstantInitialized{},
323 },
324 /*decltype(_impl_.message_)*/ {
325 &::_pbi::fixed_address_empty_string,
326 ::_pbi::ConstantInitialized{},
327 },
328 /*decltype(_impl_.success_)*/ false,
329 /*decltype(_impl_.isfinal_)*/ false,
330 /*decltype(_impl_.chunkseq_)*/ 0u,
331 /*decltype(_impl_.waveformstart_)*/ 0u,
332 /*decltype(_impl_.waveformcount_)*/ 0u,
333 /*decltype(_impl_.requesttotalwaveforms_)*/ 0u,
334 /*decltype(_impl_.numberofsamples_)*/ 0u,
335 /*decltype(_impl_._cached_size_)*/ {},
336 } {}
344
345PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
347 template <typename>
348PROTOBUF_CONSTEXPR InfoRequest::InfoRequest(::_pbi::ConstantInitialized)
349 : _impl_{
350 /*decltype(_impl_.level_)*/ 0u,
351 /*decltype(_impl_._cached_size_)*/ {},
352 } {}
354 PROTOBUF_CONSTEXPR InfoRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
356 union {
358 };
359};
360
361PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
363 template <typename>
364PROTOBUF_CONSTEXPR StreamInfo::StreamInfo(::_pbi::ConstantInitialized)
365 : _impl_{
366 /*decltype(_impl_.total_packets_)*/ ::uint64_t{0u},
367 /*decltype(_impl_.new_packets_)*/ ::uint64_t{0u},
368 /*decltype(_impl_.total_dropped_packets_)*/ ::uint64_t{0u},
369 /*decltype(_impl_.new_dropped_packets_)*/ ::uint64_t{0u},
370 /*decltype(_impl_._cached_size_)*/ {},
371 } {}
373 PROTOBUF_CONSTEXPR StreamInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
375 union {
377 };
378};
379
380PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
382 template <typename>
383PROTOBUF_CONSTEXPR ChannelInfo::ChannelInfo(::_pbi::ConstantInitialized)
384 : _impl_{
385 /*decltype(_impl_.total_triggers_)*/ ::uint64_t{0u},
386 /*decltype(_impl_.new_triggers_)*/ ::uint64_t{0u},
387 /*decltype(_impl_.total_packets_)*/ ::uint64_t{0u},
388 /*decltype(_impl_.new_packets_)*/ ::uint64_t{0u},
389 /*decltype(_impl_.id_)*/ 0u,
390 /*decltype(_impl_._cached_size_)*/ {},
391 } {}
393 PROTOBUF_CONSTEXPR ChannelInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
395 union {
397 };
398};
399
400PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
402 template <typename>
403PROTOBUF_CONSTEXPR GeneralInfo::GeneralInfo(::_pbi::ConstantInitialized)
404 : _impl_{
405 /*decltype(_impl_.v_bias_0_)*/ 0,
406 /*decltype(_impl_.v_bias_1_)*/ 0,
407 /*decltype(_impl_.v_bias_2_)*/ 0,
408 /*decltype(_impl_.v_bias_3_)*/ 0,
409 /*decltype(_impl_.v_bias_4_)*/ 0,
410 /*decltype(_impl_.power_minus5v_)*/ 0,
411 /*decltype(_impl_.power_plus2p5v_)*/ 0,
412 /*decltype(_impl_.power_ce_)*/ 0,
413 /*decltype(_impl_.temperature_)*/ 0,
414 /*decltype(_impl_._cached_size_)*/ {},
415 } {}
417 PROTOBUF_CONSTEXPR GeneralInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
419 union {
421 };
422};
423
424PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
426 template <typename>
427PROTOBUF_CONSTEXPR InfoResponse::InfoResponse(::_pbi::ConstantInitialized)
428 : _impl_{
429 /*decltype(_impl_._has_bits_)*/ {},
430 /*decltype(_impl_._cached_size_)*/ {},
431 /*decltype(_impl_.channels_)*/ {},
432 /*decltype(_impl_.stream_info_)*/ nullptr,
433 /*decltype(_impl_.general_info_)*/ nullptr,
434 } {}
436 PROTOBUF_CONSTEXPR InfoResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
438 union {
440 };
441};
442
443PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
445 template <typename>
446PROTOBUF_CONSTEXPR TriggerChannelSnapshot::TriggerChannelSnapshot(::_pbi::ConstantInitialized)
447 : _impl_{
448 /*decltype(_impl_.channel_)*/ 0u,
449 /*decltype(_impl_.threshold_)*/ 0u,
450 /*decltype(_impl_.record_count_)*/ ::uint64_t{0u},
451 /*decltype(_impl_.busy_count_)*/ ::uint64_t{0u},
452 /*decltype(_impl_.full_count_)*/ ::uint64_t{0u},
453 /*decltype(_impl_._cached_size_)*/ {},
454 } {}
462
463PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
465 template <typename>
466PROTOBUF_CONSTEXPR ReadTriggerCountersRequest::ReadTriggerCountersRequest(::_pbi::ConstantInitialized)
467 : _impl_{
468 /*decltype(_impl_.channels_)*/ {},
469 /* _impl_._channels_cached_byte_size_ = */ {0},
470 /*decltype(_impl_.base_addr_)*/ 0u,
471 /*decltype(_impl_._cached_size_)*/ {},
472 } {}
480
481PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
483 template <typename>
484PROTOBUF_CONSTEXPR ReadTriggerCountersResponse::ReadTriggerCountersResponse(::_pbi::ConstantInitialized)
485 : _impl_{
486 /*decltype(_impl_.snapshots_)*/ {},
487 /*decltype(_impl_.message_)*/ {
488 &::_pbi::fixed_address_empty_string,
489 ::_pbi::ConstantInitialized{},
490 },
491 /*decltype(_impl_.success_)*/ false,
492 /*decltype(_impl_._cached_size_)*/ {},
493 } {}
501
502PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
504 template <typename>
505PROTOBUF_CONSTEXPR TestRegRequest::TestRegRequest(::_pbi::ConstantInitialized) {}
513
514PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
516 template <typename>
517PROTOBUF_CONSTEXPR TestRegResponse::TestRegResponse(::_pbi::ConstantInitialized)
518 : _impl_{
519 /*decltype(_impl_.message_)*/ {
520 &::_pbi::fixed_address_empty_string,
521 ::_pbi::ConstantInitialized{},
522 },
523 /*decltype(_impl_.value_)*/ ::uint64_t{0u},
524 /*decltype(_impl_._cached_size_)*/ {},
525 } {}
533
534PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
536 template <typename>
537PROTOBUF_CONSTEXPR WriteRegister::WriteRegister(::_pbi::ConstantInitialized)
538 : _impl_{
539 /*decltype(_impl_.address_)*/ ::uint64_t{0u},
540 /*decltype(_impl_.value_)*/ ::uint64_t{0u},
541 /*decltype(_impl_._cached_size_)*/ {},
542 } {}
544 PROTOBUF_CONSTEXPR WriteRegisterDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
546 union {
548 };
549};
550
551PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
553 template <typename>
554PROTOBUF_CONSTEXPR WriteMultipleRegisterRequest::WriteMultipleRegisterRequest(::_pbi::ConstantInitialized)
555 : _impl_{
556 /*decltype(_impl_.writes_)*/ {},
557 /*decltype(_impl_._cached_size_)*/ {},
558 } {}
566
567PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
569 template <typename>
570PROTOBUF_CONSTEXPR WriteRegisterResponse::WriteRegisterResponse(::_pbi::ConstantInitialized)
571 : _impl_{
572 /*decltype(_impl_.message_)*/ {
573 &::_pbi::fixed_address_empty_string,
574 ::_pbi::ConstantInitialized{},
575 },
576 /*decltype(_impl_.success_)*/ false,
577 /*decltype(_impl_._cached_size_)*/ {},
578 } {}
586
587PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
589 template <typename>
590PROTOBUF_CONSTEXPR ControlEnvelopeV2::ControlEnvelopeV2(::_pbi::ConstantInitialized)
591 : _impl_{
592 /*decltype(_impl_.payload_)*/ {
593 &::_pbi::fixed_address_empty_string,
594 ::_pbi::ConstantInitialized{},
595 },
596 /*decltype(_impl_.route_)*/ {
597 &::_pbi::fixed_address_empty_string,
598 ::_pbi::ConstantInitialized{},
599 },
600 /*decltype(_impl_.version_)*/ 0u,
601 /*decltype(_impl_.dir_)*/ 0,
602 /*decltype(_impl_.task_id_)*/ ::uint64_t{0u},
603 /*decltype(_impl_.msg_id_)*/ ::uint64_t{0u},
604 /*decltype(_impl_.correl_id_)*/ ::uint64_t{0u},
605 /*decltype(_impl_.timestamp_ns_)*/ ::uint64_t{0u},
606 /*decltype(_impl_.type_)*/ 0,
607 /*decltype(_impl_._cached_size_)*/ {},
608 } {}
616
617PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
619 template <typename>
620PROTOBUF_CONSTEXPR ControlEnvelope::ControlEnvelope(::_pbi::ConstantInitialized)
621 : _impl_{
622 /*decltype(_impl_.payload_)*/ {
623 &::_pbi::fixed_address_empty_string,
624 ::_pbi::ConstantInitialized{},
625 },
626 /*decltype(_impl_.type_)*/ 0,
627 /*decltype(_impl_._cached_size_)*/ {},
628 } {}
636
637PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
639} // namespace daphne
642static constexpr const ::_pb::ServiceDescriptor**
645 protodesc_cold) = {
646 ~0u, // no _has_bits_
647 PROTOBUF_FIELD_OFFSET(::daphne::ConfigureCLKsRequest, _internal_metadata_),
648 ~0u, // no _extensions_
649 ~0u, // no _oneof_case_
650 ~0u, // no _weak_field_map_
651 ~0u, // no _inlined_string_donated_
652 ~0u, // no _split_
653 ~0u, // no sizeof(Split)
654 PROTOBUF_FIELD_OFFSET(::daphne::ConfigureCLKsRequest, _impl_.id_),
655 PROTOBUF_FIELD_OFFSET(::daphne::ConfigureCLKsRequest, _impl_.ctrl_ep_clk_),
656 PROTOBUF_FIELD_OFFSET(::daphne::ConfigureCLKsRequest, _impl_.reset_mmcm1_),
657 PROTOBUF_FIELD_OFFSET(::daphne::ConfigureCLKsRequest, _impl_.reset_endpoint_),
658 ~0u, // no _has_bits_
659 PROTOBUF_FIELD_OFFSET(::daphne::ConfigureCLKsResponse, _internal_metadata_),
660 ~0u, // no _extensions_
661 ~0u, // no _oneof_case_
662 ~0u, // no _weak_field_map_
663 ~0u, // no _inlined_string_donated_
664 ~0u, // no _split_
665 ~0u, // no sizeof(Split)
666 PROTOBUF_FIELD_OFFSET(::daphne::ConfigureCLKsResponse, _impl_.success_),
667 PROTOBUF_FIELD_OFFSET(::daphne::ConfigureCLKsResponse, _impl_.message_),
668 ~0u, // no _has_bits_
669 PROTOBUF_FIELD_OFFSET(::daphne::ChannelConfig, _internal_metadata_),
670 ~0u, // no _extensions_
671 ~0u, // no _oneof_case_
672 ~0u, // no _weak_field_map_
673 ~0u, // no _inlined_string_donated_
674 ~0u, // no _split_
675 ~0u, // no sizeof(Split)
676 PROTOBUF_FIELD_OFFSET(::daphne::ChannelConfig, _impl_.id_),
677 PROTOBUF_FIELD_OFFSET(::daphne::ChannelConfig, _impl_.trim_),
678 PROTOBUF_FIELD_OFFSET(::daphne::ChannelConfig, _impl_.offset_),
679 PROTOBUF_FIELD_OFFSET(::daphne::ChannelConfig, _impl_.gain_),
680 PROTOBUF_FIELD_OFFSET(::daphne::AFEConfig, _impl_._has_bits_),
681 PROTOBUF_FIELD_OFFSET(::daphne::AFEConfig, _internal_metadata_),
682 ~0u, // no _extensions_
683 ~0u, // no _oneof_case_
684 ~0u, // no _weak_field_map_
685 ~0u, // no _inlined_string_donated_
686 ~0u, // no _split_
687 ~0u, // no sizeof(Split)
688 PROTOBUF_FIELD_OFFSET(::daphne::AFEConfig, _impl_.id_),
689 PROTOBUF_FIELD_OFFSET(::daphne::AFEConfig, _impl_.attenuators_),
690 PROTOBUF_FIELD_OFFSET(::daphne::AFEConfig, _impl_.v_bias_),
691 PROTOBUF_FIELD_OFFSET(::daphne::AFEConfig, _impl_.adc_),
692 PROTOBUF_FIELD_OFFSET(::daphne::AFEConfig, _impl_.pga_),
693 PROTOBUF_FIELD_OFFSET(::daphne::AFEConfig, _impl_.lna_),
694 ~0u,
695 ~0u,
696 ~0u,
697 0,
698 1,
699 2,
700 ~0u, // no _has_bits_
701 PROTOBUF_FIELD_OFFSET(::daphne::ADCConfig, _internal_metadata_),
702 ~0u, // no _extensions_
703 ~0u, // no _oneof_case_
704 ~0u, // no _weak_field_map_
705 ~0u, // no _inlined_string_donated_
706 ~0u, // no _split_
707 ~0u, // no sizeof(Split)
708 PROTOBUF_FIELD_OFFSET(::daphne::ADCConfig, _impl_.resolution_),
709 PROTOBUF_FIELD_OFFSET(::daphne::ADCConfig, _impl_.output_format_),
710 PROTOBUF_FIELD_OFFSET(::daphne::ADCConfig, _impl_.sb_first_),
711 ~0u, // no _has_bits_
712 PROTOBUF_FIELD_OFFSET(::daphne::PGAConfig, _internal_metadata_),
713 ~0u, // no _extensions_
714 ~0u, // no _oneof_case_
715 ~0u, // no _weak_field_map_
716 ~0u, // no _inlined_string_donated_
717 ~0u, // no _split_
718 ~0u, // no sizeof(Split)
719 PROTOBUF_FIELD_OFFSET(::daphne::PGAConfig, _impl_.lpf_cut_frequency_),
720 PROTOBUF_FIELD_OFFSET(::daphne::PGAConfig, _impl_.integrator_disable_),
721 PROTOBUF_FIELD_OFFSET(::daphne::PGAConfig, _impl_.gain_),
722 ~0u, // no _has_bits_
723 PROTOBUF_FIELD_OFFSET(::daphne::LNAConfig, _internal_metadata_),
724 ~0u, // no _extensions_
725 ~0u, // no _oneof_case_
726 ~0u, // no _weak_field_map_
727 ~0u, // no _inlined_string_donated_
728 ~0u, // no _split_
729 ~0u, // no sizeof(Split)
730 PROTOBUF_FIELD_OFFSET(::daphne::LNAConfig, _impl_.clamp_),
731 PROTOBUF_FIELD_OFFSET(::daphne::LNAConfig, _impl_.gain_),
732 PROTOBUF_FIELD_OFFSET(::daphne::LNAConfig, _impl_.integrator_disable_),
733 ~0u, // no _has_bits_
734 PROTOBUF_FIELD_OFFSET(::daphne::ConfigureRequest, _internal_metadata_),
735 ~0u, // no _extensions_
736 ~0u, // no _oneof_case_
737 ~0u, // no _weak_field_map_
738 ~0u, // no _inlined_string_donated_
739 ~0u, // no _split_
740 ~0u, // no sizeof(Split)
741 PROTOBUF_FIELD_OFFSET(::daphne::ConfigureRequest, _impl_.daphne_address_),
742 PROTOBUF_FIELD_OFFSET(::daphne::ConfigureRequest, _impl_.slot_),
743 PROTOBUF_FIELD_OFFSET(::daphne::ConfigureRequest, _impl_.timeout_ms_),
744 PROTOBUF_FIELD_OFFSET(::daphne::ConfigureRequest, _impl_.biasctrl_),
745 PROTOBUF_FIELD_OFFSET(::daphne::ConfigureRequest, _impl_.self_trigger_threshold_),
746 PROTOBUF_FIELD_OFFSET(::daphne::ConfigureRequest, _impl_.self_trigger_xcorr_),
747 PROTOBUF_FIELD_OFFSET(::daphne::ConfigureRequest, _impl_.tp_conf_),
748 PROTOBUF_FIELD_OFFSET(::daphne::ConfigureRequest, _impl_.compensator_),
749 PROTOBUF_FIELD_OFFSET(::daphne::ConfigureRequest, _impl_.inverters_),
750 PROTOBUF_FIELD_OFFSET(::daphne::ConfigureRequest, _impl_.channels_),
751 PROTOBUF_FIELD_OFFSET(::daphne::ConfigureRequest, _impl_.afes_),
752 PROTOBUF_FIELD_OFFSET(::daphne::ConfigureRequest, _impl_.full_stream_channels_),
753 ~0u, // no _has_bits_
754 PROTOBUF_FIELD_OFFSET(::daphne::ConfigureResponse, _internal_metadata_),
755 ~0u, // no _extensions_
756 ~0u, // no _oneof_case_
757 ~0u, // no _weak_field_map_
758 ~0u, // no _inlined_string_donated_
759 ~0u, // no _split_
760 ~0u, // no sizeof(Split)
761 PROTOBUF_FIELD_OFFSET(::daphne::ConfigureResponse, _impl_.success_),
762 PROTOBUF_FIELD_OFFSET(::daphne::ConfigureResponse, _impl_.message_),
763 ~0u, // no _has_bits_
764 PROTOBUF_FIELD_OFFSET(::daphne::ScrapRequest, _internal_metadata_),
765 ~0u, // no _extensions_
766 ~0u, // no _oneof_case_
767 ~0u, // no _weak_field_map_
768 ~0u, // no _inlined_string_donated_
769 ~0u, // no _split_
770 ~0u, // no sizeof(Split)
771 ~0u, // no _has_bits_
772 PROTOBUF_FIELD_OFFSET(::daphne::ScrapResponse, _internal_metadata_),
773 ~0u, // no _extensions_
774 ~0u, // no _oneof_case_
775 ~0u, // no _weak_field_map_
776 ~0u, // no _inlined_string_donated_
777 ~0u, // no _split_
778 ~0u, // no sizeof(Split)
779 PROTOBUF_FIELD_OFFSET(::daphne::ScrapResponse, _impl_.success_),
780 PROTOBUF_FIELD_OFFSET(::daphne::ScrapResponse, _impl_.message_),
781 ~0u, // no _has_bits_
782 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersRequest, _internal_metadata_),
783 ~0u, // no _extensions_
784 ~0u, // no _oneof_case_
785 ~0u, // no _weak_field_map_
786 ~0u, // no _inlined_string_donated_
787 ~0u, // no _split_
788 ~0u, // no sizeof(Split)
789 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersRequest, _impl_.channellist_),
790 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersRequest, _impl_.numberofsamples_),
791 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersRequest, _impl_.numberofwaveforms_),
792 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersRequest, _impl_.softwaretrigger_),
793 ~0u, // no _has_bits_
794 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersResponse, _internal_metadata_),
795 ~0u, // no _extensions_
796 ~0u, // no _oneof_case_
797 ~0u, // no _weak_field_map_
798 ~0u, // no _inlined_string_donated_
799 ~0u, // no _split_
800 ~0u, // no sizeof(Split)
801 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersResponse, _impl_.success_),
802 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersResponse, _impl_.channellist_),
803 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersResponse, _impl_.numberofsamples_),
804 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersResponse, _impl_.numberofwaveforms_),
805 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersResponse, _impl_.softwaretrigger_),
806 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersResponse, _impl_.data_),
807 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersResponse, _impl_.message_),
808 ~0u, // no _has_bits_
809 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersChunkRequest, _internal_metadata_),
810 ~0u, // no _extensions_
811 ~0u, // no _oneof_case_
812 ~0u, // no _weak_field_map_
813 ~0u, // no _inlined_string_donated_
814 ~0u, // no _split_
815 ~0u, // no sizeof(Split)
816 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersChunkRequest, _impl_.channellist_),
817 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersChunkRequest, _impl_.numberofsamples_),
818 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersChunkRequest, _impl_.numberofwaveforms_),
819 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersChunkRequest, _impl_.softwaretrigger_),
820 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersChunkRequest, _impl_.requestid_),
821 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersChunkRequest, _impl_.chunksize_),
822 ~0u, // no _has_bits_
823 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersChunkResponse, _internal_metadata_),
824 ~0u, // no _extensions_
825 ~0u, // no _oneof_case_
826 ~0u, // no _weak_field_map_
827 ~0u, // no _inlined_string_donated_
828 ~0u, // no _split_
829 ~0u, // no sizeof(Split)
830 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersChunkResponse, _impl_.success_),
831 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersChunkResponse, _impl_.requestid_),
832 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersChunkResponse, _impl_.chunkseq_),
833 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersChunkResponse, _impl_.isfinal_),
834 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersChunkResponse, _impl_.waveformstart_),
835 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersChunkResponse, _impl_.waveformcount_),
836 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersChunkResponse, _impl_.requesttotalwaveforms_),
837 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersChunkResponse, _impl_.numberofsamples_),
838 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersChunkResponse, _impl_.channellist_),
839 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersChunkResponse, _impl_.data_),
840 PROTOBUF_FIELD_OFFSET(::daphne::DumpSpyBuffersChunkResponse, _impl_.message_),
841 ~0u, // no _has_bits_
842 PROTOBUF_FIELD_OFFSET(::daphne::InfoRequest, _internal_metadata_),
843 ~0u, // no _extensions_
844 ~0u, // no _oneof_case_
845 ~0u, // no _weak_field_map_
846 ~0u, // no _inlined_string_donated_
847 ~0u, // no _split_
848 ~0u, // no sizeof(Split)
849 PROTOBUF_FIELD_OFFSET(::daphne::InfoRequest, _impl_.level_),
850 ~0u, // no _has_bits_
851 PROTOBUF_FIELD_OFFSET(::daphne::StreamInfo, _internal_metadata_),
852 ~0u, // no _extensions_
853 ~0u, // no _oneof_case_
854 ~0u, // no _weak_field_map_
855 ~0u, // no _inlined_string_donated_
856 ~0u, // no _split_
857 ~0u, // no sizeof(Split)
858 PROTOBUF_FIELD_OFFSET(::daphne::StreamInfo, _impl_.total_packets_),
859 PROTOBUF_FIELD_OFFSET(::daphne::StreamInfo, _impl_.new_packets_),
860 PROTOBUF_FIELD_OFFSET(::daphne::StreamInfo, _impl_.total_dropped_packets_),
861 PROTOBUF_FIELD_OFFSET(::daphne::StreamInfo, _impl_.new_dropped_packets_),
862 ~0u, // no _has_bits_
863 PROTOBUF_FIELD_OFFSET(::daphne::ChannelInfo, _internal_metadata_),
864 ~0u, // no _extensions_
865 ~0u, // no _oneof_case_
866 ~0u, // no _weak_field_map_
867 ~0u, // no _inlined_string_donated_
868 ~0u, // no _split_
869 ~0u, // no sizeof(Split)
870 PROTOBUF_FIELD_OFFSET(::daphne::ChannelInfo, _impl_.id_),
871 PROTOBUF_FIELD_OFFSET(::daphne::ChannelInfo, _impl_.total_triggers_),
872 PROTOBUF_FIELD_OFFSET(::daphne::ChannelInfo, _impl_.new_triggers_),
873 PROTOBUF_FIELD_OFFSET(::daphne::ChannelInfo, _impl_.total_packets_),
874 PROTOBUF_FIELD_OFFSET(::daphne::ChannelInfo, _impl_.new_packets_),
875 ~0u, // no _has_bits_
876 PROTOBUF_FIELD_OFFSET(::daphne::GeneralInfo, _internal_metadata_),
877 ~0u, // no _extensions_
878 ~0u, // no _oneof_case_
879 ~0u, // no _weak_field_map_
880 ~0u, // no _inlined_string_donated_
881 ~0u, // no _split_
882 ~0u, // no sizeof(Split)
883 PROTOBUF_FIELD_OFFSET(::daphne::GeneralInfo, _impl_.v_bias_0_),
884 PROTOBUF_FIELD_OFFSET(::daphne::GeneralInfo, _impl_.v_bias_1_),
885 PROTOBUF_FIELD_OFFSET(::daphne::GeneralInfo, _impl_.v_bias_2_),
886 PROTOBUF_FIELD_OFFSET(::daphne::GeneralInfo, _impl_.v_bias_3_),
887 PROTOBUF_FIELD_OFFSET(::daphne::GeneralInfo, _impl_.v_bias_4_),
888 PROTOBUF_FIELD_OFFSET(::daphne::GeneralInfo, _impl_.power_minus5v_),
889 PROTOBUF_FIELD_OFFSET(::daphne::GeneralInfo, _impl_.power_plus2p5v_),
890 PROTOBUF_FIELD_OFFSET(::daphne::GeneralInfo, _impl_.power_ce_),
891 PROTOBUF_FIELD_OFFSET(::daphne::GeneralInfo, _impl_.temperature_),
892 PROTOBUF_FIELD_OFFSET(::daphne::InfoResponse, _impl_._has_bits_),
893 PROTOBUF_FIELD_OFFSET(::daphne::InfoResponse, _internal_metadata_),
894 ~0u, // no _extensions_
895 ~0u, // no _oneof_case_
896 ~0u, // no _weak_field_map_
897 ~0u, // no _inlined_string_donated_
898 ~0u, // no _split_
899 ~0u, // no sizeof(Split)
900 PROTOBUF_FIELD_OFFSET(::daphne::InfoResponse, _impl_.stream_info_),
901 PROTOBUF_FIELD_OFFSET(::daphne::InfoResponse, _impl_.channels_),
902 PROTOBUF_FIELD_OFFSET(::daphne::InfoResponse, _impl_.general_info_),
903 0,
904 ~0u,
905 1,
906 ~0u, // no _has_bits_
907 PROTOBUF_FIELD_OFFSET(::daphne::TriggerChannelSnapshot, _internal_metadata_),
908 ~0u, // no _extensions_
909 ~0u, // no _oneof_case_
910 ~0u, // no _weak_field_map_
911 ~0u, // no _inlined_string_donated_
912 ~0u, // no _split_
913 ~0u, // no sizeof(Split)
914 PROTOBUF_FIELD_OFFSET(::daphne::TriggerChannelSnapshot, _impl_.channel_),
915 PROTOBUF_FIELD_OFFSET(::daphne::TriggerChannelSnapshot, _impl_.threshold_),
916 PROTOBUF_FIELD_OFFSET(::daphne::TriggerChannelSnapshot, _impl_.record_count_),
917 PROTOBUF_FIELD_OFFSET(::daphne::TriggerChannelSnapshot, _impl_.busy_count_),
918 PROTOBUF_FIELD_OFFSET(::daphne::TriggerChannelSnapshot, _impl_.full_count_),
919 ~0u, // no _has_bits_
920 PROTOBUF_FIELD_OFFSET(::daphne::ReadTriggerCountersRequest, _internal_metadata_),
921 ~0u, // no _extensions_
922 ~0u, // no _oneof_case_
923 ~0u, // no _weak_field_map_
924 ~0u, // no _inlined_string_donated_
925 ~0u, // no _split_
926 ~0u, // no sizeof(Split)
927 PROTOBUF_FIELD_OFFSET(::daphne::ReadTriggerCountersRequest, _impl_.channels_),
928 PROTOBUF_FIELD_OFFSET(::daphne::ReadTriggerCountersRequest, _impl_.base_addr_),
929 ~0u, // no _has_bits_
930 PROTOBUF_FIELD_OFFSET(::daphne::ReadTriggerCountersResponse, _internal_metadata_),
931 ~0u, // no _extensions_
932 ~0u, // no _oneof_case_
933 ~0u, // no _weak_field_map_
934 ~0u, // no _inlined_string_donated_
935 ~0u, // no _split_
936 ~0u, // no sizeof(Split)
937 PROTOBUF_FIELD_OFFSET(::daphne::ReadTriggerCountersResponse, _impl_.success_),
938 PROTOBUF_FIELD_OFFSET(::daphne::ReadTriggerCountersResponse, _impl_.message_),
939 PROTOBUF_FIELD_OFFSET(::daphne::ReadTriggerCountersResponse, _impl_.snapshots_),
940 ~0u, // no _has_bits_
941 PROTOBUF_FIELD_OFFSET(::daphne::TestRegRequest, _internal_metadata_),
942 ~0u, // no _extensions_
943 ~0u, // no _oneof_case_
944 ~0u, // no _weak_field_map_
945 ~0u, // no _inlined_string_donated_
946 ~0u, // no _split_
947 ~0u, // no sizeof(Split)
948 ~0u, // no _has_bits_
949 PROTOBUF_FIELD_OFFSET(::daphne::TestRegResponse, _internal_metadata_),
950 ~0u, // no _extensions_
951 ~0u, // no _oneof_case_
952 ~0u, // no _weak_field_map_
953 ~0u, // no _inlined_string_donated_
954 ~0u, // no _split_
955 ~0u, // no sizeof(Split)
956 PROTOBUF_FIELD_OFFSET(::daphne::TestRegResponse, _impl_.value_),
957 PROTOBUF_FIELD_OFFSET(::daphne::TestRegResponse, _impl_.message_),
958 ~0u, // no _has_bits_
959 PROTOBUF_FIELD_OFFSET(::daphne::WriteRegister, _internal_metadata_),
960 ~0u, // no _extensions_
961 ~0u, // no _oneof_case_
962 ~0u, // no _weak_field_map_
963 ~0u, // no _inlined_string_donated_
964 ~0u, // no _split_
965 ~0u, // no sizeof(Split)
966 PROTOBUF_FIELD_OFFSET(::daphne::WriteRegister, _impl_.address_),
967 PROTOBUF_FIELD_OFFSET(::daphne::WriteRegister, _impl_.value_),
968 ~0u, // no _has_bits_
969 PROTOBUF_FIELD_OFFSET(::daphne::WriteMultipleRegisterRequest, _internal_metadata_),
970 ~0u, // no _extensions_
971 ~0u, // no _oneof_case_
972 ~0u, // no _weak_field_map_
973 ~0u, // no _inlined_string_donated_
974 ~0u, // no _split_
975 ~0u, // no sizeof(Split)
976 PROTOBUF_FIELD_OFFSET(::daphne::WriteMultipleRegisterRequest, _impl_.writes_),
977 ~0u, // no _has_bits_
978 PROTOBUF_FIELD_OFFSET(::daphne::WriteRegisterResponse, _internal_metadata_),
979 ~0u, // no _extensions_
980 ~0u, // no _oneof_case_
981 ~0u, // no _weak_field_map_
982 ~0u, // no _inlined_string_donated_
983 ~0u, // no _split_
984 ~0u, // no sizeof(Split)
985 PROTOBUF_FIELD_OFFSET(::daphne::WriteRegisterResponse, _impl_.success_),
986 PROTOBUF_FIELD_OFFSET(::daphne::WriteRegisterResponse, _impl_.message_),
987 ~0u, // no _has_bits_
988 PROTOBUF_FIELD_OFFSET(::daphne::ControlEnvelopeV2, _internal_metadata_),
989 ~0u, // no _extensions_
990 ~0u, // no _oneof_case_
991 ~0u, // no _weak_field_map_
992 ~0u, // no _inlined_string_donated_
993 ~0u, // no _split_
994 ~0u, // no sizeof(Split)
995 PROTOBUF_FIELD_OFFSET(::daphne::ControlEnvelopeV2, _impl_.version_),
996 PROTOBUF_FIELD_OFFSET(::daphne::ControlEnvelopeV2, _impl_.dir_),
997 PROTOBUF_FIELD_OFFSET(::daphne::ControlEnvelopeV2, _impl_.type_),
998 PROTOBUF_FIELD_OFFSET(::daphne::ControlEnvelopeV2, _impl_.payload_),
999 PROTOBUF_FIELD_OFFSET(::daphne::ControlEnvelopeV2, _impl_.task_id_),
1000 PROTOBUF_FIELD_OFFSET(::daphne::ControlEnvelopeV2, _impl_.msg_id_),
1001 PROTOBUF_FIELD_OFFSET(::daphne::ControlEnvelopeV2, _impl_.correl_id_),
1002 PROTOBUF_FIELD_OFFSET(::daphne::ControlEnvelopeV2, _impl_.route_),
1003 PROTOBUF_FIELD_OFFSET(::daphne::ControlEnvelopeV2, _impl_.timestamp_ns_),
1004 ~0u, // no _has_bits_
1005 PROTOBUF_FIELD_OFFSET(::daphne::ControlEnvelope, _internal_metadata_),
1006 ~0u, // no _extensions_
1007 ~0u, // no _oneof_case_
1008 ~0u, // no _weak_field_map_
1009 ~0u, // no _inlined_string_donated_
1010 ~0u, // no _split_
1011 ~0u, // no sizeof(Split)
1012 PROTOBUF_FIELD_OFFSET(::daphne::ControlEnvelope, _impl_.type_),
1013 PROTOBUF_FIELD_OFFSET(::daphne::ControlEnvelope, _impl_.payload_),
1014};
1015
1016static const ::_pbi::MigrationSchema
1017 schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
1018 {0, -1, -1, sizeof(::daphne::ConfigureCLKsRequest)},
1019 {12, -1, -1, sizeof(::daphne::ConfigureCLKsResponse)},
1020 {22, -1, -1, sizeof(::daphne::ChannelConfig)},
1021 {34, 48, -1, sizeof(::daphne::AFEConfig)},
1022 {54, -1, -1, sizeof(::daphne::ADCConfig)},
1023 {65, -1, -1, sizeof(::daphne::PGAConfig)},
1024 {76, -1, -1, sizeof(::daphne::LNAConfig)},
1025 {87, -1, -1, sizeof(::daphne::ConfigureRequest)},
1026 {107, -1, -1, sizeof(::daphne::ConfigureResponse)},
1027 {117, -1, -1, sizeof(::daphne::ScrapRequest)},
1028 {125, -1, -1, sizeof(::daphne::ScrapResponse)},
1029 {135, -1, -1, sizeof(::daphne::DumpSpyBuffersRequest)},
1030 {147, -1, -1, sizeof(::daphne::DumpSpyBuffersResponse)},
1031 {162, -1, -1, sizeof(::daphne::DumpSpyBuffersChunkRequest)},
1032 {176, -1, -1, sizeof(::daphne::DumpSpyBuffersChunkResponse)},
1033 {195, -1, -1, sizeof(::daphne::InfoRequest)},
1034 {204, -1, -1, sizeof(::daphne::StreamInfo)},
1035 {216, -1, -1, sizeof(::daphne::ChannelInfo)},
1036 {229, -1, -1, sizeof(::daphne::GeneralInfo)},
1037 {246, 257, -1, sizeof(::daphne::InfoResponse)},
1038 {260, -1, -1, sizeof(::daphne::TriggerChannelSnapshot)},
1039 {273, -1, -1, sizeof(::daphne::ReadTriggerCountersRequest)},
1040 {283, -1, -1, sizeof(::daphne::ReadTriggerCountersResponse)},
1041 {294, -1, -1, sizeof(::daphne::TestRegRequest)},
1042 {302, -1, -1, sizeof(::daphne::TestRegResponse)},
1043 {312, -1, -1, sizeof(::daphne::WriteRegister)},
1044 {322, -1, -1, sizeof(::daphne::WriteMultipleRegisterRequest)},
1045 {331, -1, -1, sizeof(::daphne::WriteRegisterResponse)},
1046 {341, -1, -1, sizeof(::daphne::ControlEnvelopeV2)},
1047 {358, -1, -1, sizeof(::daphne::ControlEnvelope)},
1048};
1049
1050static const ::_pb::Message* const file_default_instances[] = {
1081};
1082const char descriptor_table_protodef_daphnemodules_2fdaphne_5fcontrol_5fhigh_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
1083 "\n\'daphnemodules/daphne_control_high.prot"
1084 "o\022\006daphne\"d\n\024ConfigureCLKsRequest\022\n\n\002id\030"
1085 "\001 \001(\r\022\023\n\013ctrl_ep_clk\030\002 \001(\010\022\023\n\013reset_MMCM"
1086 "1\030\003 \001(\010\022\026\n\016reset_endpoint\030\004 \001(\010\"9\n\025Confi"
1087 "gureCLKsResponse\022\017\n\007success\030\001 \001(\010\022\017\n\007mes"
1088 "sage\030\002 \001(\t\"G\n\rChannelConfig\022\n\n\002id\030\001 \001(\r\022"
1089 "\014\n\004trim\030\002 \001(\r\022\016\n\006offset\030\003 \001(\r\022\014\n\004gain\030\004 "
1090 "\001(\r\"\234\001\n\tAFEConfig\022\n\n\002id\030\001 \001(\r\022\023\n\013attenua"
1091 "tors\030\002 \001(\r\022\016\n\006v_bias\030\003 \001(\r\022\036\n\003adc\030\004 \001(\0132"
1092 "\021.daphne.ADCConfig\022\036\n\003pga\030\005 \001(\0132\021.daphne"
1093 ".PGAConfig\022\036\n\003lna\030\006 \001(\0132\021.daphne.LNAConf"
1094 "ig\"H\n\tADCConfig\022\022\n\nresolution\030\001 \001(\010\022\025\n\ro"
1095 "utput_format\030\002 \001(\010\022\020\n\010sb_first\030\003 \001(\010\"P\n\t"
1096 "PGAConfig\022\031\n\021lpf_cut_frequency\030\001 \001(\r\022\032\n\022"
1097 "integrator_disable\030\002 \001(\010\022\014\n\004gain\030\003 \001(\010\"D"
1098 "\n\tLNAConfig\022\r\n\005clamp\030\001 \001(\r\022\014\n\004gain\030\002 \001(\r"
1099 "\022\032\n\022integrator_disable\030\003 \001(\010\"\273\002\n\020Configu"
1100 "reRequest\022\026\n\016daphne_address\030\001 \001(\t\022\014\n\004slo"
1101 "t\030\002 \001(\r\022\022\n\ntimeout_ms\030\003 \001(\r\022\020\n\010biasctrl\030"
1102 "\004 \001(\r\022\036\n\026self_trigger_threshold\030\005 \001(\004\022\032\n"
1103 "\022self_trigger_xcorr\030\006 \001(\004\022\017\n\007tp_conf\030\007 \001"
1104 "(\004\022\023\n\013compensator\030\010 \001(\004\022\021\n\tinverters\030\t \001"
1105 "(\004\022\'\n\010channels\030\n \003(\0132\025.daphne.ChannelCon"
1106 "fig\022\037\n\004afes\030\013 \003(\0132\021.daphne.AFEConfig\022\034\n\024"
1107 "full_stream_channels\030\014 \003(\r\"5\n\021ConfigureR"
1108 "esponse\022\017\n\007success\030\001 \001(\010\022\017\n\007message\030\002 \001("
1109 "\t\"\016\n\014ScrapRequest\"1\n\rScrapResponse\022\017\n\007su"
1110 "ccess\030\001 \001(\010\022\017\n\007message\030\002 \001(\t\"y\n\025DumpSpyB"
1111 "uffersRequest\022\023\n\013channelList\030\001 \003(\r\022\027\n\017nu"
1112 "mberOfSamples\030\002 \001(\r\022\031\n\021numberOfWaveforms"
1113 "\030\003 \001(\r\022\027\n\017softwareTrigger\030\004 \001(\010\"\256\001\n\026Dump"
1114 "SpyBuffersResponse\022\017\n\007success\030\001 \001(\010\022\023\n\013c"
1115 "hannelList\030\002 \003(\r\022\027\n\017numberOfSamples\030\003 \001("
1116 "\r\022\031\n\021numberOfWaveforms\030\004 \001(\r\022\027\n\017software"
1117 "Trigger\030\005 \001(\010\022\020\n\004data\030\006 \003(\rB\002\020\001\022\017\n\007messa"
1118 "ge\030\007 \001(\t\"\244\001\n\032DumpSpyBuffersChunkRequest\022"
1119 "\023\n\013channelList\030\001 \003(\r\022\027\n\017numberOfSamples\030"
1120 "\002 \001(\r\022\031\n\021numberOfWaveforms\030\003 \001(\r\022\027\n\017soft"
1121 "wareTrigger\030\004 \001(\010\022\021\n\trequestID\030\005 \001(\t\022\021\n\t"
1122 "chunkSize\030\006 \001(\r\"\376\001\n\033DumpSpyBuffersChunkR"
1123 "esponse\022\017\n\007success\030\001 \001(\010\022\021\n\trequestID\030\002 "
1124 "\001(\t\022\020\n\010chunkseq\030\003 \001(\r\022\017\n\007isFinal\030\004 \001(\010\022\025"
1125 "\n\rwaveformStart\030\005 \001(\r\022\025\n\rwaveformCount\030\006"
1126 " \001(\r\022\035\n\025requestTotalWaveforms\030\007 \001(\r\022\027\n\017n"
1127 "umberOfSamples\030\010 \001(\r\022\023\n\013channelList\030\t \003("
1128 "\r\022\014\n\004data\030\n \003(\r\022\017\n\007message\030\013 \001(\t\"\034\n\013Info"
1129 "Request\022\r\n\005level\030\001 \001(\r\"t\n\nStreamInfo\022\025\n\r"
1130 "total_packets\030\001 \001(\004\022\023\n\013new_packets\030\002 \001(\004"
1131 "\022\035\n\025total_dropped_packets\030\003 \001(\004\022\033\n\023new_d"
1132 "ropped_packets\030\004 \001(\004\"s\n\013ChannelInfo\022\n\n\002i"
1133 "d\030\001 \001(\r\022\026\n\016total_triggers\030\002 \001(\004\022\024\n\014new_t"
1134 "riggers\030\003 \001(\004\022\025\n\rtotal_packets\030\004 \001(\004\022\023\n\013"
1135 "new_packets\030\005 \001(\004\"\275\001\n\013GeneralInfo\022\020\n\010v_b"
1136 "ias_0\030\001 \001(\001\022\020\n\010v_bias_1\030\002 \001(\001\022\020\n\010v_bias_"
1137 "2\030\003 \001(\001\022\020\n\010v_bias_3\030\004 \001(\001\022\020\n\010v_bias_4\030\005 "
1138 "\001(\001\022\025\n\rpower_minus5v\030\006 \001(\001\022\026\n\016power_plus"
1139 "2p5v\030\007 \001(\001\022\020\n\010power_ce\030\010 \001(\001\022\023\n\013temperat"
1140 "ure\030\t \001(\001\"\211\001\n\014InfoResponse\022\'\n\013stream_inf"
1141 "o\030\001 \001(\0132\022.daphne.StreamInfo\022%\n\010channels\030"
1142 "\002 \003(\0132\023.daphne.ChannelInfo\022)\n\014general_in"
1143 "fo\030\003 \001(\0132\023.daphne.GeneralInfo\"z\n\026Trigger"
1144 "ChannelSnapshot\022\017\n\007channel\030\001 \001(\r\022\021\n\tthre"
1145 "shold\030\002 \001(\r\022\024\n\014record_count\030\003 \001(\004\022\022\n\nbus"
1146 "y_count\030\004 \001(\004\022\022\n\nfull_count\030\005 \001(\004\"A\n\032Rea"
1147 "dTriggerCountersRequest\022\020\n\010channels\030\001 \003("
1148 "\r\022\021\n\tbase_addr\030\002 \001(\r\"r\n\033ReadTriggerCount"
1149 "ersResponse\022\017\n\007success\030\001 \001(\010\022\017\n\007message\030"
1150 "\002 \001(\t\0221\n\tsnapshots\030\003 \003(\0132\036.daphne.Trigge"
1151 "rChannelSnapshot\"\020\n\016TestRegRequest\"1\n\017Te"
1152 "stRegResponse\022\r\n\005value\030\001 \001(\004\022\017\n\007message\030"
1153 "\002 \001(\t\"/\n\rWriteRegister\022\017\n\007address\030\001 \001(\004\022"
1154 "\r\n\005value\030\002 \001(\004\"E\n\034WriteMultipleRegisterR"
1155 "equest\022%\n\006writes\030\001 \003(\0132\025.daphne.WriteReg"
1156 "ister\"9\n\025WriteRegisterResponse\022\017\n\007succes"
1157 "s\030\001 \001(\010\022\017\n\007message\030\002 \001(\t\"\323\001\n\021ControlEnve"
1158 "lopeV2\022\017\n\007version\030\001 \001(\r\022\036\n\003dir\030\002 \001(\0162\021.d"
1159 "aphne.Direction\022#\n\004type\030\003 \001(\0162\025.daphne.M"
1160 "essageTypeV2\022\017\n\007payload\030\004 \001(\014\022\017\n\007task_id"
1161 "\030\n \001(\004\022\016\n\006msg_id\030\013 \001(\004\022\021\n\tcorrel_id\030\014 \001("
1162 "\004\022\r\n\005route\030\r \001(\t\022\024\n\014timestamp_ns\030\024 \001(\004\"E"
1163 "\n\017ControlEnvelope\022!\n\004type\030\001 \001(\0162\023.daphne"
1164 ".MessageType\022\017\n\007payload\030\002 \001(\014*\217\006\n\013Messag"
1165 "eType\022\013\n\007UNKNOWN\020\000\022\022\n\016CONFIGURE_CLKS\020\001\022\020"
1166 "\n\014CONFIGURE_FE\020\002\022\021\n\rWRITE_AFE_REG\020\003\022\023\n\017W"
1167 "RITE_AFE_VGAIN\020\004\022\026\n\022WRITE_AFE_BIAS_SET\020\005"
1168 "\022\025\n\021WRITE_TRIM_ALL_CH\020\006\022\026\n\022WRITE_TRIM_AL"
1169 "L_AFE\020\007\022\021\n\rWRITE_TRIM_CH\020\010\022\027\n\023WRITE_OFFS"
1170 "ET_ALL_CH\020\t\022\030\n\024WRITE_OFFSET_ALL_AFE\020\n\022\023\n"
1171 "\017WRITE_OFFSET_CH\020\013\022\027\n\023WRITE_VBIAS_CONTRO"
1172 "L\020\014\022\020\n\014READ_AFE_REG\020\r\022\022\n\016READ_AFE_VGAIN\020"
1173 "\016\022\025\n\021READ_AFE_BIAS_SET\020\017\022\024\n\020READ_TRIM_AL"
1174 "L_CH\020\020\022\025\n\021READ_TRIM_ALL_AFE\020\021\022\020\n\014READ_TR"
1175 "IM_CH\020\022\022\026\n\022READ_OFFSET_ALL_CH\020\023\022\027\n\023READ_"
1176 "OFFSET_ALL_AFE\020\024\022\022\n\016READ_OFFSET_CH\020\025\022\026\n\022"
1177 "READ_VBIAS_CONTROL\020\026\022\030\n\024READ_CURRENT_MON"
1178 "ITOR\020\027\022\035\n\031READ_BIAS_VOLTAGE_MONITOR\020\030\022\021\n"
1179 "\rSET_AFE_RESET\020\031\022\020\n\014DO_AFE_RESET\020\032\022\026\n\022SE"
1180 "T_AFE_POWERSTATE\020\033\022\031\n\025WRITE_AFE_ATTENUAT"
1181 "ION\020\034\022\022\n\016DUMP_SPYBUFFER\020\035\022\r\n\tALIGN_AFE\020\036"
1182 "\022\026\n\022WRITE_AFE_FUNCTION\020\037\022\027\n\023DO_SOFTWARE_"
1183 "TRIGGER\020 \022\030\n\024DUMP_SPYBUFFER_CHUNK\020d\022\022\n\rR"
1184 "EAD_TEST_REG\020\210\002*=\n\tDirection\022\017\n\013DIR_REQU"
1185 "EST\020\000\022\020\n\014DIR_RESPONSE\020\001\022\r\n\tDIR_EVENT\020\002*\234"
1186 "\022\n\rMessageTypeV2\022\023\n\017MT2_UNSPECIFIED\020\000\022\033\n"
1187 "\026MT2_CONFIGURE_CLKS_REQ\020\310\001\022\034\n\027MT2_CONFIG"
1188 "URE_CLKS_RESP\020\311\001\022\031\n\024MT2_CONFIGURE_FE_REQ"
1189 "\020\312\001\022\032\n\025MT2_CONFIGURE_FE_RESP\020\313\001\022\032\n\025MT2_W"
1190 "RITE_AFE_REG_REQ\020\314\001\022\033\n\026MT2_WRITE_AFE_REG"
1191 "_RESP\020\315\001\022\034\n\027MT2_WRITE_AFE_VGAIN_REQ\020\316\001\022\035"
1192 "\n\030MT2_WRITE_AFE_VGAIN_RESP\020\317\001\022\037\n\032MT2_WRI"
1193 "TE_AFE_BIAS_SET_REQ\020\320\001\022 \n\033MT2_WRITE_AFE_"
1194 "BIAS_SET_RESP\020\321\001\022\036\n\031MT2_WRITE_TRIM_ALL_C"
1195 "H_REQ\020\322\001\022\037\n\032MT2_WRITE_TRIM_ALL_CH_RESP\020\323"
1196 "\001\022\037\n\032MT2_WRITE_TRIM_ALL_AFE_REQ\020\324\001\022 \n\033MT"
1197 "2_WRITE_TRIM_ALL_AFE_RESP\020\325\001\022\032\n\025MT2_WRIT"
1198 "E_TRIM_CH_REQ\020\326\001\022\033\n\026MT2_WRITE_TRIM_CH_RE"
1199 "SP\020\327\001\022 \n\033MT2_WRITE_OFFSET_ALL_CH_REQ\020\330\001\022"
1200 "!\n\034MT2_WRITE_OFFSET_ALL_CH_RESP\020\331\001\022!\n\034MT"
1201 "2_WRITE_OFFSET_ALL_AFE_REQ\020\332\001\022\"\n\035MT2_WRI"
1202 "TE_OFFSET_ALL_AFE_RESP\020\333\001\022\034\n\027MT2_WRITE_O"
1203 "FFSET_CH_REQ\020\334\001\022\035\n\030MT2_WRITE_OFFSET_CH_R"
1204 "ESP\020\335\001\022 \n\033MT2_WRITE_VBIAS_CONTROL_REQ\020\336\001"
1205 "\022!\n\034MT2_WRITE_VBIAS_CONTROL_RESP\020\337\001\022\031\n\024M"
1206 "T2_READ_AFE_REG_REQ\020\340\001\022\032\n\025MT2_READ_AFE_R"
1207 "EG_RESP\020\341\001\022\033\n\026MT2_READ_AFE_VGAIN_REQ\020\342\001\022"
1208 "\034\n\027MT2_READ_AFE_VGAIN_RESP\020\343\001\022\036\n\031MT2_REA"
1209 "D_AFE_BIAS_SET_REQ\020\344\001\022\037\n\032MT2_READ_AFE_BI"
1210 "AS_SET_RESP\020\345\001\022\035\n\030MT2_READ_TRIM_ALL_CH_R"
1211 "EQ\020\346\001\022\036\n\031MT2_READ_TRIM_ALL_CH_RESP\020\347\001\022\036\n"
1212 "\031MT2_READ_TRIM_ALL_AFE_REQ\020\350\001\022\037\n\032MT2_REA"
1213 "D_TRIM_ALL_AFE_RESP\020\351\001\022\031\n\024MT2_READ_TRIM_"
1214 "CH_REQ\020\352\001\022\032\n\025MT2_READ_TRIM_CH_RESP\020\353\001\022\037\n"
1215 "\032MT2_READ_OFFSET_ALL_CH_REQ\020\354\001\022 \n\033MT2_RE"
1216 "AD_OFFSET_ALL_CH_RESP\020\355\001\022 \n\033MT2_READ_OFF"
1217 "SET_ALL_AFE_REQ\020\356\001\022!\n\034MT2_READ_OFFSET_AL"
1218 "L_AFE_RESP\020\357\001\022\033\n\026MT2_READ_OFFSET_CH_REQ\020"
1219 "\360\001\022\034\n\027MT2_READ_OFFSET_CH_RESP\020\361\001\022\037\n\032MT2_"
1220 "READ_VBIAS_CONTROL_REQ\020\362\001\022 \n\033MT2_READ_VB"
1221 "IAS_CONTROL_RESP\020\363\001\022!\n\034MT2_READ_CURRENT_"
1222 "MONITOR_REQ\020\364\001\022\"\n\035MT2_READ_CURRENT_MONIT"
1223 "OR_RESP\020\365\001\022&\n!MT2_READ_BIAS_VOLTAGE_MONI"
1224 "TOR_REQ\020\366\001\022\'\n\"MT2_READ_BIAS_VOLTAGE_MONI"
1225 "TOR_RESP\020\367\001\022\032\n\025MT2_SET_AFE_RESET_REQ\020\370\001\022"
1226 "\033\n\026MT2_SET_AFE_RESET_RESP\020\371\001\022\031\n\024MT2_DO_A"
1227 "FE_RESET_REQ\020\372\001\022\032\n\025MT2_DO_AFE_RESET_RESP"
1228 "\020\373\001\022\037\n\032MT2_SET_AFE_POWERSTATE_REQ\020\374\001\022 \n\033"
1229 "MT2_SET_AFE_POWERSTATE_RESP\020\375\001\022\"\n\035MT2_WR"
1230 "ITE_AFE_ATTENUATION_REQ\020\376\001\022#\n\036MT2_WRITE_"
1231 "AFE_ATTENUATION_RESP\020\377\001\022\033\n\026MT2_DUMP_SPYB"
1232 "UFFER_REQ\020\200\002\022\034\n\027MT2_DUMP_SPYBUFFER_RESP\020"
1233 "\201\002\022\026\n\021MT2_ALIGN_AFE_REQ\020\202\002\022\027\n\022MT2_ALIGN_"
1234 "AFE_RESP\020\203\002\022\037\n\032MT2_WRITE_AFE_FUNCTION_RE"
1235 "Q\020\204\002\022 \n\033MT2_WRITE_AFE_FUNCTION_RESP\020\205\002\022 "
1236 "\n\033MT2_DO_SOFTWARE_TRIGGER_REQ\020\206\002\022!\n\034MT2_"
1237 "DO_SOFTWARE_TRIGGER_RESP\020\207\002\022!\n\034MT2_DUMP_"
1238 "SPYBUFFER_CHUNK_REQ\020\254\002\022\"\n\035MT2_DUMP_SPYBU"
1239 "FFER_CHUNK_RESP\020\255\002\022\032\n\025MT2_READ_TEST_REG_"
1240 "REQ\020\260\002\022\033\n\026MT2_READ_TEST_REG_RESP\020\261\002\022\"\n\035M"
1241 "T2_READ_TRIGGER_COUNTERS_REQ\020\300\002\022#\n\036MT2_R"
1242 "EAD_TRIGGER_COUNTERS_RESP\020\301\002\022\036\n\031MT2_READ"
1243 "_GENERAL_INFO_REQ\020\302\002\022\037\n\032MT2_READ_GENERAL"
1244 "_INFO_RESP\020\303\002b\006proto3"
1245};
1264
1265// This function exists to be marked as weak.
1266// It can significantly speed up compilation by breaking up LLVM's SCC
1267// in the .pb.cc translation units. Large translation units see a
1268// reduction of more than 35% of walltime for optimized builds. Without
1269// the weak attribute all the messages in the file, including all the
1270// vtables and everything they use become part of the same SCC through
1271// a cycle like:
1272// GetMetadata -> descriptor table -> default instances ->
1273// vtables -> GetMetadata
1274// By adding a weak function here we break the connection from the
1275// individual vtables back into the descriptor table.
1279// Force running AddDescriptors() at dynamic initialization time.
1280PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
1281static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_daphnemodules_2fdaphne_5fcontrol_5fhigh_2eproto(&descriptor_table_daphnemodules_2fdaphne_5fcontrol_5fhigh_2eproto);
1282namespace daphne {
1283const ::google::protobuf::EnumDescriptor* MessageType_descriptor() {
1284 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_daphnemodules_2fdaphne_5fcontrol_5fhigh_2eproto);
1286}
1287bool MessageType_IsValid(int value) {
1288 switch (value) {
1289 case 0:
1290 case 1:
1291 case 2:
1292 case 3:
1293 case 4:
1294 case 5:
1295 case 6:
1296 case 7:
1297 case 8:
1298 case 9:
1299 case 10:
1300 case 11:
1301 case 12:
1302 case 13:
1303 case 14:
1304 case 15:
1305 case 16:
1306 case 17:
1307 case 18:
1308 case 19:
1309 case 20:
1310 case 21:
1311 case 22:
1312 case 23:
1313 case 24:
1314 case 25:
1315 case 26:
1316 case 27:
1317 case 28:
1318 case 29:
1319 case 30:
1320 case 31:
1321 case 32:
1322 case 100:
1323 case 264:
1324 return true;
1325 default:
1326 return false;
1327 }
1328}
1329const ::google::protobuf::EnumDescriptor* Direction_descriptor() {
1330 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_daphnemodules_2fdaphne_5fcontrol_5fhigh_2eproto);
1332}
1333bool Direction_IsValid(int value) {
1334 switch (value) {
1335 case 0:
1336 case 1:
1337 case 2:
1338 return true;
1339 default:
1340 return false;
1341 }
1342}
1343const ::google::protobuf::EnumDescriptor* MessageTypeV2_descriptor() {
1344 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_daphnemodules_2fdaphne_5fcontrol_5fhigh_2eproto);
1346}
1347bool MessageTypeV2_IsValid(int value) {
1348 switch (value) {
1349 case 0:
1350 case 200:
1351 case 201:
1352 case 202:
1353 case 203:
1354 case 204:
1355 case 205:
1356 case 206:
1357 case 207:
1358 case 208:
1359 case 209:
1360 case 210:
1361 case 211:
1362 case 212:
1363 case 213:
1364 case 214:
1365 case 215:
1366 case 216:
1367 case 217:
1368 case 218:
1369 case 219:
1370 case 220:
1371 case 221:
1372 case 222:
1373 case 223:
1374 case 224:
1375 case 225:
1376 case 226:
1377 case 227:
1378 case 228:
1379 case 229:
1380 case 230:
1381 case 231:
1382 case 232:
1383 case 233:
1384 case 234:
1385 case 235:
1386 case 236:
1387 case 237:
1388 case 238:
1389 case 239:
1390 case 240:
1391 case 241:
1392 case 242:
1393 case 243:
1394 case 244:
1395 case 245:
1396 case 246:
1397 case 247:
1398 case 248:
1399 case 249:
1400 case 250:
1401 case 251:
1402 case 252:
1403 case 253:
1404 case 254:
1405 case 255:
1406 case 256:
1407 case 257:
1408 case 258:
1409 case 259:
1410 case 260:
1411 case 261:
1412 case 262:
1413 case 263:
1414 case 300:
1415 case 301:
1416 case 304:
1417 case 305:
1418 case 320:
1419 case 321:
1420 case 322:
1421 case 323:
1422 return true;
1423 default:
1424 return false;
1425 }
1426}
1427// ===================================================================
1428
1430 public:
1431};
1432
1433ConfigureCLKsRequest::ConfigureCLKsRequest(::google::protobuf::Arena* arena)
1434 : ::google::protobuf::Message(arena) {
1435 SharedCtor(arena);
1436 // @@protoc_insertion_point(arena_constructor:daphne.ConfigureCLKsRequest)
1437}
1439 : ::google::protobuf::Message(), _impl_(from._impl_) {
1440 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1441 from._internal_metadata_);
1442 // @@protoc_insertion_point(copy_constructor:daphne.ConfigureCLKsRequest)
1443}
1444inline void ConfigureCLKsRequest::SharedCtor(::_pb::Arena* arena) {
1445 (void)arena;
1446 new (&_impl_) Impl_{
1447 decltype(_impl_.id_){0u},
1448 decltype(_impl_.ctrl_ep_clk_){false},
1449 decltype(_impl_.reset_mmcm1_){false},
1450 decltype(_impl_.reset_endpoint_){false},
1451 /*decltype(_impl_._cached_size_)*/ {},
1452 };
1453}
1455 // @@protoc_insertion_point(destructor:daphne.ConfigureCLKsRequest)
1456 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1457 SharedDtor();
1458}
1460 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
1461}
1463 _impl_._cached_size_.Set(size);
1464}
1465
1466PROTOBUF_NOINLINE void ConfigureCLKsRequest::Clear() {
1467// @@protoc_insertion_point(message_clear_start:daphne.ConfigureCLKsRequest)
1468 ::uint32_t cached_has_bits = 0;
1469 // Prevent compiler warnings about cached_has_bits being unused
1470 (void) cached_has_bits;
1471
1472 ::memset(&_impl_.id_, 0, static_cast<::size_t>(
1473 reinterpret_cast<char*>(&_impl_.reset_endpoint_) -
1474 reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.reset_endpoint_));
1475 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1476}
1477
1479 const char* ptr, ::_pbi::ParseContext* ctx) {
1480 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
1481 return ptr;
1482}
1483
1484
1485PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1486const ::_pbi::TcParseTable<2, 4, 0, 0, 2> ConfigureCLKsRequest::_table_ = {
1487 {
1488 0, // no _has_bits_
1489 0, // no _extensions_
1490 4, 24, // max_field_number, fast_idx_mask
1491 offsetof(decltype(_table_), field_lookup_table),
1492 4294967280, // skipmap
1493 offsetof(decltype(_table_), field_entries),
1494 4, // num_field_entries
1495 0, // num_aux_entries
1496 offsetof(decltype(_table_), field_names), // no aux_entries
1498 ::_pbi::TcParser::GenericFallback, // fallback
1499 }, {{
1500 // bool reset_endpoint = 4;
1501 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ConfigureCLKsRequest, _impl_.reset_endpoint_), 63>(),
1502 {32, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureCLKsRequest, _impl_.reset_endpoint_)}},
1503 // uint32 id = 1;
1504 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ConfigureCLKsRequest, _impl_.id_), 63>(),
1505 {8, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureCLKsRequest, _impl_.id_)}},
1506 // bool ctrl_ep_clk = 2;
1507 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ConfigureCLKsRequest, _impl_.ctrl_ep_clk_), 63>(),
1508 {16, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureCLKsRequest, _impl_.ctrl_ep_clk_)}},
1509 // bool reset_MMCM1 = 3;
1510 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ConfigureCLKsRequest, _impl_.reset_mmcm1_), 63>(),
1511 {24, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureCLKsRequest, _impl_.reset_mmcm1_)}},
1512 }}, {{
1513 65535, 65535
1514 }}, {{
1515 // uint32 id = 1;
1516 {PROTOBUF_FIELD_OFFSET(ConfigureCLKsRequest, _impl_.id_), 0, 0,
1517 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
1518 // bool ctrl_ep_clk = 2;
1519 {PROTOBUF_FIELD_OFFSET(ConfigureCLKsRequest, _impl_.ctrl_ep_clk_), 0, 0,
1520 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
1521 // bool reset_MMCM1 = 3;
1522 {PROTOBUF_FIELD_OFFSET(ConfigureCLKsRequest, _impl_.reset_mmcm1_), 0, 0,
1523 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
1524 // bool reset_endpoint = 4;
1525 {PROTOBUF_FIELD_OFFSET(ConfigureCLKsRequest, _impl_.reset_endpoint_), 0, 0,
1526 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
1527 }},
1528 // no aux_entries
1529 {{
1530 }},
1531};
1532
1534 ::uint8_t* target,
1535 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1536 // @@protoc_insertion_point(serialize_to_array_start:daphne.ConfigureCLKsRequest)
1537 ::uint32_t cached_has_bits = 0;
1538 (void)cached_has_bits;
1539
1540 // uint32 id = 1;
1541 if (this->_internal_id() != 0) {
1542 target = stream->EnsureSpace(target);
1543 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1544 1, this->_internal_id(), target);
1545 }
1546
1547 // bool ctrl_ep_clk = 2;
1548 if (this->_internal_ctrl_ep_clk() != 0) {
1549 target = stream->EnsureSpace(target);
1550 target = ::_pbi::WireFormatLite::WriteBoolToArray(
1551 2, this->_internal_ctrl_ep_clk(), target);
1552 }
1553
1554 // bool reset_MMCM1 = 3;
1555 if (this->_internal_reset_mmcm1() != 0) {
1556 target = stream->EnsureSpace(target);
1557 target = ::_pbi::WireFormatLite::WriteBoolToArray(
1558 3, this->_internal_reset_mmcm1(), target);
1559 }
1560
1561 // bool reset_endpoint = 4;
1562 if (this->_internal_reset_endpoint() != 0) {
1563 target = stream->EnsureSpace(target);
1564 target = ::_pbi::WireFormatLite::WriteBoolToArray(
1565 4, this->_internal_reset_endpoint(), target);
1566 }
1567
1568 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1569 target =
1570 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1571 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1572 }
1573 // @@protoc_insertion_point(serialize_to_array_end:daphne.ConfigureCLKsRequest)
1574 return target;
1575}
1576
1578// @@protoc_insertion_point(message_byte_size_start:daphne.ConfigureCLKsRequest)
1579 ::size_t total_size = 0;
1580
1581 ::uint32_t cached_has_bits = 0;
1582 // Prevent compiler warnings about cached_has_bits being unused
1583 (void) cached_has_bits;
1584
1585 // uint32 id = 1;
1586 if (this->_internal_id() != 0) {
1587 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
1588 this->_internal_id());
1589 }
1590
1591 // bool ctrl_ep_clk = 2;
1592 if (this->_internal_ctrl_ep_clk() != 0) {
1593 total_size += 2;
1594 }
1595
1596 // bool reset_MMCM1 = 3;
1597 if (this->_internal_reset_mmcm1() != 0) {
1598 total_size += 2;
1599 }
1600
1601 // bool reset_endpoint = 4;
1602 if (this->_internal_reset_endpoint() != 0) {
1603 total_size += 2;
1604 }
1605
1606 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
1607}
1608
1609const ::google::protobuf::Message::ClassData ConfigureCLKsRequest::_class_data_ = {
1610 ::google::protobuf::Message::CopyWithSourceCheck,
1612};
1613const ::google::protobuf::Message::ClassData*ConfigureCLKsRequest::GetClassData() const { return &_class_data_; }
1614
1615
1616void ConfigureCLKsRequest::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
1617 auto* const _this = static_cast<ConfigureCLKsRequest*>(&to_msg);
1618 auto& from = static_cast<const ConfigureCLKsRequest&>(from_msg);
1619 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.ConfigureCLKsRequest)
1620 ABSL_DCHECK_NE(&from, _this);
1621 ::uint32_t cached_has_bits = 0;
1622 (void) cached_has_bits;
1623
1624 if (from._internal_id() != 0) {
1625 _this->_internal_set_id(from._internal_id());
1626 }
1627 if (from._internal_ctrl_ep_clk() != 0) {
1628 _this->_internal_set_ctrl_ep_clk(from._internal_ctrl_ep_clk());
1629 }
1630 if (from._internal_reset_mmcm1() != 0) {
1631 _this->_internal_set_reset_mmcm1(from._internal_reset_mmcm1());
1632 }
1633 if (from._internal_reset_endpoint() != 0) {
1634 _this->_internal_set_reset_endpoint(from._internal_reset_endpoint());
1635 }
1636 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1637}
1638
1640// @@protoc_insertion_point(class_specific_copy_from_start:daphne.ConfigureCLKsRequest)
1641 if (&from == this) return;
1642 Clear();
1643 MergeFrom(from);
1644}
1645
1646PROTOBUF_NOINLINE bool ConfigureCLKsRequest::IsInitialized() const {
1647 return true;
1648}
1649
1651 using std::swap;
1652 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1653 ::google::protobuf::internal::memswap<
1654 PROTOBUF_FIELD_OFFSET(ConfigureCLKsRequest, _impl_.reset_endpoint_)
1656 - PROTOBUF_FIELD_OFFSET(ConfigureCLKsRequest, _impl_.id_)>(
1657 reinterpret_cast<char*>(&_impl_.id_),
1658 reinterpret_cast<char*>(&other->_impl_.id_));
1659}
1660
1666// ===================================================================
1667
1669 public:
1670};
1671
1672ConfigureCLKsResponse::ConfigureCLKsResponse(::google::protobuf::Arena* arena)
1673 : ::google::protobuf::Message(arena) {
1674 SharedCtor(arena);
1675 // @@protoc_insertion_point(arena_constructor:daphne.ConfigureCLKsResponse)
1676}
1678 ConfigureCLKsResponse* const _this = this;
1679 (void)_this;
1680 new (&_impl_) Impl_{
1681 decltype(_impl_.message_){},
1682 decltype(_impl_.success_){},
1683 /*decltype(_impl_._cached_size_)*/ {},
1684 };
1685 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1686 from._internal_metadata_);
1687 _impl_.message_.InitDefault();
1688 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1689 _impl_.message_.Set("", GetArenaForAllocation());
1690 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1691 if (!from._internal_message().empty()) {
1692 _this->_impl_.message_.Set(from._internal_message(), _this->GetArenaForAllocation());
1693 }
1694 _this->_impl_.success_ = from._impl_.success_;
1695
1696 // @@protoc_insertion_point(copy_constructor:daphne.ConfigureCLKsResponse)
1697}
1698inline void ConfigureCLKsResponse::SharedCtor(::_pb::Arena* arena) {
1699 (void)arena;
1700 new (&_impl_) Impl_{
1701 decltype(_impl_.message_){},
1702 decltype(_impl_.success_){false},
1703 /*decltype(_impl_._cached_size_)*/ {},
1704 };
1705 _impl_.message_.InitDefault();
1706 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1707 _impl_.message_.Set("", GetArenaForAllocation());
1708 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1709}
1711 // @@protoc_insertion_point(destructor:daphne.ConfigureCLKsResponse)
1712 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1713 SharedDtor();
1714}
1716 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
1717 _impl_.message_.Destroy();
1718}
1720 _impl_._cached_size_.Set(size);
1721}
1722
1723PROTOBUF_NOINLINE void ConfigureCLKsResponse::Clear() {
1724// @@protoc_insertion_point(message_clear_start:daphne.ConfigureCLKsResponse)
1725 ::uint32_t cached_has_bits = 0;
1726 // Prevent compiler warnings about cached_has_bits being unused
1727 (void) cached_has_bits;
1728
1729 _impl_.message_.ClearToEmpty();
1730 _impl_.success_ = false;
1731 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1732}
1733
1735 const char* ptr, ::_pbi::ParseContext* ctx) {
1736 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
1737 return ptr;
1738}
1739
1740
1741PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1742const ::_pbi::TcParseTable<1, 2, 0, 44, 2> ConfigureCLKsResponse::_table_ = {
1743 {
1744 0, // no _has_bits_
1745 0, // no _extensions_
1746 2, 8, // max_field_number, fast_idx_mask
1747 offsetof(decltype(_table_), field_lookup_table),
1748 4294967292, // skipmap
1749 offsetof(decltype(_table_), field_entries),
1750 2, // num_field_entries
1751 0, // num_aux_entries
1752 offsetof(decltype(_table_), field_names), // no aux_entries
1754 ::_pbi::TcParser::GenericFallback, // fallback
1755 }, {{
1756 // string message = 2;
1757 {::_pbi::TcParser::FastUS1,
1758 {18, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureCLKsResponse, _impl_.message_)}},
1759 // bool success = 1;
1760 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ConfigureCLKsResponse, _impl_.success_), 63>(),
1761 {8, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureCLKsResponse, _impl_.success_)}},
1762 }}, {{
1763 65535, 65535
1764 }}, {{
1765 // bool success = 1;
1766 {PROTOBUF_FIELD_OFFSET(ConfigureCLKsResponse, _impl_.success_), 0, 0,
1767 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
1768 // string message = 2;
1769 {PROTOBUF_FIELD_OFFSET(ConfigureCLKsResponse, _impl_.message_), 0, 0,
1770 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
1771 }},
1772 // no aux_entries
1773 {{
1774 "\34\0\7\0\0\0\0\0"
1775 "daphne.ConfigureCLKsResponse"
1776 "message"
1777 }},
1778};
1779
1781 ::uint8_t* target,
1782 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1783 // @@protoc_insertion_point(serialize_to_array_start:daphne.ConfigureCLKsResponse)
1784 ::uint32_t cached_has_bits = 0;
1785 (void)cached_has_bits;
1786
1787 // bool success = 1;
1788 if (this->_internal_success() != 0) {
1789 target = stream->EnsureSpace(target);
1790 target = ::_pbi::WireFormatLite::WriteBoolToArray(
1791 1, this->_internal_success(), target);
1792 }
1793
1794 // string message = 2;
1795 if (!this->_internal_message().empty()) {
1796 const std::string& _s = this->_internal_message();
1797 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1798 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "daphne.ConfigureCLKsResponse.message");
1799 target = stream->WriteStringMaybeAliased(2, _s, target);
1800 }
1801
1802 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1803 target =
1804 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1805 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1806 }
1807 // @@protoc_insertion_point(serialize_to_array_end:daphne.ConfigureCLKsResponse)
1808 return target;
1809}
1810
1812// @@protoc_insertion_point(message_byte_size_start:daphne.ConfigureCLKsResponse)
1813 ::size_t total_size = 0;
1814
1815 ::uint32_t cached_has_bits = 0;
1816 // Prevent compiler warnings about cached_has_bits being unused
1817 (void) cached_has_bits;
1818
1819 // string message = 2;
1820 if (!this->_internal_message().empty()) {
1821 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1822 this->_internal_message());
1823 }
1824
1825 // bool success = 1;
1826 if (this->_internal_success() != 0) {
1827 total_size += 2;
1828 }
1829
1830 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
1831}
1832
1833const ::google::protobuf::Message::ClassData ConfigureCLKsResponse::_class_data_ = {
1834 ::google::protobuf::Message::CopyWithSourceCheck,
1836};
1837const ::google::protobuf::Message::ClassData*ConfigureCLKsResponse::GetClassData() const { return &_class_data_; }
1838
1839
1840void ConfigureCLKsResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
1841 auto* const _this = static_cast<ConfigureCLKsResponse*>(&to_msg);
1842 auto& from = static_cast<const ConfigureCLKsResponse&>(from_msg);
1843 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.ConfigureCLKsResponse)
1844 ABSL_DCHECK_NE(&from, _this);
1845 ::uint32_t cached_has_bits = 0;
1846 (void) cached_has_bits;
1847
1848 if (!from._internal_message().empty()) {
1849 _this->_internal_set_message(from._internal_message());
1850 }
1851 if (from._internal_success() != 0) {
1852 _this->_internal_set_success(from._internal_success());
1853 }
1854 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1855}
1856
1858// @@protoc_insertion_point(class_specific_copy_from_start:daphne.ConfigureCLKsResponse)
1859 if (&from == this) return;
1860 Clear();
1861 MergeFrom(from);
1862}
1863
1864PROTOBUF_NOINLINE bool ConfigureCLKsResponse::IsInitialized() const {
1865 return true;
1866}
1867
1869 using std::swap;
1870 auto* lhs_arena = GetArenaForAllocation();
1871 auto* rhs_arena = other->GetArenaForAllocation();
1872 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1873 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, lhs_arena,
1874 &other->_impl_.message_, rhs_arena);
1876}
1877
1883// ===================================================================
1884
1886 public:
1887};
1888
1889ChannelConfig::ChannelConfig(::google::protobuf::Arena* arena)
1890 : ::google::protobuf::Message(arena) {
1891 SharedCtor(arena);
1892 // @@protoc_insertion_point(arena_constructor:daphne.ChannelConfig)
1893}
1895 : ::google::protobuf::Message(), _impl_(from._impl_) {
1896 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1897 from._internal_metadata_);
1898 // @@protoc_insertion_point(copy_constructor:daphne.ChannelConfig)
1899}
1900inline void ChannelConfig::SharedCtor(::_pb::Arena* arena) {
1901 (void)arena;
1902 new (&_impl_) Impl_{
1903 decltype(_impl_.id_){0u},
1904 decltype(_impl_.trim_){0u},
1905 decltype(_impl_.offset_){0u},
1906 decltype(_impl_.gain_){0u},
1907 /*decltype(_impl_._cached_size_)*/ {},
1908 };
1909}
1911 // @@protoc_insertion_point(destructor:daphne.ChannelConfig)
1912 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1913 SharedDtor();
1914}
1916 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
1917}
1918void ChannelConfig::SetCachedSize(int size) const {
1919 _impl_._cached_size_.Set(size);
1920}
1921
1922PROTOBUF_NOINLINE void ChannelConfig::Clear() {
1923// @@protoc_insertion_point(message_clear_start:daphne.ChannelConfig)
1924 ::uint32_t cached_has_bits = 0;
1925 // Prevent compiler warnings about cached_has_bits being unused
1926 (void) cached_has_bits;
1927
1928 ::memset(&_impl_.id_, 0, static_cast<::size_t>(
1929 reinterpret_cast<char*>(&_impl_.gain_) -
1930 reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.gain_));
1931 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1932}
1933
1935 const char* ptr, ::_pbi::ParseContext* ctx) {
1936 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
1937 return ptr;
1938}
1939
1940
1941PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1942const ::_pbi::TcParseTable<2, 4, 0, 0, 2> ChannelConfig::_table_ = {
1943 {
1944 0, // no _has_bits_
1945 0, // no _extensions_
1946 4, 24, // max_field_number, fast_idx_mask
1947 offsetof(decltype(_table_), field_lookup_table),
1948 4294967280, // skipmap
1949 offsetof(decltype(_table_), field_entries),
1950 4, // num_field_entries
1951 0, // num_aux_entries
1952 offsetof(decltype(_table_), field_names), // no aux_entries
1954 ::_pbi::TcParser::GenericFallback, // fallback
1955 }, {{
1956 // uint32 gain = 4;
1957 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ChannelConfig, _impl_.gain_), 63>(),
1958 {32, 63, 0, PROTOBUF_FIELD_OFFSET(ChannelConfig, _impl_.gain_)}},
1959 // uint32 id = 1;
1960 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ChannelConfig, _impl_.id_), 63>(),
1961 {8, 63, 0, PROTOBUF_FIELD_OFFSET(ChannelConfig, _impl_.id_)}},
1962 // uint32 trim = 2;
1963 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ChannelConfig, _impl_.trim_), 63>(),
1964 {16, 63, 0, PROTOBUF_FIELD_OFFSET(ChannelConfig, _impl_.trim_)}},
1965 // uint32 offset = 3;
1966 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ChannelConfig, _impl_.offset_), 63>(),
1967 {24, 63, 0, PROTOBUF_FIELD_OFFSET(ChannelConfig, _impl_.offset_)}},
1968 }}, {{
1969 65535, 65535
1970 }}, {{
1971 // uint32 id = 1;
1972 {PROTOBUF_FIELD_OFFSET(ChannelConfig, _impl_.id_), 0, 0,
1973 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
1974 // uint32 trim = 2;
1975 {PROTOBUF_FIELD_OFFSET(ChannelConfig, _impl_.trim_), 0, 0,
1976 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
1977 // uint32 offset = 3;
1978 {PROTOBUF_FIELD_OFFSET(ChannelConfig, _impl_.offset_), 0, 0,
1979 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
1980 // uint32 gain = 4;
1981 {PROTOBUF_FIELD_OFFSET(ChannelConfig, _impl_.gain_), 0, 0,
1982 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
1983 }},
1984 // no aux_entries
1985 {{
1986 }},
1987};
1988
1990 ::uint8_t* target,
1991 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1992 // @@protoc_insertion_point(serialize_to_array_start:daphne.ChannelConfig)
1993 ::uint32_t cached_has_bits = 0;
1994 (void)cached_has_bits;
1995
1996 // uint32 id = 1;
1997 if (this->_internal_id() != 0) {
1998 target = stream->EnsureSpace(target);
1999 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2000 1, this->_internal_id(), target);
2001 }
2002
2003 // uint32 trim = 2;
2004 if (this->_internal_trim() != 0) {
2005 target = stream->EnsureSpace(target);
2006 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2007 2, this->_internal_trim(), target);
2008 }
2009
2010 // uint32 offset = 3;
2011 if (this->_internal_offset() != 0) {
2012 target = stream->EnsureSpace(target);
2013 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2014 3, this->_internal_offset(), target);
2015 }
2016
2017 // uint32 gain = 4;
2018 if (this->_internal_gain() != 0) {
2019 target = stream->EnsureSpace(target);
2020 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2021 4, this->_internal_gain(), target);
2022 }
2023
2024 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2025 target =
2026 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2027 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2028 }
2029 // @@protoc_insertion_point(serialize_to_array_end:daphne.ChannelConfig)
2030 return target;
2031}
2032
2034// @@protoc_insertion_point(message_byte_size_start:daphne.ChannelConfig)
2035 ::size_t total_size = 0;
2036
2037 ::uint32_t cached_has_bits = 0;
2038 // Prevent compiler warnings about cached_has_bits being unused
2039 (void) cached_has_bits;
2040
2041 // uint32 id = 1;
2042 if (this->_internal_id() != 0) {
2043 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
2044 this->_internal_id());
2045 }
2046
2047 // uint32 trim = 2;
2048 if (this->_internal_trim() != 0) {
2049 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
2050 this->_internal_trim());
2051 }
2052
2053 // uint32 offset = 3;
2054 if (this->_internal_offset() != 0) {
2055 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
2056 this->_internal_offset());
2057 }
2058
2059 // uint32 gain = 4;
2060 if (this->_internal_gain() != 0) {
2061 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
2062 this->_internal_gain());
2063 }
2064
2065 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
2066}
2067
2068const ::google::protobuf::Message::ClassData ChannelConfig::_class_data_ = {
2069 ::google::protobuf::Message::CopyWithSourceCheck,
2071};
2072const ::google::protobuf::Message::ClassData*ChannelConfig::GetClassData() const { return &_class_data_; }
2073
2074
2075void ChannelConfig::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
2076 auto* const _this = static_cast<ChannelConfig*>(&to_msg);
2077 auto& from = static_cast<const ChannelConfig&>(from_msg);
2078 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.ChannelConfig)
2079 ABSL_DCHECK_NE(&from, _this);
2080 ::uint32_t cached_has_bits = 0;
2081 (void) cached_has_bits;
2082
2083 if (from._internal_id() != 0) {
2084 _this->_internal_set_id(from._internal_id());
2085 }
2086 if (from._internal_trim() != 0) {
2087 _this->_internal_set_trim(from._internal_trim());
2088 }
2089 if (from._internal_offset() != 0) {
2090 _this->_internal_set_offset(from._internal_offset());
2091 }
2092 if (from._internal_gain() != 0) {
2093 _this->_internal_set_gain(from._internal_gain());
2094 }
2095 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2096}
2097
2099// @@protoc_insertion_point(class_specific_copy_from_start:daphne.ChannelConfig)
2100 if (&from == this) return;
2101 Clear();
2102 MergeFrom(from);
2103}
2104
2105PROTOBUF_NOINLINE bool ChannelConfig::IsInitialized() const {
2106 return true;
2107}
2108
2110 using std::swap;
2111 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2112 ::google::protobuf::internal::memswap<
2113 PROTOBUF_FIELD_OFFSET(ChannelConfig, _impl_.gain_)
2115 - PROTOBUF_FIELD_OFFSET(ChannelConfig, _impl_.id_)>(
2116 reinterpret_cast<char*>(&_impl_.id_),
2117 reinterpret_cast<char*>(&other->_impl_.id_));
2118}
2119
2125// ===================================================================
2126
2128 public:
2129 using HasBits = decltype(std::declval<AFEConfig>()._impl_._has_bits_);
2130 static constexpr ::int32_t kHasBitsOffset =
2131 8 * PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_._has_bits_);
2132 static const ::daphne::ADCConfig& adc(const AFEConfig* msg);
2133 static void set_has_adc(HasBits* has_bits) {
2134 (*has_bits)[0] |= 1u;
2135 }
2136 static const ::daphne::PGAConfig& pga(const AFEConfig* msg);
2137 static void set_has_pga(HasBits* has_bits) {
2138 (*has_bits)[0] |= 2u;
2139 }
2140 static const ::daphne::LNAConfig& lna(const AFEConfig* msg);
2141 static void set_has_lna(HasBits* has_bits) {
2142 (*has_bits)[0] |= 4u;
2143 }
2144};
2145
2146const ::daphne::ADCConfig& AFEConfig::_Internal::adc(const AFEConfig* msg) {
2147 return *msg->_impl_.adc_;
2148}
2149const ::daphne::PGAConfig& AFEConfig::_Internal::pga(const AFEConfig* msg) {
2150 return *msg->_impl_.pga_;
2151}
2152const ::daphne::LNAConfig& AFEConfig::_Internal::lna(const AFEConfig* msg) {
2153 return *msg->_impl_.lna_;
2154}
2155AFEConfig::AFEConfig(::google::protobuf::Arena* arena)
2156 : ::google::protobuf::Message(arena) {
2157 SharedCtor(arena);
2158 // @@protoc_insertion_point(arena_constructor:daphne.AFEConfig)
2159}
2160AFEConfig::AFEConfig(const AFEConfig& from) : ::google::protobuf::Message() {
2161 AFEConfig* const _this = this;
2162 (void)_this;
2163 new (&_impl_) Impl_{
2164 decltype(_impl_._has_bits_){from._impl_._has_bits_},
2165 /*decltype(_impl_._cached_size_)*/ {},
2166 decltype(_impl_.adc_){nullptr},
2167 decltype(_impl_.pga_){nullptr},
2168 decltype(_impl_.lna_){nullptr},
2169 decltype(_impl_.id_){},
2170 decltype(_impl_.attenuators_){},
2171 decltype(_impl_.v_bias_){},
2172 };
2173 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2174 from._internal_metadata_);
2175 if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
2176 _this->_impl_.adc_ = new ::daphne::ADCConfig(*from._impl_.adc_);
2177 }
2178 if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
2179 _this->_impl_.pga_ = new ::daphne::PGAConfig(*from._impl_.pga_);
2180 }
2181 if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) {
2182 _this->_impl_.lna_ = new ::daphne::LNAConfig(*from._impl_.lna_);
2183 }
2184 ::memcpy(&_impl_.id_, &from._impl_.id_,
2185 static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.v_bias_) -
2186 reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.v_bias_));
2187
2188 // @@protoc_insertion_point(copy_constructor:daphne.AFEConfig)
2189}
2190inline void AFEConfig::SharedCtor(::_pb::Arena* arena) {
2191 (void)arena;
2192 new (&_impl_) Impl_{
2193 decltype(_impl_._has_bits_){},
2194 /*decltype(_impl_._cached_size_)*/ {},
2195 decltype(_impl_.adc_){nullptr},
2196 decltype(_impl_.pga_){nullptr},
2197 decltype(_impl_.lna_){nullptr},
2198 decltype(_impl_.id_){0u},
2199 decltype(_impl_.attenuators_){0u},
2200 decltype(_impl_.v_bias_){0u},
2201 };
2202}
2204 // @@protoc_insertion_point(destructor:daphne.AFEConfig)
2205 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2206 SharedDtor();
2207}
2209 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
2210 if (this != internal_default_instance()) delete _impl_.adc_;
2211 if (this != internal_default_instance()) delete _impl_.pga_;
2212 if (this != internal_default_instance()) delete _impl_.lna_;
2213}
2214void AFEConfig::SetCachedSize(int size) const {
2215 _impl_._cached_size_.Set(size);
2216}
2217
2218PROTOBUF_NOINLINE void AFEConfig::Clear() {
2219// @@protoc_insertion_point(message_clear_start:daphne.AFEConfig)
2220 ::uint32_t cached_has_bits = 0;
2221 // Prevent compiler warnings about cached_has_bits being unused
2222 (void) cached_has_bits;
2223
2224 cached_has_bits = _impl_._has_bits_[0];
2225 if (cached_has_bits & 0x00000007u) {
2226 if (cached_has_bits & 0x00000001u) {
2227 ABSL_DCHECK(_impl_.adc_ != nullptr);
2228 _impl_.adc_->Clear();
2229 }
2230 if (cached_has_bits & 0x00000002u) {
2231 ABSL_DCHECK(_impl_.pga_ != nullptr);
2232 _impl_.pga_->Clear();
2233 }
2234 if (cached_has_bits & 0x00000004u) {
2235 ABSL_DCHECK(_impl_.lna_ != nullptr);
2236 _impl_.lna_->Clear();
2237 }
2238 }
2239 ::memset(&_impl_.id_, 0, static_cast<::size_t>(
2240 reinterpret_cast<char*>(&_impl_.v_bias_) -
2241 reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.v_bias_));
2242 _impl_._has_bits_.Clear();
2243 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2244}
2245
2247 const char* ptr, ::_pbi::ParseContext* ctx) {
2248 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
2249 return ptr;
2250}
2251
2252
2253PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2254const ::_pbi::TcParseTable<3, 6, 3, 0, 2> AFEConfig::_table_ = {
2255 {
2256 PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_._has_bits_),
2257 0, // no _extensions_
2258 6, 56, // max_field_number, fast_idx_mask
2259 offsetof(decltype(_table_), field_lookup_table),
2260 4294967232, // skipmap
2261 offsetof(decltype(_table_), field_entries),
2262 6, // num_field_entries
2263 3, // num_aux_entries
2264 offsetof(decltype(_table_), aux_entries),
2266 ::_pbi::TcParser::GenericFallback, // fallback
2267 }, {{
2268 {::_pbi::TcParser::MiniParse, {}},
2269 // uint32 id = 1;
2270 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(AFEConfig, _impl_.id_), 63>(),
2271 {8, 63, 0, PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.id_)}},
2272 // uint32 attenuators = 2;
2273 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(AFEConfig, _impl_.attenuators_), 63>(),
2274 {16, 63, 0, PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.attenuators_)}},
2275 // uint32 v_bias = 3;
2276 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(AFEConfig, _impl_.v_bias_), 63>(),
2277 {24, 63, 0, PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.v_bias_)}},
2278 // .daphne.ADCConfig adc = 4;
2279 {::_pbi::TcParser::FastMtS1,
2280 {34, 0, 0, PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.adc_)}},
2281 // .daphne.PGAConfig pga = 5;
2282 {::_pbi::TcParser::FastMtS1,
2283 {42, 1, 1, PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.pga_)}},
2284 // .daphne.LNAConfig lna = 6;
2285 {::_pbi::TcParser::FastMtS1,
2286 {50, 2, 2, PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.lna_)}},
2287 {::_pbi::TcParser::MiniParse, {}},
2288 }}, {{
2289 65535, 65535
2290 }}, {{
2291 // uint32 id = 1;
2292 {PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.id_), -1, 0,
2293 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
2294 // uint32 attenuators = 2;
2295 {PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.attenuators_), -1, 0,
2296 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
2297 // uint32 v_bias = 3;
2298 {PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.v_bias_), -1, 0,
2299 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
2300 // .daphne.ADCConfig adc = 4;
2301 {PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.adc_), _Internal::kHasBitsOffset + 0, 0,
2302 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2303 // .daphne.PGAConfig pga = 5;
2304 {PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.pga_), _Internal::kHasBitsOffset + 1, 1,
2305 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2306 // .daphne.LNAConfig lna = 6;
2307 {PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.lna_), _Internal::kHasBitsOffset + 2, 2,
2308 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2309 }}, {{
2310 {::_pbi::TcParser::GetTable<::daphne::ADCConfig>()},
2311 {::_pbi::TcParser::GetTable<::daphne::PGAConfig>()},
2312 {::_pbi::TcParser::GetTable<::daphne::LNAConfig>()},
2313 }}, {{
2314 }},
2315};
2316
2318 ::uint8_t* target,
2319 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
2320 // @@protoc_insertion_point(serialize_to_array_start:daphne.AFEConfig)
2321 ::uint32_t cached_has_bits = 0;
2322 (void)cached_has_bits;
2323
2324 // uint32 id = 1;
2325 if (this->_internal_id() != 0) {
2326 target = stream->EnsureSpace(target);
2327 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2328 1, this->_internal_id(), target);
2329 }
2330
2331 // uint32 attenuators = 2;
2332 if (this->_internal_attenuators() != 0) {
2333 target = stream->EnsureSpace(target);
2334 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2335 2, this->_internal_attenuators(), target);
2336 }
2337
2338 // uint32 v_bias = 3;
2339 if (this->_internal_v_bias() != 0) {
2340 target = stream->EnsureSpace(target);
2341 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2342 3, this->_internal_v_bias(), target);
2343 }
2344
2345 cached_has_bits = _impl_._has_bits_[0];
2346 // .daphne.ADCConfig adc = 4;
2347 if (cached_has_bits & 0x00000001u) {
2348 target = ::google::protobuf::internal::WireFormatLite::
2349 InternalWriteMessage(4, _Internal::adc(this),
2350 _Internal::adc(this).GetCachedSize(), target, stream);
2351 }
2352
2353 // .daphne.PGAConfig pga = 5;
2354 if (cached_has_bits & 0x00000002u) {
2355 target = ::google::protobuf::internal::WireFormatLite::
2356 InternalWriteMessage(5, _Internal::pga(this),
2357 _Internal::pga(this).GetCachedSize(), target, stream);
2358 }
2359
2360 // .daphne.LNAConfig lna = 6;
2361 if (cached_has_bits & 0x00000004u) {
2362 target = ::google::protobuf::internal::WireFormatLite::
2363 InternalWriteMessage(6, _Internal::lna(this),
2364 _Internal::lna(this).GetCachedSize(), target, stream);
2365 }
2366
2367 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2368 target =
2369 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2370 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2371 }
2372 // @@protoc_insertion_point(serialize_to_array_end:daphne.AFEConfig)
2373 return target;
2374}
2375
2376::size_t AFEConfig::ByteSizeLong() const {
2377// @@protoc_insertion_point(message_byte_size_start:daphne.AFEConfig)
2378 ::size_t total_size = 0;
2379
2380 ::uint32_t cached_has_bits = 0;
2381 // Prevent compiler warnings about cached_has_bits being unused
2382 (void) cached_has_bits;
2383
2384 cached_has_bits = _impl_._has_bits_[0];
2385 if (cached_has_bits & 0x00000007u) {
2386 // .daphne.ADCConfig adc = 4;
2387 if (cached_has_bits & 0x00000001u) {
2388 total_size += 1 +
2389 ::google::protobuf::internal::WireFormatLite::MessageSize(
2390 *_impl_.adc_);
2391 }
2392
2393 // .daphne.PGAConfig pga = 5;
2394 if (cached_has_bits & 0x00000002u) {
2395 total_size += 1 +
2396 ::google::protobuf::internal::WireFormatLite::MessageSize(
2397 *_impl_.pga_);
2398 }
2399
2400 // .daphne.LNAConfig lna = 6;
2401 if (cached_has_bits & 0x00000004u) {
2402 total_size += 1 +
2403 ::google::protobuf::internal::WireFormatLite::MessageSize(
2404 *_impl_.lna_);
2405 }
2406
2407 }
2408 // uint32 id = 1;
2409 if (this->_internal_id() != 0) {
2410 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
2411 this->_internal_id());
2412 }
2413
2414 // uint32 attenuators = 2;
2415 if (this->_internal_attenuators() != 0) {
2416 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
2417 this->_internal_attenuators());
2418 }
2419
2420 // uint32 v_bias = 3;
2421 if (this->_internal_v_bias() != 0) {
2422 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
2423 this->_internal_v_bias());
2424 }
2425
2426 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
2427}
2428
2429const ::google::protobuf::Message::ClassData AFEConfig::_class_data_ = {
2430 ::google::protobuf::Message::CopyWithSourceCheck,
2432};
2433const ::google::protobuf::Message::ClassData*AFEConfig::GetClassData() const { return &_class_data_; }
2434
2435
2436void AFEConfig::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
2437 auto* const _this = static_cast<AFEConfig*>(&to_msg);
2438 auto& from = static_cast<const AFEConfig&>(from_msg);
2439 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.AFEConfig)
2440 ABSL_DCHECK_NE(&from, _this);
2441 ::uint32_t cached_has_bits = 0;
2442 (void) cached_has_bits;
2443
2444 cached_has_bits = from._impl_._has_bits_[0];
2445 if (cached_has_bits & 0x00000007u) {
2446 if (cached_has_bits & 0x00000001u) {
2447 _this->_internal_mutable_adc()->::daphne::ADCConfig::MergeFrom(
2448 from._internal_adc());
2449 }
2450 if (cached_has_bits & 0x00000002u) {
2451 _this->_internal_mutable_pga()->::daphne::PGAConfig::MergeFrom(
2452 from._internal_pga());
2453 }
2454 if (cached_has_bits & 0x00000004u) {
2455 _this->_internal_mutable_lna()->::daphne::LNAConfig::MergeFrom(
2456 from._internal_lna());
2457 }
2458 }
2459 if (from._internal_id() != 0) {
2460 _this->_internal_set_id(from._internal_id());
2461 }
2462 if (from._internal_attenuators() != 0) {
2463 _this->_internal_set_attenuators(from._internal_attenuators());
2464 }
2465 if (from._internal_v_bias() != 0) {
2466 _this->_internal_set_v_bias(from._internal_v_bias());
2467 }
2468 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2469}
2470
2472// @@protoc_insertion_point(class_specific_copy_from_start:daphne.AFEConfig)
2473 if (&from == this) return;
2474 Clear();
2475 MergeFrom(from);
2476}
2477
2478PROTOBUF_NOINLINE bool AFEConfig::IsInitialized() const {
2479 return true;
2480}
2481
2483 using std::swap;
2484 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2485 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2486 ::google::protobuf::internal::memswap<
2487 PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.v_bias_)
2488 + sizeof(AFEConfig::_impl_.v_bias_)
2489 - PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.adc_)>(
2490 reinterpret_cast<char*>(&_impl_.adc_),
2491 reinterpret_cast<char*>(&other->_impl_.adc_));
2492}
2493
2499// ===================================================================
2500
2502 public:
2503};
2504
2505ADCConfig::ADCConfig(::google::protobuf::Arena* arena)
2506 : ::google::protobuf::Message(arena) {
2507 SharedCtor(arena);
2508 // @@protoc_insertion_point(arena_constructor:daphne.ADCConfig)
2509}
2511 : ::google::protobuf::Message(), _impl_(from._impl_) {
2512 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2513 from._internal_metadata_);
2514 // @@protoc_insertion_point(copy_constructor:daphne.ADCConfig)
2515}
2516inline void ADCConfig::SharedCtor(::_pb::Arena* arena) {
2517 (void)arena;
2518 new (&_impl_) Impl_{
2519 decltype(_impl_.resolution_){false},
2520 decltype(_impl_.output_format_){false},
2521 decltype(_impl_.sb_first_){false},
2522 /*decltype(_impl_._cached_size_)*/ {},
2523 };
2524}
2526 // @@protoc_insertion_point(destructor:daphne.ADCConfig)
2527 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2528 SharedDtor();
2529}
2531 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
2532}
2533void ADCConfig::SetCachedSize(int size) const {
2534 _impl_._cached_size_.Set(size);
2535}
2536
2537PROTOBUF_NOINLINE void ADCConfig::Clear() {
2538// @@protoc_insertion_point(message_clear_start:daphne.ADCConfig)
2539 ::uint32_t cached_has_bits = 0;
2540 // Prevent compiler warnings about cached_has_bits being unused
2541 (void) cached_has_bits;
2542
2543 ::memset(&_impl_.resolution_, 0, static_cast<::size_t>(
2544 reinterpret_cast<char*>(&_impl_.sb_first_) -
2545 reinterpret_cast<char*>(&_impl_.resolution_)) + sizeof(_impl_.sb_first_));
2546 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2547}
2548
2550 const char* ptr, ::_pbi::ParseContext* ctx) {
2551 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
2552 return ptr;
2553}
2554
2555
2556PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2557const ::_pbi::TcParseTable<2, 3, 0, 0, 2> ADCConfig::_table_ = {
2558 {
2559 0, // no _has_bits_
2560 0, // no _extensions_
2561 3, 24, // max_field_number, fast_idx_mask
2562 offsetof(decltype(_table_), field_lookup_table),
2563 4294967288, // skipmap
2564 offsetof(decltype(_table_), field_entries),
2565 3, // num_field_entries
2566 0, // num_aux_entries
2567 offsetof(decltype(_table_), field_names), // no aux_entries
2569 ::_pbi::TcParser::GenericFallback, // fallback
2570 }, {{
2571 {::_pbi::TcParser::MiniParse, {}},
2572 // bool resolution = 1;
2573 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ADCConfig, _impl_.resolution_), 63>(),
2574 {8, 63, 0, PROTOBUF_FIELD_OFFSET(ADCConfig, _impl_.resolution_)}},
2575 // bool output_format = 2;
2576 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ADCConfig, _impl_.output_format_), 63>(),
2577 {16, 63, 0, PROTOBUF_FIELD_OFFSET(ADCConfig, _impl_.output_format_)}},
2578 // bool sb_first = 3;
2579 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ADCConfig, _impl_.sb_first_), 63>(),
2580 {24, 63, 0, PROTOBUF_FIELD_OFFSET(ADCConfig, _impl_.sb_first_)}},
2581 }}, {{
2582 65535, 65535
2583 }}, {{
2584 // bool resolution = 1;
2585 {PROTOBUF_FIELD_OFFSET(ADCConfig, _impl_.resolution_), 0, 0,
2586 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
2587 // bool output_format = 2;
2588 {PROTOBUF_FIELD_OFFSET(ADCConfig, _impl_.output_format_), 0, 0,
2589 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
2590 // bool sb_first = 3;
2591 {PROTOBUF_FIELD_OFFSET(ADCConfig, _impl_.sb_first_), 0, 0,
2592 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
2593 }},
2594 // no aux_entries
2595 {{
2596 }},
2597};
2598
2600 ::uint8_t* target,
2601 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
2602 // @@protoc_insertion_point(serialize_to_array_start:daphne.ADCConfig)
2603 ::uint32_t cached_has_bits = 0;
2604 (void)cached_has_bits;
2605
2606 // bool resolution = 1;
2607 if (this->_internal_resolution() != 0) {
2608 target = stream->EnsureSpace(target);
2609 target = ::_pbi::WireFormatLite::WriteBoolToArray(
2610 1, this->_internal_resolution(), target);
2611 }
2612
2613 // bool output_format = 2;
2614 if (this->_internal_output_format() != 0) {
2615 target = stream->EnsureSpace(target);
2616 target = ::_pbi::WireFormatLite::WriteBoolToArray(
2617 2, this->_internal_output_format(), target);
2618 }
2619
2620 // bool sb_first = 3;
2621 if (this->_internal_sb_first() != 0) {
2622 target = stream->EnsureSpace(target);
2623 target = ::_pbi::WireFormatLite::WriteBoolToArray(
2624 3, this->_internal_sb_first(), target);
2625 }
2626
2627 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2628 target =
2629 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2630 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2631 }
2632 // @@protoc_insertion_point(serialize_to_array_end:daphne.ADCConfig)
2633 return target;
2634}
2635
2636::size_t ADCConfig::ByteSizeLong() const {
2637// @@protoc_insertion_point(message_byte_size_start:daphne.ADCConfig)
2638 ::size_t total_size = 0;
2639
2640 ::uint32_t cached_has_bits = 0;
2641 // Prevent compiler warnings about cached_has_bits being unused
2642 (void) cached_has_bits;
2643
2644 // bool resolution = 1;
2645 if (this->_internal_resolution() != 0) {
2646 total_size += 2;
2647 }
2648
2649 // bool output_format = 2;
2650 if (this->_internal_output_format() != 0) {
2651 total_size += 2;
2652 }
2653
2654 // bool sb_first = 3;
2655 if (this->_internal_sb_first() != 0) {
2656 total_size += 2;
2657 }
2658
2659 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
2660}
2661
2662const ::google::protobuf::Message::ClassData ADCConfig::_class_data_ = {
2663 ::google::protobuf::Message::CopyWithSourceCheck,
2665};
2666const ::google::protobuf::Message::ClassData*ADCConfig::GetClassData() const { return &_class_data_; }
2667
2668
2669void ADCConfig::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
2670 auto* const _this = static_cast<ADCConfig*>(&to_msg);
2671 auto& from = static_cast<const ADCConfig&>(from_msg);
2672 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.ADCConfig)
2673 ABSL_DCHECK_NE(&from, _this);
2674 ::uint32_t cached_has_bits = 0;
2675 (void) cached_has_bits;
2676
2677 if (from._internal_resolution() != 0) {
2678 _this->_internal_set_resolution(from._internal_resolution());
2679 }
2680 if (from._internal_output_format() != 0) {
2681 _this->_internal_set_output_format(from._internal_output_format());
2682 }
2683 if (from._internal_sb_first() != 0) {
2684 _this->_internal_set_sb_first(from._internal_sb_first());
2685 }
2686 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2687}
2688
2690// @@protoc_insertion_point(class_specific_copy_from_start:daphne.ADCConfig)
2691 if (&from == this) return;
2692 Clear();
2693 MergeFrom(from);
2694}
2695
2696PROTOBUF_NOINLINE bool ADCConfig::IsInitialized() const {
2697 return true;
2698}
2699
2701 using std::swap;
2702 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2703 ::google::protobuf::internal::memswap<
2704 PROTOBUF_FIELD_OFFSET(ADCConfig, _impl_.sb_first_)
2706 - PROTOBUF_FIELD_OFFSET(ADCConfig, _impl_.resolution_)>(
2707 reinterpret_cast<char*>(&_impl_.resolution_),
2708 reinterpret_cast<char*>(&other->_impl_.resolution_));
2709}
2710
2716// ===================================================================
2717
2719 public:
2720};
2721
2722PGAConfig::PGAConfig(::google::protobuf::Arena* arena)
2723 : ::google::protobuf::Message(arena) {
2724 SharedCtor(arena);
2725 // @@protoc_insertion_point(arena_constructor:daphne.PGAConfig)
2726}
2728 : ::google::protobuf::Message(), _impl_(from._impl_) {
2729 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2730 from._internal_metadata_);
2731 // @@protoc_insertion_point(copy_constructor:daphne.PGAConfig)
2732}
2733inline void PGAConfig::SharedCtor(::_pb::Arena* arena) {
2734 (void)arena;
2735 new (&_impl_) Impl_{
2736 decltype(_impl_.lpf_cut_frequency_){0u},
2737 decltype(_impl_.integrator_disable_){false},
2738 decltype(_impl_.gain_){false},
2739 /*decltype(_impl_._cached_size_)*/ {},
2740 };
2741}
2743 // @@protoc_insertion_point(destructor:daphne.PGAConfig)
2744 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2745 SharedDtor();
2746}
2748 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
2749}
2750void PGAConfig::SetCachedSize(int size) const {
2751 _impl_._cached_size_.Set(size);
2752}
2753
2754PROTOBUF_NOINLINE void PGAConfig::Clear() {
2755// @@protoc_insertion_point(message_clear_start:daphne.PGAConfig)
2756 ::uint32_t cached_has_bits = 0;
2757 // Prevent compiler warnings about cached_has_bits being unused
2758 (void) cached_has_bits;
2759
2760 ::memset(&_impl_.lpf_cut_frequency_, 0, static_cast<::size_t>(
2761 reinterpret_cast<char*>(&_impl_.gain_) -
2762 reinterpret_cast<char*>(&_impl_.lpf_cut_frequency_)) + sizeof(_impl_.gain_));
2763 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2764}
2765
2767 const char* ptr, ::_pbi::ParseContext* ctx) {
2768 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
2769 return ptr;
2770}
2771
2772
2773PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2774const ::_pbi::TcParseTable<2, 3, 0, 0, 2> PGAConfig::_table_ = {
2775 {
2776 0, // no _has_bits_
2777 0, // no _extensions_
2778 3, 24, // max_field_number, fast_idx_mask
2779 offsetof(decltype(_table_), field_lookup_table),
2780 4294967288, // skipmap
2781 offsetof(decltype(_table_), field_entries),
2782 3, // num_field_entries
2783 0, // num_aux_entries
2784 offsetof(decltype(_table_), field_names), // no aux_entries
2786 ::_pbi::TcParser::GenericFallback, // fallback
2787 }, {{
2788 {::_pbi::TcParser::MiniParse, {}},
2789 // uint32 lpf_cut_frequency = 1;
2790 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(PGAConfig, _impl_.lpf_cut_frequency_), 63>(),
2791 {8, 63, 0, PROTOBUF_FIELD_OFFSET(PGAConfig, _impl_.lpf_cut_frequency_)}},
2792 // bool integrator_disable = 2;
2793 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(PGAConfig, _impl_.integrator_disable_), 63>(),
2794 {16, 63, 0, PROTOBUF_FIELD_OFFSET(PGAConfig, _impl_.integrator_disable_)}},
2795 // bool gain = 3;
2796 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(PGAConfig, _impl_.gain_), 63>(),
2797 {24, 63, 0, PROTOBUF_FIELD_OFFSET(PGAConfig, _impl_.gain_)}},
2798 }}, {{
2799 65535, 65535
2800 }}, {{
2801 // uint32 lpf_cut_frequency = 1;
2802 {PROTOBUF_FIELD_OFFSET(PGAConfig, _impl_.lpf_cut_frequency_), 0, 0,
2803 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
2804 // bool integrator_disable = 2;
2805 {PROTOBUF_FIELD_OFFSET(PGAConfig, _impl_.integrator_disable_), 0, 0,
2806 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
2807 // bool gain = 3;
2808 {PROTOBUF_FIELD_OFFSET(PGAConfig, _impl_.gain_), 0, 0,
2809 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
2810 }},
2811 // no aux_entries
2812 {{
2813 }},
2814};
2815
2817 ::uint8_t* target,
2818 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
2819 // @@protoc_insertion_point(serialize_to_array_start:daphne.PGAConfig)
2820 ::uint32_t cached_has_bits = 0;
2821 (void)cached_has_bits;
2822
2823 // uint32 lpf_cut_frequency = 1;
2824 if (this->_internal_lpf_cut_frequency() != 0) {
2825 target = stream->EnsureSpace(target);
2826 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2827 1, this->_internal_lpf_cut_frequency(), target);
2828 }
2829
2830 // bool integrator_disable = 2;
2831 if (this->_internal_integrator_disable() != 0) {
2832 target = stream->EnsureSpace(target);
2833 target = ::_pbi::WireFormatLite::WriteBoolToArray(
2834 2, this->_internal_integrator_disable(), target);
2835 }
2836
2837 // bool gain = 3;
2838 if (this->_internal_gain() != 0) {
2839 target = stream->EnsureSpace(target);
2840 target = ::_pbi::WireFormatLite::WriteBoolToArray(
2841 3, this->_internal_gain(), target);
2842 }
2843
2844 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2845 target =
2846 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2847 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2848 }
2849 // @@protoc_insertion_point(serialize_to_array_end:daphne.PGAConfig)
2850 return target;
2851}
2852
2853::size_t PGAConfig::ByteSizeLong() const {
2854// @@protoc_insertion_point(message_byte_size_start:daphne.PGAConfig)
2855 ::size_t total_size = 0;
2856
2857 ::uint32_t cached_has_bits = 0;
2858 // Prevent compiler warnings about cached_has_bits being unused
2859 (void) cached_has_bits;
2860
2861 // uint32 lpf_cut_frequency = 1;
2862 if (this->_internal_lpf_cut_frequency() != 0) {
2863 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
2865 }
2866
2867 // bool integrator_disable = 2;
2868 if (this->_internal_integrator_disable() != 0) {
2869 total_size += 2;
2870 }
2871
2872 // bool gain = 3;
2873 if (this->_internal_gain() != 0) {
2874 total_size += 2;
2875 }
2876
2877 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
2878}
2879
2880const ::google::protobuf::Message::ClassData PGAConfig::_class_data_ = {
2881 ::google::protobuf::Message::CopyWithSourceCheck,
2883};
2884const ::google::protobuf::Message::ClassData*PGAConfig::GetClassData() const { return &_class_data_; }
2885
2886
2887void PGAConfig::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
2888 auto* const _this = static_cast<PGAConfig*>(&to_msg);
2889 auto& from = static_cast<const PGAConfig&>(from_msg);
2890 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.PGAConfig)
2891 ABSL_DCHECK_NE(&from, _this);
2892 ::uint32_t cached_has_bits = 0;
2893 (void) cached_has_bits;
2894
2895 if (from._internal_lpf_cut_frequency() != 0) {
2896 _this->_internal_set_lpf_cut_frequency(from._internal_lpf_cut_frequency());
2897 }
2898 if (from._internal_integrator_disable() != 0) {
2899 _this->_internal_set_integrator_disable(from._internal_integrator_disable());
2900 }
2901 if (from._internal_gain() != 0) {
2902 _this->_internal_set_gain(from._internal_gain());
2903 }
2904 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2905}
2906
2908// @@protoc_insertion_point(class_specific_copy_from_start:daphne.PGAConfig)
2909 if (&from == this) return;
2910 Clear();
2911 MergeFrom(from);
2912}
2913
2914PROTOBUF_NOINLINE bool PGAConfig::IsInitialized() const {
2915 return true;
2916}
2917
2919 using std::swap;
2920 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2921 ::google::protobuf::internal::memswap<
2922 PROTOBUF_FIELD_OFFSET(PGAConfig, _impl_.gain_)
2923 + sizeof(PGAConfig::_impl_.gain_)
2924 - PROTOBUF_FIELD_OFFSET(PGAConfig, _impl_.lpf_cut_frequency_)>(
2925 reinterpret_cast<char*>(&_impl_.lpf_cut_frequency_),
2926 reinterpret_cast<char*>(&other->_impl_.lpf_cut_frequency_));
2927}
2928
2934// ===================================================================
2935
2937 public:
2938};
2939
2940LNAConfig::LNAConfig(::google::protobuf::Arena* arena)
2941 : ::google::protobuf::Message(arena) {
2942 SharedCtor(arena);
2943 // @@protoc_insertion_point(arena_constructor:daphne.LNAConfig)
2944}
2946 : ::google::protobuf::Message(), _impl_(from._impl_) {
2947 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2948 from._internal_metadata_);
2949 // @@protoc_insertion_point(copy_constructor:daphne.LNAConfig)
2950}
2951inline void LNAConfig::SharedCtor(::_pb::Arena* arena) {
2952 (void)arena;
2953 new (&_impl_) Impl_{
2954 decltype(_impl_.clamp_){0u},
2955 decltype(_impl_.gain_){0u},
2956 decltype(_impl_.integrator_disable_){false},
2957 /*decltype(_impl_._cached_size_)*/ {},
2958 };
2959}
2961 // @@protoc_insertion_point(destructor:daphne.LNAConfig)
2962 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2963 SharedDtor();
2964}
2966 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
2967}
2968void LNAConfig::SetCachedSize(int size) const {
2969 _impl_._cached_size_.Set(size);
2970}
2971
2972PROTOBUF_NOINLINE void LNAConfig::Clear() {
2973// @@protoc_insertion_point(message_clear_start:daphne.LNAConfig)
2974 ::uint32_t cached_has_bits = 0;
2975 // Prevent compiler warnings about cached_has_bits being unused
2976 (void) cached_has_bits;
2977
2978 ::memset(&_impl_.clamp_, 0, static_cast<::size_t>(
2979 reinterpret_cast<char*>(&_impl_.integrator_disable_) -
2980 reinterpret_cast<char*>(&_impl_.clamp_)) + sizeof(_impl_.integrator_disable_));
2981 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2982}
2983
2985 const char* ptr, ::_pbi::ParseContext* ctx) {
2986 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
2987 return ptr;
2988}
2989
2990
2991PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2992const ::_pbi::TcParseTable<2, 3, 0, 0, 2> LNAConfig::_table_ = {
2993 {
2994 0, // no _has_bits_
2995 0, // no _extensions_
2996 3, 24, // max_field_number, fast_idx_mask
2997 offsetof(decltype(_table_), field_lookup_table),
2998 4294967288, // skipmap
2999 offsetof(decltype(_table_), field_entries),
3000 3, // num_field_entries
3001 0, // num_aux_entries
3002 offsetof(decltype(_table_), field_names), // no aux_entries
3004 ::_pbi::TcParser::GenericFallback, // fallback
3005 }, {{
3006 {::_pbi::TcParser::MiniParse, {}},
3007 // uint32 clamp = 1;
3008 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(LNAConfig, _impl_.clamp_), 63>(),
3009 {8, 63, 0, PROTOBUF_FIELD_OFFSET(LNAConfig, _impl_.clamp_)}},
3010 // uint32 gain = 2;
3011 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(LNAConfig, _impl_.gain_), 63>(),
3012 {16, 63, 0, PROTOBUF_FIELD_OFFSET(LNAConfig, _impl_.gain_)}},
3013 // bool integrator_disable = 3;
3014 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(LNAConfig, _impl_.integrator_disable_), 63>(),
3015 {24, 63, 0, PROTOBUF_FIELD_OFFSET(LNAConfig, _impl_.integrator_disable_)}},
3016 }}, {{
3017 65535, 65535
3018 }}, {{
3019 // uint32 clamp = 1;
3020 {PROTOBUF_FIELD_OFFSET(LNAConfig, _impl_.clamp_), 0, 0,
3021 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
3022 // uint32 gain = 2;
3023 {PROTOBUF_FIELD_OFFSET(LNAConfig, _impl_.gain_), 0, 0,
3024 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
3025 // bool integrator_disable = 3;
3026 {PROTOBUF_FIELD_OFFSET(LNAConfig, _impl_.integrator_disable_), 0, 0,
3027 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
3028 }},
3029 // no aux_entries
3030 {{
3031 }},
3032};
3033
3035 ::uint8_t* target,
3036 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
3037 // @@protoc_insertion_point(serialize_to_array_start:daphne.LNAConfig)
3038 ::uint32_t cached_has_bits = 0;
3039 (void)cached_has_bits;
3040
3041 // uint32 clamp = 1;
3042 if (this->_internal_clamp() != 0) {
3043 target = stream->EnsureSpace(target);
3044 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
3045 1, this->_internal_clamp(), target);
3046 }
3047
3048 // uint32 gain = 2;
3049 if (this->_internal_gain() != 0) {
3050 target = stream->EnsureSpace(target);
3051 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
3052 2, this->_internal_gain(), target);
3053 }
3054
3055 // bool integrator_disable = 3;
3056 if (this->_internal_integrator_disable() != 0) {
3057 target = stream->EnsureSpace(target);
3058 target = ::_pbi::WireFormatLite::WriteBoolToArray(
3059 3, this->_internal_integrator_disable(), target);
3060 }
3061
3062 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3063 target =
3064 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3065 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3066 }
3067 // @@protoc_insertion_point(serialize_to_array_end:daphne.LNAConfig)
3068 return target;
3069}
3070
3071::size_t LNAConfig::ByteSizeLong() const {
3072// @@protoc_insertion_point(message_byte_size_start:daphne.LNAConfig)
3073 ::size_t total_size = 0;
3074
3075 ::uint32_t cached_has_bits = 0;
3076 // Prevent compiler warnings about cached_has_bits being unused
3077 (void) cached_has_bits;
3078
3079 // uint32 clamp = 1;
3080 if (this->_internal_clamp() != 0) {
3081 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
3082 this->_internal_clamp());
3083 }
3084
3085 // uint32 gain = 2;
3086 if (this->_internal_gain() != 0) {
3087 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
3088 this->_internal_gain());
3089 }
3090
3091 // bool integrator_disable = 3;
3092 if (this->_internal_integrator_disable() != 0) {
3093 total_size += 2;
3094 }
3095
3096 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
3097}
3098
3099const ::google::protobuf::Message::ClassData LNAConfig::_class_data_ = {
3100 ::google::protobuf::Message::CopyWithSourceCheck,
3102};
3103const ::google::protobuf::Message::ClassData*LNAConfig::GetClassData() const { return &_class_data_; }
3104
3105
3106void LNAConfig::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
3107 auto* const _this = static_cast<LNAConfig*>(&to_msg);
3108 auto& from = static_cast<const LNAConfig&>(from_msg);
3109 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.LNAConfig)
3110 ABSL_DCHECK_NE(&from, _this);
3111 ::uint32_t cached_has_bits = 0;
3112 (void) cached_has_bits;
3113
3114 if (from._internal_clamp() != 0) {
3115 _this->_internal_set_clamp(from._internal_clamp());
3116 }
3117 if (from._internal_gain() != 0) {
3118 _this->_internal_set_gain(from._internal_gain());
3119 }
3120 if (from._internal_integrator_disable() != 0) {
3121 _this->_internal_set_integrator_disable(from._internal_integrator_disable());
3122 }
3123 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
3124}
3125
3127// @@protoc_insertion_point(class_specific_copy_from_start:daphne.LNAConfig)
3128 if (&from == this) return;
3129 Clear();
3130 MergeFrom(from);
3131}
3132
3133PROTOBUF_NOINLINE bool LNAConfig::IsInitialized() const {
3134 return true;
3135}
3136
3138 using std::swap;
3139 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3140 ::google::protobuf::internal::memswap<
3141 PROTOBUF_FIELD_OFFSET(LNAConfig, _impl_.integrator_disable_)
3143 - PROTOBUF_FIELD_OFFSET(LNAConfig, _impl_.clamp_)>(
3144 reinterpret_cast<char*>(&_impl_.clamp_),
3145 reinterpret_cast<char*>(&other->_impl_.clamp_));
3146}
3147
3153// ===================================================================
3154
3156 public:
3157};
3158
3159ConfigureRequest::ConfigureRequest(::google::protobuf::Arena* arena)
3160 : ::google::protobuf::Message(arena) {
3161 SharedCtor(arena);
3162 // @@protoc_insertion_point(arena_constructor:daphne.ConfigureRequest)
3163}
3164ConfigureRequest::ConfigureRequest(const ConfigureRequest& from) : ::google::protobuf::Message() {
3165 ConfigureRequest* const _this = this;
3166 (void)_this;
3167 new (&_impl_) Impl_{
3168 decltype(_impl_.channels_){from._impl_.channels_},
3169 decltype(_impl_.afes_){from._impl_.afes_},
3171 /* _impl_._full_stream_channels_cached_byte_size_ = */ {0},
3172 decltype(_impl_.daphne_address_){},
3173 decltype(_impl_.slot_){},
3174 decltype(_impl_.timeout_ms_){},
3175 decltype(_impl_.self_trigger_threshold_){},
3176 decltype(_impl_.self_trigger_xcorr_){},
3177 decltype(_impl_.tp_conf_){},
3178 decltype(_impl_.compensator_){},
3179 decltype(_impl_.inverters_){},
3180 decltype(_impl_.biasctrl_){},
3181 /*decltype(_impl_._cached_size_)*/ {},
3182 };
3183 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3184 from._internal_metadata_);
3185 _impl_.daphne_address_.InitDefault();
3186 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3187 _impl_.daphne_address_.Set("", GetArenaForAllocation());
3188 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3189 if (!from._internal_daphne_address().empty()) {
3190 _this->_impl_.daphne_address_.Set(from._internal_daphne_address(), _this->GetArenaForAllocation());
3191 }
3192 ::memcpy(&_impl_.slot_, &from._impl_.slot_,
3193 static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.biasctrl_) -
3194 reinterpret_cast<char*>(&_impl_.slot_)) + sizeof(_impl_.biasctrl_));
3195
3196 // @@protoc_insertion_point(copy_constructor:daphne.ConfigureRequest)
3197}
3198inline void ConfigureRequest::SharedCtor(::_pb::Arena* arena) {
3199 (void)arena;
3200 new (&_impl_) Impl_{
3201 decltype(_impl_.channels_){arena},
3202 decltype(_impl_.afes_){arena},
3203 decltype(_impl_.full_stream_channels_){arena},
3204 /* _impl_._full_stream_channels_cached_byte_size_ = */ {0},
3205 decltype(_impl_.daphne_address_){},
3206 decltype(_impl_.slot_){0u},
3207 decltype(_impl_.timeout_ms_){0u},
3208 decltype(_impl_.self_trigger_threshold_){::uint64_t{0u}},
3209 decltype(_impl_.self_trigger_xcorr_){::uint64_t{0u}},
3210 decltype(_impl_.tp_conf_){::uint64_t{0u}},
3211 decltype(_impl_.compensator_){::uint64_t{0u}},
3212 decltype(_impl_.inverters_){::uint64_t{0u}},
3213 decltype(_impl_.biasctrl_){0u},
3214 /*decltype(_impl_._cached_size_)*/ {},
3215 };
3216 _impl_.daphne_address_.InitDefault();
3217 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3218 _impl_.daphne_address_.Set("", GetArenaForAllocation());
3219 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3220}
3222 // @@protoc_insertion_point(destructor:daphne.ConfigureRequest)
3223 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3224 SharedDtor();
3225}
3227 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
3228 _impl_.channels_.~RepeatedPtrField();
3229 _impl_.afes_.~RepeatedPtrField();
3230 _impl_.full_stream_channels_.~RepeatedField();
3231 _impl_.daphne_address_.Destroy();
3232}
3234 _impl_._cached_size_.Set(size);
3235}
3236
3237PROTOBUF_NOINLINE void ConfigureRequest::Clear() {
3238// @@protoc_insertion_point(message_clear_start:daphne.ConfigureRequest)
3239 ::uint32_t cached_has_bits = 0;
3240 // Prevent compiler warnings about cached_has_bits being unused
3241 (void) cached_has_bits;
3242
3243 _internal_mutable_channels()->Clear();
3244 _internal_mutable_afes()->Clear();
3246 _impl_.daphne_address_.ClearToEmpty();
3247 ::memset(&_impl_.slot_, 0, static_cast<::size_t>(
3248 reinterpret_cast<char*>(&_impl_.biasctrl_) -
3249 reinterpret_cast<char*>(&_impl_.slot_)) + sizeof(_impl_.biasctrl_));
3250 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3251}
3252
3254 const char* ptr, ::_pbi::ParseContext* ctx) {
3255 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
3256 return ptr;
3257}
3258
3259
3260PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3261const ::_pbi::TcParseTable<4, 12, 2, 54, 2> ConfigureRequest::_table_ = {
3262 {
3263 0, // no _has_bits_
3264 0, // no _extensions_
3265 12, 120, // max_field_number, fast_idx_mask
3266 offsetof(decltype(_table_), field_lookup_table),
3267 4294963200, // skipmap
3268 offsetof(decltype(_table_), field_entries),
3269 12, // num_field_entries
3270 2, // num_aux_entries
3271 offsetof(decltype(_table_), aux_entries),
3273 ::_pbi::TcParser::GenericFallback, // fallback
3274 }, {{
3275 {::_pbi::TcParser::MiniParse, {}},
3276 // string daphne_address = 1;
3277 {::_pbi::TcParser::FastUS1,
3278 {10, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.daphne_address_)}},
3279 // uint32 slot = 2;
3280 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ConfigureRequest, _impl_.slot_), 63>(),
3281 {16, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.slot_)}},
3282 // uint32 timeout_ms = 3;
3283 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ConfigureRequest, _impl_.timeout_ms_), 63>(),
3284 {24, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.timeout_ms_)}},
3285 // uint32 biasctrl = 4;
3286 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ConfigureRequest, _impl_.biasctrl_), 63>(),
3287 {32, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.biasctrl_)}},
3288 // uint64 self_trigger_threshold = 5;
3289 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ConfigureRequest, _impl_.self_trigger_threshold_), 63>(),
3290 {40, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.self_trigger_threshold_)}},
3291 // uint64 self_trigger_xcorr = 6;
3292 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ConfigureRequest, _impl_.self_trigger_xcorr_), 63>(),
3293 {48, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.self_trigger_xcorr_)}},
3294 // uint64 tp_conf = 7;
3295 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ConfigureRequest, _impl_.tp_conf_), 63>(),
3296 {56, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.tp_conf_)}},
3297 // uint64 compensator = 8;
3298 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ConfigureRequest, _impl_.compensator_), 63>(),
3299 {64, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.compensator_)}},
3300 // uint64 inverters = 9;
3301 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ConfigureRequest, _impl_.inverters_), 63>(),
3302 {72, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.inverters_)}},
3303 // repeated .daphne.ChannelConfig channels = 10;
3304 {::_pbi::TcParser::FastMtR1,
3305 {82, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.channels_)}},
3306 // repeated .daphne.AFEConfig afes = 11;
3307 {::_pbi::TcParser::FastMtR1,
3308 {90, 63, 1, PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.afes_)}},
3309 // repeated uint32 full_stream_channels = 12;
3310 {::_pbi::TcParser::FastV32P1,
3311 {98, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.full_stream_channels_)}},
3312 {::_pbi::TcParser::MiniParse, {}},
3313 {::_pbi::TcParser::MiniParse, {}},
3314 {::_pbi::TcParser::MiniParse, {}},
3315 }}, {{
3316 65535, 65535
3317 }}, {{
3318 // string daphne_address = 1;
3319 {PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.daphne_address_), 0, 0,
3320 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
3321 // uint32 slot = 2;
3322 {PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.slot_), 0, 0,
3323 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
3324 // uint32 timeout_ms = 3;
3325 {PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.timeout_ms_), 0, 0,
3326 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
3327 // uint32 biasctrl = 4;
3328 {PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.biasctrl_), 0, 0,
3329 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
3330 // uint64 self_trigger_threshold = 5;
3331 {PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.self_trigger_threshold_), 0, 0,
3332 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
3333 // uint64 self_trigger_xcorr = 6;
3334 {PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.self_trigger_xcorr_), 0, 0,
3335 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
3336 // uint64 tp_conf = 7;
3337 {PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.tp_conf_), 0, 0,
3338 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
3339 // uint64 compensator = 8;
3340 {PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.compensator_), 0, 0,
3341 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
3342 // uint64 inverters = 9;
3343 {PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.inverters_), 0, 0,
3344 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
3345 // repeated .daphne.ChannelConfig channels = 10;
3346 {PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.channels_), 0, 0,
3347 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
3348 // repeated .daphne.AFEConfig afes = 11;
3349 {PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.afes_), 0, 1,
3350 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
3351 // repeated uint32 full_stream_channels = 12;
3352 {PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.full_stream_channels_), 0, 0,
3353 (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt32)},
3354 }}, {{
3355 {::_pbi::TcParser::GetTable<::daphne::ChannelConfig>()},
3356 {::_pbi::TcParser::GetTable<::daphne::AFEConfig>()},
3357 }}, {{
3358 "\27\16\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
3359 "daphne.ConfigureRequest"
3360 "daphne_address"
3361 }},
3362};
3363
3365 ::uint8_t* target,
3366 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
3367 // @@protoc_insertion_point(serialize_to_array_start:daphne.ConfigureRequest)
3368 ::uint32_t cached_has_bits = 0;
3369 (void)cached_has_bits;
3370
3371 // string daphne_address = 1;
3372 if (!this->_internal_daphne_address().empty()) {
3373 const std::string& _s = this->_internal_daphne_address();
3374 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3375 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "daphne.ConfigureRequest.daphne_address");
3376 target = stream->WriteStringMaybeAliased(1, _s, target);
3377 }
3378
3379 // uint32 slot = 2;
3380 if (this->_internal_slot() != 0) {
3381 target = stream->EnsureSpace(target);
3382 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
3383 2, this->_internal_slot(), target);
3384 }
3385
3386 // uint32 timeout_ms = 3;
3387 if (this->_internal_timeout_ms() != 0) {
3388 target = stream->EnsureSpace(target);
3389 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
3390 3, this->_internal_timeout_ms(), target);
3391 }
3392
3393 // uint32 biasctrl = 4;
3394 if (this->_internal_biasctrl() != 0) {
3395 target = stream->EnsureSpace(target);
3396 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
3397 4, this->_internal_biasctrl(), target);
3398 }
3399
3400 // uint64 self_trigger_threshold = 5;
3401 if (this->_internal_self_trigger_threshold() != 0) {
3402 target = stream->EnsureSpace(target);
3403 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
3404 5, this->_internal_self_trigger_threshold(), target);
3405 }
3406
3407 // uint64 self_trigger_xcorr = 6;
3408 if (this->_internal_self_trigger_xcorr() != 0) {
3409 target = stream->EnsureSpace(target);
3410 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
3411 6, this->_internal_self_trigger_xcorr(), target);
3412 }
3413
3414 // uint64 tp_conf = 7;
3415 if (this->_internal_tp_conf() != 0) {
3416 target = stream->EnsureSpace(target);
3417 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
3418 7, this->_internal_tp_conf(), target);
3419 }
3420
3421 // uint64 compensator = 8;
3422 if (this->_internal_compensator() != 0) {
3423 target = stream->EnsureSpace(target);
3424 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
3425 8, this->_internal_compensator(), target);
3426 }
3427
3428 // uint64 inverters = 9;
3429 if (this->_internal_inverters() != 0) {
3430 target = stream->EnsureSpace(target);
3431 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
3432 9, this->_internal_inverters(), target);
3433 }
3434
3435 // repeated .daphne.ChannelConfig channels = 10;
3436 for (unsigned i = 0,
3437 n = static_cast<unsigned>(this->_internal_channels_size()); i < n; i++) {
3438 const auto& repfield = this->_internal_channels().Get(i);
3439 target = ::google::protobuf::internal::WireFormatLite::
3440 InternalWriteMessage(10, repfield, repfield.GetCachedSize(), target, stream);
3441 }
3442
3443 // repeated .daphne.AFEConfig afes = 11;
3444 for (unsigned i = 0,
3445 n = static_cast<unsigned>(this->_internal_afes_size()); i < n; i++) {
3446 const auto& repfield = this->_internal_afes().Get(i);
3447 target = ::google::protobuf::internal::WireFormatLite::
3448 InternalWriteMessage(11, repfield, repfield.GetCachedSize(), target, stream);
3449 }
3450
3451 // repeated uint32 full_stream_channels = 12;
3452 {
3453 int byte_size = _impl_._full_stream_channels_cached_byte_size_.Get();
3454 if (byte_size > 0) {
3455 target = stream->WriteUInt32Packed(12, _internal_full_stream_channels(),
3456 byte_size, target);
3457 }
3458 }
3459
3460 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3461 target =
3462 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3463 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3464 }
3465 // @@protoc_insertion_point(serialize_to_array_end:daphne.ConfigureRequest)
3466 return target;
3467}
3468
3470// @@protoc_insertion_point(message_byte_size_start:daphne.ConfigureRequest)
3471 ::size_t total_size = 0;
3472
3473 ::uint32_t cached_has_bits = 0;
3474 // Prevent compiler warnings about cached_has_bits being unused
3475 (void) cached_has_bits;
3476
3477 // repeated .daphne.ChannelConfig channels = 10;
3478 total_size += 1UL * this->_internal_channels_size();
3479 for (const auto& msg : this->_internal_channels()) {
3480 total_size +=
3481 ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
3482 }
3483 // repeated .daphne.AFEConfig afes = 11;
3484 total_size += 1UL * this->_internal_afes_size();
3485 for (const auto& msg : this->_internal_afes()) {
3486 total_size +=
3487 ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
3488 }
3489 // repeated uint32 full_stream_channels = 12;
3490 {
3491 std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
3493 ;
3494 _impl_._full_stream_channels_cached_byte_size_.Set(::_pbi::ToCachedSize(data_size));
3495 std::size_t tag_size = data_size == 0
3496 ? 0
3497 : 1 + ::_pbi::WireFormatLite::Int32Size(
3498 static_cast<int32_t>(data_size))
3499 ;
3500 total_size += tag_size + data_size;
3501 }
3502 // string daphne_address = 1;
3503 if (!this->_internal_daphne_address().empty()) {
3504 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
3505 this->_internal_daphne_address());
3506 }
3507
3508 // uint32 slot = 2;
3509 if (this->_internal_slot() != 0) {
3510 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
3511 this->_internal_slot());
3512 }
3513
3514 // uint32 timeout_ms = 3;
3515 if (this->_internal_timeout_ms() != 0) {
3516 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
3517 this->_internal_timeout_ms());
3518 }
3519
3520 // uint64 self_trigger_threshold = 5;
3521 if (this->_internal_self_trigger_threshold() != 0) {
3522 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
3524 }
3525
3526 // uint64 self_trigger_xcorr = 6;
3527 if (this->_internal_self_trigger_xcorr() != 0) {
3528 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
3530 }
3531
3532 // uint64 tp_conf = 7;
3533 if (this->_internal_tp_conf() != 0) {
3534 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
3535 this->_internal_tp_conf());
3536 }
3537
3538 // uint64 compensator = 8;
3539 if (this->_internal_compensator() != 0) {
3540 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
3541 this->_internal_compensator());
3542 }
3543
3544 // uint64 inverters = 9;
3545 if (this->_internal_inverters() != 0) {
3546 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
3547 this->_internal_inverters());
3548 }
3549
3550 // uint32 biasctrl = 4;
3551 if (this->_internal_biasctrl() != 0) {
3552 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
3553 this->_internal_biasctrl());
3554 }
3555
3556 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
3557}
3558
3559const ::google::protobuf::Message::ClassData ConfigureRequest::_class_data_ = {
3560 ::google::protobuf::Message::CopyWithSourceCheck,
3562};
3563const ::google::protobuf::Message::ClassData*ConfigureRequest::GetClassData() const { return &_class_data_; }
3564
3565
3566void ConfigureRequest::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
3567 auto* const _this = static_cast<ConfigureRequest*>(&to_msg);
3568 auto& from = static_cast<const ConfigureRequest&>(from_msg);
3569 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.ConfigureRequest)
3570 ABSL_DCHECK_NE(&from, _this);
3571 ::uint32_t cached_has_bits = 0;
3572 (void) cached_has_bits;
3573
3574 _this->_internal_mutable_channels()->MergeFrom(from._internal_channels());
3575 _this->_internal_mutable_afes()->MergeFrom(from._internal_afes());
3576 _this->_internal_mutable_full_stream_channels()->MergeFrom(from._internal_full_stream_channels());
3577 if (!from._internal_daphne_address().empty()) {
3578 _this->_internal_set_daphne_address(from._internal_daphne_address());
3579 }
3580 if (from._internal_slot() != 0) {
3581 _this->_internal_set_slot(from._internal_slot());
3582 }
3583 if (from._internal_timeout_ms() != 0) {
3584 _this->_internal_set_timeout_ms(from._internal_timeout_ms());
3585 }
3586 if (from._internal_self_trigger_threshold() != 0) {
3587 _this->_internal_set_self_trigger_threshold(from._internal_self_trigger_threshold());
3588 }
3589 if (from._internal_self_trigger_xcorr() != 0) {
3590 _this->_internal_set_self_trigger_xcorr(from._internal_self_trigger_xcorr());
3591 }
3592 if (from._internal_tp_conf() != 0) {
3593 _this->_internal_set_tp_conf(from._internal_tp_conf());
3594 }
3595 if (from._internal_compensator() != 0) {
3596 _this->_internal_set_compensator(from._internal_compensator());
3597 }
3598 if (from._internal_inverters() != 0) {
3599 _this->_internal_set_inverters(from._internal_inverters());
3600 }
3601 if (from._internal_biasctrl() != 0) {
3602 _this->_internal_set_biasctrl(from._internal_biasctrl());
3603 }
3604 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
3605}
3606
3608// @@protoc_insertion_point(class_specific_copy_from_start:daphne.ConfigureRequest)
3609 if (&from == this) return;
3610 Clear();
3611 MergeFrom(from);
3612}
3613
3614PROTOBUF_NOINLINE bool ConfigureRequest::IsInitialized() const {
3615 return true;
3616}
3617
3619 using std::swap;
3620 auto* lhs_arena = GetArenaForAllocation();
3621 auto* rhs_arena = other->GetArenaForAllocation();
3622 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3623 _impl_.channels_.InternalSwap(&other->_impl_.channels_);
3624 _impl_.afes_.InternalSwap(&other->_impl_.afes_);
3626 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.daphne_address_, lhs_arena,
3627 &other->_impl_.daphne_address_, rhs_arena);
3628 ::google::protobuf::internal::memswap<
3629 PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.biasctrl_)
3631 - PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.slot_)>(
3632 reinterpret_cast<char*>(&_impl_.slot_),
3633 reinterpret_cast<char*>(&other->_impl_.slot_));
3634}
3635
3641// ===================================================================
3642
3644 public:
3645};
3646
3647ConfigureResponse::ConfigureResponse(::google::protobuf::Arena* arena)
3648 : ::google::protobuf::Message(arena) {
3649 SharedCtor(arena);
3650 // @@protoc_insertion_point(arena_constructor:daphne.ConfigureResponse)
3651}
3653 ConfigureResponse* const _this = this;
3654 (void)_this;
3655 new (&_impl_) Impl_{
3656 decltype(_impl_.message_){},
3657 decltype(_impl_.success_){},
3658 /*decltype(_impl_._cached_size_)*/ {},
3659 };
3660 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3661 from._internal_metadata_);
3662 _impl_.message_.InitDefault();
3663 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3664 _impl_.message_.Set("", GetArenaForAllocation());
3665 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3666 if (!from._internal_message().empty()) {
3667 _this->_impl_.message_.Set(from._internal_message(), _this->GetArenaForAllocation());
3668 }
3669 _this->_impl_.success_ = from._impl_.success_;
3670
3671 // @@protoc_insertion_point(copy_constructor:daphne.ConfigureResponse)
3672}
3673inline void ConfigureResponse::SharedCtor(::_pb::Arena* arena) {
3674 (void)arena;
3675 new (&_impl_) Impl_{
3676 decltype(_impl_.message_){},
3677 decltype(_impl_.success_){false},
3678 /*decltype(_impl_._cached_size_)*/ {},
3679 };
3680 _impl_.message_.InitDefault();
3681 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3682 _impl_.message_.Set("", GetArenaForAllocation());
3683 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3684}
3686 // @@protoc_insertion_point(destructor:daphne.ConfigureResponse)
3687 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3688 SharedDtor();
3689}
3691 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
3692 _impl_.message_.Destroy();
3693}
3695 _impl_._cached_size_.Set(size);
3696}
3697
3698PROTOBUF_NOINLINE void ConfigureResponse::Clear() {
3699// @@protoc_insertion_point(message_clear_start:daphne.ConfigureResponse)
3700 ::uint32_t cached_has_bits = 0;
3701 // Prevent compiler warnings about cached_has_bits being unused
3702 (void) cached_has_bits;
3703
3704 _impl_.message_.ClearToEmpty();
3705 _impl_.success_ = false;
3706 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3707}
3708
3710 const char* ptr, ::_pbi::ParseContext* ctx) {
3711 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
3712 return ptr;
3713}
3714
3715
3716PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3717const ::_pbi::TcParseTable<1, 2, 0, 40, 2> ConfigureResponse::_table_ = {
3718 {
3719 0, // no _has_bits_
3720 0, // no _extensions_
3721 2, 8, // max_field_number, fast_idx_mask
3722 offsetof(decltype(_table_), field_lookup_table),
3723 4294967292, // skipmap
3724 offsetof(decltype(_table_), field_entries),
3725 2, // num_field_entries
3726 0, // num_aux_entries
3727 offsetof(decltype(_table_), field_names), // no aux_entries
3729 ::_pbi::TcParser::GenericFallback, // fallback
3730 }, {{
3731 // string message = 2;
3732 {::_pbi::TcParser::FastUS1,
3733 {18, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureResponse, _impl_.message_)}},
3734 // bool success = 1;
3735 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ConfigureResponse, _impl_.success_), 63>(),
3736 {8, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureResponse, _impl_.success_)}},
3737 }}, {{
3738 65535, 65535
3739 }}, {{
3740 // bool success = 1;
3741 {PROTOBUF_FIELD_OFFSET(ConfigureResponse, _impl_.success_), 0, 0,
3742 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
3743 // string message = 2;
3744 {PROTOBUF_FIELD_OFFSET(ConfigureResponse, _impl_.message_), 0, 0,
3745 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
3746 }},
3747 // no aux_entries
3748 {{
3749 "\30\0\7\0\0\0\0\0"
3750 "daphne.ConfigureResponse"
3751 "message"
3752 }},
3753};
3754
3756 ::uint8_t* target,
3757 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
3758 // @@protoc_insertion_point(serialize_to_array_start:daphne.ConfigureResponse)
3759 ::uint32_t cached_has_bits = 0;
3760 (void)cached_has_bits;
3761
3762 // bool success = 1;
3763 if (this->_internal_success() != 0) {
3764 target = stream->EnsureSpace(target);
3765 target = ::_pbi::WireFormatLite::WriteBoolToArray(
3766 1, this->_internal_success(), target);
3767 }
3768
3769 // string message = 2;
3770 if (!this->_internal_message().empty()) {
3771 const std::string& _s = this->_internal_message();
3772 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3773 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "daphne.ConfigureResponse.message");
3774 target = stream->WriteStringMaybeAliased(2, _s, target);
3775 }
3776
3777 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3778 target =
3779 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3780 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3781 }
3782 // @@protoc_insertion_point(serialize_to_array_end:daphne.ConfigureResponse)
3783 return target;
3784}
3785
3787// @@protoc_insertion_point(message_byte_size_start:daphne.ConfigureResponse)
3788 ::size_t total_size = 0;
3789
3790 ::uint32_t cached_has_bits = 0;
3791 // Prevent compiler warnings about cached_has_bits being unused
3792 (void) cached_has_bits;
3793
3794 // string message = 2;
3795 if (!this->_internal_message().empty()) {
3796 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
3797 this->_internal_message());
3798 }
3799
3800 // bool success = 1;
3801 if (this->_internal_success() != 0) {
3802 total_size += 2;
3803 }
3804
3805 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
3806}
3807
3808const ::google::protobuf::Message::ClassData ConfigureResponse::_class_data_ = {
3809 ::google::protobuf::Message::CopyWithSourceCheck,
3811};
3812const ::google::protobuf::Message::ClassData*ConfigureResponse::GetClassData() const { return &_class_data_; }
3813
3814
3815void ConfigureResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
3816 auto* const _this = static_cast<ConfigureResponse*>(&to_msg);
3817 auto& from = static_cast<const ConfigureResponse&>(from_msg);
3818 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.ConfigureResponse)
3819 ABSL_DCHECK_NE(&from, _this);
3820 ::uint32_t cached_has_bits = 0;
3821 (void) cached_has_bits;
3822
3823 if (!from._internal_message().empty()) {
3824 _this->_internal_set_message(from._internal_message());
3825 }
3826 if (from._internal_success() != 0) {
3827 _this->_internal_set_success(from._internal_success());
3828 }
3829 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
3830}
3831
3833// @@protoc_insertion_point(class_specific_copy_from_start:daphne.ConfigureResponse)
3834 if (&from == this) return;
3835 Clear();
3836 MergeFrom(from);
3837}
3838
3839PROTOBUF_NOINLINE bool ConfigureResponse::IsInitialized() const {
3840 return true;
3841}
3842
3844 using std::swap;
3845 auto* lhs_arena = GetArenaForAllocation();
3846 auto* rhs_arena = other->GetArenaForAllocation();
3847 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3848 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, lhs_arena,
3849 &other->_impl_.message_, rhs_arena);
3851}
3852
3858// ===================================================================
3859
3861 public:
3862};
3863
3864ScrapRequest::ScrapRequest(::google::protobuf::Arena* arena)
3865 : ::google::protobuf::internal::ZeroFieldsBase(arena) {
3866 // @@protoc_insertion_point(arena_constructor:daphne.ScrapRequest)
3867}
3868ScrapRequest::ScrapRequest(const ScrapRequest& from) : ::google::protobuf::internal::ZeroFieldsBase() {
3869 ScrapRequest* const _this = this;
3870 (void)_this;
3871 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3872 from._internal_metadata_);
3873
3874 // @@protoc_insertion_point(copy_constructor:daphne.ScrapRequest)
3875}
3876
3877
3878
3879
3880const ::google::protobuf::Message::ClassData ScrapRequest::_class_data_ = {
3881 ::google::protobuf::internal::ZeroFieldsBase::CopyImpl,
3882 ::google::protobuf::internal::ZeroFieldsBase::MergeImpl,
3883};
3884const ::google::protobuf::Message::ClassData*ScrapRequest::GetClassData() const { return &_class_data_; }
3885
3886
3887
3888
3889
3890
3891
3897// ===================================================================
3898
3900 public:
3901};
3902
3903ScrapResponse::ScrapResponse(::google::protobuf::Arena* arena)
3904 : ::google::protobuf::Message(arena) {
3905 SharedCtor(arena);
3906 // @@protoc_insertion_point(arena_constructor:daphne.ScrapResponse)
3907}
3908ScrapResponse::ScrapResponse(const ScrapResponse& from) : ::google::protobuf::Message() {
3909 ScrapResponse* const _this = this;
3910 (void)_this;
3911 new (&_impl_) Impl_{
3912 decltype(_impl_.message_){},
3913 decltype(_impl_.success_){},
3914 /*decltype(_impl_._cached_size_)*/ {},
3915 };
3916 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3917 from._internal_metadata_);
3918 _impl_.message_.InitDefault();
3919 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3920 _impl_.message_.Set("", GetArenaForAllocation());
3921 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3922 if (!from._internal_message().empty()) {
3923 _this->_impl_.message_.Set(from._internal_message(), _this->GetArenaForAllocation());
3924 }
3925 _this->_impl_.success_ = from._impl_.success_;
3926
3927 // @@protoc_insertion_point(copy_constructor:daphne.ScrapResponse)
3928}
3929inline void ScrapResponse::SharedCtor(::_pb::Arena* arena) {
3930 (void)arena;
3931 new (&_impl_) Impl_{
3932 decltype(_impl_.message_){},
3933 decltype(_impl_.success_){false},
3934 /*decltype(_impl_._cached_size_)*/ {},
3935 };
3936 _impl_.message_.InitDefault();
3937 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3938 _impl_.message_.Set("", GetArenaForAllocation());
3939 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3940}
3942 // @@protoc_insertion_point(destructor:daphne.ScrapResponse)
3943 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3944 SharedDtor();
3945}
3947 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
3948 _impl_.message_.Destroy();
3949}
3950void ScrapResponse::SetCachedSize(int size) const {
3951 _impl_._cached_size_.Set(size);
3952}
3953
3954PROTOBUF_NOINLINE void ScrapResponse::Clear() {
3955// @@protoc_insertion_point(message_clear_start:daphne.ScrapResponse)
3956 ::uint32_t cached_has_bits = 0;
3957 // Prevent compiler warnings about cached_has_bits being unused
3958 (void) cached_has_bits;
3959
3960 _impl_.message_.ClearToEmpty();
3961 _impl_.success_ = false;
3962 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3963}
3964
3966 const char* ptr, ::_pbi::ParseContext* ctx) {
3967 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
3968 return ptr;
3969}
3970
3971
3972PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3973const ::_pbi::TcParseTable<1, 2, 0, 36, 2> ScrapResponse::_table_ = {
3974 {
3975 0, // no _has_bits_
3976 0, // no _extensions_
3977 2, 8, // max_field_number, fast_idx_mask
3978 offsetof(decltype(_table_), field_lookup_table),
3979 4294967292, // skipmap
3980 offsetof(decltype(_table_), field_entries),
3981 2, // num_field_entries
3982 0, // num_aux_entries
3983 offsetof(decltype(_table_), field_names), // no aux_entries
3985 ::_pbi::TcParser::GenericFallback, // fallback
3986 }, {{
3987 // string message = 2;
3988 {::_pbi::TcParser::FastUS1,
3989 {18, 63, 0, PROTOBUF_FIELD_OFFSET(ScrapResponse, _impl_.message_)}},
3990 // bool success = 1;
3991 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ScrapResponse, _impl_.success_), 63>(),
3992 {8, 63, 0, PROTOBUF_FIELD_OFFSET(ScrapResponse, _impl_.success_)}},
3993 }}, {{
3994 65535, 65535
3995 }}, {{
3996 // bool success = 1;
3997 {PROTOBUF_FIELD_OFFSET(ScrapResponse, _impl_.success_), 0, 0,
3998 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
3999 // string message = 2;
4000 {PROTOBUF_FIELD_OFFSET(ScrapResponse, _impl_.message_), 0, 0,
4001 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
4002 }},
4003 // no aux_entries
4004 {{
4005 "\24\0\7\0\0\0\0\0"
4006 "daphne.ScrapResponse"
4007 "message"
4008 }},
4009};
4010
4012 ::uint8_t* target,
4013 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
4014 // @@protoc_insertion_point(serialize_to_array_start:daphne.ScrapResponse)
4015 ::uint32_t cached_has_bits = 0;
4016 (void)cached_has_bits;
4017
4018 // bool success = 1;
4019 if (this->_internal_success() != 0) {
4020 target = stream->EnsureSpace(target);
4021 target = ::_pbi::WireFormatLite::WriteBoolToArray(
4022 1, this->_internal_success(), target);
4023 }
4024
4025 // string message = 2;
4026 if (!this->_internal_message().empty()) {
4027 const std::string& _s = this->_internal_message();
4028 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4029 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "daphne.ScrapResponse.message");
4030 target = stream->WriteStringMaybeAliased(2, _s, target);
4031 }
4032
4033 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4034 target =
4035 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4036 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4037 }
4038 // @@protoc_insertion_point(serialize_to_array_end:daphne.ScrapResponse)
4039 return target;
4040}
4041
4043// @@protoc_insertion_point(message_byte_size_start:daphne.ScrapResponse)
4044 ::size_t total_size = 0;
4045
4046 ::uint32_t cached_has_bits = 0;
4047 // Prevent compiler warnings about cached_has_bits being unused
4048 (void) cached_has_bits;
4049
4050 // string message = 2;
4051 if (!this->_internal_message().empty()) {
4052 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
4053 this->_internal_message());
4054 }
4055
4056 // bool success = 1;
4057 if (this->_internal_success() != 0) {
4058 total_size += 2;
4059 }
4060
4061 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
4062}
4063
4064const ::google::protobuf::Message::ClassData ScrapResponse::_class_data_ = {
4065 ::google::protobuf::Message::CopyWithSourceCheck,
4067};
4068const ::google::protobuf::Message::ClassData*ScrapResponse::GetClassData() const { return &_class_data_; }
4069
4070
4071void ScrapResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
4072 auto* const _this = static_cast<ScrapResponse*>(&to_msg);
4073 auto& from = static_cast<const ScrapResponse&>(from_msg);
4074 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.ScrapResponse)
4075 ABSL_DCHECK_NE(&from, _this);
4076 ::uint32_t cached_has_bits = 0;
4077 (void) cached_has_bits;
4078
4079 if (!from._internal_message().empty()) {
4080 _this->_internal_set_message(from._internal_message());
4081 }
4082 if (from._internal_success() != 0) {
4083 _this->_internal_set_success(from._internal_success());
4084 }
4085 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
4086}
4087
4089// @@protoc_insertion_point(class_specific_copy_from_start:daphne.ScrapResponse)
4090 if (&from == this) return;
4091 Clear();
4092 MergeFrom(from);
4093}
4094
4095PROTOBUF_NOINLINE bool ScrapResponse::IsInitialized() const {
4096 return true;
4097}
4098
4100 using std::swap;
4101 auto* lhs_arena = GetArenaForAllocation();
4102 auto* rhs_arena = other->GetArenaForAllocation();
4103 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4104 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, lhs_arena,
4105 &other->_impl_.message_, rhs_arena);
4107}
4108
4114// ===================================================================
4115
4117 public:
4118};
4119
4120DumpSpyBuffersRequest::DumpSpyBuffersRequest(::google::protobuf::Arena* arena)
4121 : ::google::protobuf::Message(arena) {
4122 SharedCtor(arena);
4123 // @@protoc_insertion_point(arena_constructor:daphne.DumpSpyBuffersRequest)
4124}
4126 DumpSpyBuffersRequest* const _this = this;
4127 (void)_this;
4128 new (&_impl_) Impl_{
4129 decltype(_impl_.channellist_){from._impl_.channellist_},
4130 /* _impl_._channellist_cached_byte_size_ = */ {0},
4131 decltype(_impl_.numberofsamples_){},
4132 decltype(_impl_.numberofwaveforms_){},
4133 decltype(_impl_.softwaretrigger_){},
4134 /*decltype(_impl_._cached_size_)*/ {},
4135 };
4136 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
4137 from._internal_metadata_);
4139 static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.softwaretrigger_) -
4140 reinterpret_cast<char*>(&_impl_.numberofsamples_)) + sizeof(_impl_.softwaretrigger_));
4141
4142 // @@protoc_insertion_point(copy_constructor:daphne.DumpSpyBuffersRequest)
4143}
4144inline void DumpSpyBuffersRequest::SharedCtor(::_pb::Arena* arena) {
4145 (void)arena;
4146 new (&_impl_) Impl_{
4147 decltype(_impl_.channellist_){arena},
4148 /* _impl_._channellist_cached_byte_size_ = */ {0},
4149 decltype(_impl_.numberofsamples_){0u},
4150 decltype(_impl_.numberofwaveforms_){0u},
4151 decltype(_impl_.softwaretrigger_){false},
4152 /*decltype(_impl_._cached_size_)*/ {},
4153 };
4154}
4156 // @@protoc_insertion_point(destructor:daphne.DumpSpyBuffersRequest)
4157 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
4158 SharedDtor();
4159}
4161 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
4162 _impl_.channellist_.~RepeatedField();
4163}
4165 _impl_._cached_size_.Set(size);
4166}
4167
4168PROTOBUF_NOINLINE void DumpSpyBuffersRequest::Clear() {
4169// @@protoc_insertion_point(message_clear_start:daphne.DumpSpyBuffersRequest)
4170 ::uint32_t cached_has_bits = 0;
4171 // Prevent compiler warnings about cached_has_bits being unused
4172 (void) cached_has_bits;
4173
4175 ::memset(&_impl_.numberofsamples_, 0, static_cast<::size_t>(
4176 reinterpret_cast<char*>(&_impl_.softwaretrigger_) -
4177 reinterpret_cast<char*>(&_impl_.numberofsamples_)) + sizeof(_impl_.softwaretrigger_));
4178 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
4179}
4180
4182 const char* ptr, ::_pbi::ParseContext* ctx) {
4183 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
4184 return ptr;
4185}
4186
4187
4188PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4189const ::_pbi::TcParseTable<2, 4, 0, 0, 2> DumpSpyBuffersRequest::_table_ = {
4190 {
4191 0, // no _has_bits_
4192 0, // no _extensions_
4193 4, 24, // max_field_number, fast_idx_mask
4194 offsetof(decltype(_table_), field_lookup_table),
4195 4294967280, // skipmap
4196 offsetof(decltype(_table_), field_entries),
4197 4, // num_field_entries
4198 0, // num_aux_entries
4199 offsetof(decltype(_table_), field_names), // no aux_entries
4201 ::_pbi::TcParser::GenericFallback, // fallback
4202 }, {{
4203 // bool softwareTrigger = 4;
4204 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(DumpSpyBuffersRequest, _impl_.softwaretrigger_), 63>(),
4205 {32, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersRequest, _impl_.softwaretrigger_)}},
4206 // repeated uint32 channelList = 1;
4207 {::_pbi::TcParser::FastV32P1,
4208 {10, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersRequest, _impl_.channellist_)}},
4209 // uint32 numberOfSamples = 2;
4210 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DumpSpyBuffersRequest, _impl_.numberofsamples_), 63>(),
4211 {16, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersRequest, _impl_.numberofsamples_)}},
4212 // uint32 numberOfWaveforms = 3;
4213 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DumpSpyBuffersRequest, _impl_.numberofwaveforms_), 63>(),
4214 {24, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersRequest, _impl_.numberofwaveforms_)}},
4215 }}, {{
4216 65535, 65535
4217 }}, {{
4218 // repeated uint32 channelList = 1;
4219 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersRequest, _impl_.channellist_), 0, 0,
4220 (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt32)},
4221 // uint32 numberOfSamples = 2;
4222 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersRequest, _impl_.numberofsamples_), 0, 0,
4223 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
4224 // uint32 numberOfWaveforms = 3;
4225 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersRequest, _impl_.numberofwaveforms_), 0, 0,
4226 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
4227 // bool softwareTrigger = 4;
4228 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersRequest, _impl_.softwaretrigger_), 0, 0,
4229 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
4230 }},
4231 // no aux_entries
4232 {{
4233 }},
4234};
4235
4237 ::uint8_t* target,
4238 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
4239 // @@protoc_insertion_point(serialize_to_array_start:daphne.DumpSpyBuffersRequest)
4240 ::uint32_t cached_has_bits = 0;
4241 (void)cached_has_bits;
4242
4243 // repeated uint32 channelList = 1;
4244 {
4245 int byte_size = _impl_._channellist_cached_byte_size_.Get();
4246 if (byte_size > 0) {
4247 target = stream->WriteUInt32Packed(1, _internal_channellist(),
4248 byte_size, target);
4249 }
4250 }
4251
4252 // uint32 numberOfSamples = 2;
4253 if (this->_internal_numberofsamples() != 0) {
4254 target = stream->EnsureSpace(target);
4255 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
4256 2, this->_internal_numberofsamples(), target);
4257 }
4258
4259 // uint32 numberOfWaveforms = 3;
4260 if (this->_internal_numberofwaveforms() != 0) {
4261 target = stream->EnsureSpace(target);
4262 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
4263 3, this->_internal_numberofwaveforms(), target);
4264 }
4265
4266 // bool softwareTrigger = 4;
4267 if (this->_internal_softwaretrigger() != 0) {
4268 target = stream->EnsureSpace(target);
4269 target = ::_pbi::WireFormatLite::WriteBoolToArray(
4270 4, this->_internal_softwaretrigger(), target);
4271 }
4272
4273 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4274 target =
4275 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4276 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4277 }
4278 // @@protoc_insertion_point(serialize_to_array_end:daphne.DumpSpyBuffersRequest)
4279 return target;
4280}
4281
4283// @@protoc_insertion_point(message_byte_size_start:daphne.DumpSpyBuffersRequest)
4284 ::size_t total_size = 0;
4285
4286 ::uint32_t cached_has_bits = 0;
4287 // Prevent compiler warnings about cached_has_bits being unused
4288 (void) cached_has_bits;
4289
4290 // repeated uint32 channelList = 1;
4291 {
4292 std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
4293 this->_internal_channellist())
4294 ;
4295 _impl_._channellist_cached_byte_size_.Set(::_pbi::ToCachedSize(data_size));
4296 std::size_t tag_size = data_size == 0
4297 ? 0
4298 : 1 + ::_pbi::WireFormatLite::Int32Size(
4299 static_cast<int32_t>(data_size))
4300 ;
4301 total_size += tag_size + data_size;
4302 }
4303 // uint32 numberOfSamples = 2;
4304 if (this->_internal_numberofsamples() != 0) {
4305 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
4307 }
4308
4309 // uint32 numberOfWaveforms = 3;
4310 if (this->_internal_numberofwaveforms() != 0) {
4311 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
4313 }
4314
4315 // bool softwareTrigger = 4;
4316 if (this->_internal_softwaretrigger() != 0) {
4317 total_size += 2;
4318 }
4319
4320 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
4321}
4322
4323const ::google::protobuf::Message::ClassData DumpSpyBuffersRequest::_class_data_ = {
4324 ::google::protobuf::Message::CopyWithSourceCheck,
4326};
4327const ::google::protobuf::Message::ClassData*DumpSpyBuffersRequest::GetClassData() const { return &_class_data_; }
4328
4329
4330void DumpSpyBuffersRequest::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
4331 auto* const _this = static_cast<DumpSpyBuffersRequest*>(&to_msg);
4332 auto& from = static_cast<const DumpSpyBuffersRequest&>(from_msg);
4333 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.DumpSpyBuffersRequest)
4334 ABSL_DCHECK_NE(&from, _this);
4335 ::uint32_t cached_has_bits = 0;
4336 (void) cached_has_bits;
4337
4338 _this->_internal_mutable_channellist()->MergeFrom(from._internal_channellist());
4339 if (from._internal_numberofsamples() != 0) {
4340 _this->_internal_set_numberofsamples(from._internal_numberofsamples());
4341 }
4342 if (from._internal_numberofwaveforms() != 0) {
4343 _this->_internal_set_numberofwaveforms(from._internal_numberofwaveforms());
4344 }
4345 if (from._internal_softwaretrigger() != 0) {
4346 _this->_internal_set_softwaretrigger(from._internal_softwaretrigger());
4347 }
4348 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
4349}
4350
4352// @@protoc_insertion_point(class_specific_copy_from_start:daphne.DumpSpyBuffersRequest)
4353 if (&from == this) return;
4354 Clear();
4355 MergeFrom(from);
4356}
4357
4358PROTOBUF_NOINLINE bool DumpSpyBuffersRequest::IsInitialized() const {
4359 return true;
4360}
4361
4363 using std::swap;
4364 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4365 _impl_.channellist_.InternalSwap(&other->_impl_.channellist_);
4366 ::google::protobuf::internal::memswap<
4367 PROTOBUF_FIELD_OFFSET(DumpSpyBuffersRequest, _impl_.softwaretrigger_)
4369 - PROTOBUF_FIELD_OFFSET(DumpSpyBuffersRequest, _impl_.numberofsamples_)>(
4370 reinterpret_cast<char*>(&_impl_.numberofsamples_),
4371 reinterpret_cast<char*>(&other->_impl_.numberofsamples_));
4372}
4373
4379// ===================================================================
4380
4382 public:
4383};
4384
4385DumpSpyBuffersResponse::DumpSpyBuffersResponse(::google::protobuf::Arena* arena)
4386 : ::google::protobuf::Message(arena) {
4387 SharedCtor(arena);
4388 // @@protoc_insertion_point(arena_constructor:daphne.DumpSpyBuffersResponse)
4389}
4391 DumpSpyBuffersResponse* const _this = this;
4392 (void)_this;
4393 new (&_impl_) Impl_{
4394 decltype(_impl_.channellist_){from._impl_.channellist_},
4395 /* _impl_._channellist_cached_byte_size_ = */ {0},
4396 decltype(_impl_.data_){from._impl_.data_},
4397 /* _impl_._data_cached_byte_size_ = */ {0},
4398 decltype(_impl_.message_){},
4399 decltype(_impl_.numberofsamples_){},
4400 decltype(_impl_.success_){},
4401 decltype(_impl_.softwaretrigger_){},
4402 decltype(_impl_.numberofwaveforms_){},
4403 /*decltype(_impl_._cached_size_)*/ {},
4404 };
4405 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
4406 from._internal_metadata_);
4407 _impl_.message_.InitDefault();
4408 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4409 _impl_.message_.Set("", GetArenaForAllocation());
4410 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4411 if (!from._internal_message().empty()) {
4412 _this->_impl_.message_.Set(from._internal_message(), _this->GetArenaForAllocation());
4413 }
4415 static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.numberofwaveforms_) -
4416 reinterpret_cast<char*>(&_impl_.numberofsamples_)) + sizeof(_impl_.numberofwaveforms_));
4417
4418 // @@protoc_insertion_point(copy_constructor:daphne.DumpSpyBuffersResponse)
4419}
4420inline void DumpSpyBuffersResponse::SharedCtor(::_pb::Arena* arena) {
4421 (void)arena;
4422 new (&_impl_) Impl_{
4423 decltype(_impl_.channellist_){arena},
4424 /* _impl_._channellist_cached_byte_size_ = */ {0},
4425 decltype(_impl_.data_){arena},
4426 /* _impl_._data_cached_byte_size_ = */ {0},
4427 decltype(_impl_.message_){},
4428 decltype(_impl_.numberofsamples_){0u},
4429 decltype(_impl_.success_){false},
4430 decltype(_impl_.softwaretrigger_){false},
4431 decltype(_impl_.numberofwaveforms_){0u},
4432 /*decltype(_impl_._cached_size_)*/ {},
4433 };
4434 _impl_.message_.InitDefault();
4435 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4436 _impl_.message_.Set("", GetArenaForAllocation());
4437 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4438}
4440 // @@protoc_insertion_point(destructor:daphne.DumpSpyBuffersResponse)
4441 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
4442 SharedDtor();
4443}
4445 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
4446 _impl_.channellist_.~RepeatedField();
4447 _impl_.data_.~RepeatedField();
4448 _impl_.message_.Destroy();
4449}
4451 _impl_._cached_size_.Set(size);
4452}
4453
4454PROTOBUF_NOINLINE void DumpSpyBuffersResponse::Clear() {
4455// @@protoc_insertion_point(message_clear_start:daphne.DumpSpyBuffersResponse)
4456 ::uint32_t cached_has_bits = 0;
4457 // Prevent compiler warnings about cached_has_bits being unused
4458 (void) cached_has_bits;
4459
4461 _internal_mutable_data()->Clear();
4462 _impl_.message_.ClearToEmpty();
4463 ::memset(&_impl_.numberofsamples_, 0, static_cast<::size_t>(
4464 reinterpret_cast<char*>(&_impl_.numberofwaveforms_) -
4465 reinterpret_cast<char*>(&_impl_.numberofsamples_)) + sizeof(_impl_.numberofwaveforms_));
4466 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
4467}
4468
4470 const char* ptr, ::_pbi::ParseContext* ctx) {
4471 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
4472 return ptr;
4473}
4474
4475
4476PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4477const ::_pbi::TcParseTable<3, 7, 0, 45, 2> DumpSpyBuffersResponse::_table_ = {
4478 {
4479 0, // no _has_bits_
4480 0, // no _extensions_
4481 7, 56, // max_field_number, fast_idx_mask
4482 offsetof(decltype(_table_), field_lookup_table),
4483 4294967168, // skipmap
4484 offsetof(decltype(_table_), field_entries),
4485 7, // num_field_entries
4486 0, // num_aux_entries
4487 offsetof(decltype(_table_), field_names), // no aux_entries
4489 ::_pbi::TcParser::GenericFallback, // fallback
4490 }, {{
4491 {::_pbi::TcParser::MiniParse, {}},
4492 // bool success = 1;
4493 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(DumpSpyBuffersResponse, _impl_.success_), 63>(),
4494 {8, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.success_)}},
4495 // repeated uint32 channelList = 2;
4496 {::_pbi::TcParser::FastV32P1,
4497 {18, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.channellist_)}},
4498 // uint32 numberOfSamples = 3;
4499 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DumpSpyBuffersResponse, _impl_.numberofsamples_), 63>(),
4500 {24, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.numberofsamples_)}},
4501 // uint32 numberOfWaveforms = 4;
4502 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DumpSpyBuffersResponse, _impl_.numberofwaveforms_), 63>(),
4503 {32, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.numberofwaveforms_)}},
4504 // bool softwareTrigger = 5;
4505 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(DumpSpyBuffersResponse, _impl_.softwaretrigger_), 63>(),
4506 {40, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.softwaretrigger_)}},
4507 // repeated uint32 data = 6 [packed = true];
4508 {::_pbi::TcParser::FastV32P1,
4509 {50, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.data_)}},
4510 // string message = 7;
4511 {::_pbi::TcParser::FastUS1,
4512 {58, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.message_)}},
4513 }}, {{
4514 65535, 65535
4515 }}, {{
4516 // bool success = 1;
4517 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.success_), 0, 0,
4518 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
4519 // repeated uint32 channelList = 2;
4520 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.channellist_), 0, 0,
4521 (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt32)},
4522 // uint32 numberOfSamples = 3;
4523 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.numberofsamples_), 0, 0,
4524 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
4525 // uint32 numberOfWaveforms = 4;
4526 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.numberofwaveforms_), 0, 0,
4527 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
4528 // bool softwareTrigger = 5;
4529 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.softwaretrigger_), 0, 0,
4530 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
4531 // repeated uint32 data = 6 [packed = true];
4532 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.data_), 0, 0,
4533 (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt32)},
4534 // string message = 7;
4535 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.message_), 0, 0,
4536 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
4537 }},
4538 // no aux_entries
4539 {{
4540 "\35\0\0\0\0\0\0\7"
4541 "daphne.DumpSpyBuffersResponse"
4542 "message"
4543 }},
4544};
4545
4547 ::uint8_t* target,
4548 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
4549 // @@protoc_insertion_point(serialize_to_array_start:daphne.DumpSpyBuffersResponse)
4550 ::uint32_t cached_has_bits = 0;
4551 (void)cached_has_bits;
4552
4553 // bool success = 1;
4554 if (this->_internal_success() != 0) {
4555 target = stream->EnsureSpace(target);
4556 target = ::_pbi::WireFormatLite::WriteBoolToArray(
4557 1, this->_internal_success(), target);
4558 }
4559
4560 // repeated uint32 channelList = 2;
4561 {
4562 int byte_size = _impl_._channellist_cached_byte_size_.Get();
4563 if (byte_size > 0) {
4564 target = stream->WriteUInt32Packed(2, _internal_channellist(),
4565 byte_size, target);
4566 }
4567 }
4568
4569 // uint32 numberOfSamples = 3;
4570 if (this->_internal_numberofsamples() != 0) {
4571 target = stream->EnsureSpace(target);
4572 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
4573 3, this->_internal_numberofsamples(), target);
4574 }
4575
4576 // uint32 numberOfWaveforms = 4;
4577 if (this->_internal_numberofwaveforms() != 0) {
4578 target = stream->EnsureSpace(target);
4579 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
4580 4, this->_internal_numberofwaveforms(), target);
4581 }
4582
4583 // bool softwareTrigger = 5;
4584 if (this->_internal_softwaretrigger() != 0) {
4585 target = stream->EnsureSpace(target);
4586 target = ::_pbi::WireFormatLite::WriteBoolToArray(
4587 5, this->_internal_softwaretrigger(), target);
4588 }
4589
4590 // repeated uint32 data = 6 [packed = true];
4591 {
4592 int byte_size = _impl_._data_cached_byte_size_.Get();
4593 if (byte_size > 0) {
4594 target = stream->WriteUInt32Packed(6, _internal_data(),
4595 byte_size, target);
4596 }
4597 }
4598
4599 // string message = 7;
4600 if (!this->_internal_message().empty()) {
4601 const std::string& _s = this->_internal_message();
4602 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4603 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "daphne.DumpSpyBuffersResponse.message");
4604 target = stream->WriteStringMaybeAliased(7, _s, target);
4605 }
4606
4607 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4608 target =
4609 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4610 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4611 }
4612 // @@protoc_insertion_point(serialize_to_array_end:daphne.DumpSpyBuffersResponse)
4613 return target;
4614}
4615
4617// @@protoc_insertion_point(message_byte_size_start:daphne.DumpSpyBuffersResponse)
4618 ::size_t total_size = 0;
4619
4620 ::uint32_t cached_has_bits = 0;
4621 // Prevent compiler warnings about cached_has_bits being unused
4622 (void) cached_has_bits;
4623
4624 // repeated uint32 channelList = 2;
4625 {
4626 std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
4627 this->_internal_channellist())
4628 ;
4629 _impl_._channellist_cached_byte_size_.Set(::_pbi::ToCachedSize(data_size));
4630 std::size_t tag_size = data_size == 0
4631 ? 0
4632 : 1 + ::_pbi::WireFormatLite::Int32Size(
4633 static_cast<int32_t>(data_size))
4634 ;
4635 total_size += tag_size + data_size;
4636 }
4637 // repeated uint32 data = 6 [packed = true];
4638 {
4639 std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
4640 this->_internal_data())
4641 ;
4642 _impl_._data_cached_byte_size_.Set(::_pbi::ToCachedSize(data_size));
4643 std::size_t tag_size = data_size == 0
4644 ? 0
4645 : 1 + ::_pbi::WireFormatLite::Int32Size(
4646 static_cast<int32_t>(data_size))
4647 ;
4648 total_size += tag_size + data_size;
4649 }
4650 // string message = 7;
4651 if (!this->_internal_message().empty()) {
4652 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
4653 this->_internal_message());
4654 }
4655
4656 // uint32 numberOfSamples = 3;
4657 if (this->_internal_numberofsamples() != 0) {
4658 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
4660 }
4661
4662 // bool success = 1;
4663 if (this->_internal_success() != 0) {
4664 total_size += 2;
4665 }
4666
4667 // bool softwareTrigger = 5;
4668 if (this->_internal_softwaretrigger() != 0) {
4669 total_size += 2;
4670 }
4671
4672 // uint32 numberOfWaveforms = 4;
4673 if (this->_internal_numberofwaveforms() != 0) {
4674 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
4676 }
4677
4678 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
4679}
4680
4681const ::google::protobuf::Message::ClassData DumpSpyBuffersResponse::_class_data_ = {
4682 ::google::protobuf::Message::CopyWithSourceCheck,
4684};
4685const ::google::protobuf::Message::ClassData*DumpSpyBuffersResponse::GetClassData() const { return &_class_data_; }
4686
4687
4688void DumpSpyBuffersResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
4689 auto* const _this = static_cast<DumpSpyBuffersResponse*>(&to_msg);
4690 auto& from = static_cast<const DumpSpyBuffersResponse&>(from_msg);
4691 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.DumpSpyBuffersResponse)
4692 ABSL_DCHECK_NE(&from, _this);
4693 ::uint32_t cached_has_bits = 0;
4694 (void) cached_has_bits;
4695
4696 _this->_internal_mutable_channellist()->MergeFrom(from._internal_channellist());
4697 _this->_internal_mutable_data()->MergeFrom(from._internal_data());
4698 if (!from._internal_message().empty()) {
4699 _this->_internal_set_message(from._internal_message());
4700 }
4701 if (from._internal_numberofsamples() != 0) {
4702 _this->_internal_set_numberofsamples(from._internal_numberofsamples());
4703 }
4704 if (from._internal_success() != 0) {
4705 _this->_internal_set_success(from._internal_success());
4706 }
4707 if (from._internal_softwaretrigger() != 0) {
4708 _this->_internal_set_softwaretrigger(from._internal_softwaretrigger());
4709 }
4710 if (from._internal_numberofwaveforms() != 0) {
4711 _this->_internal_set_numberofwaveforms(from._internal_numberofwaveforms());
4712 }
4713 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
4714}
4715
4717// @@protoc_insertion_point(class_specific_copy_from_start:daphne.DumpSpyBuffersResponse)
4718 if (&from == this) return;
4719 Clear();
4720 MergeFrom(from);
4721}
4722
4723PROTOBUF_NOINLINE bool DumpSpyBuffersResponse::IsInitialized() const {
4724 return true;
4725}
4726
4728 using std::swap;
4729 auto* lhs_arena = GetArenaForAllocation();
4730 auto* rhs_arena = other->GetArenaForAllocation();
4731 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4732 _impl_.channellist_.InternalSwap(&other->_impl_.channellist_);
4733 _impl_.data_.InternalSwap(&other->_impl_.data_);
4734 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, lhs_arena,
4735 &other->_impl_.message_, rhs_arena);
4736 ::google::protobuf::internal::memswap<
4737 PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.numberofwaveforms_)
4739 - PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.numberofsamples_)>(
4740 reinterpret_cast<char*>(&_impl_.numberofsamples_),
4741 reinterpret_cast<char*>(&other->_impl_.numberofsamples_));
4742}
4743
4749// ===================================================================
4750
4752 public:
4753};
4754
4756 : ::google::protobuf::Message(arena) {
4757 SharedCtor(arena);
4758 // @@protoc_insertion_point(arena_constructor:daphne.DumpSpyBuffersChunkRequest)
4759}
4761 DumpSpyBuffersChunkRequest* const _this = this;
4762 (void)_this;
4763 new (&_impl_) Impl_{
4764 decltype(_impl_.channellist_){from._impl_.channellist_},
4765 /* _impl_._channellist_cached_byte_size_ = */ {0},
4766 decltype(_impl_.requestid_){},
4767 decltype(_impl_.numberofsamples_){},
4768 decltype(_impl_.numberofwaveforms_){},
4769 decltype(_impl_.softwaretrigger_){},
4770 decltype(_impl_.chunksize_){},
4771 /*decltype(_impl_._cached_size_)*/ {},
4772 };
4773 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
4774 from._internal_metadata_);
4775 _impl_.requestid_.InitDefault();
4776 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4777 _impl_.requestid_.Set("", GetArenaForAllocation());
4778 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4779 if (!from._internal_requestid().empty()) {
4780 _this->_impl_.requestid_.Set(from._internal_requestid(), _this->GetArenaForAllocation());
4781 }
4783 static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.chunksize_) -
4784 reinterpret_cast<char*>(&_impl_.numberofsamples_)) + sizeof(_impl_.chunksize_));
4785
4786 // @@protoc_insertion_point(copy_constructor:daphne.DumpSpyBuffersChunkRequest)
4787}
4788inline void DumpSpyBuffersChunkRequest::SharedCtor(::_pb::Arena* arena) {
4789 (void)arena;
4790 new (&_impl_) Impl_{
4791 decltype(_impl_.channellist_){arena},
4792 /* _impl_._channellist_cached_byte_size_ = */ {0},
4793 decltype(_impl_.requestid_){},
4794 decltype(_impl_.numberofsamples_){0u},
4795 decltype(_impl_.numberofwaveforms_){0u},
4796 decltype(_impl_.softwaretrigger_){false},
4797 decltype(_impl_.chunksize_){0u},
4798 /*decltype(_impl_._cached_size_)*/ {},
4799 };
4800 _impl_.requestid_.InitDefault();
4801 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4802 _impl_.requestid_.Set("", GetArenaForAllocation());
4803 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4804}
4806 // @@protoc_insertion_point(destructor:daphne.DumpSpyBuffersChunkRequest)
4807 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
4808 SharedDtor();
4809}
4811 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
4812 _impl_.channellist_.~RepeatedField();
4813 _impl_.requestid_.Destroy();
4814}
4816 _impl_._cached_size_.Set(size);
4817}
4818
4819PROTOBUF_NOINLINE void DumpSpyBuffersChunkRequest::Clear() {
4820// @@protoc_insertion_point(message_clear_start:daphne.DumpSpyBuffersChunkRequest)
4821 ::uint32_t cached_has_bits = 0;
4822 // Prevent compiler warnings about cached_has_bits being unused
4823 (void) cached_has_bits;
4824
4826 _impl_.requestid_.ClearToEmpty();
4827 ::memset(&_impl_.numberofsamples_, 0, static_cast<::size_t>(
4828 reinterpret_cast<char*>(&_impl_.chunksize_) -
4829 reinterpret_cast<char*>(&_impl_.numberofsamples_)) + sizeof(_impl_.chunksize_));
4830 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
4831}
4832
4834 const char* ptr, ::_pbi::ParseContext* ctx) {
4835 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
4836 return ptr;
4837}
4838
4839
4840PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4841const ::_pbi::TcParseTable<3, 6, 0, 51, 2> DumpSpyBuffersChunkRequest::_table_ = {
4842 {
4843 0, // no _has_bits_
4844 0, // no _extensions_
4845 6, 56, // max_field_number, fast_idx_mask
4846 offsetof(decltype(_table_), field_lookup_table),
4847 4294967232, // skipmap
4848 offsetof(decltype(_table_), field_entries),
4849 6, // num_field_entries
4850 0, // num_aux_entries
4851 offsetof(decltype(_table_), field_names), // no aux_entries
4853 ::_pbi::TcParser::GenericFallback, // fallback
4854 }, {{
4855 {::_pbi::TcParser::MiniParse, {}},
4856 // repeated uint32 channelList = 1;
4857 {::_pbi::TcParser::FastV32P1,
4858 {10, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.channellist_)}},
4859 // uint32 numberOfSamples = 2;
4860 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DumpSpyBuffersChunkRequest, _impl_.numberofsamples_), 63>(),
4861 {16, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.numberofsamples_)}},
4862 // uint32 numberOfWaveforms = 3;
4863 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DumpSpyBuffersChunkRequest, _impl_.numberofwaveforms_), 63>(),
4864 {24, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.numberofwaveforms_)}},
4865 // bool softwareTrigger = 4;
4866 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(DumpSpyBuffersChunkRequest, _impl_.softwaretrigger_), 63>(),
4867 {32, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.softwaretrigger_)}},
4868 // string requestID = 5;
4869 {::_pbi::TcParser::FastUS1,
4870 {42, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.requestid_)}},
4871 // uint32 chunkSize = 6;
4872 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DumpSpyBuffersChunkRequest, _impl_.chunksize_), 63>(),
4873 {48, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.chunksize_)}},
4874 {::_pbi::TcParser::MiniParse, {}},
4875 }}, {{
4876 65535, 65535
4877 }}, {{
4878 // repeated uint32 channelList = 1;
4879 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.channellist_), 0, 0,
4880 (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt32)},
4881 // uint32 numberOfSamples = 2;
4882 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.numberofsamples_), 0, 0,
4883 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
4884 // uint32 numberOfWaveforms = 3;
4885 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.numberofwaveforms_), 0, 0,
4886 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
4887 // bool softwareTrigger = 4;
4888 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.softwaretrigger_), 0, 0,
4889 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
4890 // string requestID = 5;
4891 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.requestid_), 0, 0,
4892 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
4893 // uint32 chunkSize = 6;
4894 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.chunksize_), 0, 0,
4895 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
4896 }},
4897 // no aux_entries
4898 {{
4899 "\41\0\0\0\0\11\0\0"
4900 "daphne.DumpSpyBuffersChunkRequest"
4901 "requestID"
4902 }},
4903};
4904
4906 ::uint8_t* target,
4907 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
4908 // @@protoc_insertion_point(serialize_to_array_start:daphne.DumpSpyBuffersChunkRequest)
4909 ::uint32_t cached_has_bits = 0;
4910 (void)cached_has_bits;
4911
4912 // repeated uint32 channelList = 1;
4913 {
4914 int byte_size = _impl_._channellist_cached_byte_size_.Get();
4915 if (byte_size > 0) {
4916 target = stream->WriteUInt32Packed(1, _internal_channellist(),
4917 byte_size, target);
4918 }
4919 }
4920
4921 // uint32 numberOfSamples = 2;
4922 if (this->_internal_numberofsamples() != 0) {
4923 target = stream->EnsureSpace(target);
4924 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
4925 2, this->_internal_numberofsamples(), target);
4926 }
4927
4928 // uint32 numberOfWaveforms = 3;
4929 if (this->_internal_numberofwaveforms() != 0) {
4930 target = stream->EnsureSpace(target);
4931 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
4932 3, this->_internal_numberofwaveforms(), target);
4933 }
4934
4935 // bool softwareTrigger = 4;
4936 if (this->_internal_softwaretrigger() != 0) {
4937 target = stream->EnsureSpace(target);
4938 target = ::_pbi::WireFormatLite::WriteBoolToArray(
4939 4, this->_internal_softwaretrigger(), target);
4940 }
4941
4942 // string requestID = 5;
4943 if (!this->_internal_requestid().empty()) {
4944 const std::string& _s = this->_internal_requestid();
4945 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4946 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "daphne.DumpSpyBuffersChunkRequest.requestID");
4947 target = stream->WriteStringMaybeAliased(5, _s, target);
4948 }
4949
4950 // uint32 chunkSize = 6;
4951 if (this->_internal_chunksize() != 0) {
4952 target = stream->EnsureSpace(target);
4953 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
4954 6, this->_internal_chunksize(), target);
4955 }
4956
4957 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4958 target =
4959 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4960 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4961 }
4962 // @@protoc_insertion_point(serialize_to_array_end:daphne.DumpSpyBuffersChunkRequest)
4963 return target;
4964}
4965
4967// @@protoc_insertion_point(message_byte_size_start:daphne.DumpSpyBuffersChunkRequest)
4968 ::size_t total_size = 0;
4969
4970 ::uint32_t cached_has_bits = 0;
4971 // Prevent compiler warnings about cached_has_bits being unused
4972 (void) cached_has_bits;
4973
4974 // repeated uint32 channelList = 1;
4975 {
4976 std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
4977 this->_internal_channellist())
4978 ;
4979 _impl_._channellist_cached_byte_size_.Set(::_pbi::ToCachedSize(data_size));
4980 std::size_t tag_size = data_size == 0
4981 ? 0
4982 : 1 + ::_pbi::WireFormatLite::Int32Size(
4983 static_cast<int32_t>(data_size))
4984 ;
4985 total_size += tag_size + data_size;
4986 }
4987 // string requestID = 5;
4988 if (!this->_internal_requestid().empty()) {
4989 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
4990 this->_internal_requestid());
4991 }
4992
4993 // uint32 numberOfSamples = 2;
4994 if (this->_internal_numberofsamples() != 0) {
4995 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
4997 }
4998
4999 // uint32 numberOfWaveforms = 3;
5000 if (this->_internal_numberofwaveforms() != 0) {
5001 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
5003 }
5004
5005 // bool softwareTrigger = 4;
5006 if (this->_internal_softwaretrigger() != 0) {
5007 total_size += 2;
5008 }
5009
5010 // uint32 chunkSize = 6;
5011 if (this->_internal_chunksize() != 0) {
5012 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
5013 this->_internal_chunksize());
5014 }
5015
5016 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
5017}
5018
5019const ::google::protobuf::Message::ClassData DumpSpyBuffersChunkRequest::_class_data_ = {
5020 ::google::protobuf::Message::CopyWithSourceCheck,
5022};
5023const ::google::protobuf::Message::ClassData*DumpSpyBuffersChunkRequest::GetClassData() const { return &_class_data_; }
5024
5025
5026void DumpSpyBuffersChunkRequest::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
5027 auto* const _this = static_cast<DumpSpyBuffersChunkRequest*>(&to_msg);
5028 auto& from = static_cast<const DumpSpyBuffersChunkRequest&>(from_msg);
5029 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.DumpSpyBuffersChunkRequest)
5030 ABSL_DCHECK_NE(&from, _this);
5031 ::uint32_t cached_has_bits = 0;
5032 (void) cached_has_bits;
5033
5034 _this->_internal_mutable_channellist()->MergeFrom(from._internal_channellist());
5035 if (!from._internal_requestid().empty()) {
5036 _this->_internal_set_requestid(from._internal_requestid());
5037 }
5038 if (from._internal_numberofsamples() != 0) {
5039 _this->_internal_set_numberofsamples(from._internal_numberofsamples());
5040 }
5041 if (from._internal_numberofwaveforms() != 0) {
5042 _this->_internal_set_numberofwaveforms(from._internal_numberofwaveforms());
5043 }
5044 if (from._internal_softwaretrigger() != 0) {
5045 _this->_internal_set_softwaretrigger(from._internal_softwaretrigger());
5046 }
5047 if (from._internal_chunksize() != 0) {
5048 _this->_internal_set_chunksize(from._internal_chunksize());
5049 }
5050 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
5051}
5052
5054// @@protoc_insertion_point(class_specific_copy_from_start:daphne.DumpSpyBuffersChunkRequest)
5055 if (&from == this) return;
5056 Clear();
5057 MergeFrom(from);
5058}
5059
5060PROTOBUF_NOINLINE bool DumpSpyBuffersChunkRequest::IsInitialized() const {
5061 return true;
5062}
5063
5065 using std::swap;
5066 auto* lhs_arena = GetArenaForAllocation();
5067 auto* rhs_arena = other->GetArenaForAllocation();
5068 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5069 _impl_.channellist_.InternalSwap(&other->_impl_.channellist_);
5070 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.requestid_, lhs_arena,
5071 &other->_impl_.requestid_, rhs_arena);
5072 ::google::protobuf::internal::memswap<
5073 PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.chunksize_)
5075 - PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.numberofsamples_)>(
5076 reinterpret_cast<char*>(&_impl_.numberofsamples_),
5077 reinterpret_cast<char*>(&other->_impl_.numberofsamples_));
5078}
5079
5085// ===================================================================
5086
5088 public:
5089};
5090
5092 : ::google::protobuf::Message(arena) {
5093 SharedCtor(arena);
5094 // @@protoc_insertion_point(arena_constructor:daphne.DumpSpyBuffersChunkResponse)
5095}
5097 DumpSpyBuffersChunkResponse* const _this = this;
5098 (void)_this;
5099 new (&_impl_) Impl_{
5100 decltype(_impl_.channellist_){from._impl_.channellist_},
5101 /* _impl_._channellist_cached_byte_size_ = */ {0},
5102 decltype(_impl_.data_){from._impl_.data_},
5103 /* _impl_._data_cached_byte_size_ = */ {0},
5104 decltype(_impl_.requestid_){},
5105 decltype(_impl_.message_){},
5106 decltype(_impl_.success_){},
5107 decltype(_impl_.isfinal_){},
5108 decltype(_impl_.chunkseq_){},
5109 decltype(_impl_.waveformstart_){},
5110 decltype(_impl_.waveformcount_){},
5111 decltype(_impl_.requesttotalwaveforms_){},
5112 decltype(_impl_.numberofsamples_){},
5113 /*decltype(_impl_._cached_size_)*/ {},
5114 };
5115 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
5116 from._internal_metadata_);
5117 _impl_.requestid_.InitDefault();
5118 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5119 _impl_.requestid_.Set("", GetArenaForAllocation());
5120 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5121 if (!from._internal_requestid().empty()) {
5122 _this->_impl_.requestid_.Set(from._internal_requestid(), _this->GetArenaForAllocation());
5123 }
5124 _impl_.message_.InitDefault();
5125 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5126 _impl_.message_.Set("", GetArenaForAllocation());
5127 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5128 if (!from._internal_message().empty()) {
5129 _this->_impl_.message_.Set(from._internal_message(), _this->GetArenaForAllocation());
5130 }
5131 ::memcpy(&_impl_.success_, &from._impl_.success_,
5132 static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.numberofsamples_) -
5133 reinterpret_cast<char*>(&_impl_.success_)) + sizeof(_impl_.numberofsamples_));
5134
5135 // @@protoc_insertion_point(copy_constructor:daphne.DumpSpyBuffersChunkResponse)
5136}
5137inline void DumpSpyBuffersChunkResponse::SharedCtor(::_pb::Arena* arena) {
5138 (void)arena;
5139 new (&_impl_) Impl_{
5140 decltype(_impl_.channellist_){arena},
5141 /* _impl_._channellist_cached_byte_size_ = */ {0},
5142 decltype(_impl_.data_){arena},
5143 /* _impl_._data_cached_byte_size_ = */ {0},
5144 decltype(_impl_.requestid_){},
5145 decltype(_impl_.message_){},
5146 decltype(_impl_.success_){false},
5147 decltype(_impl_.isfinal_){false},
5148 decltype(_impl_.chunkseq_){0u},
5149 decltype(_impl_.waveformstart_){0u},
5150 decltype(_impl_.waveformcount_){0u},
5151 decltype(_impl_.requesttotalwaveforms_){0u},
5152 decltype(_impl_.numberofsamples_){0u},
5153 /*decltype(_impl_._cached_size_)*/ {},
5154 };
5155 _impl_.requestid_.InitDefault();
5156 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5157 _impl_.requestid_.Set("", GetArenaForAllocation());
5158 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5159 _impl_.message_.InitDefault();
5160 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5161 _impl_.message_.Set("", GetArenaForAllocation());
5162 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5163}
5165 // @@protoc_insertion_point(destructor:daphne.DumpSpyBuffersChunkResponse)
5166 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
5167 SharedDtor();
5168}
5170 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
5171 _impl_.channellist_.~RepeatedField();
5172 _impl_.data_.~RepeatedField();
5173 _impl_.requestid_.Destroy();
5174 _impl_.message_.Destroy();
5175}
5177 _impl_._cached_size_.Set(size);
5178}
5179
5180PROTOBUF_NOINLINE void DumpSpyBuffersChunkResponse::Clear() {
5181// @@protoc_insertion_point(message_clear_start:daphne.DumpSpyBuffersChunkResponse)
5182 ::uint32_t cached_has_bits = 0;
5183 // Prevent compiler warnings about cached_has_bits being unused
5184 (void) cached_has_bits;
5185
5187 _internal_mutable_data()->Clear();
5188 _impl_.requestid_.ClearToEmpty();
5189 _impl_.message_.ClearToEmpty();
5190 ::memset(&_impl_.success_, 0, static_cast<::size_t>(
5191 reinterpret_cast<char*>(&_impl_.numberofsamples_) -
5192 reinterpret_cast<char*>(&_impl_.success_)) + sizeof(_impl_.numberofsamples_));
5193 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
5194}
5195
5197 const char* ptr, ::_pbi::ParseContext* ctx) {
5198 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
5199 return ptr;
5200}
5201
5202
5203PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
5204const ::_pbi::TcParseTable<4, 11, 0, 67, 2> DumpSpyBuffersChunkResponse::_table_ = {
5205 {
5206 0, // no _has_bits_
5207 0, // no _extensions_
5208 11, 120, // max_field_number, fast_idx_mask
5209 offsetof(decltype(_table_), field_lookup_table),
5210 4294965248, // skipmap
5211 offsetof(decltype(_table_), field_entries),
5212 11, // num_field_entries
5213 0, // num_aux_entries
5214 offsetof(decltype(_table_), field_names), // no aux_entries
5216 ::_pbi::TcParser::GenericFallback, // fallback
5217 }, {{
5218 {::_pbi::TcParser::MiniParse, {}},
5219 // bool success = 1;
5220 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(DumpSpyBuffersChunkResponse, _impl_.success_), 63>(),
5221 {8, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.success_)}},
5222 // string requestID = 2;
5223 {::_pbi::TcParser::FastUS1,
5224 {18, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.requestid_)}},
5225 // uint32 chunkseq = 3;
5226 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DumpSpyBuffersChunkResponse, _impl_.chunkseq_), 63>(),
5227 {24, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.chunkseq_)}},
5228 // bool isFinal = 4;
5229 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(DumpSpyBuffersChunkResponse, _impl_.isfinal_), 63>(),
5230 {32, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.isfinal_)}},
5231 // uint32 waveformStart = 5;
5232 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DumpSpyBuffersChunkResponse, _impl_.waveformstart_), 63>(),
5233 {40, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.waveformstart_)}},
5234 // uint32 waveformCount = 6;
5235 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DumpSpyBuffersChunkResponse, _impl_.waveformcount_), 63>(),
5236 {48, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.waveformcount_)}},
5237 // uint32 requestTotalWaveforms = 7;
5238 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DumpSpyBuffersChunkResponse, _impl_.requesttotalwaveforms_), 63>(),
5239 {56, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.requesttotalwaveforms_)}},
5240 // uint32 numberOfSamples = 8;
5241 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DumpSpyBuffersChunkResponse, _impl_.numberofsamples_), 63>(),
5242 {64, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.numberofsamples_)}},
5243 // repeated uint32 channelList = 9;
5244 {::_pbi::TcParser::FastV32P1,
5245 {74, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.channellist_)}},
5246 // repeated uint32 data = 10;
5247 {::_pbi::TcParser::FastV32P1,
5248 {82, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.data_)}},
5249 // string message = 11;
5250 {::_pbi::TcParser::FastUS1,
5251 {90, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.message_)}},
5252 {::_pbi::TcParser::MiniParse, {}},
5253 {::_pbi::TcParser::MiniParse, {}},
5254 {::_pbi::TcParser::MiniParse, {}},
5255 {::_pbi::TcParser::MiniParse, {}},
5256 }}, {{
5257 65535, 65535
5258 }}, {{
5259 // bool success = 1;
5260 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.success_), 0, 0,
5261 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
5262 // string requestID = 2;
5263 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.requestid_), 0, 0,
5264 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
5265 // uint32 chunkseq = 3;
5266 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.chunkseq_), 0, 0,
5267 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
5268 // bool isFinal = 4;
5269 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.isfinal_), 0, 0,
5270 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
5271 // uint32 waveformStart = 5;
5272 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.waveformstart_), 0, 0,
5273 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
5274 // uint32 waveformCount = 6;
5275 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.waveformcount_), 0, 0,
5276 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
5277 // uint32 requestTotalWaveforms = 7;
5278 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.requesttotalwaveforms_), 0, 0,
5279 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
5280 // uint32 numberOfSamples = 8;
5281 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.numberofsamples_), 0, 0,
5282 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
5283 // repeated uint32 channelList = 9;
5284 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.channellist_), 0, 0,
5285 (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt32)},
5286 // repeated uint32 data = 10;
5287 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.data_), 0, 0,
5288 (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt32)},
5289 // string message = 11;
5290 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.message_), 0, 0,
5291 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
5292 }},
5293 // no aux_entries
5294 {{
5295 "\42\0\11\0\0\0\0\0\0\0\0\7\0\0\0\0"
5296 "daphne.DumpSpyBuffersChunkResponse"
5297 "requestID"
5298 "message"
5299 }},
5300};
5301
5303 ::uint8_t* target,
5304 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
5305 // @@protoc_insertion_point(serialize_to_array_start:daphne.DumpSpyBuffersChunkResponse)
5306 ::uint32_t cached_has_bits = 0;
5307 (void)cached_has_bits;
5308
5309 // bool success = 1;
5310 if (this->_internal_success() != 0) {
5311 target = stream->EnsureSpace(target);
5312 target = ::_pbi::WireFormatLite::WriteBoolToArray(
5313 1, this->_internal_success(), target);
5314 }
5315
5316 // string requestID = 2;
5317 if (!this->_internal_requestid().empty()) {
5318 const std::string& _s = this->_internal_requestid();
5319 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
5320 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "daphne.DumpSpyBuffersChunkResponse.requestID");
5321 target = stream->WriteStringMaybeAliased(2, _s, target);
5322 }
5323
5324 // uint32 chunkseq = 3;
5325 if (this->_internal_chunkseq() != 0) {
5326 target = stream->EnsureSpace(target);
5327 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
5328 3, this->_internal_chunkseq(), target);
5329 }
5330
5331 // bool isFinal = 4;
5332 if (this->_internal_isfinal() != 0) {
5333 target = stream->EnsureSpace(target);
5334 target = ::_pbi::WireFormatLite::WriteBoolToArray(
5335 4, this->_internal_isfinal(), target);
5336 }
5337
5338 // uint32 waveformStart = 5;
5339 if (this->_internal_waveformstart() != 0) {
5340 target = stream->EnsureSpace(target);
5341 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
5342 5, this->_internal_waveformstart(), target);
5343 }
5344
5345 // uint32 waveformCount = 6;
5346 if (this->_internal_waveformcount() != 0) {
5347 target = stream->EnsureSpace(target);
5348 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
5349 6, this->_internal_waveformcount(), target);
5350 }
5351
5352 // uint32 requestTotalWaveforms = 7;
5353 if (this->_internal_requesttotalwaveforms() != 0) {
5354 target = stream->EnsureSpace(target);
5355 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
5356 7, this->_internal_requesttotalwaveforms(), target);
5357 }
5358
5359 // uint32 numberOfSamples = 8;
5360 if (this->_internal_numberofsamples() != 0) {
5361 target = stream->EnsureSpace(target);
5362 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
5363 8, this->_internal_numberofsamples(), target);
5364 }
5365
5366 // repeated uint32 channelList = 9;
5367 {
5368 int byte_size = _impl_._channellist_cached_byte_size_.Get();
5369 if (byte_size > 0) {
5370 target = stream->WriteUInt32Packed(9, _internal_channellist(),
5371 byte_size, target);
5372 }
5373 }
5374
5375 // repeated uint32 data = 10;
5376 {
5377 int byte_size = _impl_._data_cached_byte_size_.Get();
5378 if (byte_size > 0) {
5379 target = stream->WriteUInt32Packed(10, _internal_data(),
5380 byte_size, target);
5381 }
5382 }
5383
5384 // string message = 11;
5385 if (!this->_internal_message().empty()) {
5386 const std::string& _s = this->_internal_message();
5387 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
5388 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "daphne.DumpSpyBuffersChunkResponse.message");
5389 target = stream->WriteStringMaybeAliased(11, _s, target);
5390 }
5391
5392 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5393 target =
5394 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5395 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
5396 }
5397 // @@protoc_insertion_point(serialize_to_array_end:daphne.DumpSpyBuffersChunkResponse)
5398 return target;
5399}
5400
5402// @@protoc_insertion_point(message_byte_size_start:daphne.DumpSpyBuffersChunkResponse)
5403 ::size_t total_size = 0;
5404
5405 ::uint32_t cached_has_bits = 0;
5406 // Prevent compiler warnings about cached_has_bits being unused
5407 (void) cached_has_bits;
5408
5409 // repeated uint32 channelList = 9;
5410 {
5411 std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
5412 this->_internal_channellist())
5413 ;
5414 _impl_._channellist_cached_byte_size_.Set(::_pbi::ToCachedSize(data_size));
5415 std::size_t tag_size = data_size == 0
5416 ? 0
5417 : 1 + ::_pbi::WireFormatLite::Int32Size(
5418 static_cast<int32_t>(data_size))
5419 ;
5420 total_size += tag_size + data_size;
5421 }
5422 // repeated uint32 data = 10;
5423 {
5424 std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
5425 this->_internal_data())
5426 ;
5427 _impl_._data_cached_byte_size_.Set(::_pbi::ToCachedSize(data_size));
5428 std::size_t tag_size = data_size == 0
5429 ? 0
5430 : 1 + ::_pbi::WireFormatLite::Int32Size(
5431 static_cast<int32_t>(data_size))
5432 ;
5433 total_size += tag_size + data_size;
5434 }
5435 // string requestID = 2;
5436 if (!this->_internal_requestid().empty()) {
5437 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
5438 this->_internal_requestid());
5439 }
5440
5441 // string message = 11;
5442 if (!this->_internal_message().empty()) {
5443 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
5444 this->_internal_message());
5445 }
5446
5447 // bool success = 1;
5448 if (this->_internal_success() != 0) {
5449 total_size += 2;
5450 }
5451
5452 // bool isFinal = 4;
5453 if (this->_internal_isfinal() != 0) {
5454 total_size += 2;
5455 }
5456
5457 // uint32 chunkseq = 3;
5458 if (this->_internal_chunkseq() != 0) {
5459 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
5460 this->_internal_chunkseq());
5461 }
5462
5463 // uint32 waveformStart = 5;
5464 if (this->_internal_waveformstart() != 0) {
5465 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
5466 this->_internal_waveformstart());
5467 }
5468
5469 // uint32 waveformCount = 6;
5470 if (this->_internal_waveformcount() != 0) {
5471 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
5472 this->_internal_waveformcount());
5473 }
5474
5475 // uint32 requestTotalWaveforms = 7;
5476 if (this->_internal_requesttotalwaveforms() != 0) {
5477 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
5479 }
5480
5481 // uint32 numberOfSamples = 8;
5482 if (this->_internal_numberofsamples() != 0) {
5483 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
5485 }
5486
5487 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
5488}
5489
5490const ::google::protobuf::Message::ClassData DumpSpyBuffersChunkResponse::_class_data_ = {
5491 ::google::protobuf::Message::CopyWithSourceCheck,
5493};
5494const ::google::protobuf::Message::ClassData*DumpSpyBuffersChunkResponse::GetClassData() const { return &_class_data_; }
5495
5496
5497void DumpSpyBuffersChunkResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
5498 auto* const _this = static_cast<DumpSpyBuffersChunkResponse*>(&to_msg);
5499 auto& from = static_cast<const DumpSpyBuffersChunkResponse&>(from_msg);
5500 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.DumpSpyBuffersChunkResponse)
5501 ABSL_DCHECK_NE(&from, _this);
5502 ::uint32_t cached_has_bits = 0;
5503 (void) cached_has_bits;
5504
5505 _this->_internal_mutable_channellist()->MergeFrom(from._internal_channellist());
5506 _this->_internal_mutable_data()->MergeFrom(from._internal_data());
5507 if (!from._internal_requestid().empty()) {
5508 _this->_internal_set_requestid(from._internal_requestid());
5509 }
5510 if (!from._internal_message().empty()) {
5511 _this->_internal_set_message(from._internal_message());
5512 }
5513 if (from._internal_success() != 0) {
5514 _this->_internal_set_success(from._internal_success());
5515 }
5516 if (from._internal_isfinal() != 0) {
5517 _this->_internal_set_isfinal(from._internal_isfinal());
5518 }
5519 if (from._internal_chunkseq() != 0) {
5520 _this->_internal_set_chunkseq(from._internal_chunkseq());
5521 }
5522 if (from._internal_waveformstart() != 0) {
5523 _this->_internal_set_waveformstart(from._internal_waveformstart());
5524 }
5525 if (from._internal_waveformcount() != 0) {
5526 _this->_internal_set_waveformcount(from._internal_waveformcount());
5527 }
5528 if (from._internal_requesttotalwaveforms() != 0) {
5529 _this->_internal_set_requesttotalwaveforms(from._internal_requesttotalwaveforms());
5530 }
5531 if (from._internal_numberofsamples() != 0) {
5532 _this->_internal_set_numberofsamples(from._internal_numberofsamples());
5533 }
5534 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
5535}
5536
5538// @@protoc_insertion_point(class_specific_copy_from_start:daphne.DumpSpyBuffersChunkResponse)
5539 if (&from == this) return;
5540 Clear();
5541 MergeFrom(from);
5542}
5543
5544PROTOBUF_NOINLINE bool DumpSpyBuffersChunkResponse::IsInitialized() const {
5545 return true;
5546}
5547
5549 using std::swap;
5550 auto* lhs_arena = GetArenaForAllocation();
5551 auto* rhs_arena = other->GetArenaForAllocation();
5552 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5553 _impl_.channellist_.InternalSwap(&other->_impl_.channellist_);
5554 _impl_.data_.InternalSwap(&other->_impl_.data_);
5555 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.requestid_, lhs_arena,
5556 &other->_impl_.requestid_, rhs_arena);
5557 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, lhs_arena,
5558 &other->_impl_.message_, rhs_arena);
5559 ::google::protobuf::internal::memswap<
5562 - PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.success_)>(
5563 reinterpret_cast<char*>(&_impl_.success_),
5564 reinterpret_cast<char*>(&other->_impl_.success_));
5565}
5566
5572// ===================================================================
5573
5575 public:
5576};
5577
5578InfoRequest::InfoRequest(::google::protobuf::Arena* arena)
5579 : ::google::protobuf::Message(arena) {
5580 SharedCtor(arena);
5581 // @@protoc_insertion_point(arena_constructor:daphne.InfoRequest)
5582}
5584 : ::google::protobuf::Message(), _impl_(from._impl_) {
5585 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
5586 from._internal_metadata_);
5587 // @@protoc_insertion_point(copy_constructor:daphne.InfoRequest)
5588}
5589inline void InfoRequest::SharedCtor(::_pb::Arena* arena) {
5590 (void)arena;
5591 new (&_impl_) Impl_{
5592 decltype(_impl_.level_){0u},
5593 /*decltype(_impl_._cached_size_)*/ {},
5594 };
5595}
5597 // @@protoc_insertion_point(destructor:daphne.InfoRequest)
5598 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
5599 SharedDtor();
5600}
5602 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
5603}
5604void InfoRequest::SetCachedSize(int size) const {
5605 _impl_._cached_size_.Set(size);
5606}
5607
5608PROTOBUF_NOINLINE void InfoRequest::Clear() {
5609// @@protoc_insertion_point(message_clear_start:daphne.InfoRequest)
5610 ::uint32_t cached_has_bits = 0;
5611 // Prevent compiler warnings about cached_has_bits being unused
5612 (void) cached_has_bits;
5613
5614 _impl_.level_ = 0u;
5615 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
5616}
5617
5619 const char* ptr, ::_pbi::ParseContext* ctx) {
5620 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
5621 return ptr;
5622}
5623
5624
5625PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
5626const ::_pbi::TcParseTable<0, 1, 0, 0, 2> InfoRequest::_table_ = {
5627 {
5628 0, // no _has_bits_
5629 0, // no _extensions_
5630 1, 0, // max_field_number, fast_idx_mask
5631 offsetof(decltype(_table_), field_lookup_table),
5632 4294967294, // skipmap
5633 offsetof(decltype(_table_), field_entries),
5634 1, // num_field_entries
5635 0, // num_aux_entries
5636 offsetof(decltype(_table_), field_names), // no aux_entries
5638 ::_pbi::TcParser::GenericFallback, // fallback
5639 }, {{
5640 // uint32 level = 1;
5641 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(InfoRequest, _impl_.level_), 63>(),
5642 {8, 63, 0, PROTOBUF_FIELD_OFFSET(InfoRequest, _impl_.level_)}},
5643 }}, {{
5644 65535, 65535
5645 }}, {{
5646 // uint32 level = 1;
5647 {PROTOBUF_FIELD_OFFSET(InfoRequest, _impl_.level_), 0, 0,
5648 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
5649 }},
5650 // no aux_entries
5651 {{
5652 }},
5653};
5654
5656 ::uint8_t* target,
5657 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
5658 // @@protoc_insertion_point(serialize_to_array_start:daphne.InfoRequest)
5659 ::uint32_t cached_has_bits = 0;
5660 (void)cached_has_bits;
5661
5662 // uint32 level = 1;
5663 if (this->_internal_level() != 0) {
5664 target = stream->EnsureSpace(target);
5665 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
5666 1, this->_internal_level(), target);
5667 }
5668
5669 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5670 target =
5671 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5672 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
5673 }
5674 // @@protoc_insertion_point(serialize_to_array_end:daphne.InfoRequest)
5675 return target;
5676}
5677
5679// @@protoc_insertion_point(message_byte_size_start:daphne.InfoRequest)
5680 ::size_t total_size = 0;
5681
5682 ::uint32_t cached_has_bits = 0;
5683 // Prevent compiler warnings about cached_has_bits being unused
5684 (void) cached_has_bits;
5685
5686 // uint32 level = 1;
5687 if (this->_internal_level() != 0) {
5688 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
5689 this->_internal_level());
5690 }
5691
5692 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
5693}
5694
5695const ::google::protobuf::Message::ClassData InfoRequest::_class_data_ = {
5696 ::google::protobuf::Message::CopyWithSourceCheck,
5698};
5699const ::google::protobuf::Message::ClassData*InfoRequest::GetClassData() const { return &_class_data_; }
5700
5701
5702void InfoRequest::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
5703 auto* const _this = static_cast<InfoRequest*>(&to_msg);
5704 auto& from = static_cast<const InfoRequest&>(from_msg);
5705 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.InfoRequest)
5706 ABSL_DCHECK_NE(&from, _this);
5707 ::uint32_t cached_has_bits = 0;
5708 (void) cached_has_bits;
5709
5710 if (from._internal_level() != 0) {
5711 _this->_internal_set_level(from._internal_level());
5712 }
5713 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
5714}
5715
5717// @@protoc_insertion_point(class_specific_copy_from_start:daphne.InfoRequest)
5718 if (&from == this) return;
5719 Clear();
5720 MergeFrom(from);
5721}
5722
5723PROTOBUF_NOINLINE bool InfoRequest::IsInitialized() const {
5724 return true;
5725}
5726
5728 using std::swap;
5729 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5730 swap(_impl_.level_, other->_impl_.level_);
5731}
5732
5738// ===================================================================
5739
5741 public:
5742};
5743
5744StreamInfo::StreamInfo(::google::protobuf::Arena* arena)
5745 : ::google::protobuf::Message(arena) {
5746 SharedCtor(arena);
5747 // @@protoc_insertion_point(arena_constructor:daphne.StreamInfo)
5748}
5750 : ::google::protobuf::Message(), _impl_(from._impl_) {
5751 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
5752 from._internal_metadata_);
5753 // @@protoc_insertion_point(copy_constructor:daphne.StreamInfo)
5754}
5755inline void StreamInfo::SharedCtor(::_pb::Arena* arena) {
5756 (void)arena;
5757 new (&_impl_) Impl_{
5758 decltype(_impl_.total_packets_){::uint64_t{0u}},
5759 decltype(_impl_.new_packets_){::uint64_t{0u}},
5760 decltype(_impl_.total_dropped_packets_){::uint64_t{0u}},
5761 decltype(_impl_.new_dropped_packets_){::uint64_t{0u}},
5762 /*decltype(_impl_._cached_size_)*/ {},
5763 };
5764}
5766 // @@protoc_insertion_point(destructor:daphne.StreamInfo)
5767 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
5768 SharedDtor();
5769}
5771 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
5772}
5773void StreamInfo::SetCachedSize(int size) const {
5774 _impl_._cached_size_.Set(size);
5775}
5776
5777PROTOBUF_NOINLINE void StreamInfo::Clear() {
5778// @@protoc_insertion_point(message_clear_start:daphne.StreamInfo)
5779 ::uint32_t cached_has_bits = 0;
5780 // Prevent compiler warnings about cached_has_bits being unused
5781 (void) cached_has_bits;
5782
5783 ::memset(&_impl_.total_packets_, 0, static_cast<::size_t>(
5784 reinterpret_cast<char*>(&_impl_.new_dropped_packets_) -
5785 reinterpret_cast<char*>(&_impl_.total_packets_)) + sizeof(_impl_.new_dropped_packets_));
5786 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
5787}
5788
5789const char* StreamInfo::_InternalParse(
5790 const char* ptr, ::_pbi::ParseContext* ctx) {
5791 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
5792 return ptr;
5793}
5794
5795
5796PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
5797const ::_pbi::TcParseTable<2, 4, 0, 0, 2> StreamInfo::_table_ = {
5798 {
5799 0, // no _has_bits_
5800 0, // no _extensions_
5801 4, 24, // max_field_number, fast_idx_mask
5802 offsetof(decltype(_table_), field_lookup_table),
5803 4294967280, // skipmap
5804 offsetof(decltype(_table_), field_entries),
5805 4, // num_field_entries
5806 0, // num_aux_entries
5807 offsetof(decltype(_table_), field_names), // no aux_entries
5809 ::_pbi::TcParser::GenericFallback, // fallback
5810 }, {{
5811 // uint64 new_dropped_packets = 4;
5812 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(StreamInfo, _impl_.new_dropped_packets_), 63>(),
5813 {32, 63, 0, PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.new_dropped_packets_)}},
5814 // uint64 total_packets = 1;
5815 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(StreamInfo, _impl_.total_packets_), 63>(),
5816 {8, 63, 0, PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.total_packets_)}},
5817 // uint64 new_packets = 2;
5818 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(StreamInfo, _impl_.new_packets_), 63>(),
5819 {16, 63, 0, PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.new_packets_)}},
5820 // uint64 total_dropped_packets = 3;
5821 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(StreamInfo, _impl_.total_dropped_packets_), 63>(),
5822 {24, 63, 0, PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.total_dropped_packets_)}},
5823 }}, {{
5824 65535, 65535
5825 }}, {{
5826 // uint64 total_packets = 1;
5827 {PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.total_packets_), 0, 0,
5828 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
5829 // uint64 new_packets = 2;
5830 {PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.new_packets_), 0, 0,
5831 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
5832 // uint64 total_dropped_packets = 3;
5833 {PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.total_dropped_packets_), 0, 0,
5834 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
5835 // uint64 new_dropped_packets = 4;
5836 {PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.new_dropped_packets_), 0, 0,
5837 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
5838 }},
5839 // no aux_entries
5840 {{
5841 }},
5842};
5843
5845 ::uint8_t* target,
5846 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
5847 // @@protoc_insertion_point(serialize_to_array_start:daphne.StreamInfo)
5848 ::uint32_t cached_has_bits = 0;
5849 (void)cached_has_bits;
5850
5851 // uint64 total_packets = 1;
5852 if (this->_internal_total_packets() != 0) {
5853 target = stream->EnsureSpace(target);
5854 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
5855 1, this->_internal_total_packets(), target);
5856 }
5857
5858 // uint64 new_packets = 2;
5859 if (this->_internal_new_packets() != 0) {
5860 target = stream->EnsureSpace(target);
5861 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
5862 2, this->_internal_new_packets(), target);
5863 }
5864
5865 // uint64 total_dropped_packets = 3;
5866 if (this->_internal_total_dropped_packets() != 0) {
5867 target = stream->EnsureSpace(target);
5868 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
5869 3, this->_internal_total_dropped_packets(), target);
5870 }
5871
5872 // uint64 new_dropped_packets = 4;
5873 if (this->_internal_new_dropped_packets() != 0) {
5874 target = stream->EnsureSpace(target);
5875 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
5876 4, this->_internal_new_dropped_packets(), target);
5877 }
5878
5879 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5880 target =
5881 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5882 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
5883 }
5884 // @@protoc_insertion_point(serialize_to_array_end:daphne.StreamInfo)
5885 return target;
5886}
5887
5889// @@protoc_insertion_point(message_byte_size_start:daphne.StreamInfo)
5890 ::size_t total_size = 0;
5891
5892 ::uint32_t cached_has_bits = 0;
5893 // Prevent compiler warnings about cached_has_bits being unused
5894 (void) cached_has_bits;
5895
5896 // uint64 total_packets = 1;
5897 if (this->_internal_total_packets() != 0) {
5898 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
5899 this->_internal_total_packets());
5900 }
5901
5902 // uint64 new_packets = 2;
5903 if (this->_internal_new_packets() != 0) {
5904 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
5905 this->_internal_new_packets());
5906 }
5907
5908 // uint64 total_dropped_packets = 3;
5909 if (this->_internal_total_dropped_packets() != 0) {
5910 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
5912 }
5913
5914 // uint64 new_dropped_packets = 4;
5915 if (this->_internal_new_dropped_packets() != 0) {
5916 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
5918 }
5919
5920 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
5921}
5922
5923const ::google::protobuf::Message::ClassData StreamInfo::_class_data_ = {
5924 ::google::protobuf::Message::CopyWithSourceCheck,
5926};
5927const ::google::protobuf::Message::ClassData*StreamInfo::GetClassData() const { return &_class_data_; }
5928
5929
5930void StreamInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
5931 auto* const _this = static_cast<StreamInfo*>(&to_msg);
5932 auto& from = static_cast<const StreamInfo&>(from_msg);
5933 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.StreamInfo)
5934 ABSL_DCHECK_NE(&from, _this);
5935 ::uint32_t cached_has_bits = 0;
5936 (void) cached_has_bits;
5937
5938 if (from._internal_total_packets() != 0) {
5939 _this->_internal_set_total_packets(from._internal_total_packets());
5940 }
5941 if (from._internal_new_packets() != 0) {
5942 _this->_internal_set_new_packets(from._internal_new_packets());
5943 }
5944 if (from._internal_total_dropped_packets() != 0) {
5945 _this->_internal_set_total_dropped_packets(from._internal_total_dropped_packets());
5946 }
5947 if (from._internal_new_dropped_packets() != 0) {
5948 _this->_internal_set_new_dropped_packets(from._internal_new_dropped_packets());
5949 }
5950 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
5951}
5952
5954// @@protoc_insertion_point(class_specific_copy_from_start:daphne.StreamInfo)
5955 if (&from == this) return;
5956 Clear();
5957 MergeFrom(from);
5958}
5959
5960PROTOBUF_NOINLINE bool StreamInfo::IsInitialized() const {
5961 return true;
5962}
5963
5965 using std::swap;
5966 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5967 ::google::protobuf::internal::memswap<
5968 PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.new_dropped_packets_)
5970 - PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.total_packets_)>(
5971 reinterpret_cast<char*>(&_impl_.total_packets_),
5972 reinterpret_cast<char*>(&other->_impl_.total_packets_));
5973}
5974
5980// ===================================================================
5981
5983 public:
5984};
5985
5986ChannelInfo::ChannelInfo(::google::protobuf::Arena* arena)
5987 : ::google::protobuf::Message(arena) {
5988 SharedCtor(arena);
5989 // @@protoc_insertion_point(arena_constructor:daphne.ChannelInfo)
5990}
5992 : ::google::protobuf::Message(), _impl_(from._impl_) {
5993 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
5994 from._internal_metadata_);
5995 // @@protoc_insertion_point(copy_constructor:daphne.ChannelInfo)
5996}
5997inline void ChannelInfo::SharedCtor(::_pb::Arena* arena) {
5998 (void)arena;
5999 new (&_impl_) Impl_{
6000 decltype(_impl_.total_triggers_){::uint64_t{0u}},
6001 decltype(_impl_.new_triggers_){::uint64_t{0u}},
6002 decltype(_impl_.total_packets_){::uint64_t{0u}},
6003 decltype(_impl_.new_packets_){::uint64_t{0u}},
6004 decltype(_impl_.id_){0u},
6005 /*decltype(_impl_._cached_size_)*/ {},
6006 };
6007}
6009 // @@protoc_insertion_point(destructor:daphne.ChannelInfo)
6010 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
6011 SharedDtor();
6012}
6014 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
6015}
6016void ChannelInfo::SetCachedSize(int size) const {
6017 _impl_._cached_size_.Set(size);
6018}
6019
6020PROTOBUF_NOINLINE void ChannelInfo::Clear() {
6021// @@protoc_insertion_point(message_clear_start:daphne.ChannelInfo)
6022 ::uint32_t cached_has_bits = 0;
6023 // Prevent compiler warnings about cached_has_bits being unused
6024 (void) cached_has_bits;
6025
6026 ::memset(&_impl_.total_triggers_, 0, static_cast<::size_t>(
6027 reinterpret_cast<char*>(&_impl_.id_) -
6028 reinterpret_cast<char*>(&_impl_.total_triggers_)) + sizeof(_impl_.id_));
6029 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
6030}
6031
6032const char* ChannelInfo::_InternalParse(
6033 const char* ptr, ::_pbi::ParseContext* ctx) {
6034 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
6035 return ptr;
6036}
6037
6038
6039PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
6040const ::_pbi::TcParseTable<3, 5, 0, 0, 2> ChannelInfo::_table_ = {
6041 {
6042 0, // no _has_bits_
6043 0, // no _extensions_
6044 5, 56, // max_field_number, fast_idx_mask
6045 offsetof(decltype(_table_), field_lookup_table),
6046 4294967264, // skipmap
6047 offsetof(decltype(_table_), field_entries),
6048 5, // num_field_entries
6049 0, // num_aux_entries
6050 offsetof(decltype(_table_), field_names), // no aux_entries
6052 ::_pbi::TcParser::GenericFallback, // fallback
6053 }, {{
6054 {::_pbi::TcParser::MiniParse, {}},
6055 // uint32 id = 1;
6056 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ChannelInfo, _impl_.id_), 63>(),
6057 {8, 63, 0, PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.id_)}},
6058 // uint64 total_triggers = 2;
6059 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ChannelInfo, _impl_.total_triggers_), 63>(),
6060 {16, 63, 0, PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.total_triggers_)}},
6061 // uint64 new_triggers = 3;
6062 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ChannelInfo, _impl_.new_triggers_), 63>(),
6063 {24, 63, 0, PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.new_triggers_)}},
6064 // uint64 total_packets = 4;
6065 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ChannelInfo, _impl_.total_packets_), 63>(),
6066 {32, 63, 0, PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.total_packets_)}},
6067 // uint64 new_packets = 5;
6068 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ChannelInfo, _impl_.new_packets_), 63>(),
6069 {40, 63, 0, PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.new_packets_)}},
6070 {::_pbi::TcParser::MiniParse, {}},
6071 {::_pbi::TcParser::MiniParse, {}},
6072 }}, {{
6073 65535, 65535
6074 }}, {{
6075 // uint32 id = 1;
6076 {PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.id_), 0, 0,
6077 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
6078 // uint64 total_triggers = 2;
6079 {PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.total_triggers_), 0, 0,
6080 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
6081 // uint64 new_triggers = 3;
6082 {PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.new_triggers_), 0, 0,
6083 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
6084 // uint64 total_packets = 4;
6085 {PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.total_packets_), 0, 0,
6086 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
6087 // uint64 new_packets = 5;
6088 {PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.new_packets_), 0, 0,
6089 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
6090 }},
6091 // no aux_entries
6092 {{
6093 }},
6094};
6095
6097 ::uint8_t* target,
6098 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
6099 // @@protoc_insertion_point(serialize_to_array_start:daphne.ChannelInfo)
6100 ::uint32_t cached_has_bits = 0;
6101 (void)cached_has_bits;
6102
6103 // uint32 id = 1;
6104 if (this->_internal_id() != 0) {
6105 target = stream->EnsureSpace(target);
6106 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
6107 1, this->_internal_id(), target);
6108 }
6109
6110 // uint64 total_triggers = 2;
6111 if (this->_internal_total_triggers() != 0) {
6112 target = stream->EnsureSpace(target);
6113 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
6114 2, this->_internal_total_triggers(), target);
6115 }
6116
6117 // uint64 new_triggers = 3;
6118 if (this->_internal_new_triggers() != 0) {
6119 target = stream->EnsureSpace(target);
6120 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
6121 3, this->_internal_new_triggers(), target);
6122 }
6123
6124 // uint64 total_packets = 4;
6125 if (this->_internal_total_packets() != 0) {
6126 target = stream->EnsureSpace(target);
6127 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
6128 4, this->_internal_total_packets(), target);
6129 }
6130
6131 // uint64 new_packets = 5;
6132 if (this->_internal_new_packets() != 0) {
6133 target = stream->EnsureSpace(target);
6134 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
6135 5, this->_internal_new_packets(), target);
6136 }
6137
6138 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6139 target =
6140 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
6141 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
6142 }
6143 // @@protoc_insertion_point(serialize_to_array_end:daphne.ChannelInfo)
6144 return target;
6145}
6146
6148// @@protoc_insertion_point(message_byte_size_start:daphne.ChannelInfo)
6149 ::size_t total_size = 0;
6150
6151 ::uint32_t cached_has_bits = 0;
6152 // Prevent compiler warnings about cached_has_bits being unused
6153 (void) cached_has_bits;
6154
6155 // uint64 total_triggers = 2;
6156 if (this->_internal_total_triggers() != 0) {
6157 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
6158 this->_internal_total_triggers());
6159 }
6160
6161 // uint64 new_triggers = 3;
6162 if (this->_internal_new_triggers() != 0) {
6163 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
6164 this->_internal_new_triggers());
6165 }
6166
6167 // uint64 total_packets = 4;
6168 if (this->_internal_total_packets() != 0) {
6169 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
6170 this->_internal_total_packets());
6171 }
6172
6173 // uint64 new_packets = 5;
6174 if (this->_internal_new_packets() != 0) {
6175 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
6176 this->_internal_new_packets());
6177 }
6178
6179 // uint32 id = 1;
6180 if (this->_internal_id() != 0) {
6181 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
6182 this->_internal_id());
6183 }
6184
6185 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
6186}
6187
6188const ::google::protobuf::Message::ClassData ChannelInfo::_class_data_ = {
6189 ::google::protobuf::Message::CopyWithSourceCheck,
6191};
6192const ::google::protobuf::Message::ClassData*ChannelInfo::GetClassData() const { return &_class_data_; }
6193
6194
6195void ChannelInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
6196 auto* const _this = static_cast<ChannelInfo*>(&to_msg);
6197 auto& from = static_cast<const ChannelInfo&>(from_msg);
6198 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.ChannelInfo)
6199 ABSL_DCHECK_NE(&from, _this);
6200 ::uint32_t cached_has_bits = 0;
6201 (void) cached_has_bits;
6202
6203 if (from._internal_total_triggers() != 0) {
6204 _this->_internal_set_total_triggers(from._internal_total_triggers());
6205 }
6206 if (from._internal_new_triggers() != 0) {
6207 _this->_internal_set_new_triggers(from._internal_new_triggers());
6208 }
6209 if (from._internal_total_packets() != 0) {
6210 _this->_internal_set_total_packets(from._internal_total_packets());
6211 }
6212 if (from._internal_new_packets() != 0) {
6213 _this->_internal_set_new_packets(from._internal_new_packets());
6214 }
6215 if (from._internal_id() != 0) {
6216 _this->_internal_set_id(from._internal_id());
6217 }
6218 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
6219}
6220
6222// @@protoc_insertion_point(class_specific_copy_from_start:daphne.ChannelInfo)
6223 if (&from == this) return;
6224 Clear();
6225 MergeFrom(from);
6226}
6227
6228PROTOBUF_NOINLINE bool ChannelInfo::IsInitialized() const {
6229 return true;
6230}
6231
6233 using std::swap;
6234 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6235 ::google::protobuf::internal::memswap<
6236 PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.id_)
6237 + sizeof(ChannelInfo::_impl_.id_)
6238 - PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.total_triggers_)>(
6239 reinterpret_cast<char*>(&_impl_.total_triggers_),
6240 reinterpret_cast<char*>(&other->_impl_.total_triggers_));
6241}
6242
6248// ===================================================================
6249
6251 public:
6252};
6253
6254GeneralInfo::GeneralInfo(::google::protobuf::Arena* arena)
6255 : ::google::protobuf::Message(arena) {
6256 SharedCtor(arena);
6257 // @@protoc_insertion_point(arena_constructor:daphne.GeneralInfo)
6258}
6260 : ::google::protobuf::Message(), _impl_(from._impl_) {
6261 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
6262 from._internal_metadata_);
6263 // @@protoc_insertion_point(copy_constructor:daphne.GeneralInfo)
6264}
6265inline void GeneralInfo::SharedCtor(::_pb::Arena* arena) {
6266 (void)arena;
6267 new (&_impl_) Impl_{
6268 decltype(_impl_.v_bias_0_){0},
6269 decltype(_impl_.v_bias_1_){0},
6270 decltype(_impl_.v_bias_2_){0},
6271 decltype(_impl_.v_bias_3_){0},
6272 decltype(_impl_.v_bias_4_){0},
6273 decltype(_impl_.power_minus5v_){0},
6274 decltype(_impl_.power_plus2p5v_){0},
6275 decltype(_impl_.power_ce_){0},
6276 decltype(_impl_.temperature_){0},
6277 /*decltype(_impl_._cached_size_)*/ {},
6278 };
6279}
6281 // @@protoc_insertion_point(destructor:daphne.GeneralInfo)
6282 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
6283 SharedDtor();
6284}
6286 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
6287}
6288void GeneralInfo::SetCachedSize(int size) const {
6289 _impl_._cached_size_.Set(size);
6290}
6291
6292PROTOBUF_NOINLINE void GeneralInfo::Clear() {
6293// @@protoc_insertion_point(message_clear_start:daphne.GeneralInfo)
6294 ::uint32_t cached_has_bits = 0;
6295 // Prevent compiler warnings about cached_has_bits being unused
6296 (void) cached_has_bits;
6297
6298 ::memset(&_impl_.v_bias_0_, 0, static_cast<::size_t>(
6299 reinterpret_cast<char*>(&_impl_.temperature_) -
6300 reinterpret_cast<char*>(&_impl_.v_bias_0_)) + sizeof(_impl_.temperature_));
6301 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
6302}
6303
6304const char* GeneralInfo::_InternalParse(
6305 const char* ptr, ::_pbi::ParseContext* ctx) {
6306 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
6307 return ptr;
6308}
6309
6310
6311PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
6312const ::_pbi::TcParseTable<4, 9, 0, 0, 2> GeneralInfo::_table_ = {
6313 {
6314 0, // no _has_bits_
6315 0, // no _extensions_
6316 9, 120, // max_field_number, fast_idx_mask
6317 offsetof(decltype(_table_), field_lookup_table),
6318 4294966784, // skipmap
6319 offsetof(decltype(_table_), field_entries),
6320 9, // num_field_entries
6321 0, // num_aux_entries
6322 offsetof(decltype(_table_), field_names), // no aux_entries
6324 ::_pbi::TcParser::GenericFallback, // fallback
6325 }, {{
6326 {::_pbi::TcParser::MiniParse, {}},
6327 // double v_bias_0 = 1;
6328 {::_pbi::TcParser::FastF64S1,
6329 {9, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_0_)}},
6330 // double v_bias_1 = 2;
6331 {::_pbi::TcParser::FastF64S1,
6332 {17, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_1_)}},
6333 // double v_bias_2 = 3;
6334 {::_pbi::TcParser::FastF64S1,
6335 {25, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_2_)}},
6336 // double v_bias_3 = 4;
6337 {::_pbi::TcParser::FastF64S1,
6338 {33, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_3_)}},
6339 // double v_bias_4 = 5;
6340 {::_pbi::TcParser::FastF64S1,
6341 {41, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_4_)}},
6342 // double power_minus5v = 6;
6343 {::_pbi::TcParser::FastF64S1,
6344 {49, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.power_minus5v_)}},
6345 // double power_plus2p5v = 7;
6346 {::_pbi::TcParser::FastF64S1,
6347 {57, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.power_plus2p5v_)}},
6348 // double power_ce = 8;
6349 {::_pbi::TcParser::FastF64S1,
6350 {65, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.power_ce_)}},
6351 // double temperature = 9;
6352 {::_pbi::TcParser::FastF64S1,
6353 {73, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.temperature_)}},
6354 {::_pbi::TcParser::MiniParse, {}},
6355 {::_pbi::TcParser::MiniParse, {}},
6356 {::_pbi::TcParser::MiniParse, {}},
6357 {::_pbi::TcParser::MiniParse, {}},
6358 {::_pbi::TcParser::MiniParse, {}},
6359 {::_pbi::TcParser::MiniParse, {}},
6360 }}, {{
6361 65535, 65535
6362 }}, {{
6363 // double v_bias_0 = 1;
6364 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_0_), 0, 0,
6365 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
6366 // double v_bias_1 = 2;
6367 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_1_), 0, 0,
6368 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
6369 // double v_bias_2 = 3;
6370 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_2_), 0, 0,
6371 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
6372 // double v_bias_3 = 4;
6373 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_3_), 0, 0,
6374 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
6375 // double v_bias_4 = 5;
6376 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_4_), 0, 0,
6377 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
6378 // double power_minus5v = 6;
6379 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.power_minus5v_), 0, 0,
6380 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
6381 // double power_plus2p5v = 7;
6382 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.power_plus2p5v_), 0, 0,
6383 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
6384 // double power_ce = 8;
6385 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.power_ce_), 0, 0,
6386 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
6387 // double temperature = 9;
6388 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.temperature_), 0, 0,
6389 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
6390 }},
6391 // no aux_entries
6392 {{
6393 }},
6394};
6395
6397 ::uint8_t* target,
6398 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
6399 // @@protoc_insertion_point(serialize_to_array_start:daphne.GeneralInfo)
6400 ::uint32_t cached_has_bits = 0;
6401 (void)cached_has_bits;
6402
6403 // double v_bias_0 = 1;
6404 static_assert(sizeof(::uint64_t) == sizeof(double),
6405 "Code assumes ::uint64_t and double are the same size.");
6406 double tmp_v_bias_0 = this->_internal_v_bias_0();
6407 ::uint64_t raw_v_bias_0;
6408 memcpy(&raw_v_bias_0, &tmp_v_bias_0, sizeof(tmp_v_bias_0));
6409 if (raw_v_bias_0 != 0) {
6410 target = stream->EnsureSpace(target);
6411 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
6412 1, this->_internal_v_bias_0(), target);
6413 }
6414
6415 // double v_bias_1 = 2;
6416 static_assert(sizeof(::uint64_t) == sizeof(double),
6417 "Code assumes ::uint64_t and double are the same size.");
6418 double tmp_v_bias_1 = this->_internal_v_bias_1();
6419 ::uint64_t raw_v_bias_1;
6420 memcpy(&raw_v_bias_1, &tmp_v_bias_1, sizeof(tmp_v_bias_1));
6421 if (raw_v_bias_1 != 0) {
6422 target = stream->EnsureSpace(target);
6423 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
6424 2, this->_internal_v_bias_1(), target);
6425 }
6426
6427 // double v_bias_2 = 3;
6428 static_assert(sizeof(::uint64_t) == sizeof(double),
6429 "Code assumes ::uint64_t and double are the same size.");
6430 double tmp_v_bias_2 = this->_internal_v_bias_2();
6431 ::uint64_t raw_v_bias_2;
6432 memcpy(&raw_v_bias_2, &tmp_v_bias_2, sizeof(tmp_v_bias_2));
6433 if (raw_v_bias_2 != 0) {
6434 target = stream->EnsureSpace(target);
6435 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
6436 3, this->_internal_v_bias_2(), target);
6437 }
6438
6439 // double v_bias_3 = 4;
6440 static_assert(sizeof(::uint64_t) == sizeof(double),
6441 "Code assumes ::uint64_t and double are the same size.");
6442 double tmp_v_bias_3 = this->_internal_v_bias_3();
6443 ::uint64_t raw_v_bias_3;
6444 memcpy(&raw_v_bias_3, &tmp_v_bias_3, sizeof(tmp_v_bias_3));
6445 if (raw_v_bias_3 != 0) {
6446 target = stream->EnsureSpace(target);
6447 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
6448 4, this->_internal_v_bias_3(), target);
6449 }
6450
6451 // double v_bias_4 = 5;
6452 static_assert(sizeof(::uint64_t) == sizeof(double),
6453 "Code assumes ::uint64_t and double are the same size.");
6454 double tmp_v_bias_4 = this->_internal_v_bias_4();
6455 ::uint64_t raw_v_bias_4;
6456 memcpy(&raw_v_bias_4, &tmp_v_bias_4, sizeof(tmp_v_bias_4));
6457 if (raw_v_bias_4 != 0) {
6458 target = stream->EnsureSpace(target);
6459 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
6460 5, this->_internal_v_bias_4(), target);
6461 }
6462
6463 // double power_minus5v = 6;
6464 static_assert(sizeof(::uint64_t) == sizeof(double),
6465 "Code assumes ::uint64_t and double are the same size.");
6466 double tmp_power_minus5v = this->_internal_power_minus5v();
6467 ::uint64_t raw_power_minus5v;
6468 memcpy(&raw_power_minus5v, &tmp_power_minus5v, sizeof(tmp_power_minus5v));
6469 if (raw_power_minus5v != 0) {
6470 target = stream->EnsureSpace(target);
6471 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
6472 6, this->_internal_power_minus5v(), target);
6473 }
6474
6475 // double power_plus2p5v = 7;
6476 static_assert(sizeof(::uint64_t) == sizeof(double),
6477 "Code assumes ::uint64_t and double are the same size.");
6478 double tmp_power_plus2p5v = this->_internal_power_plus2p5v();
6479 ::uint64_t raw_power_plus2p5v;
6480 memcpy(&raw_power_plus2p5v, &tmp_power_plus2p5v, sizeof(tmp_power_plus2p5v));
6481 if (raw_power_plus2p5v != 0) {
6482 target = stream->EnsureSpace(target);
6483 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
6484 7, this->_internal_power_plus2p5v(), target);
6485 }
6486
6487 // double power_ce = 8;
6488 static_assert(sizeof(::uint64_t) == sizeof(double),
6489 "Code assumes ::uint64_t and double are the same size.");
6490 double tmp_power_ce = this->_internal_power_ce();
6491 ::uint64_t raw_power_ce;
6492 memcpy(&raw_power_ce, &tmp_power_ce, sizeof(tmp_power_ce));
6493 if (raw_power_ce != 0) {
6494 target = stream->EnsureSpace(target);
6495 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
6496 8, this->_internal_power_ce(), target);
6497 }
6498
6499 // double temperature = 9;
6500 static_assert(sizeof(::uint64_t) == sizeof(double),
6501 "Code assumes ::uint64_t and double are the same size.");
6502 double tmp_temperature = this->_internal_temperature();
6503 ::uint64_t raw_temperature;
6504 memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature));
6505 if (raw_temperature != 0) {
6506 target = stream->EnsureSpace(target);
6507 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
6508 9, this->_internal_temperature(), target);
6509 }
6510
6511 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6512 target =
6513 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
6514 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
6515 }
6516 // @@protoc_insertion_point(serialize_to_array_end:daphne.GeneralInfo)
6517 return target;
6518}
6519
6521// @@protoc_insertion_point(message_byte_size_start:daphne.GeneralInfo)
6522 ::size_t total_size = 0;
6523
6524 ::uint32_t cached_has_bits = 0;
6525 // Prevent compiler warnings about cached_has_bits being unused
6526 (void) cached_has_bits;
6527
6528 // double v_bias_0 = 1;
6529 static_assert(sizeof(::uint64_t) == sizeof(double),
6530 "Code assumes ::uint64_t and double are the same size.");
6531 double tmp_v_bias_0 = this->_internal_v_bias_0();
6532 ::uint64_t raw_v_bias_0;
6533 memcpy(&raw_v_bias_0, &tmp_v_bias_0, sizeof(tmp_v_bias_0));
6534 if (raw_v_bias_0 != 0) {
6535 total_size += 9;
6536 }
6537
6538 // double v_bias_1 = 2;
6539 static_assert(sizeof(::uint64_t) == sizeof(double),
6540 "Code assumes ::uint64_t and double are the same size.");
6541 double tmp_v_bias_1 = this->_internal_v_bias_1();
6542 ::uint64_t raw_v_bias_1;
6543 memcpy(&raw_v_bias_1, &tmp_v_bias_1, sizeof(tmp_v_bias_1));
6544 if (raw_v_bias_1 != 0) {
6545 total_size += 9;
6546 }
6547
6548 // double v_bias_2 = 3;
6549 static_assert(sizeof(::uint64_t) == sizeof(double),
6550 "Code assumes ::uint64_t and double are the same size.");
6551 double tmp_v_bias_2 = this->_internal_v_bias_2();
6552 ::uint64_t raw_v_bias_2;
6553 memcpy(&raw_v_bias_2, &tmp_v_bias_2, sizeof(tmp_v_bias_2));
6554 if (raw_v_bias_2 != 0) {
6555 total_size += 9;
6556 }
6557
6558 // double v_bias_3 = 4;
6559 static_assert(sizeof(::uint64_t) == sizeof(double),
6560 "Code assumes ::uint64_t and double are the same size.");
6561 double tmp_v_bias_3 = this->_internal_v_bias_3();
6562 ::uint64_t raw_v_bias_3;
6563 memcpy(&raw_v_bias_3, &tmp_v_bias_3, sizeof(tmp_v_bias_3));
6564 if (raw_v_bias_3 != 0) {
6565 total_size += 9;
6566 }
6567
6568 // double v_bias_4 = 5;
6569 static_assert(sizeof(::uint64_t) == sizeof(double),
6570 "Code assumes ::uint64_t and double are the same size.");
6571 double tmp_v_bias_4 = this->_internal_v_bias_4();
6572 ::uint64_t raw_v_bias_4;
6573 memcpy(&raw_v_bias_4, &tmp_v_bias_4, sizeof(tmp_v_bias_4));
6574 if (raw_v_bias_4 != 0) {
6575 total_size += 9;
6576 }
6577
6578 // double power_minus5v = 6;
6579 static_assert(sizeof(::uint64_t) == sizeof(double),
6580 "Code assumes ::uint64_t and double are the same size.");
6581 double tmp_power_minus5v = this->_internal_power_minus5v();
6582 ::uint64_t raw_power_minus5v;
6583 memcpy(&raw_power_minus5v, &tmp_power_minus5v, sizeof(tmp_power_minus5v));
6584 if (raw_power_minus5v != 0) {
6585 total_size += 9;
6586 }
6587
6588 // double power_plus2p5v = 7;
6589 static_assert(sizeof(::uint64_t) == sizeof(double),
6590 "Code assumes ::uint64_t and double are the same size.");
6591 double tmp_power_plus2p5v = this->_internal_power_plus2p5v();
6592 ::uint64_t raw_power_plus2p5v;
6593 memcpy(&raw_power_plus2p5v, &tmp_power_plus2p5v, sizeof(tmp_power_plus2p5v));
6594 if (raw_power_plus2p5v != 0) {
6595 total_size += 9;
6596 }
6597
6598 // double power_ce = 8;
6599 static_assert(sizeof(::uint64_t) == sizeof(double),
6600 "Code assumes ::uint64_t and double are the same size.");
6601 double tmp_power_ce = this->_internal_power_ce();
6602 ::uint64_t raw_power_ce;
6603 memcpy(&raw_power_ce, &tmp_power_ce, sizeof(tmp_power_ce));
6604 if (raw_power_ce != 0) {
6605 total_size += 9;
6606 }
6607
6608 // double temperature = 9;
6609 static_assert(sizeof(::uint64_t) == sizeof(double),
6610 "Code assumes ::uint64_t and double are the same size.");
6611 double tmp_temperature = this->_internal_temperature();
6612 ::uint64_t raw_temperature;
6613 memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature));
6614 if (raw_temperature != 0) {
6615 total_size += 9;
6616 }
6617
6618 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
6619}
6620
6621const ::google::protobuf::Message::ClassData GeneralInfo::_class_data_ = {
6622 ::google::protobuf::Message::CopyWithSourceCheck,
6624};
6625const ::google::protobuf::Message::ClassData*GeneralInfo::GetClassData() const { return &_class_data_; }
6626
6627
6628void GeneralInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
6629 auto* const _this = static_cast<GeneralInfo*>(&to_msg);
6630 auto& from = static_cast<const GeneralInfo&>(from_msg);
6631 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.GeneralInfo)
6632 ABSL_DCHECK_NE(&from, _this);
6633 ::uint32_t cached_has_bits = 0;
6634 (void) cached_has_bits;
6635
6636 static_assert(sizeof(::uint64_t) == sizeof(double),
6637 "Code assumes ::uint64_t and double are the same size.");
6638 double tmp_v_bias_0 = from._internal_v_bias_0();
6639 ::uint64_t raw_v_bias_0;
6640 memcpy(&raw_v_bias_0, &tmp_v_bias_0, sizeof(tmp_v_bias_0));
6641 if (raw_v_bias_0 != 0) {
6642 _this->_internal_set_v_bias_0(from._internal_v_bias_0());
6643 }
6644 static_assert(sizeof(::uint64_t) == sizeof(double),
6645 "Code assumes ::uint64_t and double are the same size.");
6646 double tmp_v_bias_1 = from._internal_v_bias_1();
6647 ::uint64_t raw_v_bias_1;
6648 memcpy(&raw_v_bias_1, &tmp_v_bias_1, sizeof(tmp_v_bias_1));
6649 if (raw_v_bias_1 != 0) {
6650 _this->_internal_set_v_bias_1(from._internal_v_bias_1());
6651 }
6652 static_assert(sizeof(::uint64_t) == sizeof(double),
6653 "Code assumes ::uint64_t and double are the same size.");
6654 double tmp_v_bias_2 = from._internal_v_bias_2();
6655 ::uint64_t raw_v_bias_2;
6656 memcpy(&raw_v_bias_2, &tmp_v_bias_2, sizeof(tmp_v_bias_2));
6657 if (raw_v_bias_2 != 0) {
6658 _this->_internal_set_v_bias_2(from._internal_v_bias_2());
6659 }
6660 static_assert(sizeof(::uint64_t) == sizeof(double),
6661 "Code assumes ::uint64_t and double are the same size.");
6662 double tmp_v_bias_3 = from._internal_v_bias_3();
6663 ::uint64_t raw_v_bias_3;
6664 memcpy(&raw_v_bias_3, &tmp_v_bias_3, sizeof(tmp_v_bias_3));
6665 if (raw_v_bias_3 != 0) {
6666 _this->_internal_set_v_bias_3(from._internal_v_bias_3());
6667 }
6668 static_assert(sizeof(::uint64_t) == sizeof(double),
6669 "Code assumes ::uint64_t and double are the same size.");
6670 double tmp_v_bias_4 = from._internal_v_bias_4();
6671 ::uint64_t raw_v_bias_4;
6672 memcpy(&raw_v_bias_4, &tmp_v_bias_4, sizeof(tmp_v_bias_4));
6673 if (raw_v_bias_4 != 0) {
6674 _this->_internal_set_v_bias_4(from._internal_v_bias_4());
6675 }
6676 static_assert(sizeof(::uint64_t) == sizeof(double),
6677 "Code assumes ::uint64_t and double are the same size.");
6678 double tmp_power_minus5v = from._internal_power_minus5v();
6679 ::uint64_t raw_power_minus5v;
6680 memcpy(&raw_power_minus5v, &tmp_power_minus5v, sizeof(tmp_power_minus5v));
6681 if (raw_power_minus5v != 0) {
6682 _this->_internal_set_power_minus5v(from._internal_power_minus5v());
6683 }
6684 static_assert(sizeof(::uint64_t) == sizeof(double),
6685 "Code assumes ::uint64_t and double are the same size.");
6686 double tmp_power_plus2p5v = from._internal_power_plus2p5v();
6687 ::uint64_t raw_power_plus2p5v;
6688 memcpy(&raw_power_plus2p5v, &tmp_power_plus2p5v, sizeof(tmp_power_plus2p5v));
6689 if (raw_power_plus2p5v != 0) {
6690 _this->_internal_set_power_plus2p5v(from._internal_power_plus2p5v());
6691 }
6692 static_assert(sizeof(::uint64_t) == sizeof(double),
6693 "Code assumes ::uint64_t and double are the same size.");
6694 double tmp_power_ce = from._internal_power_ce();
6695 ::uint64_t raw_power_ce;
6696 memcpy(&raw_power_ce, &tmp_power_ce, sizeof(tmp_power_ce));
6697 if (raw_power_ce != 0) {
6698 _this->_internal_set_power_ce(from._internal_power_ce());
6699 }
6700 static_assert(sizeof(::uint64_t) == sizeof(double),
6701 "Code assumes ::uint64_t and double are the same size.");
6702 double tmp_temperature = from._internal_temperature();
6703 ::uint64_t raw_temperature;
6704 memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature));
6705 if (raw_temperature != 0) {
6706 _this->_internal_set_temperature(from._internal_temperature());
6707 }
6708 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
6709}
6710
6712// @@protoc_insertion_point(class_specific_copy_from_start:daphne.GeneralInfo)
6713 if (&from == this) return;
6714 Clear();
6715 MergeFrom(from);
6716}
6717
6718PROTOBUF_NOINLINE bool GeneralInfo::IsInitialized() const {
6719 return true;
6720}
6721
6723 using std::swap;
6724 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6725 ::google::protobuf::internal::memswap<
6726 PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.temperature_)
6728 - PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_0_)>(
6729 reinterpret_cast<char*>(&_impl_.v_bias_0_),
6730 reinterpret_cast<char*>(&other->_impl_.v_bias_0_));
6731}
6732
6738// ===================================================================
6739
6741 public:
6742 using HasBits = decltype(std::declval<InfoResponse>()._impl_._has_bits_);
6743 static constexpr ::int32_t kHasBitsOffset =
6744 8 * PROTOBUF_FIELD_OFFSET(InfoResponse, _impl_._has_bits_);
6745 static const ::daphne::StreamInfo& stream_info(const InfoResponse* msg);
6746 static void set_has_stream_info(HasBits* has_bits) {
6747 (*has_bits)[0] |= 1u;
6748 }
6749 static const ::daphne::GeneralInfo& general_info(const InfoResponse* msg);
6750 static void set_has_general_info(HasBits* has_bits) {
6751 (*has_bits)[0] |= 2u;
6752 }
6753};
6754
6755const ::daphne::StreamInfo& InfoResponse::_Internal::stream_info(const InfoResponse* msg) {
6756 return *msg->_impl_.stream_info_;
6757}
6758const ::daphne::GeneralInfo& InfoResponse::_Internal::general_info(const InfoResponse* msg) {
6759 return *msg->_impl_.general_info_;
6760}
6761InfoResponse::InfoResponse(::google::protobuf::Arena* arena)
6762 : ::google::protobuf::Message(arena) {
6763 SharedCtor(arena);
6764 // @@protoc_insertion_point(arena_constructor:daphne.InfoResponse)
6765}
6766InfoResponse::InfoResponse(const InfoResponse& from) : ::google::protobuf::Message() {
6767 InfoResponse* const _this = this;
6768 (void)_this;
6769 new (&_impl_) Impl_{
6770 decltype(_impl_._has_bits_){from._impl_._has_bits_},
6771 /*decltype(_impl_._cached_size_)*/ {},
6772 decltype(_impl_.channels_){from._impl_.channels_},
6773 decltype(_impl_.stream_info_){nullptr},
6774 decltype(_impl_.general_info_){nullptr},
6775 };
6776 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
6777 from._internal_metadata_);
6778 if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
6779 _this->_impl_.stream_info_ = new ::daphne::StreamInfo(*from._impl_.stream_info_);
6780 }
6781 if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
6782 _this->_impl_.general_info_ = new ::daphne::GeneralInfo(*from._impl_.general_info_);
6783 }
6784
6785 // @@protoc_insertion_point(copy_constructor:daphne.InfoResponse)
6786}
6787inline void InfoResponse::SharedCtor(::_pb::Arena* arena) {
6788 (void)arena;
6789 new (&_impl_) Impl_{
6790 decltype(_impl_._has_bits_){},
6791 /*decltype(_impl_._cached_size_)*/ {},
6792 decltype(_impl_.channels_){arena},
6793 decltype(_impl_.stream_info_){nullptr},
6794 decltype(_impl_.general_info_){nullptr},
6795 };
6796}
6798 // @@protoc_insertion_point(destructor:daphne.InfoResponse)
6799 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
6800 SharedDtor();
6801}
6803 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
6804 _impl_.channels_.~RepeatedPtrField();
6805 if (this != internal_default_instance()) delete _impl_.stream_info_;
6806 if (this != internal_default_instance()) delete _impl_.general_info_;
6807}
6808void InfoResponse::SetCachedSize(int size) const {
6809 _impl_._cached_size_.Set(size);
6810}
6811
6812PROTOBUF_NOINLINE void InfoResponse::Clear() {
6813// @@protoc_insertion_point(message_clear_start:daphne.InfoResponse)
6814 ::uint32_t cached_has_bits = 0;
6815 // Prevent compiler warnings about cached_has_bits being unused
6816 (void) cached_has_bits;
6817
6818 _internal_mutable_channels()->Clear();
6819 cached_has_bits = _impl_._has_bits_[0];
6820 if (cached_has_bits & 0x00000003u) {
6821 if (cached_has_bits & 0x00000001u) {
6822 ABSL_DCHECK(_impl_.stream_info_ != nullptr);
6824 }
6825 if (cached_has_bits & 0x00000002u) {
6826 ABSL_DCHECK(_impl_.general_info_ != nullptr);
6828 }
6829 }
6830 _impl_._has_bits_.Clear();
6831 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
6832}
6833
6835 const char* ptr, ::_pbi::ParseContext* ctx) {
6836 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
6837 return ptr;
6838}
6839
6840
6841PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
6842const ::_pbi::TcParseTable<2, 3, 3, 0, 2> InfoResponse::_table_ = {
6843 {
6844 PROTOBUF_FIELD_OFFSET(InfoResponse, _impl_._has_bits_),
6845 0, // no _extensions_
6846 3, 24, // max_field_number, fast_idx_mask
6847 offsetof(decltype(_table_), field_lookup_table),
6848 4294967288, // skipmap
6849 offsetof(decltype(_table_), field_entries),
6850 3, // num_field_entries
6851 3, // num_aux_entries
6852 offsetof(decltype(_table_), aux_entries),
6854 ::_pbi::TcParser::GenericFallback, // fallback
6855 }, {{
6856 {::_pbi::TcParser::MiniParse, {}},
6857 // .daphne.StreamInfo stream_info = 1;
6858 {::_pbi::TcParser::FastMtS1,
6859 {10, 0, 0, PROTOBUF_FIELD_OFFSET(InfoResponse, _impl_.stream_info_)}},
6860 // repeated .daphne.ChannelInfo channels = 2;
6861 {::_pbi::TcParser::FastMtR1,
6862 {18, 63, 1, PROTOBUF_FIELD_OFFSET(InfoResponse, _impl_.channels_)}},
6863 // .daphne.GeneralInfo general_info = 3;
6864 {::_pbi::TcParser::FastMtS1,
6865 {26, 1, 2, PROTOBUF_FIELD_OFFSET(InfoResponse, _impl_.general_info_)}},
6866 }}, {{
6867 65535, 65535
6868 }}, {{
6869 // .daphne.StreamInfo stream_info = 1;
6870 {PROTOBUF_FIELD_OFFSET(InfoResponse, _impl_.stream_info_), _Internal::kHasBitsOffset + 0, 0,
6871 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
6872 // repeated .daphne.ChannelInfo channels = 2;
6873 {PROTOBUF_FIELD_OFFSET(InfoResponse, _impl_.channels_), -1, 1,
6874 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
6875 // .daphne.GeneralInfo general_info = 3;
6876 {PROTOBUF_FIELD_OFFSET(InfoResponse, _impl_.general_info_), _Internal::kHasBitsOffset + 1, 2,
6877 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
6878 }}, {{
6879 {::_pbi::TcParser::GetTable<::daphne::StreamInfo>()},
6880 {::_pbi::TcParser::GetTable<::daphne::ChannelInfo>()},
6881 {::_pbi::TcParser::GetTable<::daphne::GeneralInfo>()},
6882 }}, {{
6883 }},
6884};
6885
6887 ::uint8_t* target,
6888 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
6889 // @@protoc_insertion_point(serialize_to_array_start:daphne.InfoResponse)
6890 ::uint32_t cached_has_bits = 0;
6891 (void)cached_has_bits;
6892
6893 cached_has_bits = _impl_._has_bits_[0];
6894 // .daphne.StreamInfo stream_info = 1;
6895 if (cached_has_bits & 0x00000001u) {
6896 target = ::google::protobuf::internal::WireFormatLite::
6897 InternalWriteMessage(1, _Internal::stream_info(this),
6898 _Internal::stream_info(this).GetCachedSize(), target, stream);
6899 }
6900
6901 // repeated .daphne.ChannelInfo channels = 2;
6902 for (unsigned i = 0,
6903 n = static_cast<unsigned>(this->_internal_channels_size()); i < n; i++) {
6904 const auto& repfield = this->_internal_channels().Get(i);
6905 target = ::google::protobuf::internal::WireFormatLite::
6906 InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream);
6907 }
6908
6909 // .daphne.GeneralInfo general_info = 3;
6910 if (cached_has_bits & 0x00000002u) {
6911 target = ::google::protobuf::internal::WireFormatLite::
6912 InternalWriteMessage(3, _Internal::general_info(this),
6913 _Internal::general_info(this).GetCachedSize(), target, stream);
6914 }
6915
6916 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6917 target =
6918 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
6919 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
6920 }
6921 // @@protoc_insertion_point(serialize_to_array_end:daphne.InfoResponse)
6922 return target;
6923}
6924
6926// @@protoc_insertion_point(message_byte_size_start:daphne.InfoResponse)
6927 ::size_t total_size = 0;
6928
6929 ::uint32_t cached_has_bits = 0;
6930 // Prevent compiler warnings about cached_has_bits being unused
6931 (void) cached_has_bits;
6932
6933 // repeated .daphne.ChannelInfo channels = 2;
6934 total_size += 1UL * this->_internal_channels_size();
6935 for (const auto& msg : this->_internal_channels()) {
6936 total_size +=
6937 ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
6938 }
6939 cached_has_bits = _impl_._has_bits_[0];
6940 if (cached_has_bits & 0x00000003u) {
6941 // .daphne.StreamInfo stream_info = 1;
6942 if (cached_has_bits & 0x00000001u) {
6943 total_size += 1 +
6944 ::google::protobuf::internal::WireFormatLite::MessageSize(
6946 }
6947
6948 // .daphne.GeneralInfo general_info = 3;
6949 if (cached_has_bits & 0x00000002u) {
6950 total_size += 1 +
6951 ::google::protobuf::internal::WireFormatLite::MessageSize(
6953 }
6954
6955 }
6956 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
6957}
6958
6959const ::google::protobuf::Message::ClassData InfoResponse::_class_data_ = {
6960 ::google::protobuf::Message::CopyWithSourceCheck,
6962};
6963const ::google::protobuf::Message::ClassData*InfoResponse::GetClassData() const { return &_class_data_; }
6964
6965
6966void InfoResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
6967 auto* const _this = static_cast<InfoResponse*>(&to_msg);
6968 auto& from = static_cast<const InfoResponse&>(from_msg);
6969 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.InfoResponse)
6970 ABSL_DCHECK_NE(&from, _this);
6971 ::uint32_t cached_has_bits = 0;
6972 (void) cached_has_bits;
6973
6974 _this->_internal_mutable_channels()->MergeFrom(from._internal_channels());
6975 cached_has_bits = from._impl_._has_bits_[0];
6976 if (cached_has_bits & 0x00000003u) {
6977 if (cached_has_bits & 0x00000001u) {
6978 _this->_internal_mutable_stream_info()->::daphne::StreamInfo::MergeFrom(
6979 from._internal_stream_info());
6980 }
6981 if (cached_has_bits & 0x00000002u) {
6982 _this->_internal_mutable_general_info()->::daphne::GeneralInfo::MergeFrom(
6983 from._internal_general_info());
6984 }
6985 }
6986 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
6987}
6988
6990// @@protoc_insertion_point(class_specific_copy_from_start:daphne.InfoResponse)
6991 if (&from == this) return;
6992 Clear();
6993 MergeFrom(from);
6994}
6995
6996PROTOBUF_NOINLINE bool InfoResponse::IsInitialized() const {
6997 return true;
6998}
6999
7001 using std::swap;
7002 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7003 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
7004 _impl_.channels_.InternalSwap(&other->_impl_.channels_);
7005 ::google::protobuf::internal::memswap<
7006 PROTOBUF_FIELD_OFFSET(InfoResponse, _impl_.general_info_)
7008 - PROTOBUF_FIELD_OFFSET(InfoResponse, _impl_.stream_info_)>(
7009 reinterpret_cast<char*>(&_impl_.stream_info_),
7010 reinterpret_cast<char*>(&other->_impl_.stream_info_));
7011}
7012
7018// ===================================================================
7019
7021 public:
7022};
7023
7024TriggerChannelSnapshot::TriggerChannelSnapshot(::google::protobuf::Arena* arena)
7025 : ::google::protobuf::Message(arena) {
7026 SharedCtor(arena);
7027 // @@protoc_insertion_point(arena_constructor:daphne.TriggerChannelSnapshot)
7028}
7030 : ::google::protobuf::Message(), _impl_(from._impl_) {
7031 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
7032 from._internal_metadata_);
7033 // @@protoc_insertion_point(copy_constructor:daphne.TriggerChannelSnapshot)
7034}
7035inline void TriggerChannelSnapshot::SharedCtor(::_pb::Arena* arena) {
7036 (void)arena;
7037 new (&_impl_) Impl_{
7038 decltype(_impl_.channel_){0u},
7039 decltype(_impl_.threshold_){0u},
7040 decltype(_impl_.record_count_){::uint64_t{0u}},
7041 decltype(_impl_.busy_count_){::uint64_t{0u}},
7042 decltype(_impl_.full_count_){::uint64_t{0u}},
7043 /*decltype(_impl_._cached_size_)*/ {},
7044 };
7045}
7047 // @@protoc_insertion_point(destructor:daphne.TriggerChannelSnapshot)
7048 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
7049 SharedDtor();
7050}
7052 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
7053}
7055 _impl_._cached_size_.Set(size);
7056}
7057
7058PROTOBUF_NOINLINE void TriggerChannelSnapshot::Clear() {
7059// @@protoc_insertion_point(message_clear_start:daphne.TriggerChannelSnapshot)
7060 ::uint32_t cached_has_bits = 0;
7061 // Prevent compiler warnings about cached_has_bits being unused
7062 (void) cached_has_bits;
7063
7064 ::memset(&_impl_.channel_, 0, static_cast<::size_t>(
7065 reinterpret_cast<char*>(&_impl_.full_count_) -
7066 reinterpret_cast<char*>(&_impl_.channel_)) + sizeof(_impl_.full_count_));
7067 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
7068}
7069
7071 const char* ptr, ::_pbi::ParseContext* ctx) {
7072 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
7073 return ptr;
7074}
7075
7076
7077PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
7078const ::_pbi::TcParseTable<3, 5, 0, 0, 2> TriggerChannelSnapshot::_table_ = {
7079 {
7080 0, // no _has_bits_
7081 0, // no _extensions_
7082 5, 56, // max_field_number, fast_idx_mask
7083 offsetof(decltype(_table_), field_lookup_table),
7084 4294967264, // skipmap
7085 offsetof(decltype(_table_), field_entries),
7086 5, // num_field_entries
7087 0, // num_aux_entries
7088 offsetof(decltype(_table_), field_names), // no aux_entries
7090 ::_pbi::TcParser::GenericFallback, // fallback
7091 }, {{
7092 {::_pbi::TcParser::MiniParse, {}},
7093 // uint32 channel = 1;
7094 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TriggerChannelSnapshot, _impl_.channel_), 63>(),
7095 {8, 63, 0, PROTOBUF_FIELD_OFFSET(TriggerChannelSnapshot, _impl_.channel_)}},
7096 // uint32 threshold = 2;
7097 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TriggerChannelSnapshot, _impl_.threshold_), 63>(),
7098 {16, 63, 0, PROTOBUF_FIELD_OFFSET(TriggerChannelSnapshot, _impl_.threshold_)}},
7099 // uint64 record_count = 3;
7100 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(TriggerChannelSnapshot, _impl_.record_count_), 63>(),
7101 {24, 63, 0, PROTOBUF_FIELD_OFFSET(TriggerChannelSnapshot, _impl_.record_count_)}},
7102 // uint64 busy_count = 4;
7103 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(TriggerChannelSnapshot, _impl_.busy_count_), 63>(),
7104 {32, 63, 0, PROTOBUF_FIELD_OFFSET(TriggerChannelSnapshot, _impl_.busy_count_)}},
7105 // uint64 full_count = 5;
7106 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(TriggerChannelSnapshot, _impl_.full_count_), 63>(),
7107 {40, 63, 0, PROTOBUF_FIELD_OFFSET(TriggerChannelSnapshot, _impl_.full_count_)}},
7108 {::_pbi::TcParser::MiniParse, {}},
7109 {::_pbi::TcParser::MiniParse, {}},
7110 }}, {{
7111 65535, 65535
7112 }}, {{
7113 // uint32 channel = 1;
7114 {PROTOBUF_FIELD_OFFSET(TriggerChannelSnapshot, _impl_.channel_), 0, 0,
7115 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
7116 // uint32 threshold = 2;
7117 {PROTOBUF_FIELD_OFFSET(TriggerChannelSnapshot, _impl_.threshold_), 0, 0,
7118 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
7119 // uint64 record_count = 3;
7120 {PROTOBUF_FIELD_OFFSET(TriggerChannelSnapshot, _impl_.record_count_), 0, 0,
7121 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
7122 // uint64 busy_count = 4;
7123 {PROTOBUF_FIELD_OFFSET(TriggerChannelSnapshot, _impl_.busy_count_), 0, 0,
7124 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
7125 // uint64 full_count = 5;
7126 {PROTOBUF_FIELD_OFFSET(TriggerChannelSnapshot, _impl_.full_count_), 0, 0,
7127 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
7128 }},
7129 // no aux_entries
7130 {{
7131 }},
7132};
7133
7135 ::uint8_t* target,
7136 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
7137 // @@protoc_insertion_point(serialize_to_array_start:daphne.TriggerChannelSnapshot)
7138 ::uint32_t cached_has_bits = 0;
7139 (void)cached_has_bits;
7140
7141 // uint32 channel = 1;
7142 if (this->_internal_channel() != 0) {
7143 target = stream->EnsureSpace(target);
7144 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
7145 1, this->_internal_channel(), target);
7146 }
7147
7148 // uint32 threshold = 2;
7149 if (this->_internal_threshold() != 0) {
7150 target = stream->EnsureSpace(target);
7151 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
7152 2, this->_internal_threshold(), target);
7153 }
7154
7155 // uint64 record_count = 3;
7156 if (this->_internal_record_count() != 0) {
7157 target = stream->EnsureSpace(target);
7158 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
7159 3, this->_internal_record_count(), target);
7160 }
7161
7162 // uint64 busy_count = 4;
7163 if (this->_internal_busy_count() != 0) {
7164 target = stream->EnsureSpace(target);
7165 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
7166 4, this->_internal_busy_count(), target);
7167 }
7168
7169 // uint64 full_count = 5;
7170 if (this->_internal_full_count() != 0) {
7171 target = stream->EnsureSpace(target);
7172 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
7173 5, this->_internal_full_count(), target);
7174 }
7175
7176 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7177 target =
7178 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7179 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
7180 }
7181 // @@protoc_insertion_point(serialize_to_array_end:daphne.TriggerChannelSnapshot)
7182 return target;
7183}
7184
7186// @@protoc_insertion_point(message_byte_size_start:daphne.TriggerChannelSnapshot)
7187 ::size_t total_size = 0;
7188
7189 ::uint32_t cached_has_bits = 0;
7190 // Prevent compiler warnings about cached_has_bits being unused
7191 (void) cached_has_bits;
7192
7193 // uint32 channel = 1;
7194 if (this->_internal_channel() != 0) {
7195 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
7196 this->_internal_channel());
7197 }
7198
7199 // uint32 threshold = 2;
7200 if (this->_internal_threshold() != 0) {
7201 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
7202 this->_internal_threshold());
7203 }
7204
7205 // uint64 record_count = 3;
7206 if (this->_internal_record_count() != 0) {
7207 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
7208 this->_internal_record_count());
7209 }
7210
7211 // uint64 busy_count = 4;
7212 if (this->_internal_busy_count() != 0) {
7213 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
7214 this->_internal_busy_count());
7215 }
7216
7217 // uint64 full_count = 5;
7218 if (this->_internal_full_count() != 0) {
7219 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
7220 this->_internal_full_count());
7221 }
7222
7223 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
7224}
7225
7226const ::google::protobuf::Message::ClassData TriggerChannelSnapshot::_class_data_ = {
7227 ::google::protobuf::Message::CopyWithSourceCheck,
7229};
7230const ::google::protobuf::Message::ClassData*TriggerChannelSnapshot::GetClassData() const { return &_class_data_; }
7231
7232
7233void TriggerChannelSnapshot::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
7234 auto* const _this = static_cast<TriggerChannelSnapshot*>(&to_msg);
7235 auto& from = static_cast<const TriggerChannelSnapshot&>(from_msg);
7236 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.TriggerChannelSnapshot)
7237 ABSL_DCHECK_NE(&from, _this);
7238 ::uint32_t cached_has_bits = 0;
7239 (void) cached_has_bits;
7240
7241 if (from._internal_channel() != 0) {
7242 _this->_internal_set_channel(from._internal_channel());
7243 }
7244 if (from._internal_threshold() != 0) {
7245 _this->_internal_set_threshold(from._internal_threshold());
7246 }
7247 if (from._internal_record_count() != 0) {
7248 _this->_internal_set_record_count(from._internal_record_count());
7249 }
7250 if (from._internal_busy_count() != 0) {
7251 _this->_internal_set_busy_count(from._internal_busy_count());
7252 }
7253 if (from._internal_full_count() != 0) {
7254 _this->_internal_set_full_count(from._internal_full_count());
7255 }
7256 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
7257}
7258
7260// @@protoc_insertion_point(class_specific_copy_from_start:daphne.TriggerChannelSnapshot)
7261 if (&from == this) return;
7262 Clear();
7263 MergeFrom(from);
7264}
7265
7266PROTOBUF_NOINLINE bool TriggerChannelSnapshot::IsInitialized() const {
7267 return true;
7268}
7269
7271 using std::swap;
7272 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7273 ::google::protobuf::internal::memswap<
7274 PROTOBUF_FIELD_OFFSET(TriggerChannelSnapshot, _impl_.full_count_)
7276 - PROTOBUF_FIELD_OFFSET(TriggerChannelSnapshot, _impl_.channel_)>(
7277 reinterpret_cast<char*>(&_impl_.channel_),
7278 reinterpret_cast<char*>(&other->_impl_.channel_));
7279}
7280
7286// ===================================================================
7287
7289 public:
7290};
7291
7293 : ::google::protobuf::Message(arena) {
7294 SharedCtor(arena);
7295 // @@protoc_insertion_point(arena_constructor:daphne.ReadTriggerCountersRequest)
7296}
7298 ReadTriggerCountersRequest* const _this = this;
7299 (void)_this;
7300 new (&_impl_) Impl_{
7301 decltype(_impl_.channels_){from._impl_.channels_},
7302 /* _impl_._channels_cached_byte_size_ = */ {0},
7303 decltype(_impl_.base_addr_){},
7304 /*decltype(_impl_._cached_size_)*/ {},
7305 };
7306 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
7307 from._internal_metadata_);
7308 _this->_impl_.base_addr_ = from._impl_.base_addr_;
7309
7310 // @@protoc_insertion_point(copy_constructor:daphne.ReadTriggerCountersRequest)
7311}
7312inline void ReadTriggerCountersRequest::SharedCtor(::_pb::Arena* arena) {
7313 (void)arena;
7314 new (&_impl_) Impl_{
7315 decltype(_impl_.channels_){arena},
7316 /* _impl_._channels_cached_byte_size_ = */ {0},
7317 decltype(_impl_.base_addr_){0u},
7318 /*decltype(_impl_._cached_size_)*/ {},
7319 };
7320}
7322 // @@protoc_insertion_point(destructor:daphne.ReadTriggerCountersRequest)
7323 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
7324 SharedDtor();
7325}
7327 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
7328 _impl_.channels_.~RepeatedField();
7329}
7331 _impl_._cached_size_.Set(size);
7332}
7333
7334PROTOBUF_NOINLINE void ReadTriggerCountersRequest::Clear() {
7335// @@protoc_insertion_point(message_clear_start:daphne.ReadTriggerCountersRequest)
7336 ::uint32_t cached_has_bits = 0;
7337 // Prevent compiler warnings about cached_has_bits being unused
7338 (void) cached_has_bits;
7339
7340 _internal_mutable_channels()->Clear();
7341 _impl_.base_addr_ = 0u;
7342 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
7343}
7344
7346 const char* ptr, ::_pbi::ParseContext* ctx) {
7347 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
7348 return ptr;
7349}
7350
7351
7352PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
7353const ::_pbi::TcParseTable<1, 2, 0, 0, 2> ReadTriggerCountersRequest::_table_ = {
7354 {
7355 0, // no _has_bits_
7356 0, // no _extensions_
7357 2, 8, // max_field_number, fast_idx_mask
7358 offsetof(decltype(_table_), field_lookup_table),
7359 4294967292, // skipmap
7360 offsetof(decltype(_table_), field_entries),
7361 2, // num_field_entries
7362 0, // num_aux_entries
7363 offsetof(decltype(_table_), field_names), // no aux_entries
7365 ::_pbi::TcParser::GenericFallback, // fallback
7366 }, {{
7367 // uint32 base_addr = 2;
7368 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ReadTriggerCountersRequest, _impl_.base_addr_), 63>(),
7369 {16, 63, 0, PROTOBUF_FIELD_OFFSET(ReadTriggerCountersRequest, _impl_.base_addr_)}},
7370 // repeated uint32 channels = 1;
7371 {::_pbi::TcParser::FastV32P1,
7372 {10, 63, 0, PROTOBUF_FIELD_OFFSET(ReadTriggerCountersRequest, _impl_.channels_)}},
7373 }}, {{
7374 65535, 65535
7375 }}, {{
7376 // repeated uint32 channels = 1;
7377 {PROTOBUF_FIELD_OFFSET(ReadTriggerCountersRequest, _impl_.channels_), 0, 0,
7378 (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt32)},
7379 // uint32 base_addr = 2;
7380 {PROTOBUF_FIELD_OFFSET(ReadTriggerCountersRequest, _impl_.base_addr_), 0, 0,
7381 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
7382 }},
7383 // no aux_entries
7384 {{
7385 }},
7386};
7387
7389 ::uint8_t* target,
7390 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
7391 // @@protoc_insertion_point(serialize_to_array_start:daphne.ReadTriggerCountersRequest)
7392 ::uint32_t cached_has_bits = 0;
7393 (void)cached_has_bits;
7394
7395 // repeated uint32 channels = 1;
7396 {
7397 int byte_size = _impl_._channels_cached_byte_size_.Get();
7398 if (byte_size > 0) {
7399 target = stream->WriteUInt32Packed(1, _internal_channels(),
7400 byte_size, target);
7401 }
7402 }
7403
7404 // uint32 base_addr = 2;
7405 if (this->_internal_base_addr() != 0) {
7406 target = stream->EnsureSpace(target);
7407 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
7408 2, this->_internal_base_addr(), target);
7409 }
7410
7411 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7412 target =
7413 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7414 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
7415 }
7416 // @@protoc_insertion_point(serialize_to_array_end:daphne.ReadTriggerCountersRequest)
7417 return target;
7418}
7419
7421// @@protoc_insertion_point(message_byte_size_start:daphne.ReadTriggerCountersRequest)
7422 ::size_t total_size = 0;
7423
7424 ::uint32_t cached_has_bits = 0;
7425 // Prevent compiler warnings about cached_has_bits being unused
7426 (void) cached_has_bits;
7427
7428 // repeated uint32 channels = 1;
7429 {
7430 std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
7431 this->_internal_channels())
7432 ;
7433 _impl_._channels_cached_byte_size_.Set(::_pbi::ToCachedSize(data_size));
7434 std::size_t tag_size = data_size == 0
7435 ? 0
7436 : 1 + ::_pbi::WireFormatLite::Int32Size(
7437 static_cast<int32_t>(data_size))
7438 ;
7439 total_size += tag_size + data_size;
7440 }
7441 // uint32 base_addr = 2;
7442 if (this->_internal_base_addr() != 0) {
7443 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
7444 this->_internal_base_addr());
7445 }
7446
7447 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
7448}
7449
7450const ::google::protobuf::Message::ClassData ReadTriggerCountersRequest::_class_data_ = {
7451 ::google::protobuf::Message::CopyWithSourceCheck,
7453};
7454const ::google::protobuf::Message::ClassData*ReadTriggerCountersRequest::GetClassData() const { return &_class_data_; }
7455
7456
7457void ReadTriggerCountersRequest::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
7458 auto* const _this = static_cast<ReadTriggerCountersRequest*>(&to_msg);
7459 auto& from = static_cast<const ReadTriggerCountersRequest&>(from_msg);
7460 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.ReadTriggerCountersRequest)
7461 ABSL_DCHECK_NE(&from, _this);
7462 ::uint32_t cached_has_bits = 0;
7463 (void) cached_has_bits;
7464
7465 _this->_internal_mutable_channels()->MergeFrom(from._internal_channels());
7466 if (from._internal_base_addr() != 0) {
7467 _this->_internal_set_base_addr(from._internal_base_addr());
7468 }
7469 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
7470}
7471
7473// @@protoc_insertion_point(class_specific_copy_from_start:daphne.ReadTriggerCountersRequest)
7474 if (&from == this) return;
7475 Clear();
7476 MergeFrom(from);
7477}
7478
7479PROTOBUF_NOINLINE bool ReadTriggerCountersRequest::IsInitialized() const {
7480 return true;
7481}
7482
7484 using std::swap;
7485 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7486 _impl_.channels_.InternalSwap(&other->_impl_.channels_);
7488}
7489
7495// ===================================================================
7496
7498 public:
7499};
7500
7502 : ::google::protobuf::Message(arena) {
7503 SharedCtor(arena);
7504 // @@protoc_insertion_point(arena_constructor:daphne.ReadTriggerCountersResponse)
7505}
7507 ReadTriggerCountersResponse* const _this = this;
7508 (void)_this;
7509 new (&_impl_) Impl_{
7510 decltype(_impl_.snapshots_){from._impl_.snapshots_},
7511 decltype(_impl_.message_){},
7512 decltype(_impl_.success_){},
7513 /*decltype(_impl_._cached_size_)*/ {},
7514 };
7515 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
7516 from._internal_metadata_);
7517 _impl_.message_.InitDefault();
7518 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
7519 _impl_.message_.Set("", GetArenaForAllocation());
7520 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
7521 if (!from._internal_message().empty()) {
7522 _this->_impl_.message_.Set(from._internal_message(), _this->GetArenaForAllocation());
7523 }
7524 _this->_impl_.success_ = from._impl_.success_;
7525
7526 // @@protoc_insertion_point(copy_constructor:daphne.ReadTriggerCountersResponse)
7527}
7528inline void ReadTriggerCountersResponse::SharedCtor(::_pb::Arena* arena) {
7529 (void)arena;
7530 new (&_impl_) Impl_{
7531 decltype(_impl_.snapshots_){arena},
7532 decltype(_impl_.message_){},
7533 decltype(_impl_.success_){false},
7534 /*decltype(_impl_._cached_size_)*/ {},
7535 };
7536 _impl_.message_.InitDefault();
7537 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
7538 _impl_.message_.Set("", GetArenaForAllocation());
7539 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
7540}
7542 // @@protoc_insertion_point(destructor:daphne.ReadTriggerCountersResponse)
7543 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
7544 SharedDtor();
7545}
7547 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
7548 _impl_.snapshots_.~RepeatedPtrField();
7549 _impl_.message_.Destroy();
7550}
7552 _impl_._cached_size_.Set(size);
7553}
7554
7555PROTOBUF_NOINLINE void ReadTriggerCountersResponse::Clear() {
7556// @@protoc_insertion_point(message_clear_start:daphne.ReadTriggerCountersResponse)
7557 ::uint32_t cached_has_bits = 0;
7558 // Prevent compiler warnings about cached_has_bits being unused
7559 (void) cached_has_bits;
7560
7561 _internal_mutable_snapshots()->Clear();
7562 _impl_.message_.ClearToEmpty();
7563 _impl_.success_ = false;
7564 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
7565}
7566
7568 const char* ptr, ::_pbi::ParseContext* ctx) {
7569 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
7570 return ptr;
7571}
7572
7573
7574PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
7575const ::_pbi::TcParseTable<2, 3, 1, 50, 2> ReadTriggerCountersResponse::_table_ = {
7576 {
7577 0, // no _has_bits_
7578 0, // no _extensions_
7579 3, 24, // max_field_number, fast_idx_mask
7580 offsetof(decltype(_table_), field_lookup_table),
7581 4294967288, // skipmap
7582 offsetof(decltype(_table_), field_entries),
7583 3, // num_field_entries
7584 1, // num_aux_entries
7585 offsetof(decltype(_table_), aux_entries),
7587 ::_pbi::TcParser::GenericFallback, // fallback
7588 }, {{
7589 {::_pbi::TcParser::MiniParse, {}},
7590 // bool success = 1;
7591 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ReadTriggerCountersResponse, _impl_.success_), 63>(),
7592 {8, 63, 0, PROTOBUF_FIELD_OFFSET(ReadTriggerCountersResponse, _impl_.success_)}},
7593 // string message = 2;
7594 {::_pbi::TcParser::FastUS1,
7595 {18, 63, 0, PROTOBUF_FIELD_OFFSET(ReadTriggerCountersResponse, _impl_.message_)}},
7596 // repeated .daphne.TriggerChannelSnapshot snapshots = 3;
7597 {::_pbi::TcParser::FastMtR1,
7598 {26, 63, 0, PROTOBUF_FIELD_OFFSET(ReadTriggerCountersResponse, _impl_.snapshots_)}},
7599 }}, {{
7600 65535, 65535
7601 }}, {{
7602 // bool success = 1;
7603 {PROTOBUF_FIELD_OFFSET(ReadTriggerCountersResponse, _impl_.success_), 0, 0,
7604 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
7605 // string message = 2;
7606 {PROTOBUF_FIELD_OFFSET(ReadTriggerCountersResponse, _impl_.message_), 0, 0,
7607 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
7608 // repeated .daphne.TriggerChannelSnapshot snapshots = 3;
7609 {PROTOBUF_FIELD_OFFSET(ReadTriggerCountersResponse, _impl_.snapshots_), 0, 0,
7610 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
7611 }}, {{
7612 {::_pbi::TcParser::GetTable<::daphne::TriggerChannelSnapshot>()},
7613 }}, {{
7614 "\42\0\7\0\0\0\0\0"
7615 "daphne.ReadTriggerCountersResponse"
7616 "message"
7617 }},
7618};
7619
7621 ::uint8_t* target,
7622 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
7623 // @@protoc_insertion_point(serialize_to_array_start:daphne.ReadTriggerCountersResponse)
7624 ::uint32_t cached_has_bits = 0;
7625 (void)cached_has_bits;
7626
7627 // bool success = 1;
7628 if (this->_internal_success() != 0) {
7629 target = stream->EnsureSpace(target);
7630 target = ::_pbi::WireFormatLite::WriteBoolToArray(
7631 1, this->_internal_success(), target);
7632 }
7633
7634 // string message = 2;
7635 if (!this->_internal_message().empty()) {
7636 const std::string& _s = this->_internal_message();
7637 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
7638 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "daphne.ReadTriggerCountersResponse.message");
7639 target = stream->WriteStringMaybeAliased(2, _s, target);
7640 }
7641
7642 // repeated .daphne.TriggerChannelSnapshot snapshots = 3;
7643 for (unsigned i = 0,
7644 n = static_cast<unsigned>(this->_internal_snapshots_size()); i < n; i++) {
7645 const auto& repfield = this->_internal_snapshots().Get(i);
7646 target = ::google::protobuf::internal::WireFormatLite::
7647 InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream);
7648 }
7649
7650 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7651 target =
7652 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7653 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
7654 }
7655 // @@protoc_insertion_point(serialize_to_array_end:daphne.ReadTriggerCountersResponse)
7656 return target;
7657}
7658
7660// @@protoc_insertion_point(message_byte_size_start:daphne.ReadTriggerCountersResponse)
7661 ::size_t total_size = 0;
7662
7663 ::uint32_t cached_has_bits = 0;
7664 // Prevent compiler warnings about cached_has_bits being unused
7665 (void) cached_has_bits;
7666
7667 // repeated .daphne.TriggerChannelSnapshot snapshots = 3;
7668 total_size += 1UL * this->_internal_snapshots_size();
7669 for (const auto& msg : this->_internal_snapshots()) {
7670 total_size +=
7671 ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
7672 }
7673 // string message = 2;
7674 if (!this->_internal_message().empty()) {
7675 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
7676 this->_internal_message());
7677 }
7678
7679 // bool success = 1;
7680 if (this->_internal_success() != 0) {
7681 total_size += 2;
7682 }
7683
7684 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
7685}
7686
7687const ::google::protobuf::Message::ClassData ReadTriggerCountersResponse::_class_data_ = {
7688 ::google::protobuf::Message::CopyWithSourceCheck,
7690};
7691const ::google::protobuf::Message::ClassData*ReadTriggerCountersResponse::GetClassData() const { return &_class_data_; }
7692
7693
7694void ReadTriggerCountersResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
7695 auto* const _this = static_cast<ReadTriggerCountersResponse*>(&to_msg);
7696 auto& from = static_cast<const ReadTriggerCountersResponse&>(from_msg);
7697 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.ReadTriggerCountersResponse)
7698 ABSL_DCHECK_NE(&from, _this);
7699 ::uint32_t cached_has_bits = 0;
7700 (void) cached_has_bits;
7701
7702 _this->_internal_mutable_snapshots()->MergeFrom(from._internal_snapshots());
7703 if (!from._internal_message().empty()) {
7704 _this->_internal_set_message(from._internal_message());
7705 }
7706 if (from._internal_success() != 0) {
7707 _this->_internal_set_success(from._internal_success());
7708 }
7709 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
7710}
7711
7713// @@protoc_insertion_point(class_specific_copy_from_start:daphne.ReadTriggerCountersResponse)
7714 if (&from == this) return;
7715 Clear();
7716 MergeFrom(from);
7717}
7718
7719PROTOBUF_NOINLINE bool ReadTriggerCountersResponse::IsInitialized() const {
7720 return true;
7721}
7722
7724 using std::swap;
7725 auto* lhs_arena = GetArenaForAllocation();
7726 auto* rhs_arena = other->GetArenaForAllocation();
7727 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7728 _impl_.snapshots_.InternalSwap(&other->_impl_.snapshots_);
7729 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, lhs_arena,
7730 &other->_impl_.message_, rhs_arena);
7732}
7733
7739// ===================================================================
7740
7742 public:
7743};
7744
7745TestRegRequest::TestRegRequest(::google::protobuf::Arena* arena)
7746 : ::google::protobuf::internal::ZeroFieldsBase(arena) {
7747 // @@protoc_insertion_point(arena_constructor:daphne.TestRegRequest)
7748}
7749TestRegRequest::TestRegRequest(const TestRegRequest& from) : ::google::protobuf::internal::ZeroFieldsBase() {
7750 TestRegRequest* const _this = this;
7751 (void)_this;
7752 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
7753 from._internal_metadata_);
7754
7755 // @@protoc_insertion_point(copy_constructor:daphne.TestRegRequest)
7756}
7757
7758
7759
7760
7761const ::google::protobuf::Message::ClassData TestRegRequest::_class_data_ = {
7762 ::google::protobuf::internal::ZeroFieldsBase::CopyImpl,
7763 ::google::protobuf::internal::ZeroFieldsBase::MergeImpl,
7764};
7765const ::google::protobuf::Message::ClassData*TestRegRequest::GetClassData() const { return &_class_data_; }
7766
7767
7768
7769
7770
7771
7772
7778// ===================================================================
7779
7781 public:
7782};
7783
7784TestRegResponse::TestRegResponse(::google::protobuf::Arena* arena)
7785 : ::google::protobuf::Message(arena) {
7786 SharedCtor(arena);
7787 // @@protoc_insertion_point(arena_constructor:daphne.TestRegResponse)
7788}
7789TestRegResponse::TestRegResponse(const TestRegResponse& from) : ::google::protobuf::Message() {
7790 TestRegResponse* const _this = this;
7791 (void)_this;
7792 new (&_impl_) Impl_{
7793 decltype(_impl_.message_){},
7794 decltype(_impl_.value_){},
7795 /*decltype(_impl_._cached_size_)*/ {},
7796 };
7797 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
7798 from._internal_metadata_);
7799 _impl_.message_.InitDefault();
7800 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
7801 _impl_.message_.Set("", GetArenaForAllocation());
7802 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
7803 if (!from._internal_message().empty()) {
7804 _this->_impl_.message_.Set(from._internal_message(), _this->GetArenaForAllocation());
7805 }
7806 _this->_impl_.value_ = from._impl_.value_;
7807
7808 // @@protoc_insertion_point(copy_constructor:daphne.TestRegResponse)
7809}
7810inline void TestRegResponse::SharedCtor(::_pb::Arena* arena) {
7811 (void)arena;
7812 new (&_impl_) Impl_{
7813 decltype(_impl_.message_){},
7814 decltype(_impl_.value_){::uint64_t{0u}},
7815 /*decltype(_impl_._cached_size_)*/ {},
7816 };
7817 _impl_.message_.InitDefault();
7818 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
7819 _impl_.message_.Set("", GetArenaForAllocation());
7820 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
7821}
7823 // @@protoc_insertion_point(destructor:daphne.TestRegResponse)
7824 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
7825 SharedDtor();
7826}
7828 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
7829 _impl_.message_.Destroy();
7830}
7832 _impl_._cached_size_.Set(size);
7833}
7834
7835PROTOBUF_NOINLINE void TestRegResponse::Clear() {
7836// @@protoc_insertion_point(message_clear_start:daphne.TestRegResponse)
7837 ::uint32_t cached_has_bits = 0;
7838 // Prevent compiler warnings about cached_has_bits being unused
7839 (void) cached_has_bits;
7840
7841 _impl_.message_.ClearToEmpty();
7842 _impl_.value_ = ::uint64_t{0u};
7843 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
7844}
7845
7847 const char* ptr, ::_pbi::ParseContext* ctx) {
7848 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
7849 return ptr;
7850}
7851
7852
7853PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
7854const ::_pbi::TcParseTable<1, 2, 0, 38, 2> TestRegResponse::_table_ = {
7855 {
7856 0, // no _has_bits_
7857 0, // no _extensions_
7858 2, 8, // max_field_number, fast_idx_mask
7859 offsetof(decltype(_table_), field_lookup_table),
7860 4294967292, // skipmap
7861 offsetof(decltype(_table_), field_entries),
7862 2, // num_field_entries
7863 0, // num_aux_entries
7864 offsetof(decltype(_table_), field_names), // no aux_entries
7866 ::_pbi::TcParser::GenericFallback, // fallback
7867 }, {{
7868 // string message = 2;
7869 {::_pbi::TcParser::FastUS1,
7870 {18, 63, 0, PROTOBUF_FIELD_OFFSET(TestRegResponse, _impl_.message_)}},
7871 // uint64 value = 1;
7872 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(TestRegResponse, _impl_.value_), 63>(),
7873 {8, 63, 0, PROTOBUF_FIELD_OFFSET(TestRegResponse, _impl_.value_)}},
7874 }}, {{
7875 65535, 65535
7876 }}, {{
7877 // uint64 value = 1;
7878 {PROTOBUF_FIELD_OFFSET(TestRegResponse, _impl_.value_), 0, 0,
7879 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
7880 // string message = 2;
7881 {PROTOBUF_FIELD_OFFSET(TestRegResponse, _impl_.message_), 0, 0,
7882 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
7883 }},
7884 // no aux_entries
7885 {{
7886 "\26\0\7\0\0\0\0\0"
7887 "daphne.TestRegResponse"
7888 "message"
7889 }},
7890};
7891
7893 ::uint8_t* target,
7894 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
7895 // @@protoc_insertion_point(serialize_to_array_start:daphne.TestRegResponse)
7896 ::uint32_t cached_has_bits = 0;
7897 (void)cached_has_bits;
7898
7899 // uint64 value = 1;
7900 if (this->_internal_value() != 0) {
7901 target = stream->EnsureSpace(target);
7902 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
7903 1, this->_internal_value(), target);
7904 }
7905
7906 // string message = 2;
7907 if (!this->_internal_message().empty()) {
7908 const std::string& _s = this->_internal_message();
7909 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
7910 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "daphne.TestRegResponse.message");
7911 target = stream->WriteStringMaybeAliased(2, _s, target);
7912 }
7913
7914 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7915 target =
7916 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7917 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
7918 }
7919 // @@protoc_insertion_point(serialize_to_array_end:daphne.TestRegResponse)
7920 return target;
7921}
7922
7924// @@protoc_insertion_point(message_byte_size_start:daphne.TestRegResponse)
7925 ::size_t total_size = 0;
7926
7927 ::uint32_t cached_has_bits = 0;
7928 // Prevent compiler warnings about cached_has_bits being unused
7929 (void) cached_has_bits;
7930
7931 // string message = 2;
7932 if (!this->_internal_message().empty()) {
7933 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
7934 this->_internal_message());
7935 }
7936
7937 // uint64 value = 1;
7938 if (this->_internal_value() != 0) {
7939 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
7940 this->_internal_value());
7941 }
7942
7943 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
7944}
7945
7946const ::google::protobuf::Message::ClassData TestRegResponse::_class_data_ = {
7947 ::google::protobuf::Message::CopyWithSourceCheck,
7949};
7950const ::google::protobuf::Message::ClassData*TestRegResponse::GetClassData() const { return &_class_data_; }
7951
7952
7953void TestRegResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
7954 auto* const _this = static_cast<TestRegResponse*>(&to_msg);
7955 auto& from = static_cast<const TestRegResponse&>(from_msg);
7956 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.TestRegResponse)
7957 ABSL_DCHECK_NE(&from, _this);
7958 ::uint32_t cached_has_bits = 0;
7959 (void) cached_has_bits;
7960
7961 if (!from._internal_message().empty()) {
7962 _this->_internal_set_message(from._internal_message());
7963 }
7964 if (from._internal_value() != 0) {
7965 _this->_internal_set_value(from._internal_value());
7966 }
7967 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
7968}
7969
7971// @@protoc_insertion_point(class_specific_copy_from_start:daphne.TestRegResponse)
7972 if (&from == this) return;
7973 Clear();
7974 MergeFrom(from);
7975}
7976
7977PROTOBUF_NOINLINE bool TestRegResponse::IsInitialized() const {
7978 return true;
7979}
7980
7982 using std::swap;
7983 auto* lhs_arena = GetArenaForAllocation();
7984 auto* rhs_arena = other->GetArenaForAllocation();
7985 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7986 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, lhs_arena,
7987 &other->_impl_.message_, rhs_arena);
7988 swap(_impl_.value_, other->_impl_.value_);
7989}
7990
7996// ===================================================================
7997
7999 public:
8000};
8001
8002WriteRegister::WriteRegister(::google::protobuf::Arena* arena)
8003 : ::google::protobuf::Message(arena) {
8004 SharedCtor(arena);
8005 // @@protoc_insertion_point(arena_constructor:daphne.WriteRegister)
8006}
8008 : ::google::protobuf::Message(), _impl_(from._impl_) {
8009 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
8010 from._internal_metadata_);
8011 // @@protoc_insertion_point(copy_constructor:daphne.WriteRegister)
8012}
8013inline void WriteRegister::SharedCtor(::_pb::Arena* arena) {
8014 (void)arena;
8015 new (&_impl_) Impl_{
8016 decltype(_impl_.address_){::uint64_t{0u}},
8017 decltype(_impl_.value_){::uint64_t{0u}},
8018 /*decltype(_impl_._cached_size_)*/ {},
8019 };
8020}
8022 // @@protoc_insertion_point(destructor:daphne.WriteRegister)
8023 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
8024 SharedDtor();
8025}
8027 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
8028}
8029void WriteRegister::SetCachedSize(int size) const {
8030 _impl_._cached_size_.Set(size);
8031}
8032
8033PROTOBUF_NOINLINE void WriteRegister::Clear() {
8034// @@protoc_insertion_point(message_clear_start:daphne.WriteRegister)
8035 ::uint32_t cached_has_bits = 0;
8036 // Prevent compiler warnings about cached_has_bits being unused
8037 (void) cached_has_bits;
8038
8039 ::memset(&_impl_.address_, 0, static_cast<::size_t>(
8040 reinterpret_cast<char*>(&_impl_.value_) -
8041 reinterpret_cast<char*>(&_impl_.address_)) + sizeof(_impl_.value_));
8042 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
8043}
8044
8046 const char* ptr, ::_pbi::ParseContext* ctx) {
8047 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
8048 return ptr;
8049}
8050
8051
8052PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
8053const ::_pbi::TcParseTable<1, 2, 0, 0, 2> WriteRegister::_table_ = {
8054 {
8055 0, // no _has_bits_
8056 0, // no _extensions_
8057 2, 8, // max_field_number, fast_idx_mask
8058 offsetof(decltype(_table_), field_lookup_table),
8059 4294967292, // skipmap
8060 offsetof(decltype(_table_), field_entries),
8061 2, // num_field_entries
8062 0, // num_aux_entries
8063 offsetof(decltype(_table_), field_names), // no aux_entries
8065 ::_pbi::TcParser::GenericFallback, // fallback
8066 }, {{
8067 // uint64 value = 2;
8068 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(WriteRegister, _impl_.value_), 63>(),
8069 {16, 63, 0, PROTOBUF_FIELD_OFFSET(WriteRegister, _impl_.value_)}},
8070 // uint64 address = 1;
8071 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(WriteRegister, _impl_.address_), 63>(),
8072 {8, 63, 0, PROTOBUF_FIELD_OFFSET(WriteRegister, _impl_.address_)}},
8073 }}, {{
8074 65535, 65535
8075 }}, {{
8076 // uint64 address = 1;
8077 {PROTOBUF_FIELD_OFFSET(WriteRegister, _impl_.address_), 0, 0,
8078 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
8079 // uint64 value = 2;
8080 {PROTOBUF_FIELD_OFFSET(WriteRegister, _impl_.value_), 0, 0,
8081 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
8082 }},
8083 // no aux_entries
8084 {{
8085 }},
8086};
8087
8089 ::uint8_t* target,
8090 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
8091 // @@protoc_insertion_point(serialize_to_array_start:daphne.WriteRegister)
8092 ::uint32_t cached_has_bits = 0;
8093 (void)cached_has_bits;
8094
8095 // uint64 address = 1;
8096 if (this->_internal_address() != 0) {
8097 target = stream->EnsureSpace(target);
8098 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
8099 1, this->_internal_address(), target);
8100 }
8101
8102 // uint64 value = 2;
8103 if (this->_internal_value() != 0) {
8104 target = stream->EnsureSpace(target);
8105 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
8106 2, this->_internal_value(), target);
8107 }
8108
8109 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8110 target =
8111 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
8112 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
8113 }
8114 // @@protoc_insertion_point(serialize_to_array_end:daphne.WriteRegister)
8115 return target;
8116}
8117
8119// @@protoc_insertion_point(message_byte_size_start:daphne.WriteRegister)
8120 ::size_t total_size = 0;
8121
8122 ::uint32_t cached_has_bits = 0;
8123 // Prevent compiler warnings about cached_has_bits being unused
8124 (void) cached_has_bits;
8125
8126 // uint64 address = 1;
8127 if (this->_internal_address() != 0) {
8128 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
8129 this->_internal_address());
8130 }
8131
8132 // uint64 value = 2;
8133 if (this->_internal_value() != 0) {
8134 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
8135 this->_internal_value());
8136 }
8137
8138 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
8139}
8140
8141const ::google::protobuf::Message::ClassData WriteRegister::_class_data_ = {
8142 ::google::protobuf::Message::CopyWithSourceCheck,
8144};
8145const ::google::protobuf::Message::ClassData*WriteRegister::GetClassData() const { return &_class_data_; }
8146
8147
8148void WriteRegister::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
8149 auto* const _this = static_cast<WriteRegister*>(&to_msg);
8150 auto& from = static_cast<const WriteRegister&>(from_msg);
8151 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.WriteRegister)
8152 ABSL_DCHECK_NE(&from, _this);
8153 ::uint32_t cached_has_bits = 0;
8154 (void) cached_has_bits;
8155
8156 if (from._internal_address() != 0) {
8157 _this->_internal_set_address(from._internal_address());
8158 }
8159 if (from._internal_value() != 0) {
8160 _this->_internal_set_value(from._internal_value());
8161 }
8162 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
8163}
8164
8166// @@protoc_insertion_point(class_specific_copy_from_start:daphne.WriteRegister)
8167 if (&from == this) return;
8168 Clear();
8169 MergeFrom(from);
8170}
8171
8172PROTOBUF_NOINLINE bool WriteRegister::IsInitialized() const {
8173 return true;
8174}
8175
8177 using std::swap;
8178 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8179 ::google::protobuf::internal::memswap<
8180 PROTOBUF_FIELD_OFFSET(WriteRegister, _impl_.value_)
8182 - PROTOBUF_FIELD_OFFSET(WriteRegister, _impl_.address_)>(
8183 reinterpret_cast<char*>(&_impl_.address_),
8184 reinterpret_cast<char*>(&other->_impl_.address_));
8185}
8186
8192// ===================================================================
8193
8197
8199 : ::google::protobuf::Message(arena) {
8200 SharedCtor(arena);
8201 // @@protoc_insertion_point(arena_constructor:daphne.WriteMultipleRegisterRequest)
8202}
8204 WriteMultipleRegisterRequest* const _this = this;
8205 (void)_this;
8206 new (&_impl_) Impl_{
8207 decltype(_impl_.writes_){from._impl_.writes_},
8208 /*decltype(_impl_._cached_size_)*/ {},
8209 };
8210 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
8211 from._internal_metadata_);
8212
8213 // @@protoc_insertion_point(copy_constructor:daphne.WriteMultipleRegisterRequest)
8214}
8215inline void WriteMultipleRegisterRequest::SharedCtor(::_pb::Arena* arena) {
8216 (void)arena;
8217 new (&_impl_) Impl_{
8218 decltype(_impl_.writes_){arena},
8219 /*decltype(_impl_._cached_size_)*/ {},
8220 };
8221}
8223 // @@protoc_insertion_point(destructor:daphne.WriteMultipleRegisterRequest)
8224 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
8225 SharedDtor();
8226}
8228 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
8229 _impl_.writes_.~RepeatedPtrField();
8230}
8232 _impl_._cached_size_.Set(size);
8233}
8234
8235PROTOBUF_NOINLINE void WriteMultipleRegisterRequest::Clear() {
8236// @@protoc_insertion_point(message_clear_start:daphne.WriteMultipleRegisterRequest)
8237 ::uint32_t cached_has_bits = 0;
8238 // Prevent compiler warnings about cached_has_bits being unused
8239 (void) cached_has_bits;
8240
8241 _internal_mutable_writes()->Clear();
8242 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
8243}
8244
8246 const char* ptr, ::_pbi::ParseContext* ctx) {
8247 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
8248 return ptr;
8249}
8250
8251
8252PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
8253const ::_pbi::TcParseTable<0, 1, 1, 0, 2> WriteMultipleRegisterRequest::_table_ = {
8254 {
8255 0, // no _has_bits_
8256 0, // no _extensions_
8257 1, 0, // max_field_number, fast_idx_mask
8258 offsetof(decltype(_table_), field_lookup_table),
8259 4294967294, // skipmap
8260 offsetof(decltype(_table_), field_entries),
8261 1, // num_field_entries
8262 1, // num_aux_entries
8263 offsetof(decltype(_table_), aux_entries),
8265 ::_pbi::TcParser::GenericFallback, // fallback
8266 }, {{
8267 // repeated .daphne.WriteRegister writes = 1;
8268 {::_pbi::TcParser::FastMtR1,
8269 {10, 63, 0, PROTOBUF_FIELD_OFFSET(WriteMultipleRegisterRequest, _impl_.writes_)}},
8270 }}, {{
8271 65535, 65535
8272 }}, {{
8273 // repeated .daphne.WriteRegister writes = 1;
8274 {PROTOBUF_FIELD_OFFSET(WriteMultipleRegisterRequest, _impl_.writes_), 0, 0,
8275 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
8276 }}, {{
8277 {::_pbi::TcParser::GetTable<::daphne::WriteRegister>()},
8278 }}, {{
8279 }},
8280};
8281
8283 ::uint8_t* target,
8284 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
8285 // @@protoc_insertion_point(serialize_to_array_start:daphne.WriteMultipleRegisterRequest)
8286 ::uint32_t cached_has_bits = 0;
8287 (void)cached_has_bits;
8288
8289 // repeated .daphne.WriteRegister writes = 1;
8290 for (unsigned i = 0,
8291 n = static_cast<unsigned>(this->_internal_writes_size()); i < n; i++) {
8292 const auto& repfield = this->_internal_writes().Get(i);
8293 target = ::google::protobuf::internal::WireFormatLite::
8294 InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
8295 }
8296
8297 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8298 target =
8299 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
8300 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
8301 }
8302 // @@protoc_insertion_point(serialize_to_array_end:daphne.WriteMultipleRegisterRequest)
8303 return target;
8304}
8305
8307// @@protoc_insertion_point(message_byte_size_start:daphne.WriteMultipleRegisterRequest)
8308 ::size_t total_size = 0;
8309
8310 ::uint32_t cached_has_bits = 0;
8311 // Prevent compiler warnings about cached_has_bits being unused
8312 (void) cached_has_bits;
8313
8314 // repeated .daphne.WriteRegister writes = 1;
8315 total_size += 1UL * this->_internal_writes_size();
8316 for (const auto& msg : this->_internal_writes()) {
8317 total_size +=
8318 ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
8319 }
8320 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
8321}
8322
8323const ::google::protobuf::Message::ClassData WriteMultipleRegisterRequest::_class_data_ = {
8324 ::google::protobuf::Message::CopyWithSourceCheck,
8326};
8327const ::google::protobuf::Message::ClassData*WriteMultipleRegisterRequest::GetClassData() const { return &_class_data_; }
8328
8329
8330void WriteMultipleRegisterRequest::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
8331 auto* const _this = static_cast<WriteMultipleRegisterRequest*>(&to_msg);
8332 auto& from = static_cast<const WriteMultipleRegisterRequest&>(from_msg);
8333 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.WriteMultipleRegisterRequest)
8334 ABSL_DCHECK_NE(&from, _this);
8335 ::uint32_t cached_has_bits = 0;
8336 (void) cached_has_bits;
8337
8338 _this->_internal_mutable_writes()->MergeFrom(from._internal_writes());
8339 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
8340}
8341
8343// @@protoc_insertion_point(class_specific_copy_from_start:daphne.WriteMultipleRegisterRequest)
8344 if (&from == this) return;
8345 Clear();
8346 MergeFrom(from);
8347}
8348
8349PROTOBUF_NOINLINE bool WriteMultipleRegisterRequest::IsInitialized() const {
8350 return true;
8351}
8352
8354 using std::swap;
8355 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8356 _impl_.writes_.InternalSwap(&other->_impl_.writes_);
8357}
8358
8364// ===================================================================
8365
8367 public:
8368};
8369
8370WriteRegisterResponse::WriteRegisterResponse(::google::protobuf::Arena* arena)
8371 : ::google::protobuf::Message(arena) {
8372 SharedCtor(arena);
8373 // @@protoc_insertion_point(arena_constructor:daphne.WriteRegisterResponse)
8374}
8376 WriteRegisterResponse* const _this = this;
8377 (void)_this;
8378 new (&_impl_) Impl_{
8379 decltype(_impl_.message_){},
8380 decltype(_impl_.success_){},
8381 /*decltype(_impl_._cached_size_)*/ {},
8382 };
8383 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
8384 from._internal_metadata_);
8385 _impl_.message_.InitDefault();
8386 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8387 _impl_.message_.Set("", GetArenaForAllocation());
8388 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8389 if (!from._internal_message().empty()) {
8390 _this->_impl_.message_.Set(from._internal_message(), _this->GetArenaForAllocation());
8391 }
8392 _this->_impl_.success_ = from._impl_.success_;
8393
8394 // @@protoc_insertion_point(copy_constructor:daphne.WriteRegisterResponse)
8395}
8396inline void WriteRegisterResponse::SharedCtor(::_pb::Arena* arena) {
8397 (void)arena;
8398 new (&_impl_) Impl_{
8399 decltype(_impl_.message_){},
8400 decltype(_impl_.success_){false},
8401 /*decltype(_impl_._cached_size_)*/ {},
8402 };
8403 _impl_.message_.InitDefault();
8404 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8405 _impl_.message_.Set("", GetArenaForAllocation());
8406 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8407}
8409 // @@protoc_insertion_point(destructor:daphne.WriteRegisterResponse)
8410 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
8411 SharedDtor();
8412}
8414 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
8415 _impl_.message_.Destroy();
8416}
8418 _impl_._cached_size_.Set(size);
8419}
8420
8421PROTOBUF_NOINLINE void WriteRegisterResponse::Clear() {
8422// @@protoc_insertion_point(message_clear_start:daphne.WriteRegisterResponse)
8423 ::uint32_t cached_has_bits = 0;
8424 // Prevent compiler warnings about cached_has_bits being unused
8425 (void) cached_has_bits;
8426
8427 _impl_.message_.ClearToEmpty();
8428 _impl_.success_ = false;
8429 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
8430}
8431
8433 const char* ptr, ::_pbi::ParseContext* ctx) {
8434 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
8435 return ptr;
8436}
8437
8438
8439PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
8440const ::_pbi::TcParseTable<1, 2, 0, 44, 2> WriteRegisterResponse::_table_ = {
8441 {
8442 0, // no _has_bits_
8443 0, // no _extensions_
8444 2, 8, // max_field_number, fast_idx_mask
8445 offsetof(decltype(_table_), field_lookup_table),
8446 4294967292, // skipmap
8447 offsetof(decltype(_table_), field_entries),
8448 2, // num_field_entries
8449 0, // num_aux_entries
8450 offsetof(decltype(_table_), field_names), // no aux_entries
8452 ::_pbi::TcParser::GenericFallback, // fallback
8453 }, {{
8454 // string message = 2;
8455 {::_pbi::TcParser::FastUS1,
8456 {18, 63, 0, PROTOBUF_FIELD_OFFSET(WriteRegisterResponse, _impl_.message_)}},
8457 // bool success = 1;
8458 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(WriteRegisterResponse, _impl_.success_), 63>(),
8459 {8, 63, 0, PROTOBUF_FIELD_OFFSET(WriteRegisterResponse, _impl_.success_)}},
8460 }}, {{
8461 65535, 65535
8462 }}, {{
8463 // bool success = 1;
8464 {PROTOBUF_FIELD_OFFSET(WriteRegisterResponse, _impl_.success_), 0, 0,
8465 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
8466 // string message = 2;
8467 {PROTOBUF_FIELD_OFFSET(WriteRegisterResponse, _impl_.message_), 0, 0,
8468 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
8469 }},
8470 // no aux_entries
8471 {{
8472 "\34\0\7\0\0\0\0\0"
8473 "daphne.WriteRegisterResponse"
8474 "message"
8475 }},
8476};
8477
8479 ::uint8_t* target,
8480 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
8481 // @@protoc_insertion_point(serialize_to_array_start:daphne.WriteRegisterResponse)
8482 ::uint32_t cached_has_bits = 0;
8483 (void)cached_has_bits;
8484
8485 // bool success = 1;
8486 if (this->_internal_success() != 0) {
8487 target = stream->EnsureSpace(target);
8488 target = ::_pbi::WireFormatLite::WriteBoolToArray(
8489 1, this->_internal_success(), target);
8490 }
8491
8492 // string message = 2;
8493 if (!this->_internal_message().empty()) {
8494 const std::string& _s = this->_internal_message();
8495 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
8496 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "daphne.WriteRegisterResponse.message");
8497 target = stream->WriteStringMaybeAliased(2, _s, target);
8498 }
8499
8500 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8501 target =
8502 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
8503 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
8504 }
8505 // @@protoc_insertion_point(serialize_to_array_end:daphne.WriteRegisterResponse)
8506 return target;
8507}
8508
8510// @@protoc_insertion_point(message_byte_size_start:daphne.WriteRegisterResponse)
8511 ::size_t total_size = 0;
8512
8513 ::uint32_t cached_has_bits = 0;
8514 // Prevent compiler warnings about cached_has_bits being unused
8515 (void) cached_has_bits;
8516
8517 // string message = 2;
8518 if (!this->_internal_message().empty()) {
8519 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
8520 this->_internal_message());
8521 }
8522
8523 // bool success = 1;
8524 if (this->_internal_success() != 0) {
8525 total_size += 2;
8526 }
8527
8528 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
8529}
8530
8531const ::google::protobuf::Message::ClassData WriteRegisterResponse::_class_data_ = {
8532 ::google::protobuf::Message::CopyWithSourceCheck,
8534};
8535const ::google::protobuf::Message::ClassData*WriteRegisterResponse::GetClassData() const { return &_class_data_; }
8536
8537
8538void WriteRegisterResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
8539 auto* const _this = static_cast<WriteRegisterResponse*>(&to_msg);
8540 auto& from = static_cast<const WriteRegisterResponse&>(from_msg);
8541 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.WriteRegisterResponse)
8542 ABSL_DCHECK_NE(&from, _this);
8543 ::uint32_t cached_has_bits = 0;
8544 (void) cached_has_bits;
8545
8546 if (!from._internal_message().empty()) {
8547 _this->_internal_set_message(from._internal_message());
8548 }
8549 if (from._internal_success() != 0) {
8550 _this->_internal_set_success(from._internal_success());
8551 }
8552 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
8553}
8554
8556// @@protoc_insertion_point(class_specific_copy_from_start:daphne.WriteRegisterResponse)
8557 if (&from == this) return;
8558 Clear();
8559 MergeFrom(from);
8560}
8561
8562PROTOBUF_NOINLINE bool WriteRegisterResponse::IsInitialized() const {
8563 return true;
8564}
8565
8567 using std::swap;
8568 auto* lhs_arena = GetArenaForAllocation();
8569 auto* rhs_arena = other->GetArenaForAllocation();
8570 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8571 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, lhs_arena,
8572 &other->_impl_.message_, rhs_arena);
8574}
8575
8581// ===================================================================
8582
8584 public:
8585};
8586
8587ControlEnvelopeV2::ControlEnvelopeV2(::google::protobuf::Arena* arena)
8588 : ::google::protobuf::Message(arena) {
8589 SharedCtor(arena);
8590 // @@protoc_insertion_point(arena_constructor:daphne.ControlEnvelopeV2)
8591}
8593 ControlEnvelopeV2* const _this = this;
8594 (void)_this;
8595 new (&_impl_) Impl_{
8596 decltype(_impl_.payload_){},
8597 decltype(_impl_.route_){},
8598 decltype(_impl_.version_){},
8599 decltype(_impl_.dir_){},
8600 decltype(_impl_.task_id_){},
8601 decltype(_impl_.msg_id_){},
8602 decltype(_impl_.correl_id_){},
8603 decltype(_impl_.timestamp_ns_){},
8604 decltype(_impl_.type_){},
8605 /*decltype(_impl_._cached_size_)*/ {},
8606 };
8607 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
8608 from._internal_metadata_);
8609 _impl_.payload_.InitDefault();
8610 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8611 _impl_.payload_.Set("", GetArenaForAllocation());
8612 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8613 if (!from._internal_payload().empty()) {
8614 _this->_impl_.payload_.Set(from._internal_payload(), _this->GetArenaForAllocation());
8615 }
8616 _impl_.route_.InitDefault();
8617 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8618 _impl_.route_.Set("", GetArenaForAllocation());
8619 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8620 if (!from._internal_route().empty()) {
8621 _this->_impl_.route_.Set(from._internal_route(), _this->GetArenaForAllocation());
8622 }
8623 ::memcpy(&_impl_.version_, &from._impl_.version_,
8624 static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.type_) -
8625 reinterpret_cast<char*>(&_impl_.version_)) + sizeof(_impl_.type_));
8626
8627 // @@protoc_insertion_point(copy_constructor:daphne.ControlEnvelopeV2)
8628}
8629inline void ControlEnvelopeV2::SharedCtor(::_pb::Arena* arena) {
8630 (void)arena;
8631 new (&_impl_) Impl_{
8632 decltype(_impl_.payload_){},
8633 decltype(_impl_.route_){},
8634 decltype(_impl_.version_){0u},
8635 decltype(_impl_.dir_){0},
8636 decltype(_impl_.task_id_){::uint64_t{0u}},
8637 decltype(_impl_.msg_id_){::uint64_t{0u}},
8638 decltype(_impl_.correl_id_){::uint64_t{0u}},
8639 decltype(_impl_.timestamp_ns_){::uint64_t{0u}},
8640 decltype(_impl_.type_){0},
8641 /*decltype(_impl_._cached_size_)*/ {},
8642 };
8643 _impl_.payload_.InitDefault();
8644 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8645 _impl_.payload_.Set("", GetArenaForAllocation());
8646 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8647 _impl_.route_.InitDefault();
8648 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8649 _impl_.route_.Set("", GetArenaForAllocation());
8650 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8651}
8653 // @@protoc_insertion_point(destructor:daphne.ControlEnvelopeV2)
8654 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
8655 SharedDtor();
8656}
8658 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
8659 _impl_.payload_.Destroy();
8660 _impl_.route_.Destroy();
8661}
8663 _impl_._cached_size_.Set(size);
8664}
8665
8666PROTOBUF_NOINLINE void ControlEnvelopeV2::Clear() {
8667// @@protoc_insertion_point(message_clear_start:daphne.ControlEnvelopeV2)
8668 ::uint32_t cached_has_bits = 0;
8669 // Prevent compiler warnings about cached_has_bits being unused
8670 (void) cached_has_bits;
8671
8672 _impl_.payload_.ClearToEmpty();
8673 _impl_.route_.ClearToEmpty();
8674 ::memset(&_impl_.version_, 0, static_cast<::size_t>(
8675 reinterpret_cast<char*>(&_impl_.type_) -
8676 reinterpret_cast<char*>(&_impl_.version_)) + sizeof(_impl_.type_));
8677 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
8678}
8679
8681 const char* ptr, ::_pbi::ParseContext* ctx) {
8682 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
8683 return ptr;
8684}
8685
8686
8687PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
8688const ::_pbi::TcParseTable<4, 9, 0, 46, 2> ControlEnvelopeV2::_table_ = {
8689 {
8690 0, // no _has_bits_
8691 0, // no _extensions_
8692 20, 120, // max_field_number, fast_idx_mask
8693 offsetof(decltype(_table_), field_lookup_table),
8694 4294435312, // skipmap
8695 offsetof(decltype(_table_), field_entries),
8696 9, // num_field_entries
8697 0, // num_aux_entries
8698 offsetof(decltype(_table_), field_names), // no aux_entries
8700 ::_pbi::TcParser::GenericFallback, // fallback
8701 }, {{
8702 {::_pbi::TcParser::MiniParse, {}},
8703 // uint32 version = 1;
8704 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ControlEnvelopeV2, _impl_.version_), 63>(),
8705 {8, 63, 0, PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.version_)}},
8706 // .daphne.Direction dir = 2;
8707 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ControlEnvelopeV2, _impl_.dir_), 63>(),
8708 {16, 63, 0, PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.dir_)}},
8709 // .daphne.MessageTypeV2 type = 3;
8710 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ControlEnvelopeV2, _impl_.type_), 63>(),
8711 {24, 63, 0, PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.type_)}},
8712 // bytes payload = 4;
8713 {::_pbi::TcParser::FastBS1,
8714 {34, 63, 0, PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.payload_)}},
8715 {::_pbi::TcParser::MiniParse, {}},
8716 {::_pbi::TcParser::MiniParse, {}},
8717 {::_pbi::TcParser::MiniParse, {}},
8718 {::_pbi::TcParser::MiniParse, {}},
8719 {::_pbi::TcParser::MiniParse, {}},
8720 // uint64 task_id = 10;
8721 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ControlEnvelopeV2, _impl_.task_id_), 63>(),
8722 {80, 63, 0, PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.task_id_)}},
8723 // uint64 msg_id = 11;
8724 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ControlEnvelopeV2, _impl_.msg_id_), 63>(),
8725 {88, 63, 0, PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.msg_id_)}},
8726 // uint64 correl_id = 12;
8727 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ControlEnvelopeV2, _impl_.correl_id_), 63>(),
8728 {96, 63, 0, PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.correl_id_)}},
8729 // string route = 13;
8730 {::_pbi::TcParser::FastUS1,
8731 {106, 63, 0, PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.route_)}},
8732 {::_pbi::TcParser::MiniParse, {}},
8733 {::_pbi::TcParser::MiniParse, {}},
8734 }}, {{
8735 65535, 65535
8736 }}, {{
8737 // uint32 version = 1;
8738 {PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.version_), 0, 0,
8739 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
8740 // .daphne.Direction dir = 2;
8741 {PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.dir_), 0, 0,
8742 (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)},
8743 // .daphne.MessageTypeV2 type = 3;
8744 {PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.type_), 0, 0,
8745 (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)},
8746 // bytes payload = 4;
8747 {PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.payload_), 0, 0,
8748 (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)},
8749 // uint64 task_id = 10;
8750 {PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.task_id_), 0, 0,
8751 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
8752 // uint64 msg_id = 11;
8753 {PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.msg_id_), 0, 0,
8754 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
8755 // uint64 correl_id = 12;
8756 {PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.correl_id_), 0, 0,
8757 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
8758 // string route = 13;
8759 {PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.route_), 0, 0,
8760 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
8761 // uint64 timestamp_ns = 20;
8762 {PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.timestamp_ns_), 0, 0,
8763 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
8764 }},
8765 // no aux_entries
8766 {{
8767 "\30\0\0\0\0\0\0\0\5\0\0\0\0\0\0\0"
8768 "daphne.ControlEnvelopeV2"
8769 "route"
8770 }},
8771};
8772
8774 ::uint8_t* target,
8775 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
8776 // @@protoc_insertion_point(serialize_to_array_start:daphne.ControlEnvelopeV2)
8777 ::uint32_t cached_has_bits = 0;
8778 (void)cached_has_bits;
8779
8780 // uint32 version = 1;
8781 if (this->_internal_version() != 0) {
8782 target = stream->EnsureSpace(target);
8783 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
8784 1, this->_internal_version(), target);
8785 }
8786
8787 // .daphne.Direction dir = 2;
8788 if (this->_internal_dir() != 0) {
8789 target = stream->EnsureSpace(target);
8790 target = ::_pbi::WireFormatLite::WriteEnumToArray(
8791 2, this->_internal_dir(), target);
8792 }
8793
8794 // .daphne.MessageTypeV2 type = 3;
8795 if (this->_internal_type() != 0) {
8796 target = stream->EnsureSpace(target);
8797 target = ::_pbi::WireFormatLite::WriteEnumToArray(
8798 3, this->_internal_type(), target);
8799 }
8800
8801 // bytes payload = 4;
8802 if (!this->_internal_payload().empty()) {
8803 const std::string& _s = this->_internal_payload();
8804 target = stream->WriteBytesMaybeAliased(4, _s, target);
8805 }
8806
8807 // uint64 task_id = 10;
8808 if (this->_internal_task_id() != 0) {
8809 target = stream->EnsureSpace(target);
8810 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
8811 10, this->_internal_task_id(), target);
8812 }
8813
8814 // uint64 msg_id = 11;
8815 if (this->_internal_msg_id() != 0) {
8816 target = stream->EnsureSpace(target);
8817 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
8818 11, this->_internal_msg_id(), target);
8819 }
8820
8821 // uint64 correl_id = 12;
8822 if (this->_internal_correl_id() != 0) {
8823 target = stream->EnsureSpace(target);
8824 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
8825 12, this->_internal_correl_id(), target);
8826 }
8827
8828 // string route = 13;
8829 if (!this->_internal_route().empty()) {
8830 const std::string& _s = this->_internal_route();
8831 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
8832 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "daphne.ControlEnvelopeV2.route");
8833 target = stream->WriteStringMaybeAliased(13, _s, target);
8834 }
8835
8836 // uint64 timestamp_ns = 20;
8837 if (this->_internal_timestamp_ns() != 0) {
8838 target = stream->EnsureSpace(target);
8839 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
8840 20, this->_internal_timestamp_ns(), target);
8841 }
8842
8843 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8844 target =
8845 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
8846 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
8847 }
8848 // @@protoc_insertion_point(serialize_to_array_end:daphne.ControlEnvelopeV2)
8849 return target;
8850}
8851
8853// @@protoc_insertion_point(message_byte_size_start:daphne.ControlEnvelopeV2)
8854 ::size_t total_size = 0;
8855
8856 ::uint32_t cached_has_bits = 0;
8857 // Prevent compiler warnings about cached_has_bits being unused
8858 (void) cached_has_bits;
8859
8860 // bytes payload = 4;
8861 if (!this->_internal_payload().empty()) {
8862 total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
8863 this->_internal_payload());
8864 }
8865
8866 // string route = 13;
8867 if (!this->_internal_route().empty()) {
8868 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
8869 this->_internal_route());
8870 }
8871
8872 // uint32 version = 1;
8873 if (this->_internal_version() != 0) {
8874 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
8875 this->_internal_version());
8876 }
8877
8878 // .daphne.Direction dir = 2;
8879 if (this->_internal_dir() != 0) {
8880 total_size += 1 +
8881 ::_pbi::WireFormatLite::EnumSize(this->_internal_dir());
8882 }
8883
8884 // uint64 task_id = 10;
8885 if (this->_internal_task_id() != 0) {
8886 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
8887 this->_internal_task_id());
8888 }
8889
8890 // uint64 msg_id = 11;
8891 if (this->_internal_msg_id() != 0) {
8892 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
8893 this->_internal_msg_id());
8894 }
8895
8896 // uint64 correl_id = 12;
8897 if (this->_internal_correl_id() != 0) {
8898 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
8899 this->_internal_correl_id());
8900 }
8901
8902 // uint64 timestamp_ns = 20;
8903 if (this->_internal_timestamp_ns() != 0) {
8904 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
8905 this->_internal_timestamp_ns());
8906 }
8907
8908 // .daphne.MessageTypeV2 type = 3;
8909 if (this->_internal_type() != 0) {
8910 total_size += 1 +
8911 ::_pbi::WireFormatLite::EnumSize(this->_internal_type());
8912 }
8913
8914 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
8915}
8916
8917const ::google::protobuf::Message::ClassData ControlEnvelopeV2::_class_data_ = {
8918 ::google::protobuf::Message::CopyWithSourceCheck,
8920};
8921const ::google::protobuf::Message::ClassData*ControlEnvelopeV2::GetClassData() const { return &_class_data_; }
8922
8923
8924void ControlEnvelopeV2::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
8925 auto* const _this = static_cast<ControlEnvelopeV2*>(&to_msg);
8926 auto& from = static_cast<const ControlEnvelopeV2&>(from_msg);
8927 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.ControlEnvelopeV2)
8928 ABSL_DCHECK_NE(&from, _this);
8929 ::uint32_t cached_has_bits = 0;
8930 (void) cached_has_bits;
8931
8932 if (!from._internal_payload().empty()) {
8933 _this->_internal_set_payload(from._internal_payload());
8934 }
8935 if (!from._internal_route().empty()) {
8936 _this->_internal_set_route(from._internal_route());
8937 }
8938 if (from._internal_version() != 0) {
8939 _this->_internal_set_version(from._internal_version());
8940 }
8941 if (from._internal_dir() != 0) {
8942 _this->_internal_set_dir(from._internal_dir());
8943 }
8944 if (from._internal_task_id() != 0) {
8945 _this->_internal_set_task_id(from._internal_task_id());
8946 }
8947 if (from._internal_msg_id() != 0) {
8948 _this->_internal_set_msg_id(from._internal_msg_id());
8949 }
8950 if (from._internal_correl_id() != 0) {
8951 _this->_internal_set_correl_id(from._internal_correl_id());
8952 }
8953 if (from._internal_timestamp_ns() != 0) {
8954 _this->_internal_set_timestamp_ns(from._internal_timestamp_ns());
8955 }
8956 if (from._internal_type() != 0) {
8957 _this->_internal_set_type(from._internal_type());
8958 }
8959 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
8960}
8961
8963// @@protoc_insertion_point(class_specific_copy_from_start:daphne.ControlEnvelopeV2)
8964 if (&from == this) return;
8965 Clear();
8966 MergeFrom(from);
8967}
8968
8969PROTOBUF_NOINLINE bool ControlEnvelopeV2::IsInitialized() const {
8970 return true;
8971}
8972
8974 using std::swap;
8975 auto* lhs_arena = GetArenaForAllocation();
8976 auto* rhs_arena = other->GetArenaForAllocation();
8977 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8978 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.payload_, lhs_arena,
8979 &other->_impl_.payload_, rhs_arena);
8980 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.route_, lhs_arena,
8981 &other->_impl_.route_, rhs_arena);
8982 ::google::protobuf::internal::memswap<
8983 PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.type_)
8985 - PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.version_)>(
8986 reinterpret_cast<char*>(&_impl_.version_),
8987 reinterpret_cast<char*>(&other->_impl_.version_));
8988}
8989
8995// ===================================================================
8996
8998 public:
8999};
9000
9001ControlEnvelope::ControlEnvelope(::google::protobuf::Arena* arena)
9002 : ::google::protobuf::Message(arena) {
9003 SharedCtor(arena);
9004 // @@protoc_insertion_point(arena_constructor:daphne.ControlEnvelope)
9005}
9006ControlEnvelope::ControlEnvelope(const ControlEnvelope& from) : ::google::protobuf::Message() {
9007 ControlEnvelope* const _this = this;
9008 (void)_this;
9009 new (&_impl_) Impl_{
9010 decltype(_impl_.payload_){},
9011 decltype(_impl_.type_){},
9012 /*decltype(_impl_._cached_size_)*/ {},
9013 };
9014 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
9015 from._internal_metadata_);
9016 _impl_.payload_.InitDefault();
9017 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9018 _impl_.payload_.Set("", GetArenaForAllocation());
9019 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9020 if (!from._internal_payload().empty()) {
9021 _this->_impl_.payload_.Set(from._internal_payload(), _this->GetArenaForAllocation());
9022 }
9023 _this->_impl_.type_ = from._impl_.type_;
9024
9025 // @@protoc_insertion_point(copy_constructor:daphne.ControlEnvelope)
9026}
9027inline void ControlEnvelope::SharedCtor(::_pb::Arena* arena) {
9028 (void)arena;
9029 new (&_impl_) Impl_{
9030 decltype(_impl_.payload_){},
9031 decltype(_impl_.type_){0},
9032 /*decltype(_impl_._cached_size_)*/ {},
9033 };
9034 _impl_.payload_.InitDefault();
9035 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9036 _impl_.payload_.Set("", GetArenaForAllocation());
9037 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9038}
9040 // @@protoc_insertion_point(destructor:daphne.ControlEnvelope)
9041 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
9042 SharedDtor();
9043}
9045 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
9046 _impl_.payload_.Destroy();
9047}
9049 _impl_._cached_size_.Set(size);
9050}
9051
9052PROTOBUF_NOINLINE void ControlEnvelope::Clear() {
9053// @@protoc_insertion_point(message_clear_start:daphne.ControlEnvelope)
9054 ::uint32_t cached_has_bits = 0;
9055 // Prevent compiler warnings about cached_has_bits being unused
9056 (void) cached_has_bits;
9057
9058 _impl_.payload_.ClearToEmpty();
9059 _impl_.type_ = 0;
9060 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
9061}
9062
9064 const char* ptr, ::_pbi::ParseContext* ctx) {
9065 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
9066 return ptr;
9067}
9068
9069
9070PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
9071const ::_pbi::TcParseTable<1, 2, 0, 0, 2> ControlEnvelope::_table_ = {
9072 {
9073 0, // no _has_bits_
9074 0, // no _extensions_
9075 2, 8, // max_field_number, fast_idx_mask
9076 offsetof(decltype(_table_), field_lookup_table),
9077 4294967292, // skipmap
9078 offsetof(decltype(_table_), field_entries),
9079 2, // num_field_entries
9080 0, // num_aux_entries
9081 offsetof(decltype(_table_), field_names), // no aux_entries
9083 ::_pbi::TcParser::GenericFallback, // fallback
9084 }, {{
9085 // bytes payload = 2;
9086 {::_pbi::TcParser::FastBS1,
9087 {18, 63, 0, PROTOBUF_FIELD_OFFSET(ControlEnvelope, _impl_.payload_)}},
9088 // .daphne.MessageType type = 1;
9089 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ControlEnvelope, _impl_.type_), 63>(),
9090 {8, 63, 0, PROTOBUF_FIELD_OFFSET(ControlEnvelope, _impl_.type_)}},
9091 }}, {{
9092 65535, 65535
9093 }}, {{
9094 // .daphne.MessageType type = 1;
9095 {PROTOBUF_FIELD_OFFSET(ControlEnvelope, _impl_.type_), 0, 0,
9096 (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)},
9097 // bytes payload = 2;
9098 {PROTOBUF_FIELD_OFFSET(ControlEnvelope, _impl_.payload_), 0, 0,
9099 (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)},
9100 }},
9101 // no aux_entries
9102 {{
9103 }},
9104};
9105
9107 ::uint8_t* target,
9108 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
9109 // @@protoc_insertion_point(serialize_to_array_start:daphne.ControlEnvelope)
9110 ::uint32_t cached_has_bits = 0;
9111 (void)cached_has_bits;
9112
9113 // .daphne.MessageType type = 1;
9114 if (this->_internal_type() != 0) {
9115 target = stream->EnsureSpace(target);
9116 target = ::_pbi::WireFormatLite::WriteEnumToArray(
9117 1, this->_internal_type(), target);
9118 }
9119
9120 // bytes payload = 2;
9121 if (!this->_internal_payload().empty()) {
9122 const std::string& _s = this->_internal_payload();
9123 target = stream->WriteBytesMaybeAliased(2, _s, target);
9124 }
9125
9126 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9127 target =
9128 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
9129 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
9130 }
9131 // @@protoc_insertion_point(serialize_to_array_end:daphne.ControlEnvelope)
9132 return target;
9133}
9134
9136// @@protoc_insertion_point(message_byte_size_start:daphne.ControlEnvelope)
9137 ::size_t total_size = 0;
9138
9139 ::uint32_t cached_has_bits = 0;
9140 // Prevent compiler warnings about cached_has_bits being unused
9141 (void) cached_has_bits;
9142
9143 // bytes payload = 2;
9144 if (!this->_internal_payload().empty()) {
9145 total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
9146 this->_internal_payload());
9147 }
9148
9149 // .daphne.MessageType type = 1;
9150 if (this->_internal_type() != 0) {
9151 total_size += 1 +
9152 ::_pbi::WireFormatLite::EnumSize(this->_internal_type());
9153 }
9154
9155 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
9156}
9157
9158const ::google::protobuf::Message::ClassData ControlEnvelope::_class_data_ = {
9159 ::google::protobuf::Message::CopyWithSourceCheck,
9161};
9162const ::google::protobuf::Message::ClassData*ControlEnvelope::GetClassData() const { return &_class_data_; }
9163
9164
9165void ControlEnvelope::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
9166 auto* const _this = static_cast<ControlEnvelope*>(&to_msg);
9167 auto& from = static_cast<const ControlEnvelope&>(from_msg);
9168 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.ControlEnvelope)
9169 ABSL_DCHECK_NE(&from, _this);
9170 ::uint32_t cached_has_bits = 0;
9171 (void) cached_has_bits;
9172
9173 if (!from._internal_payload().empty()) {
9174 _this->_internal_set_payload(from._internal_payload());
9175 }
9176 if (from._internal_type() != 0) {
9177 _this->_internal_set_type(from._internal_type());
9178 }
9179 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
9180}
9181
9183// @@protoc_insertion_point(class_specific_copy_from_start:daphne.ControlEnvelope)
9184 if (&from == this) return;
9185 Clear();
9186 MergeFrom(from);
9187}
9188
9189PROTOBUF_NOINLINE bool ControlEnvelope::IsInitialized() const {
9190 return true;
9191}
9192
9194 using std::swap;
9195 auto* lhs_arena = GetArenaForAllocation();
9196 auto* rhs_arena = other->GetArenaForAllocation();
9197 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
9198 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.payload_, lhs_arena,
9199 &other->_impl_.payload_, rhs_arena);
9200 swap(_impl_.type_, other->_impl_.type_);
9201}
9202
9208// @@protoc_insertion_point(namespace_scope)
9209} // namespace daphne
9210namespace google {
9211namespace protobuf {
9212} // namespace protobuf
9213} // namespace google
9214// @@protoc_insertion_point(global_scope)
9215#include "google/protobuf/port_undef.inc"
::size_t ByteSizeLong() const final
bool IsInitialized() const final
void SetCachedSize(int size) const final
static const ClassData _class_data_
static const ::google::protobuf::internal::TcParseTable< 2, 3, 0, 0, 2 > _table_
const ::google::protobuf::Message::ClassData * GetClassData() const final
void MergeFrom(const ADCConfig &from)
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
void CopyFrom(const ADCConfig &from)
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
::google::protobuf::Metadata GetMetadata() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
void InternalSwap(ADCConfig *other)
void SharedCtor(::google::protobuf::Arena *arena)
static const ::daphne::PGAConfig & pga(const AFEConfig *msg)
static constexpr ::int32_t kHasBitsOffset
static void set_has_lna(HasBits *has_bits)
decltype(std::declval< AFEConfig >()._impl_._has_bits_) HasBits
static void set_has_pga(HasBits *has_bits)
static void set_has_adc(HasBits *has_bits)
static const ::daphne::LNAConfig & lna(const AFEConfig *msg)
static const ::daphne::ADCConfig & adc(const AFEConfig *msg)
::size_t ByteSizeLong() const final
const ::daphne::LNAConfig & lna() const
void InternalSwap(AFEConfig *other)
const ::daphne::PGAConfig & pga() const
void SharedCtor(::google::protobuf::Arena *arena)
const ::daphne::ADCConfig & adc() const
void SetCachedSize(int size) const final
void CopyFrom(const AFEConfig &from)
static const ::google::protobuf::internal::TcParseTable< 3, 6, 3, 0, 2 > _table_
::google::protobuf::Metadata GetMetadata() const final
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
bool IsInitialized() const final
::uint32_t _internal_id() const
static const AFEConfig * internal_default_instance()
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
static const ClassData _class_data_
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const AFEConfig &from)
int GetCachedSize() const final
const ::google::protobuf::Message::ClassData * GetClassData() const final
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
::uint32_t _internal_attenuators() const
friend void swap(AFEConfig &a, AFEConfig &b)
::uint32_t _internal_v_bias() const
static const ClassData _class_data_
void SharedCtor(::google::protobuf::Arena *arena)
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
void SetCachedSize(int size) const final
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
::google::protobuf::Metadata GetMetadata() const final
static const ::google::protobuf::internal::TcParseTable< 2, 4, 0, 0, 2 > _table_
const ::google::protobuf::Message::ClassData * GetClassData() const final
::uint32_t _internal_trim() const
void MergeFrom(const ChannelConfig &from)
::size_t ByteSizeLong() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void InternalSwap(ChannelConfig *other)
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
::uint32_t _internal_offset() const
void CopyFrom(const ChannelConfig &from)
::uint32_t _internal_gain() const
::uint64_t _internal_new_triggers() const
void MergeFrom(const ChannelInfo &from)
::uint64_t _internal_total_packets() const
void SharedCtor(::google::protobuf::Arena *arena)
::uint64_t _internal_total_triggers() const
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
static const ::google::protobuf::internal::TcParseTable< 3, 5, 0, 0, 2 > _table_
void SetCachedSize(int size) const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::google::protobuf::Metadata GetMetadata() const final
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
void InternalSwap(ChannelInfo *other)
bool IsInitialized() const final
void CopyFrom(const ChannelInfo &from)
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
::uint64_t _internal_new_packets() const
const ::google::protobuf::Message::ClassData * GetClassData() const final
static const ClassData _class_data_
::size_t ByteSizeLong() const final
::uint32_t _internal_id() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
void SharedCtor(::google::protobuf::Arena *arena)
const ::google::protobuf::Message::ClassData * GetClassData() const final
void SetCachedSize(int size) const final
static const ::google::protobuf::internal::TcParseTable< 2, 4, 0, 0, 2 > _table_
::google::protobuf::Metadata GetMetadata() const final
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
void InternalSwap(ConfigureCLKsRequest *other)
void MergeFrom(const ConfigureCLKsRequest &from)
void CopyFrom(const ConfigureCLKsRequest &from)
void MergeFrom(const ConfigureCLKsResponse &from)
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
const std::string & _internal_message() const
void CopyFrom(const ConfigureCLKsResponse &from)
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
static const ::google::protobuf::internal::TcParseTable< 1, 2, 0, 44, 2 > _table_
const ::google::protobuf::Message::ClassData * GetClassData() const final
void SharedCtor(::google::protobuf::Arena *arena)
void SetCachedSize(int size) const final
void InternalSwap(ConfigureCLKsResponse *other)
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
::google::protobuf::Metadata GetMetadata() const final
friend void swap(ConfigureCLKsResponse &a, ConfigureCLKsResponse &b)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::uint32_t _internal_timeout_ms() const
void CopyFrom(const ConfigureRequest &from)
::size_t ByteSizeLong() const final
::google::protobuf::RepeatedField<::uint32_t > * _internal_mutable_full_stream_channels()
const ::google::protobuf::RepeatedPtrField<::daphne::AFEConfig > & _internal_afes() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void SetCachedSize(int size) const final
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
::uint64_t _internal_compensator() const
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
const std::string & _internal_daphne_address() const
::uint64_t _internal_self_trigger_xcorr() const
void MergeFrom(const ConfigureRequest &from)
static const ClassData _class_data_
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
::google::protobuf::RepeatedPtrField<::daphne::AFEConfig > * _internal_mutable_afes()
::google::protobuf::Metadata GetMetadata() const final
static const ::google::protobuf::internal::TcParseTable< 4, 12, 2, 54, 2 > _table_
const ::google::protobuf::RepeatedField<::uint32_t > & _internal_full_stream_channels() const
const ::google::protobuf::RepeatedPtrField<::daphne::ChannelConfig > & _internal_channels() const
::google::protobuf::RepeatedPtrField<::daphne::ChannelConfig > * _internal_mutable_channels()
void SharedCtor(::google::protobuf::Arena *arena)
const ::google::protobuf::Message::ClassData * GetClassData() const final
::uint64_t _internal_self_trigger_threshold() const
void InternalSwap(ConfigureRequest *other)
void InternalSwap(ConfigureResponse *other)
const std::string & _internal_message() const
::size_t ByteSizeLong() const final
static const ClassData _class_data_
void SharedCtor(::google::protobuf::Arena *arena)
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
friend void swap(ConfigureResponse &a, ConfigureResponse &b)
static const ::google::protobuf::internal::TcParseTable< 1, 2, 0, 40, 2 > _table_
void CopyFrom(const ConfigureResponse &from)
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
void MergeFrom(const ConfigureResponse &from)
const ::google::protobuf::Message::ClassData * GetClassData() const final
void SetCachedSize(int size) const final
::google::protobuf::Metadata GetMetadata() const final
void InternalSwap(ControlEnvelopeV2 *other)
::size_t ByteSizeLong() const final
const std::string & _internal_payload() const
void MergeFrom(const ControlEnvelopeV2 &from)
::daphne::MessageTypeV2 _internal_type() const
::google::protobuf::Metadata GetMetadata() const final
void CopyFrom(const ControlEnvelopeV2 &from)
void SharedCtor(::google::protobuf::Arena *arena)
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
void SetCachedSize(int size) const final
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
const std::string & _internal_route() const
static const ::google::protobuf::internal::TcParseTable< 4, 9, 0, 46, 2 > _table_
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
static const ClassData _class_data_
::daphne::Direction _internal_dir() const
const ::google::protobuf::Message::ClassData * GetClassData() const final
const std::string & _internal_payload() const
::daphne::MessageType _internal_type() const
void MergeFrom(const ControlEnvelope &from)
const ::google::protobuf::Message::ClassData * GetClassData() const final
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
void InternalSwap(ControlEnvelope *other)
::google::protobuf::Metadata GetMetadata() const final
::size_t ByteSizeLong() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
friend void swap(ControlEnvelope &a, ControlEnvelope &b)
static const ::google::protobuf::internal::TcParseTable< 1, 2, 0, 0, 2 > _table_
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
void SharedCtor(::google::protobuf::Arena *arena)
void SetCachedSize(int size) const final
void CopyFrom(const ControlEnvelope &from)
static const ClassData _class_data_
void CopyFrom(const DumpSpyBuffersChunkRequest &from)
const ::google::protobuf::RepeatedField<::uint32_t > & _internal_channellist() const
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
::google::protobuf::Metadata GetMetadata() const final
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
void MergeFrom(const DumpSpyBuffersChunkRequest &from)
static const ::google::protobuf::internal::TcParseTable< 3, 6, 0, 51, 2 > _table_
::google::protobuf::RepeatedField<::uint32_t > * _internal_mutable_channellist()
void SharedCtor(::google::protobuf::Arena *arena)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::google::protobuf::Message::ClassData * GetClassData() const final
void InternalSwap(DumpSpyBuffersChunkRequest *other)
const std::string & _internal_requestid() const
static const ::google::protobuf::internal::TcParseTable< 4, 11, 0, 67, 2 > _table_
::google::protobuf::RepeatedField<::uint32_t > * _internal_mutable_data()
const ::google::protobuf::Message::ClassData * GetClassData() const final
const ::google::protobuf::RepeatedField<::uint32_t > & _internal_channellist() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void CopyFrom(const DumpSpyBuffersChunkResponse &from)
const std::string & _internal_message() const
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
const std::string & _internal_requestid() const
::google::protobuf::Metadata GetMetadata() const final
::google::protobuf::RepeatedField<::uint32_t > * _internal_mutable_channellist()
const ::google::protobuf::RepeatedField<::uint32_t > & _internal_data() const
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
void MergeFrom(const DumpSpyBuffersChunkResponse &from)
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
void SharedCtor(::google::protobuf::Arena *arena)
void InternalSwap(DumpSpyBuffersChunkResponse *other)
const ::google::protobuf::RepeatedField<::uint32_t > & _internal_channellist() const
void CopyFrom(const DumpSpyBuffersRequest &from)
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
void SharedCtor(::google::protobuf::Arena *arena)
void InternalSwap(DumpSpyBuffersRequest *other)
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
::google::protobuf::RepeatedField<::uint32_t > * _internal_mutable_channellist()
static const ::google::protobuf::internal::TcParseTable< 2, 4, 0, 0, 2 > _table_
void SetCachedSize(int size) const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::google::protobuf::Metadata GetMetadata() const final
const ::google::protobuf::Message::ClassData * GetClassData() const final
void MergeFrom(const DumpSpyBuffersRequest &from)
::google::protobuf::RepeatedField<::uint32_t > * _internal_mutable_channellist()
const std::string & _internal_message() const
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
void InternalSwap(DumpSpyBuffersResponse *other)
void SharedCtor(::google::protobuf::Arena *arena)
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
void CopyFrom(const DumpSpyBuffersResponse &from)
void MergeFrom(const DumpSpyBuffersResponse &from)
const ::google::protobuf::RepeatedField<::uint32_t > & _internal_channellist() const
const ::google::protobuf::Message::ClassData * GetClassData() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void SetCachedSize(int size) const final
::google::protobuf::Metadata GetMetadata() const final
const ::google::protobuf::RepeatedField<::uint32_t > & _internal_data() const
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
::google::protobuf::RepeatedField<::uint32_t > * _internal_mutable_data()
static const ::google::protobuf::internal::TcParseTable< 3, 7, 0, 45, 2 > _table_
static const ClassData _class_data_
void SetCachedSize(int size) const final
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
::size_t ByteSizeLong() const final
double _internal_power_minus5v() const
void SharedCtor(::google::protobuf::Arena *arena)
void MergeFrom(const GeneralInfo &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::google::protobuf::Metadata GetMetadata() const final
static const ::google::protobuf::internal::TcParseTable< 4, 9, 0, 0, 2 > _table_
bool IsInitialized() const final
void CopyFrom(const GeneralInfo &from)
void InternalSwap(GeneralInfo *other)
const ::google::protobuf::Message::ClassData * GetClassData() const final
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
double _internal_power_plus2p5v() const
::size_t ByteSizeLong() const final
static const ClassData _class_data_
void InternalSwap(InfoRequest *other)
bool IsInitialized() const final
void SetCachedSize(int size) const final
::uint32_t _internal_level() const
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void SharedCtor(::google::protobuf::Arena *arena)
const ::google::protobuf::Message::ClassData * GetClassData() const final
void CopyFrom(const InfoRequest &from)
void MergeFrom(const InfoRequest &from)
static const ::google::protobuf::internal::TcParseTable< 0, 1, 0, 0, 2 > _table_
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
::google::protobuf::Metadata GetMetadata() const final
friend void swap(InfoRequest &a, InfoRequest &b)
static const ::daphne::StreamInfo & stream_info(const InfoResponse *msg)
static const ::daphne::GeneralInfo & general_info(const InfoResponse *msg)
static void set_has_stream_info(HasBits *has_bits)
static constexpr ::int32_t kHasBitsOffset
decltype(std::declval< InfoResponse >()._impl_._has_bits_) HasBits
static void set_has_general_info(HasBits *has_bits)
void SharedCtor(::google::protobuf::Arena *arena)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::daphne::StreamInfo & stream_info() const
const ::google::protobuf::RepeatedPtrField<::daphne::ChannelInfo > & _internal_channels() const
const ::google::protobuf::Message::ClassData * GetClassData() const final
::google::protobuf::RepeatedPtrField<::daphne::ChannelInfo > * _internal_mutable_channels()
::size_t ByteSizeLong() const final
static const ClassData _class_data_
static const ::google::protobuf::internal::TcParseTable< 2, 3, 3, 0, 2 > _table_
friend void swap(InfoResponse &a, InfoResponse &b)
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
void CopyFrom(const InfoResponse &from)
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
const ::daphne::GeneralInfo & general_info() const
void MergeFrom(const InfoResponse &from)
void SetCachedSize(int size) const final
static const InfoResponse * internal_default_instance()
void InternalSwap(InfoResponse *other)
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
::google::protobuf::Metadata GetMetadata() const final
void SetCachedSize(int size) const final
::uint32_t _internal_gain() const
static const ::google::protobuf::internal::TcParseTable< 2, 3, 0, 0, 2 > _table_
static const ClassData _class_data_
::google::protobuf::Metadata GetMetadata() const final
::uint32_t _internal_clamp() const
void MergeFrom(const LNAConfig &from)
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
void InternalSwap(LNAConfig *other)
bool _internal_integrator_disable() const
bool IsInitialized() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::google::protobuf::Message::ClassData * GetClassData() const final
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
void CopyFrom(const LNAConfig &from)
::size_t ByteSizeLong() const final
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
void SharedCtor(::google::protobuf::Arena *arena)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
::google::protobuf::Metadata GetMetadata() const final
static const ::google::protobuf::internal::TcParseTable< 2, 3, 0, 0, 2 > _table_
static const ClassData _class_data_
void SetCachedSize(int size) const final
bool _internal_integrator_disable() const
::size_t ByteSizeLong() const final
void MergeFrom(const PGAConfig &from)
::uint32_t _internal_lpf_cut_frequency() const
void CopyFrom(const PGAConfig &from)
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
const ::google::protobuf::Message::ClassData * GetClassData() const final
void InternalSwap(PGAConfig *other)
void SharedCtor(::google::protobuf::Arena *arena)
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
bool IsInitialized() const final
const ::google::protobuf::RepeatedField<::uint32_t > & _internal_channels() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void SharedCtor(::google::protobuf::Arena *arena)
friend void swap(ReadTriggerCountersRequest &a, ReadTriggerCountersRequest &b)
void MergeFrom(const ReadTriggerCountersRequest &from)
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
const ::google::protobuf::Message::ClassData * GetClassData() const final
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
void InternalSwap(ReadTriggerCountersRequest *other)
::google::protobuf::Metadata GetMetadata() const final
void CopyFrom(const ReadTriggerCountersRequest &from)
::google::protobuf::RepeatedField<::uint32_t > * _internal_mutable_channels()
static const ::google::protobuf::internal::TcParseTable< 1, 2, 0, 0, 2 > _table_
void InternalSwap(ReadTriggerCountersResponse *other)
void SharedCtor(::google::protobuf::Arena *arena)
const ::google::protobuf::RepeatedPtrField<::daphne::TriggerChannelSnapshot > & _internal_snapshots() const
static const ::google::protobuf::internal::TcParseTable< 2, 3, 1, 50, 2 > _table_
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
const std::string & _internal_message() const
const ::google::protobuf::Message::ClassData * GetClassData() const final
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
void CopyFrom(const ReadTriggerCountersResponse &from)
void MergeFrom(const ReadTriggerCountersResponse &from)
::google::protobuf::RepeatedPtrField<::daphne::TriggerChannelSnapshot > * _internal_mutable_snapshots()
::google::protobuf::Metadata GetMetadata() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
friend void swap(ReadTriggerCountersResponse &a, ReadTriggerCountersResponse &b)
::google::protobuf::Metadata GetMetadata() const final
const ::google::protobuf::Message::ClassData * GetClassData() const final
void MergeFrom(const ScrapRequest &from)
static const ClassData _class_data_
::google::protobuf::Metadata GetMetadata() const final
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
void CopyFrom(const ScrapResponse &from)
const ::google::protobuf::Message::ClassData * GetClassData() const final
::size_t ByteSizeLong() const final
static const ClassData _class_data_
void SharedCtor(::google::protobuf::Arena *arena)
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
void InternalSwap(ScrapResponse *other)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const ScrapResponse &from)
void SetCachedSize(int size) const final
static const ::google::protobuf::internal::TcParseTable< 1, 2, 0, 36, 2 > _table_
const std::string & _internal_message() const
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
friend void swap(ScrapResponse &a, ScrapResponse &b)
bool IsInitialized() const final
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const StreamInfo &from)
const ::google::protobuf::Message::ClassData * GetClassData() const final
void SetCachedSize(int size) const final
static const ::google::protobuf::internal::TcParseTable< 2, 4, 0, 0, 2 > _table_
static const ClassData _class_data_
::uint64_t _internal_total_dropped_packets() const
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
::uint64_t _internal_total_packets() const
void SharedCtor(::google::protobuf::Arena *arena)
void InternalSwap(StreamInfo *other)
::google::protobuf::Metadata GetMetadata() const final
::size_t ByteSizeLong() const final
void CopyFrom(const StreamInfo &from)
::uint64_t _internal_new_dropped_packets() const
::uint64_t _internal_new_packets() const
const ::google::protobuf::Message::ClassData * GetClassData() const final
::google::protobuf::Metadata GetMetadata() const final
void MergeFrom(const TestRegRequest &from)
static const ClassData _class_data_
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
::google::protobuf::Metadata GetMetadata() const final
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
const std::string & _internal_message() const
friend void swap(TestRegResponse &a, TestRegResponse &b)
::size_t ByteSizeLong() const final
void CopyFrom(const TestRegResponse &from)
void InternalSwap(TestRegResponse *other)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void SetCachedSize(int size) const final
const ::google::protobuf::Message::ClassData * GetClassData() const final
static const ClassData _class_data_
static const ::google::protobuf::internal::TcParseTable< 1, 2, 0, 38, 2 > _table_
void MergeFrom(const TestRegResponse &from)
void SharedCtor(::google::protobuf::Arena *arena)
void CopyFrom(const TriggerChannelSnapshot &from)
void InternalSwap(TriggerChannelSnapshot *other)
void SharedCtor(::google::protobuf::Arena *arena)
::google::protobuf::Metadata GetMetadata() const final
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
void MergeFrom(const TriggerChannelSnapshot &from)
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
const ::google::protobuf::Message::ClassData * GetClassData() const final
static const ::google::protobuf::internal::TcParseTable< 3, 5, 0, 0, 2 > _table_
void SetCachedSize(int size) const final
void CopyFrom(const WriteMultipleRegisterRequest &from)
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
::google::protobuf::RepeatedPtrField<::daphne::WriteRegister > * _internal_mutable_writes()
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
void MergeFrom(const WriteMultipleRegisterRequest &from)
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
const ::google::protobuf::Message::ClassData * GetClassData() const final
void InternalSwap(WriteMultipleRegisterRequest *other)
void SharedCtor(::google::protobuf::Arena *arena)
const ::google::protobuf::RepeatedPtrField<::daphne::WriteRegister > & _internal_writes() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::google::protobuf::internal::TcParseTable< 0, 1, 1, 0, 2 > _table_
::google::protobuf::Metadata GetMetadata() const final
void InternalSwap(WriteRegisterResponse *other)
void MergeFrom(const WriteRegisterResponse &from)
void SharedCtor(::google::protobuf::Arena *arena)
friend void swap(WriteRegisterResponse &a, WriteRegisterResponse &b)
const ::google::protobuf::Message::ClassData * GetClassData() const final
static const ::google::protobuf::internal::TcParseTable< 1, 2, 0, 44, 2 > _table_
void SetCachedSize(int size) const final
const std::string & _internal_message() const
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
::google::protobuf::Metadata GetMetadata() const final
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void CopyFrom(const WriteRegisterResponse &from)
void InternalSwap(WriteRegister *other)
const ::google::protobuf::Message::ClassData * GetClassData() const final
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
::google::protobuf::Metadata GetMetadata() const final
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
void SharedCtor(::google::protobuf::Arena *arena)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
void MergeFrom(const WriteRegister &from)
::size_t ByteSizeLong() const final
static const ::google::protobuf::internal::TcParseTable< 1, 2, 0, 0, 2 > _table_
::uint64_t _internal_value() const
void CopyFrom(const WriteRegister &from)
::uint64_t _internal_address() const
void SetCachedSize(int size) const final
static const ClassData _class_data_
::absl::once_flag descriptor_table_daphnemodules_2fdaphne_5fcontrol_5fhigh_2eproto_once
::_pb::Metadata file_level_metadata_daphnemodules_2fdaphne_5fcontrol_5fhigh_2eproto[30]
static constexprconst ::_pb::ServiceDescriptor ** file_level_service_descriptors_daphnemodules_2fdaphne_5fcontrol_5fhigh_2eproto
PROTOBUF_ATTRIBUTE_WEAKconst ::_pbi::DescriptorTable * descriptor_table_daphnemodules_2fdaphne_5fcontrol_5fhigh_2eproto_getter()
const ::_pbi::DescriptorTable descriptor_table_daphnemodules_2fdaphne_5fcontrol_5fhigh_2eproto
static const ::_pb::EnumDescriptor * file_level_enum_descriptors_daphnemodules_2fdaphne_5fcontrol_5fhigh_2eproto[3]
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WriteRegisterDefaultTypeInternal _WriteRegister_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GeneralInfoDefaultTypeInternal _GeneralInfo_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DumpSpyBuffersRequestDefaultTypeInternal _DumpSpyBuffersRequest_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 InfoRequestDefaultTypeInternal _InfoRequest_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AFEConfigDefaultTypeInternal _AFEConfig_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WriteRegisterResponseDefaultTypeInternal _WriteRegisterResponse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScrapRequestDefaultTypeInternal _ScrapRequest_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TestRegResponseDefaultTypeInternal _TestRegResponse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TriggerChannelSnapshotDefaultTypeInternal _TriggerChannelSnapshot_default_instance_
bool MessageTypeV2_IsValid(int value)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DumpSpyBuffersChunkResponseDefaultTypeInternal _DumpSpyBuffersChunkResponse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TestRegRequestDefaultTypeInternal _TestRegRequest_default_instance_
bool Direction_IsValid(int value)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ADCConfigDefaultTypeInternal _ADCConfig_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DumpSpyBuffersResponseDefaultTypeInternal _DumpSpyBuffersResponse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WriteMultipleRegisterRequestDefaultTypeInternal _WriteMultipleRegisterRequest_default_instance_
const ::google::protobuf::EnumDescriptor * MessageTypeV2_descriptor()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ConfigureRequestDefaultTypeInternal _ConfigureRequest_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ControlEnvelopeV2DefaultTypeInternal _ControlEnvelopeV2_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ConfigureCLKsResponseDefaultTypeInternal _ConfigureCLKsResponse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ChannelConfigDefaultTypeInternal _ChannelConfig_default_instance_
const ::google::protobuf::EnumDescriptor * Direction_descriptor()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 InfoResponseDefaultTypeInternal _InfoResponse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ReadTriggerCountersResponseDefaultTypeInternal _ReadTriggerCountersResponse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LNAConfigDefaultTypeInternal _LNAConfig_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScrapResponseDefaultTypeInternal _ScrapResponse_default_instance_
bool MessageType_IsValid(int value)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ChannelInfoDefaultTypeInternal _ChannelInfo_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ConfigureResponseDefaultTypeInternal _ConfigureResponse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DumpSpyBuffersChunkRequestDefaultTypeInternal _DumpSpyBuffersChunkRequest_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StreamInfoDefaultTypeInternal _StreamInfo_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ConfigureCLKsRequestDefaultTypeInternal _ConfigureCLKsRequest_default_instance_
const ::google::protobuf::EnumDescriptor * MessageType_descriptor()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PGAConfigDefaultTypeInternal _PGAConfig_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ReadTriggerCountersRequestDefaultTypeInternal _ReadTriggerCountersRequest_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ControlEnvelopeDefaultTypeInternal _ControlEnvelope_default_instance_
mutable::google::protobuf::internal::CachedSize _cached_size_
mutable::google::protobuf::internal::CachedSize _cached_size_
::google::protobuf::internal::HasBits< 1 > _has_bits_
mutable::google::protobuf::internal::CachedSize _cached_size_
mutable::google::protobuf::internal::CachedSize _cached_size_
mutable::google::protobuf::internal::CachedSize _cached_size_
mutable::google::protobuf::internal::CachedSize _cached_size_
::google::protobuf::internal::ArenaStringPtr message_
::google::protobuf::RepeatedPtrField< ::daphne::ChannelConfig > channels_
mutable::google::protobuf::internal::CachedSize _cached_size_
mutable::google::protobuf::internal::CachedSize _full_stream_channels_cached_byte_size_
::google::protobuf::internal::ArenaStringPtr daphne_address_
::google::protobuf::RepeatedField<::uint32_t > full_stream_channels_
::google::protobuf::RepeatedPtrField< ::daphne::AFEConfig > afes_
mutable::google::protobuf::internal::CachedSize _cached_size_
::google::protobuf::internal::ArenaStringPtr message_
::google::protobuf::internal::ArenaStringPtr route_
::google::protobuf::internal::ArenaStringPtr payload_
mutable::google::protobuf::internal::CachedSize _cached_size_
::google::protobuf::internal::ArenaStringPtr payload_
mutable::google::protobuf::internal::CachedSize _cached_size_
mutable::google::protobuf::internal::CachedSize _cached_size_
::google::protobuf::RepeatedField<::uint32_t > channellist_
mutable::google::protobuf::internal::CachedSize _channellist_cached_byte_size_
::google::protobuf::internal::ArenaStringPtr requestid_
::google::protobuf::RepeatedField<::uint32_t > data_
mutable::google::protobuf::internal::CachedSize _data_cached_byte_size_
::google::protobuf::internal::ArenaStringPtr message_
mutable::google::protobuf::internal::CachedSize _channellist_cached_byte_size_
::google::protobuf::RepeatedField<::uint32_t > channellist_
::google::protobuf::internal::ArenaStringPtr requestid_
mutable::google::protobuf::internal::CachedSize _cached_size_
mutable::google::protobuf::internal::CachedSize _channellist_cached_byte_size_
mutable::google::protobuf::internal::CachedSize _cached_size_
::google::protobuf::RepeatedField<::uint32_t > channellist_
mutable::google::protobuf::internal::CachedSize _cached_size_
::google::protobuf::internal::ArenaStringPtr message_
mutable::google::protobuf::internal::CachedSize _channellist_cached_byte_size_
::google::protobuf::RepeatedField<::uint32_t > channellist_
mutable::google::protobuf::internal::CachedSize _data_cached_byte_size_
::google::protobuf::RepeatedField<::uint32_t > data_
mutable::google::protobuf::internal::CachedSize _cached_size_
mutable::google::protobuf::internal::CachedSize _cached_size_
::daphne::GeneralInfo * general_info_
::google::protobuf::RepeatedPtrField< ::daphne::ChannelInfo > channels_
::google::protobuf::internal::HasBits< 1 > _has_bits_
mutable::google::protobuf::internal::CachedSize _cached_size_
mutable::google::protobuf::internal::CachedSize _cached_size_
mutable::google::protobuf::internal::CachedSize _cached_size_
mutable::google::protobuf::internal::CachedSize _cached_size_
::google::protobuf::RepeatedField<::uint32_t > channels_
mutable::google::protobuf::internal::CachedSize _channels_cached_byte_size_
::google::protobuf::RepeatedPtrField< ::daphne::TriggerChannelSnapshot > snapshots_
::google::protobuf::internal::ArenaStringPtr message_
mutable::google::protobuf::internal::CachedSize _cached_size_
::google::protobuf::internal::ArenaStringPtr message_
mutable::google::protobuf::internal::CachedSize _cached_size_
mutable::google::protobuf::internal::CachedSize _cached_size_
::google::protobuf::internal::ArenaStringPtr message_
mutable::google::protobuf::internal::CachedSize _cached_size_
mutable::google::protobuf::internal::CachedSize _cached_size_
::google::protobuf::RepeatedPtrField< ::daphne::WriteRegister > writes_
mutable::google::protobuf::internal::CachedSize _cached_size_
::google::protobuf::internal::ArenaStringPtr message_
mutable::google::protobuf::internal::CachedSize _cached_size_
mutable::google::protobuf::internal::CachedSize _cached_size_
const ::uint32_t TableStruct_wib_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::_pb::Message *const file_default_instances[]
Definition wib.pb.cc:1192