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*\333"
1186 "\021\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\002b\006proto3"
1243};
1262
1263// This function exists to be marked as weak.
1264// It can significantly speed up compilation by breaking up LLVM's SCC
1265// in the .pb.cc translation units. Large translation units see a
1266// reduction of more than 35% of walltime for optimized builds. Without
1267// the weak attribute all the messages in the file, including all the
1268// vtables and everything they use become part of the same SCC through
1269// a cycle like:
1270// GetMetadata -> descriptor table -> default instances ->
1271// vtables -> GetMetadata
1272// By adding a weak function here we break the connection from the
1273// individual vtables back into the descriptor table.
1277// Force running AddDescriptors() at dynamic initialization time.
1278PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
1279static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_daphnemodules_2fdaphne_5fcontrol_5fhigh_2eproto(&descriptor_table_daphnemodules_2fdaphne_5fcontrol_5fhigh_2eproto);
1280namespace daphne {
1281const ::google::protobuf::EnumDescriptor* MessageType_descriptor() {
1282 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_daphnemodules_2fdaphne_5fcontrol_5fhigh_2eproto);
1284}
1285bool MessageType_IsValid(int value) {
1286 switch (value) {
1287 case 0:
1288 case 1:
1289 case 2:
1290 case 3:
1291 case 4:
1292 case 5:
1293 case 6:
1294 case 7:
1295 case 8:
1296 case 9:
1297 case 10:
1298 case 11:
1299 case 12:
1300 case 13:
1301 case 14:
1302 case 15:
1303 case 16:
1304 case 17:
1305 case 18:
1306 case 19:
1307 case 20:
1308 case 21:
1309 case 22:
1310 case 23:
1311 case 24:
1312 case 25:
1313 case 26:
1314 case 27:
1315 case 28:
1316 case 29:
1317 case 30:
1318 case 31:
1319 case 32:
1320 case 100:
1321 case 264:
1322 return true;
1323 default:
1324 return false;
1325 }
1326}
1327const ::google::protobuf::EnumDescriptor* Direction_descriptor() {
1328 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_daphnemodules_2fdaphne_5fcontrol_5fhigh_2eproto);
1330}
1331bool Direction_IsValid(int value) {
1332 switch (value) {
1333 case 0:
1334 case 1:
1335 case 2:
1336 return true;
1337 default:
1338 return false;
1339 }
1340}
1341const ::google::protobuf::EnumDescriptor* MessageTypeV2_descriptor() {
1342 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_daphnemodules_2fdaphne_5fcontrol_5fhigh_2eproto);
1344}
1345bool MessageTypeV2_IsValid(int value) {
1346 switch (value) {
1347 case 0:
1348 case 200:
1349 case 201:
1350 case 202:
1351 case 203:
1352 case 204:
1353 case 205:
1354 case 206:
1355 case 207:
1356 case 208:
1357 case 209:
1358 case 210:
1359 case 211:
1360 case 212:
1361 case 213:
1362 case 214:
1363 case 215:
1364 case 216:
1365 case 217:
1366 case 218:
1367 case 219:
1368 case 220:
1369 case 221:
1370 case 222:
1371 case 223:
1372 case 224:
1373 case 225:
1374 case 226:
1375 case 227:
1376 case 228:
1377 case 229:
1378 case 230:
1379 case 231:
1380 case 232:
1381 case 233:
1382 case 234:
1383 case 235:
1384 case 236:
1385 case 237:
1386 case 238:
1387 case 239:
1388 case 240:
1389 case 241:
1390 case 242:
1391 case 243:
1392 case 244:
1393 case 245:
1394 case 246:
1395 case 247:
1396 case 248:
1397 case 249:
1398 case 250:
1399 case 251:
1400 case 252:
1401 case 253:
1402 case 254:
1403 case 255:
1404 case 256:
1405 case 257:
1406 case 258:
1407 case 259:
1408 case 260:
1409 case 261:
1410 case 262:
1411 case 263:
1412 case 300:
1413 case 301:
1414 case 304:
1415 case 305:
1416 case 320:
1417 case 321:
1418 return true;
1419 default:
1420 return false;
1421 }
1422}
1423// ===================================================================
1424
1426 public:
1427};
1428
1429ConfigureCLKsRequest::ConfigureCLKsRequest(::google::protobuf::Arena* arena)
1430 : ::google::protobuf::Message(arena) {
1431 SharedCtor(arena);
1432 // @@protoc_insertion_point(arena_constructor:daphne.ConfigureCLKsRequest)
1433}
1435 : ::google::protobuf::Message(), _impl_(from._impl_) {
1436 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1437 from._internal_metadata_);
1438 // @@protoc_insertion_point(copy_constructor:daphne.ConfigureCLKsRequest)
1439}
1440inline void ConfigureCLKsRequest::SharedCtor(::_pb::Arena* arena) {
1441 (void)arena;
1442 new (&_impl_) Impl_{
1443 decltype(_impl_.id_){0u},
1444 decltype(_impl_.ctrl_ep_clk_){false},
1445 decltype(_impl_.reset_mmcm1_){false},
1446 decltype(_impl_.reset_endpoint_){false},
1447 /*decltype(_impl_._cached_size_)*/ {},
1448 };
1449}
1451 // @@protoc_insertion_point(destructor:daphne.ConfigureCLKsRequest)
1452 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1453 SharedDtor();
1454}
1456 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
1457}
1459 _impl_._cached_size_.Set(size);
1460}
1461
1462PROTOBUF_NOINLINE void ConfigureCLKsRequest::Clear() {
1463// @@protoc_insertion_point(message_clear_start:daphne.ConfigureCLKsRequest)
1464 ::uint32_t cached_has_bits = 0;
1465 // Prevent compiler warnings about cached_has_bits being unused
1466 (void) cached_has_bits;
1467
1468 ::memset(&_impl_.id_, 0, static_cast<::size_t>(
1469 reinterpret_cast<char*>(&_impl_.reset_endpoint_) -
1470 reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.reset_endpoint_));
1471 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1472}
1473
1475 const char* ptr, ::_pbi::ParseContext* ctx) {
1476 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
1477 return ptr;
1478}
1479
1480
1481PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1482const ::_pbi::TcParseTable<2, 4, 0, 0, 2> ConfigureCLKsRequest::_table_ = {
1483 {
1484 0, // no _has_bits_
1485 0, // no _extensions_
1486 4, 24, // max_field_number, fast_idx_mask
1487 offsetof(decltype(_table_), field_lookup_table),
1488 4294967280, // skipmap
1489 offsetof(decltype(_table_), field_entries),
1490 4, // num_field_entries
1491 0, // num_aux_entries
1492 offsetof(decltype(_table_), field_names), // no aux_entries
1494 ::_pbi::TcParser::GenericFallback, // fallback
1495 }, {{
1496 // bool reset_endpoint = 4;
1497 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ConfigureCLKsRequest, _impl_.reset_endpoint_), 63>(),
1498 {32, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureCLKsRequest, _impl_.reset_endpoint_)}},
1499 // uint32 id = 1;
1500 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ConfigureCLKsRequest, _impl_.id_), 63>(),
1501 {8, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureCLKsRequest, _impl_.id_)}},
1502 // bool ctrl_ep_clk = 2;
1503 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ConfigureCLKsRequest, _impl_.ctrl_ep_clk_), 63>(),
1504 {16, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureCLKsRequest, _impl_.ctrl_ep_clk_)}},
1505 // bool reset_MMCM1 = 3;
1506 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ConfigureCLKsRequest, _impl_.reset_mmcm1_), 63>(),
1507 {24, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureCLKsRequest, _impl_.reset_mmcm1_)}},
1508 }}, {{
1509 65535, 65535
1510 }}, {{
1511 // uint32 id = 1;
1512 {PROTOBUF_FIELD_OFFSET(ConfigureCLKsRequest, _impl_.id_), 0, 0,
1513 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
1514 // bool ctrl_ep_clk = 2;
1515 {PROTOBUF_FIELD_OFFSET(ConfigureCLKsRequest, _impl_.ctrl_ep_clk_), 0, 0,
1516 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
1517 // bool reset_MMCM1 = 3;
1518 {PROTOBUF_FIELD_OFFSET(ConfigureCLKsRequest, _impl_.reset_mmcm1_), 0, 0,
1519 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
1520 // bool reset_endpoint = 4;
1521 {PROTOBUF_FIELD_OFFSET(ConfigureCLKsRequest, _impl_.reset_endpoint_), 0, 0,
1522 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
1523 }},
1524 // no aux_entries
1525 {{
1526 }},
1527};
1528
1530 ::uint8_t* target,
1531 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1532 // @@protoc_insertion_point(serialize_to_array_start:daphne.ConfigureCLKsRequest)
1533 ::uint32_t cached_has_bits = 0;
1534 (void)cached_has_bits;
1535
1536 // uint32 id = 1;
1537 if (this->_internal_id() != 0) {
1538 target = stream->EnsureSpace(target);
1539 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1540 1, this->_internal_id(), target);
1541 }
1542
1543 // bool ctrl_ep_clk = 2;
1544 if (this->_internal_ctrl_ep_clk() != 0) {
1545 target = stream->EnsureSpace(target);
1546 target = ::_pbi::WireFormatLite::WriteBoolToArray(
1547 2, this->_internal_ctrl_ep_clk(), target);
1548 }
1549
1550 // bool reset_MMCM1 = 3;
1551 if (this->_internal_reset_mmcm1() != 0) {
1552 target = stream->EnsureSpace(target);
1553 target = ::_pbi::WireFormatLite::WriteBoolToArray(
1554 3, this->_internal_reset_mmcm1(), target);
1555 }
1556
1557 // bool reset_endpoint = 4;
1558 if (this->_internal_reset_endpoint() != 0) {
1559 target = stream->EnsureSpace(target);
1560 target = ::_pbi::WireFormatLite::WriteBoolToArray(
1561 4, this->_internal_reset_endpoint(), target);
1562 }
1563
1564 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1565 target =
1566 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1567 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1568 }
1569 // @@protoc_insertion_point(serialize_to_array_end:daphne.ConfigureCLKsRequest)
1570 return target;
1571}
1572
1574// @@protoc_insertion_point(message_byte_size_start:daphne.ConfigureCLKsRequest)
1575 ::size_t total_size = 0;
1576
1577 ::uint32_t cached_has_bits = 0;
1578 // Prevent compiler warnings about cached_has_bits being unused
1579 (void) cached_has_bits;
1580
1581 // uint32 id = 1;
1582 if (this->_internal_id() != 0) {
1583 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
1584 this->_internal_id());
1585 }
1586
1587 // bool ctrl_ep_clk = 2;
1588 if (this->_internal_ctrl_ep_clk() != 0) {
1589 total_size += 2;
1590 }
1591
1592 // bool reset_MMCM1 = 3;
1593 if (this->_internal_reset_mmcm1() != 0) {
1594 total_size += 2;
1595 }
1596
1597 // bool reset_endpoint = 4;
1598 if (this->_internal_reset_endpoint() != 0) {
1599 total_size += 2;
1600 }
1601
1602 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
1603}
1604
1605const ::google::protobuf::Message::ClassData ConfigureCLKsRequest::_class_data_ = {
1606 ::google::protobuf::Message::CopyWithSourceCheck,
1608};
1609const ::google::protobuf::Message::ClassData*ConfigureCLKsRequest::GetClassData() const { return &_class_data_; }
1610
1611
1612void ConfigureCLKsRequest::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
1613 auto* const _this = static_cast<ConfigureCLKsRequest*>(&to_msg);
1614 auto& from = static_cast<const ConfigureCLKsRequest&>(from_msg);
1615 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.ConfigureCLKsRequest)
1616 ABSL_DCHECK_NE(&from, _this);
1617 ::uint32_t cached_has_bits = 0;
1618 (void) cached_has_bits;
1619
1620 if (from._internal_id() != 0) {
1621 _this->_internal_set_id(from._internal_id());
1622 }
1623 if (from._internal_ctrl_ep_clk() != 0) {
1624 _this->_internal_set_ctrl_ep_clk(from._internal_ctrl_ep_clk());
1625 }
1626 if (from._internal_reset_mmcm1() != 0) {
1627 _this->_internal_set_reset_mmcm1(from._internal_reset_mmcm1());
1628 }
1629 if (from._internal_reset_endpoint() != 0) {
1630 _this->_internal_set_reset_endpoint(from._internal_reset_endpoint());
1631 }
1632 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1633}
1634
1636// @@protoc_insertion_point(class_specific_copy_from_start:daphne.ConfigureCLKsRequest)
1637 if (&from == this) return;
1638 Clear();
1639 MergeFrom(from);
1640}
1641
1642PROTOBUF_NOINLINE bool ConfigureCLKsRequest::IsInitialized() const {
1643 return true;
1644}
1645
1647 using std::swap;
1648 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1649 ::google::protobuf::internal::memswap<
1650 PROTOBUF_FIELD_OFFSET(ConfigureCLKsRequest, _impl_.reset_endpoint_)
1652 - PROTOBUF_FIELD_OFFSET(ConfigureCLKsRequest, _impl_.id_)>(
1653 reinterpret_cast<char*>(&_impl_.id_),
1654 reinterpret_cast<char*>(&other->_impl_.id_));
1655}
1656
1662// ===================================================================
1663
1665 public:
1666};
1667
1668ConfigureCLKsResponse::ConfigureCLKsResponse(::google::protobuf::Arena* arena)
1669 : ::google::protobuf::Message(arena) {
1670 SharedCtor(arena);
1671 // @@protoc_insertion_point(arena_constructor:daphne.ConfigureCLKsResponse)
1672}
1674 ConfigureCLKsResponse* const _this = this;
1675 (void)_this;
1676 new (&_impl_) Impl_{
1677 decltype(_impl_.message_){},
1678 decltype(_impl_.success_){},
1679 /*decltype(_impl_._cached_size_)*/ {},
1680 };
1681 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1682 from._internal_metadata_);
1683 _impl_.message_.InitDefault();
1684 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1685 _impl_.message_.Set("", GetArenaForAllocation());
1686 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1687 if (!from._internal_message().empty()) {
1688 _this->_impl_.message_.Set(from._internal_message(), _this->GetArenaForAllocation());
1689 }
1690 _this->_impl_.success_ = from._impl_.success_;
1691
1692 // @@protoc_insertion_point(copy_constructor:daphne.ConfigureCLKsResponse)
1693}
1694inline void ConfigureCLKsResponse::SharedCtor(::_pb::Arena* arena) {
1695 (void)arena;
1696 new (&_impl_) Impl_{
1697 decltype(_impl_.message_){},
1698 decltype(_impl_.success_){false},
1699 /*decltype(_impl_._cached_size_)*/ {},
1700 };
1701 _impl_.message_.InitDefault();
1702 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1703 _impl_.message_.Set("", GetArenaForAllocation());
1704 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1705}
1707 // @@protoc_insertion_point(destructor:daphne.ConfigureCLKsResponse)
1708 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1709 SharedDtor();
1710}
1712 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
1713 _impl_.message_.Destroy();
1714}
1716 _impl_._cached_size_.Set(size);
1717}
1718
1719PROTOBUF_NOINLINE void ConfigureCLKsResponse::Clear() {
1720// @@protoc_insertion_point(message_clear_start:daphne.ConfigureCLKsResponse)
1721 ::uint32_t cached_has_bits = 0;
1722 // Prevent compiler warnings about cached_has_bits being unused
1723 (void) cached_has_bits;
1724
1725 _impl_.message_.ClearToEmpty();
1726 _impl_.success_ = false;
1727 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1728}
1729
1731 const char* ptr, ::_pbi::ParseContext* ctx) {
1732 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
1733 return ptr;
1734}
1735
1736
1737PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1738const ::_pbi::TcParseTable<1, 2, 0, 44, 2> ConfigureCLKsResponse::_table_ = {
1739 {
1740 0, // no _has_bits_
1741 0, // no _extensions_
1742 2, 8, // max_field_number, fast_idx_mask
1743 offsetof(decltype(_table_), field_lookup_table),
1744 4294967292, // skipmap
1745 offsetof(decltype(_table_), field_entries),
1746 2, // num_field_entries
1747 0, // num_aux_entries
1748 offsetof(decltype(_table_), field_names), // no aux_entries
1750 ::_pbi::TcParser::GenericFallback, // fallback
1751 }, {{
1752 // string message = 2;
1753 {::_pbi::TcParser::FastUS1,
1754 {18, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureCLKsResponse, _impl_.message_)}},
1755 // bool success = 1;
1756 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ConfigureCLKsResponse, _impl_.success_), 63>(),
1757 {8, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureCLKsResponse, _impl_.success_)}},
1758 }}, {{
1759 65535, 65535
1760 }}, {{
1761 // bool success = 1;
1762 {PROTOBUF_FIELD_OFFSET(ConfigureCLKsResponse, _impl_.success_), 0, 0,
1763 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
1764 // string message = 2;
1765 {PROTOBUF_FIELD_OFFSET(ConfigureCLKsResponse, _impl_.message_), 0, 0,
1766 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
1767 }},
1768 // no aux_entries
1769 {{
1770 "\34\0\7\0\0\0\0\0"
1771 "daphne.ConfigureCLKsResponse"
1772 "message"
1773 }},
1774};
1775
1777 ::uint8_t* target,
1778 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1779 // @@protoc_insertion_point(serialize_to_array_start:daphne.ConfigureCLKsResponse)
1780 ::uint32_t cached_has_bits = 0;
1781 (void)cached_has_bits;
1782
1783 // bool success = 1;
1784 if (this->_internal_success() != 0) {
1785 target = stream->EnsureSpace(target);
1786 target = ::_pbi::WireFormatLite::WriteBoolToArray(
1787 1, this->_internal_success(), target);
1788 }
1789
1790 // string message = 2;
1791 if (!this->_internal_message().empty()) {
1792 const std::string& _s = this->_internal_message();
1793 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1794 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "daphne.ConfigureCLKsResponse.message");
1795 target = stream->WriteStringMaybeAliased(2, _s, target);
1796 }
1797
1798 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1799 target =
1800 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1801 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1802 }
1803 // @@protoc_insertion_point(serialize_to_array_end:daphne.ConfigureCLKsResponse)
1804 return target;
1805}
1806
1808// @@protoc_insertion_point(message_byte_size_start:daphne.ConfigureCLKsResponse)
1809 ::size_t total_size = 0;
1810
1811 ::uint32_t cached_has_bits = 0;
1812 // Prevent compiler warnings about cached_has_bits being unused
1813 (void) cached_has_bits;
1814
1815 // string message = 2;
1816 if (!this->_internal_message().empty()) {
1817 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1818 this->_internal_message());
1819 }
1820
1821 // bool success = 1;
1822 if (this->_internal_success() != 0) {
1823 total_size += 2;
1824 }
1825
1826 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
1827}
1828
1829const ::google::protobuf::Message::ClassData ConfigureCLKsResponse::_class_data_ = {
1830 ::google::protobuf::Message::CopyWithSourceCheck,
1832};
1833const ::google::protobuf::Message::ClassData*ConfigureCLKsResponse::GetClassData() const { return &_class_data_; }
1834
1835
1836void ConfigureCLKsResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
1837 auto* const _this = static_cast<ConfigureCLKsResponse*>(&to_msg);
1838 auto& from = static_cast<const ConfigureCLKsResponse&>(from_msg);
1839 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.ConfigureCLKsResponse)
1840 ABSL_DCHECK_NE(&from, _this);
1841 ::uint32_t cached_has_bits = 0;
1842 (void) cached_has_bits;
1843
1844 if (!from._internal_message().empty()) {
1845 _this->_internal_set_message(from._internal_message());
1846 }
1847 if (from._internal_success() != 0) {
1848 _this->_internal_set_success(from._internal_success());
1849 }
1850 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1851}
1852
1854// @@protoc_insertion_point(class_specific_copy_from_start:daphne.ConfigureCLKsResponse)
1855 if (&from == this) return;
1856 Clear();
1857 MergeFrom(from);
1858}
1859
1860PROTOBUF_NOINLINE bool ConfigureCLKsResponse::IsInitialized() const {
1861 return true;
1862}
1863
1865 using std::swap;
1866 auto* lhs_arena = GetArenaForAllocation();
1867 auto* rhs_arena = other->GetArenaForAllocation();
1868 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1869 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, lhs_arena,
1870 &other->_impl_.message_, rhs_arena);
1872}
1873
1879// ===================================================================
1880
1882 public:
1883};
1884
1885ChannelConfig::ChannelConfig(::google::protobuf::Arena* arena)
1886 : ::google::protobuf::Message(arena) {
1887 SharedCtor(arena);
1888 // @@protoc_insertion_point(arena_constructor:daphne.ChannelConfig)
1889}
1891 : ::google::protobuf::Message(), _impl_(from._impl_) {
1892 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1893 from._internal_metadata_);
1894 // @@protoc_insertion_point(copy_constructor:daphne.ChannelConfig)
1895}
1896inline void ChannelConfig::SharedCtor(::_pb::Arena* arena) {
1897 (void)arena;
1898 new (&_impl_) Impl_{
1899 decltype(_impl_.id_){0u},
1900 decltype(_impl_.trim_){0u},
1901 decltype(_impl_.offset_){0u},
1902 decltype(_impl_.gain_){0u},
1903 /*decltype(_impl_._cached_size_)*/ {},
1904 };
1905}
1907 // @@protoc_insertion_point(destructor:daphne.ChannelConfig)
1908 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1909 SharedDtor();
1910}
1912 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
1913}
1914void ChannelConfig::SetCachedSize(int size) const {
1915 _impl_._cached_size_.Set(size);
1916}
1917
1918PROTOBUF_NOINLINE void ChannelConfig::Clear() {
1919// @@protoc_insertion_point(message_clear_start:daphne.ChannelConfig)
1920 ::uint32_t cached_has_bits = 0;
1921 // Prevent compiler warnings about cached_has_bits being unused
1922 (void) cached_has_bits;
1923
1924 ::memset(&_impl_.id_, 0, static_cast<::size_t>(
1925 reinterpret_cast<char*>(&_impl_.gain_) -
1926 reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.gain_));
1927 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1928}
1929
1931 const char* ptr, ::_pbi::ParseContext* ctx) {
1932 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
1933 return ptr;
1934}
1935
1936
1937PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1938const ::_pbi::TcParseTable<2, 4, 0, 0, 2> ChannelConfig::_table_ = {
1939 {
1940 0, // no _has_bits_
1941 0, // no _extensions_
1942 4, 24, // max_field_number, fast_idx_mask
1943 offsetof(decltype(_table_), field_lookup_table),
1944 4294967280, // skipmap
1945 offsetof(decltype(_table_), field_entries),
1946 4, // num_field_entries
1947 0, // num_aux_entries
1948 offsetof(decltype(_table_), field_names), // no aux_entries
1950 ::_pbi::TcParser::GenericFallback, // fallback
1951 }, {{
1952 // uint32 gain = 4;
1953 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ChannelConfig, _impl_.gain_), 63>(),
1954 {32, 63, 0, PROTOBUF_FIELD_OFFSET(ChannelConfig, _impl_.gain_)}},
1955 // uint32 id = 1;
1956 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ChannelConfig, _impl_.id_), 63>(),
1957 {8, 63, 0, PROTOBUF_FIELD_OFFSET(ChannelConfig, _impl_.id_)}},
1958 // uint32 trim = 2;
1959 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ChannelConfig, _impl_.trim_), 63>(),
1960 {16, 63, 0, PROTOBUF_FIELD_OFFSET(ChannelConfig, _impl_.trim_)}},
1961 // uint32 offset = 3;
1962 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ChannelConfig, _impl_.offset_), 63>(),
1963 {24, 63, 0, PROTOBUF_FIELD_OFFSET(ChannelConfig, _impl_.offset_)}},
1964 }}, {{
1965 65535, 65535
1966 }}, {{
1967 // uint32 id = 1;
1968 {PROTOBUF_FIELD_OFFSET(ChannelConfig, _impl_.id_), 0, 0,
1969 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
1970 // uint32 trim = 2;
1971 {PROTOBUF_FIELD_OFFSET(ChannelConfig, _impl_.trim_), 0, 0,
1972 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
1973 // uint32 offset = 3;
1974 {PROTOBUF_FIELD_OFFSET(ChannelConfig, _impl_.offset_), 0, 0,
1975 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
1976 // uint32 gain = 4;
1977 {PROTOBUF_FIELD_OFFSET(ChannelConfig, _impl_.gain_), 0, 0,
1978 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
1979 }},
1980 // no aux_entries
1981 {{
1982 }},
1983};
1984
1986 ::uint8_t* target,
1987 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1988 // @@protoc_insertion_point(serialize_to_array_start:daphne.ChannelConfig)
1989 ::uint32_t cached_has_bits = 0;
1990 (void)cached_has_bits;
1991
1992 // uint32 id = 1;
1993 if (this->_internal_id() != 0) {
1994 target = stream->EnsureSpace(target);
1995 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1996 1, this->_internal_id(), target);
1997 }
1998
1999 // uint32 trim = 2;
2000 if (this->_internal_trim() != 0) {
2001 target = stream->EnsureSpace(target);
2002 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2003 2, this->_internal_trim(), target);
2004 }
2005
2006 // uint32 offset = 3;
2007 if (this->_internal_offset() != 0) {
2008 target = stream->EnsureSpace(target);
2009 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2010 3, this->_internal_offset(), target);
2011 }
2012
2013 // uint32 gain = 4;
2014 if (this->_internal_gain() != 0) {
2015 target = stream->EnsureSpace(target);
2016 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2017 4, this->_internal_gain(), target);
2018 }
2019
2020 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2021 target =
2022 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2023 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2024 }
2025 // @@protoc_insertion_point(serialize_to_array_end:daphne.ChannelConfig)
2026 return target;
2027}
2028
2030// @@protoc_insertion_point(message_byte_size_start:daphne.ChannelConfig)
2031 ::size_t total_size = 0;
2032
2033 ::uint32_t cached_has_bits = 0;
2034 // Prevent compiler warnings about cached_has_bits being unused
2035 (void) cached_has_bits;
2036
2037 // uint32 id = 1;
2038 if (this->_internal_id() != 0) {
2039 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
2040 this->_internal_id());
2041 }
2042
2043 // uint32 trim = 2;
2044 if (this->_internal_trim() != 0) {
2045 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
2046 this->_internal_trim());
2047 }
2048
2049 // uint32 offset = 3;
2050 if (this->_internal_offset() != 0) {
2051 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
2052 this->_internal_offset());
2053 }
2054
2055 // uint32 gain = 4;
2056 if (this->_internal_gain() != 0) {
2057 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
2058 this->_internal_gain());
2059 }
2060
2061 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
2062}
2063
2064const ::google::protobuf::Message::ClassData ChannelConfig::_class_data_ = {
2065 ::google::protobuf::Message::CopyWithSourceCheck,
2067};
2068const ::google::protobuf::Message::ClassData*ChannelConfig::GetClassData() const { return &_class_data_; }
2069
2070
2071void ChannelConfig::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
2072 auto* const _this = static_cast<ChannelConfig*>(&to_msg);
2073 auto& from = static_cast<const ChannelConfig&>(from_msg);
2074 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.ChannelConfig)
2075 ABSL_DCHECK_NE(&from, _this);
2076 ::uint32_t cached_has_bits = 0;
2077 (void) cached_has_bits;
2078
2079 if (from._internal_id() != 0) {
2080 _this->_internal_set_id(from._internal_id());
2081 }
2082 if (from._internal_trim() != 0) {
2083 _this->_internal_set_trim(from._internal_trim());
2084 }
2085 if (from._internal_offset() != 0) {
2086 _this->_internal_set_offset(from._internal_offset());
2087 }
2088 if (from._internal_gain() != 0) {
2089 _this->_internal_set_gain(from._internal_gain());
2090 }
2091 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2092}
2093
2095// @@protoc_insertion_point(class_specific_copy_from_start:daphne.ChannelConfig)
2096 if (&from == this) return;
2097 Clear();
2098 MergeFrom(from);
2099}
2100
2101PROTOBUF_NOINLINE bool ChannelConfig::IsInitialized() const {
2102 return true;
2103}
2104
2106 using std::swap;
2107 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2108 ::google::protobuf::internal::memswap<
2109 PROTOBUF_FIELD_OFFSET(ChannelConfig, _impl_.gain_)
2111 - PROTOBUF_FIELD_OFFSET(ChannelConfig, _impl_.id_)>(
2112 reinterpret_cast<char*>(&_impl_.id_),
2113 reinterpret_cast<char*>(&other->_impl_.id_));
2114}
2115
2121// ===================================================================
2122
2124 public:
2125 using HasBits = decltype(std::declval<AFEConfig>()._impl_._has_bits_);
2126 static constexpr ::int32_t kHasBitsOffset =
2127 8 * PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_._has_bits_);
2128 static const ::daphne::ADCConfig& adc(const AFEConfig* msg);
2129 static void set_has_adc(HasBits* has_bits) {
2130 (*has_bits)[0] |= 1u;
2131 }
2132 static const ::daphne::PGAConfig& pga(const AFEConfig* msg);
2133 static void set_has_pga(HasBits* has_bits) {
2134 (*has_bits)[0] |= 2u;
2135 }
2136 static const ::daphne::LNAConfig& lna(const AFEConfig* msg);
2137 static void set_has_lna(HasBits* has_bits) {
2138 (*has_bits)[0] |= 4u;
2139 }
2140};
2141
2142const ::daphne::ADCConfig& AFEConfig::_Internal::adc(const AFEConfig* msg) {
2143 return *msg->_impl_.adc_;
2144}
2145const ::daphne::PGAConfig& AFEConfig::_Internal::pga(const AFEConfig* msg) {
2146 return *msg->_impl_.pga_;
2147}
2148const ::daphne::LNAConfig& AFEConfig::_Internal::lna(const AFEConfig* msg) {
2149 return *msg->_impl_.lna_;
2150}
2151AFEConfig::AFEConfig(::google::protobuf::Arena* arena)
2152 : ::google::protobuf::Message(arena) {
2153 SharedCtor(arena);
2154 // @@protoc_insertion_point(arena_constructor:daphne.AFEConfig)
2155}
2156AFEConfig::AFEConfig(const AFEConfig& from) : ::google::protobuf::Message() {
2157 AFEConfig* const _this = this;
2158 (void)_this;
2159 new (&_impl_) Impl_{
2160 decltype(_impl_._has_bits_){from._impl_._has_bits_},
2161 /*decltype(_impl_._cached_size_)*/ {},
2162 decltype(_impl_.adc_){nullptr},
2163 decltype(_impl_.pga_){nullptr},
2164 decltype(_impl_.lna_){nullptr},
2165 decltype(_impl_.id_){},
2166 decltype(_impl_.attenuators_){},
2167 decltype(_impl_.v_bias_){},
2168 };
2169 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2170 from._internal_metadata_);
2171 if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
2172 _this->_impl_.adc_ = new ::daphne::ADCConfig(*from._impl_.adc_);
2173 }
2174 if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
2175 _this->_impl_.pga_ = new ::daphne::PGAConfig(*from._impl_.pga_);
2176 }
2177 if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) {
2178 _this->_impl_.lna_ = new ::daphne::LNAConfig(*from._impl_.lna_);
2179 }
2180 ::memcpy(&_impl_.id_, &from._impl_.id_,
2181 static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.v_bias_) -
2182 reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.v_bias_));
2183
2184 // @@protoc_insertion_point(copy_constructor:daphne.AFEConfig)
2185}
2186inline void AFEConfig::SharedCtor(::_pb::Arena* arena) {
2187 (void)arena;
2188 new (&_impl_) Impl_{
2189 decltype(_impl_._has_bits_){},
2190 /*decltype(_impl_._cached_size_)*/ {},
2191 decltype(_impl_.adc_){nullptr},
2192 decltype(_impl_.pga_){nullptr},
2193 decltype(_impl_.lna_){nullptr},
2194 decltype(_impl_.id_){0u},
2195 decltype(_impl_.attenuators_){0u},
2196 decltype(_impl_.v_bias_){0u},
2197 };
2198}
2200 // @@protoc_insertion_point(destructor:daphne.AFEConfig)
2201 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2202 SharedDtor();
2203}
2205 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
2206 if (this != internal_default_instance()) delete _impl_.adc_;
2207 if (this != internal_default_instance()) delete _impl_.pga_;
2208 if (this != internal_default_instance()) delete _impl_.lna_;
2209}
2210void AFEConfig::SetCachedSize(int size) const {
2211 _impl_._cached_size_.Set(size);
2212}
2213
2214PROTOBUF_NOINLINE void AFEConfig::Clear() {
2215// @@protoc_insertion_point(message_clear_start:daphne.AFEConfig)
2216 ::uint32_t cached_has_bits = 0;
2217 // Prevent compiler warnings about cached_has_bits being unused
2218 (void) cached_has_bits;
2219
2220 cached_has_bits = _impl_._has_bits_[0];
2221 if (cached_has_bits & 0x00000007u) {
2222 if (cached_has_bits & 0x00000001u) {
2223 ABSL_DCHECK(_impl_.adc_ != nullptr);
2224 _impl_.adc_->Clear();
2225 }
2226 if (cached_has_bits & 0x00000002u) {
2227 ABSL_DCHECK(_impl_.pga_ != nullptr);
2228 _impl_.pga_->Clear();
2229 }
2230 if (cached_has_bits & 0x00000004u) {
2231 ABSL_DCHECK(_impl_.lna_ != nullptr);
2232 _impl_.lna_->Clear();
2233 }
2234 }
2235 ::memset(&_impl_.id_, 0, static_cast<::size_t>(
2236 reinterpret_cast<char*>(&_impl_.v_bias_) -
2237 reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.v_bias_));
2238 _impl_._has_bits_.Clear();
2239 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2240}
2241
2243 const char* ptr, ::_pbi::ParseContext* ctx) {
2244 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
2245 return ptr;
2246}
2247
2248
2249PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2250const ::_pbi::TcParseTable<3, 6, 3, 0, 2> AFEConfig::_table_ = {
2251 {
2252 PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_._has_bits_),
2253 0, // no _extensions_
2254 6, 56, // max_field_number, fast_idx_mask
2255 offsetof(decltype(_table_), field_lookup_table),
2256 4294967232, // skipmap
2257 offsetof(decltype(_table_), field_entries),
2258 6, // num_field_entries
2259 3, // num_aux_entries
2260 offsetof(decltype(_table_), aux_entries),
2262 ::_pbi::TcParser::GenericFallback, // fallback
2263 }, {{
2264 {::_pbi::TcParser::MiniParse, {}},
2265 // uint32 id = 1;
2266 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(AFEConfig, _impl_.id_), 63>(),
2267 {8, 63, 0, PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.id_)}},
2268 // uint32 attenuators = 2;
2269 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(AFEConfig, _impl_.attenuators_), 63>(),
2270 {16, 63, 0, PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.attenuators_)}},
2271 // uint32 v_bias = 3;
2272 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(AFEConfig, _impl_.v_bias_), 63>(),
2273 {24, 63, 0, PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.v_bias_)}},
2274 // .daphne.ADCConfig adc = 4;
2275 {::_pbi::TcParser::FastMtS1,
2276 {34, 0, 0, PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.adc_)}},
2277 // .daphne.PGAConfig pga = 5;
2278 {::_pbi::TcParser::FastMtS1,
2279 {42, 1, 1, PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.pga_)}},
2280 // .daphne.LNAConfig lna = 6;
2281 {::_pbi::TcParser::FastMtS1,
2282 {50, 2, 2, PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.lna_)}},
2283 {::_pbi::TcParser::MiniParse, {}},
2284 }}, {{
2285 65535, 65535
2286 }}, {{
2287 // uint32 id = 1;
2288 {PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.id_), -1, 0,
2289 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
2290 // uint32 attenuators = 2;
2291 {PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.attenuators_), -1, 0,
2292 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
2293 // uint32 v_bias = 3;
2294 {PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.v_bias_), -1, 0,
2295 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
2296 // .daphne.ADCConfig adc = 4;
2297 {PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.adc_), _Internal::kHasBitsOffset + 0, 0,
2298 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2299 // .daphne.PGAConfig pga = 5;
2300 {PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.pga_), _Internal::kHasBitsOffset + 1, 1,
2301 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2302 // .daphne.LNAConfig lna = 6;
2303 {PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.lna_), _Internal::kHasBitsOffset + 2, 2,
2304 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2305 }}, {{
2306 {::_pbi::TcParser::GetTable<::daphne::ADCConfig>()},
2307 {::_pbi::TcParser::GetTable<::daphne::PGAConfig>()},
2308 {::_pbi::TcParser::GetTable<::daphne::LNAConfig>()},
2309 }}, {{
2310 }},
2311};
2312
2314 ::uint8_t* target,
2315 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
2316 // @@protoc_insertion_point(serialize_to_array_start:daphne.AFEConfig)
2317 ::uint32_t cached_has_bits = 0;
2318 (void)cached_has_bits;
2319
2320 // uint32 id = 1;
2321 if (this->_internal_id() != 0) {
2322 target = stream->EnsureSpace(target);
2323 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2324 1, this->_internal_id(), target);
2325 }
2326
2327 // uint32 attenuators = 2;
2328 if (this->_internal_attenuators() != 0) {
2329 target = stream->EnsureSpace(target);
2330 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2331 2, this->_internal_attenuators(), target);
2332 }
2333
2334 // uint32 v_bias = 3;
2335 if (this->_internal_v_bias() != 0) {
2336 target = stream->EnsureSpace(target);
2337 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2338 3, this->_internal_v_bias(), target);
2339 }
2340
2341 cached_has_bits = _impl_._has_bits_[0];
2342 // .daphne.ADCConfig adc = 4;
2343 if (cached_has_bits & 0x00000001u) {
2344 target = ::google::protobuf::internal::WireFormatLite::
2345 InternalWriteMessage(4, _Internal::adc(this),
2346 _Internal::adc(this).GetCachedSize(), target, stream);
2347 }
2348
2349 // .daphne.PGAConfig pga = 5;
2350 if (cached_has_bits & 0x00000002u) {
2351 target = ::google::protobuf::internal::WireFormatLite::
2352 InternalWriteMessage(5, _Internal::pga(this),
2353 _Internal::pga(this).GetCachedSize(), target, stream);
2354 }
2355
2356 // .daphne.LNAConfig lna = 6;
2357 if (cached_has_bits & 0x00000004u) {
2358 target = ::google::protobuf::internal::WireFormatLite::
2359 InternalWriteMessage(6, _Internal::lna(this),
2360 _Internal::lna(this).GetCachedSize(), target, stream);
2361 }
2362
2363 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2364 target =
2365 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2366 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2367 }
2368 // @@protoc_insertion_point(serialize_to_array_end:daphne.AFEConfig)
2369 return target;
2370}
2371
2372::size_t AFEConfig::ByteSizeLong() const {
2373// @@protoc_insertion_point(message_byte_size_start:daphne.AFEConfig)
2374 ::size_t total_size = 0;
2375
2376 ::uint32_t cached_has_bits = 0;
2377 // Prevent compiler warnings about cached_has_bits being unused
2378 (void) cached_has_bits;
2379
2380 cached_has_bits = _impl_._has_bits_[0];
2381 if (cached_has_bits & 0x00000007u) {
2382 // .daphne.ADCConfig adc = 4;
2383 if (cached_has_bits & 0x00000001u) {
2384 total_size += 1 +
2385 ::google::protobuf::internal::WireFormatLite::MessageSize(
2386 *_impl_.adc_);
2387 }
2388
2389 // .daphne.PGAConfig pga = 5;
2390 if (cached_has_bits & 0x00000002u) {
2391 total_size += 1 +
2392 ::google::protobuf::internal::WireFormatLite::MessageSize(
2393 *_impl_.pga_);
2394 }
2395
2396 // .daphne.LNAConfig lna = 6;
2397 if (cached_has_bits & 0x00000004u) {
2398 total_size += 1 +
2399 ::google::protobuf::internal::WireFormatLite::MessageSize(
2400 *_impl_.lna_);
2401 }
2402
2403 }
2404 // uint32 id = 1;
2405 if (this->_internal_id() != 0) {
2406 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
2407 this->_internal_id());
2408 }
2409
2410 // uint32 attenuators = 2;
2411 if (this->_internal_attenuators() != 0) {
2412 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
2413 this->_internal_attenuators());
2414 }
2415
2416 // uint32 v_bias = 3;
2417 if (this->_internal_v_bias() != 0) {
2418 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
2419 this->_internal_v_bias());
2420 }
2421
2422 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
2423}
2424
2425const ::google::protobuf::Message::ClassData AFEConfig::_class_data_ = {
2426 ::google::protobuf::Message::CopyWithSourceCheck,
2428};
2429const ::google::protobuf::Message::ClassData*AFEConfig::GetClassData() const { return &_class_data_; }
2430
2431
2432void AFEConfig::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
2433 auto* const _this = static_cast<AFEConfig*>(&to_msg);
2434 auto& from = static_cast<const AFEConfig&>(from_msg);
2435 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.AFEConfig)
2436 ABSL_DCHECK_NE(&from, _this);
2437 ::uint32_t cached_has_bits = 0;
2438 (void) cached_has_bits;
2439
2440 cached_has_bits = from._impl_._has_bits_[0];
2441 if (cached_has_bits & 0x00000007u) {
2442 if (cached_has_bits & 0x00000001u) {
2443 _this->_internal_mutable_adc()->::daphne::ADCConfig::MergeFrom(
2444 from._internal_adc());
2445 }
2446 if (cached_has_bits & 0x00000002u) {
2447 _this->_internal_mutable_pga()->::daphne::PGAConfig::MergeFrom(
2448 from._internal_pga());
2449 }
2450 if (cached_has_bits & 0x00000004u) {
2451 _this->_internal_mutable_lna()->::daphne::LNAConfig::MergeFrom(
2452 from._internal_lna());
2453 }
2454 }
2455 if (from._internal_id() != 0) {
2456 _this->_internal_set_id(from._internal_id());
2457 }
2458 if (from._internal_attenuators() != 0) {
2459 _this->_internal_set_attenuators(from._internal_attenuators());
2460 }
2461 if (from._internal_v_bias() != 0) {
2462 _this->_internal_set_v_bias(from._internal_v_bias());
2463 }
2464 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2465}
2466
2468// @@protoc_insertion_point(class_specific_copy_from_start:daphne.AFEConfig)
2469 if (&from == this) return;
2470 Clear();
2471 MergeFrom(from);
2472}
2473
2474PROTOBUF_NOINLINE bool AFEConfig::IsInitialized() const {
2475 return true;
2476}
2477
2479 using std::swap;
2480 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2481 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2482 ::google::protobuf::internal::memswap<
2483 PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.v_bias_)
2484 + sizeof(AFEConfig::_impl_.v_bias_)
2485 - PROTOBUF_FIELD_OFFSET(AFEConfig, _impl_.adc_)>(
2486 reinterpret_cast<char*>(&_impl_.adc_),
2487 reinterpret_cast<char*>(&other->_impl_.adc_));
2488}
2489
2495// ===================================================================
2496
2498 public:
2499};
2500
2501ADCConfig::ADCConfig(::google::protobuf::Arena* arena)
2502 : ::google::protobuf::Message(arena) {
2503 SharedCtor(arena);
2504 // @@protoc_insertion_point(arena_constructor:daphne.ADCConfig)
2505}
2507 : ::google::protobuf::Message(), _impl_(from._impl_) {
2508 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2509 from._internal_metadata_);
2510 // @@protoc_insertion_point(copy_constructor:daphne.ADCConfig)
2511}
2512inline void ADCConfig::SharedCtor(::_pb::Arena* arena) {
2513 (void)arena;
2514 new (&_impl_) Impl_{
2515 decltype(_impl_.resolution_){false},
2516 decltype(_impl_.output_format_){false},
2517 decltype(_impl_.sb_first_){false},
2518 /*decltype(_impl_._cached_size_)*/ {},
2519 };
2520}
2522 // @@protoc_insertion_point(destructor:daphne.ADCConfig)
2523 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2524 SharedDtor();
2525}
2527 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
2528}
2529void ADCConfig::SetCachedSize(int size) const {
2530 _impl_._cached_size_.Set(size);
2531}
2532
2533PROTOBUF_NOINLINE void ADCConfig::Clear() {
2534// @@protoc_insertion_point(message_clear_start:daphne.ADCConfig)
2535 ::uint32_t cached_has_bits = 0;
2536 // Prevent compiler warnings about cached_has_bits being unused
2537 (void) cached_has_bits;
2538
2539 ::memset(&_impl_.resolution_, 0, static_cast<::size_t>(
2540 reinterpret_cast<char*>(&_impl_.sb_first_) -
2541 reinterpret_cast<char*>(&_impl_.resolution_)) + sizeof(_impl_.sb_first_));
2542 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2543}
2544
2546 const char* ptr, ::_pbi::ParseContext* ctx) {
2547 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
2548 return ptr;
2549}
2550
2551
2552PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2553const ::_pbi::TcParseTable<2, 3, 0, 0, 2> ADCConfig::_table_ = {
2554 {
2555 0, // no _has_bits_
2556 0, // no _extensions_
2557 3, 24, // max_field_number, fast_idx_mask
2558 offsetof(decltype(_table_), field_lookup_table),
2559 4294967288, // skipmap
2560 offsetof(decltype(_table_), field_entries),
2561 3, // num_field_entries
2562 0, // num_aux_entries
2563 offsetof(decltype(_table_), field_names), // no aux_entries
2565 ::_pbi::TcParser::GenericFallback, // fallback
2566 }, {{
2567 {::_pbi::TcParser::MiniParse, {}},
2568 // bool resolution = 1;
2569 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ADCConfig, _impl_.resolution_), 63>(),
2570 {8, 63, 0, PROTOBUF_FIELD_OFFSET(ADCConfig, _impl_.resolution_)}},
2571 // bool output_format = 2;
2572 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ADCConfig, _impl_.output_format_), 63>(),
2573 {16, 63, 0, PROTOBUF_FIELD_OFFSET(ADCConfig, _impl_.output_format_)}},
2574 // bool sb_first = 3;
2575 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ADCConfig, _impl_.sb_first_), 63>(),
2576 {24, 63, 0, PROTOBUF_FIELD_OFFSET(ADCConfig, _impl_.sb_first_)}},
2577 }}, {{
2578 65535, 65535
2579 }}, {{
2580 // bool resolution = 1;
2581 {PROTOBUF_FIELD_OFFSET(ADCConfig, _impl_.resolution_), 0, 0,
2582 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
2583 // bool output_format = 2;
2584 {PROTOBUF_FIELD_OFFSET(ADCConfig, _impl_.output_format_), 0, 0,
2585 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
2586 // bool sb_first = 3;
2587 {PROTOBUF_FIELD_OFFSET(ADCConfig, _impl_.sb_first_), 0, 0,
2588 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
2589 }},
2590 // no aux_entries
2591 {{
2592 }},
2593};
2594
2596 ::uint8_t* target,
2597 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
2598 // @@protoc_insertion_point(serialize_to_array_start:daphne.ADCConfig)
2599 ::uint32_t cached_has_bits = 0;
2600 (void)cached_has_bits;
2601
2602 // bool resolution = 1;
2603 if (this->_internal_resolution() != 0) {
2604 target = stream->EnsureSpace(target);
2605 target = ::_pbi::WireFormatLite::WriteBoolToArray(
2606 1, this->_internal_resolution(), target);
2607 }
2608
2609 // bool output_format = 2;
2610 if (this->_internal_output_format() != 0) {
2611 target = stream->EnsureSpace(target);
2612 target = ::_pbi::WireFormatLite::WriteBoolToArray(
2613 2, this->_internal_output_format(), target);
2614 }
2615
2616 // bool sb_first = 3;
2617 if (this->_internal_sb_first() != 0) {
2618 target = stream->EnsureSpace(target);
2619 target = ::_pbi::WireFormatLite::WriteBoolToArray(
2620 3, this->_internal_sb_first(), target);
2621 }
2622
2623 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2624 target =
2625 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2626 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2627 }
2628 // @@protoc_insertion_point(serialize_to_array_end:daphne.ADCConfig)
2629 return target;
2630}
2631
2632::size_t ADCConfig::ByteSizeLong() const {
2633// @@protoc_insertion_point(message_byte_size_start:daphne.ADCConfig)
2634 ::size_t total_size = 0;
2635
2636 ::uint32_t cached_has_bits = 0;
2637 // Prevent compiler warnings about cached_has_bits being unused
2638 (void) cached_has_bits;
2639
2640 // bool resolution = 1;
2641 if (this->_internal_resolution() != 0) {
2642 total_size += 2;
2643 }
2644
2645 // bool output_format = 2;
2646 if (this->_internal_output_format() != 0) {
2647 total_size += 2;
2648 }
2649
2650 // bool sb_first = 3;
2651 if (this->_internal_sb_first() != 0) {
2652 total_size += 2;
2653 }
2654
2655 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
2656}
2657
2658const ::google::protobuf::Message::ClassData ADCConfig::_class_data_ = {
2659 ::google::protobuf::Message::CopyWithSourceCheck,
2661};
2662const ::google::protobuf::Message::ClassData*ADCConfig::GetClassData() const { return &_class_data_; }
2663
2664
2665void ADCConfig::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
2666 auto* const _this = static_cast<ADCConfig*>(&to_msg);
2667 auto& from = static_cast<const ADCConfig&>(from_msg);
2668 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.ADCConfig)
2669 ABSL_DCHECK_NE(&from, _this);
2670 ::uint32_t cached_has_bits = 0;
2671 (void) cached_has_bits;
2672
2673 if (from._internal_resolution() != 0) {
2674 _this->_internal_set_resolution(from._internal_resolution());
2675 }
2676 if (from._internal_output_format() != 0) {
2677 _this->_internal_set_output_format(from._internal_output_format());
2678 }
2679 if (from._internal_sb_first() != 0) {
2680 _this->_internal_set_sb_first(from._internal_sb_first());
2681 }
2682 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2683}
2684
2686// @@protoc_insertion_point(class_specific_copy_from_start:daphne.ADCConfig)
2687 if (&from == this) return;
2688 Clear();
2689 MergeFrom(from);
2690}
2691
2692PROTOBUF_NOINLINE bool ADCConfig::IsInitialized() const {
2693 return true;
2694}
2695
2697 using std::swap;
2698 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2699 ::google::protobuf::internal::memswap<
2700 PROTOBUF_FIELD_OFFSET(ADCConfig, _impl_.sb_first_)
2702 - PROTOBUF_FIELD_OFFSET(ADCConfig, _impl_.resolution_)>(
2703 reinterpret_cast<char*>(&_impl_.resolution_),
2704 reinterpret_cast<char*>(&other->_impl_.resolution_));
2705}
2706
2712// ===================================================================
2713
2715 public:
2716};
2717
2718PGAConfig::PGAConfig(::google::protobuf::Arena* arena)
2719 : ::google::protobuf::Message(arena) {
2720 SharedCtor(arena);
2721 // @@protoc_insertion_point(arena_constructor:daphne.PGAConfig)
2722}
2724 : ::google::protobuf::Message(), _impl_(from._impl_) {
2725 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2726 from._internal_metadata_);
2727 // @@protoc_insertion_point(copy_constructor:daphne.PGAConfig)
2728}
2729inline void PGAConfig::SharedCtor(::_pb::Arena* arena) {
2730 (void)arena;
2731 new (&_impl_) Impl_{
2732 decltype(_impl_.lpf_cut_frequency_){0u},
2733 decltype(_impl_.integrator_disable_){false},
2734 decltype(_impl_.gain_){false},
2735 /*decltype(_impl_._cached_size_)*/ {},
2736 };
2737}
2739 // @@protoc_insertion_point(destructor:daphne.PGAConfig)
2740 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2741 SharedDtor();
2742}
2744 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
2745}
2746void PGAConfig::SetCachedSize(int size) const {
2747 _impl_._cached_size_.Set(size);
2748}
2749
2750PROTOBUF_NOINLINE void PGAConfig::Clear() {
2751// @@protoc_insertion_point(message_clear_start:daphne.PGAConfig)
2752 ::uint32_t cached_has_bits = 0;
2753 // Prevent compiler warnings about cached_has_bits being unused
2754 (void) cached_has_bits;
2755
2756 ::memset(&_impl_.lpf_cut_frequency_, 0, static_cast<::size_t>(
2757 reinterpret_cast<char*>(&_impl_.gain_) -
2758 reinterpret_cast<char*>(&_impl_.lpf_cut_frequency_)) + sizeof(_impl_.gain_));
2759 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2760}
2761
2763 const char* ptr, ::_pbi::ParseContext* ctx) {
2764 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
2765 return ptr;
2766}
2767
2768
2769PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2770const ::_pbi::TcParseTable<2, 3, 0, 0, 2> PGAConfig::_table_ = {
2771 {
2772 0, // no _has_bits_
2773 0, // no _extensions_
2774 3, 24, // max_field_number, fast_idx_mask
2775 offsetof(decltype(_table_), field_lookup_table),
2776 4294967288, // skipmap
2777 offsetof(decltype(_table_), field_entries),
2778 3, // num_field_entries
2779 0, // num_aux_entries
2780 offsetof(decltype(_table_), field_names), // no aux_entries
2782 ::_pbi::TcParser::GenericFallback, // fallback
2783 }, {{
2784 {::_pbi::TcParser::MiniParse, {}},
2785 // uint32 lpf_cut_frequency = 1;
2786 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(PGAConfig, _impl_.lpf_cut_frequency_), 63>(),
2787 {8, 63, 0, PROTOBUF_FIELD_OFFSET(PGAConfig, _impl_.lpf_cut_frequency_)}},
2788 // bool integrator_disable = 2;
2789 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(PGAConfig, _impl_.integrator_disable_), 63>(),
2790 {16, 63, 0, PROTOBUF_FIELD_OFFSET(PGAConfig, _impl_.integrator_disable_)}},
2791 // bool gain = 3;
2792 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(PGAConfig, _impl_.gain_), 63>(),
2793 {24, 63, 0, PROTOBUF_FIELD_OFFSET(PGAConfig, _impl_.gain_)}},
2794 }}, {{
2795 65535, 65535
2796 }}, {{
2797 // uint32 lpf_cut_frequency = 1;
2798 {PROTOBUF_FIELD_OFFSET(PGAConfig, _impl_.lpf_cut_frequency_), 0, 0,
2799 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
2800 // bool integrator_disable = 2;
2801 {PROTOBUF_FIELD_OFFSET(PGAConfig, _impl_.integrator_disable_), 0, 0,
2802 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
2803 // bool gain = 3;
2804 {PROTOBUF_FIELD_OFFSET(PGAConfig, _impl_.gain_), 0, 0,
2805 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
2806 }},
2807 // no aux_entries
2808 {{
2809 }},
2810};
2811
2813 ::uint8_t* target,
2814 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
2815 // @@protoc_insertion_point(serialize_to_array_start:daphne.PGAConfig)
2816 ::uint32_t cached_has_bits = 0;
2817 (void)cached_has_bits;
2818
2819 // uint32 lpf_cut_frequency = 1;
2820 if (this->_internal_lpf_cut_frequency() != 0) {
2821 target = stream->EnsureSpace(target);
2822 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2823 1, this->_internal_lpf_cut_frequency(), target);
2824 }
2825
2826 // bool integrator_disable = 2;
2827 if (this->_internal_integrator_disable() != 0) {
2828 target = stream->EnsureSpace(target);
2829 target = ::_pbi::WireFormatLite::WriteBoolToArray(
2830 2, this->_internal_integrator_disable(), target);
2831 }
2832
2833 // bool gain = 3;
2834 if (this->_internal_gain() != 0) {
2835 target = stream->EnsureSpace(target);
2836 target = ::_pbi::WireFormatLite::WriteBoolToArray(
2837 3, this->_internal_gain(), target);
2838 }
2839
2840 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2841 target =
2842 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2843 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2844 }
2845 // @@protoc_insertion_point(serialize_to_array_end:daphne.PGAConfig)
2846 return target;
2847}
2848
2849::size_t PGAConfig::ByteSizeLong() const {
2850// @@protoc_insertion_point(message_byte_size_start:daphne.PGAConfig)
2851 ::size_t total_size = 0;
2852
2853 ::uint32_t cached_has_bits = 0;
2854 // Prevent compiler warnings about cached_has_bits being unused
2855 (void) cached_has_bits;
2856
2857 // uint32 lpf_cut_frequency = 1;
2858 if (this->_internal_lpf_cut_frequency() != 0) {
2859 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
2861 }
2862
2863 // bool integrator_disable = 2;
2864 if (this->_internal_integrator_disable() != 0) {
2865 total_size += 2;
2866 }
2867
2868 // bool gain = 3;
2869 if (this->_internal_gain() != 0) {
2870 total_size += 2;
2871 }
2872
2873 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
2874}
2875
2876const ::google::protobuf::Message::ClassData PGAConfig::_class_data_ = {
2877 ::google::protobuf::Message::CopyWithSourceCheck,
2879};
2880const ::google::protobuf::Message::ClassData*PGAConfig::GetClassData() const { return &_class_data_; }
2881
2882
2883void PGAConfig::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
2884 auto* const _this = static_cast<PGAConfig*>(&to_msg);
2885 auto& from = static_cast<const PGAConfig&>(from_msg);
2886 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.PGAConfig)
2887 ABSL_DCHECK_NE(&from, _this);
2888 ::uint32_t cached_has_bits = 0;
2889 (void) cached_has_bits;
2890
2891 if (from._internal_lpf_cut_frequency() != 0) {
2892 _this->_internal_set_lpf_cut_frequency(from._internal_lpf_cut_frequency());
2893 }
2894 if (from._internal_integrator_disable() != 0) {
2895 _this->_internal_set_integrator_disable(from._internal_integrator_disable());
2896 }
2897 if (from._internal_gain() != 0) {
2898 _this->_internal_set_gain(from._internal_gain());
2899 }
2900 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2901}
2902
2904// @@protoc_insertion_point(class_specific_copy_from_start:daphne.PGAConfig)
2905 if (&from == this) return;
2906 Clear();
2907 MergeFrom(from);
2908}
2909
2910PROTOBUF_NOINLINE bool PGAConfig::IsInitialized() const {
2911 return true;
2912}
2913
2915 using std::swap;
2916 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2917 ::google::protobuf::internal::memswap<
2918 PROTOBUF_FIELD_OFFSET(PGAConfig, _impl_.gain_)
2919 + sizeof(PGAConfig::_impl_.gain_)
2920 - PROTOBUF_FIELD_OFFSET(PGAConfig, _impl_.lpf_cut_frequency_)>(
2921 reinterpret_cast<char*>(&_impl_.lpf_cut_frequency_),
2922 reinterpret_cast<char*>(&other->_impl_.lpf_cut_frequency_));
2923}
2924
2930// ===================================================================
2931
2933 public:
2934};
2935
2936LNAConfig::LNAConfig(::google::protobuf::Arena* arena)
2937 : ::google::protobuf::Message(arena) {
2938 SharedCtor(arena);
2939 // @@protoc_insertion_point(arena_constructor:daphne.LNAConfig)
2940}
2942 : ::google::protobuf::Message(), _impl_(from._impl_) {
2943 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2944 from._internal_metadata_);
2945 // @@protoc_insertion_point(copy_constructor:daphne.LNAConfig)
2946}
2947inline void LNAConfig::SharedCtor(::_pb::Arena* arena) {
2948 (void)arena;
2949 new (&_impl_) Impl_{
2950 decltype(_impl_.clamp_){0u},
2951 decltype(_impl_.gain_){0u},
2952 decltype(_impl_.integrator_disable_){false},
2953 /*decltype(_impl_._cached_size_)*/ {},
2954 };
2955}
2957 // @@protoc_insertion_point(destructor:daphne.LNAConfig)
2958 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2959 SharedDtor();
2960}
2962 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
2963}
2964void LNAConfig::SetCachedSize(int size) const {
2965 _impl_._cached_size_.Set(size);
2966}
2967
2968PROTOBUF_NOINLINE void LNAConfig::Clear() {
2969// @@protoc_insertion_point(message_clear_start:daphne.LNAConfig)
2970 ::uint32_t cached_has_bits = 0;
2971 // Prevent compiler warnings about cached_has_bits being unused
2972 (void) cached_has_bits;
2973
2974 ::memset(&_impl_.clamp_, 0, static_cast<::size_t>(
2975 reinterpret_cast<char*>(&_impl_.integrator_disable_) -
2976 reinterpret_cast<char*>(&_impl_.clamp_)) + sizeof(_impl_.integrator_disable_));
2977 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2978}
2979
2981 const char* ptr, ::_pbi::ParseContext* ctx) {
2982 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
2983 return ptr;
2984}
2985
2986
2987PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2988const ::_pbi::TcParseTable<2, 3, 0, 0, 2> LNAConfig::_table_ = {
2989 {
2990 0, // no _has_bits_
2991 0, // no _extensions_
2992 3, 24, // max_field_number, fast_idx_mask
2993 offsetof(decltype(_table_), field_lookup_table),
2994 4294967288, // skipmap
2995 offsetof(decltype(_table_), field_entries),
2996 3, // num_field_entries
2997 0, // num_aux_entries
2998 offsetof(decltype(_table_), field_names), // no aux_entries
3000 ::_pbi::TcParser::GenericFallback, // fallback
3001 }, {{
3002 {::_pbi::TcParser::MiniParse, {}},
3003 // uint32 clamp = 1;
3004 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(LNAConfig, _impl_.clamp_), 63>(),
3005 {8, 63, 0, PROTOBUF_FIELD_OFFSET(LNAConfig, _impl_.clamp_)}},
3006 // uint32 gain = 2;
3007 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(LNAConfig, _impl_.gain_), 63>(),
3008 {16, 63, 0, PROTOBUF_FIELD_OFFSET(LNAConfig, _impl_.gain_)}},
3009 // bool integrator_disable = 3;
3010 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(LNAConfig, _impl_.integrator_disable_), 63>(),
3011 {24, 63, 0, PROTOBUF_FIELD_OFFSET(LNAConfig, _impl_.integrator_disable_)}},
3012 }}, {{
3013 65535, 65535
3014 }}, {{
3015 // uint32 clamp = 1;
3016 {PROTOBUF_FIELD_OFFSET(LNAConfig, _impl_.clamp_), 0, 0,
3017 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
3018 // uint32 gain = 2;
3019 {PROTOBUF_FIELD_OFFSET(LNAConfig, _impl_.gain_), 0, 0,
3020 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
3021 // bool integrator_disable = 3;
3022 {PROTOBUF_FIELD_OFFSET(LNAConfig, _impl_.integrator_disable_), 0, 0,
3023 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
3024 }},
3025 // no aux_entries
3026 {{
3027 }},
3028};
3029
3031 ::uint8_t* target,
3032 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
3033 // @@protoc_insertion_point(serialize_to_array_start:daphne.LNAConfig)
3034 ::uint32_t cached_has_bits = 0;
3035 (void)cached_has_bits;
3036
3037 // uint32 clamp = 1;
3038 if (this->_internal_clamp() != 0) {
3039 target = stream->EnsureSpace(target);
3040 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
3041 1, this->_internal_clamp(), target);
3042 }
3043
3044 // uint32 gain = 2;
3045 if (this->_internal_gain() != 0) {
3046 target = stream->EnsureSpace(target);
3047 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
3048 2, this->_internal_gain(), target);
3049 }
3050
3051 // bool integrator_disable = 3;
3052 if (this->_internal_integrator_disable() != 0) {
3053 target = stream->EnsureSpace(target);
3054 target = ::_pbi::WireFormatLite::WriteBoolToArray(
3055 3, this->_internal_integrator_disable(), target);
3056 }
3057
3058 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3059 target =
3060 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3061 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3062 }
3063 // @@protoc_insertion_point(serialize_to_array_end:daphne.LNAConfig)
3064 return target;
3065}
3066
3067::size_t LNAConfig::ByteSizeLong() const {
3068// @@protoc_insertion_point(message_byte_size_start:daphne.LNAConfig)
3069 ::size_t total_size = 0;
3070
3071 ::uint32_t cached_has_bits = 0;
3072 // Prevent compiler warnings about cached_has_bits being unused
3073 (void) cached_has_bits;
3074
3075 // uint32 clamp = 1;
3076 if (this->_internal_clamp() != 0) {
3077 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
3078 this->_internal_clamp());
3079 }
3080
3081 // uint32 gain = 2;
3082 if (this->_internal_gain() != 0) {
3083 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
3084 this->_internal_gain());
3085 }
3086
3087 // bool integrator_disable = 3;
3088 if (this->_internal_integrator_disable() != 0) {
3089 total_size += 2;
3090 }
3091
3092 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
3093}
3094
3095const ::google::protobuf::Message::ClassData LNAConfig::_class_data_ = {
3096 ::google::protobuf::Message::CopyWithSourceCheck,
3098};
3099const ::google::protobuf::Message::ClassData*LNAConfig::GetClassData() const { return &_class_data_; }
3100
3101
3102void LNAConfig::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
3103 auto* const _this = static_cast<LNAConfig*>(&to_msg);
3104 auto& from = static_cast<const LNAConfig&>(from_msg);
3105 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.LNAConfig)
3106 ABSL_DCHECK_NE(&from, _this);
3107 ::uint32_t cached_has_bits = 0;
3108 (void) cached_has_bits;
3109
3110 if (from._internal_clamp() != 0) {
3111 _this->_internal_set_clamp(from._internal_clamp());
3112 }
3113 if (from._internal_gain() != 0) {
3114 _this->_internal_set_gain(from._internal_gain());
3115 }
3116 if (from._internal_integrator_disable() != 0) {
3117 _this->_internal_set_integrator_disable(from._internal_integrator_disable());
3118 }
3119 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
3120}
3121
3123// @@protoc_insertion_point(class_specific_copy_from_start:daphne.LNAConfig)
3124 if (&from == this) return;
3125 Clear();
3126 MergeFrom(from);
3127}
3128
3129PROTOBUF_NOINLINE bool LNAConfig::IsInitialized() const {
3130 return true;
3131}
3132
3134 using std::swap;
3135 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3136 ::google::protobuf::internal::memswap<
3137 PROTOBUF_FIELD_OFFSET(LNAConfig, _impl_.integrator_disable_)
3139 - PROTOBUF_FIELD_OFFSET(LNAConfig, _impl_.clamp_)>(
3140 reinterpret_cast<char*>(&_impl_.clamp_),
3141 reinterpret_cast<char*>(&other->_impl_.clamp_));
3142}
3143
3149// ===================================================================
3150
3152 public:
3153};
3154
3155ConfigureRequest::ConfigureRequest(::google::protobuf::Arena* arena)
3156 : ::google::protobuf::Message(arena) {
3157 SharedCtor(arena);
3158 // @@protoc_insertion_point(arena_constructor:daphne.ConfigureRequest)
3159}
3160ConfigureRequest::ConfigureRequest(const ConfigureRequest& from) : ::google::protobuf::Message() {
3161 ConfigureRequest* const _this = this;
3162 (void)_this;
3163 new (&_impl_) Impl_{
3164 decltype(_impl_.channels_){from._impl_.channels_},
3165 decltype(_impl_.afes_){from._impl_.afes_},
3167 /* _impl_._full_stream_channels_cached_byte_size_ = */ {0},
3168 decltype(_impl_.daphne_address_){},
3169 decltype(_impl_.slot_){},
3170 decltype(_impl_.timeout_ms_){},
3171 decltype(_impl_.self_trigger_threshold_){},
3172 decltype(_impl_.self_trigger_xcorr_){},
3173 decltype(_impl_.tp_conf_){},
3174 decltype(_impl_.compensator_){},
3175 decltype(_impl_.inverters_){},
3176 decltype(_impl_.biasctrl_){},
3177 /*decltype(_impl_._cached_size_)*/ {},
3178 };
3179 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3180 from._internal_metadata_);
3181 _impl_.daphne_address_.InitDefault();
3182 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3183 _impl_.daphne_address_.Set("", GetArenaForAllocation());
3184 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3185 if (!from._internal_daphne_address().empty()) {
3186 _this->_impl_.daphne_address_.Set(from._internal_daphne_address(), _this->GetArenaForAllocation());
3187 }
3188 ::memcpy(&_impl_.slot_, &from._impl_.slot_,
3189 static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.biasctrl_) -
3190 reinterpret_cast<char*>(&_impl_.slot_)) + sizeof(_impl_.biasctrl_));
3191
3192 // @@protoc_insertion_point(copy_constructor:daphne.ConfigureRequest)
3193}
3194inline void ConfigureRequest::SharedCtor(::_pb::Arena* arena) {
3195 (void)arena;
3196 new (&_impl_) Impl_{
3197 decltype(_impl_.channels_){arena},
3198 decltype(_impl_.afes_){arena},
3199 decltype(_impl_.full_stream_channels_){arena},
3200 /* _impl_._full_stream_channels_cached_byte_size_ = */ {0},
3201 decltype(_impl_.daphne_address_){},
3202 decltype(_impl_.slot_){0u},
3203 decltype(_impl_.timeout_ms_){0u},
3204 decltype(_impl_.self_trigger_threshold_){::uint64_t{0u}},
3205 decltype(_impl_.self_trigger_xcorr_){::uint64_t{0u}},
3206 decltype(_impl_.tp_conf_){::uint64_t{0u}},
3207 decltype(_impl_.compensator_){::uint64_t{0u}},
3208 decltype(_impl_.inverters_){::uint64_t{0u}},
3209 decltype(_impl_.biasctrl_){0u},
3210 /*decltype(_impl_._cached_size_)*/ {},
3211 };
3212 _impl_.daphne_address_.InitDefault();
3213 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3214 _impl_.daphne_address_.Set("", GetArenaForAllocation());
3215 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3216}
3218 // @@protoc_insertion_point(destructor:daphne.ConfigureRequest)
3219 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3220 SharedDtor();
3221}
3223 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
3224 _impl_.channels_.~RepeatedPtrField();
3225 _impl_.afes_.~RepeatedPtrField();
3226 _impl_.full_stream_channels_.~RepeatedField();
3227 _impl_.daphne_address_.Destroy();
3228}
3230 _impl_._cached_size_.Set(size);
3231}
3232
3233PROTOBUF_NOINLINE void ConfigureRequest::Clear() {
3234// @@protoc_insertion_point(message_clear_start:daphne.ConfigureRequest)
3235 ::uint32_t cached_has_bits = 0;
3236 // Prevent compiler warnings about cached_has_bits being unused
3237 (void) cached_has_bits;
3238
3239 _internal_mutable_channels()->Clear();
3240 _internal_mutable_afes()->Clear();
3242 _impl_.daphne_address_.ClearToEmpty();
3243 ::memset(&_impl_.slot_, 0, static_cast<::size_t>(
3244 reinterpret_cast<char*>(&_impl_.biasctrl_) -
3245 reinterpret_cast<char*>(&_impl_.slot_)) + sizeof(_impl_.biasctrl_));
3246 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3247}
3248
3250 const char* ptr, ::_pbi::ParseContext* ctx) {
3251 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
3252 return ptr;
3253}
3254
3255
3256PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3257const ::_pbi::TcParseTable<4, 12, 2, 54, 2> ConfigureRequest::_table_ = {
3258 {
3259 0, // no _has_bits_
3260 0, // no _extensions_
3261 12, 120, // max_field_number, fast_idx_mask
3262 offsetof(decltype(_table_), field_lookup_table),
3263 4294963200, // skipmap
3264 offsetof(decltype(_table_), field_entries),
3265 12, // num_field_entries
3266 2, // num_aux_entries
3267 offsetof(decltype(_table_), aux_entries),
3269 ::_pbi::TcParser::GenericFallback, // fallback
3270 }, {{
3271 {::_pbi::TcParser::MiniParse, {}},
3272 // string daphne_address = 1;
3273 {::_pbi::TcParser::FastUS1,
3274 {10, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.daphne_address_)}},
3275 // uint32 slot = 2;
3276 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ConfigureRequest, _impl_.slot_), 63>(),
3277 {16, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.slot_)}},
3278 // uint32 timeout_ms = 3;
3279 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ConfigureRequest, _impl_.timeout_ms_), 63>(),
3280 {24, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.timeout_ms_)}},
3281 // uint32 biasctrl = 4;
3282 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ConfigureRequest, _impl_.biasctrl_), 63>(),
3283 {32, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.biasctrl_)}},
3284 // uint64 self_trigger_threshold = 5;
3285 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ConfigureRequest, _impl_.self_trigger_threshold_), 63>(),
3286 {40, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.self_trigger_threshold_)}},
3287 // uint64 self_trigger_xcorr = 6;
3288 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ConfigureRequest, _impl_.self_trigger_xcorr_), 63>(),
3289 {48, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.self_trigger_xcorr_)}},
3290 // uint64 tp_conf = 7;
3291 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ConfigureRequest, _impl_.tp_conf_), 63>(),
3292 {56, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.tp_conf_)}},
3293 // uint64 compensator = 8;
3294 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ConfigureRequest, _impl_.compensator_), 63>(),
3295 {64, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.compensator_)}},
3296 // uint64 inverters = 9;
3297 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ConfigureRequest, _impl_.inverters_), 63>(),
3298 {72, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.inverters_)}},
3299 // repeated .daphne.ChannelConfig channels = 10;
3300 {::_pbi::TcParser::FastMtR1,
3301 {82, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.channels_)}},
3302 // repeated .daphne.AFEConfig afes = 11;
3303 {::_pbi::TcParser::FastMtR1,
3304 {90, 63, 1, PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.afes_)}},
3305 // repeated uint32 full_stream_channels = 12;
3306 {::_pbi::TcParser::FastV32P1,
3307 {98, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.full_stream_channels_)}},
3308 {::_pbi::TcParser::MiniParse, {}},
3309 {::_pbi::TcParser::MiniParse, {}},
3310 {::_pbi::TcParser::MiniParse, {}},
3311 }}, {{
3312 65535, 65535
3313 }}, {{
3314 // string daphne_address = 1;
3315 {PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.daphne_address_), 0, 0,
3316 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
3317 // uint32 slot = 2;
3318 {PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.slot_), 0, 0,
3319 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
3320 // uint32 timeout_ms = 3;
3321 {PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.timeout_ms_), 0, 0,
3322 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
3323 // uint32 biasctrl = 4;
3324 {PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.biasctrl_), 0, 0,
3325 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
3326 // uint64 self_trigger_threshold = 5;
3327 {PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.self_trigger_threshold_), 0, 0,
3328 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
3329 // uint64 self_trigger_xcorr = 6;
3330 {PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.self_trigger_xcorr_), 0, 0,
3331 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
3332 // uint64 tp_conf = 7;
3333 {PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.tp_conf_), 0, 0,
3334 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
3335 // uint64 compensator = 8;
3336 {PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.compensator_), 0, 0,
3337 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
3338 // uint64 inverters = 9;
3339 {PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.inverters_), 0, 0,
3340 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
3341 // repeated .daphne.ChannelConfig channels = 10;
3342 {PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.channels_), 0, 0,
3343 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
3344 // repeated .daphne.AFEConfig afes = 11;
3345 {PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.afes_), 0, 1,
3346 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
3347 // repeated uint32 full_stream_channels = 12;
3348 {PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.full_stream_channels_), 0, 0,
3349 (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt32)},
3350 }}, {{
3351 {::_pbi::TcParser::GetTable<::daphne::ChannelConfig>()},
3352 {::_pbi::TcParser::GetTable<::daphne::AFEConfig>()},
3353 }}, {{
3354 "\27\16\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
3355 "daphne.ConfigureRequest"
3356 "daphne_address"
3357 }},
3358};
3359
3361 ::uint8_t* target,
3362 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
3363 // @@protoc_insertion_point(serialize_to_array_start:daphne.ConfigureRequest)
3364 ::uint32_t cached_has_bits = 0;
3365 (void)cached_has_bits;
3366
3367 // string daphne_address = 1;
3368 if (!this->_internal_daphne_address().empty()) {
3369 const std::string& _s = this->_internal_daphne_address();
3370 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3371 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "daphne.ConfigureRequest.daphne_address");
3372 target = stream->WriteStringMaybeAliased(1, _s, target);
3373 }
3374
3375 // uint32 slot = 2;
3376 if (this->_internal_slot() != 0) {
3377 target = stream->EnsureSpace(target);
3378 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
3379 2, this->_internal_slot(), target);
3380 }
3381
3382 // uint32 timeout_ms = 3;
3383 if (this->_internal_timeout_ms() != 0) {
3384 target = stream->EnsureSpace(target);
3385 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
3386 3, this->_internal_timeout_ms(), target);
3387 }
3388
3389 // uint32 biasctrl = 4;
3390 if (this->_internal_biasctrl() != 0) {
3391 target = stream->EnsureSpace(target);
3392 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
3393 4, this->_internal_biasctrl(), target);
3394 }
3395
3396 // uint64 self_trigger_threshold = 5;
3397 if (this->_internal_self_trigger_threshold() != 0) {
3398 target = stream->EnsureSpace(target);
3399 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
3400 5, this->_internal_self_trigger_threshold(), target);
3401 }
3402
3403 // uint64 self_trigger_xcorr = 6;
3404 if (this->_internal_self_trigger_xcorr() != 0) {
3405 target = stream->EnsureSpace(target);
3406 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
3407 6, this->_internal_self_trigger_xcorr(), target);
3408 }
3409
3410 // uint64 tp_conf = 7;
3411 if (this->_internal_tp_conf() != 0) {
3412 target = stream->EnsureSpace(target);
3413 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
3414 7, this->_internal_tp_conf(), target);
3415 }
3416
3417 // uint64 compensator = 8;
3418 if (this->_internal_compensator() != 0) {
3419 target = stream->EnsureSpace(target);
3420 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
3421 8, this->_internal_compensator(), target);
3422 }
3423
3424 // uint64 inverters = 9;
3425 if (this->_internal_inverters() != 0) {
3426 target = stream->EnsureSpace(target);
3427 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
3428 9, this->_internal_inverters(), target);
3429 }
3430
3431 // repeated .daphne.ChannelConfig channels = 10;
3432 for (unsigned i = 0,
3433 n = static_cast<unsigned>(this->_internal_channels_size()); i < n; i++) {
3434 const auto& repfield = this->_internal_channels().Get(i);
3435 target = ::google::protobuf::internal::WireFormatLite::
3436 InternalWriteMessage(10, repfield, repfield.GetCachedSize(), target, stream);
3437 }
3438
3439 // repeated .daphne.AFEConfig afes = 11;
3440 for (unsigned i = 0,
3441 n = static_cast<unsigned>(this->_internal_afes_size()); i < n; i++) {
3442 const auto& repfield = this->_internal_afes().Get(i);
3443 target = ::google::protobuf::internal::WireFormatLite::
3444 InternalWriteMessage(11, repfield, repfield.GetCachedSize(), target, stream);
3445 }
3446
3447 // repeated uint32 full_stream_channels = 12;
3448 {
3449 int byte_size = _impl_._full_stream_channels_cached_byte_size_.Get();
3450 if (byte_size > 0) {
3451 target = stream->WriteUInt32Packed(12, _internal_full_stream_channels(),
3452 byte_size, target);
3453 }
3454 }
3455
3456 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3457 target =
3458 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3459 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3460 }
3461 // @@protoc_insertion_point(serialize_to_array_end:daphne.ConfigureRequest)
3462 return target;
3463}
3464
3466// @@protoc_insertion_point(message_byte_size_start:daphne.ConfigureRequest)
3467 ::size_t total_size = 0;
3468
3469 ::uint32_t cached_has_bits = 0;
3470 // Prevent compiler warnings about cached_has_bits being unused
3471 (void) cached_has_bits;
3472
3473 // repeated .daphne.ChannelConfig channels = 10;
3474 total_size += 1UL * this->_internal_channels_size();
3475 for (const auto& msg : this->_internal_channels()) {
3476 total_size +=
3477 ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
3478 }
3479 // repeated .daphne.AFEConfig afes = 11;
3480 total_size += 1UL * this->_internal_afes_size();
3481 for (const auto& msg : this->_internal_afes()) {
3482 total_size +=
3483 ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
3484 }
3485 // repeated uint32 full_stream_channels = 12;
3486 {
3487 std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
3489 ;
3490 _impl_._full_stream_channels_cached_byte_size_.Set(::_pbi::ToCachedSize(data_size));
3491 std::size_t tag_size = data_size == 0
3492 ? 0
3493 : 1 + ::_pbi::WireFormatLite::Int32Size(
3494 static_cast<int32_t>(data_size))
3495 ;
3496 total_size += tag_size + data_size;
3497 }
3498 // string daphne_address = 1;
3499 if (!this->_internal_daphne_address().empty()) {
3500 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
3501 this->_internal_daphne_address());
3502 }
3503
3504 // uint32 slot = 2;
3505 if (this->_internal_slot() != 0) {
3506 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
3507 this->_internal_slot());
3508 }
3509
3510 // uint32 timeout_ms = 3;
3511 if (this->_internal_timeout_ms() != 0) {
3512 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
3513 this->_internal_timeout_ms());
3514 }
3515
3516 // uint64 self_trigger_threshold = 5;
3517 if (this->_internal_self_trigger_threshold() != 0) {
3518 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
3520 }
3521
3522 // uint64 self_trigger_xcorr = 6;
3523 if (this->_internal_self_trigger_xcorr() != 0) {
3524 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
3526 }
3527
3528 // uint64 tp_conf = 7;
3529 if (this->_internal_tp_conf() != 0) {
3530 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
3531 this->_internal_tp_conf());
3532 }
3533
3534 // uint64 compensator = 8;
3535 if (this->_internal_compensator() != 0) {
3536 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
3537 this->_internal_compensator());
3538 }
3539
3540 // uint64 inverters = 9;
3541 if (this->_internal_inverters() != 0) {
3542 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
3543 this->_internal_inverters());
3544 }
3545
3546 // uint32 biasctrl = 4;
3547 if (this->_internal_biasctrl() != 0) {
3548 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
3549 this->_internal_biasctrl());
3550 }
3551
3552 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
3553}
3554
3555const ::google::protobuf::Message::ClassData ConfigureRequest::_class_data_ = {
3556 ::google::protobuf::Message::CopyWithSourceCheck,
3558};
3559const ::google::protobuf::Message::ClassData*ConfigureRequest::GetClassData() const { return &_class_data_; }
3560
3561
3562void ConfigureRequest::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
3563 auto* const _this = static_cast<ConfigureRequest*>(&to_msg);
3564 auto& from = static_cast<const ConfigureRequest&>(from_msg);
3565 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.ConfigureRequest)
3566 ABSL_DCHECK_NE(&from, _this);
3567 ::uint32_t cached_has_bits = 0;
3568 (void) cached_has_bits;
3569
3570 _this->_internal_mutable_channels()->MergeFrom(from._internal_channels());
3571 _this->_internal_mutable_afes()->MergeFrom(from._internal_afes());
3572 _this->_internal_mutable_full_stream_channels()->MergeFrom(from._internal_full_stream_channels());
3573 if (!from._internal_daphne_address().empty()) {
3574 _this->_internal_set_daphne_address(from._internal_daphne_address());
3575 }
3576 if (from._internal_slot() != 0) {
3577 _this->_internal_set_slot(from._internal_slot());
3578 }
3579 if (from._internal_timeout_ms() != 0) {
3580 _this->_internal_set_timeout_ms(from._internal_timeout_ms());
3581 }
3582 if (from._internal_self_trigger_threshold() != 0) {
3583 _this->_internal_set_self_trigger_threshold(from._internal_self_trigger_threshold());
3584 }
3585 if (from._internal_self_trigger_xcorr() != 0) {
3586 _this->_internal_set_self_trigger_xcorr(from._internal_self_trigger_xcorr());
3587 }
3588 if (from._internal_tp_conf() != 0) {
3589 _this->_internal_set_tp_conf(from._internal_tp_conf());
3590 }
3591 if (from._internal_compensator() != 0) {
3592 _this->_internal_set_compensator(from._internal_compensator());
3593 }
3594 if (from._internal_inverters() != 0) {
3595 _this->_internal_set_inverters(from._internal_inverters());
3596 }
3597 if (from._internal_biasctrl() != 0) {
3598 _this->_internal_set_biasctrl(from._internal_biasctrl());
3599 }
3600 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
3601}
3602
3604// @@protoc_insertion_point(class_specific_copy_from_start:daphne.ConfigureRequest)
3605 if (&from == this) return;
3606 Clear();
3607 MergeFrom(from);
3608}
3609
3610PROTOBUF_NOINLINE bool ConfigureRequest::IsInitialized() const {
3611 return true;
3612}
3613
3615 using std::swap;
3616 auto* lhs_arena = GetArenaForAllocation();
3617 auto* rhs_arena = other->GetArenaForAllocation();
3618 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3619 _impl_.channels_.InternalSwap(&other->_impl_.channels_);
3620 _impl_.afes_.InternalSwap(&other->_impl_.afes_);
3622 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.daphne_address_, lhs_arena,
3623 &other->_impl_.daphne_address_, rhs_arena);
3624 ::google::protobuf::internal::memswap<
3625 PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.biasctrl_)
3627 - PROTOBUF_FIELD_OFFSET(ConfigureRequest, _impl_.slot_)>(
3628 reinterpret_cast<char*>(&_impl_.slot_),
3629 reinterpret_cast<char*>(&other->_impl_.slot_));
3630}
3631
3637// ===================================================================
3638
3640 public:
3641};
3642
3643ConfigureResponse::ConfigureResponse(::google::protobuf::Arena* arena)
3644 : ::google::protobuf::Message(arena) {
3645 SharedCtor(arena);
3646 // @@protoc_insertion_point(arena_constructor:daphne.ConfigureResponse)
3647}
3649 ConfigureResponse* const _this = this;
3650 (void)_this;
3651 new (&_impl_) Impl_{
3652 decltype(_impl_.message_){},
3653 decltype(_impl_.success_){},
3654 /*decltype(_impl_._cached_size_)*/ {},
3655 };
3656 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3657 from._internal_metadata_);
3658 _impl_.message_.InitDefault();
3659 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3660 _impl_.message_.Set("", GetArenaForAllocation());
3661 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3662 if (!from._internal_message().empty()) {
3663 _this->_impl_.message_.Set(from._internal_message(), _this->GetArenaForAllocation());
3664 }
3665 _this->_impl_.success_ = from._impl_.success_;
3666
3667 // @@protoc_insertion_point(copy_constructor:daphne.ConfigureResponse)
3668}
3669inline void ConfigureResponse::SharedCtor(::_pb::Arena* arena) {
3670 (void)arena;
3671 new (&_impl_) Impl_{
3672 decltype(_impl_.message_){},
3673 decltype(_impl_.success_){false},
3674 /*decltype(_impl_._cached_size_)*/ {},
3675 };
3676 _impl_.message_.InitDefault();
3677 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3678 _impl_.message_.Set("", GetArenaForAllocation());
3679 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3680}
3682 // @@protoc_insertion_point(destructor:daphne.ConfigureResponse)
3683 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3684 SharedDtor();
3685}
3687 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
3688 _impl_.message_.Destroy();
3689}
3691 _impl_._cached_size_.Set(size);
3692}
3693
3694PROTOBUF_NOINLINE void ConfigureResponse::Clear() {
3695// @@protoc_insertion_point(message_clear_start:daphne.ConfigureResponse)
3696 ::uint32_t cached_has_bits = 0;
3697 // Prevent compiler warnings about cached_has_bits being unused
3698 (void) cached_has_bits;
3699
3700 _impl_.message_.ClearToEmpty();
3701 _impl_.success_ = false;
3702 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3703}
3704
3706 const char* ptr, ::_pbi::ParseContext* ctx) {
3707 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
3708 return ptr;
3709}
3710
3711
3712PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3713const ::_pbi::TcParseTable<1, 2, 0, 40, 2> ConfigureResponse::_table_ = {
3714 {
3715 0, // no _has_bits_
3716 0, // no _extensions_
3717 2, 8, // max_field_number, fast_idx_mask
3718 offsetof(decltype(_table_), field_lookup_table),
3719 4294967292, // skipmap
3720 offsetof(decltype(_table_), field_entries),
3721 2, // num_field_entries
3722 0, // num_aux_entries
3723 offsetof(decltype(_table_), field_names), // no aux_entries
3725 ::_pbi::TcParser::GenericFallback, // fallback
3726 }, {{
3727 // string message = 2;
3728 {::_pbi::TcParser::FastUS1,
3729 {18, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureResponse, _impl_.message_)}},
3730 // bool success = 1;
3731 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ConfigureResponse, _impl_.success_), 63>(),
3732 {8, 63, 0, PROTOBUF_FIELD_OFFSET(ConfigureResponse, _impl_.success_)}},
3733 }}, {{
3734 65535, 65535
3735 }}, {{
3736 // bool success = 1;
3737 {PROTOBUF_FIELD_OFFSET(ConfigureResponse, _impl_.success_), 0, 0,
3738 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
3739 // string message = 2;
3740 {PROTOBUF_FIELD_OFFSET(ConfigureResponse, _impl_.message_), 0, 0,
3741 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
3742 }},
3743 // no aux_entries
3744 {{
3745 "\30\0\7\0\0\0\0\0"
3746 "daphne.ConfigureResponse"
3747 "message"
3748 }},
3749};
3750
3752 ::uint8_t* target,
3753 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
3754 // @@protoc_insertion_point(serialize_to_array_start:daphne.ConfigureResponse)
3755 ::uint32_t cached_has_bits = 0;
3756 (void)cached_has_bits;
3757
3758 // bool success = 1;
3759 if (this->_internal_success() != 0) {
3760 target = stream->EnsureSpace(target);
3761 target = ::_pbi::WireFormatLite::WriteBoolToArray(
3762 1, this->_internal_success(), target);
3763 }
3764
3765 // string message = 2;
3766 if (!this->_internal_message().empty()) {
3767 const std::string& _s = this->_internal_message();
3768 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3769 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "daphne.ConfigureResponse.message");
3770 target = stream->WriteStringMaybeAliased(2, _s, target);
3771 }
3772
3773 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3774 target =
3775 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3776 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3777 }
3778 // @@protoc_insertion_point(serialize_to_array_end:daphne.ConfigureResponse)
3779 return target;
3780}
3781
3783// @@protoc_insertion_point(message_byte_size_start:daphne.ConfigureResponse)
3784 ::size_t total_size = 0;
3785
3786 ::uint32_t cached_has_bits = 0;
3787 // Prevent compiler warnings about cached_has_bits being unused
3788 (void) cached_has_bits;
3789
3790 // string message = 2;
3791 if (!this->_internal_message().empty()) {
3792 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
3793 this->_internal_message());
3794 }
3795
3796 // bool success = 1;
3797 if (this->_internal_success() != 0) {
3798 total_size += 2;
3799 }
3800
3801 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
3802}
3803
3804const ::google::protobuf::Message::ClassData ConfigureResponse::_class_data_ = {
3805 ::google::protobuf::Message::CopyWithSourceCheck,
3807};
3808const ::google::protobuf::Message::ClassData*ConfigureResponse::GetClassData() const { return &_class_data_; }
3809
3810
3811void ConfigureResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
3812 auto* const _this = static_cast<ConfigureResponse*>(&to_msg);
3813 auto& from = static_cast<const ConfigureResponse&>(from_msg);
3814 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.ConfigureResponse)
3815 ABSL_DCHECK_NE(&from, _this);
3816 ::uint32_t cached_has_bits = 0;
3817 (void) cached_has_bits;
3818
3819 if (!from._internal_message().empty()) {
3820 _this->_internal_set_message(from._internal_message());
3821 }
3822 if (from._internal_success() != 0) {
3823 _this->_internal_set_success(from._internal_success());
3824 }
3825 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
3826}
3827
3829// @@protoc_insertion_point(class_specific_copy_from_start:daphne.ConfigureResponse)
3830 if (&from == this) return;
3831 Clear();
3832 MergeFrom(from);
3833}
3834
3835PROTOBUF_NOINLINE bool ConfigureResponse::IsInitialized() const {
3836 return true;
3837}
3838
3840 using std::swap;
3841 auto* lhs_arena = GetArenaForAllocation();
3842 auto* rhs_arena = other->GetArenaForAllocation();
3843 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3844 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, lhs_arena,
3845 &other->_impl_.message_, rhs_arena);
3847}
3848
3854// ===================================================================
3855
3857 public:
3858};
3859
3860ScrapRequest::ScrapRequest(::google::protobuf::Arena* arena)
3861 : ::google::protobuf::internal::ZeroFieldsBase(arena) {
3862 // @@protoc_insertion_point(arena_constructor:daphne.ScrapRequest)
3863}
3864ScrapRequest::ScrapRequest(const ScrapRequest& from) : ::google::protobuf::internal::ZeroFieldsBase() {
3865 ScrapRequest* const _this = this;
3866 (void)_this;
3867 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3868 from._internal_metadata_);
3869
3870 // @@protoc_insertion_point(copy_constructor:daphne.ScrapRequest)
3871}
3872
3873
3874
3875
3876const ::google::protobuf::Message::ClassData ScrapRequest::_class_data_ = {
3877 ::google::protobuf::internal::ZeroFieldsBase::CopyImpl,
3878 ::google::protobuf::internal::ZeroFieldsBase::MergeImpl,
3879};
3880const ::google::protobuf::Message::ClassData*ScrapRequest::GetClassData() const { return &_class_data_; }
3881
3882
3883
3884
3885
3886
3887
3893// ===================================================================
3894
3896 public:
3897};
3898
3899ScrapResponse::ScrapResponse(::google::protobuf::Arena* arena)
3900 : ::google::protobuf::Message(arena) {
3901 SharedCtor(arena);
3902 // @@protoc_insertion_point(arena_constructor:daphne.ScrapResponse)
3903}
3904ScrapResponse::ScrapResponse(const ScrapResponse& from) : ::google::protobuf::Message() {
3905 ScrapResponse* const _this = this;
3906 (void)_this;
3907 new (&_impl_) Impl_{
3908 decltype(_impl_.message_){},
3909 decltype(_impl_.success_){},
3910 /*decltype(_impl_._cached_size_)*/ {},
3911 };
3912 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3913 from._internal_metadata_);
3914 _impl_.message_.InitDefault();
3915 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3916 _impl_.message_.Set("", GetArenaForAllocation());
3917 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3918 if (!from._internal_message().empty()) {
3919 _this->_impl_.message_.Set(from._internal_message(), _this->GetArenaForAllocation());
3920 }
3921 _this->_impl_.success_ = from._impl_.success_;
3922
3923 // @@protoc_insertion_point(copy_constructor:daphne.ScrapResponse)
3924}
3925inline void ScrapResponse::SharedCtor(::_pb::Arena* arena) {
3926 (void)arena;
3927 new (&_impl_) Impl_{
3928 decltype(_impl_.message_){},
3929 decltype(_impl_.success_){false},
3930 /*decltype(_impl_._cached_size_)*/ {},
3931 };
3932 _impl_.message_.InitDefault();
3933 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3934 _impl_.message_.Set("", GetArenaForAllocation());
3935 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3936}
3938 // @@protoc_insertion_point(destructor:daphne.ScrapResponse)
3939 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3940 SharedDtor();
3941}
3943 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
3944 _impl_.message_.Destroy();
3945}
3946void ScrapResponse::SetCachedSize(int size) const {
3947 _impl_._cached_size_.Set(size);
3948}
3949
3950PROTOBUF_NOINLINE void ScrapResponse::Clear() {
3951// @@protoc_insertion_point(message_clear_start:daphne.ScrapResponse)
3952 ::uint32_t cached_has_bits = 0;
3953 // Prevent compiler warnings about cached_has_bits being unused
3954 (void) cached_has_bits;
3955
3956 _impl_.message_.ClearToEmpty();
3957 _impl_.success_ = false;
3958 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3959}
3960
3962 const char* ptr, ::_pbi::ParseContext* ctx) {
3963 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
3964 return ptr;
3965}
3966
3967
3968PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3969const ::_pbi::TcParseTable<1, 2, 0, 36, 2> ScrapResponse::_table_ = {
3970 {
3971 0, // no _has_bits_
3972 0, // no _extensions_
3973 2, 8, // max_field_number, fast_idx_mask
3974 offsetof(decltype(_table_), field_lookup_table),
3975 4294967292, // skipmap
3976 offsetof(decltype(_table_), field_entries),
3977 2, // num_field_entries
3978 0, // num_aux_entries
3979 offsetof(decltype(_table_), field_names), // no aux_entries
3981 ::_pbi::TcParser::GenericFallback, // fallback
3982 }, {{
3983 // string message = 2;
3984 {::_pbi::TcParser::FastUS1,
3985 {18, 63, 0, PROTOBUF_FIELD_OFFSET(ScrapResponse, _impl_.message_)}},
3986 // bool success = 1;
3987 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ScrapResponse, _impl_.success_), 63>(),
3988 {8, 63, 0, PROTOBUF_FIELD_OFFSET(ScrapResponse, _impl_.success_)}},
3989 }}, {{
3990 65535, 65535
3991 }}, {{
3992 // bool success = 1;
3993 {PROTOBUF_FIELD_OFFSET(ScrapResponse, _impl_.success_), 0, 0,
3994 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
3995 // string message = 2;
3996 {PROTOBUF_FIELD_OFFSET(ScrapResponse, _impl_.message_), 0, 0,
3997 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
3998 }},
3999 // no aux_entries
4000 {{
4001 "\24\0\7\0\0\0\0\0"
4002 "daphne.ScrapResponse"
4003 "message"
4004 }},
4005};
4006
4008 ::uint8_t* target,
4009 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
4010 // @@protoc_insertion_point(serialize_to_array_start:daphne.ScrapResponse)
4011 ::uint32_t cached_has_bits = 0;
4012 (void)cached_has_bits;
4013
4014 // bool success = 1;
4015 if (this->_internal_success() != 0) {
4016 target = stream->EnsureSpace(target);
4017 target = ::_pbi::WireFormatLite::WriteBoolToArray(
4018 1, this->_internal_success(), target);
4019 }
4020
4021 // string message = 2;
4022 if (!this->_internal_message().empty()) {
4023 const std::string& _s = this->_internal_message();
4024 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4025 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "daphne.ScrapResponse.message");
4026 target = stream->WriteStringMaybeAliased(2, _s, target);
4027 }
4028
4029 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4030 target =
4031 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4032 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4033 }
4034 // @@protoc_insertion_point(serialize_to_array_end:daphne.ScrapResponse)
4035 return target;
4036}
4037
4039// @@protoc_insertion_point(message_byte_size_start:daphne.ScrapResponse)
4040 ::size_t total_size = 0;
4041
4042 ::uint32_t cached_has_bits = 0;
4043 // Prevent compiler warnings about cached_has_bits being unused
4044 (void) cached_has_bits;
4045
4046 // string message = 2;
4047 if (!this->_internal_message().empty()) {
4048 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
4049 this->_internal_message());
4050 }
4051
4052 // bool success = 1;
4053 if (this->_internal_success() != 0) {
4054 total_size += 2;
4055 }
4056
4057 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
4058}
4059
4060const ::google::protobuf::Message::ClassData ScrapResponse::_class_data_ = {
4061 ::google::protobuf::Message::CopyWithSourceCheck,
4063};
4064const ::google::protobuf::Message::ClassData*ScrapResponse::GetClassData() const { return &_class_data_; }
4065
4066
4067void ScrapResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
4068 auto* const _this = static_cast<ScrapResponse*>(&to_msg);
4069 auto& from = static_cast<const ScrapResponse&>(from_msg);
4070 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.ScrapResponse)
4071 ABSL_DCHECK_NE(&from, _this);
4072 ::uint32_t cached_has_bits = 0;
4073 (void) cached_has_bits;
4074
4075 if (!from._internal_message().empty()) {
4076 _this->_internal_set_message(from._internal_message());
4077 }
4078 if (from._internal_success() != 0) {
4079 _this->_internal_set_success(from._internal_success());
4080 }
4081 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
4082}
4083
4085// @@protoc_insertion_point(class_specific_copy_from_start:daphne.ScrapResponse)
4086 if (&from == this) return;
4087 Clear();
4088 MergeFrom(from);
4089}
4090
4091PROTOBUF_NOINLINE bool ScrapResponse::IsInitialized() const {
4092 return true;
4093}
4094
4096 using std::swap;
4097 auto* lhs_arena = GetArenaForAllocation();
4098 auto* rhs_arena = other->GetArenaForAllocation();
4099 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4100 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, lhs_arena,
4101 &other->_impl_.message_, rhs_arena);
4103}
4104
4110// ===================================================================
4111
4113 public:
4114};
4115
4116DumpSpyBuffersRequest::DumpSpyBuffersRequest(::google::protobuf::Arena* arena)
4117 : ::google::protobuf::Message(arena) {
4118 SharedCtor(arena);
4119 // @@protoc_insertion_point(arena_constructor:daphne.DumpSpyBuffersRequest)
4120}
4122 DumpSpyBuffersRequest* const _this = this;
4123 (void)_this;
4124 new (&_impl_) Impl_{
4125 decltype(_impl_.channellist_){from._impl_.channellist_},
4126 /* _impl_._channellist_cached_byte_size_ = */ {0},
4127 decltype(_impl_.numberofsamples_){},
4128 decltype(_impl_.numberofwaveforms_){},
4129 decltype(_impl_.softwaretrigger_){},
4130 /*decltype(_impl_._cached_size_)*/ {},
4131 };
4132 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
4133 from._internal_metadata_);
4135 static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.softwaretrigger_) -
4136 reinterpret_cast<char*>(&_impl_.numberofsamples_)) + sizeof(_impl_.softwaretrigger_));
4137
4138 // @@protoc_insertion_point(copy_constructor:daphne.DumpSpyBuffersRequest)
4139}
4140inline void DumpSpyBuffersRequest::SharedCtor(::_pb::Arena* arena) {
4141 (void)arena;
4142 new (&_impl_) Impl_{
4143 decltype(_impl_.channellist_){arena},
4144 /* _impl_._channellist_cached_byte_size_ = */ {0},
4145 decltype(_impl_.numberofsamples_){0u},
4146 decltype(_impl_.numberofwaveforms_){0u},
4147 decltype(_impl_.softwaretrigger_){false},
4148 /*decltype(_impl_._cached_size_)*/ {},
4149 };
4150}
4152 // @@protoc_insertion_point(destructor:daphne.DumpSpyBuffersRequest)
4153 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
4154 SharedDtor();
4155}
4157 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
4158 _impl_.channellist_.~RepeatedField();
4159}
4161 _impl_._cached_size_.Set(size);
4162}
4163
4164PROTOBUF_NOINLINE void DumpSpyBuffersRequest::Clear() {
4165// @@protoc_insertion_point(message_clear_start:daphne.DumpSpyBuffersRequest)
4166 ::uint32_t cached_has_bits = 0;
4167 // Prevent compiler warnings about cached_has_bits being unused
4168 (void) cached_has_bits;
4169
4171 ::memset(&_impl_.numberofsamples_, 0, static_cast<::size_t>(
4172 reinterpret_cast<char*>(&_impl_.softwaretrigger_) -
4173 reinterpret_cast<char*>(&_impl_.numberofsamples_)) + sizeof(_impl_.softwaretrigger_));
4174 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
4175}
4176
4178 const char* ptr, ::_pbi::ParseContext* ctx) {
4179 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
4180 return ptr;
4181}
4182
4183
4184PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4185const ::_pbi::TcParseTable<2, 4, 0, 0, 2> DumpSpyBuffersRequest::_table_ = {
4186 {
4187 0, // no _has_bits_
4188 0, // no _extensions_
4189 4, 24, // max_field_number, fast_idx_mask
4190 offsetof(decltype(_table_), field_lookup_table),
4191 4294967280, // skipmap
4192 offsetof(decltype(_table_), field_entries),
4193 4, // num_field_entries
4194 0, // num_aux_entries
4195 offsetof(decltype(_table_), field_names), // no aux_entries
4197 ::_pbi::TcParser::GenericFallback, // fallback
4198 }, {{
4199 // bool softwareTrigger = 4;
4200 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(DumpSpyBuffersRequest, _impl_.softwaretrigger_), 63>(),
4201 {32, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersRequest, _impl_.softwaretrigger_)}},
4202 // repeated uint32 channelList = 1;
4203 {::_pbi::TcParser::FastV32P1,
4204 {10, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersRequest, _impl_.channellist_)}},
4205 // uint32 numberOfSamples = 2;
4206 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DumpSpyBuffersRequest, _impl_.numberofsamples_), 63>(),
4207 {16, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersRequest, _impl_.numberofsamples_)}},
4208 // uint32 numberOfWaveforms = 3;
4209 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DumpSpyBuffersRequest, _impl_.numberofwaveforms_), 63>(),
4210 {24, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersRequest, _impl_.numberofwaveforms_)}},
4211 }}, {{
4212 65535, 65535
4213 }}, {{
4214 // repeated uint32 channelList = 1;
4215 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersRequest, _impl_.channellist_), 0, 0,
4216 (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt32)},
4217 // uint32 numberOfSamples = 2;
4218 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersRequest, _impl_.numberofsamples_), 0, 0,
4219 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
4220 // uint32 numberOfWaveforms = 3;
4221 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersRequest, _impl_.numberofwaveforms_), 0, 0,
4222 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
4223 // bool softwareTrigger = 4;
4224 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersRequest, _impl_.softwaretrigger_), 0, 0,
4225 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
4226 }},
4227 // no aux_entries
4228 {{
4229 }},
4230};
4231
4233 ::uint8_t* target,
4234 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
4235 // @@protoc_insertion_point(serialize_to_array_start:daphne.DumpSpyBuffersRequest)
4236 ::uint32_t cached_has_bits = 0;
4237 (void)cached_has_bits;
4238
4239 // repeated uint32 channelList = 1;
4240 {
4241 int byte_size = _impl_._channellist_cached_byte_size_.Get();
4242 if (byte_size > 0) {
4243 target = stream->WriteUInt32Packed(1, _internal_channellist(),
4244 byte_size, target);
4245 }
4246 }
4247
4248 // uint32 numberOfSamples = 2;
4249 if (this->_internal_numberofsamples() != 0) {
4250 target = stream->EnsureSpace(target);
4251 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
4252 2, this->_internal_numberofsamples(), target);
4253 }
4254
4255 // uint32 numberOfWaveforms = 3;
4256 if (this->_internal_numberofwaveforms() != 0) {
4257 target = stream->EnsureSpace(target);
4258 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
4259 3, this->_internal_numberofwaveforms(), target);
4260 }
4261
4262 // bool softwareTrigger = 4;
4263 if (this->_internal_softwaretrigger() != 0) {
4264 target = stream->EnsureSpace(target);
4265 target = ::_pbi::WireFormatLite::WriteBoolToArray(
4266 4, this->_internal_softwaretrigger(), target);
4267 }
4268
4269 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4270 target =
4271 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4272 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4273 }
4274 // @@protoc_insertion_point(serialize_to_array_end:daphne.DumpSpyBuffersRequest)
4275 return target;
4276}
4277
4279// @@protoc_insertion_point(message_byte_size_start:daphne.DumpSpyBuffersRequest)
4280 ::size_t total_size = 0;
4281
4282 ::uint32_t cached_has_bits = 0;
4283 // Prevent compiler warnings about cached_has_bits being unused
4284 (void) cached_has_bits;
4285
4286 // repeated uint32 channelList = 1;
4287 {
4288 std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
4289 this->_internal_channellist())
4290 ;
4291 _impl_._channellist_cached_byte_size_.Set(::_pbi::ToCachedSize(data_size));
4292 std::size_t tag_size = data_size == 0
4293 ? 0
4294 : 1 + ::_pbi::WireFormatLite::Int32Size(
4295 static_cast<int32_t>(data_size))
4296 ;
4297 total_size += tag_size + data_size;
4298 }
4299 // uint32 numberOfSamples = 2;
4300 if (this->_internal_numberofsamples() != 0) {
4301 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
4303 }
4304
4305 // uint32 numberOfWaveforms = 3;
4306 if (this->_internal_numberofwaveforms() != 0) {
4307 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
4309 }
4310
4311 // bool softwareTrigger = 4;
4312 if (this->_internal_softwaretrigger() != 0) {
4313 total_size += 2;
4314 }
4315
4316 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
4317}
4318
4319const ::google::protobuf::Message::ClassData DumpSpyBuffersRequest::_class_data_ = {
4320 ::google::protobuf::Message::CopyWithSourceCheck,
4322};
4323const ::google::protobuf::Message::ClassData*DumpSpyBuffersRequest::GetClassData() const { return &_class_data_; }
4324
4325
4326void DumpSpyBuffersRequest::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
4327 auto* const _this = static_cast<DumpSpyBuffersRequest*>(&to_msg);
4328 auto& from = static_cast<const DumpSpyBuffersRequest&>(from_msg);
4329 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.DumpSpyBuffersRequest)
4330 ABSL_DCHECK_NE(&from, _this);
4331 ::uint32_t cached_has_bits = 0;
4332 (void) cached_has_bits;
4333
4334 _this->_internal_mutable_channellist()->MergeFrom(from._internal_channellist());
4335 if (from._internal_numberofsamples() != 0) {
4336 _this->_internal_set_numberofsamples(from._internal_numberofsamples());
4337 }
4338 if (from._internal_numberofwaveforms() != 0) {
4339 _this->_internal_set_numberofwaveforms(from._internal_numberofwaveforms());
4340 }
4341 if (from._internal_softwaretrigger() != 0) {
4342 _this->_internal_set_softwaretrigger(from._internal_softwaretrigger());
4343 }
4344 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
4345}
4346
4348// @@protoc_insertion_point(class_specific_copy_from_start:daphne.DumpSpyBuffersRequest)
4349 if (&from == this) return;
4350 Clear();
4351 MergeFrom(from);
4352}
4353
4354PROTOBUF_NOINLINE bool DumpSpyBuffersRequest::IsInitialized() const {
4355 return true;
4356}
4357
4359 using std::swap;
4360 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4361 _impl_.channellist_.InternalSwap(&other->_impl_.channellist_);
4362 ::google::protobuf::internal::memswap<
4363 PROTOBUF_FIELD_OFFSET(DumpSpyBuffersRequest, _impl_.softwaretrigger_)
4365 - PROTOBUF_FIELD_OFFSET(DumpSpyBuffersRequest, _impl_.numberofsamples_)>(
4366 reinterpret_cast<char*>(&_impl_.numberofsamples_),
4367 reinterpret_cast<char*>(&other->_impl_.numberofsamples_));
4368}
4369
4375// ===================================================================
4376
4378 public:
4379};
4380
4381DumpSpyBuffersResponse::DumpSpyBuffersResponse(::google::protobuf::Arena* arena)
4382 : ::google::protobuf::Message(arena) {
4383 SharedCtor(arena);
4384 // @@protoc_insertion_point(arena_constructor:daphne.DumpSpyBuffersResponse)
4385}
4387 DumpSpyBuffersResponse* const _this = this;
4388 (void)_this;
4389 new (&_impl_) Impl_{
4390 decltype(_impl_.channellist_){from._impl_.channellist_},
4391 /* _impl_._channellist_cached_byte_size_ = */ {0},
4392 decltype(_impl_.data_){from._impl_.data_},
4393 /* _impl_._data_cached_byte_size_ = */ {0},
4394 decltype(_impl_.message_){},
4395 decltype(_impl_.numberofsamples_){},
4396 decltype(_impl_.success_){},
4397 decltype(_impl_.softwaretrigger_){},
4398 decltype(_impl_.numberofwaveforms_){},
4399 /*decltype(_impl_._cached_size_)*/ {},
4400 };
4401 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
4402 from._internal_metadata_);
4403 _impl_.message_.InitDefault();
4404 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4405 _impl_.message_.Set("", GetArenaForAllocation());
4406 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4407 if (!from._internal_message().empty()) {
4408 _this->_impl_.message_.Set(from._internal_message(), _this->GetArenaForAllocation());
4409 }
4411 static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.numberofwaveforms_) -
4412 reinterpret_cast<char*>(&_impl_.numberofsamples_)) + sizeof(_impl_.numberofwaveforms_));
4413
4414 // @@protoc_insertion_point(copy_constructor:daphne.DumpSpyBuffersResponse)
4415}
4416inline void DumpSpyBuffersResponse::SharedCtor(::_pb::Arena* arena) {
4417 (void)arena;
4418 new (&_impl_) Impl_{
4419 decltype(_impl_.channellist_){arena},
4420 /* _impl_._channellist_cached_byte_size_ = */ {0},
4421 decltype(_impl_.data_){arena},
4422 /* _impl_._data_cached_byte_size_ = */ {0},
4423 decltype(_impl_.message_){},
4424 decltype(_impl_.numberofsamples_){0u},
4425 decltype(_impl_.success_){false},
4426 decltype(_impl_.softwaretrigger_){false},
4427 decltype(_impl_.numberofwaveforms_){0u},
4428 /*decltype(_impl_._cached_size_)*/ {},
4429 };
4430 _impl_.message_.InitDefault();
4431 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4432 _impl_.message_.Set("", GetArenaForAllocation());
4433 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4434}
4436 // @@protoc_insertion_point(destructor:daphne.DumpSpyBuffersResponse)
4437 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
4438 SharedDtor();
4439}
4441 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
4442 _impl_.channellist_.~RepeatedField();
4443 _impl_.data_.~RepeatedField();
4444 _impl_.message_.Destroy();
4445}
4447 _impl_._cached_size_.Set(size);
4448}
4449
4450PROTOBUF_NOINLINE void DumpSpyBuffersResponse::Clear() {
4451// @@protoc_insertion_point(message_clear_start:daphne.DumpSpyBuffersResponse)
4452 ::uint32_t cached_has_bits = 0;
4453 // Prevent compiler warnings about cached_has_bits being unused
4454 (void) cached_has_bits;
4455
4457 _internal_mutable_data()->Clear();
4458 _impl_.message_.ClearToEmpty();
4459 ::memset(&_impl_.numberofsamples_, 0, static_cast<::size_t>(
4460 reinterpret_cast<char*>(&_impl_.numberofwaveforms_) -
4461 reinterpret_cast<char*>(&_impl_.numberofsamples_)) + sizeof(_impl_.numberofwaveforms_));
4462 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
4463}
4464
4466 const char* ptr, ::_pbi::ParseContext* ctx) {
4467 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
4468 return ptr;
4469}
4470
4471
4472PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4473const ::_pbi::TcParseTable<3, 7, 0, 45, 2> DumpSpyBuffersResponse::_table_ = {
4474 {
4475 0, // no _has_bits_
4476 0, // no _extensions_
4477 7, 56, // max_field_number, fast_idx_mask
4478 offsetof(decltype(_table_), field_lookup_table),
4479 4294967168, // skipmap
4480 offsetof(decltype(_table_), field_entries),
4481 7, // num_field_entries
4482 0, // num_aux_entries
4483 offsetof(decltype(_table_), field_names), // no aux_entries
4485 ::_pbi::TcParser::GenericFallback, // fallback
4486 }, {{
4487 {::_pbi::TcParser::MiniParse, {}},
4488 // bool success = 1;
4489 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(DumpSpyBuffersResponse, _impl_.success_), 63>(),
4490 {8, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.success_)}},
4491 // repeated uint32 channelList = 2;
4492 {::_pbi::TcParser::FastV32P1,
4493 {18, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.channellist_)}},
4494 // uint32 numberOfSamples = 3;
4495 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DumpSpyBuffersResponse, _impl_.numberofsamples_), 63>(),
4496 {24, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.numberofsamples_)}},
4497 // uint32 numberOfWaveforms = 4;
4498 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DumpSpyBuffersResponse, _impl_.numberofwaveforms_), 63>(),
4499 {32, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.numberofwaveforms_)}},
4500 // bool softwareTrigger = 5;
4501 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(DumpSpyBuffersResponse, _impl_.softwaretrigger_), 63>(),
4502 {40, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.softwaretrigger_)}},
4503 // repeated uint32 data = 6 [packed = true];
4504 {::_pbi::TcParser::FastV32P1,
4505 {50, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.data_)}},
4506 // string message = 7;
4507 {::_pbi::TcParser::FastUS1,
4508 {58, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.message_)}},
4509 }}, {{
4510 65535, 65535
4511 }}, {{
4512 // bool success = 1;
4513 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.success_), 0, 0,
4514 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
4515 // repeated uint32 channelList = 2;
4516 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.channellist_), 0, 0,
4517 (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt32)},
4518 // uint32 numberOfSamples = 3;
4519 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.numberofsamples_), 0, 0,
4520 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
4521 // uint32 numberOfWaveforms = 4;
4522 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.numberofwaveforms_), 0, 0,
4523 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
4524 // bool softwareTrigger = 5;
4525 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.softwaretrigger_), 0, 0,
4526 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
4527 // repeated uint32 data = 6 [packed = true];
4528 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.data_), 0, 0,
4529 (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt32)},
4530 // string message = 7;
4531 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.message_), 0, 0,
4532 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
4533 }},
4534 // no aux_entries
4535 {{
4536 "\35\0\0\0\0\0\0\7"
4537 "daphne.DumpSpyBuffersResponse"
4538 "message"
4539 }},
4540};
4541
4543 ::uint8_t* target,
4544 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
4545 // @@protoc_insertion_point(serialize_to_array_start:daphne.DumpSpyBuffersResponse)
4546 ::uint32_t cached_has_bits = 0;
4547 (void)cached_has_bits;
4548
4549 // bool success = 1;
4550 if (this->_internal_success() != 0) {
4551 target = stream->EnsureSpace(target);
4552 target = ::_pbi::WireFormatLite::WriteBoolToArray(
4553 1, this->_internal_success(), target);
4554 }
4555
4556 // repeated uint32 channelList = 2;
4557 {
4558 int byte_size = _impl_._channellist_cached_byte_size_.Get();
4559 if (byte_size > 0) {
4560 target = stream->WriteUInt32Packed(2, _internal_channellist(),
4561 byte_size, target);
4562 }
4563 }
4564
4565 // uint32 numberOfSamples = 3;
4566 if (this->_internal_numberofsamples() != 0) {
4567 target = stream->EnsureSpace(target);
4568 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
4569 3, this->_internal_numberofsamples(), target);
4570 }
4571
4572 // uint32 numberOfWaveforms = 4;
4573 if (this->_internal_numberofwaveforms() != 0) {
4574 target = stream->EnsureSpace(target);
4575 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
4576 4, this->_internal_numberofwaveforms(), target);
4577 }
4578
4579 // bool softwareTrigger = 5;
4580 if (this->_internal_softwaretrigger() != 0) {
4581 target = stream->EnsureSpace(target);
4582 target = ::_pbi::WireFormatLite::WriteBoolToArray(
4583 5, this->_internal_softwaretrigger(), target);
4584 }
4585
4586 // repeated uint32 data = 6 [packed = true];
4587 {
4588 int byte_size = _impl_._data_cached_byte_size_.Get();
4589 if (byte_size > 0) {
4590 target = stream->WriteUInt32Packed(6, _internal_data(),
4591 byte_size, target);
4592 }
4593 }
4594
4595 // string message = 7;
4596 if (!this->_internal_message().empty()) {
4597 const std::string& _s = this->_internal_message();
4598 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4599 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "daphne.DumpSpyBuffersResponse.message");
4600 target = stream->WriteStringMaybeAliased(7, _s, target);
4601 }
4602
4603 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4604 target =
4605 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4606 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4607 }
4608 // @@protoc_insertion_point(serialize_to_array_end:daphne.DumpSpyBuffersResponse)
4609 return target;
4610}
4611
4613// @@protoc_insertion_point(message_byte_size_start:daphne.DumpSpyBuffersResponse)
4614 ::size_t total_size = 0;
4615
4616 ::uint32_t cached_has_bits = 0;
4617 // Prevent compiler warnings about cached_has_bits being unused
4618 (void) cached_has_bits;
4619
4620 // repeated uint32 channelList = 2;
4621 {
4622 std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
4623 this->_internal_channellist())
4624 ;
4625 _impl_._channellist_cached_byte_size_.Set(::_pbi::ToCachedSize(data_size));
4626 std::size_t tag_size = data_size == 0
4627 ? 0
4628 : 1 + ::_pbi::WireFormatLite::Int32Size(
4629 static_cast<int32_t>(data_size))
4630 ;
4631 total_size += tag_size + data_size;
4632 }
4633 // repeated uint32 data = 6 [packed = true];
4634 {
4635 std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
4636 this->_internal_data())
4637 ;
4638 _impl_._data_cached_byte_size_.Set(::_pbi::ToCachedSize(data_size));
4639 std::size_t tag_size = data_size == 0
4640 ? 0
4641 : 1 + ::_pbi::WireFormatLite::Int32Size(
4642 static_cast<int32_t>(data_size))
4643 ;
4644 total_size += tag_size + data_size;
4645 }
4646 // string message = 7;
4647 if (!this->_internal_message().empty()) {
4648 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
4649 this->_internal_message());
4650 }
4651
4652 // uint32 numberOfSamples = 3;
4653 if (this->_internal_numberofsamples() != 0) {
4654 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
4656 }
4657
4658 // bool success = 1;
4659 if (this->_internal_success() != 0) {
4660 total_size += 2;
4661 }
4662
4663 // bool softwareTrigger = 5;
4664 if (this->_internal_softwaretrigger() != 0) {
4665 total_size += 2;
4666 }
4667
4668 // uint32 numberOfWaveforms = 4;
4669 if (this->_internal_numberofwaveforms() != 0) {
4670 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
4672 }
4673
4674 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
4675}
4676
4677const ::google::protobuf::Message::ClassData DumpSpyBuffersResponse::_class_data_ = {
4678 ::google::protobuf::Message::CopyWithSourceCheck,
4680};
4681const ::google::protobuf::Message::ClassData*DumpSpyBuffersResponse::GetClassData() const { return &_class_data_; }
4682
4683
4684void DumpSpyBuffersResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
4685 auto* const _this = static_cast<DumpSpyBuffersResponse*>(&to_msg);
4686 auto& from = static_cast<const DumpSpyBuffersResponse&>(from_msg);
4687 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.DumpSpyBuffersResponse)
4688 ABSL_DCHECK_NE(&from, _this);
4689 ::uint32_t cached_has_bits = 0;
4690 (void) cached_has_bits;
4691
4692 _this->_internal_mutable_channellist()->MergeFrom(from._internal_channellist());
4693 _this->_internal_mutable_data()->MergeFrom(from._internal_data());
4694 if (!from._internal_message().empty()) {
4695 _this->_internal_set_message(from._internal_message());
4696 }
4697 if (from._internal_numberofsamples() != 0) {
4698 _this->_internal_set_numberofsamples(from._internal_numberofsamples());
4699 }
4700 if (from._internal_success() != 0) {
4701 _this->_internal_set_success(from._internal_success());
4702 }
4703 if (from._internal_softwaretrigger() != 0) {
4704 _this->_internal_set_softwaretrigger(from._internal_softwaretrigger());
4705 }
4706 if (from._internal_numberofwaveforms() != 0) {
4707 _this->_internal_set_numberofwaveforms(from._internal_numberofwaveforms());
4708 }
4709 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
4710}
4711
4713// @@protoc_insertion_point(class_specific_copy_from_start:daphne.DumpSpyBuffersResponse)
4714 if (&from == this) return;
4715 Clear();
4716 MergeFrom(from);
4717}
4718
4719PROTOBUF_NOINLINE bool DumpSpyBuffersResponse::IsInitialized() const {
4720 return true;
4721}
4722
4724 using std::swap;
4725 auto* lhs_arena = GetArenaForAllocation();
4726 auto* rhs_arena = other->GetArenaForAllocation();
4727 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4728 _impl_.channellist_.InternalSwap(&other->_impl_.channellist_);
4729 _impl_.data_.InternalSwap(&other->_impl_.data_);
4730 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, lhs_arena,
4731 &other->_impl_.message_, rhs_arena);
4732 ::google::protobuf::internal::memswap<
4733 PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.numberofwaveforms_)
4735 - PROTOBUF_FIELD_OFFSET(DumpSpyBuffersResponse, _impl_.numberofsamples_)>(
4736 reinterpret_cast<char*>(&_impl_.numberofsamples_),
4737 reinterpret_cast<char*>(&other->_impl_.numberofsamples_));
4738}
4739
4745// ===================================================================
4746
4748 public:
4749};
4750
4752 : ::google::protobuf::Message(arena) {
4753 SharedCtor(arena);
4754 // @@protoc_insertion_point(arena_constructor:daphne.DumpSpyBuffersChunkRequest)
4755}
4757 DumpSpyBuffersChunkRequest* const _this = this;
4758 (void)_this;
4759 new (&_impl_) Impl_{
4760 decltype(_impl_.channellist_){from._impl_.channellist_},
4761 /* _impl_._channellist_cached_byte_size_ = */ {0},
4762 decltype(_impl_.requestid_){},
4763 decltype(_impl_.numberofsamples_){},
4764 decltype(_impl_.numberofwaveforms_){},
4765 decltype(_impl_.softwaretrigger_){},
4766 decltype(_impl_.chunksize_){},
4767 /*decltype(_impl_._cached_size_)*/ {},
4768 };
4769 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
4770 from._internal_metadata_);
4771 _impl_.requestid_.InitDefault();
4772 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4773 _impl_.requestid_.Set("", GetArenaForAllocation());
4774 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4775 if (!from._internal_requestid().empty()) {
4776 _this->_impl_.requestid_.Set(from._internal_requestid(), _this->GetArenaForAllocation());
4777 }
4779 static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.chunksize_) -
4780 reinterpret_cast<char*>(&_impl_.numberofsamples_)) + sizeof(_impl_.chunksize_));
4781
4782 // @@protoc_insertion_point(copy_constructor:daphne.DumpSpyBuffersChunkRequest)
4783}
4784inline void DumpSpyBuffersChunkRequest::SharedCtor(::_pb::Arena* arena) {
4785 (void)arena;
4786 new (&_impl_) Impl_{
4787 decltype(_impl_.channellist_){arena},
4788 /* _impl_._channellist_cached_byte_size_ = */ {0},
4789 decltype(_impl_.requestid_){},
4790 decltype(_impl_.numberofsamples_){0u},
4791 decltype(_impl_.numberofwaveforms_){0u},
4792 decltype(_impl_.softwaretrigger_){false},
4793 decltype(_impl_.chunksize_){0u},
4794 /*decltype(_impl_._cached_size_)*/ {},
4795 };
4796 _impl_.requestid_.InitDefault();
4797 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4798 _impl_.requestid_.Set("", GetArenaForAllocation());
4799 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4800}
4802 // @@protoc_insertion_point(destructor:daphne.DumpSpyBuffersChunkRequest)
4803 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
4804 SharedDtor();
4805}
4807 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
4808 _impl_.channellist_.~RepeatedField();
4809 _impl_.requestid_.Destroy();
4810}
4812 _impl_._cached_size_.Set(size);
4813}
4814
4815PROTOBUF_NOINLINE void DumpSpyBuffersChunkRequest::Clear() {
4816// @@protoc_insertion_point(message_clear_start:daphne.DumpSpyBuffersChunkRequest)
4817 ::uint32_t cached_has_bits = 0;
4818 // Prevent compiler warnings about cached_has_bits being unused
4819 (void) cached_has_bits;
4820
4822 _impl_.requestid_.ClearToEmpty();
4823 ::memset(&_impl_.numberofsamples_, 0, static_cast<::size_t>(
4824 reinterpret_cast<char*>(&_impl_.chunksize_) -
4825 reinterpret_cast<char*>(&_impl_.numberofsamples_)) + sizeof(_impl_.chunksize_));
4826 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
4827}
4828
4830 const char* ptr, ::_pbi::ParseContext* ctx) {
4831 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
4832 return ptr;
4833}
4834
4835
4836PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4837const ::_pbi::TcParseTable<3, 6, 0, 51, 2> DumpSpyBuffersChunkRequest::_table_ = {
4838 {
4839 0, // no _has_bits_
4840 0, // no _extensions_
4841 6, 56, // max_field_number, fast_idx_mask
4842 offsetof(decltype(_table_), field_lookup_table),
4843 4294967232, // skipmap
4844 offsetof(decltype(_table_), field_entries),
4845 6, // num_field_entries
4846 0, // num_aux_entries
4847 offsetof(decltype(_table_), field_names), // no aux_entries
4849 ::_pbi::TcParser::GenericFallback, // fallback
4850 }, {{
4851 {::_pbi::TcParser::MiniParse, {}},
4852 // repeated uint32 channelList = 1;
4853 {::_pbi::TcParser::FastV32P1,
4854 {10, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.channellist_)}},
4855 // uint32 numberOfSamples = 2;
4856 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DumpSpyBuffersChunkRequest, _impl_.numberofsamples_), 63>(),
4857 {16, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.numberofsamples_)}},
4858 // uint32 numberOfWaveforms = 3;
4859 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DumpSpyBuffersChunkRequest, _impl_.numberofwaveforms_), 63>(),
4860 {24, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.numberofwaveforms_)}},
4861 // bool softwareTrigger = 4;
4862 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(DumpSpyBuffersChunkRequest, _impl_.softwaretrigger_), 63>(),
4863 {32, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.softwaretrigger_)}},
4864 // string requestID = 5;
4865 {::_pbi::TcParser::FastUS1,
4866 {42, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.requestid_)}},
4867 // uint32 chunkSize = 6;
4868 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DumpSpyBuffersChunkRequest, _impl_.chunksize_), 63>(),
4869 {48, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.chunksize_)}},
4870 {::_pbi::TcParser::MiniParse, {}},
4871 }}, {{
4872 65535, 65535
4873 }}, {{
4874 // repeated uint32 channelList = 1;
4875 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.channellist_), 0, 0,
4876 (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt32)},
4877 // uint32 numberOfSamples = 2;
4878 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.numberofsamples_), 0, 0,
4879 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
4880 // uint32 numberOfWaveforms = 3;
4881 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.numberofwaveforms_), 0, 0,
4882 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
4883 // bool softwareTrigger = 4;
4884 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.softwaretrigger_), 0, 0,
4885 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
4886 // string requestID = 5;
4887 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.requestid_), 0, 0,
4888 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
4889 // uint32 chunkSize = 6;
4890 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.chunksize_), 0, 0,
4891 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
4892 }},
4893 // no aux_entries
4894 {{
4895 "\41\0\0\0\0\11\0\0"
4896 "daphne.DumpSpyBuffersChunkRequest"
4897 "requestID"
4898 }},
4899};
4900
4902 ::uint8_t* target,
4903 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
4904 // @@protoc_insertion_point(serialize_to_array_start:daphne.DumpSpyBuffersChunkRequest)
4905 ::uint32_t cached_has_bits = 0;
4906 (void)cached_has_bits;
4907
4908 // repeated uint32 channelList = 1;
4909 {
4910 int byte_size = _impl_._channellist_cached_byte_size_.Get();
4911 if (byte_size > 0) {
4912 target = stream->WriteUInt32Packed(1, _internal_channellist(),
4913 byte_size, target);
4914 }
4915 }
4916
4917 // uint32 numberOfSamples = 2;
4918 if (this->_internal_numberofsamples() != 0) {
4919 target = stream->EnsureSpace(target);
4920 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
4921 2, this->_internal_numberofsamples(), target);
4922 }
4923
4924 // uint32 numberOfWaveforms = 3;
4925 if (this->_internal_numberofwaveforms() != 0) {
4926 target = stream->EnsureSpace(target);
4927 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
4928 3, this->_internal_numberofwaveforms(), target);
4929 }
4930
4931 // bool softwareTrigger = 4;
4932 if (this->_internal_softwaretrigger() != 0) {
4933 target = stream->EnsureSpace(target);
4934 target = ::_pbi::WireFormatLite::WriteBoolToArray(
4935 4, this->_internal_softwaretrigger(), target);
4936 }
4937
4938 // string requestID = 5;
4939 if (!this->_internal_requestid().empty()) {
4940 const std::string& _s = this->_internal_requestid();
4941 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4942 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "daphne.DumpSpyBuffersChunkRequest.requestID");
4943 target = stream->WriteStringMaybeAliased(5, _s, target);
4944 }
4945
4946 // uint32 chunkSize = 6;
4947 if (this->_internal_chunksize() != 0) {
4948 target = stream->EnsureSpace(target);
4949 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
4950 6, this->_internal_chunksize(), target);
4951 }
4952
4953 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4954 target =
4955 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4956 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4957 }
4958 // @@protoc_insertion_point(serialize_to_array_end:daphne.DumpSpyBuffersChunkRequest)
4959 return target;
4960}
4961
4963// @@protoc_insertion_point(message_byte_size_start:daphne.DumpSpyBuffersChunkRequest)
4964 ::size_t total_size = 0;
4965
4966 ::uint32_t cached_has_bits = 0;
4967 // Prevent compiler warnings about cached_has_bits being unused
4968 (void) cached_has_bits;
4969
4970 // repeated uint32 channelList = 1;
4971 {
4972 std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
4973 this->_internal_channellist())
4974 ;
4975 _impl_._channellist_cached_byte_size_.Set(::_pbi::ToCachedSize(data_size));
4976 std::size_t tag_size = data_size == 0
4977 ? 0
4978 : 1 + ::_pbi::WireFormatLite::Int32Size(
4979 static_cast<int32_t>(data_size))
4980 ;
4981 total_size += tag_size + data_size;
4982 }
4983 // string requestID = 5;
4984 if (!this->_internal_requestid().empty()) {
4985 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
4986 this->_internal_requestid());
4987 }
4988
4989 // uint32 numberOfSamples = 2;
4990 if (this->_internal_numberofsamples() != 0) {
4991 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
4993 }
4994
4995 // uint32 numberOfWaveforms = 3;
4996 if (this->_internal_numberofwaveforms() != 0) {
4997 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
4999 }
5000
5001 // bool softwareTrigger = 4;
5002 if (this->_internal_softwaretrigger() != 0) {
5003 total_size += 2;
5004 }
5005
5006 // uint32 chunkSize = 6;
5007 if (this->_internal_chunksize() != 0) {
5008 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
5009 this->_internal_chunksize());
5010 }
5011
5012 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
5013}
5014
5015const ::google::protobuf::Message::ClassData DumpSpyBuffersChunkRequest::_class_data_ = {
5016 ::google::protobuf::Message::CopyWithSourceCheck,
5018};
5019const ::google::protobuf::Message::ClassData*DumpSpyBuffersChunkRequest::GetClassData() const { return &_class_data_; }
5020
5021
5022void DumpSpyBuffersChunkRequest::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
5023 auto* const _this = static_cast<DumpSpyBuffersChunkRequest*>(&to_msg);
5024 auto& from = static_cast<const DumpSpyBuffersChunkRequest&>(from_msg);
5025 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.DumpSpyBuffersChunkRequest)
5026 ABSL_DCHECK_NE(&from, _this);
5027 ::uint32_t cached_has_bits = 0;
5028 (void) cached_has_bits;
5029
5030 _this->_internal_mutable_channellist()->MergeFrom(from._internal_channellist());
5031 if (!from._internal_requestid().empty()) {
5032 _this->_internal_set_requestid(from._internal_requestid());
5033 }
5034 if (from._internal_numberofsamples() != 0) {
5035 _this->_internal_set_numberofsamples(from._internal_numberofsamples());
5036 }
5037 if (from._internal_numberofwaveforms() != 0) {
5038 _this->_internal_set_numberofwaveforms(from._internal_numberofwaveforms());
5039 }
5040 if (from._internal_softwaretrigger() != 0) {
5041 _this->_internal_set_softwaretrigger(from._internal_softwaretrigger());
5042 }
5043 if (from._internal_chunksize() != 0) {
5044 _this->_internal_set_chunksize(from._internal_chunksize());
5045 }
5046 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
5047}
5048
5050// @@protoc_insertion_point(class_specific_copy_from_start:daphne.DumpSpyBuffersChunkRequest)
5051 if (&from == this) return;
5052 Clear();
5053 MergeFrom(from);
5054}
5055
5056PROTOBUF_NOINLINE bool DumpSpyBuffersChunkRequest::IsInitialized() const {
5057 return true;
5058}
5059
5061 using std::swap;
5062 auto* lhs_arena = GetArenaForAllocation();
5063 auto* rhs_arena = other->GetArenaForAllocation();
5064 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5065 _impl_.channellist_.InternalSwap(&other->_impl_.channellist_);
5066 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.requestid_, lhs_arena,
5067 &other->_impl_.requestid_, rhs_arena);
5068 ::google::protobuf::internal::memswap<
5069 PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.chunksize_)
5071 - PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkRequest, _impl_.numberofsamples_)>(
5072 reinterpret_cast<char*>(&_impl_.numberofsamples_),
5073 reinterpret_cast<char*>(&other->_impl_.numberofsamples_));
5074}
5075
5081// ===================================================================
5082
5084 public:
5085};
5086
5088 : ::google::protobuf::Message(arena) {
5089 SharedCtor(arena);
5090 // @@protoc_insertion_point(arena_constructor:daphne.DumpSpyBuffersChunkResponse)
5091}
5093 DumpSpyBuffersChunkResponse* const _this = this;
5094 (void)_this;
5095 new (&_impl_) Impl_{
5096 decltype(_impl_.channellist_){from._impl_.channellist_},
5097 /* _impl_._channellist_cached_byte_size_ = */ {0},
5098 decltype(_impl_.data_){from._impl_.data_},
5099 /* _impl_._data_cached_byte_size_ = */ {0},
5100 decltype(_impl_.requestid_){},
5101 decltype(_impl_.message_){},
5102 decltype(_impl_.success_){},
5103 decltype(_impl_.isfinal_){},
5104 decltype(_impl_.chunkseq_){},
5105 decltype(_impl_.waveformstart_){},
5106 decltype(_impl_.waveformcount_){},
5107 decltype(_impl_.requesttotalwaveforms_){},
5108 decltype(_impl_.numberofsamples_){},
5109 /*decltype(_impl_._cached_size_)*/ {},
5110 };
5111 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
5112 from._internal_metadata_);
5113 _impl_.requestid_.InitDefault();
5114 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5115 _impl_.requestid_.Set("", GetArenaForAllocation());
5116 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5117 if (!from._internal_requestid().empty()) {
5118 _this->_impl_.requestid_.Set(from._internal_requestid(), _this->GetArenaForAllocation());
5119 }
5120 _impl_.message_.InitDefault();
5121 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5122 _impl_.message_.Set("", GetArenaForAllocation());
5123 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5124 if (!from._internal_message().empty()) {
5125 _this->_impl_.message_.Set(from._internal_message(), _this->GetArenaForAllocation());
5126 }
5127 ::memcpy(&_impl_.success_, &from._impl_.success_,
5128 static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.numberofsamples_) -
5129 reinterpret_cast<char*>(&_impl_.success_)) + sizeof(_impl_.numberofsamples_));
5130
5131 // @@protoc_insertion_point(copy_constructor:daphne.DumpSpyBuffersChunkResponse)
5132}
5133inline void DumpSpyBuffersChunkResponse::SharedCtor(::_pb::Arena* arena) {
5134 (void)arena;
5135 new (&_impl_) Impl_{
5136 decltype(_impl_.channellist_){arena},
5137 /* _impl_._channellist_cached_byte_size_ = */ {0},
5138 decltype(_impl_.data_){arena},
5139 /* _impl_._data_cached_byte_size_ = */ {0},
5140 decltype(_impl_.requestid_){},
5141 decltype(_impl_.message_){},
5142 decltype(_impl_.success_){false},
5143 decltype(_impl_.isfinal_){false},
5144 decltype(_impl_.chunkseq_){0u},
5145 decltype(_impl_.waveformstart_){0u},
5146 decltype(_impl_.waveformcount_){0u},
5147 decltype(_impl_.requesttotalwaveforms_){0u},
5148 decltype(_impl_.numberofsamples_){0u},
5149 /*decltype(_impl_._cached_size_)*/ {},
5150 };
5151 _impl_.requestid_.InitDefault();
5152 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5153 _impl_.requestid_.Set("", GetArenaForAllocation());
5154 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5155 _impl_.message_.InitDefault();
5156 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5157 _impl_.message_.Set("", GetArenaForAllocation());
5158 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5159}
5161 // @@protoc_insertion_point(destructor:daphne.DumpSpyBuffersChunkResponse)
5162 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
5163 SharedDtor();
5164}
5166 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
5167 _impl_.channellist_.~RepeatedField();
5168 _impl_.data_.~RepeatedField();
5169 _impl_.requestid_.Destroy();
5170 _impl_.message_.Destroy();
5171}
5173 _impl_._cached_size_.Set(size);
5174}
5175
5176PROTOBUF_NOINLINE void DumpSpyBuffersChunkResponse::Clear() {
5177// @@protoc_insertion_point(message_clear_start:daphne.DumpSpyBuffersChunkResponse)
5178 ::uint32_t cached_has_bits = 0;
5179 // Prevent compiler warnings about cached_has_bits being unused
5180 (void) cached_has_bits;
5181
5183 _internal_mutable_data()->Clear();
5184 _impl_.requestid_.ClearToEmpty();
5185 _impl_.message_.ClearToEmpty();
5186 ::memset(&_impl_.success_, 0, static_cast<::size_t>(
5187 reinterpret_cast<char*>(&_impl_.numberofsamples_) -
5188 reinterpret_cast<char*>(&_impl_.success_)) + sizeof(_impl_.numberofsamples_));
5189 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
5190}
5191
5193 const char* ptr, ::_pbi::ParseContext* ctx) {
5194 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
5195 return ptr;
5196}
5197
5198
5199PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
5200const ::_pbi::TcParseTable<4, 11, 0, 67, 2> DumpSpyBuffersChunkResponse::_table_ = {
5201 {
5202 0, // no _has_bits_
5203 0, // no _extensions_
5204 11, 120, // max_field_number, fast_idx_mask
5205 offsetof(decltype(_table_), field_lookup_table),
5206 4294965248, // skipmap
5207 offsetof(decltype(_table_), field_entries),
5208 11, // num_field_entries
5209 0, // num_aux_entries
5210 offsetof(decltype(_table_), field_names), // no aux_entries
5212 ::_pbi::TcParser::GenericFallback, // fallback
5213 }, {{
5214 {::_pbi::TcParser::MiniParse, {}},
5215 // bool success = 1;
5216 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(DumpSpyBuffersChunkResponse, _impl_.success_), 63>(),
5217 {8, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.success_)}},
5218 // string requestID = 2;
5219 {::_pbi::TcParser::FastUS1,
5220 {18, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.requestid_)}},
5221 // uint32 chunkseq = 3;
5222 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DumpSpyBuffersChunkResponse, _impl_.chunkseq_), 63>(),
5223 {24, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.chunkseq_)}},
5224 // bool isFinal = 4;
5225 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(DumpSpyBuffersChunkResponse, _impl_.isfinal_), 63>(),
5226 {32, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.isfinal_)}},
5227 // uint32 waveformStart = 5;
5228 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DumpSpyBuffersChunkResponse, _impl_.waveformstart_), 63>(),
5229 {40, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.waveformstart_)}},
5230 // uint32 waveformCount = 6;
5231 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DumpSpyBuffersChunkResponse, _impl_.waveformcount_), 63>(),
5232 {48, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.waveformcount_)}},
5233 // uint32 requestTotalWaveforms = 7;
5234 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DumpSpyBuffersChunkResponse, _impl_.requesttotalwaveforms_), 63>(),
5235 {56, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.requesttotalwaveforms_)}},
5236 // uint32 numberOfSamples = 8;
5237 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DumpSpyBuffersChunkResponse, _impl_.numberofsamples_), 63>(),
5238 {64, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.numberofsamples_)}},
5239 // repeated uint32 channelList = 9;
5240 {::_pbi::TcParser::FastV32P1,
5241 {74, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.channellist_)}},
5242 // repeated uint32 data = 10;
5243 {::_pbi::TcParser::FastV32P1,
5244 {82, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.data_)}},
5245 // string message = 11;
5246 {::_pbi::TcParser::FastUS1,
5247 {90, 63, 0, PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.message_)}},
5248 {::_pbi::TcParser::MiniParse, {}},
5249 {::_pbi::TcParser::MiniParse, {}},
5250 {::_pbi::TcParser::MiniParse, {}},
5251 {::_pbi::TcParser::MiniParse, {}},
5252 }}, {{
5253 65535, 65535
5254 }}, {{
5255 // bool success = 1;
5256 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.success_), 0, 0,
5257 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
5258 // string requestID = 2;
5259 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.requestid_), 0, 0,
5260 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
5261 // uint32 chunkseq = 3;
5262 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.chunkseq_), 0, 0,
5263 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
5264 // bool isFinal = 4;
5265 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.isfinal_), 0, 0,
5266 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
5267 // uint32 waveformStart = 5;
5268 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.waveformstart_), 0, 0,
5269 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
5270 // uint32 waveformCount = 6;
5271 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.waveformcount_), 0, 0,
5272 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
5273 // uint32 requestTotalWaveforms = 7;
5274 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.requesttotalwaveforms_), 0, 0,
5275 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
5276 // uint32 numberOfSamples = 8;
5277 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.numberofsamples_), 0, 0,
5278 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
5279 // repeated uint32 channelList = 9;
5280 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.channellist_), 0, 0,
5281 (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt32)},
5282 // repeated uint32 data = 10;
5283 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.data_), 0, 0,
5284 (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt32)},
5285 // string message = 11;
5286 {PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.message_), 0, 0,
5287 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
5288 }},
5289 // no aux_entries
5290 {{
5291 "\42\0\11\0\0\0\0\0\0\0\0\7\0\0\0\0"
5292 "daphne.DumpSpyBuffersChunkResponse"
5293 "requestID"
5294 "message"
5295 }},
5296};
5297
5299 ::uint8_t* target,
5300 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
5301 // @@protoc_insertion_point(serialize_to_array_start:daphne.DumpSpyBuffersChunkResponse)
5302 ::uint32_t cached_has_bits = 0;
5303 (void)cached_has_bits;
5304
5305 // bool success = 1;
5306 if (this->_internal_success() != 0) {
5307 target = stream->EnsureSpace(target);
5308 target = ::_pbi::WireFormatLite::WriteBoolToArray(
5309 1, this->_internal_success(), target);
5310 }
5311
5312 // string requestID = 2;
5313 if (!this->_internal_requestid().empty()) {
5314 const std::string& _s = this->_internal_requestid();
5315 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
5316 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "daphne.DumpSpyBuffersChunkResponse.requestID");
5317 target = stream->WriteStringMaybeAliased(2, _s, target);
5318 }
5319
5320 // uint32 chunkseq = 3;
5321 if (this->_internal_chunkseq() != 0) {
5322 target = stream->EnsureSpace(target);
5323 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
5324 3, this->_internal_chunkseq(), target);
5325 }
5326
5327 // bool isFinal = 4;
5328 if (this->_internal_isfinal() != 0) {
5329 target = stream->EnsureSpace(target);
5330 target = ::_pbi::WireFormatLite::WriteBoolToArray(
5331 4, this->_internal_isfinal(), target);
5332 }
5333
5334 // uint32 waveformStart = 5;
5335 if (this->_internal_waveformstart() != 0) {
5336 target = stream->EnsureSpace(target);
5337 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
5338 5, this->_internal_waveformstart(), target);
5339 }
5340
5341 // uint32 waveformCount = 6;
5342 if (this->_internal_waveformcount() != 0) {
5343 target = stream->EnsureSpace(target);
5344 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
5345 6, this->_internal_waveformcount(), target);
5346 }
5347
5348 // uint32 requestTotalWaveforms = 7;
5349 if (this->_internal_requesttotalwaveforms() != 0) {
5350 target = stream->EnsureSpace(target);
5351 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
5352 7, this->_internal_requesttotalwaveforms(), target);
5353 }
5354
5355 // uint32 numberOfSamples = 8;
5356 if (this->_internal_numberofsamples() != 0) {
5357 target = stream->EnsureSpace(target);
5358 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
5359 8, this->_internal_numberofsamples(), target);
5360 }
5361
5362 // repeated uint32 channelList = 9;
5363 {
5364 int byte_size = _impl_._channellist_cached_byte_size_.Get();
5365 if (byte_size > 0) {
5366 target = stream->WriteUInt32Packed(9, _internal_channellist(),
5367 byte_size, target);
5368 }
5369 }
5370
5371 // repeated uint32 data = 10;
5372 {
5373 int byte_size = _impl_._data_cached_byte_size_.Get();
5374 if (byte_size > 0) {
5375 target = stream->WriteUInt32Packed(10, _internal_data(),
5376 byte_size, target);
5377 }
5378 }
5379
5380 // string message = 11;
5381 if (!this->_internal_message().empty()) {
5382 const std::string& _s = this->_internal_message();
5383 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
5384 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "daphne.DumpSpyBuffersChunkResponse.message");
5385 target = stream->WriteStringMaybeAliased(11, _s, target);
5386 }
5387
5388 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5389 target =
5390 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5391 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
5392 }
5393 // @@protoc_insertion_point(serialize_to_array_end:daphne.DumpSpyBuffersChunkResponse)
5394 return target;
5395}
5396
5398// @@protoc_insertion_point(message_byte_size_start:daphne.DumpSpyBuffersChunkResponse)
5399 ::size_t total_size = 0;
5400
5401 ::uint32_t cached_has_bits = 0;
5402 // Prevent compiler warnings about cached_has_bits being unused
5403 (void) cached_has_bits;
5404
5405 // repeated uint32 channelList = 9;
5406 {
5407 std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
5408 this->_internal_channellist())
5409 ;
5410 _impl_._channellist_cached_byte_size_.Set(::_pbi::ToCachedSize(data_size));
5411 std::size_t tag_size = data_size == 0
5412 ? 0
5413 : 1 + ::_pbi::WireFormatLite::Int32Size(
5414 static_cast<int32_t>(data_size))
5415 ;
5416 total_size += tag_size + data_size;
5417 }
5418 // repeated uint32 data = 10;
5419 {
5420 std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
5421 this->_internal_data())
5422 ;
5423 _impl_._data_cached_byte_size_.Set(::_pbi::ToCachedSize(data_size));
5424 std::size_t tag_size = data_size == 0
5425 ? 0
5426 : 1 + ::_pbi::WireFormatLite::Int32Size(
5427 static_cast<int32_t>(data_size))
5428 ;
5429 total_size += tag_size + data_size;
5430 }
5431 // string requestID = 2;
5432 if (!this->_internal_requestid().empty()) {
5433 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
5434 this->_internal_requestid());
5435 }
5436
5437 // string message = 11;
5438 if (!this->_internal_message().empty()) {
5439 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
5440 this->_internal_message());
5441 }
5442
5443 // bool success = 1;
5444 if (this->_internal_success() != 0) {
5445 total_size += 2;
5446 }
5447
5448 // bool isFinal = 4;
5449 if (this->_internal_isfinal() != 0) {
5450 total_size += 2;
5451 }
5452
5453 // uint32 chunkseq = 3;
5454 if (this->_internal_chunkseq() != 0) {
5455 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
5456 this->_internal_chunkseq());
5457 }
5458
5459 // uint32 waveformStart = 5;
5460 if (this->_internal_waveformstart() != 0) {
5461 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
5462 this->_internal_waveformstart());
5463 }
5464
5465 // uint32 waveformCount = 6;
5466 if (this->_internal_waveformcount() != 0) {
5467 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
5468 this->_internal_waveformcount());
5469 }
5470
5471 // uint32 requestTotalWaveforms = 7;
5472 if (this->_internal_requesttotalwaveforms() != 0) {
5473 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
5475 }
5476
5477 // uint32 numberOfSamples = 8;
5478 if (this->_internal_numberofsamples() != 0) {
5479 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
5481 }
5482
5483 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
5484}
5485
5486const ::google::protobuf::Message::ClassData DumpSpyBuffersChunkResponse::_class_data_ = {
5487 ::google::protobuf::Message::CopyWithSourceCheck,
5489};
5490const ::google::protobuf::Message::ClassData*DumpSpyBuffersChunkResponse::GetClassData() const { return &_class_data_; }
5491
5492
5493void DumpSpyBuffersChunkResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
5494 auto* const _this = static_cast<DumpSpyBuffersChunkResponse*>(&to_msg);
5495 auto& from = static_cast<const DumpSpyBuffersChunkResponse&>(from_msg);
5496 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.DumpSpyBuffersChunkResponse)
5497 ABSL_DCHECK_NE(&from, _this);
5498 ::uint32_t cached_has_bits = 0;
5499 (void) cached_has_bits;
5500
5501 _this->_internal_mutable_channellist()->MergeFrom(from._internal_channellist());
5502 _this->_internal_mutable_data()->MergeFrom(from._internal_data());
5503 if (!from._internal_requestid().empty()) {
5504 _this->_internal_set_requestid(from._internal_requestid());
5505 }
5506 if (!from._internal_message().empty()) {
5507 _this->_internal_set_message(from._internal_message());
5508 }
5509 if (from._internal_success() != 0) {
5510 _this->_internal_set_success(from._internal_success());
5511 }
5512 if (from._internal_isfinal() != 0) {
5513 _this->_internal_set_isfinal(from._internal_isfinal());
5514 }
5515 if (from._internal_chunkseq() != 0) {
5516 _this->_internal_set_chunkseq(from._internal_chunkseq());
5517 }
5518 if (from._internal_waveformstart() != 0) {
5519 _this->_internal_set_waveformstart(from._internal_waveformstart());
5520 }
5521 if (from._internal_waveformcount() != 0) {
5522 _this->_internal_set_waveformcount(from._internal_waveformcount());
5523 }
5524 if (from._internal_requesttotalwaveforms() != 0) {
5525 _this->_internal_set_requesttotalwaveforms(from._internal_requesttotalwaveforms());
5526 }
5527 if (from._internal_numberofsamples() != 0) {
5528 _this->_internal_set_numberofsamples(from._internal_numberofsamples());
5529 }
5530 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
5531}
5532
5534// @@protoc_insertion_point(class_specific_copy_from_start:daphne.DumpSpyBuffersChunkResponse)
5535 if (&from == this) return;
5536 Clear();
5537 MergeFrom(from);
5538}
5539
5540PROTOBUF_NOINLINE bool DumpSpyBuffersChunkResponse::IsInitialized() const {
5541 return true;
5542}
5543
5545 using std::swap;
5546 auto* lhs_arena = GetArenaForAllocation();
5547 auto* rhs_arena = other->GetArenaForAllocation();
5548 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5549 _impl_.channellist_.InternalSwap(&other->_impl_.channellist_);
5550 _impl_.data_.InternalSwap(&other->_impl_.data_);
5551 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.requestid_, lhs_arena,
5552 &other->_impl_.requestid_, rhs_arena);
5553 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, lhs_arena,
5554 &other->_impl_.message_, rhs_arena);
5555 ::google::protobuf::internal::memswap<
5558 - PROTOBUF_FIELD_OFFSET(DumpSpyBuffersChunkResponse, _impl_.success_)>(
5559 reinterpret_cast<char*>(&_impl_.success_),
5560 reinterpret_cast<char*>(&other->_impl_.success_));
5561}
5562
5568// ===================================================================
5569
5571 public:
5572};
5573
5574InfoRequest::InfoRequest(::google::protobuf::Arena* arena)
5575 : ::google::protobuf::Message(arena) {
5576 SharedCtor(arena);
5577 // @@protoc_insertion_point(arena_constructor:daphne.InfoRequest)
5578}
5580 : ::google::protobuf::Message(), _impl_(from._impl_) {
5581 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
5582 from._internal_metadata_);
5583 // @@protoc_insertion_point(copy_constructor:daphne.InfoRequest)
5584}
5585inline void InfoRequest::SharedCtor(::_pb::Arena* arena) {
5586 (void)arena;
5587 new (&_impl_) Impl_{
5588 decltype(_impl_.level_){0u},
5589 /*decltype(_impl_._cached_size_)*/ {},
5590 };
5591}
5593 // @@protoc_insertion_point(destructor:daphne.InfoRequest)
5594 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
5595 SharedDtor();
5596}
5598 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
5599}
5600void InfoRequest::SetCachedSize(int size) const {
5601 _impl_._cached_size_.Set(size);
5602}
5603
5604PROTOBUF_NOINLINE void InfoRequest::Clear() {
5605// @@protoc_insertion_point(message_clear_start:daphne.InfoRequest)
5606 ::uint32_t cached_has_bits = 0;
5607 // Prevent compiler warnings about cached_has_bits being unused
5608 (void) cached_has_bits;
5609
5610 _impl_.level_ = 0u;
5611 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
5612}
5613
5615 const char* ptr, ::_pbi::ParseContext* ctx) {
5616 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
5617 return ptr;
5618}
5619
5620
5621PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
5622const ::_pbi::TcParseTable<0, 1, 0, 0, 2> InfoRequest::_table_ = {
5623 {
5624 0, // no _has_bits_
5625 0, // no _extensions_
5626 1, 0, // max_field_number, fast_idx_mask
5627 offsetof(decltype(_table_), field_lookup_table),
5628 4294967294, // skipmap
5629 offsetof(decltype(_table_), field_entries),
5630 1, // num_field_entries
5631 0, // num_aux_entries
5632 offsetof(decltype(_table_), field_names), // no aux_entries
5634 ::_pbi::TcParser::GenericFallback, // fallback
5635 }, {{
5636 // uint32 level = 1;
5637 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(InfoRequest, _impl_.level_), 63>(),
5638 {8, 63, 0, PROTOBUF_FIELD_OFFSET(InfoRequest, _impl_.level_)}},
5639 }}, {{
5640 65535, 65535
5641 }}, {{
5642 // uint32 level = 1;
5643 {PROTOBUF_FIELD_OFFSET(InfoRequest, _impl_.level_), 0, 0,
5644 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
5645 }},
5646 // no aux_entries
5647 {{
5648 }},
5649};
5650
5652 ::uint8_t* target,
5653 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
5654 // @@protoc_insertion_point(serialize_to_array_start:daphne.InfoRequest)
5655 ::uint32_t cached_has_bits = 0;
5656 (void)cached_has_bits;
5657
5658 // uint32 level = 1;
5659 if (this->_internal_level() != 0) {
5660 target = stream->EnsureSpace(target);
5661 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
5662 1, this->_internal_level(), target);
5663 }
5664
5665 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5666 target =
5667 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5668 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
5669 }
5670 // @@protoc_insertion_point(serialize_to_array_end:daphne.InfoRequest)
5671 return target;
5672}
5673
5675// @@protoc_insertion_point(message_byte_size_start:daphne.InfoRequest)
5676 ::size_t total_size = 0;
5677
5678 ::uint32_t cached_has_bits = 0;
5679 // Prevent compiler warnings about cached_has_bits being unused
5680 (void) cached_has_bits;
5681
5682 // uint32 level = 1;
5683 if (this->_internal_level() != 0) {
5684 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
5685 this->_internal_level());
5686 }
5687
5688 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
5689}
5690
5691const ::google::protobuf::Message::ClassData InfoRequest::_class_data_ = {
5692 ::google::protobuf::Message::CopyWithSourceCheck,
5694};
5695const ::google::protobuf::Message::ClassData*InfoRequest::GetClassData() const { return &_class_data_; }
5696
5697
5698void InfoRequest::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
5699 auto* const _this = static_cast<InfoRequest*>(&to_msg);
5700 auto& from = static_cast<const InfoRequest&>(from_msg);
5701 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.InfoRequest)
5702 ABSL_DCHECK_NE(&from, _this);
5703 ::uint32_t cached_has_bits = 0;
5704 (void) cached_has_bits;
5705
5706 if (from._internal_level() != 0) {
5707 _this->_internal_set_level(from._internal_level());
5708 }
5709 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
5710}
5711
5713// @@protoc_insertion_point(class_specific_copy_from_start:daphne.InfoRequest)
5714 if (&from == this) return;
5715 Clear();
5716 MergeFrom(from);
5717}
5718
5719PROTOBUF_NOINLINE bool InfoRequest::IsInitialized() const {
5720 return true;
5721}
5722
5724 using std::swap;
5725 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5726 swap(_impl_.level_, other->_impl_.level_);
5727}
5728
5734// ===================================================================
5735
5737 public:
5738};
5739
5740StreamInfo::StreamInfo(::google::protobuf::Arena* arena)
5741 : ::google::protobuf::Message(arena) {
5742 SharedCtor(arena);
5743 // @@protoc_insertion_point(arena_constructor:daphne.StreamInfo)
5744}
5746 : ::google::protobuf::Message(), _impl_(from._impl_) {
5747 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
5748 from._internal_metadata_);
5749 // @@protoc_insertion_point(copy_constructor:daphne.StreamInfo)
5750}
5751inline void StreamInfo::SharedCtor(::_pb::Arena* arena) {
5752 (void)arena;
5753 new (&_impl_) Impl_{
5754 decltype(_impl_.total_packets_){::uint64_t{0u}},
5755 decltype(_impl_.new_packets_){::uint64_t{0u}},
5756 decltype(_impl_.total_dropped_packets_){::uint64_t{0u}},
5757 decltype(_impl_.new_dropped_packets_){::uint64_t{0u}},
5758 /*decltype(_impl_._cached_size_)*/ {},
5759 };
5760}
5762 // @@protoc_insertion_point(destructor:daphne.StreamInfo)
5763 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
5764 SharedDtor();
5765}
5767 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
5768}
5769void StreamInfo::SetCachedSize(int size) const {
5770 _impl_._cached_size_.Set(size);
5771}
5772
5773PROTOBUF_NOINLINE void StreamInfo::Clear() {
5774// @@protoc_insertion_point(message_clear_start:daphne.StreamInfo)
5775 ::uint32_t cached_has_bits = 0;
5776 // Prevent compiler warnings about cached_has_bits being unused
5777 (void) cached_has_bits;
5778
5779 ::memset(&_impl_.total_packets_, 0, static_cast<::size_t>(
5780 reinterpret_cast<char*>(&_impl_.new_dropped_packets_) -
5781 reinterpret_cast<char*>(&_impl_.total_packets_)) + sizeof(_impl_.new_dropped_packets_));
5782 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
5783}
5784
5785const char* StreamInfo::_InternalParse(
5786 const char* ptr, ::_pbi::ParseContext* ctx) {
5787 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
5788 return ptr;
5789}
5790
5791
5792PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
5793const ::_pbi::TcParseTable<2, 4, 0, 0, 2> StreamInfo::_table_ = {
5794 {
5795 0, // no _has_bits_
5796 0, // no _extensions_
5797 4, 24, // max_field_number, fast_idx_mask
5798 offsetof(decltype(_table_), field_lookup_table),
5799 4294967280, // skipmap
5800 offsetof(decltype(_table_), field_entries),
5801 4, // num_field_entries
5802 0, // num_aux_entries
5803 offsetof(decltype(_table_), field_names), // no aux_entries
5805 ::_pbi::TcParser::GenericFallback, // fallback
5806 }, {{
5807 // uint64 new_dropped_packets = 4;
5808 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(StreamInfo, _impl_.new_dropped_packets_), 63>(),
5809 {32, 63, 0, PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.new_dropped_packets_)}},
5810 // uint64 total_packets = 1;
5811 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(StreamInfo, _impl_.total_packets_), 63>(),
5812 {8, 63, 0, PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.total_packets_)}},
5813 // uint64 new_packets = 2;
5814 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(StreamInfo, _impl_.new_packets_), 63>(),
5815 {16, 63, 0, PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.new_packets_)}},
5816 // uint64 total_dropped_packets = 3;
5817 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(StreamInfo, _impl_.total_dropped_packets_), 63>(),
5818 {24, 63, 0, PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.total_dropped_packets_)}},
5819 }}, {{
5820 65535, 65535
5821 }}, {{
5822 // uint64 total_packets = 1;
5823 {PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.total_packets_), 0, 0,
5824 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
5825 // uint64 new_packets = 2;
5826 {PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.new_packets_), 0, 0,
5827 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
5828 // uint64 total_dropped_packets = 3;
5829 {PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.total_dropped_packets_), 0, 0,
5830 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
5831 // uint64 new_dropped_packets = 4;
5832 {PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.new_dropped_packets_), 0, 0,
5833 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
5834 }},
5835 // no aux_entries
5836 {{
5837 }},
5838};
5839
5841 ::uint8_t* target,
5842 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
5843 // @@protoc_insertion_point(serialize_to_array_start:daphne.StreamInfo)
5844 ::uint32_t cached_has_bits = 0;
5845 (void)cached_has_bits;
5846
5847 // uint64 total_packets = 1;
5848 if (this->_internal_total_packets() != 0) {
5849 target = stream->EnsureSpace(target);
5850 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
5851 1, this->_internal_total_packets(), target);
5852 }
5853
5854 // uint64 new_packets = 2;
5855 if (this->_internal_new_packets() != 0) {
5856 target = stream->EnsureSpace(target);
5857 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
5858 2, this->_internal_new_packets(), target);
5859 }
5860
5861 // uint64 total_dropped_packets = 3;
5862 if (this->_internal_total_dropped_packets() != 0) {
5863 target = stream->EnsureSpace(target);
5864 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
5865 3, this->_internal_total_dropped_packets(), target);
5866 }
5867
5868 // uint64 new_dropped_packets = 4;
5869 if (this->_internal_new_dropped_packets() != 0) {
5870 target = stream->EnsureSpace(target);
5871 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
5872 4, this->_internal_new_dropped_packets(), target);
5873 }
5874
5875 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5876 target =
5877 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5878 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
5879 }
5880 // @@protoc_insertion_point(serialize_to_array_end:daphne.StreamInfo)
5881 return target;
5882}
5883
5885// @@protoc_insertion_point(message_byte_size_start:daphne.StreamInfo)
5886 ::size_t total_size = 0;
5887
5888 ::uint32_t cached_has_bits = 0;
5889 // Prevent compiler warnings about cached_has_bits being unused
5890 (void) cached_has_bits;
5891
5892 // uint64 total_packets = 1;
5893 if (this->_internal_total_packets() != 0) {
5894 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
5895 this->_internal_total_packets());
5896 }
5897
5898 // uint64 new_packets = 2;
5899 if (this->_internal_new_packets() != 0) {
5900 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
5901 this->_internal_new_packets());
5902 }
5903
5904 // uint64 total_dropped_packets = 3;
5905 if (this->_internal_total_dropped_packets() != 0) {
5906 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
5908 }
5909
5910 // uint64 new_dropped_packets = 4;
5911 if (this->_internal_new_dropped_packets() != 0) {
5912 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
5914 }
5915
5916 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
5917}
5918
5919const ::google::protobuf::Message::ClassData StreamInfo::_class_data_ = {
5920 ::google::protobuf::Message::CopyWithSourceCheck,
5922};
5923const ::google::protobuf::Message::ClassData*StreamInfo::GetClassData() const { return &_class_data_; }
5924
5925
5926void StreamInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
5927 auto* const _this = static_cast<StreamInfo*>(&to_msg);
5928 auto& from = static_cast<const StreamInfo&>(from_msg);
5929 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.StreamInfo)
5930 ABSL_DCHECK_NE(&from, _this);
5931 ::uint32_t cached_has_bits = 0;
5932 (void) cached_has_bits;
5933
5934 if (from._internal_total_packets() != 0) {
5935 _this->_internal_set_total_packets(from._internal_total_packets());
5936 }
5937 if (from._internal_new_packets() != 0) {
5938 _this->_internal_set_new_packets(from._internal_new_packets());
5939 }
5940 if (from._internal_total_dropped_packets() != 0) {
5941 _this->_internal_set_total_dropped_packets(from._internal_total_dropped_packets());
5942 }
5943 if (from._internal_new_dropped_packets() != 0) {
5944 _this->_internal_set_new_dropped_packets(from._internal_new_dropped_packets());
5945 }
5946 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
5947}
5948
5950// @@protoc_insertion_point(class_specific_copy_from_start:daphne.StreamInfo)
5951 if (&from == this) return;
5952 Clear();
5953 MergeFrom(from);
5954}
5955
5956PROTOBUF_NOINLINE bool StreamInfo::IsInitialized() const {
5957 return true;
5958}
5959
5961 using std::swap;
5962 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5963 ::google::protobuf::internal::memswap<
5964 PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.new_dropped_packets_)
5966 - PROTOBUF_FIELD_OFFSET(StreamInfo, _impl_.total_packets_)>(
5967 reinterpret_cast<char*>(&_impl_.total_packets_),
5968 reinterpret_cast<char*>(&other->_impl_.total_packets_));
5969}
5970
5976// ===================================================================
5977
5979 public:
5980};
5981
5982ChannelInfo::ChannelInfo(::google::protobuf::Arena* arena)
5983 : ::google::protobuf::Message(arena) {
5984 SharedCtor(arena);
5985 // @@protoc_insertion_point(arena_constructor:daphne.ChannelInfo)
5986}
5988 : ::google::protobuf::Message(), _impl_(from._impl_) {
5989 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
5990 from._internal_metadata_);
5991 // @@protoc_insertion_point(copy_constructor:daphne.ChannelInfo)
5992}
5993inline void ChannelInfo::SharedCtor(::_pb::Arena* arena) {
5994 (void)arena;
5995 new (&_impl_) Impl_{
5996 decltype(_impl_.total_triggers_){::uint64_t{0u}},
5997 decltype(_impl_.new_triggers_){::uint64_t{0u}},
5998 decltype(_impl_.total_packets_){::uint64_t{0u}},
5999 decltype(_impl_.new_packets_){::uint64_t{0u}},
6000 decltype(_impl_.id_){0u},
6001 /*decltype(_impl_._cached_size_)*/ {},
6002 };
6003}
6005 // @@protoc_insertion_point(destructor:daphne.ChannelInfo)
6006 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
6007 SharedDtor();
6008}
6010 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
6011}
6012void ChannelInfo::SetCachedSize(int size) const {
6013 _impl_._cached_size_.Set(size);
6014}
6015
6016PROTOBUF_NOINLINE void ChannelInfo::Clear() {
6017// @@protoc_insertion_point(message_clear_start:daphne.ChannelInfo)
6018 ::uint32_t cached_has_bits = 0;
6019 // Prevent compiler warnings about cached_has_bits being unused
6020 (void) cached_has_bits;
6021
6022 ::memset(&_impl_.total_triggers_, 0, static_cast<::size_t>(
6023 reinterpret_cast<char*>(&_impl_.id_) -
6024 reinterpret_cast<char*>(&_impl_.total_triggers_)) + sizeof(_impl_.id_));
6025 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
6026}
6027
6028const char* ChannelInfo::_InternalParse(
6029 const char* ptr, ::_pbi::ParseContext* ctx) {
6030 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
6031 return ptr;
6032}
6033
6034
6035PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
6036const ::_pbi::TcParseTable<3, 5, 0, 0, 2> ChannelInfo::_table_ = {
6037 {
6038 0, // no _has_bits_
6039 0, // no _extensions_
6040 5, 56, // max_field_number, fast_idx_mask
6041 offsetof(decltype(_table_), field_lookup_table),
6042 4294967264, // skipmap
6043 offsetof(decltype(_table_), field_entries),
6044 5, // num_field_entries
6045 0, // num_aux_entries
6046 offsetof(decltype(_table_), field_names), // no aux_entries
6048 ::_pbi::TcParser::GenericFallback, // fallback
6049 }, {{
6050 {::_pbi::TcParser::MiniParse, {}},
6051 // uint32 id = 1;
6052 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ChannelInfo, _impl_.id_), 63>(),
6053 {8, 63, 0, PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.id_)}},
6054 // uint64 total_triggers = 2;
6055 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ChannelInfo, _impl_.total_triggers_), 63>(),
6056 {16, 63, 0, PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.total_triggers_)}},
6057 // uint64 new_triggers = 3;
6058 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ChannelInfo, _impl_.new_triggers_), 63>(),
6059 {24, 63, 0, PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.new_triggers_)}},
6060 // uint64 total_packets = 4;
6061 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ChannelInfo, _impl_.total_packets_), 63>(),
6062 {32, 63, 0, PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.total_packets_)}},
6063 // uint64 new_packets = 5;
6064 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ChannelInfo, _impl_.new_packets_), 63>(),
6065 {40, 63, 0, PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.new_packets_)}},
6066 {::_pbi::TcParser::MiniParse, {}},
6067 {::_pbi::TcParser::MiniParse, {}},
6068 }}, {{
6069 65535, 65535
6070 }}, {{
6071 // uint32 id = 1;
6072 {PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.id_), 0, 0,
6073 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
6074 // uint64 total_triggers = 2;
6075 {PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.total_triggers_), 0, 0,
6076 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
6077 // uint64 new_triggers = 3;
6078 {PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.new_triggers_), 0, 0,
6079 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
6080 // uint64 total_packets = 4;
6081 {PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.total_packets_), 0, 0,
6082 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
6083 // uint64 new_packets = 5;
6084 {PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.new_packets_), 0, 0,
6085 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
6086 }},
6087 // no aux_entries
6088 {{
6089 }},
6090};
6091
6093 ::uint8_t* target,
6094 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
6095 // @@protoc_insertion_point(serialize_to_array_start:daphne.ChannelInfo)
6096 ::uint32_t cached_has_bits = 0;
6097 (void)cached_has_bits;
6098
6099 // uint32 id = 1;
6100 if (this->_internal_id() != 0) {
6101 target = stream->EnsureSpace(target);
6102 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
6103 1, this->_internal_id(), target);
6104 }
6105
6106 // uint64 total_triggers = 2;
6107 if (this->_internal_total_triggers() != 0) {
6108 target = stream->EnsureSpace(target);
6109 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
6110 2, this->_internal_total_triggers(), target);
6111 }
6112
6113 // uint64 new_triggers = 3;
6114 if (this->_internal_new_triggers() != 0) {
6115 target = stream->EnsureSpace(target);
6116 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
6117 3, this->_internal_new_triggers(), target);
6118 }
6119
6120 // uint64 total_packets = 4;
6121 if (this->_internal_total_packets() != 0) {
6122 target = stream->EnsureSpace(target);
6123 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
6124 4, this->_internal_total_packets(), target);
6125 }
6126
6127 // uint64 new_packets = 5;
6128 if (this->_internal_new_packets() != 0) {
6129 target = stream->EnsureSpace(target);
6130 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
6131 5, this->_internal_new_packets(), target);
6132 }
6133
6134 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6135 target =
6136 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
6137 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
6138 }
6139 // @@protoc_insertion_point(serialize_to_array_end:daphne.ChannelInfo)
6140 return target;
6141}
6142
6144// @@protoc_insertion_point(message_byte_size_start:daphne.ChannelInfo)
6145 ::size_t total_size = 0;
6146
6147 ::uint32_t cached_has_bits = 0;
6148 // Prevent compiler warnings about cached_has_bits being unused
6149 (void) cached_has_bits;
6150
6151 // uint64 total_triggers = 2;
6152 if (this->_internal_total_triggers() != 0) {
6153 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
6154 this->_internal_total_triggers());
6155 }
6156
6157 // uint64 new_triggers = 3;
6158 if (this->_internal_new_triggers() != 0) {
6159 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
6160 this->_internal_new_triggers());
6161 }
6162
6163 // uint64 total_packets = 4;
6164 if (this->_internal_total_packets() != 0) {
6165 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
6166 this->_internal_total_packets());
6167 }
6168
6169 // uint64 new_packets = 5;
6170 if (this->_internal_new_packets() != 0) {
6171 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
6172 this->_internal_new_packets());
6173 }
6174
6175 // uint32 id = 1;
6176 if (this->_internal_id() != 0) {
6177 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
6178 this->_internal_id());
6179 }
6180
6181 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
6182}
6183
6184const ::google::protobuf::Message::ClassData ChannelInfo::_class_data_ = {
6185 ::google::protobuf::Message::CopyWithSourceCheck,
6187};
6188const ::google::protobuf::Message::ClassData*ChannelInfo::GetClassData() const { return &_class_data_; }
6189
6190
6191void ChannelInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
6192 auto* const _this = static_cast<ChannelInfo*>(&to_msg);
6193 auto& from = static_cast<const ChannelInfo&>(from_msg);
6194 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.ChannelInfo)
6195 ABSL_DCHECK_NE(&from, _this);
6196 ::uint32_t cached_has_bits = 0;
6197 (void) cached_has_bits;
6198
6199 if (from._internal_total_triggers() != 0) {
6200 _this->_internal_set_total_triggers(from._internal_total_triggers());
6201 }
6202 if (from._internal_new_triggers() != 0) {
6203 _this->_internal_set_new_triggers(from._internal_new_triggers());
6204 }
6205 if (from._internal_total_packets() != 0) {
6206 _this->_internal_set_total_packets(from._internal_total_packets());
6207 }
6208 if (from._internal_new_packets() != 0) {
6209 _this->_internal_set_new_packets(from._internal_new_packets());
6210 }
6211 if (from._internal_id() != 0) {
6212 _this->_internal_set_id(from._internal_id());
6213 }
6214 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
6215}
6216
6218// @@protoc_insertion_point(class_specific_copy_from_start:daphne.ChannelInfo)
6219 if (&from == this) return;
6220 Clear();
6221 MergeFrom(from);
6222}
6223
6224PROTOBUF_NOINLINE bool ChannelInfo::IsInitialized() const {
6225 return true;
6226}
6227
6229 using std::swap;
6230 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6231 ::google::protobuf::internal::memswap<
6232 PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.id_)
6233 + sizeof(ChannelInfo::_impl_.id_)
6234 - PROTOBUF_FIELD_OFFSET(ChannelInfo, _impl_.total_triggers_)>(
6235 reinterpret_cast<char*>(&_impl_.total_triggers_),
6236 reinterpret_cast<char*>(&other->_impl_.total_triggers_));
6237}
6238
6244// ===================================================================
6245
6247 public:
6248};
6249
6250GeneralInfo::GeneralInfo(::google::protobuf::Arena* arena)
6251 : ::google::protobuf::Message(arena) {
6252 SharedCtor(arena);
6253 // @@protoc_insertion_point(arena_constructor:daphne.GeneralInfo)
6254}
6256 : ::google::protobuf::Message(), _impl_(from._impl_) {
6257 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
6258 from._internal_metadata_);
6259 // @@protoc_insertion_point(copy_constructor:daphne.GeneralInfo)
6260}
6261inline void GeneralInfo::SharedCtor(::_pb::Arena* arena) {
6262 (void)arena;
6263 new (&_impl_) Impl_{
6264 decltype(_impl_.v_bias_0_){0},
6265 decltype(_impl_.v_bias_1_){0},
6266 decltype(_impl_.v_bias_2_){0},
6267 decltype(_impl_.v_bias_3_){0},
6268 decltype(_impl_.v_bias_4_){0},
6269 decltype(_impl_.power_minus5v_){0},
6270 decltype(_impl_.power_plus2p5v_){0},
6271 decltype(_impl_.power_ce_){0},
6272 decltype(_impl_.temperature_){0},
6273 /*decltype(_impl_._cached_size_)*/ {},
6274 };
6275}
6277 // @@protoc_insertion_point(destructor:daphne.GeneralInfo)
6278 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
6279 SharedDtor();
6280}
6282 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
6283}
6284void GeneralInfo::SetCachedSize(int size) const {
6285 _impl_._cached_size_.Set(size);
6286}
6287
6288PROTOBUF_NOINLINE void GeneralInfo::Clear() {
6289// @@protoc_insertion_point(message_clear_start:daphne.GeneralInfo)
6290 ::uint32_t cached_has_bits = 0;
6291 // Prevent compiler warnings about cached_has_bits being unused
6292 (void) cached_has_bits;
6293
6294 ::memset(&_impl_.v_bias_0_, 0, static_cast<::size_t>(
6295 reinterpret_cast<char*>(&_impl_.temperature_) -
6296 reinterpret_cast<char*>(&_impl_.v_bias_0_)) + sizeof(_impl_.temperature_));
6297 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
6298}
6299
6300const char* GeneralInfo::_InternalParse(
6301 const char* ptr, ::_pbi::ParseContext* ctx) {
6302 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
6303 return ptr;
6304}
6305
6306
6307PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
6308const ::_pbi::TcParseTable<4, 9, 0, 0, 2> GeneralInfo::_table_ = {
6309 {
6310 0, // no _has_bits_
6311 0, // no _extensions_
6312 9, 120, // max_field_number, fast_idx_mask
6313 offsetof(decltype(_table_), field_lookup_table),
6314 4294966784, // skipmap
6315 offsetof(decltype(_table_), field_entries),
6316 9, // num_field_entries
6317 0, // num_aux_entries
6318 offsetof(decltype(_table_), field_names), // no aux_entries
6320 ::_pbi::TcParser::GenericFallback, // fallback
6321 }, {{
6322 {::_pbi::TcParser::MiniParse, {}},
6323 // double v_bias_0 = 1;
6324 {::_pbi::TcParser::FastF64S1,
6325 {9, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_0_)}},
6326 // double v_bias_1 = 2;
6327 {::_pbi::TcParser::FastF64S1,
6328 {17, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_1_)}},
6329 // double v_bias_2 = 3;
6330 {::_pbi::TcParser::FastF64S1,
6331 {25, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_2_)}},
6332 // double v_bias_3 = 4;
6333 {::_pbi::TcParser::FastF64S1,
6334 {33, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_3_)}},
6335 // double v_bias_4 = 5;
6336 {::_pbi::TcParser::FastF64S1,
6337 {41, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_4_)}},
6338 // double power_minus5v = 6;
6339 {::_pbi::TcParser::FastF64S1,
6340 {49, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.power_minus5v_)}},
6341 // double power_plus2p5v = 7;
6342 {::_pbi::TcParser::FastF64S1,
6343 {57, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.power_plus2p5v_)}},
6344 // double power_ce = 8;
6345 {::_pbi::TcParser::FastF64S1,
6346 {65, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.power_ce_)}},
6347 // double temperature = 9;
6348 {::_pbi::TcParser::FastF64S1,
6349 {73, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.temperature_)}},
6350 {::_pbi::TcParser::MiniParse, {}},
6351 {::_pbi::TcParser::MiniParse, {}},
6352 {::_pbi::TcParser::MiniParse, {}},
6353 {::_pbi::TcParser::MiniParse, {}},
6354 {::_pbi::TcParser::MiniParse, {}},
6355 {::_pbi::TcParser::MiniParse, {}},
6356 }}, {{
6357 65535, 65535
6358 }}, {{
6359 // double v_bias_0 = 1;
6360 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_0_), 0, 0,
6361 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
6362 // double v_bias_1 = 2;
6363 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_1_), 0, 0,
6364 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
6365 // double v_bias_2 = 3;
6366 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_2_), 0, 0,
6367 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
6368 // double v_bias_3 = 4;
6369 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_3_), 0, 0,
6370 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
6371 // double v_bias_4 = 5;
6372 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_4_), 0, 0,
6373 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
6374 // double power_minus5v = 6;
6375 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.power_minus5v_), 0, 0,
6376 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
6377 // double power_plus2p5v = 7;
6378 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.power_plus2p5v_), 0, 0,
6379 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
6380 // double power_ce = 8;
6381 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.power_ce_), 0, 0,
6382 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
6383 // double temperature = 9;
6384 {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.temperature_), 0, 0,
6385 (0 | ::_fl::kFcSingular | ::_fl::kDouble)},
6386 }},
6387 // no aux_entries
6388 {{
6389 }},
6390};
6391
6393 ::uint8_t* target,
6394 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
6395 // @@protoc_insertion_point(serialize_to_array_start:daphne.GeneralInfo)
6396 ::uint32_t cached_has_bits = 0;
6397 (void)cached_has_bits;
6398
6399 // double v_bias_0 = 1;
6400 static_assert(sizeof(::uint64_t) == sizeof(double),
6401 "Code assumes ::uint64_t and double are the same size.");
6402 double tmp_v_bias_0 = this->_internal_v_bias_0();
6403 ::uint64_t raw_v_bias_0;
6404 memcpy(&raw_v_bias_0, &tmp_v_bias_0, sizeof(tmp_v_bias_0));
6405 if (raw_v_bias_0 != 0) {
6406 target = stream->EnsureSpace(target);
6407 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
6408 1, this->_internal_v_bias_0(), target);
6409 }
6410
6411 // double v_bias_1 = 2;
6412 static_assert(sizeof(::uint64_t) == sizeof(double),
6413 "Code assumes ::uint64_t and double are the same size.");
6414 double tmp_v_bias_1 = this->_internal_v_bias_1();
6415 ::uint64_t raw_v_bias_1;
6416 memcpy(&raw_v_bias_1, &tmp_v_bias_1, sizeof(tmp_v_bias_1));
6417 if (raw_v_bias_1 != 0) {
6418 target = stream->EnsureSpace(target);
6419 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
6420 2, this->_internal_v_bias_1(), target);
6421 }
6422
6423 // double v_bias_2 = 3;
6424 static_assert(sizeof(::uint64_t) == sizeof(double),
6425 "Code assumes ::uint64_t and double are the same size.");
6426 double tmp_v_bias_2 = this->_internal_v_bias_2();
6427 ::uint64_t raw_v_bias_2;
6428 memcpy(&raw_v_bias_2, &tmp_v_bias_2, sizeof(tmp_v_bias_2));
6429 if (raw_v_bias_2 != 0) {
6430 target = stream->EnsureSpace(target);
6431 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
6432 3, this->_internal_v_bias_2(), target);
6433 }
6434
6435 // double v_bias_3 = 4;
6436 static_assert(sizeof(::uint64_t) == sizeof(double),
6437 "Code assumes ::uint64_t and double are the same size.");
6438 double tmp_v_bias_3 = this->_internal_v_bias_3();
6439 ::uint64_t raw_v_bias_3;
6440 memcpy(&raw_v_bias_3, &tmp_v_bias_3, sizeof(tmp_v_bias_3));
6441 if (raw_v_bias_3 != 0) {
6442 target = stream->EnsureSpace(target);
6443 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
6444 4, this->_internal_v_bias_3(), target);
6445 }
6446
6447 // double v_bias_4 = 5;
6448 static_assert(sizeof(::uint64_t) == sizeof(double),
6449 "Code assumes ::uint64_t and double are the same size.");
6450 double tmp_v_bias_4 = this->_internal_v_bias_4();
6451 ::uint64_t raw_v_bias_4;
6452 memcpy(&raw_v_bias_4, &tmp_v_bias_4, sizeof(tmp_v_bias_4));
6453 if (raw_v_bias_4 != 0) {
6454 target = stream->EnsureSpace(target);
6455 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
6456 5, this->_internal_v_bias_4(), target);
6457 }
6458
6459 // double power_minus5v = 6;
6460 static_assert(sizeof(::uint64_t) == sizeof(double),
6461 "Code assumes ::uint64_t and double are the same size.");
6462 double tmp_power_minus5v = this->_internal_power_minus5v();
6463 ::uint64_t raw_power_minus5v;
6464 memcpy(&raw_power_minus5v, &tmp_power_minus5v, sizeof(tmp_power_minus5v));
6465 if (raw_power_minus5v != 0) {
6466 target = stream->EnsureSpace(target);
6467 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
6468 6, this->_internal_power_minus5v(), target);
6469 }
6470
6471 // double power_plus2p5v = 7;
6472 static_assert(sizeof(::uint64_t) == sizeof(double),
6473 "Code assumes ::uint64_t and double are the same size.");
6474 double tmp_power_plus2p5v = this->_internal_power_plus2p5v();
6475 ::uint64_t raw_power_plus2p5v;
6476 memcpy(&raw_power_plus2p5v, &tmp_power_plus2p5v, sizeof(tmp_power_plus2p5v));
6477 if (raw_power_plus2p5v != 0) {
6478 target = stream->EnsureSpace(target);
6479 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
6480 7, this->_internal_power_plus2p5v(), target);
6481 }
6482
6483 // double power_ce = 8;
6484 static_assert(sizeof(::uint64_t) == sizeof(double),
6485 "Code assumes ::uint64_t and double are the same size.");
6486 double tmp_power_ce = this->_internal_power_ce();
6487 ::uint64_t raw_power_ce;
6488 memcpy(&raw_power_ce, &tmp_power_ce, sizeof(tmp_power_ce));
6489 if (raw_power_ce != 0) {
6490 target = stream->EnsureSpace(target);
6491 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
6492 8, this->_internal_power_ce(), target);
6493 }
6494
6495 // double temperature = 9;
6496 static_assert(sizeof(::uint64_t) == sizeof(double),
6497 "Code assumes ::uint64_t and double are the same size.");
6498 double tmp_temperature = this->_internal_temperature();
6499 ::uint64_t raw_temperature;
6500 memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature));
6501 if (raw_temperature != 0) {
6502 target = stream->EnsureSpace(target);
6503 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
6504 9, this->_internal_temperature(), target);
6505 }
6506
6507 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6508 target =
6509 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
6510 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
6511 }
6512 // @@protoc_insertion_point(serialize_to_array_end:daphne.GeneralInfo)
6513 return target;
6514}
6515
6517// @@protoc_insertion_point(message_byte_size_start:daphne.GeneralInfo)
6518 ::size_t total_size = 0;
6519
6520 ::uint32_t cached_has_bits = 0;
6521 // Prevent compiler warnings about cached_has_bits being unused
6522 (void) cached_has_bits;
6523
6524 // double v_bias_0 = 1;
6525 static_assert(sizeof(::uint64_t) == sizeof(double),
6526 "Code assumes ::uint64_t and double are the same size.");
6527 double tmp_v_bias_0 = this->_internal_v_bias_0();
6528 ::uint64_t raw_v_bias_0;
6529 memcpy(&raw_v_bias_0, &tmp_v_bias_0, sizeof(tmp_v_bias_0));
6530 if (raw_v_bias_0 != 0) {
6531 total_size += 9;
6532 }
6533
6534 // double v_bias_1 = 2;
6535 static_assert(sizeof(::uint64_t) == sizeof(double),
6536 "Code assumes ::uint64_t and double are the same size.");
6537 double tmp_v_bias_1 = this->_internal_v_bias_1();
6538 ::uint64_t raw_v_bias_1;
6539 memcpy(&raw_v_bias_1, &tmp_v_bias_1, sizeof(tmp_v_bias_1));
6540 if (raw_v_bias_1 != 0) {
6541 total_size += 9;
6542 }
6543
6544 // double v_bias_2 = 3;
6545 static_assert(sizeof(::uint64_t) == sizeof(double),
6546 "Code assumes ::uint64_t and double are the same size.");
6547 double tmp_v_bias_2 = this->_internal_v_bias_2();
6548 ::uint64_t raw_v_bias_2;
6549 memcpy(&raw_v_bias_2, &tmp_v_bias_2, sizeof(tmp_v_bias_2));
6550 if (raw_v_bias_2 != 0) {
6551 total_size += 9;
6552 }
6553
6554 // double v_bias_3 = 4;
6555 static_assert(sizeof(::uint64_t) == sizeof(double),
6556 "Code assumes ::uint64_t and double are the same size.");
6557 double tmp_v_bias_3 = this->_internal_v_bias_3();
6558 ::uint64_t raw_v_bias_3;
6559 memcpy(&raw_v_bias_3, &tmp_v_bias_3, sizeof(tmp_v_bias_3));
6560 if (raw_v_bias_3 != 0) {
6561 total_size += 9;
6562 }
6563
6564 // double v_bias_4 = 5;
6565 static_assert(sizeof(::uint64_t) == sizeof(double),
6566 "Code assumes ::uint64_t and double are the same size.");
6567 double tmp_v_bias_4 = this->_internal_v_bias_4();
6568 ::uint64_t raw_v_bias_4;
6569 memcpy(&raw_v_bias_4, &tmp_v_bias_4, sizeof(tmp_v_bias_4));
6570 if (raw_v_bias_4 != 0) {
6571 total_size += 9;
6572 }
6573
6574 // double power_minus5v = 6;
6575 static_assert(sizeof(::uint64_t) == sizeof(double),
6576 "Code assumes ::uint64_t and double are the same size.");
6577 double tmp_power_minus5v = this->_internal_power_minus5v();
6578 ::uint64_t raw_power_minus5v;
6579 memcpy(&raw_power_minus5v, &tmp_power_minus5v, sizeof(tmp_power_minus5v));
6580 if (raw_power_minus5v != 0) {
6581 total_size += 9;
6582 }
6583
6584 // double power_plus2p5v = 7;
6585 static_assert(sizeof(::uint64_t) == sizeof(double),
6586 "Code assumes ::uint64_t and double are the same size.");
6587 double tmp_power_plus2p5v = this->_internal_power_plus2p5v();
6588 ::uint64_t raw_power_plus2p5v;
6589 memcpy(&raw_power_plus2p5v, &tmp_power_plus2p5v, sizeof(tmp_power_plus2p5v));
6590 if (raw_power_plus2p5v != 0) {
6591 total_size += 9;
6592 }
6593
6594 // double power_ce = 8;
6595 static_assert(sizeof(::uint64_t) == sizeof(double),
6596 "Code assumes ::uint64_t and double are the same size.");
6597 double tmp_power_ce = this->_internal_power_ce();
6598 ::uint64_t raw_power_ce;
6599 memcpy(&raw_power_ce, &tmp_power_ce, sizeof(tmp_power_ce));
6600 if (raw_power_ce != 0) {
6601 total_size += 9;
6602 }
6603
6604 // double temperature = 9;
6605 static_assert(sizeof(::uint64_t) == sizeof(double),
6606 "Code assumes ::uint64_t and double are the same size.");
6607 double tmp_temperature = this->_internal_temperature();
6608 ::uint64_t raw_temperature;
6609 memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature));
6610 if (raw_temperature != 0) {
6611 total_size += 9;
6612 }
6613
6614 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
6615}
6616
6617const ::google::protobuf::Message::ClassData GeneralInfo::_class_data_ = {
6618 ::google::protobuf::Message::CopyWithSourceCheck,
6620};
6621const ::google::protobuf::Message::ClassData*GeneralInfo::GetClassData() const { return &_class_data_; }
6622
6623
6624void GeneralInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
6625 auto* const _this = static_cast<GeneralInfo*>(&to_msg);
6626 auto& from = static_cast<const GeneralInfo&>(from_msg);
6627 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.GeneralInfo)
6628 ABSL_DCHECK_NE(&from, _this);
6629 ::uint32_t cached_has_bits = 0;
6630 (void) cached_has_bits;
6631
6632 static_assert(sizeof(::uint64_t) == sizeof(double),
6633 "Code assumes ::uint64_t and double are the same size.");
6634 double tmp_v_bias_0 = from._internal_v_bias_0();
6635 ::uint64_t raw_v_bias_0;
6636 memcpy(&raw_v_bias_0, &tmp_v_bias_0, sizeof(tmp_v_bias_0));
6637 if (raw_v_bias_0 != 0) {
6638 _this->_internal_set_v_bias_0(from._internal_v_bias_0());
6639 }
6640 static_assert(sizeof(::uint64_t) == sizeof(double),
6641 "Code assumes ::uint64_t and double are the same size.");
6642 double tmp_v_bias_1 = from._internal_v_bias_1();
6643 ::uint64_t raw_v_bias_1;
6644 memcpy(&raw_v_bias_1, &tmp_v_bias_1, sizeof(tmp_v_bias_1));
6645 if (raw_v_bias_1 != 0) {
6646 _this->_internal_set_v_bias_1(from._internal_v_bias_1());
6647 }
6648 static_assert(sizeof(::uint64_t) == sizeof(double),
6649 "Code assumes ::uint64_t and double are the same size.");
6650 double tmp_v_bias_2 = from._internal_v_bias_2();
6651 ::uint64_t raw_v_bias_2;
6652 memcpy(&raw_v_bias_2, &tmp_v_bias_2, sizeof(tmp_v_bias_2));
6653 if (raw_v_bias_2 != 0) {
6654 _this->_internal_set_v_bias_2(from._internal_v_bias_2());
6655 }
6656 static_assert(sizeof(::uint64_t) == sizeof(double),
6657 "Code assumes ::uint64_t and double are the same size.");
6658 double tmp_v_bias_3 = from._internal_v_bias_3();
6659 ::uint64_t raw_v_bias_3;
6660 memcpy(&raw_v_bias_3, &tmp_v_bias_3, sizeof(tmp_v_bias_3));
6661 if (raw_v_bias_3 != 0) {
6662 _this->_internal_set_v_bias_3(from._internal_v_bias_3());
6663 }
6664 static_assert(sizeof(::uint64_t) == sizeof(double),
6665 "Code assumes ::uint64_t and double are the same size.");
6666 double tmp_v_bias_4 = from._internal_v_bias_4();
6667 ::uint64_t raw_v_bias_4;
6668 memcpy(&raw_v_bias_4, &tmp_v_bias_4, sizeof(tmp_v_bias_4));
6669 if (raw_v_bias_4 != 0) {
6670 _this->_internal_set_v_bias_4(from._internal_v_bias_4());
6671 }
6672 static_assert(sizeof(::uint64_t) == sizeof(double),
6673 "Code assumes ::uint64_t and double are the same size.");
6674 double tmp_power_minus5v = from._internal_power_minus5v();
6675 ::uint64_t raw_power_minus5v;
6676 memcpy(&raw_power_minus5v, &tmp_power_minus5v, sizeof(tmp_power_minus5v));
6677 if (raw_power_minus5v != 0) {
6678 _this->_internal_set_power_minus5v(from._internal_power_minus5v());
6679 }
6680 static_assert(sizeof(::uint64_t) == sizeof(double),
6681 "Code assumes ::uint64_t and double are the same size.");
6682 double tmp_power_plus2p5v = from._internal_power_plus2p5v();
6683 ::uint64_t raw_power_plus2p5v;
6684 memcpy(&raw_power_plus2p5v, &tmp_power_plus2p5v, sizeof(tmp_power_plus2p5v));
6685 if (raw_power_plus2p5v != 0) {
6686 _this->_internal_set_power_plus2p5v(from._internal_power_plus2p5v());
6687 }
6688 static_assert(sizeof(::uint64_t) == sizeof(double),
6689 "Code assumes ::uint64_t and double are the same size.");
6690 double tmp_power_ce = from._internal_power_ce();
6691 ::uint64_t raw_power_ce;
6692 memcpy(&raw_power_ce, &tmp_power_ce, sizeof(tmp_power_ce));
6693 if (raw_power_ce != 0) {
6694 _this->_internal_set_power_ce(from._internal_power_ce());
6695 }
6696 static_assert(sizeof(::uint64_t) == sizeof(double),
6697 "Code assumes ::uint64_t and double are the same size.");
6698 double tmp_temperature = from._internal_temperature();
6699 ::uint64_t raw_temperature;
6700 memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature));
6701 if (raw_temperature != 0) {
6702 _this->_internal_set_temperature(from._internal_temperature());
6703 }
6704 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
6705}
6706
6708// @@protoc_insertion_point(class_specific_copy_from_start:daphne.GeneralInfo)
6709 if (&from == this) return;
6710 Clear();
6711 MergeFrom(from);
6712}
6713
6714PROTOBUF_NOINLINE bool GeneralInfo::IsInitialized() const {
6715 return true;
6716}
6717
6719 using std::swap;
6720 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6721 ::google::protobuf::internal::memswap<
6722 PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.temperature_)
6724 - PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.v_bias_0_)>(
6725 reinterpret_cast<char*>(&_impl_.v_bias_0_),
6726 reinterpret_cast<char*>(&other->_impl_.v_bias_0_));
6727}
6728
6734// ===================================================================
6735
6737 public:
6738 using HasBits = decltype(std::declval<InfoResponse>()._impl_._has_bits_);
6739 static constexpr ::int32_t kHasBitsOffset =
6740 8 * PROTOBUF_FIELD_OFFSET(InfoResponse, _impl_._has_bits_);
6741 static const ::daphne::StreamInfo& stream_info(const InfoResponse* msg);
6742 static void set_has_stream_info(HasBits* has_bits) {
6743 (*has_bits)[0] |= 1u;
6744 }
6745 static const ::daphne::GeneralInfo& general_info(const InfoResponse* msg);
6746 static void set_has_general_info(HasBits* has_bits) {
6747 (*has_bits)[0] |= 2u;
6748 }
6749};
6750
6751const ::daphne::StreamInfo& InfoResponse::_Internal::stream_info(const InfoResponse* msg) {
6752 return *msg->_impl_.stream_info_;
6753}
6754const ::daphne::GeneralInfo& InfoResponse::_Internal::general_info(const InfoResponse* msg) {
6755 return *msg->_impl_.general_info_;
6756}
6757InfoResponse::InfoResponse(::google::protobuf::Arena* arena)
6758 : ::google::protobuf::Message(arena) {
6759 SharedCtor(arena);
6760 // @@protoc_insertion_point(arena_constructor:daphne.InfoResponse)
6761}
6762InfoResponse::InfoResponse(const InfoResponse& from) : ::google::protobuf::Message() {
6763 InfoResponse* const _this = this;
6764 (void)_this;
6765 new (&_impl_) Impl_{
6766 decltype(_impl_._has_bits_){from._impl_._has_bits_},
6767 /*decltype(_impl_._cached_size_)*/ {},
6768 decltype(_impl_.channels_){from._impl_.channels_},
6769 decltype(_impl_.stream_info_){nullptr},
6770 decltype(_impl_.general_info_){nullptr},
6771 };
6772 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
6773 from._internal_metadata_);
6774 if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
6775 _this->_impl_.stream_info_ = new ::daphne::StreamInfo(*from._impl_.stream_info_);
6776 }
6777 if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
6778 _this->_impl_.general_info_ = new ::daphne::GeneralInfo(*from._impl_.general_info_);
6779 }
6780
6781 // @@protoc_insertion_point(copy_constructor:daphne.InfoResponse)
6782}
6783inline void InfoResponse::SharedCtor(::_pb::Arena* arena) {
6784 (void)arena;
6785 new (&_impl_) Impl_{
6786 decltype(_impl_._has_bits_){},
6787 /*decltype(_impl_._cached_size_)*/ {},
6788 decltype(_impl_.channels_){arena},
6789 decltype(_impl_.stream_info_){nullptr},
6790 decltype(_impl_.general_info_){nullptr},
6791 };
6792}
6794 // @@protoc_insertion_point(destructor:daphne.InfoResponse)
6795 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
6796 SharedDtor();
6797}
6799 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
6800 _impl_.channels_.~RepeatedPtrField();
6801 if (this != internal_default_instance()) delete _impl_.stream_info_;
6802 if (this != internal_default_instance()) delete _impl_.general_info_;
6803}
6804void InfoResponse::SetCachedSize(int size) const {
6805 _impl_._cached_size_.Set(size);
6806}
6807
6808PROTOBUF_NOINLINE void InfoResponse::Clear() {
6809// @@protoc_insertion_point(message_clear_start:daphne.InfoResponse)
6810 ::uint32_t cached_has_bits = 0;
6811 // Prevent compiler warnings about cached_has_bits being unused
6812 (void) cached_has_bits;
6813
6814 _internal_mutable_channels()->Clear();
6815 cached_has_bits = _impl_._has_bits_[0];
6816 if (cached_has_bits & 0x00000003u) {
6817 if (cached_has_bits & 0x00000001u) {
6818 ABSL_DCHECK(_impl_.stream_info_ != nullptr);
6820 }
6821 if (cached_has_bits & 0x00000002u) {
6822 ABSL_DCHECK(_impl_.general_info_ != nullptr);
6824 }
6825 }
6826 _impl_._has_bits_.Clear();
6827 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
6828}
6829
6831 const char* ptr, ::_pbi::ParseContext* ctx) {
6832 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
6833 return ptr;
6834}
6835
6836
6837PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
6838const ::_pbi::TcParseTable<2, 3, 3, 0, 2> InfoResponse::_table_ = {
6839 {
6840 PROTOBUF_FIELD_OFFSET(InfoResponse, _impl_._has_bits_),
6841 0, // no _extensions_
6842 3, 24, // max_field_number, fast_idx_mask
6843 offsetof(decltype(_table_), field_lookup_table),
6844 4294967288, // skipmap
6845 offsetof(decltype(_table_), field_entries),
6846 3, // num_field_entries
6847 3, // num_aux_entries
6848 offsetof(decltype(_table_), aux_entries),
6850 ::_pbi::TcParser::GenericFallback, // fallback
6851 }, {{
6852 {::_pbi::TcParser::MiniParse, {}},
6853 // .daphne.StreamInfo stream_info = 1;
6854 {::_pbi::TcParser::FastMtS1,
6855 {10, 0, 0, PROTOBUF_FIELD_OFFSET(InfoResponse, _impl_.stream_info_)}},
6856 // repeated .daphne.ChannelInfo channels = 2;
6857 {::_pbi::TcParser::FastMtR1,
6858 {18, 63, 1, PROTOBUF_FIELD_OFFSET(InfoResponse, _impl_.channels_)}},
6859 // .daphne.GeneralInfo general_info = 3;
6860 {::_pbi::TcParser::FastMtS1,
6861 {26, 1, 2, PROTOBUF_FIELD_OFFSET(InfoResponse, _impl_.general_info_)}},
6862 }}, {{
6863 65535, 65535
6864 }}, {{
6865 // .daphne.StreamInfo stream_info = 1;
6866 {PROTOBUF_FIELD_OFFSET(InfoResponse, _impl_.stream_info_), _Internal::kHasBitsOffset + 0, 0,
6867 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
6868 // repeated .daphne.ChannelInfo channels = 2;
6869 {PROTOBUF_FIELD_OFFSET(InfoResponse, _impl_.channels_), -1, 1,
6870 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
6871 // .daphne.GeneralInfo general_info = 3;
6872 {PROTOBUF_FIELD_OFFSET(InfoResponse, _impl_.general_info_), _Internal::kHasBitsOffset + 1, 2,
6873 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
6874 }}, {{
6875 {::_pbi::TcParser::GetTable<::daphne::StreamInfo>()},
6876 {::_pbi::TcParser::GetTable<::daphne::ChannelInfo>()},
6877 {::_pbi::TcParser::GetTable<::daphne::GeneralInfo>()},
6878 }}, {{
6879 }},
6880};
6881
6883 ::uint8_t* target,
6884 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
6885 // @@protoc_insertion_point(serialize_to_array_start:daphne.InfoResponse)
6886 ::uint32_t cached_has_bits = 0;
6887 (void)cached_has_bits;
6888
6889 cached_has_bits = _impl_._has_bits_[0];
6890 // .daphne.StreamInfo stream_info = 1;
6891 if (cached_has_bits & 0x00000001u) {
6892 target = ::google::protobuf::internal::WireFormatLite::
6893 InternalWriteMessage(1, _Internal::stream_info(this),
6894 _Internal::stream_info(this).GetCachedSize(), target, stream);
6895 }
6896
6897 // repeated .daphne.ChannelInfo channels = 2;
6898 for (unsigned i = 0,
6899 n = static_cast<unsigned>(this->_internal_channels_size()); i < n; i++) {
6900 const auto& repfield = this->_internal_channels().Get(i);
6901 target = ::google::protobuf::internal::WireFormatLite::
6902 InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream);
6903 }
6904
6905 // .daphne.GeneralInfo general_info = 3;
6906 if (cached_has_bits & 0x00000002u) {
6907 target = ::google::protobuf::internal::WireFormatLite::
6908 InternalWriteMessage(3, _Internal::general_info(this),
6909 _Internal::general_info(this).GetCachedSize(), target, stream);
6910 }
6911
6912 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6913 target =
6914 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
6915 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
6916 }
6917 // @@protoc_insertion_point(serialize_to_array_end:daphne.InfoResponse)
6918 return target;
6919}
6920
6922// @@protoc_insertion_point(message_byte_size_start:daphne.InfoResponse)
6923 ::size_t total_size = 0;
6924
6925 ::uint32_t cached_has_bits = 0;
6926 // Prevent compiler warnings about cached_has_bits being unused
6927 (void) cached_has_bits;
6928
6929 // repeated .daphne.ChannelInfo channels = 2;
6930 total_size += 1UL * this->_internal_channels_size();
6931 for (const auto& msg : this->_internal_channels()) {
6932 total_size +=
6933 ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
6934 }
6935 cached_has_bits = _impl_._has_bits_[0];
6936 if (cached_has_bits & 0x00000003u) {
6937 // .daphne.StreamInfo stream_info = 1;
6938 if (cached_has_bits & 0x00000001u) {
6939 total_size += 1 +
6940 ::google::protobuf::internal::WireFormatLite::MessageSize(
6942 }
6943
6944 // .daphne.GeneralInfo general_info = 3;
6945 if (cached_has_bits & 0x00000002u) {
6946 total_size += 1 +
6947 ::google::protobuf::internal::WireFormatLite::MessageSize(
6949 }
6950
6951 }
6952 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
6953}
6954
6955const ::google::protobuf::Message::ClassData InfoResponse::_class_data_ = {
6956 ::google::protobuf::Message::CopyWithSourceCheck,
6958};
6959const ::google::protobuf::Message::ClassData*InfoResponse::GetClassData() const { return &_class_data_; }
6960
6961
6962void InfoResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
6963 auto* const _this = static_cast<InfoResponse*>(&to_msg);
6964 auto& from = static_cast<const InfoResponse&>(from_msg);
6965 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.InfoResponse)
6966 ABSL_DCHECK_NE(&from, _this);
6967 ::uint32_t cached_has_bits = 0;
6968 (void) cached_has_bits;
6969
6970 _this->_internal_mutable_channels()->MergeFrom(from._internal_channels());
6971 cached_has_bits = from._impl_._has_bits_[0];
6972 if (cached_has_bits & 0x00000003u) {
6973 if (cached_has_bits & 0x00000001u) {
6974 _this->_internal_mutable_stream_info()->::daphne::StreamInfo::MergeFrom(
6975 from._internal_stream_info());
6976 }
6977 if (cached_has_bits & 0x00000002u) {
6978 _this->_internal_mutable_general_info()->::daphne::GeneralInfo::MergeFrom(
6979 from._internal_general_info());
6980 }
6981 }
6982 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
6983}
6984
6986// @@protoc_insertion_point(class_specific_copy_from_start:daphne.InfoResponse)
6987 if (&from == this) return;
6988 Clear();
6989 MergeFrom(from);
6990}
6991
6992PROTOBUF_NOINLINE bool InfoResponse::IsInitialized() const {
6993 return true;
6994}
6995
6997 using std::swap;
6998 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6999 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
7000 _impl_.channels_.InternalSwap(&other->_impl_.channels_);
7001 ::google::protobuf::internal::memswap<
7002 PROTOBUF_FIELD_OFFSET(InfoResponse, _impl_.general_info_)
7004 - PROTOBUF_FIELD_OFFSET(InfoResponse, _impl_.stream_info_)>(
7005 reinterpret_cast<char*>(&_impl_.stream_info_),
7006 reinterpret_cast<char*>(&other->_impl_.stream_info_));
7007}
7008
7014// ===================================================================
7015
7017 public:
7018};
7019
7020TriggerChannelSnapshot::TriggerChannelSnapshot(::google::protobuf::Arena* arena)
7021 : ::google::protobuf::Message(arena) {
7022 SharedCtor(arena);
7023 // @@protoc_insertion_point(arena_constructor:daphne.TriggerChannelSnapshot)
7024}
7026 : ::google::protobuf::Message(), _impl_(from._impl_) {
7027 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
7028 from._internal_metadata_);
7029 // @@protoc_insertion_point(copy_constructor:daphne.TriggerChannelSnapshot)
7030}
7031inline void TriggerChannelSnapshot::SharedCtor(::_pb::Arena* arena) {
7032 (void)arena;
7033 new (&_impl_) Impl_{
7034 decltype(_impl_.channel_){0u},
7035 decltype(_impl_.threshold_){0u},
7036 decltype(_impl_.record_count_){::uint64_t{0u}},
7037 decltype(_impl_.busy_count_){::uint64_t{0u}},
7038 decltype(_impl_.full_count_){::uint64_t{0u}},
7039 /*decltype(_impl_._cached_size_)*/ {},
7040 };
7041}
7043 // @@protoc_insertion_point(destructor:daphne.TriggerChannelSnapshot)
7044 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
7045 SharedDtor();
7046}
7048 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
7049}
7051 _impl_._cached_size_.Set(size);
7052}
7053
7054PROTOBUF_NOINLINE void TriggerChannelSnapshot::Clear() {
7055// @@protoc_insertion_point(message_clear_start:daphne.TriggerChannelSnapshot)
7056 ::uint32_t cached_has_bits = 0;
7057 // Prevent compiler warnings about cached_has_bits being unused
7058 (void) cached_has_bits;
7059
7060 ::memset(&_impl_.channel_, 0, static_cast<::size_t>(
7061 reinterpret_cast<char*>(&_impl_.full_count_) -
7062 reinterpret_cast<char*>(&_impl_.channel_)) + sizeof(_impl_.full_count_));
7063 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
7064}
7065
7067 const char* ptr, ::_pbi::ParseContext* ctx) {
7068 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
7069 return ptr;
7070}
7071
7072
7073PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
7074const ::_pbi::TcParseTable<3, 5, 0, 0, 2> TriggerChannelSnapshot::_table_ = {
7075 {
7076 0, // no _has_bits_
7077 0, // no _extensions_
7078 5, 56, // max_field_number, fast_idx_mask
7079 offsetof(decltype(_table_), field_lookup_table),
7080 4294967264, // skipmap
7081 offsetof(decltype(_table_), field_entries),
7082 5, // num_field_entries
7083 0, // num_aux_entries
7084 offsetof(decltype(_table_), field_names), // no aux_entries
7086 ::_pbi::TcParser::GenericFallback, // fallback
7087 }, {{
7088 {::_pbi::TcParser::MiniParse, {}},
7089 // uint32 channel = 1;
7090 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TriggerChannelSnapshot, _impl_.channel_), 63>(),
7091 {8, 63, 0, PROTOBUF_FIELD_OFFSET(TriggerChannelSnapshot, _impl_.channel_)}},
7092 // uint32 threshold = 2;
7093 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TriggerChannelSnapshot, _impl_.threshold_), 63>(),
7094 {16, 63, 0, PROTOBUF_FIELD_OFFSET(TriggerChannelSnapshot, _impl_.threshold_)}},
7095 // uint64 record_count = 3;
7096 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(TriggerChannelSnapshot, _impl_.record_count_), 63>(),
7097 {24, 63, 0, PROTOBUF_FIELD_OFFSET(TriggerChannelSnapshot, _impl_.record_count_)}},
7098 // uint64 busy_count = 4;
7099 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(TriggerChannelSnapshot, _impl_.busy_count_), 63>(),
7100 {32, 63, 0, PROTOBUF_FIELD_OFFSET(TriggerChannelSnapshot, _impl_.busy_count_)}},
7101 // uint64 full_count = 5;
7102 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(TriggerChannelSnapshot, _impl_.full_count_), 63>(),
7103 {40, 63, 0, PROTOBUF_FIELD_OFFSET(TriggerChannelSnapshot, _impl_.full_count_)}},
7104 {::_pbi::TcParser::MiniParse, {}},
7105 {::_pbi::TcParser::MiniParse, {}},
7106 }}, {{
7107 65535, 65535
7108 }}, {{
7109 // uint32 channel = 1;
7110 {PROTOBUF_FIELD_OFFSET(TriggerChannelSnapshot, _impl_.channel_), 0, 0,
7111 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
7112 // uint32 threshold = 2;
7113 {PROTOBUF_FIELD_OFFSET(TriggerChannelSnapshot, _impl_.threshold_), 0, 0,
7114 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
7115 // uint64 record_count = 3;
7116 {PROTOBUF_FIELD_OFFSET(TriggerChannelSnapshot, _impl_.record_count_), 0, 0,
7117 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
7118 // uint64 busy_count = 4;
7119 {PROTOBUF_FIELD_OFFSET(TriggerChannelSnapshot, _impl_.busy_count_), 0, 0,
7120 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
7121 // uint64 full_count = 5;
7122 {PROTOBUF_FIELD_OFFSET(TriggerChannelSnapshot, _impl_.full_count_), 0, 0,
7123 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
7124 }},
7125 // no aux_entries
7126 {{
7127 }},
7128};
7129
7131 ::uint8_t* target,
7132 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
7133 // @@protoc_insertion_point(serialize_to_array_start:daphne.TriggerChannelSnapshot)
7134 ::uint32_t cached_has_bits = 0;
7135 (void)cached_has_bits;
7136
7137 // uint32 channel = 1;
7138 if (this->_internal_channel() != 0) {
7139 target = stream->EnsureSpace(target);
7140 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
7141 1, this->_internal_channel(), target);
7142 }
7143
7144 // uint32 threshold = 2;
7145 if (this->_internal_threshold() != 0) {
7146 target = stream->EnsureSpace(target);
7147 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
7148 2, this->_internal_threshold(), target);
7149 }
7150
7151 // uint64 record_count = 3;
7152 if (this->_internal_record_count() != 0) {
7153 target = stream->EnsureSpace(target);
7154 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
7155 3, this->_internal_record_count(), target);
7156 }
7157
7158 // uint64 busy_count = 4;
7159 if (this->_internal_busy_count() != 0) {
7160 target = stream->EnsureSpace(target);
7161 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
7162 4, this->_internal_busy_count(), target);
7163 }
7164
7165 // uint64 full_count = 5;
7166 if (this->_internal_full_count() != 0) {
7167 target = stream->EnsureSpace(target);
7168 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
7169 5, this->_internal_full_count(), target);
7170 }
7171
7172 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7173 target =
7174 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7175 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
7176 }
7177 // @@protoc_insertion_point(serialize_to_array_end:daphne.TriggerChannelSnapshot)
7178 return target;
7179}
7180
7182// @@protoc_insertion_point(message_byte_size_start:daphne.TriggerChannelSnapshot)
7183 ::size_t total_size = 0;
7184
7185 ::uint32_t cached_has_bits = 0;
7186 // Prevent compiler warnings about cached_has_bits being unused
7187 (void) cached_has_bits;
7188
7189 // uint32 channel = 1;
7190 if (this->_internal_channel() != 0) {
7191 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
7192 this->_internal_channel());
7193 }
7194
7195 // uint32 threshold = 2;
7196 if (this->_internal_threshold() != 0) {
7197 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
7198 this->_internal_threshold());
7199 }
7200
7201 // uint64 record_count = 3;
7202 if (this->_internal_record_count() != 0) {
7203 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
7204 this->_internal_record_count());
7205 }
7206
7207 // uint64 busy_count = 4;
7208 if (this->_internal_busy_count() != 0) {
7209 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
7210 this->_internal_busy_count());
7211 }
7212
7213 // uint64 full_count = 5;
7214 if (this->_internal_full_count() != 0) {
7215 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
7216 this->_internal_full_count());
7217 }
7218
7219 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
7220}
7221
7222const ::google::protobuf::Message::ClassData TriggerChannelSnapshot::_class_data_ = {
7223 ::google::protobuf::Message::CopyWithSourceCheck,
7225};
7226const ::google::protobuf::Message::ClassData*TriggerChannelSnapshot::GetClassData() const { return &_class_data_; }
7227
7228
7229void TriggerChannelSnapshot::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
7230 auto* const _this = static_cast<TriggerChannelSnapshot*>(&to_msg);
7231 auto& from = static_cast<const TriggerChannelSnapshot&>(from_msg);
7232 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.TriggerChannelSnapshot)
7233 ABSL_DCHECK_NE(&from, _this);
7234 ::uint32_t cached_has_bits = 0;
7235 (void) cached_has_bits;
7236
7237 if (from._internal_channel() != 0) {
7238 _this->_internal_set_channel(from._internal_channel());
7239 }
7240 if (from._internal_threshold() != 0) {
7241 _this->_internal_set_threshold(from._internal_threshold());
7242 }
7243 if (from._internal_record_count() != 0) {
7244 _this->_internal_set_record_count(from._internal_record_count());
7245 }
7246 if (from._internal_busy_count() != 0) {
7247 _this->_internal_set_busy_count(from._internal_busy_count());
7248 }
7249 if (from._internal_full_count() != 0) {
7250 _this->_internal_set_full_count(from._internal_full_count());
7251 }
7252 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
7253}
7254
7256// @@protoc_insertion_point(class_specific_copy_from_start:daphne.TriggerChannelSnapshot)
7257 if (&from == this) return;
7258 Clear();
7259 MergeFrom(from);
7260}
7261
7262PROTOBUF_NOINLINE bool TriggerChannelSnapshot::IsInitialized() const {
7263 return true;
7264}
7265
7267 using std::swap;
7268 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7269 ::google::protobuf::internal::memswap<
7270 PROTOBUF_FIELD_OFFSET(TriggerChannelSnapshot, _impl_.full_count_)
7272 - PROTOBUF_FIELD_OFFSET(TriggerChannelSnapshot, _impl_.channel_)>(
7273 reinterpret_cast<char*>(&_impl_.channel_),
7274 reinterpret_cast<char*>(&other->_impl_.channel_));
7275}
7276
7282// ===================================================================
7283
7285 public:
7286};
7287
7289 : ::google::protobuf::Message(arena) {
7290 SharedCtor(arena);
7291 // @@protoc_insertion_point(arena_constructor:daphne.ReadTriggerCountersRequest)
7292}
7294 ReadTriggerCountersRequest* const _this = this;
7295 (void)_this;
7296 new (&_impl_) Impl_{
7297 decltype(_impl_.channels_){from._impl_.channels_},
7298 /* _impl_._channels_cached_byte_size_ = */ {0},
7299 decltype(_impl_.base_addr_){},
7300 /*decltype(_impl_._cached_size_)*/ {},
7301 };
7302 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
7303 from._internal_metadata_);
7304 _this->_impl_.base_addr_ = from._impl_.base_addr_;
7305
7306 // @@protoc_insertion_point(copy_constructor:daphne.ReadTriggerCountersRequest)
7307}
7308inline void ReadTriggerCountersRequest::SharedCtor(::_pb::Arena* arena) {
7309 (void)arena;
7310 new (&_impl_) Impl_{
7311 decltype(_impl_.channels_){arena},
7312 /* _impl_._channels_cached_byte_size_ = */ {0},
7313 decltype(_impl_.base_addr_){0u},
7314 /*decltype(_impl_._cached_size_)*/ {},
7315 };
7316}
7318 // @@protoc_insertion_point(destructor:daphne.ReadTriggerCountersRequest)
7319 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
7320 SharedDtor();
7321}
7323 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
7324 _impl_.channels_.~RepeatedField();
7325}
7327 _impl_._cached_size_.Set(size);
7328}
7329
7330PROTOBUF_NOINLINE void ReadTriggerCountersRequest::Clear() {
7331// @@protoc_insertion_point(message_clear_start:daphne.ReadTriggerCountersRequest)
7332 ::uint32_t cached_has_bits = 0;
7333 // Prevent compiler warnings about cached_has_bits being unused
7334 (void) cached_has_bits;
7335
7336 _internal_mutable_channels()->Clear();
7337 _impl_.base_addr_ = 0u;
7338 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
7339}
7340
7342 const char* ptr, ::_pbi::ParseContext* ctx) {
7343 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
7344 return ptr;
7345}
7346
7347
7348PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
7349const ::_pbi::TcParseTable<1, 2, 0, 0, 2> ReadTriggerCountersRequest::_table_ = {
7350 {
7351 0, // no _has_bits_
7352 0, // no _extensions_
7353 2, 8, // max_field_number, fast_idx_mask
7354 offsetof(decltype(_table_), field_lookup_table),
7355 4294967292, // skipmap
7356 offsetof(decltype(_table_), field_entries),
7357 2, // num_field_entries
7358 0, // num_aux_entries
7359 offsetof(decltype(_table_), field_names), // no aux_entries
7361 ::_pbi::TcParser::GenericFallback, // fallback
7362 }, {{
7363 // uint32 base_addr = 2;
7364 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ReadTriggerCountersRequest, _impl_.base_addr_), 63>(),
7365 {16, 63, 0, PROTOBUF_FIELD_OFFSET(ReadTriggerCountersRequest, _impl_.base_addr_)}},
7366 // repeated uint32 channels = 1;
7367 {::_pbi::TcParser::FastV32P1,
7368 {10, 63, 0, PROTOBUF_FIELD_OFFSET(ReadTriggerCountersRequest, _impl_.channels_)}},
7369 }}, {{
7370 65535, 65535
7371 }}, {{
7372 // repeated uint32 channels = 1;
7373 {PROTOBUF_FIELD_OFFSET(ReadTriggerCountersRequest, _impl_.channels_), 0, 0,
7374 (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt32)},
7375 // uint32 base_addr = 2;
7376 {PROTOBUF_FIELD_OFFSET(ReadTriggerCountersRequest, _impl_.base_addr_), 0, 0,
7377 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
7378 }},
7379 // no aux_entries
7380 {{
7381 }},
7382};
7383
7385 ::uint8_t* target,
7386 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
7387 // @@protoc_insertion_point(serialize_to_array_start:daphne.ReadTriggerCountersRequest)
7388 ::uint32_t cached_has_bits = 0;
7389 (void)cached_has_bits;
7390
7391 // repeated uint32 channels = 1;
7392 {
7393 int byte_size = _impl_._channels_cached_byte_size_.Get();
7394 if (byte_size > 0) {
7395 target = stream->WriteUInt32Packed(1, _internal_channels(),
7396 byte_size, target);
7397 }
7398 }
7399
7400 // uint32 base_addr = 2;
7401 if (this->_internal_base_addr() != 0) {
7402 target = stream->EnsureSpace(target);
7403 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
7404 2, this->_internal_base_addr(), target);
7405 }
7406
7407 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7408 target =
7409 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7410 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
7411 }
7412 // @@protoc_insertion_point(serialize_to_array_end:daphne.ReadTriggerCountersRequest)
7413 return target;
7414}
7415
7417// @@protoc_insertion_point(message_byte_size_start:daphne.ReadTriggerCountersRequest)
7418 ::size_t total_size = 0;
7419
7420 ::uint32_t cached_has_bits = 0;
7421 // Prevent compiler warnings about cached_has_bits being unused
7422 (void) cached_has_bits;
7423
7424 // repeated uint32 channels = 1;
7425 {
7426 std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
7427 this->_internal_channels())
7428 ;
7429 _impl_._channels_cached_byte_size_.Set(::_pbi::ToCachedSize(data_size));
7430 std::size_t tag_size = data_size == 0
7431 ? 0
7432 : 1 + ::_pbi::WireFormatLite::Int32Size(
7433 static_cast<int32_t>(data_size))
7434 ;
7435 total_size += tag_size + data_size;
7436 }
7437 // uint32 base_addr = 2;
7438 if (this->_internal_base_addr() != 0) {
7439 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
7440 this->_internal_base_addr());
7441 }
7442
7443 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
7444}
7445
7446const ::google::protobuf::Message::ClassData ReadTriggerCountersRequest::_class_data_ = {
7447 ::google::protobuf::Message::CopyWithSourceCheck,
7449};
7450const ::google::protobuf::Message::ClassData*ReadTriggerCountersRequest::GetClassData() const { return &_class_data_; }
7451
7452
7453void ReadTriggerCountersRequest::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
7454 auto* const _this = static_cast<ReadTriggerCountersRequest*>(&to_msg);
7455 auto& from = static_cast<const ReadTriggerCountersRequest&>(from_msg);
7456 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.ReadTriggerCountersRequest)
7457 ABSL_DCHECK_NE(&from, _this);
7458 ::uint32_t cached_has_bits = 0;
7459 (void) cached_has_bits;
7460
7461 _this->_internal_mutable_channels()->MergeFrom(from._internal_channels());
7462 if (from._internal_base_addr() != 0) {
7463 _this->_internal_set_base_addr(from._internal_base_addr());
7464 }
7465 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
7466}
7467
7469// @@protoc_insertion_point(class_specific_copy_from_start:daphne.ReadTriggerCountersRequest)
7470 if (&from == this) return;
7471 Clear();
7472 MergeFrom(from);
7473}
7474
7475PROTOBUF_NOINLINE bool ReadTriggerCountersRequest::IsInitialized() const {
7476 return true;
7477}
7478
7480 using std::swap;
7481 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7482 _impl_.channels_.InternalSwap(&other->_impl_.channels_);
7484}
7485
7491// ===================================================================
7492
7494 public:
7495};
7496
7498 : ::google::protobuf::Message(arena) {
7499 SharedCtor(arena);
7500 // @@protoc_insertion_point(arena_constructor:daphne.ReadTriggerCountersResponse)
7501}
7503 ReadTriggerCountersResponse* const _this = this;
7504 (void)_this;
7505 new (&_impl_) Impl_{
7506 decltype(_impl_.snapshots_){from._impl_.snapshots_},
7507 decltype(_impl_.message_){},
7508 decltype(_impl_.success_){},
7509 /*decltype(_impl_._cached_size_)*/ {},
7510 };
7511 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
7512 from._internal_metadata_);
7513 _impl_.message_.InitDefault();
7514 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
7515 _impl_.message_.Set("", GetArenaForAllocation());
7516 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
7517 if (!from._internal_message().empty()) {
7518 _this->_impl_.message_.Set(from._internal_message(), _this->GetArenaForAllocation());
7519 }
7520 _this->_impl_.success_ = from._impl_.success_;
7521
7522 // @@protoc_insertion_point(copy_constructor:daphne.ReadTriggerCountersResponse)
7523}
7524inline void ReadTriggerCountersResponse::SharedCtor(::_pb::Arena* arena) {
7525 (void)arena;
7526 new (&_impl_) Impl_{
7527 decltype(_impl_.snapshots_){arena},
7528 decltype(_impl_.message_){},
7529 decltype(_impl_.success_){false},
7530 /*decltype(_impl_._cached_size_)*/ {},
7531 };
7532 _impl_.message_.InitDefault();
7533 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
7534 _impl_.message_.Set("", GetArenaForAllocation());
7535 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
7536}
7538 // @@protoc_insertion_point(destructor:daphne.ReadTriggerCountersResponse)
7539 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
7540 SharedDtor();
7541}
7543 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
7544 _impl_.snapshots_.~RepeatedPtrField();
7545 _impl_.message_.Destroy();
7546}
7548 _impl_._cached_size_.Set(size);
7549}
7550
7551PROTOBUF_NOINLINE void ReadTriggerCountersResponse::Clear() {
7552// @@protoc_insertion_point(message_clear_start:daphne.ReadTriggerCountersResponse)
7553 ::uint32_t cached_has_bits = 0;
7554 // Prevent compiler warnings about cached_has_bits being unused
7555 (void) cached_has_bits;
7556
7557 _internal_mutable_snapshots()->Clear();
7558 _impl_.message_.ClearToEmpty();
7559 _impl_.success_ = false;
7560 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
7561}
7562
7564 const char* ptr, ::_pbi::ParseContext* ctx) {
7565 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
7566 return ptr;
7567}
7568
7569
7570PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
7571const ::_pbi::TcParseTable<2, 3, 1, 50, 2> ReadTriggerCountersResponse::_table_ = {
7572 {
7573 0, // no _has_bits_
7574 0, // no _extensions_
7575 3, 24, // max_field_number, fast_idx_mask
7576 offsetof(decltype(_table_), field_lookup_table),
7577 4294967288, // skipmap
7578 offsetof(decltype(_table_), field_entries),
7579 3, // num_field_entries
7580 1, // num_aux_entries
7581 offsetof(decltype(_table_), aux_entries),
7583 ::_pbi::TcParser::GenericFallback, // fallback
7584 }, {{
7585 {::_pbi::TcParser::MiniParse, {}},
7586 // bool success = 1;
7587 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ReadTriggerCountersResponse, _impl_.success_), 63>(),
7588 {8, 63, 0, PROTOBUF_FIELD_OFFSET(ReadTriggerCountersResponse, _impl_.success_)}},
7589 // string message = 2;
7590 {::_pbi::TcParser::FastUS1,
7591 {18, 63, 0, PROTOBUF_FIELD_OFFSET(ReadTriggerCountersResponse, _impl_.message_)}},
7592 // repeated .daphne.TriggerChannelSnapshot snapshots = 3;
7593 {::_pbi::TcParser::FastMtR1,
7594 {26, 63, 0, PROTOBUF_FIELD_OFFSET(ReadTriggerCountersResponse, _impl_.snapshots_)}},
7595 }}, {{
7596 65535, 65535
7597 }}, {{
7598 // bool success = 1;
7599 {PROTOBUF_FIELD_OFFSET(ReadTriggerCountersResponse, _impl_.success_), 0, 0,
7600 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
7601 // string message = 2;
7602 {PROTOBUF_FIELD_OFFSET(ReadTriggerCountersResponse, _impl_.message_), 0, 0,
7603 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
7604 // repeated .daphne.TriggerChannelSnapshot snapshots = 3;
7605 {PROTOBUF_FIELD_OFFSET(ReadTriggerCountersResponse, _impl_.snapshots_), 0, 0,
7606 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
7607 }}, {{
7608 {::_pbi::TcParser::GetTable<::daphne::TriggerChannelSnapshot>()},
7609 }}, {{
7610 "\42\0\7\0\0\0\0\0"
7611 "daphne.ReadTriggerCountersResponse"
7612 "message"
7613 }},
7614};
7615
7617 ::uint8_t* target,
7618 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
7619 // @@protoc_insertion_point(serialize_to_array_start:daphne.ReadTriggerCountersResponse)
7620 ::uint32_t cached_has_bits = 0;
7621 (void)cached_has_bits;
7622
7623 // bool success = 1;
7624 if (this->_internal_success() != 0) {
7625 target = stream->EnsureSpace(target);
7626 target = ::_pbi::WireFormatLite::WriteBoolToArray(
7627 1, this->_internal_success(), target);
7628 }
7629
7630 // string message = 2;
7631 if (!this->_internal_message().empty()) {
7632 const std::string& _s = this->_internal_message();
7633 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
7634 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "daphne.ReadTriggerCountersResponse.message");
7635 target = stream->WriteStringMaybeAliased(2, _s, target);
7636 }
7637
7638 // repeated .daphne.TriggerChannelSnapshot snapshots = 3;
7639 for (unsigned i = 0,
7640 n = static_cast<unsigned>(this->_internal_snapshots_size()); i < n; i++) {
7641 const auto& repfield = this->_internal_snapshots().Get(i);
7642 target = ::google::protobuf::internal::WireFormatLite::
7643 InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream);
7644 }
7645
7646 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7647 target =
7648 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7649 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
7650 }
7651 // @@protoc_insertion_point(serialize_to_array_end:daphne.ReadTriggerCountersResponse)
7652 return target;
7653}
7654
7656// @@protoc_insertion_point(message_byte_size_start:daphne.ReadTriggerCountersResponse)
7657 ::size_t total_size = 0;
7658
7659 ::uint32_t cached_has_bits = 0;
7660 // Prevent compiler warnings about cached_has_bits being unused
7661 (void) cached_has_bits;
7662
7663 // repeated .daphne.TriggerChannelSnapshot snapshots = 3;
7664 total_size += 1UL * this->_internal_snapshots_size();
7665 for (const auto& msg : this->_internal_snapshots()) {
7666 total_size +=
7667 ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
7668 }
7669 // string message = 2;
7670 if (!this->_internal_message().empty()) {
7671 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
7672 this->_internal_message());
7673 }
7674
7675 // bool success = 1;
7676 if (this->_internal_success() != 0) {
7677 total_size += 2;
7678 }
7679
7680 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
7681}
7682
7683const ::google::protobuf::Message::ClassData ReadTriggerCountersResponse::_class_data_ = {
7684 ::google::protobuf::Message::CopyWithSourceCheck,
7686};
7687const ::google::protobuf::Message::ClassData*ReadTriggerCountersResponse::GetClassData() const { return &_class_data_; }
7688
7689
7690void ReadTriggerCountersResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
7691 auto* const _this = static_cast<ReadTriggerCountersResponse*>(&to_msg);
7692 auto& from = static_cast<const ReadTriggerCountersResponse&>(from_msg);
7693 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.ReadTriggerCountersResponse)
7694 ABSL_DCHECK_NE(&from, _this);
7695 ::uint32_t cached_has_bits = 0;
7696 (void) cached_has_bits;
7697
7698 _this->_internal_mutable_snapshots()->MergeFrom(from._internal_snapshots());
7699 if (!from._internal_message().empty()) {
7700 _this->_internal_set_message(from._internal_message());
7701 }
7702 if (from._internal_success() != 0) {
7703 _this->_internal_set_success(from._internal_success());
7704 }
7705 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
7706}
7707
7709// @@protoc_insertion_point(class_specific_copy_from_start:daphne.ReadTriggerCountersResponse)
7710 if (&from == this) return;
7711 Clear();
7712 MergeFrom(from);
7713}
7714
7715PROTOBUF_NOINLINE bool ReadTriggerCountersResponse::IsInitialized() const {
7716 return true;
7717}
7718
7720 using std::swap;
7721 auto* lhs_arena = GetArenaForAllocation();
7722 auto* rhs_arena = other->GetArenaForAllocation();
7723 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7724 _impl_.snapshots_.InternalSwap(&other->_impl_.snapshots_);
7725 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, lhs_arena,
7726 &other->_impl_.message_, rhs_arena);
7728}
7729
7735// ===================================================================
7736
7738 public:
7739};
7740
7741TestRegRequest::TestRegRequest(::google::protobuf::Arena* arena)
7742 : ::google::protobuf::internal::ZeroFieldsBase(arena) {
7743 // @@protoc_insertion_point(arena_constructor:daphne.TestRegRequest)
7744}
7745TestRegRequest::TestRegRequest(const TestRegRequest& from) : ::google::protobuf::internal::ZeroFieldsBase() {
7746 TestRegRequest* const _this = this;
7747 (void)_this;
7748 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
7749 from._internal_metadata_);
7750
7751 // @@protoc_insertion_point(copy_constructor:daphne.TestRegRequest)
7752}
7753
7754
7755
7756
7757const ::google::protobuf::Message::ClassData TestRegRequest::_class_data_ = {
7758 ::google::protobuf::internal::ZeroFieldsBase::CopyImpl,
7759 ::google::protobuf::internal::ZeroFieldsBase::MergeImpl,
7760};
7761const ::google::protobuf::Message::ClassData*TestRegRequest::GetClassData() const { return &_class_data_; }
7762
7763
7764
7765
7766
7767
7768
7774// ===================================================================
7775
7777 public:
7778};
7779
7780TestRegResponse::TestRegResponse(::google::protobuf::Arena* arena)
7781 : ::google::protobuf::Message(arena) {
7782 SharedCtor(arena);
7783 // @@protoc_insertion_point(arena_constructor:daphne.TestRegResponse)
7784}
7785TestRegResponse::TestRegResponse(const TestRegResponse& from) : ::google::protobuf::Message() {
7786 TestRegResponse* const _this = this;
7787 (void)_this;
7788 new (&_impl_) Impl_{
7789 decltype(_impl_.message_){},
7790 decltype(_impl_.value_){},
7791 /*decltype(_impl_._cached_size_)*/ {},
7792 };
7793 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
7794 from._internal_metadata_);
7795 _impl_.message_.InitDefault();
7796 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
7797 _impl_.message_.Set("", GetArenaForAllocation());
7798 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
7799 if (!from._internal_message().empty()) {
7800 _this->_impl_.message_.Set(from._internal_message(), _this->GetArenaForAllocation());
7801 }
7802 _this->_impl_.value_ = from._impl_.value_;
7803
7804 // @@protoc_insertion_point(copy_constructor:daphne.TestRegResponse)
7805}
7806inline void TestRegResponse::SharedCtor(::_pb::Arena* arena) {
7807 (void)arena;
7808 new (&_impl_) Impl_{
7809 decltype(_impl_.message_){},
7810 decltype(_impl_.value_){::uint64_t{0u}},
7811 /*decltype(_impl_._cached_size_)*/ {},
7812 };
7813 _impl_.message_.InitDefault();
7814 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
7815 _impl_.message_.Set("", GetArenaForAllocation());
7816 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
7817}
7819 // @@protoc_insertion_point(destructor:daphne.TestRegResponse)
7820 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
7821 SharedDtor();
7822}
7824 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
7825 _impl_.message_.Destroy();
7826}
7828 _impl_._cached_size_.Set(size);
7829}
7830
7831PROTOBUF_NOINLINE void TestRegResponse::Clear() {
7832// @@protoc_insertion_point(message_clear_start:daphne.TestRegResponse)
7833 ::uint32_t cached_has_bits = 0;
7834 // Prevent compiler warnings about cached_has_bits being unused
7835 (void) cached_has_bits;
7836
7837 _impl_.message_.ClearToEmpty();
7838 _impl_.value_ = ::uint64_t{0u};
7839 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
7840}
7841
7843 const char* ptr, ::_pbi::ParseContext* ctx) {
7844 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
7845 return ptr;
7846}
7847
7848
7849PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
7850const ::_pbi::TcParseTable<1, 2, 0, 38, 2> TestRegResponse::_table_ = {
7851 {
7852 0, // no _has_bits_
7853 0, // no _extensions_
7854 2, 8, // max_field_number, fast_idx_mask
7855 offsetof(decltype(_table_), field_lookup_table),
7856 4294967292, // skipmap
7857 offsetof(decltype(_table_), field_entries),
7858 2, // num_field_entries
7859 0, // num_aux_entries
7860 offsetof(decltype(_table_), field_names), // no aux_entries
7862 ::_pbi::TcParser::GenericFallback, // fallback
7863 }, {{
7864 // string message = 2;
7865 {::_pbi::TcParser::FastUS1,
7866 {18, 63, 0, PROTOBUF_FIELD_OFFSET(TestRegResponse, _impl_.message_)}},
7867 // uint64 value = 1;
7868 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(TestRegResponse, _impl_.value_), 63>(),
7869 {8, 63, 0, PROTOBUF_FIELD_OFFSET(TestRegResponse, _impl_.value_)}},
7870 }}, {{
7871 65535, 65535
7872 }}, {{
7873 // uint64 value = 1;
7874 {PROTOBUF_FIELD_OFFSET(TestRegResponse, _impl_.value_), 0, 0,
7875 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
7876 // string message = 2;
7877 {PROTOBUF_FIELD_OFFSET(TestRegResponse, _impl_.message_), 0, 0,
7878 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
7879 }},
7880 // no aux_entries
7881 {{
7882 "\26\0\7\0\0\0\0\0"
7883 "daphne.TestRegResponse"
7884 "message"
7885 }},
7886};
7887
7889 ::uint8_t* target,
7890 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
7891 // @@protoc_insertion_point(serialize_to_array_start:daphne.TestRegResponse)
7892 ::uint32_t cached_has_bits = 0;
7893 (void)cached_has_bits;
7894
7895 // uint64 value = 1;
7896 if (this->_internal_value() != 0) {
7897 target = stream->EnsureSpace(target);
7898 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
7899 1, this->_internal_value(), target);
7900 }
7901
7902 // string message = 2;
7903 if (!this->_internal_message().empty()) {
7904 const std::string& _s = this->_internal_message();
7905 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
7906 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "daphne.TestRegResponse.message");
7907 target = stream->WriteStringMaybeAliased(2, _s, target);
7908 }
7909
7910 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7911 target =
7912 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7913 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
7914 }
7915 // @@protoc_insertion_point(serialize_to_array_end:daphne.TestRegResponse)
7916 return target;
7917}
7918
7920// @@protoc_insertion_point(message_byte_size_start:daphne.TestRegResponse)
7921 ::size_t total_size = 0;
7922
7923 ::uint32_t cached_has_bits = 0;
7924 // Prevent compiler warnings about cached_has_bits being unused
7925 (void) cached_has_bits;
7926
7927 // string message = 2;
7928 if (!this->_internal_message().empty()) {
7929 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
7930 this->_internal_message());
7931 }
7932
7933 // uint64 value = 1;
7934 if (this->_internal_value() != 0) {
7935 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
7936 this->_internal_value());
7937 }
7938
7939 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
7940}
7941
7942const ::google::protobuf::Message::ClassData TestRegResponse::_class_data_ = {
7943 ::google::protobuf::Message::CopyWithSourceCheck,
7945};
7946const ::google::protobuf::Message::ClassData*TestRegResponse::GetClassData() const { return &_class_data_; }
7947
7948
7949void TestRegResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
7950 auto* const _this = static_cast<TestRegResponse*>(&to_msg);
7951 auto& from = static_cast<const TestRegResponse&>(from_msg);
7952 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.TestRegResponse)
7953 ABSL_DCHECK_NE(&from, _this);
7954 ::uint32_t cached_has_bits = 0;
7955 (void) cached_has_bits;
7956
7957 if (!from._internal_message().empty()) {
7958 _this->_internal_set_message(from._internal_message());
7959 }
7960 if (from._internal_value() != 0) {
7961 _this->_internal_set_value(from._internal_value());
7962 }
7963 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
7964}
7965
7967// @@protoc_insertion_point(class_specific_copy_from_start:daphne.TestRegResponse)
7968 if (&from == this) return;
7969 Clear();
7970 MergeFrom(from);
7971}
7972
7973PROTOBUF_NOINLINE bool TestRegResponse::IsInitialized() const {
7974 return true;
7975}
7976
7978 using std::swap;
7979 auto* lhs_arena = GetArenaForAllocation();
7980 auto* rhs_arena = other->GetArenaForAllocation();
7981 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7982 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, lhs_arena,
7983 &other->_impl_.message_, rhs_arena);
7984 swap(_impl_.value_, other->_impl_.value_);
7985}
7986
7992// ===================================================================
7993
7995 public:
7996};
7997
7998WriteRegister::WriteRegister(::google::protobuf::Arena* arena)
7999 : ::google::protobuf::Message(arena) {
8000 SharedCtor(arena);
8001 // @@protoc_insertion_point(arena_constructor:daphne.WriteRegister)
8002}
8004 : ::google::protobuf::Message(), _impl_(from._impl_) {
8005 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
8006 from._internal_metadata_);
8007 // @@protoc_insertion_point(copy_constructor:daphne.WriteRegister)
8008}
8009inline void WriteRegister::SharedCtor(::_pb::Arena* arena) {
8010 (void)arena;
8011 new (&_impl_) Impl_{
8012 decltype(_impl_.address_){::uint64_t{0u}},
8013 decltype(_impl_.value_){::uint64_t{0u}},
8014 /*decltype(_impl_._cached_size_)*/ {},
8015 };
8016}
8018 // @@protoc_insertion_point(destructor:daphne.WriteRegister)
8019 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
8020 SharedDtor();
8021}
8023 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
8024}
8025void WriteRegister::SetCachedSize(int size) const {
8026 _impl_._cached_size_.Set(size);
8027}
8028
8029PROTOBUF_NOINLINE void WriteRegister::Clear() {
8030// @@protoc_insertion_point(message_clear_start:daphne.WriteRegister)
8031 ::uint32_t cached_has_bits = 0;
8032 // Prevent compiler warnings about cached_has_bits being unused
8033 (void) cached_has_bits;
8034
8035 ::memset(&_impl_.address_, 0, static_cast<::size_t>(
8036 reinterpret_cast<char*>(&_impl_.value_) -
8037 reinterpret_cast<char*>(&_impl_.address_)) + sizeof(_impl_.value_));
8038 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
8039}
8040
8042 const char* ptr, ::_pbi::ParseContext* ctx) {
8043 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
8044 return ptr;
8045}
8046
8047
8048PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
8049const ::_pbi::TcParseTable<1, 2, 0, 0, 2> WriteRegister::_table_ = {
8050 {
8051 0, // no _has_bits_
8052 0, // no _extensions_
8053 2, 8, // max_field_number, fast_idx_mask
8054 offsetof(decltype(_table_), field_lookup_table),
8055 4294967292, // skipmap
8056 offsetof(decltype(_table_), field_entries),
8057 2, // num_field_entries
8058 0, // num_aux_entries
8059 offsetof(decltype(_table_), field_names), // no aux_entries
8061 ::_pbi::TcParser::GenericFallback, // fallback
8062 }, {{
8063 // uint64 value = 2;
8064 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(WriteRegister, _impl_.value_), 63>(),
8065 {16, 63, 0, PROTOBUF_FIELD_OFFSET(WriteRegister, _impl_.value_)}},
8066 // uint64 address = 1;
8067 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(WriteRegister, _impl_.address_), 63>(),
8068 {8, 63, 0, PROTOBUF_FIELD_OFFSET(WriteRegister, _impl_.address_)}},
8069 }}, {{
8070 65535, 65535
8071 }}, {{
8072 // uint64 address = 1;
8073 {PROTOBUF_FIELD_OFFSET(WriteRegister, _impl_.address_), 0, 0,
8074 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
8075 // uint64 value = 2;
8076 {PROTOBUF_FIELD_OFFSET(WriteRegister, _impl_.value_), 0, 0,
8077 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
8078 }},
8079 // no aux_entries
8080 {{
8081 }},
8082};
8083
8085 ::uint8_t* target,
8086 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
8087 // @@protoc_insertion_point(serialize_to_array_start:daphne.WriteRegister)
8088 ::uint32_t cached_has_bits = 0;
8089 (void)cached_has_bits;
8090
8091 // uint64 address = 1;
8092 if (this->_internal_address() != 0) {
8093 target = stream->EnsureSpace(target);
8094 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
8095 1, this->_internal_address(), target);
8096 }
8097
8098 // uint64 value = 2;
8099 if (this->_internal_value() != 0) {
8100 target = stream->EnsureSpace(target);
8101 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
8102 2, this->_internal_value(), target);
8103 }
8104
8105 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8106 target =
8107 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
8108 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
8109 }
8110 // @@protoc_insertion_point(serialize_to_array_end:daphne.WriteRegister)
8111 return target;
8112}
8113
8115// @@protoc_insertion_point(message_byte_size_start:daphne.WriteRegister)
8116 ::size_t total_size = 0;
8117
8118 ::uint32_t cached_has_bits = 0;
8119 // Prevent compiler warnings about cached_has_bits being unused
8120 (void) cached_has_bits;
8121
8122 // uint64 address = 1;
8123 if (this->_internal_address() != 0) {
8124 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
8125 this->_internal_address());
8126 }
8127
8128 // uint64 value = 2;
8129 if (this->_internal_value() != 0) {
8130 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
8131 this->_internal_value());
8132 }
8133
8134 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
8135}
8136
8137const ::google::protobuf::Message::ClassData WriteRegister::_class_data_ = {
8138 ::google::protobuf::Message::CopyWithSourceCheck,
8140};
8141const ::google::protobuf::Message::ClassData*WriteRegister::GetClassData() const { return &_class_data_; }
8142
8143
8144void WriteRegister::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
8145 auto* const _this = static_cast<WriteRegister*>(&to_msg);
8146 auto& from = static_cast<const WriteRegister&>(from_msg);
8147 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.WriteRegister)
8148 ABSL_DCHECK_NE(&from, _this);
8149 ::uint32_t cached_has_bits = 0;
8150 (void) cached_has_bits;
8151
8152 if (from._internal_address() != 0) {
8153 _this->_internal_set_address(from._internal_address());
8154 }
8155 if (from._internal_value() != 0) {
8156 _this->_internal_set_value(from._internal_value());
8157 }
8158 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
8159}
8160
8162// @@protoc_insertion_point(class_specific_copy_from_start:daphne.WriteRegister)
8163 if (&from == this) return;
8164 Clear();
8165 MergeFrom(from);
8166}
8167
8168PROTOBUF_NOINLINE bool WriteRegister::IsInitialized() const {
8169 return true;
8170}
8171
8173 using std::swap;
8174 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8175 ::google::protobuf::internal::memswap<
8176 PROTOBUF_FIELD_OFFSET(WriteRegister, _impl_.value_)
8178 - PROTOBUF_FIELD_OFFSET(WriteRegister, _impl_.address_)>(
8179 reinterpret_cast<char*>(&_impl_.address_),
8180 reinterpret_cast<char*>(&other->_impl_.address_));
8181}
8182
8188// ===================================================================
8189
8193
8195 : ::google::protobuf::Message(arena) {
8196 SharedCtor(arena);
8197 // @@protoc_insertion_point(arena_constructor:daphne.WriteMultipleRegisterRequest)
8198}
8200 WriteMultipleRegisterRequest* const _this = this;
8201 (void)_this;
8202 new (&_impl_) Impl_{
8203 decltype(_impl_.writes_){from._impl_.writes_},
8204 /*decltype(_impl_._cached_size_)*/ {},
8205 };
8206 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
8207 from._internal_metadata_);
8208
8209 // @@protoc_insertion_point(copy_constructor:daphne.WriteMultipleRegisterRequest)
8210}
8211inline void WriteMultipleRegisterRequest::SharedCtor(::_pb::Arena* arena) {
8212 (void)arena;
8213 new (&_impl_) Impl_{
8214 decltype(_impl_.writes_){arena},
8215 /*decltype(_impl_._cached_size_)*/ {},
8216 };
8217}
8219 // @@protoc_insertion_point(destructor:daphne.WriteMultipleRegisterRequest)
8220 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
8221 SharedDtor();
8222}
8224 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
8225 _impl_.writes_.~RepeatedPtrField();
8226}
8228 _impl_._cached_size_.Set(size);
8229}
8230
8231PROTOBUF_NOINLINE void WriteMultipleRegisterRequest::Clear() {
8232// @@protoc_insertion_point(message_clear_start:daphne.WriteMultipleRegisterRequest)
8233 ::uint32_t cached_has_bits = 0;
8234 // Prevent compiler warnings about cached_has_bits being unused
8235 (void) cached_has_bits;
8236
8237 _internal_mutable_writes()->Clear();
8238 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
8239}
8240
8242 const char* ptr, ::_pbi::ParseContext* ctx) {
8243 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
8244 return ptr;
8245}
8246
8247
8248PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
8249const ::_pbi::TcParseTable<0, 1, 1, 0, 2> WriteMultipleRegisterRequest::_table_ = {
8250 {
8251 0, // no _has_bits_
8252 0, // no _extensions_
8253 1, 0, // max_field_number, fast_idx_mask
8254 offsetof(decltype(_table_), field_lookup_table),
8255 4294967294, // skipmap
8256 offsetof(decltype(_table_), field_entries),
8257 1, // num_field_entries
8258 1, // num_aux_entries
8259 offsetof(decltype(_table_), aux_entries),
8261 ::_pbi::TcParser::GenericFallback, // fallback
8262 }, {{
8263 // repeated .daphne.WriteRegister writes = 1;
8264 {::_pbi::TcParser::FastMtR1,
8265 {10, 63, 0, PROTOBUF_FIELD_OFFSET(WriteMultipleRegisterRequest, _impl_.writes_)}},
8266 }}, {{
8267 65535, 65535
8268 }}, {{
8269 // repeated .daphne.WriteRegister writes = 1;
8270 {PROTOBUF_FIELD_OFFSET(WriteMultipleRegisterRequest, _impl_.writes_), 0, 0,
8271 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
8272 }}, {{
8273 {::_pbi::TcParser::GetTable<::daphne::WriteRegister>()},
8274 }}, {{
8275 }},
8276};
8277
8279 ::uint8_t* target,
8280 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
8281 // @@protoc_insertion_point(serialize_to_array_start:daphne.WriteMultipleRegisterRequest)
8282 ::uint32_t cached_has_bits = 0;
8283 (void)cached_has_bits;
8284
8285 // repeated .daphne.WriteRegister writes = 1;
8286 for (unsigned i = 0,
8287 n = static_cast<unsigned>(this->_internal_writes_size()); i < n; i++) {
8288 const auto& repfield = this->_internal_writes().Get(i);
8289 target = ::google::protobuf::internal::WireFormatLite::
8290 InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
8291 }
8292
8293 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8294 target =
8295 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
8296 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
8297 }
8298 // @@protoc_insertion_point(serialize_to_array_end:daphne.WriteMultipleRegisterRequest)
8299 return target;
8300}
8301
8303// @@protoc_insertion_point(message_byte_size_start:daphne.WriteMultipleRegisterRequest)
8304 ::size_t total_size = 0;
8305
8306 ::uint32_t cached_has_bits = 0;
8307 // Prevent compiler warnings about cached_has_bits being unused
8308 (void) cached_has_bits;
8309
8310 // repeated .daphne.WriteRegister writes = 1;
8311 total_size += 1UL * this->_internal_writes_size();
8312 for (const auto& msg : this->_internal_writes()) {
8313 total_size +=
8314 ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
8315 }
8316 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
8317}
8318
8319const ::google::protobuf::Message::ClassData WriteMultipleRegisterRequest::_class_data_ = {
8320 ::google::protobuf::Message::CopyWithSourceCheck,
8322};
8323const ::google::protobuf::Message::ClassData*WriteMultipleRegisterRequest::GetClassData() const { return &_class_data_; }
8324
8325
8326void WriteMultipleRegisterRequest::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
8327 auto* const _this = static_cast<WriteMultipleRegisterRequest*>(&to_msg);
8328 auto& from = static_cast<const WriteMultipleRegisterRequest&>(from_msg);
8329 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.WriteMultipleRegisterRequest)
8330 ABSL_DCHECK_NE(&from, _this);
8331 ::uint32_t cached_has_bits = 0;
8332 (void) cached_has_bits;
8333
8334 _this->_internal_mutable_writes()->MergeFrom(from._internal_writes());
8335 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
8336}
8337
8339// @@protoc_insertion_point(class_specific_copy_from_start:daphne.WriteMultipleRegisterRequest)
8340 if (&from == this) return;
8341 Clear();
8342 MergeFrom(from);
8343}
8344
8345PROTOBUF_NOINLINE bool WriteMultipleRegisterRequest::IsInitialized() const {
8346 return true;
8347}
8348
8350 using std::swap;
8351 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8352 _impl_.writes_.InternalSwap(&other->_impl_.writes_);
8353}
8354
8360// ===================================================================
8361
8363 public:
8364};
8365
8366WriteRegisterResponse::WriteRegisterResponse(::google::protobuf::Arena* arena)
8367 : ::google::protobuf::Message(arena) {
8368 SharedCtor(arena);
8369 // @@protoc_insertion_point(arena_constructor:daphne.WriteRegisterResponse)
8370}
8372 WriteRegisterResponse* const _this = this;
8373 (void)_this;
8374 new (&_impl_) Impl_{
8375 decltype(_impl_.message_){},
8376 decltype(_impl_.success_){},
8377 /*decltype(_impl_._cached_size_)*/ {},
8378 };
8379 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
8380 from._internal_metadata_);
8381 _impl_.message_.InitDefault();
8382 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8383 _impl_.message_.Set("", GetArenaForAllocation());
8384 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8385 if (!from._internal_message().empty()) {
8386 _this->_impl_.message_.Set(from._internal_message(), _this->GetArenaForAllocation());
8387 }
8388 _this->_impl_.success_ = from._impl_.success_;
8389
8390 // @@protoc_insertion_point(copy_constructor:daphne.WriteRegisterResponse)
8391}
8392inline void WriteRegisterResponse::SharedCtor(::_pb::Arena* arena) {
8393 (void)arena;
8394 new (&_impl_) Impl_{
8395 decltype(_impl_.message_){},
8396 decltype(_impl_.success_){false},
8397 /*decltype(_impl_._cached_size_)*/ {},
8398 };
8399 _impl_.message_.InitDefault();
8400 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8401 _impl_.message_.Set("", GetArenaForAllocation());
8402 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8403}
8405 // @@protoc_insertion_point(destructor:daphne.WriteRegisterResponse)
8406 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
8407 SharedDtor();
8408}
8410 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
8411 _impl_.message_.Destroy();
8412}
8414 _impl_._cached_size_.Set(size);
8415}
8416
8417PROTOBUF_NOINLINE void WriteRegisterResponse::Clear() {
8418// @@protoc_insertion_point(message_clear_start:daphne.WriteRegisterResponse)
8419 ::uint32_t cached_has_bits = 0;
8420 // Prevent compiler warnings about cached_has_bits being unused
8421 (void) cached_has_bits;
8422
8423 _impl_.message_.ClearToEmpty();
8424 _impl_.success_ = false;
8425 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
8426}
8427
8429 const char* ptr, ::_pbi::ParseContext* ctx) {
8430 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
8431 return ptr;
8432}
8433
8434
8435PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
8436const ::_pbi::TcParseTable<1, 2, 0, 44, 2> WriteRegisterResponse::_table_ = {
8437 {
8438 0, // no _has_bits_
8439 0, // no _extensions_
8440 2, 8, // max_field_number, fast_idx_mask
8441 offsetof(decltype(_table_), field_lookup_table),
8442 4294967292, // skipmap
8443 offsetof(decltype(_table_), field_entries),
8444 2, // num_field_entries
8445 0, // num_aux_entries
8446 offsetof(decltype(_table_), field_names), // no aux_entries
8448 ::_pbi::TcParser::GenericFallback, // fallback
8449 }, {{
8450 // string message = 2;
8451 {::_pbi::TcParser::FastUS1,
8452 {18, 63, 0, PROTOBUF_FIELD_OFFSET(WriteRegisterResponse, _impl_.message_)}},
8453 // bool success = 1;
8454 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(WriteRegisterResponse, _impl_.success_), 63>(),
8455 {8, 63, 0, PROTOBUF_FIELD_OFFSET(WriteRegisterResponse, _impl_.success_)}},
8456 }}, {{
8457 65535, 65535
8458 }}, {{
8459 // bool success = 1;
8460 {PROTOBUF_FIELD_OFFSET(WriteRegisterResponse, _impl_.success_), 0, 0,
8461 (0 | ::_fl::kFcSingular | ::_fl::kBool)},
8462 // string message = 2;
8463 {PROTOBUF_FIELD_OFFSET(WriteRegisterResponse, _impl_.message_), 0, 0,
8464 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
8465 }},
8466 // no aux_entries
8467 {{
8468 "\34\0\7\0\0\0\0\0"
8469 "daphne.WriteRegisterResponse"
8470 "message"
8471 }},
8472};
8473
8475 ::uint8_t* target,
8476 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
8477 // @@protoc_insertion_point(serialize_to_array_start:daphne.WriteRegisterResponse)
8478 ::uint32_t cached_has_bits = 0;
8479 (void)cached_has_bits;
8480
8481 // bool success = 1;
8482 if (this->_internal_success() != 0) {
8483 target = stream->EnsureSpace(target);
8484 target = ::_pbi::WireFormatLite::WriteBoolToArray(
8485 1, this->_internal_success(), target);
8486 }
8487
8488 // string message = 2;
8489 if (!this->_internal_message().empty()) {
8490 const std::string& _s = this->_internal_message();
8491 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
8492 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "daphne.WriteRegisterResponse.message");
8493 target = stream->WriteStringMaybeAliased(2, _s, target);
8494 }
8495
8496 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8497 target =
8498 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
8499 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
8500 }
8501 // @@protoc_insertion_point(serialize_to_array_end:daphne.WriteRegisterResponse)
8502 return target;
8503}
8504
8506// @@protoc_insertion_point(message_byte_size_start:daphne.WriteRegisterResponse)
8507 ::size_t total_size = 0;
8508
8509 ::uint32_t cached_has_bits = 0;
8510 // Prevent compiler warnings about cached_has_bits being unused
8511 (void) cached_has_bits;
8512
8513 // string message = 2;
8514 if (!this->_internal_message().empty()) {
8515 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
8516 this->_internal_message());
8517 }
8518
8519 // bool success = 1;
8520 if (this->_internal_success() != 0) {
8521 total_size += 2;
8522 }
8523
8524 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
8525}
8526
8527const ::google::protobuf::Message::ClassData WriteRegisterResponse::_class_data_ = {
8528 ::google::protobuf::Message::CopyWithSourceCheck,
8530};
8531const ::google::protobuf::Message::ClassData*WriteRegisterResponse::GetClassData() const { return &_class_data_; }
8532
8533
8534void WriteRegisterResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
8535 auto* const _this = static_cast<WriteRegisterResponse*>(&to_msg);
8536 auto& from = static_cast<const WriteRegisterResponse&>(from_msg);
8537 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.WriteRegisterResponse)
8538 ABSL_DCHECK_NE(&from, _this);
8539 ::uint32_t cached_has_bits = 0;
8540 (void) cached_has_bits;
8541
8542 if (!from._internal_message().empty()) {
8543 _this->_internal_set_message(from._internal_message());
8544 }
8545 if (from._internal_success() != 0) {
8546 _this->_internal_set_success(from._internal_success());
8547 }
8548 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
8549}
8550
8552// @@protoc_insertion_point(class_specific_copy_from_start:daphne.WriteRegisterResponse)
8553 if (&from == this) return;
8554 Clear();
8555 MergeFrom(from);
8556}
8557
8558PROTOBUF_NOINLINE bool WriteRegisterResponse::IsInitialized() const {
8559 return true;
8560}
8561
8563 using std::swap;
8564 auto* lhs_arena = GetArenaForAllocation();
8565 auto* rhs_arena = other->GetArenaForAllocation();
8566 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8567 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, lhs_arena,
8568 &other->_impl_.message_, rhs_arena);
8570}
8571
8577// ===================================================================
8578
8580 public:
8581};
8582
8583ControlEnvelopeV2::ControlEnvelopeV2(::google::protobuf::Arena* arena)
8584 : ::google::protobuf::Message(arena) {
8585 SharedCtor(arena);
8586 // @@protoc_insertion_point(arena_constructor:daphne.ControlEnvelopeV2)
8587}
8589 ControlEnvelopeV2* const _this = this;
8590 (void)_this;
8591 new (&_impl_) Impl_{
8592 decltype(_impl_.payload_){},
8593 decltype(_impl_.route_){},
8594 decltype(_impl_.version_){},
8595 decltype(_impl_.dir_){},
8596 decltype(_impl_.task_id_){},
8597 decltype(_impl_.msg_id_){},
8598 decltype(_impl_.correl_id_){},
8599 decltype(_impl_.timestamp_ns_){},
8600 decltype(_impl_.type_){},
8601 /*decltype(_impl_._cached_size_)*/ {},
8602 };
8603 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
8604 from._internal_metadata_);
8605 _impl_.payload_.InitDefault();
8606 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8607 _impl_.payload_.Set("", GetArenaForAllocation());
8608 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8609 if (!from._internal_payload().empty()) {
8610 _this->_impl_.payload_.Set(from._internal_payload(), _this->GetArenaForAllocation());
8611 }
8612 _impl_.route_.InitDefault();
8613 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8614 _impl_.route_.Set("", GetArenaForAllocation());
8615 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8616 if (!from._internal_route().empty()) {
8617 _this->_impl_.route_.Set(from._internal_route(), _this->GetArenaForAllocation());
8618 }
8619 ::memcpy(&_impl_.version_, &from._impl_.version_,
8620 static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.type_) -
8621 reinterpret_cast<char*>(&_impl_.version_)) + sizeof(_impl_.type_));
8622
8623 // @@protoc_insertion_point(copy_constructor:daphne.ControlEnvelopeV2)
8624}
8625inline void ControlEnvelopeV2::SharedCtor(::_pb::Arena* arena) {
8626 (void)arena;
8627 new (&_impl_) Impl_{
8628 decltype(_impl_.payload_){},
8629 decltype(_impl_.route_){},
8630 decltype(_impl_.version_){0u},
8631 decltype(_impl_.dir_){0},
8632 decltype(_impl_.task_id_){::uint64_t{0u}},
8633 decltype(_impl_.msg_id_){::uint64_t{0u}},
8634 decltype(_impl_.correl_id_){::uint64_t{0u}},
8635 decltype(_impl_.timestamp_ns_){::uint64_t{0u}},
8636 decltype(_impl_.type_){0},
8637 /*decltype(_impl_._cached_size_)*/ {},
8638 };
8639 _impl_.payload_.InitDefault();
8640 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8641 _impl_.payload_.Set("", GetArenaForAllocation());
8642 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8643 _impl_.route_.InitDefault();
8644 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8645 _impl_.route_.Set("", GetArenaForAllocation());
8646 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8647}
8649 // @@protoc_insertion_point(destructor:daphne.ControlEnvelopeV2)
8650 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
8651 SharedDtor();
8652}
8654 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
8655 _impl_.payload_.Destroy();
8656 _impl_.route_.Destroy();
8657}
8659 _impl_._cached_size_.Set(size);
8660}
8661
8662PROTOBUF_NOINLINE void ControlEnvelopeV2::Clear() {
8663// @@protoc_insertion_point(message_clear_start:daphne.ControlEnvelopeV2)
8664 ::uint32_t cached_has_bits = 0;
8665 // Prevent compiler warnings about cached_has_bits being unused
8666 (void) cached_has_bits;
8667
8668 _impl_.payload_.ClearToEmpty();
8669 _impl_.route_.ClearToEmpty();
8670 ::memset(&_impl_.version_, 0, static_cast<::size_t>(
8671 reinterpret_cast<char*>(&_impl_.type_) -
8672 reinterpret_cast<char*>(&_impl_.version_)) + sizeof(_impl_.type_));
8673 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
8674}
8675
8677 const char* ptr, ::_pbi::ParseContext* ctx) {
8678 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
8679 return ptr;
8680}
8681
8682
8683PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
8684const ::_pbi::TcParseTable<4, 9, 0, 46, 2> ControlEnvelopeV2::_table_ = {
8685 {
8686 0, // no _has_bits_
8687 0, // no _extensions_
8688 20, 120, // max_field_number, fast_idx_mask
8689 offsetof(decltype(_table_), field_lookup_table),
8690 4294435312, // skipmap
8691 offsetof(decltype(_table_), field_entries),
8692 9, // num_field_entries
8693 0, // num_aux_entries
8694 offsetof(decltype(_table_), field_names), // no aux_entries
8696 ::_pbi::TcParser::GenericFallback, // fallback
8697 }, {{
8698 {::_pbi::TcParser::MiniParse, {}},
8699 // uint32 version = 1;
8700 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ControlEnvelopeV2, _impl_.version_), 63>(),
8701 {8, 63, 0, PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.version_)}},
8702 // .daphne.Direction dir = 2;
8703 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ControlEnvelopeV2, _impl_.dir_), 63>(),
8704 {16, 63, 0, PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.dir_)}},
8705 // .daphne.MessageTypeV2 type = 3;
8706 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ControlEnvelopeV2, _impl_.type_), 63>(),
8707 {24, 63, 0, PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.type_)}},
8708 // bytes payload = 4;
8709 {::_pbi::TcParser::FastBS1,
8710 {34, 63, 0, PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.payload_)}},
8711 {::_pbi::TcParser::MiniParse, {}},
8712 {::_pbi::TcParser::MiniParse, {}},
8713 {::_pbi::TcParser::MiniParse, {}},
8714 {::_pbi::TcParser::MiniParse, {}},
8715 {::_pbi::TcParser::MiniParse, {}},
8716 // uint64 task_id = 10;
8717 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ControlEnvelopeV2, _impl_.task_id_), 63>(),
8718 {80, 63, 0, PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.task_id_)}},
8719 // uint64 msg_id = 11;
8720 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ControlEnvelopeV2, _impl_.msg_id_), 63>(),
8721 {88, 63, 0, PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.msg_id_)}},
8722 // uint64 correl_id = 12;
8723 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ControlEnvelopeV2, _impl_.correl_id_), 63>(),
8724 {96, 63, 0, PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.correl_id_)}},
8725 // string route = 13;
8726 {::_pbi::TcParser::FastUS1,
8727 {106, 63, 0, PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.route_)}},
8728 {::_pbi::TcParser::MiniParse, {}},
8729 {::_pbi::TcParser::MiniParse, {}},
8730 }}, {{
8731 65535, 65535
8732 }}, {{
8733 // uint32 version = 1;
8734 {PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.version_), 0, 0,
8735 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
8736 // .daphne.Direction dir = 2;
8737 {PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.dir_), 0, 0,
8738 (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)},
8739 // .daphne.MessageTypeV2 type = 3;
8740 {PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.type_), 0, 0,
8741 (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)},
8742 // bytes payload = 4;
8743 {PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.payload_), 0, 0,
8744 (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)},
8745 // uint64 task_id = 10;
8746 {PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.task_id_), 0, 0,
8747 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
8748 // uint64 msg_id = 11;
8749 {PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.msg_id_), 0, 0,
8750 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
8751 // uint64 correl_id = 12;
8752 {PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.correl_id_), 0, 0,
8753 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
8754 // string route = 13;
8755 {PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.route_), 0, 0,
8756 (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
8757 // uint64 timestamp_ns = 20;
8758 {PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.timestamp_ns_), 0, 0,
8759 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
8760 }},
8761 // no aux_entries
8762 {{
8763 "\30\0\0\0\0\0\0\0\5\0\0\0\0\0\0\0"
8764 "daphne.ControlEnvelopeV2"
8765 "route"
8766 }},
8767};
8768
8770 ::uint8_t* target,
8771 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
8772 // @@protoc_insertion_point(serialize_to_array_start:daphne.ControlEnvelopeV2)
8773 ::uint32_t cached_has_bits = 0;
8774 (void)cached_has_bits;
8775
8776 // uint32 version = 1;
8777 if (this->_internal_version() != 0) {
8778 target = stream->EnsureSpace(target);
8779 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
8780 1, this->_internal_version(), target);
8781 }
8782
8783 // .daphne.Direction dir = 2;
8784 if (this->_internal_dir() != 0) {
8785 target = stream->EnsureSpace(target);
8786 target = ::_pbi::WireFormatLite::WriteEnumToArray(
8787 2, this->_internal_dir(), target);
8788 }
8789
8790 // .daphne.MessageTypeV2 type = 3;
8791 if (this->_internal_type() != 0) {
8792 target = stream->EnsureSpace(target);
8793 target = ::_pbi::WireFormatLite::WriteEnumToArray(
8794 3, this->_internal_type(), target);
8795 }
8796
8797 // bytes payload = 4;
8798 if (!this->_internal_payload().empty()) {
8799 const std::string& _s = this->_internal_payload();
8800 target = stream->WriteBytesMaybeAliased(4, _s, target);
8801 }
8802
8803 // uint64 task_id = 10;
8804 if (this->_internal_task_id() != 0) {
8805 target = stream->EnsureSpace(target);
8806 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
8807 10, this->_internal_task_id(), target);
8808 }
8809
8810 // uint64 msg_id = 11;
8811 if (this->_internal_msg_id() != 0) {
8812 target = stream->EnsureSpace(target);
8813 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
8814 11, this->_internal_msg_id(), target);
8815 }
8816
8817 // uint64 correl_id = 12;
8818 if (this->_internal_correl_id() != 0) {
8819 target = stream->EnsureSpace(target);
8820 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
8821 12, this->_internal_correl_id(), target);
8822 }
8823
8824 // string route = 13;
8825 if (!this->_internal_route().empty()) {
8826 const std::string& _s = this->_internal_route();
8827 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
8828 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "daphne.ControlEnvelopeV2.route");
8829 target = stream->WriteStringMaybeAliased(13, _s, target);
8830 }
8831
8832 // uint64 timestamp_ns = 20;
8833 if (this->_internal_timestamp_ns() != 0) {
8834 target = stream->EnsureSpace(target);
8835 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
8836 20, this->_internal_timestamp_ns(), target);
8837 }
8838
8839 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8840 target =
8841 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
8842 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
8843 }
8844 // @@protoc_insertion_point(serialize_to_array_end:daphne.ControlEnvelopeV2)
8845 return target;
8846}
8847
8849// @@protoc_insertion_point(message_byte_size_start:daphne.ControlEnvelopeV2)
8850 ::size_t total_size = 0;
8851
8852 ::uint32_t cached_has_bits = 0;
8853 // Prevent compiler warnings about cached_has_bits being unused
8854 (void) cached_has_bits;
8855
8856 // bytes payload = 4;
8857 if (!this->_internal_payload().empty()) {
8858 total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
8859 this->_internal_payload());
8860 }
8861
8862 // string route = 13;
8863 if (!this->_internal_route().empty()) {
8864 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
8865 this->_internal_route());
8866 }
8867
8868 // uint32 version = 1;
8869 if (this->_internal_version() != 0) {
8870 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
8871 this->_internal_version());
8872 }
8873
8874 // .daphne.Direction dir = 2;
8875 if (this->_internal_dir() != 0) {
8876 total_size += 1 +
8877 ::_pbi::WireFormatLite::EnumSize(this->_internal_dir());
8878 }
8879
8880 // uint64 task_id = 10;
8881 if (this->_internal_task_id() != 0) {
8882 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
8883 this->_internal_task_id());
8884 }
8885
8886 // uint64 msg_id = 11;
8887 if (this->_internal_msg_id() != 0) {
8888 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
8889 this->_internal_msg_id());
8890 }
8891
8892 // uint64 correl_id = 12;
8893 if (this->_internal_correl_id() != 0) {
8894 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
8895 this->_internal_correl_id());
8896 }
8897
8898 // uint64 timestamp_ns = 20;
8899 if (this->_internal_timestamp_ns() != 0) {
8900 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
8901 this->_internal_timestamp_ns());
8902 }
8903
8904 // .daphne.MessageTypeV2 type = 3;
8905 if (this->_internal_type() != 0) {
8906 total_size += 1 +
8907 ::_pbi::WireFormatLite::EnumSize(this->_internal_type());
8908 }
8909
8910 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
8911}
8912
8913const ::google::protobuf::Message::ClassData ControlEnvelopeV2::_class_data_ = {
8914 ::google::protobuf::Message::CopyWithSourceCheck,
8916};
8917const ::google::protobuf::Message::ClassData*ControlEnvelopeV2::GetClassData() const { return &_class_data_; }
8918
8919
8920void ControlEnvelopeV2::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
8921 auto* const _this = static_cast<ControlEnvelopeV2*>(&to_msg);
8922 auto& from = static_cast<const ControlEnvelopeV2&>(from_msg);
8923 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.ControlEnvelopeV2)
8924 ABSL_DCHECK_NE(&from, _this);
8925 ::uint32_t cached_has_bits = 0;
8926 (void) cached_has_bits;
8927
8928 if (!from._internal_payload().empty()) {
8929 _this->_internal_set_payload(from._internal_payload());
8930 }
8931 if (!from._internal_route().empty()) {
8932 _this->_internal_set_route(from._internal_route());
8933 }
8934 if (from._internal_version() != 0) {
8935 _this->_internal_set_version(from._internal_version());
8936 }
8937 if (from._internal_dir() != 0) {
8938 _this->_internal_set_dir(from._internal_dir());
8939 }
8940 if (from._internal_task_id() != 0) {
8941 _this->_internal_set_task_id(from._internal_task_id());
8942 }
8943 if (from._internal_msg_id() != 0) {
8944 _this->_internal_set_msg_id(from._internal_msg_id());
8945 }
8946 if (from._internal_correl_id() != 0) {
8947 _this->_internal_set_correl_id(from._internal_correl_id());
8948 }
8949 if (from._internal_timestamp_ns() != 0) {
8950 _this->_internal_set_timestamp_ns(from._internal_timestamp_ns());
8951 }
8952 if (from._internal_type() != 0) {
8953 _this->_internal_set_type(from._internal_type());
8954 }
8955 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
8956}
8957
8959// @@protoc_insertion_point(class_specific_copy_from_start:daphne.ControlEnvelopeV2)
8960 if (&from == this) return;
8961 Clear();
8962 MergeFrom(from);
8963}
8964
8965PROTOBUF_NOINLINE bool ControlEnvelopeV2::IsInitialized() const {
8966 return true;
8967}
8968
8970 using std::swap;
8971 auto* lhs_arena = GetArenaForAllocation();
8972 auto* rhs_arena = other->GetArenaForAllocation();
8973 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8974 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.payload_, lhs_arena,
8975 &other->_impl_.payload_, rhs_arena);
8976 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.route_, lhs_arena,
8977 &other->_impl_.route_, rhs_arena);
8978 ::google::protobuf::internal::memswap<
8979 PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.type_)
8981 - PROTOBUF_FIELD_OFFSET(ControlEnvelopeV2, _impl_.version_)>(
8982 reinterpret_cast<char*>(&_impl_.version_),
8983 reinterpret_cast<char*>(&other->_impl_.version_));
8984}
8985
8991// ===================================================================
8992
8994 public:
8995};
8996
8997ControlEnvelope::ControlEnvelope(::google::protobuf::Arena* arena)
8998 : ::google::protobuf::Message(arena) {
8999 SharedCtor(arena);
9000 // @@protoc_insertion_point(arena_constructor:daphne.ControlEnvelope)
9001}
9002ControlEnvelope::ControlEnvelope(const ControlEnvelope& from) : ::google::protobuf::Message() {
9003 ControlEnvelope* const _this = this;
9004 (void)_this;
9005 new (&_impl_) Impl_{
9006 decltype(_impl_.payload_){},
9007 decltype(_impl_.type_){},
9008 /*decltype(_impl_._cached_size_)*/ {},
9009 };
9010 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
9011 from._internal_metadata_);
9012 _impl_.payload_.InitDefault();
9013 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9014 _impl_.payload_.Set("", GetArenaForAllocation());
9015 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9016 if (!from._internal_payload().empty()) {
9017 _this->_impl_.payload_.Set(from._internal_payload(), _this->GetArenaForAllocation());
9018 }
9019 _this->_impl_.type_ = from._impl_.type_;
9020
9021 // @@protoc_insertion_point(copy_constructor:daphne.ControlEnvelope)
9022}
9023inline void ControlEnvelope::SharedCtor(::_pb::Arena* arena) {
9024 (void)arena;
9025 new (&_impl_) Impl_{
9026 decltype(_impl_.payload_){},
9027 decltype(_impl_.type_){0},
9028 /*decltype(_impl_._cached_size_)*/ {},
9029 };
9030 _impl_.payload_.InitDefault();
9031 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9032 _impl_.payload_.Set("", GetArenaForAllocation());
9033 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9034}
9036 // @@protoc_insertion_point(destructor:daphne.ControlEnvelope)
9037 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
9038 SharedDtor();
9039}
9041 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
9042 _impl_.payload_.Destroy();
9043}
9045 _impl_._cached_size_.Set(size);
9046}
9047
9048PROTOBUF_NOINLINE void ControlEnvelope::Clear() {
9049// @@protoc_insertion_point(message_clear_start:daphne.ControlEnvelope)
9050 ::uint32_t cached_has_bits = 0;
9051 // Prevent compiler warnings about cached_has_bits being unused
9052 (void) cached_has_bits;
9053
9054 _impl_.payload_.ClearToEmpty();
9055 _impl_.type_ = 0;
9056 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
9057}
9058
9060 const char* ptr, ::_pbi::ParseContext* ctx) {
9061 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
9062 return ptr;
9063}
9064
9065
9066PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
9067const ::_pbi::TcParseTable<1, 2, 0, 0, 2> ControlEnvelope::_table_ = {
9068 {
9069 0, // no _has_bits_
9070 0, // no _extensions_
9071 2, 8, // max_field_number, fast_idx_mask
9072 offsetof(decltype(_table_), field_lookup_table),
9073 4294967292, // skipmap
9074 offsetof(decltype(_table_), field_entries),
9075 2, // num_field_entries
9076 0, // num_aux_entries
9077 offsetof(decltype(_table_), field_names), // no aux_entries
9079 ::_pbi::TcParser::GenericFallback, // fallback
9080 }, {{
9081 // bytes payload = 2;
9082 {::_pbi::TcParser::FastBS1,
9083 {18, 63, 0, PROTOBUF_FIELD_OFFSET(ControlEnvelope, _impl_.payload_)}},
9084 // .daphne.MessageType type = 1;
9085 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ControlEnvelope, _impl_.type_), 63>(),
9086 {8, 63, 0, PROTOBUF_FIELD_OFFSET(ControlEnvelope, _impl_.type_)}},
9087 }}, {{
9088 65535, 65535
9089 }}, {{
9090 // .daphne.MessageType type = 1;
9091 {PROTOBUF_FIELD_OFFSET(ControlEnvelope, _impl_.type_), 0, 0,
9092 (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)},
9093 // bytes payload = 2;
9094 {PROTOBUF_FIELD_OFFSET(ControlEnvelope, _impl_.payload_), 0, 0,
9095 (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)},
9096 }},
9097 // no aux_entries
9098 {{
9099 }},
9100};
9101
9103 ::uint8_t* target,
9104 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
9105 // @@protoc_insertion_point(serialize_to_array_start:daphne.ControlEnvelope)
9106 ::uint32_t cached_has_bits = 0;
9107 (void)cached_has_bits;
9108
9109 // .daphne.MessageType type = 1;
9110 if (this->_internal_type() != 0) {
9111 target = stream->EnsureSpace(target);
9112 target = ::_pbi::WireFormatLite::WriteEnumToArray(
9113 1, this->_internal_type(), target);
9114 }
9115
9116 // bytes payload = 2;
9117 if (!this->_internal_payload().empty()) {
9118 const std::string& _s = this->_internal_payload();
9119 target = stream->WriteBytesMaybeAliased(2, _s, target);
9120 }
9121
9122 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9123 target =
9124 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
9125 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
9126 }
9127 // @@protoc_insertion_point(serialize_to_array_end:daphne.ControlEnvelope)
9128 return target;
9129}
9130
9132// @@protoc_insertion_point(message_byte_size_start:daphne.ControlEnvelope)
9133 ::size_t total_size = 0;
9134
9135 ::uint32_t cached_has_bits = 0;
9136 // Prevent compiler warnings about cached_has_bits being unused
9137 (void) cached_has_bits;
9138
9139 // bytes payload = 2;
9140 if (!this->_internal_payload().empty()) {
9141 total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
9142 this->_internal_payload());
9143 }
9144
9145 // .daphne.MessageType type = 1;
9146 if (this->_internal_type() != 0) {
9147 total_size += 1 +
9148 ::_pbi::WireFormatLite::EnumSize(this->_internal_type());
9149 }
9150
9151 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
9152}
9153
9154const ::google::protobuf::Message::ClassData ControlEnvelope::_class_data_ = {
9155 ::google::protobuf::Message::CopyWithSourceCheck,
9157};
9158const ::google::protobuf::Message::ClassData*ControlEnvelope::GetClassData() const { return &_class_data_; }
9159
9160
9161void ControlEnvelope::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
9162 auto* const _this = static_cast<ControlEnvelope*>(&to_msg);
9163 auto& from = static_cast<const ControlEnvelope&>(from_msg);
9164 // @@protoc_insertion_point(class_specific_merge_from_start:daphne.ControlEnvelope)
9165 ABSL_DCHECK_NE(&from, _this);
9166 ::uint32_t cached_has_bits = 0;
9167 (void) cached_has_bits;
9168
9169 if (!from._internal_payload().empty()) {
9170 _this->_internal_set_payload(from._internal_payload());
9171 }
9172 if (from._internal_type() != 0) {
9173 _this->_internal_set_type(from._internal_type());
9174 }
9175 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
9176}
9177
9179// @@protoc_insertion_point(class_specific_copy_from_start:daphne.ControlEnvelope)
9180 if (&from == this) return;
9181 Clear();
9182 MergeFrom(from);
9183}
9184
9185PROTOBUF_NOINLINE bool ControlEnvelope::IsInitialized() const {
9186 return true;
9187}
9188
9190 using std::swap;
9191 auto* lhs_arena = GetArenaForAllocation();
9192 auto* rhs_arena = other->GetArenaForAllocation();
9193 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
9194 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.payload_, lhs_arena,
9195 &other->_impl_.payload_, rhs_arena);
9196 swap(_impl_.type_, other->_impl_.type_);
9197}
9198
9204// @@protoc_insertion_point(namespace_scope)
9205} // namespace daphne
9206namespace google {
9207namespace protobuf {
9208} // namespace protobuf
9209} // namespace google
9210// @@protoc_insertion_point(global_scope)
9211#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