aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/main/cpp/messages/VehicleMessageHeader.pb.h
blob: 8ed0ed34f0281b68f0da49c5e523dc1ea53daece (plain)
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
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: messages/VehicleMessageHeader.proto

#ifndef GOOGLE_PROTOBUF_INCLUDED_messages_2fVehicleMessageHeader_2eproto_2epb_2eh
#define GOOGLE_PROTOBUF_INCLUDED_messages_2fVehicleMessageHeader_2eproto_2epb_2eh

#include <limits>
#include <string>
#include <type_traits>

#include "google/protobuf/port_def.inc"
#if PROTOBUF_VERSION < 4022000
#error "This file was generated by a newer version of protoc which is"
#error "incompatible with your Protocol Buffer headers. Please update"
#error "your headers."
#endif  // PROTOBUF_VERSION

#if 4022000 < PROTOBUF_MIN_PROTOC_VERSION
#error "This file was generated by an older version of protoc which is"
#error "incompatible with your Protocol Buffer headers. Please"
#error "regenerate this file with a newer version of protoc."
#endif  // PROTOBUF_MIN_PROTOC_VERSION
#include "google/protobuf/port_undef.inc"
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.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/repeated_field.h"  // IWYU pragma: export
#include "google/protobuf/extension_set.h"  // IWYU pragma: export
#include "google/protobuf/unknown_field_set.h"
#include "vss/vspec.pb.h"
// @@protoc_insertion_point(includes)

// Must be included last.
#include "google/protobuf/port_def.inc"

#define PROTOBUF_INTERNAL_EXPORT_messages_2fVehicleMessageHeader_2eproto

PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_messages_2fVehicleMessageHeader_2eproto {
  static const ::uint32_t offsets[];
};
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable
    descriptor_table_messages_2fVehicleMessageHeader_2eproto;
namespace messages {
class VehicleMessageHeading;
struct VehicleMessageHeadingDefaultTypeInternal;
extern VehicleMessageHeadingDefaultTypeInternal _VehicleMessageHeading_default_instance_;
class lat_long;
struct lat_longDefaultTypeInternal;
extern lat_longDefaultTypeInternal _lat_long_default_instance_;
}  // namespace messages
PROTOBUF_NAMESPACE_OPEN
template <>
::messages::VehicleMessageHeading* Arena::CreateMaybeMessage<::messages::VehicleMessageHeading>(Arena*);
template <>
::messages::lat_long* Arena::CreateMaybeMessage<::messages::lat_long>(Arena*);
PROTOBUF_NAMESPACE_CLOSE

namespace messages {

// ===================================================================


// -------------------------------------------------------------------

class VehicleMessageHeading final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:messages.VehicleMessageHeading) */ {
 public:
  inline VehicleMessageHeading() : VehicleMessageHeading(nullptr) {}
  ~VehicleMessageHeading() override;
  explicit PROTOBUF_CONSTEXPR VehicleMessageHeading(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  VehicleMessageHeading(const VehicleMessageHeading& from);
  VehicleMessageHeading(VehicleMessageHeading&& from) noexcept
    : VehicleMessageHeading() {
    *this = ::std::move(from);
  }

  inline VehicleMessageHeading& operator=(const VehicleMessageHeading& from) {
    CopyFrom(from);
    return *this;
  }
  inline VehicleMessageHeading& operator=(VehicleMessageHeading&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const VehicleMessageHeading& default_instance() {
    return *internal_default_instance();
  }
  static inline const VehicleMessageHeading* internal_default_instance() {
    return reinterpret_cast<const VehicleMessageHeading*>(
               &_VehicleMessageHeading_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    0;

  friend void swap(VehicleMessageHeading& a, VehicleMessageHeading& b) {
    a.Swap(&b);
  }
  inline void Swap(VehicleMessageHeading* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(VehicleMessageHeading* other) {
    if (other == this) return;
    ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  VehicleMessageHeading* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<VehicleMessageHeading>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const VehicleMessageHeading& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const VehicleMessageHeading& from) {
    VehicleMessageHeading::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  ::size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::uint8_t* _InternalSerialize(
      ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(VehicleMessageHeading* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::absl::string_view FullMessageName() {
    return "messages.VehicleMessageHeading";
  }
  protected:
  explicit VehicleMessageHeading(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  static const ClassData _class_data_;
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  enum : int {
    kVehicleDeviceIdFieldNumber = 7,
    kVehicleIdentityFieldNumber = 3,
    kLocationFieldNumber = 6,
    kMessageIdFieldNumber = 1,
    kCorrelationIdFieldNumber = 2,
    kMessageTimestampFieldNumber = 4,
    kProtocolVersionFieldNumber = 5,
  };
  // string vehicle_device_id = 7;
  void clear_vehicle_device_id() ;
  const std::string& vehicle_device_id() const;




  template <typename Arg_ = const std::string&, typename... Args_>
  void set_vehicle_device_id(Arg_&& arg, Args_... args);
  std::string* mutable_vehicle_device_id();
  PROTOBUF_NODISCARD std::string* release_vehicle_device_id();
  void set_allocated_vehicle_device_id(std::string* ptr);

  private:
  const std::string& _internal_vehicle_device_id() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_vehicle_device_id(
      const std::string& value);
  std::string* _internal_mutable_vehicle_device_id();

  public:
  // .vss.VehicleVehicleIdentification vehicle_identity = 3;
  bool has_vehicle_identity() const;
  private:
  bool _internal_has_vehicle_identity() const;

  public:
  void clear_vehicle_identity() ;
  const ::vss::VehicleVehicleIdentification& vehicle_identity() const;
  PROTOBUF_NODISCARD ::vss::VehicleVehicleIdentification* release_vehicle_identity();
  ::vss::VehicleVehicleIdentification* mutable_vehicle_identity();
  void set_allocated_vehicle_identity(::vss::VehicleVehicleIdentification* vehicle_identity);
  private:
  const ::vss::VehicleVehicleIdentification& _internal_vehicle_identity() const;
  ::vss::VehicleVehicleIdentification* _internal_mutable_vehicle_identity();
  public:
  void unsafe_arena_set_allocated_vehicle_identity(
      ::vss::VehicleVehicleIdentification* vehicle_identity);
  ::vss::VehicleVehicleIdentification* unsafe_arena_release_vehicle_identity();
  // .messages.lat_long location = 6;
  bool has_location() const;
  private:
  bool _internal_has_location() const;

  public:
  void clear_location() ;
  const ::messages::lat_long& location() const;
  PROTOBUF_NODISCARD ::messages::lat_long* release_location();
  ::messages::lat_long* mutable_location();
  void set_allocated_location(::messages::lat_long* location);
  private:
  const ::messages::lat_long& _internal_location() const;
  ::messages::lat_long* _internal_mutable_location();
  public:
  void unsafe_arena_set_allocated_location(
      ::messages::lat_long* location);
  ::messages::lat_long* unsafe_arena_release_location();
  // int32 message_id = 1;
  void clear_message_id() ;
  ::int32_t message_id() const;
  void set_message_id(::int32_t value);

  private:
  ::int32_t _internal_message_id() const;
  void _internal_set_message_id(::int32_t value);

  public:
  // int32 correlation_id = 2;
  void clear_correlation_id() ;
  ::int32_t correlation_id() const;
  void set_correlation_id(::int32_t value);

  private:
  ::int32_t _internal_correlation_id() const;
  void _internal_set_correlation_id(::int32_t value);

  public:
  // int64 message_timestamp = 4;
  void clear_message_timestamp() ;
  ::int64_t message_timestamp() const;
  void set_message_timestamp(::int64_t value);

  private:
  ::int64_t _internal_message_timestamp() const;
  void _internal_set_message_timestamp(::int64_t value);

  public:
  // double protocol_version = 5;
  void clear_protocol_version() ;
  double protocol_version() const;
  void set_protocol_version(double value);

  private:
  double _internal_protocol_version() const;
  void _internal_set_protocol_version(double value);

  public:
  // @@protoc_insertion_point(class_scope:messages.VehicleMessageHeading)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr vehicle_device_id_;
    ::vss::VehicleVehicleIdentification* vehicle_identity_;
    ::messages::lat_long* location_;
    ::int32_t message_id_;
    ::int32_t correlation_id_;
    ::int64_t message_timestamp_;
    double protocol_version_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_messages_2fVehicleMessageHeader_2eproto;
};// -------------------------------------------------------------------

class lat_long final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:messages.lat_long) */ {
 public:
  inline lat_long() : lat_long(nullptr) {}
  ~lat_long() override;
  explicit PROTOBUF_CONSTEXPR lat_long(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  lat_long(const lat_long& from);
  lat_long(lat_long&& from) noexcept
    : lat_long() {
    *this = ::std::move(from);
  }

  inline lat_long& operator=(const lat_long& from) {
    CopyFrom(from);
    return *this;
  }
  inline lat_long& operator=(lat_long&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const lat_long& default_instance() {
    return *internal_default_instance();
  }
  static inline const lat_long* internal_default_instance() {
    return reinterpret_cast<const lat_long*>(
               &_lat_long_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    1;

  friend void swap(lat_long& a, lat_long& b) {
    a.Swap(&b);
  }
  inline void Swap(lat_long* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(lat_long* other) {
    if (other == this) return;
    ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  lat_long* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<lat_long>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const lat_long& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const lat_long& from) {
    lat_long::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  ::size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::uint8_t* _InternalSerialize(
      ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(lat_long* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::absl::string_view FullMessageName() {
    return "messages.lat_long";
  }
  protected:
  explicit lat_long(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  static const ClassData _class_data_;
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  enum : int {
    kLatitudeFieldNumber = 1,
    kLongitudeFieldNumber = 2,
  };
  // double latitude = 1;
  void clear_latitude() ;
  double latitude() const;
  void set_latitude(double value);

  private:
  double _internal_latitude() const;
  void _internal_set_latitude(double value);

  public:
  // double longitude = 2;
  void clear_longitude() ;
  double longitude() const;
  void set_longitude(double value);

  private:
  double _internal_longitude() const;
  void _internal_set_longitude(double value);

  public:
  // @@protoc_insertion_point(class_scope:messages.lat_long)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    double latitude_;
    double longitude_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_messages_2fVehicleMessageHeader_2eproto;
};

// ===================================================================




// ===================================================================


#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif  // __GNUC__
// -------------------------------------------------------------------

// VehicleMessageHeading

// int32 message_id = 1;
inline void VehicleMessageHeading::clear_message_id() {
  _impl_.message_id_ = 0;
}
inline ::int32_t VehicleMessageHeading::message_id() const {
  // @@protoc_insertion_point(field_get:messages.VehicleMessageHeading.message_id)
  return _internal_message_id();
}
inline void VehicleMessageHeading::set_message_id(::int32_t value) {
  _internal_set_message_id(value);
  // @@protoc_insertion_point(field_set:messages.VehicleMessageHeading.message_id)
}
inline ::int32_t VehicleMessageHeading::_internal_message_id() const {
  return _impl_.message_id_;
}
inline void VehicleMessageHeading::_internal_set_message_id(::int32_t value) {
  ;
  _impl_.message_id_ = value;
}

// int32 correlation_id = 2;
inline void VehicleMessageHeading::clear_correlation_id() {
  _impl_.correlation_id_ = 0;
}
inline ::int32_t VehicleMessageHeading::correlation_id() const {
  // @@protoc_insertion_point(field_get:messages.VehicleMessageHeading.correlation_id)
  return _internal_correlation_id();
}
inline void VehicleMessageHeading::set_correlation_id(::int32_t value) {
  _internal_set_correlation_id(value);
  // @@protoc_insertion_point(field_set:messages.VehicleMessageHeading.correlation_id)
}
inline ::int32_t VehicleMessageHeading::_internal_correlation_id() const {
  return _impl_.correlation_id_;
}
inline void VehicleMessageHeading::_internal_set_correlation_id(::int32_t value) {
  ;
  _impl_.correlation_id_ = value;
}

// .vss.VehicleVehicleIdentification vehicle_identity = 3;
inline bool VehicleMessageHeading::_internal_has_vehicle_identity() const {
  return this != internal_default_instance() && _impl_.vehicle_identity_ != nullptr;
}
inline bool VehicleMessageHeading::has_vehicle_identity() const {
  return _internal_has_vehicle_identity();
}
inline const ::vss::VehicleVehicleIdentification& VehicleMessageHeading::_internal_vehicle_identity() const {
  const ::vss::VehicleVehicleIdentification* p = _impl_.vehicle_identity_;
  return p != nullptr ? *p : reinterpret_cast<const ::vss::VehicleVehicleIdentification&>(
      ::vss::_VehicleVehicleIdentification_default_instance_);
}
inline const ::vss::VehicleVehicleIdentification& VehicleMessageHeading::vehicle_identity() const {
  // @@protoc_insertion_point(field_get:messages.VehicleMessageHeading.vehicle_identity)
  return _internal_vehicle_identity();
}
inline void VehicleMessageHeading::unsafe_arena_set_allocated_vehicle_identity(
    ::vss::VehicleVehicleIdentification* vehicle_identity) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.vehicle_identity_);
  }
  _impl_.vehicle_identity_ = vehicle_identity;
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:messages.VehicleMessageHeading.vehicle_identity)
}
inline ::vss::VehicleVehicleIdentification* VehicleMessageHeading::release_vehicle_identity() {
  
  ::vss::VehicleVehicleIdentification* temp = _impl_.vehicle_identity_;
  _impl_.vehicle_identity_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  if (GetArenaForAllocation() == nullptr) { delete old; }
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
  if (GetArenaForAllocation() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
  return temp;
}
inline ::vss::VehicleVehicleIdentification* VehicleMessageHeading::unsafe_arena_release_vehicle_identity() {
  // @@protoc_insertion_point(field_release:messages.VehicleMessageHeading.vehicle_identity)
  
  ::vss::VehicleVehicleIdentification* temp = _impl_.vehicle_identity_;
  _impl_.vehicle_identity_ = nullptr;
  return temp;
}
inline ::vss::VehicleVehicleIdentification* VehicleMessageHeading::_internal_mutable_vehicle_identity() {
  
  if (_impl_.vehicle_identity_ == nullptr) {
    auto* p = CreateMaybeMessage<::vss::VehicleVehicleIdentification>(GetArenaForAllocation());
    _impl_.vehicle_identity_ = p;
  }
  return _impl_.vehicle_identity_;
}
inline ::vss::VehicleVehicleIdentification* VehicleMessageHeading::mutable_vehicle_identity() {
  ::vss::VehicleVehicleIdentification* _msg = _internal_mutable_vehicle_identity();
  // @@protoc_insertion_point(field_mutable:messages.VehicleMessageHeading.vehicle_identity)
  return _msg;
}
inline void VehicleMessageHeading::set_allocated_vehicle_identity(::vss::VehicleVehicleIdentification* vehicle_identity) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.vehicle_identity_);
  }
  if (vehicle_identity) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
        ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
                reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(vehicle_identity));
    if (message_arena != submessage_arena) {
      vehicle_identity = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, vehicle_identity, submessage_arena);
    }

  } else {

  }
  _impl_.vehicle_identity_ = vehicle_identity;
  // @@protoc_insertion_point(field_set_allocated:messages.VehicleMessageHeading.vehicle_identity)
}

// string vehicle_device_id = 7;
inline void VehicleMessageHeading::clear_vehicle_device_id() {
  _impl_.vehicle_device_id_.ClearToEmpty();
}
inline const std::string& VehicleMessageHeading::vehicle_device_id() const {
  // @@protoc_insertion_point(field_get:messages.VehicleMessageHeading.vehicle_device_id)
  return _internal_vehicle_device_id();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void VehicleMessageHeading::set_vehicle_device_id(Arg_&& arg,
                                                     Args_... args) {
  ;
  _impl_.vehicle_device_id_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:messages.VehicleMessageHeading.vehicle_device_id)
}
inline std::string* VehicleMessageHeading::mutable_vehicle_device_id() {
  std::string* _s = _internal_mutable_vehicle_device_id();
  // @@protoc_insertion_point(field_mutable:messages.VehicleMessageHeading.vehicle_device_id)
  return _s;
}
inline const std::string& VehicleMessageHeading::_internal_vehicle_device_id() const {
  return _impl_.vehicle_device_id_.Get();
}
inline void VehicleMessageHeading::_internal_set_vehicle_device_id(const std::string& value) {
  ;


  _impl_.vehicle_device_id_.Set(value, GetArenaForAllocation());
}
inline std::string* VehicleMessageHeading::_internal_mutable_vehicle_device_id() {
  ;
  return _impl_.vehicle_device_id_.Mutable( GetArenaForAllocation());
}
inline std::string* VehicleMessageHeading::release_vehicle_device_id() {
  // @@protoc_insertion_point(field_release:messages.VehicleMessageHeading.vehicle_device_id)
  return _impl_.vehicle_device_id_.Release();
}
inline void VehicleMessageHeading::set_allocated_vehicle_device_id(std::string* value) {
  _impl_.vehicle_device_id_.SetAllocated(value, GetArenaForAllocation());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.vehicle_device_id_.IsDefault()) {
          _impl_.vehicle_device_id_.Set("", GetArenaForAllocation());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:messages.VehicleMessageHeading.vehicle_device_id)
}

// int64 message_timestamp = 4;
inline void VehicleMessageHeading::clear_message_timestamp() {
  _impl_.message_timestamp_ = ::int64_t{0};
}
inline ::int64_t VehicleMessageHeading::message_timestamp() const {
  // @@protoc_insertion_point(field_get:messages.VehicleMessageHeading.message_timestamp)
  return _internal_message_timestamp();
}
inline void VehicleMessageHeading::set_message_timestamp(::int64_t value) {
  _internal_set_message_timestamp(value);
  // @@protoc_insertion_point(field_set:messages.VehicleMessageHeading.message_timestamp)
}
inline ::int64_t VehicleMessageHeading::_internal_message_timestamp() const {
  return _impl_.message_timestamp_;
}
inline void VehicleMessageHeading::_internal_set_message_timestamp(::int64_t value) {
  ;
  _impl_.message_timestamp_ = value;
}

// double protocol_version = 5;
inline void VehicleMessageHeading::clear_protocol_version() {
  _impl_.protocol_version_ = 0;
}
inline double VehicleMessageHeading::protocol_version() const {
  // @@protoc_insertion_point(field_get:messages.VehicleMessageHeading.protocol_version)
  return _internal_protocol_version();
}
inline void VehicleMessageHeading::set_protocol_version(double value) {
  _internal_set_protocol_version(value);
  // @@protoc_insertion_point(field_set:messages.VehicleMessageHeading.protocol_version)
}
inline double VehicleMessageHeading::_internal_protocol_version() const {
  return _impl_.protocol_version_;
}
inline void VehicleMessageHeading::_internal_set_protocol_version(double value) {
  ;
  _impl_.protocol_version_ = value;
}

// .messages.lat_long location = 6;
inline bool VehicleMessageHeading::_internal_has_location() const {
  return this != internal_default_instance() && _impl_.location_ != nullptr;
}
inline bool VehicleMessageHeading::has_location() const {
  return _internal_has_location();
}
inline void VehicleMessageHeading::clear_location() {
  if (GetArenaForAllocation() == nullptr && _impl_.location_ != nullptr) {
    delete _impl_.location_;
  }
  _impl_.location_ = nullptr;
}
inline const ::messages::lat_long& VehicleMessageHeading::_internal_location() const {
  const ::messages::lat_long* p = _impl_.location_;
  return p != nullptr ? *p : reinterpret_cast<const ::messages::lat_long&>(
      ::messages::_lat_long_default_instance_);
}
inline const ::messages::lat_long& VehicleMessageHeading::location() const {
  // @@protoc_insertion_point(field_get:messages.VehicleMessageHeading.location)
  return _internal_location();
}
inline void VehicleMessageHeading::unsafe_arena_set_allocated_location(
    ::messages::lat_long* location) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_);
  }
  _impl_.location_ = location;
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:messages.VehicleMessageHeading.location)
}
inline ::messages::lat_long* VehicleMessageHeading::release_location() {
  
  ::messages::lat_long* temp = _impl_.location_;
  _impl_.location_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  if (GetArenaForAllocation() == nullptr) { delete old; }
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
  if (GetArenaForAllocation() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
  return temp;
}
inline ::messages::lat_long* VehicleMessageHeading::unsafe_arena_release_location() {
  // @@protoc_insertion_point(field_release:messages.VehicleMessageHeading.location)
  
  ::messages::lat_long* temp = _impl_.location_;
  _impl_.location_ = nullptr;
  return temp;
}
inline ::messages::lat_long* VehicleMessageHeading::_internal_mutable_location() {
  
  if (_impl_.location_ == nullptr) {
    auto* p = CreateMaybeMessage<::messages::lat_long>(GetArenaForAllocation());
    _impl_.location_ = p;
  }
  return _impl_.location_;
}
inline ::messages::lat_long* VehicleMessageHeading::mutable_location() {
  ::messages::lat_long* _msg = _internal_mutable_location();
  // @@protoc_insertion_point(field_mutable:messages.VehicleMessageHeading.location)
  return _msg;
}
inline void VehicleMessageHeading::set_allocated_location(::messages::lat_long* location) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete _impl_.location_;
  }
  if (location) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
        ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(location);
    if (message_arena != submessage_arena) {
      location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, location, submessage_arena);
    }

  } else {

  }
  _impl_.location_ = location;
  // @@protoc_insertion_point(field_set_allocated:messages.VehicleMessageHeading.location)
}

// -------------------------------------------------------------------

// lat_long

// double latitude = 1;
inline void lat_long::clear_latitude() {
  _impl_.latitude_ = 0;
}
inline double lat_long::latitude() const {
  // @@protoc_insertion_point(field_get:messages.lat_long.latitude)
  return _internal_latitude();
}
inline void lat_long::set_latitude(double value) {
  _internal_set_latitude(value);
  // @@protoc_insertion_point(field_set:messages.lat_long.latitude)
}
inline double lat_long::_internal_latitude() const {
  return _impl_.latitude_;
}
inline void lat_long::_internal_set_latitude(double value) {
  ;
  _impl_.latitude_ = value;
}

// double longitude = 2;
inline void lat_long::clear_longitude() {
  _impl_.longitude_ = 0;
}
inline double lat_long::longitude() const {
  // @@protoc_insertion_point(field_get:messages.lat_long.longitude)
  return _internal_longitude();
}
inline void lat_long::set_longitude(double value) {
  _internal_set_longitude(value);
  // @@protoc_insertion_point(field_set:messages.lat_long.longitude)
}
inline double lat_long::_internal_longitude() const {
  return _impl_.longitude_;
}
inline void lat_long::_internal_set_longitude(double value) {
  ;
  _impl_.longitude_ = value;
}

#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif  // __GNUC__

// @@protoc_insertion_point(namespace_scope)
}  // namespace messages


// @@protoc_insertion_point(global_scope)

#include "google/protobuf/port_undef.inc"

#endif  // GOOGLE_PROTOBUF_INCLUDED_messages_2fVehicleMessageHeader_2eproto_2epb_2eh