-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathapi.pb.h
More file actions
791 lines (701 loc) · 32.3 KB
/
Copy pathapi.pb.h
File metadata and controls
791 lines (701 loc) · 32.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
//go:build deps_only && cgo
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: github.com/aperturerobotics/controllerbus/bus/api/api.proto
// Protobuf C++ Version: 6.33.4
#ifndef github_2ecom_2faperturerobotics_2fcontrollerbus_2fbus_2fapi_2fapi_2eproto_2epb_2eh
#define github_2ecom_2faperturerobotics_2fcontrollerbus_2fbus_2fapi_2fapi_2eproto_2epb_2eh
#include <limits>
#include <string>
#include <type_traits>
#include <utility>
#include "google/protobuf/runtime_version.h"
#if PROTOBUF_VERSION != 6033004
#error "Protobuf C++ gencode is built with an incompatible version of"
#error "Protobuf C++ headers/runtime. See"
#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
#endif
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_bases.h"
#include "google/protobuf/generated_message_tctable_decl.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/metadata_lite.h"
#include "google/protobuf/generated_message_reflection.h"
#include "google/protobuf/message.h"
#include "google/protobuf/message_lite.h"
#include "google/protobuf/repeated_field.h" // IWYU pragma: export
#include "google/protobuf/extension_set.h" // IWYU pragma: export
#include "google/protobuf/unknown_field_set.h"
#include "../../controller/controller.pb.h"
#include "../../controller/exec/exec.pb.h"
#include "../../directive/directive.pb.h"
// @@protoc_insertion_point(includes)
// Must be included last.
#include "google/protobuf/port_def.inc"
#define PROTOBUF_INTERNAL_EXPORT_github_2ecom_2faperturerobotics_2fcontrollerbus_2fbus_2fapi_2fapi_2eproto
namespace google {
namespace protobuf {
namespace internal {
template <typename T>
::absl::string_view GetAnyMessageName();
} // namespace internal
} // namespace protobuf
} // namespace google
// Internal implementation detail -- do not use these members.
struct TableStruct_github_2ecom_2faperturerobotics_2fcontrollerbus_2fbus_2fapi_2fapi_2eproto {
static const ::uint32_t offsets[];
};
extern "C" {
extern const ::google::protobuf::internal::DescriptorTable descriptor_table_github_2ecom_2faperturerobotics_2fcontrollerbus_2fbus_2fapi_2fapi_2eproto;
} // extern "C"
namespace bus {
namespace api {
class Config;
struct ConfigDefaultTypeInternal;
extern ConfigDefaultTypeInternal _Config_default_instance_;
extern const ::google::protobuf::internal::ClassDataFull Config_class_data_;
class GetBusInfoRequest;
struct GetBusInfoRequestDefaultTypeInternal;
extern GetBusInfoRequestDefaultTypeInternal _GetBusInfoRequest_default_instance_;
extern const ::google::protobuf::internal::ClassDataFull GetBusInfoRequest_class_data_;
class GetBusInfoResponse;
struct GetBusInfoResponseDefaultTypeInternal;
extern GetBusInfoResponseDefaultTypeInternal _GetBusInfoResponse_default_instance_;
extern const ::google::protobuf::internal::ClassDataFull GetBusInfoResponse_class_data_;
} // namespace api
} // namespace bus
namespace google {
namespace protobuf {
} // namespace protobuf
} // namespace google
namespace bus {
namespace api {
// ===================================================================
// -------------------------------------------------------------------
class GetBusInfoRequest final : public ::google::protobuf::internal::ZeroFieldsBase
/* @@protoc_insertion_point(class_definition:bus.api.GetBusInfoRequest) */ {
public:
inline GetBusInfoRequest() : GetBusInfoRequest(nullptr) {}
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(GetBusInfoRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(GetBusInfoRequest));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR GetBusInfoRequest(::google::protobuf::internal::ConstantInitialized);
inline GetBusInfoRequest(const GetBusInfoRequest& from) : GetBusInfoRequest(nullptr, from) {}
inline GetBusInfoRequest(GetBusInfoRequest&& from) noexcept
: GetBusInfoRequest(nullptr, ::std::move(from)) {}
inline GetBusInfoRequest& operator=(const GetBusInfoRequest& from) {
CopyFrom(from);
return *this;
}
inline GetBusInfoRequest& operator=(GetBusInfoRequest&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const GetBusInfoRequest& default_instance() {
return *reinterpret_cast<const GetBusInfoRequest*>(
&_GetBusInfoRequest_default_instance_);
}
static constexpr int kIndexInFileMessages = 1;
friend void swap(GetBusInfoRequest& a, GetBusInfoRequest& b) { a.Swap(&b); }
inline void Swap(GetBusInfoRequest* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(GetBusInfoRequest* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
GetBusInfoRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct<GetBusInfoRequest>(arena);
}
using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom;
inline void CopyFrom(const GetBusInfoRequest& from) {
::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from);
}
using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom;
void MergeFrom(const GetBusInfoRequest& from) {
::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from);
}
public:
bool IsInitialized() const {
return true;
}
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "bus.api.GetBusInfoRequest"; }
explicit GetBusInfoRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
GetBusInfoRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetBusInfoRequest& from);
GetBusInfoRequest(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetBusInfoRequest&& from) noexcept
: GetBusInfoRequest(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:bus.api.GetBusInfoRequest)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
friend struct ::TableStruct_github_2ecom_2faperturerobotics_2fcontrollerbus_2fbus_2fapi_2fapi_2eproto;
};
extern const ::google::protobuf::internal::ClassDataFull GetBusInfoRequest_class_data_;
// -------------------------------------------------------------------
class Config final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:bus.api.Config) */ {
public:
inline Config() : Config(nullptr) {}
~Config() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(Config* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(Config));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR Config(::google::protobuf::internal::ConstantInitialized);
inline Config(const Config& from) : Config(nullptr, from) {}
inline Config(Config&& from) noexcept
: Config(nullptr, ::std::move(from)) {}
inline Config& operator=(const Config& from) {
CopyFrom(from);
return *this;
}
inline Config& operator=(Config&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const Config& default_instance() {
return *reinterpret_cast<const Config*>(
&_Config_default_instance_);
}
static constexpr int kIndexInFileMessages = 0;
friend void swap(Config& a, Config& b) { a.Swap(&b); }
inline void Swap(Config* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(Config* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
Config* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<Config>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const Config& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const Config& from) { Config::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(Config* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "bus.api.Config"; }
explicit Config(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
Config(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Config& from);
Config(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Config&& from) noexcept
: Config(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kEnableExecControllerFieldNumber = 1,
};
// bool enable_exec_controller = 1;
void clear_enable_exec_controller() ;
bool enable_exec_controller() const;
void set_enable_exec_controller(bool value);
private:
bool _internal_enable_exec_controller() const;
void _internal_set_enable_exec_controller(bool value);
public:
// @@protoc_insertion_point(class_scope:bus.api.Config)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const Config& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
bool enable_exec_controller_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_github_2ecom_2faperturerobotics_2fcontrollerbus_2fbus_2fapi_2fapi_2eproto;
};
extern const ::google::protobuf::internal::ClassDataFull Config_class_data_;
// -------------------------------------------------------------------
class GetBusInfoResponse final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:bus.api.GetBusInfoResponse) */ {
public:
inline GetBusInfoResponse() : GetBusInfoResponse(nullptr) {}
~GetBusInfoResponse() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(GetBusInfoResponse* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(GetBusInfoResponse));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR GetBusInfoResponse(::google::protobuf::internal::ConstantInitialized);
inline GetBusInfoResponse(const GetBusInfoResponse& from) : GetBusInfoResponse(nullptr, from) {}
inline GetBusInfoResponse(GetBusInfoResponse&& from) noexcept
: GetBusInfoResponse(nullptr, ::std::move(from)) {}
inline GetBusInfoResponse& operator=(const GetBusInfoResponse& from) {
CopyFrom(from);
return *this;
}
inline GetBusInfoResponse& operator=(GetBusInfoResponse&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const GetBusInfoResponse& default_instance() {
return *reinterpret_cast<const GetBusInfoResponse*>(
&_GetBusInfoResponse_default_instance_);
}
static constexpr int kIndexInFileMessages = 2;
friend void swap(GetBusInfoResponse& a, GetBusInfoResponse& b) { a.Swap(&b); }
inline void Swap(GetBusInfoResponse* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(GetBusInfoResponse* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
GetBusInfoResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<GetBusInfoResponse>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const GetBusInfoResponse& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const GetBusInfoResponse& from) { GetBusInfoResponse::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(GetBusInfoResponse* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "bus.api.GetBusInfoResponse"; }
explicit GetBusInfoResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
GetBusInfoResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetBusInfoResponse& from);
GetBusInfoResponse(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetBusInfoResponse&& from) noexcept
: GetBusInfoResponse(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kRunningControllersFieldNumber = 1,
kRunningDirectivesFieldNumber = 2,
};
// repeated .controller.Info running_controllers = 1;
int running_controllers_size() const;
private:
int _internal_running_controllers_size() const;
public:
void clear_running_controllers() ;
::controller::Info* PROTOBUF_NONNULL mutable_running_controllers(int index);
::google::protobuf::RepeatedPtrField<::controller::Info>* PROTOBUF_NONNULL mutable_running_controllers();
private:
const ::google::protobuf::RepeatedPtrField<::controller::Info>& _internal_running_controllers() const;
::google::protobuf::RepeatedPtrField<::controller::Info>* PROTOBUF_NONNULL _internal_mutable_running_controllers();
public:
const ::controller::Info& running_controllers(int index) const;
::controller::Info* PROTOBUF_NONNULL add_running_controllers();
const ::google::protobuf::RepeatedPtrField<::controller::Info>& running_controllers() const;
// repeated .directive.DirectiveState running_directives = 2;
int running_directives_size() const;
private:
int _internal_running_directives_size() const;
public:
void clear_running_directives() ;
::directive::DirectiveState* PROTOBUF_NONNULL mutable_running_directives(int index);
::google::protobuf::RepeatedPtrField<::directive::DirectiveState>* PROTOBUF_NONNULL mutable_running_directives();
private:
const ::google::protobuf::RepeatedPtrField<::directive::DirectiveState>& _internal_running_directives() const;
::google::protobuf::RepeatedPtrField<::directive::DirectiveState>* PROTOBUF_NONNULL _internal_mutable_running_directives();
public:
const ::directive::DirectiveState& running_directives(int index) const;
::directive::DirectiveState* PROTOBUF_NONNULL add_running_directives();
const ::google::protobuf::RepeatedPtrField<::directive::DirectiveState>& running_directives() const;
// @@protoc_insertion_point(class_scope:bus.api.GetBusInfoResponse)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2,
2, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const GetBusInfoResponse& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::RepeatedPtrField< ::controller::Info > running_controllers_;
::google::protobuf::RepeatedPtrField< ::directive::DirectiveState > running_directives_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_github_2ecom_2faperturerobotics_2fcontrollerbus_2fbus_2fapi_2fapi_2eproto;
};
extern const ::google::protobuf::internal::ClassDataFull GetBusInfoResponse_class_data_;
// ===================================================================
// ===================================================================
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif // __GNUC__
// -------------------------------------------------------------------
// Config
// bool enable_exec_controller = 1;
inline void Config::clear_enable_exec_controller() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.enable_exec_controller_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline bool Config::enable_exec_controller() const {
// @@protoc_insertion_point(field_get:bus.api.Config.enable_exec_controller)
return _internal_enable_exec_controller();
}
inline void Config::set_enable_exec_controller(bool value) {
_internal_set_enable_exec_controller(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:bus.api.Config.enable_exec_controller)
}
inline bool Config::_internal_enable_exec_controller() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.enable_exec_controller_;
}
inline void Config::_internal_set_enable_exec_controller(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.enable_exec_controller_ = value;
}
// -------------------------------------------------------------------
// GetBusInfoRequest
// -------------------------------------------------------------------
// GetBusInfoResponse
// repeated .controller.Info running_controllers = 1;
inline int GetBusInfoResponse::_internal_running_controllers_size() const {
return _internal_running_controllers().size();
}
inline int GetBusInfoResponse::running_controllers_size() const {
return _internal_running_controllers_size();
}
inline ::controller::Info* PROTOBUF_NONNULL GetBusInfoResponse::mutable_running_controllers(int index)
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_mutable:bus.api.GetBusInfoResponse.running_controllers)
return _internal_mutable_running_controllers()->Mutable(index);
}
inline ::google::protobuf::RepeatedPtrField<::controller::Info>* PROTOBUF_NONNULL GetBusInfoResponse::mutable_running_controllers()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_mutable_list:bus.api.GetBusInfoResponse.running_controllers)
::google::protobuf::internal::TSanWrite(&_impl_);
return _internal_mutable_running_controllers();
}
inline const ::controller::Info& GetBusInfoResponse::running_controllers(int index) const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:bus.api.GetBusInfoResponse.running_controllers)
return _internal_running_controllers().Get(index);
}
inline ::controller::Info* PROTOBUF_NONNULL GetBusInfoResponse::add_running_controllers()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
::google::protobuf::internal::TSanWrite(&_impl_);
::controller::Info* _add =
_internal_mutable_running_controllers()->InternalAddWithArena(
::google::protobuf::MessageLite::internal_visibility(), GetArena());
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_add:bus.api.GetBusInfoResponse.running_controllers)
return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::controller::Info>& GetBusInfoResponse::running_controllers() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_list:bus.api.GetBusInfoResponse.running_controllers)
return _internal_running_controllers();
}
inline const ::google::protobuf::RepeatedPtrField<::controller::Info>&
GetBusInfoResponse::_internal_running_controllers() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.running_controllers_;
}
inline ::google::protobuf::RepeatedPtrField<::controller::Info>* PROTOBUF_NONNULL
GetBusInfoResponse::_internal_mutable_running_controllers() {
::google::protobuf::internal::TSanRead(&_impl_);
return &_impl_.running_controllers_;
}
// repeated .directive.DirectiveState running_directives = 2;
inline int GetBusInfoResponse::_internal_running_directives_size() const {
return _internal_running_directives().size();
}
inline int GetBusInfoResponse::running_directives_size() const {
return _internal_running_directives_size();
}
inline ::directive::DirectiveState* PROTOBUF_NONNULL GetBusInfoResponse::mutable_running_directives(int index)
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_mutable:bus.api.GetBusInfoResponse.running_directives)
return _internal_mutable_running_directives()->Mutable(index);
}
inline ::google::protobuf::RepeatedPtrField<::directive::DirectiveState>* PROTOBUF_NONNULL GetBusInfoResponse::mutable_running_directives()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_mutable_list:bus.api.GetBusInfoResponse.running_directives)
::google::protobuf::internal::TSanWrite(&_impl_);
return _internal_mutable_running_directives();
}
inline const ::directive::DirectiveState& GetBusInfoResponse::running_directives(int index) const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:bus.api.GetBusInfoResponse.running_directives)
return _internal_running_directives().Get(index);
}
inline ::directive::DirectiveState* PROTOBUF_NONNULL GetBusInfoResponse::add_running_directives()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
::google::protobuf::internal::TSanWrite(&_impl_);
::directive::DirectiveState* _add =
_internal_mutable_running_directives()->InternalAddWithArena(
::google::protobuf::MessageLite::internal_visibility(), GetArena());
SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
// @@protoc_insertion_point(field_add:bus.api.GetBusInfoResponse.running_directives)
return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::directive::DirectiveState>& GetBusInfoResponse::running_directives() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_list:bus.api.GetBusInfoResponse.running_directives)
return _internal_running_directives();
}
inline const ::google::protobuf::RepeatedPtrField<::directive::DirectiveState>&
GetBusInfoResponse::_internal_running_directives() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.running_directives_;
}
inline ::google::protobuf::RepeatedPtrField<::directive::DirectiveState>* PROTOBUF_NONNULL
GetBusInfoResponse::_internal_mutable_running_directives() {
::google::protobuf::internal::TSanRead(&_impl_);
return &_impl_.running_directives_;
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif // __GNUC__
// @@protoc_insertion_point(namespace_scope)
} // namespace api
} // namespace bus
// @@protoc_insertion_point(global_scope)
#include "google/protobuf/port_undef.inc"
#endif // github_2ecom_2faperturerobotics_2fcontrollerbus_2fbus_2fapi_2fapi_2eproto_2epb_2eh