Ignition Msgs

API Reference

5.8.1
battery_state.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/battery_state.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fbattery_5fstate_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fbattery_5fstate_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3014000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3014000 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/generated_enum_reflection.h>
34 #include <google/protobuf/unknown_field_set.h>
36 #ifndef _MSC_VER
37 #pragma GCC system_header
38 #else
39 #pragma warning(push)
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #endif
42 #ifdef __linux__
43 #include <sys/sysmacros.h>
44 #endif
45 #include <memory>
46 #include <ignition/msgs/Export.hh>
47 // @@protoc_insertion_point(includes)
48 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fbattery_5fstate_2eproto IGNITION_MSGS_VISIBLE
50 PROTOBUF_NAMESPACE_OPEN
51 namespace internal {
52 class AnyMetadata;
53 } // namespace internal
54 PROTOBUF_NAMESPACE_CLOSE
55 
56 // Internal implementation detail -- do not use these members.
58  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
61  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
62  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
63  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
64  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
65  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
66  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
67 };
68 extern IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fbattery_5fstate_2eproto;
69 namespace ignition {
70 namespace msgs {
71 class BatteryState;
72 class BatteryStateDefaultTypeInternal;
73 IGNITION_MSGS_VISIBLE extern BatteryStateDefaultTypeInternal _BatteryState_default_instance_;
74 } // namespace msgs
75 } // namespace ignition
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::BatteryState* Arena::CreateMaybeMessage<::ignition::msgs::BatteryState>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
79 namespace ignition {
80 namespace msgs {
81 
90 };
91 IGNITION_MSGS_VISIBLE bool BatteryState_PowerSupplyStatus_IsValid(int value);
95 
96 IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* BatteryState_PowerSupplyStatus_descriptor();
97 template<typename T>
98 inline const std::string& BatteryState_PowerSupplyStatus_Name(T enum_t_value) {
101  "Incorrect type passed to function BatteryState_PowerSupplyStatus_Name.");
102  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
104 }
106  ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, BatteryState_PowerSupplyStatus* value) {
107  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<BatteryState_PowerSupplyStatus>(
109 }
110 // ===================================================================
111 
112 class IGNITION_MSGS_VISIBLE BatteryState PROTOBUF_FINAL :
113  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.BatteryState) */ {
114  public:
115  inline BatteryState() : BatteryState(nullptr) {}
116  virtual ~BatteryState();
117 
118  BatteryState(const BatteryState& from);
119  BatteryState(BatteryState&& from) noexcept
120  : BatteryState() {
121  *this = ::std::move(from);
122  }
123 
124  inline BatteryState& operator=(const BatteryState& from) {
125  CopyFrom(from);
126  return *this;
127  }
128  inline BatteryState& operator=(BatteryState&& from) noexcept {
129  if (GetArena() == from.GetArena()) {
130  if (this != &from) InternalSwap(&from);
131  } else {
132  CopyFrom(from);
133  }
134  return *this;
135  }
136 
137  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
138  return GetDescriptor();
139  }
140  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
141  return GetMetadataStatic().descriptor;
142  }
143  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
144  return GetMetadataStatic().reflection;
145  }
146  static const BatteryState& default_instance();
147 
148  static inline const BatteryState* internal_default_instance() {
149  return reinterpret_cast<const BatteryState*>(
151  }
152  static constexpr int kIndexInFileMessages =
153  0;
154 
155  friend void swap(BatteryState& a, BatteryState& b) {
156  a.Swap(&b);
157  }
158  inline void Swap(BatteryState* other) {
159  if (other == this) return;
160  if (GetArena() == other->GetArena()) {
161  InternalSwap(other);
162  } else {
163  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
164  }
165  }
166  void UnsafeArenaSwap(BatteryState* other) {
167  if (other == this) return;
168  GOOGLE_DCHECK(GetArena() == other->GetArena());
169  InternalSwap(other);
170  }
171 
172  // implements Message ----------------------------------------------
173 
174  inline BatteryState* New() const final {
175  return CreateMaybeMessage<BatteryState>(nullptr);
176  }
177 
178  BatteryState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
179  return CreateMaybeMessage<BatteryState>(arena);
180  }
181  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
182  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
183  void CopyFrom(const BatteryState& from);
184  void MergeFrom(const BatteryState& from);
185  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
186  bool IsInitialized() const final;
187 
188  size_t ByteSizeLong() const final;
189  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
190  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
191  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
192  int GetCachedSize() const final { return _cached_size_.Get(); }
193 
194  private:
195  inline void SharedCtor();
196  inline void SharedDtor();
197  void SetCachedSize(int size) const final;
198  void InternalSwap(BatteryState* other);
199  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
200  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
201  return "ignition.msgs.BatteryState";
202  }
203  protected:
204  explicit BatteryState(::PROTOBUF_NAMESPACE_ID::Arena* arena);
205  private:
206  static void ArenaDtor(void* object);
207  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
208  public:
209 
210  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
211  private:
212  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
213  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fbattery_5fstate_2eproto);
214  return ::descriptor_table_ignition_2fmsgs_2fbattery_5fstate_2eproto.file_level_metadata[kIndexInFileMessages];
215  }
216 
217  public:
218 
219  // nested types ----------------------------------------------------
220 
222  static constexpr PowerSupplyStatus UNKNOWN =
224  static constexpr PowerSupplyStatus CHARGING =
226  static constexpr PowerSupplyStatus DISCHARGING =
228  static constexpr PowerSupplyStatus NOT_CHARGING =
230  static constexpr PowerSupplyStatus FULL =
232  static inline bool PowerSupplyStatus_IsValid(int value) {
234  }
235  static constexpr PowerSupplyStatus PowerSupplyStatus_MIN =
237  static constexpr PowerSupplyStatus PowerSupplyStatus_MAX =
239  static constexpr int PowerSupplyStatus_ARRAYSIZE =
241  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
244  }
245  template<typename T>
246  static inline const std::string& PowerSupplyStatus_Name(T enum_t_value) {
249  "Incorrect type passed to function PowerSupplyStatus_Name.");
250  return BatteryState_PowerSupplyStatus_Name(enum_t_value);
251  }
252  static inline bool PowerSupplyStatus_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
253  PowerSupplyStatus* value) {
254  return BatteryState_PowerSupplyStatus_Parse(name, value);
255  }
256 
257  // accessors -------------------------------------------------------
258 
259  enum : int {
260  kHeaderFieldNumber = 1,
261  kVoltageFieldNumber = 2,
262  kCurrentFieldNumber = 3,
263  kChargeFieldNumber = 4,
264  kCapacityFieldNumber = 5,
265  kPercentageFieldNumber = 6,
266  kPowerSupplyStatusFieldNumber = 7,
267  };
268  // .ignition.msgs.Header header = 1;
269  bool has_header() const;
270  private:
271  bool _internal_has_header() const;
272  public:
273  void clear_header();
274  const ::ignition::msgs::Header& header() const;
275  ::ignition::msgs::Header* release_header();
276  ::ignition::msgs::Header* mutable_header();
277  void set_allocated_header(::ignition::msgs::Header* header);
278  private:
279  const ::ignition::msgs::Header& _internal_header() const;
280  ::ignition::msgs::Header* _internal_mutable_header();
281  public:
283  ::ignition::msgs::Header* header);
284  ::ignition::msgs::Header* unsafe_arena_release_header();
285 
286  // double voltage = 2;
288  double voltage() const;
289  void set_voltage(double value);
290  private:
291  double _internal_voltage() const;
292  void _internal_set_voltage(double value);
293  public:
294 
295  // double current = 3;
297  double current() const;
298  void set_current(double value);
299  private:
300  double _internal_current() const;
301  void _internal_set_current(double value);
302  public:
303 
304  // double charge = 4;
305  void clear_charge();
306  double charge() const;
307  void set_charge(double value);
308  private:
309  double _internal_charge() const;
310  void _internal_set_charge(double value);
311  public:
312 
313  // double capacity = 5;
315  double capacity() const;
316  void set_capacity(double value);
317  private:
318  double _internal_capacity() const;
319  void _internal_set_capacity(double value);
320  public:
321 
322  // double percentage = 6;
324  double percentage() const;
325  void set_percentage(double value);
326  private:
327  double _internal_percentage() const;
328  void _internal_set_percentage(double value);
329  public:
330 
331  // .ignition.msgs.BatteryState.PowerSupplyStatus power_supply_status = 7;
335  private:
336  ::ignition::msgs::BatteryState_PowerSupplyStatus _internal_power_supply_status() const;
337  void _internal_set_power_supply_status(::ignition::msgs::BatteryState_PowerSupplyStatus value);
338  public:
339 
340  // @@protoc_insertion_point(class_scope:ignition.msgs.BatteryState)
341  private:
342  class _Internal;
343 
344  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
345  typedef void InternalArenaConstructable_;
346  typedef void DestructorSkippable_;
347  ::ignition::msgs::Header* header_;
348  double voltage_;
349  double current_;
350  double charge_;
351  double capacity_;
352  double percentage_;
353  int power_supply_status_;
354  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
355  friend struct ::TableStruct_ignition_2fmsgs_2fbattery_5fstate_2eproto;
356 };
357 // ===================================================================
358 
359 
360 // ===================================================================
361 
362 #ifdef __GNUC__
363  #pragma GCC diagnostic push
364  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
365 #endif // __GNUC__
366 // BatteryState
367 
368 // .ignition.msgs.Header header = 1;
369 inline bool BatteryState::_internal_has_header() const {
370  return this != internal_default_instance() && header_ != nullptr;
371 }
372 inline bool BatteryState::has_header() const {
373  return _internal_has_header();
374 }
375 inline const ::ignition::msgs::Header& BatteryState::_internal_header() const {
376  const ::ignition::msgs::Header* p = header_;
377  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
379 }
380 inline const ::ignition::msgs::Header& BatteryState::header() const {
381  // @@protoc_insertion_point(field_get:ignition.msgs.BatteryState.header)
382  return _internal_header();
383 }
384 inline void BatteryState::unsafe_arena_set_allocated_header(
385  ::ignition::msgs::Header* header) {
386  if (GetArena() == nullptr) {
387  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
388  }
389  header_ = header;
390  if (header) {
391 
392  } else {
393 
394  }
395  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.BatteryState.header)
396 }
397 inline ::ignition::msgs::Header* BatteryState::release_header() {
398 
399  ::ignition::msgs::Header* temp = header_;
400  header_ = nullptr;
401  if (GetArena() != nullptr) {
402  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
403  }
404  return temp;
405 }
406 inline ::ignition::msgs::Header* BatteryState::unsafe_arena_release_header() {
407  // @@protoc_insertion_point(field_release:ignition.msgs.BatteryState.header)
408 
409  ::ignition::msgs::Header* temp = header_;
410  header_ = nullptr;
411  return temp;
412 }
413 inline ::ignition::msgs::Header* BatteryState::_internal_mutable_header() {
414 
415  if (header_ == nullptr) {
416  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
417  header_ = p;
418  }
419  return header_;
420 }
421 inline ::ignition::msgs::Header* BatteryState::mutable_header() {
422  // @@protoc_insertion_point(field_mutable:ignition.msgs.BatteryState.header)
423  return _internal_mutable_header();
424 }
425 inline void BatteryState::set_allocated_header(::ignition::msgs::Header* header) {
426  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
427  if (message_arena == nullptr) {
428  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
429  }
430  if (header) {
431  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
432  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)->GetArena();
433  if (message_arena != submessage_arena) {
434  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
435  message_arena, header, submessage_arena);
436  }
437 
438  } else {
439 
440  }
441  header_ = header;
442  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.BatteryState.header)
443 }
444 
445 // double voltage = 2;
446 inline void BatteryState::clear_voltage() {
447  voltage_ = 0;
448 }
449 inline double BatteryState::_internal_voltage() const {
450  return voltage_;
451 }
452 inline double BatteryState::voltage() const {
453  // @@protoc_insertion_point(field_get:ignition.msgs.BatteryState.voltage)
454  return _internal_voltage();
455 }
456 inline void BatteryState::_internal_set_voltage(double value) {
457 
458  voltage_ = value;
459 }
460 inline void BatteryState::set_voltage(double value) {
461  _internal_set_voltage(value);
462  // @@protoc_insertion_point(field_set:ignition.msgs.BatteryState.voltage)
463 }
464 
465 // double current = 3;
466 inline void BatteryState::clear_current() {
467  current_ = 0;
468 }
469 inline double BatteryState::_internal_current() const {
470  return current_;
471 }
472 inline double BatteryState::current() const {
473  // @@protoc_insertion_point(field_get:ignition.msgs.BatteryState.current)
474  return _internal_current();
475 }
476 inline void BatteryState::_internal_set_current(double value) {
477 
478  current_ = value;
479 }
480 inline void BatteryState::set_current(double value) {
481  _internal_set_current(value);
482  // @@protoc_insertion_point(field_set:ignition.msgs.BatteryState.current)
483 }
484 
485 // double charge = 4;
486 inline void BatteryState::clear_charge() {
487  charge_ = 0;
488 }
489 inline double BatteryState::_internal_charge() const {
490  return charge_;
491 }
492 inline double BatteryState::charge() const {
493  // @@protoc_insertion_point(field_get:ignition.msgs.BatteryState.charge)
494  return _internal_charge();
495 }
496 inline void BatteryState::_internal_set_charge(double value) {
497 
498  charge_ = value;
499 }
500 inline void BatteryState::set_charge(double value) {
501  _internal_set_charge(value);
502  // @@protoc_insertion_point(field_set:ignition.msgs.BatteryState.charge)
503 }
504 
505 // double capacity = 5;
506 inline void BatteryState::clear_capacity() {
507  capacity_ = 0;
508 }
509 inline double BatteryState::_internal_capacity() const {
510  return capacity_;
511 }
512 inline double BatteryState::capacity() const {
513  // @@protoc_insertion_point(field_get:ignition.msgs.BatteryState.capacity)
514  return _internal_capacity();
515 }
516 inline void BatteryState::_internal_set_capacity(double value) {
517 
518  capacity_ = value;
519 }
520 inline void BatteryState::set_capacity(double value) {
521  _internal_set_capacity(value);
522  // @@protoc_insertion_point(field_set:ignition.msgs.BatteryState.capacity)
523 }
524 
525 // double percentage = 6;
526 inline void BatteryState::clear_percentage() {
527  percentage_ = 0;
528 }
529 inline double BatteryState::_internal_percentage() const {
530  return percentage_;
531 }
532 inline double BatteryState::percentage() const {
533  // @@protoc_insertion_point(field_get:ignition.msgs.BatteryState.percentage)
534  return _internal_percentage();
535 }
536 inline void BatteryState::_internal_set_percentage(double value) {
537 
538  percentage_ = value;
539 }
540 inline void BatteryState::set_percentage(double value) {
541  _internal_set_percentage(value);
542  // @@protoc_insertion_point(field_set:ignition.msgs.BatteryState.percentage)
543 }
544 
545 // .ignition.msgs.BatteryState.PowerSupplyStatus power_supply_status = 7;
546 inline void BatteryState::clear_power_supply_status() {
547  power_supply_status_ = 0;
548 }
549 inline ::ignition::msgs::BatteryState_PowerSupplyStatus BatteryState::_internal_power_supply_status() const {
550  return static_cast< ::ignition::msgs::BatteryState_PowerSupplyStatus >(power_supply_status_);
551 }
552 inline ::ignition::msgs::BatteryState_PowerSupplyStatus BatteryState::power_supply_status() const {
553  // @@protoc_insertion_point(field_get:ignition.msgs.BatteryState.power_supply_status)
554  return _internal_power_supply_status();
555 }
556 inline void BatteryState::_internal_set_power_supply_status(::ignition::msgs::BatteryState_PowerSupplyStatus value) {
557 
558  power_supply_status_ = value;
559 }
560 inline void BatteryState::set_power_supply_status(::ignition::msgs::BatteryState_PowerSupplyStatus value) {
561  _internal_set_power_supply_status(value);
562  // @@protoc_insertion_point(field_set:ignition.msgs.BatteryState.power_supply_status)
563 }
564 
565 #ifdef __GNUC__
566  #pragma GCC diagnostic pop
567 #endif // __GNUC__
568 
573 // @@protoc_insertion_point(namespace_scope)
574 
575 } // namespace msgs
576 } // namespace ignition
577 
578 PROTOBUF_NAMESPACE_OPEN
579 
580 template <> struct is_proto_enum< ::ignition::msgs::BatteryState_PowerSupplyStatus> : ::std::true_type {};
581 template <>
582 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::BatteryState_PowerSupplyStatus>() {
584 }
585 
586 PROTOBUF_NAMESPACE_CLOSE
587 
588 #ifdef _MSC_VER
589 #pragma warning(pop)
590 #endif
591 // @@protoc_insertion_point(global_scope)
592 
593 #include <google/protobuf/port_undef.inc>
594 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fbattery_5fstate_2eproto
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fbattery_5fstate_2eproto
void set_voltage(double value)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: battery_state.pb.h:143
static bool PowerSupplyStatus_IsValid(int value)
Definition: battery_state.pb.h:232
static const BatteryState & default_instance()
void UnsafeArenaSwap(BatteryState *other)
Definition: battery_state.pb.h:166
BatteryState * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: battery_state.pb.h:178
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Header * release_header()
::ignition::msgs::Header * mutable_header()
void set_charge(double value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: battery_state.pb.h:137
void set_current(double value)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * PowerSupplyStatus_descriptor()
Definition: battery_state.pb.h:242
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
BatteryState_PowerSupplyStatus PowerSupplyStatus
Definition: battery_state.pb.h:221
friend void swap(BatteryState &a, BatteryState &b)
Definition: battery_state.pb.h:155
BatteryState & operator=(const BatteryState &from)
Definition: battery_state.pb.h:124
BatteryState & operator=(BatteryState &&from) noexcept
Definition: battery_state.pb.h:128
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
BatteryState(const BatteryState &from)
void Swap(BatteryState *other)
Definition: battery_state.pb.h:158
BatteryState(BatteryState &&from) noexcept
Definition: battery_state.pb.h:119
void set_capacity(double value)
BatteryState * New() const final
Definition: battery_state.pb.h:174
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
::ignition::msgs::BatteryState_PowerSupplyStatus power_supply_status() const
static const BatteryState * internal_default_instance()
Definition: battery_state.pb.h:148
void CopyFrom(const BatteryState &from)
void set_allocated_header(::ignition::msgs::Header *header)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: battery_state.pb.h:140
void MergeFrom(const BatteryState &from)
BatteryState()
Definition: battery_state.pb.h:115
static bool PowerSupplyStatus_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PowerSupplyStatus *value)
Definition: battery_state.pb.h:252
void set_power_supply_status(::ignition::msgs::BatteryState_PowerSupplyStatus value)
static const std::string & PowerSupplyStatus_Name(T enum_t_value)
Definition: battery_state.pb.h:246
BatteryState(::PROTOBUF_NAMESPACE_ID::Arena *arena)
const ::ignition::msgs::Header & header() const
void set_percentage(double value)
T max(T... args)
T min(T... args)
constexpr int BatteryState_PowerSupplyStatus_PowerSupplyStatus_ARRAYSIZE
Definition: battery_state.pb.h:94
std::unique_ptr< BatteryState > BatteryStateUniquePtr
Definition: battery_state.pb.h:569
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * BatteryState_PowerSupplyStatus_descriptor()
std::shared_ptr< const BatteryState > ConstBatteryStateSharedPtr
Definition: battery_state.pb.h:572
const std::string & BatteryState_PowerSupplyStatus_Name(T enum_t_value)
Definition: battery_state.pb.h:98
std::unique_ptr< const BatteryState > ConstBatteryStateUniquePtr
Definition: battery_state.pb.h:570
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
constexpr BatteryState_PowerSupplyStatus BatteryState_PowerSupplyStatus_PowerSupplyStatus_MAX
Definition: battery_state.pb.h:93
IGNITION_MSGS_VISIBLE bool BatteryState_PowerSupplyStatus_IsValid(int value)
constexpr BatteryState_PowerSupplyStatus BatteryState_PowerSupplyStatus_PowerSupplyStatus_MIN
Definition: battery_state.pb.h:92
std::shared_ptr< BatteryState > BatteryStateSharedPtr
Definition: battery_state.pb.h:571
bool BatteryState_PowerSupplyStatus_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, BatteryState_PowerSupplyStatus *value)
Definition: battery_state.pb.h:105
IGNITION_MSGS_VISIBLE BatteryStateDefaultTypeInternal _BatteryState_default_instance_
BatteryState_PowerSupplyStatus
Definition: battery_state.pb.h:82
@ BatteryState_PowerSupplyStatus_NOT_CHARGING
Definition: battery_state.pb.h:86
@ BatteryState_PowerSupplyStatus_BatteryState_PowerSupplyStatus_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: battery_state.pb.h:89
@ BatteryState_PowerSupplyStatus_UNKNOWN
Definition: battery_state.pb.h:83
@ BatteryState_PowerSupplyStatus_FULL
Definition: battery_state.pb.h:87
@ BatteryState_PowerSupplyStatus_BatteryState_PowerSupplyStatus_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: battery_state.pb.h:88
@ BatteryState_PowerSupplyStatus_CHARGING
Definition: battery_state.pb.h:84
@ BatteryState_PowerSupplyStatus_DISCHARGING
Definition: battery_state.pb.h:85
Definition: actor.pb.h:52
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)