File size: 27,271 Bytes
053b80b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: Frame.proto

#ifndef PROTOBUF_Frame_2eproto__INCLUDED
#define PROTOBUF_Frame_2eproto__INCLUDED

#include <string>

#include <google/protobuf/stubs/common.h>

#if GOOGLE_PROTOBUF_VERSION < 3005000
#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
#if 3005001 < GOOGLE_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

#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata.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/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
#include "Errors.pb.h"  // IWYU pragma: export
// @@protoc_insertion_point(includes)

namespace protobuf_Frame_2eproto {
// Internal implementation detail -- do not use these members.
struct TableStruct {
  static const ::google::protobuf::internal::ParseTableField entries[];
  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  static const ::google::protobuf::internal::ParseTable schema[3];
  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  static const ::google::protobuf::internal::SerializationTable serialization_table[];
  static const ::google::protobuf::uint32 offsets[];
};
void AddDescriptors();
void InitDefaultsFrameImpl();
void InitDefaultsFrame();
void InitDefaultsHeaderImpl();
void InitDefaultsHeader();
void InitDefaultsErrorImpl();
void InitDefaultsError();
inline void InitDefaults() {
  InitDefaultsFrame();
  InitDefaultsHeader();
  InitDefaultsError();
}
}  // namespace protobuf_Frame_2eproto
namespace Kinova {
namespace Api {
class Error;
class ErrorDefaultTypeInternal;
extern ErrorDefaultTypeInternal _Error_default_instance_;
class Frame;
class FrameDefaultTypeInternal;
extern FrameDefaultTypeInternal _Frame_default_instance_;
class Header;
class HeaderDefaultTypeInternal;
extern HeaderDefaultTypeInternal _Header_default_instance_;
}  // namespace Api
}  // namespace Kinova
namespace Kinova {
namespace Api {

enum HeaderVersion {
  RESERVED_0 = 0,
  CURRENT_VERSION = 1,
  HeaderVersion_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min,
  HeaderVersion_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max
};
bool HeaderVersion_IsValid(int value);
const HeaderVersion HeaderVersion_MIN = RESERVED_0;
const HeaderVersion HeaderVersion_MAX = CURRENT_VERSION;
const int HeaderVersion_ARRAYSIZE = HeaderVersion_MAX + 1;

const ::google::protobuf::EnumDescriptor* HeaderVersion_descriptor();
inline const ::std::string& HeaderVersion_Name(HeaderVersion value) {
  return ::google::protobuf::internal::NameOfEnum(
    HeaderVersion_descriptor(), value);
}
inline bool HeaderVersion_Parse(

    const ::std::string& name, HeaderVersion* value) {
  return ::google::protobuf::internal::ParseNamedEnum<HeaderVersion>(
    HeaderVersion_descriptor(), name, value);
}
enum FrameTypes {
  RESERVED = 0,
  MSG_FRAME_REQUEST = 1,
  MSG_FRAME_RAW = 2,
  MSG_FRAME_RESPONSE = 3,
  MSG_FRAME_NOTIFICATION = 5,
  MSG_FRAME_PING = 7,
  MSG_FRAME_PONG = 8,
  FrameTypes_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min,
  FrameTypes_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max
};
bool FrameTypes_IsValid(int value);
const FrameTypes FrameTypes_MIN = RESERVED;
const FrameTypes FrameTypes_MAX = MSG_FRAME_PONG;
const int FrameTypes_ARRAYSIZE = FrameTypes_MAX + 1;

const ::google::protobuf::EnumDescriptor* FrameTypes_descriptor();
inline const ::std::string& FrameTypes_Name(FrameTypes value) {
  return ::google::protobuf::internal::NameOfEnum(
    FrameTypes_descriptor(), value);
}
inline bool FrameTypes_Parse(

    const ::std::string& name, FrameTypes* value) {
  return ::google::protobuf::internal::ParseNamedEnum<FrameTypes>(
    FrameTypes_descriptor(), name, value);
}
// ===================================================================

class Frame : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Kinova.Api.Frame) */ {
 public:
  Frame();
  virtual ~Frame();

  Frame(const Frame& from);

  inline Frame& operator=(const Frame& from) {
    CopyFrom(from);
    return *this;
  }
  #if LANG_CXX11
  Frame(Frame&& from) noexcept
    : Frame() {
    *this = ::std::move(from);
  }

  inline Frame& operator=(Frame&& from) noexcept {
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }
  #endif
  static const ::google::protobuf::Descriptor* descriptor();
  static const Frame& default_instance();

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const Frame* internal_default_instance() {
    return reinterpret_cast<const Frame*>(
               &_Frame_default_instance_);
  }
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
    0;

  void Swap(Frame* other);
  friend void swap(Frame& a, Frame& b) {
    a.Swap(&b);
  }

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

  inline Frame* New() const PROTOBUF_FINAL { return New(NULL); }

  Frame* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  void CopyFrom(const Frame& from);
  void MergeFrom(const Frame& from);
  void Clear() PROTOBUF_FINAL;
  bool IsInitialized() const PROTOBUF_FINAL;

  size_t ByteSizeLong() const PROTOBUF_FINAL;
  bool MergePartialFromCodedStream(

      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  void SerializeWithCachedSizes(

      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(

      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const PROTOBUF_FINAL;
  void InternalSwap(Frame* other);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return NULL;
  }
  inline void* MaybeArenaPtr() const {
    return NULL;
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;

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

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

  // bytes payload = 2;
  void clear_payload();
  static const int kPayloadFieldNumber = 2;
  const ::std::string& payload() const;
  void set_payload(const ::std::string& value);
  #if LANG_CXX11
  void set_payload(::std::string&& value);
  #endif
  void set_payload(const char* value);
  void set_payload(const void* value, size_t size);
  ::std::string* mutable_payload();
  ::std::string* release_payload();
  void set_allocated_payload(::std::string* payload);

  // .Kinova.Api.Header header = 1;
  bool has_header() const;
  void clear_header();
  static const int kHeaderFieldNumber = 1;
  const ::Kinova::Api::Header& header() const;
  ::Kinova::Api::Header* release_header();
  ::Kinova::Api::Header* mutable_header();
  void set_allocated_header(::Kinova::Api::Header* header);

  // @@protoc_insertion_point(class_scope:Kinova.Api.Frame)
 private:

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::ArenaStringPtr payload_;
  ::Kinova::Api::Header* header_;
  mutable int _cached_size_;
  friend struct ::protobuf_Frame_2eproto::TableStruct;
  friend void ::protobuf_Frame_2eproto::InitDefaultsFrameImpl();
};
// -------------------------------------------------------------------

class Header : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Kinova.Api.Header) */ {
 public:
  Header();
  virtual ~Header();

  Header(const Header& from);

  inline Header& operator=(const Header& from) {
    CopyFrom(from);
    return *this;
  }
  #if LANG_CXX11
  Header(Header&& from) noexcept
    : Header() {
    *this = ::std::move(from);
  }

  inline Header& operator=(Header&& from) noexcept {
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }
  #endif
  static const ::google::protobuf::Descriptor* descriptor();
  static const Header& default_instance();

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const Header* internal_default_instance() {
    return reinterpret_cast<const Header*>(
               &_Header_default_instance_);
  }
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
    1;

  void Swap(Header* other);
  friend void swap(Header& a, Header& b) {
    a.Swap(&b);
  }

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

  inline Header* New() const PROTOBUF_FINAL { return New(NULL); }

  Header* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  void CopyFrom(const Header& from);
  void MergeFrom(const Header& from);
  void Clear() PROTOBUF_FINAL;
  bool IsInitialized() const PROTOBUF_FINAL;

  size_t ByteSizeLong() const PROTOBUF_FINAL;
  bool MergePartialFromCodedStream(

      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  void SerializeWithCachedSizes(

      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(

      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const PROTOBUF_FINAL;
  void InternalSwap(Header* other);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return NULL;
  }
  inline void* MaybeArenaPtr() const {
    return NULL;
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;

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

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

  // fixed32 frame_info = 1;
  void clear_frame_info();
  static const int kFrameInfoFieldNumber = 1;
  ::google::protobuf::uint32 frame_info() const;
  void set_frame_info(::google::protobuf::uint32 value);

  // fixed32 message_info = 2;
  void clear_message_info();
  static const int kMessageInfoFieldNumber = 2;
  ::google::protobuf::uint32 message_info() const;
  void set_message_info(::google::protobuf::uint32 value);

  // fixed32 service_info = 3;
  void clear_service_info();
  static const int kServiceInfoFieldNumber = 3;
  ::google::protobuf::uint32 service_info() const;
  void set_service_info(::google::protobuf::uint32 value);

  // fixed32 payload_info = 4;
  void clear_payload_info();
  static const int kPayloadInfoFieldNumber = 4;
  ::google::protobuf::uint32 payload_info() const;
  void set_payload_info(::google::protobuf::uint32 value);

  // @@protoc_insertion_point(class_scope:Kinova.Api.Header)
 private:

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::uint32 frame_info_;
  ::google::protobuf::uint32 message_info_;
  ::google::protobuf::uint32 service_info_;
  ::google::protobuf::uint32 payload_info_;
  mutable int _cached_size_;
  friend struct ::protobuf_Frame_2eproto::TableStruct;
  friend void ::protobuf_Frame_2eproto::InitDefaultsHeaderImpl();
};
// -------------------------------------------------------------------

class Error : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Kinova.Api.Error) */ {
 public:
  Error();
  virtual ~Error();

  Error(const Error& from);

  inline Error& operator=(const Error& from) {
    CopyFrom(from);
    return *this;
  }
  #if LANG_CXX11
  Error(Error&& from) noexcept
    : Error() {
    *this = ::std::move(from);
  }

  inline Error& operator=(Error&& from) noexcept {
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }
  #endif
  static const ::google::protobuf::Descriptor* descriptor();
  static const Error& default_instance();

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const Error* internal_default_instance() {
    return reinterpret_cast<const Error*>(
               &_Error_default_instance_);
  }
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
    2;

  void Swap(Error* other);
  friend void swap(Error& a, Error& b) {
    a.Swap(&b);
  }

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

  inline Error* New() const PROTOBUF_FINAL { return New(NULL); }

  Error* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  void CopyFrom(const Error& from);
  void MergeFrom(const Error& from);
  void Clear() PROTOBUF_FINAL;
  bool IsInitialized() const PROTOBUF_FINAL;

  size_t ByteSizeLong() const PROTOBUF_FINAL;
  bool MergePartialFromCodedStream(

      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  void SerializeWithCachedSizes(

      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(

      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const PROTOBUF_FINAL;
  void InternalSwap(Error* other);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return NULL;
  }
  inline void* MaybeArenaPtr() const {
    return NULL;
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;

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

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

  // string error_sub_string = 3;
  void clear_error_sub_string();
  static const int kErrorSubStringFieldNumber = 3;
  const ::std::string& error_sub_string() const;
  void set_error_sub_string(const ::std::string& value);
  #if LANG_CXX11
  void set_error_sub_string(::std::string&& value);
  #endif
  void set_error_sub_string(const char* value);
  void set_error_sub_string(const char* value, size_t size);
  ::std::string* mutable_error_sub_string();
  ::std::string* release_error_sub_string();
  void set_allocated_error_sub_string(::std::string* error_sub_string);

  // .Kinova.Api.ErrorCodes error_code = 1;
  void clear_error_code();
  static const int kErrorCodeFieldNumber = 1;
  ::Kinova::Api::ErrorCodes error_code() const;
  void set_error_code(::Kinova::Api::ErrorCodes value);

  // uint32 error_sub_code = 2;
  void clear_error_sub_code();
  static const int kErrorSubCodeFieldNumber = 2;
  ::google::protobuf::uint32 error_sub_code() const;
  void set_error_sub_code(::google::protobuf::uint32 value);

  // @@protoc_insertion_point(class_scope:Kinova.Api.Error)
 private:

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::ArenaStringPtr error_sub_string_;
  int error_code_;
  ::google::protobuf::uint32 error_sub_code_;
  mutable int _cached_size_;
  friend struct ::protobuf_Frame_2eproto::TableStruct;
  friend void ::protobuf_Frame_2eproto::InitDefaultsErrorImpl();
};
// ===================================================================


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

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

// .Kinova.Api.Header header = 1;
inline bool Frame::has_header() const {
  return this != internal_default_instance() && header_ != NULL;
}
inline void Frame::clear_header() {
  if (GetArenaNoVirtual() == NULL && header_ != NULL) {
    delete header_;
  }
  header_ = NULL;
}
inline const ::Kinova::Api::Header& Frame::header() const {
  const ::Kinova::Api::Header* p = header_;
  // @@protoc_insertion_point(field_get:Kinova.Api.Frame.header)
  return p != NULL ? *p : *reinterpret_cast<const ::Kinova::Api::Header*>(
      &::Kinova::Api::_Header_default_instance_);
}
inline ::Kinova::Api::Header* Frame::release_header() {
  // @@protoc_insertion_point(field_release:Kinova.Api.Frame.header)
  
  ::Kinova::Api::Header* temp = header_;
  header_ = NULL;
  return temp;
}
inline ::Kinova::Api::Header* Frame::mutable_header() {
  
  if (header_ == NULL) {
    header_ = new ::Kinova::Api::Header;
  }
  // @@protoc_insertion_point(field_mutable:Kinova.Api.Frame.header)
  return header_;
}
inline void Frame::set_allocated_header(::Kinova::Api::Header* header) {
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == NULL) {
    delete header_;
  }
  if (header) {
    ::google::protobuf::Arena* submessage_arena = NULL;
    if (message_arena != submessage_arena) {
      header = ::google::protobuf::internal::GetOwnedMessage(
          message_arena, header, submessage_arena);
    }
    
  } else {
    
  }
  header_ = header;
  // @@protoc_insertion_point(field_set_allocated:Kinova.Api.Frame.header)
}

// bytes payload = 2;
inline void Frame::clear_payload() {
  payload_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& Frame::payload() const {
  // @@protoc_insertion_point(field_get:Kinova.Api.Frame.payload)
  return payload_.GetNoArena();
}
inline void Frame::set_payload(const ::std::string& value) {
  
  payload_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:Kinova.Api.Frame.payload)
}
#if LANG_CXX11
inline void Frame::set_payload(::std::string&& value) {
  
  payload_.SetNoArena(
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:Kinova.Api.Frame.payload)
}
#endif
inline void Frame::set_payload(const char* value) {
  GOOGLE_DCHECK(value != NULL);
  
  payload_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:Kinova.Api.Frame.payload)
}
inline void Frame::set_payload(const void* value, size_t size) {
  
  payload_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:Kinova.Api.Frame.payload)
}
inline ::std::string* Frame::mutable_payload() {
  
  // @@protoc_insertion_point(field_mutable:Kinova.Api.Frame.payload)
  return payload_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* Frame::release_payload() {
  // @@protoc_insertion_point(field_release:Kinova.Api.Frame.payload)
  
  return payload_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void Frame::set_allocated_payload(::std::string* payload) {
  if (payload != NULL) {
    
  } else {
    
  }
  payload_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), payload);
  // @@protoc_insertion_point(field_set_allocated:Kinova.Api.Frame.payload)
}

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

// Header

// fixed32 frame_info = 1;
inline void Header::clear_frame_info() {
  frame_info_ = 0u;
}
inline ::google::protobuf::uint32 Header::frame_info() const {
  // @@protoc_insertion_point(field_get:Kinova.Api.Header.frame_info)
  return frame_info_;
}
inline void Header::set_frame_info(::google::protobuf::uint32 value) {
  
  frame_info_ = value;
  // @@protoc_insertion_point(field_set:Kinova.Api.Header.frame_info)
}

// fixed32 message_info = 2;
inline void Header::clear_message_info() {
  message_info_ = 0u;
}
inline ::google::protobuf::uint32 Header::message_info() const {
  // @@protoc_insertion_point(field_get:Kinova.Api.Header.message_info)
  return message_info_;
}
inline void Header::set_message_info(::google::protobuf::uint32 value) {
  
  message_info_ = value;
  // @@protoc_insertion_point(field_set:Kinova.Api.Header.message_info)
}

// fixed32 service_info = 3;
inline void Header::clear_service_info() {
  service_info_ = 0u;
}
inline ::google::protobuf::uint32 Header::service_info() const {
  // @@protoc_insertion_point(field_get:Kinova.Api.Header.service_info)
  return service_info_;
}
inline void Header::set_service_info(::google::protobuf::uint32 value) {
  
  service_info_ = value;
  // @@protoc_insertion_point(field_set:Kinova.Api.Header.service_info)
}

// fixed32 payload_info = 4;
inline void Header::clear_payload_info() {
  payload_info_ = 0u;
}
inline ::google::protobuf::uint32 Header::payload_info() const {
  // @@protoc_insertion_point(field_get:Kinova.Api.Header.payload_info)
  return payload_info_;
}
inline void Header::set_payload_info(::google::protobuf::uint32 value) {
  
  payload_info_ = value;
  // @@protoc_insertion_point(field_set:Kinova.Api.Header.payload_info)
}

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

// Error

// .Kinova.Api.ErrorCodes error_code = 1;
inline void Error::clear_error_code() {
  error_code_ = 0;
}
inline ::Kinova::Api::ErrorCodes Error::error_code() const {
  // @@protoc_insertion_point(field_get:Kinova.Api.Error.error_code)
  return static_cast< ::Kinova::Api::ErrorCodes >(error_code_);
}
inline void Error::set_error_code(::Kinova::Api::ErrorCodes value) {
  
  error_code_ = value;
  // @@protoc_insertion_point(field_set:Kinova.Api.Error.error_code)
}

// uint32 error_sub_code = 2;
inline void Error::clear_error_sub_code() {
  error_sub_code_ = 0u;
}
inline ::google::protobuf::uint32 Error::error_sub_code() const {
  // @@protoc_insertion_point(field_get:Kinova.Api.Error.error_sub_code)
  return error_sub_code_;
}
inline void Error::set_error_sub_code(::google::protobuf::uint32 value) {
  
  error_sub_code_ = value;
  // @@protoc_insertion_point(field_set:Kinova.Api.Error.error_sub_code)
}

// string error_sub_string = 3;
inline void Error::clear_error_sub_string() {
  error_sub_string_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& Error::error_sub_string() const {
  // @@protoc_insertion_point(field_get:Kinova.Api.Error.error_sub_string)
  return error_sub_string_.GetNoArena();
}
inline void Error::set_error_sub_string(const ::std::string& value) {
  
  error_sub_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:Kinova.Api.Error.error_sub_string)
}
#if LANG_CXX11
inline void Error::set_error_sub_string(::std::string&& value) {
  
  error_sub_string_.SetNoArena(
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:Kinova.Api.Error.error_sub_string)
}
#endif
inline void Error::set_error_sub_string(const char* value) {
  GOOGLE_DCHECK(value != NULL);
  
  error_sub_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:Kinova.Api.Error.error_sub_string)
}
inline void Error::set_error_sub_string(const char* value, size_t size) {
  
  error_sub_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:Kinova.Api.Error.error_sub_string)
}
inline ::std::string* Error::mutable_error_sub_string() {
  
  // @@protoc_insertion_point(field_mutable:Kinova.Api.Error.error_sub_string)
  return error_sub_string_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* Error::release_error_sub_string() {
  // @@protoc_insertion_point(field_release:Kinova.Api.Error.error_sub_string)
  
  return error_sub_string_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void Error::set_allocated_error_sub_string(::std::string* error_sub_string) {
  if (error_sub_string != NULL) {
    
  } else {
    
  }
  error_sub_string_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error_sub_string);
  // @@protoc_insertion_point(field_set_allocated:Kinova.Api.Error.error_sub_string)
}

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

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


// @@protoc_insertion_point(namespace_scope)

}  // namespace Api
}  // namespace Kinova

namespace google {
namespace protobuf {

template <> struct is_proto_enum< ::Kinova::Api::HeaderVersion> : ::google::protobuf::internal::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::Kinova::Api::HeaderVersion>() {
  return ::Kinova::Api::HeaderVersion_descriptor();
}
template <> struct is_proto_enum< ::Kinova::Api::FrameTypes> : ::google::protobuf::internal::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::Kinova::Api::FrameTypes>() {
  return ::Kinova::Api::FrameTypes_descriptor();
}

}  // namespace protobuf
}  // namespace google

// @@protoc_insertion_point(global_scope)

#endif  // PROTOBUF_Frame_2eproto__INCLUDED