Coverage Report

Created: 2025-07-12 06:33

/src/mosh/src/protobufs/hostinput.pb.cc
Line
Count
Source (jump to first uncovered line)
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: hostinput.proto
3
4
#include "hostinput.pb.h"
5
6
#include <algorithm>
7
8
#include <google/protobuf/stubs/common.h>
9
#include <google/protobuf/stubs/port.h>
10
#include <google/protobuf/io/coded_stream.h>
11
#include <google/protobuf/wire_format_lite_inl.h>
12
#include <google/protobuf/io/zero_copy_stream_impl_lite.h>
13
// This is a temporary google only hack
14
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
15
#include "third_party/protobuf/version.h"
16
#endif
17
// @@protoc_insertion_point(includes)
18
19
namespace protobuf_hostinput_2eproto {
20
extern PROTOBUF_INTERNAL_EXPORT_protobuf_hostinput_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_EchoAck;
21
extern PROTOBUF_INTERNAL_EXPORT_protobuf_hostinput_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_HostBytes;
22
extern PROTOBUF_INTERNAL_EXPORT_protobuf_hostinput_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Instruction;
23
extern PROTOBUF_INTERNAL_EXPORT_protobuf_hostinput_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ResizeMessage;
24
}  // namespace protobuf_hostinput_2eproto
25
namespace HostBuffers {
26
class HostMessageDefaultTypeInternal {
27
 public:
28
  ::google::protobuf::internal::ExplicitlyConstructed<HostMessage>
29
      _instance;
30
} _HostMessage_default_instance_;
31
class InstructionDefaultTypeInternal {
32
 public:
33
  ::google::protobuf::internal::ExplicitlyConstructed<Instruction>
34
      _instance;
35
} _Instruction_default_instance_;
36
class HostBytesDefaultTypeInternal {
37
 public:
38
  ::google::protobuf::internal::ExplicitlyConstructed<HostBytes>
39
      _instance;
40
} _HostBytes_default_instance_;
41
class ResizeMessageDefaultTypeInternal {
42
 public:
43
  ::google::protobuf::internal::ExplicitlyConstructed<ResizeMessage>
44
      _instance;
45
} _ResizeMessage_default_instance_;
46
class EchoAckDefaultTypeInternal {
47
 public:
48
  ::google::protobuf::internal::ExplicitlyConstructed<EchoAck>
49
      _instance;
50
} _EchoAck_default_instance_;
51
}  // namespace HostBuffers
52
namespace protobuf_hostinput_2eproto {
53
0
static void InitDefaultsHostMessage() {
54
0
  GOOGLE_PROTOBUF_VERIFY_VERSION;
55
56
0
  {
57
0
    void* ptr = &::HostBuffers::_HostMessage_default_instance_;
58
0
    new (ptr) ::HostBuffers::HostMessage();
59
0
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
60
0
  }
61
0
  ::HostBuffers::HostMessage::InitAsDefaultInstance();
62
0
}
63
64
::google::protobuf::internal::SCCInfo<1> scc_info_HostMessage =
65
    {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsHostMessage}, {
66
      &protobuf_hostinput_2eproto::scc_info_Instruction.base,}};
67
68
2
static void InitDefaultsInstruction() {
69
2
  GOOGLE_PROTOBUF_VERIFY_VERSION;
70
71
2
  {
72
2
    void* ptr = &::HostBuffers::_Instruction_default_instance_;
73
2
    new (ptr) ::HostBuffers::Instruction();
74
2
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
75
2
  }
76
2
  ::HostBuffers::Instruction::InitAsDefaultInstance();
77
2
}
78
79
::google::protobuf::internal::SCCInfo<0> scc_info_Instruction =
80
    {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsInstruction}, {}};
81
82
2
static void InitDefaultsHostBytes() {
83
2
  GOOGLE_PROTOBUF_VERIFY_VERSION;
84
85
2
  {
86
2
    void* ptr = &::HostBuffers::_HostBytes_default_instance_;
87
2
    new (ptr) ::HostBuffers::HostBytes();
88
2
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
89
2
  }
90
2
  ::HostBuffers::HostBytes::InitAsDefaultInstance();
91
2
}
92
93
::google::protobuf::internal::SCCInfo<0> scc_info_HostBytes =
94
    {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsHostBytes}, {}};
95
96
2
static void InitDefaultsResizeMessage() {
97
2
  GOOGLE_PROTOBUF_VERIFY_VERSION;
98
99
2
  {
100
2
    void* ptr = &::HostBuffers::_ResizeMessage_default_instance_;
101
2
    new (ptr) ::HostBuffers::ResizeMessage();
102
2
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
103
2
  }
104
2
  ::HostBuffers::ResizeMessage::InitAsDefaultInstance();
105
2
}
106
107
::google::protobuf::internal::SCCInfo<0> scc_info_ResizeMessage =
108
    {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsResizeMessage}, {}};
109
110
2
static void InitDefaultsEchoAck() {
111
2
  GOOGLE_PROTOBUF_VERIFY_VERSION;
112
113
2
  {
114
2
    void* ptr = &::HostBuffers::_EchoAck_default_instance_;
115
2
    new (ptr) ::HostBuffers::EchoAck();
116
2
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
117
2
  }
118
2
  ::HostBuffers::EchoAck::InitAsDefaultInstance();
119
2
}
120
121
::google::protobuf::internal::SCCInfo<0> scc_info_EchoAck =
122
    {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsEchoAck}, {}};
123
124
0
void InitDefaults() {
125
0
  ::google::protobuf::internal::InitSCC(&scc_info_HostMessage.base);
126
0
  ::google::protobuf::internal::InitSCC(&scc_info_Instruction.base);
127
0
  ::google::protobuf::internal::InitSCC(&scc_info_HostBytes.base);
128
0
  ::google::protobuf::internal::InitSCC(&scc_info_ResizeMessage.base);
129
0
  ::google::protobuf::internal::InitSCC(&scc_info_EchoAck.base);
130
0
}
131
132
}  // namespace protobuf_hostinput_2eproto
133
namespace HostBuffers {
134
135
// ===================================================================
136
137
0
void HostMessage::InitAsDefaultInstance() {
138
0
}
139
#if !defined(_MSC_VER) || _MSC_VER >= 1900
140
const int HostMessage::kInstructionFieldNumber;
141
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
142
143
HostMessage::HostMessage()
144
0
  : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) {
145
0
  ::google::protobuf::internal::InitSCC(
146
0
      &protobuf_hostinput_2eproto::scc_info_HostMessage.base);
147
0
  SharedCtor();
148
  // @@protoc_insertion_point(constructor:HostBuffers.HostMessage)
149
0
}
150
HostMessage::HostMessage(const HostMessage& from)
151
0
  : ::google::protobuf::MessageLite(),
152
0
      _internal_metadata_(NULL),
153
0
      _has_bits_(from._has_bits_),
154
0
      instruction_(from.instruction_) {
155
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
156
  // @@protoc_insertion_point(copy_constructor:HostBuffers.HostMessage)
157
0
}
158
159
0
void HostMessage::SharedCtor() {
160
0
}
161
162
0
HostMessage::~HostMessage() {
163
  // @@protoc_insertion_point(destructor:HostBuffers.HostMessage)
164
0
  SharedDtor();
165
0
}
166
167
0
void HostMessage::SharedDtor() {
168
0
}
169
170
0
void HostMessage::SetCachedSize(int size) const {
171
0
  _cached_size_.Set(size);
172
0
}
173
0
const HostMessage& HostMessage::default_instance() {
174
0
  ::google::protobuf::internal::InitSCC(&protobuf_hostinput_2eproto::scc_info_HostMessage.base);
175
0
  return *internal_default_instance();
176
0
}
177
178
179
0
void HostMessage::Clear() {
180
// @@protoc_insertion_point(message_clear_start:HostBuffers.HostMessage)
181
0
  ::google::protobuf::uint32 cached_has_bits = 0;
182
  // Prevent compiler warnings about cached_has_bits being unused
183
0
  (void) cached_has_bits;
184
185
0
  instruction_.Clear();
186
0
  _has_bits_.Clear();
187
0
  _internal_metadata_.Clear();
188
0
}
189
190
bool HostMessage::MergePartialFromCodedStream(
191
0
    ::google::protobuf::io::CodedInputStream* input) {
192
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
193
0
  ::google::protobuf::uint32 tag;
194
0
  ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter(
195
0
      &_internal_metadata_);
196
0
  ::google::protobuf::io::StringOutputStream unknown_fields_output(
197
0
      unknown_fields_setter.buffer());
198
0
  ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
199
0
      &unknown_fields_output, false);
200
  // @@protoc_insertion_point(parse_start:HostBuffers.HostMessage)
201
0
  for (;;) {
202
0
    ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
203
0
    tag = p.first;
204
0
    if (!p.second) goto handle_unusual;
205
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
206
      // repeated .HostBuffers.Instruction instruction = 1;
207
0
      case 1: {
208
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
209
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
210
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
211
0
                input, add_instruction()));
212
0
        } else {
213
0
          goto handle_unusual;
214
0
        }
215
0
        break;
216
0
      }
217
218
0
      default: {
219
0
      handle_unusual:
220
0
        if (tag == 0) {
221
0
          goto success;
222
0
        }
223
0
        DO_(::google::protobuf::internal::WireFormatLite::SkipField(
224
0
            input, tag, &unknown_fields_stream));
225
0
        break;
226
0
      }
227
0
    }
228
0
  }
229
0
success:
230
  // @@protoc_insertion_point(parse_success:HostBuffers.HostMessage)
231
0
  return true;
232
0
failure:
233
  // @@protoc_insertion_point(parse_failure:HostBuffers.HostMessage)
234
0
  return false;
235
0
#undef DO_
236
0
}
237
238
void HostMessage::SerializeWithCachedSizes(
239
0
    ::google::protobuf::io::CodedOutputStream* output) const {
240
  // @@protoc_insertion_point(serialize_start:HostBuffers.HostMessage)
241
0
  ::google::protobuf::uint32 cached_has_bits = 0;
242
0
  (void) cached_has_bits;
243
244
  // repeated .HostBuffers.Instruction instruction = 1;
245
0
  for (unsigned int i = 0,
246
0
      n = static_cast<unsigned int>(this->instruction_size()); i < n; i++) {
247
0
    ::google::protobuf::internal::WireFormatLite::WriteMessage(
248
0
      1,
249
0
      this->instruction(static_cast<int>(i)),
250
0
      output);
251
0
  }
252
253
0
  output->WriteRaw(_internal_metadata_.unknown_fields().data(),
254
0
                   static_cast<int>(_internal_metadata_.unknown_fields().size()));
255
  // @@protoc_insertion_point(serialize_end:HostBuffers.HostMessage)
256
0
}
257
258
0
size_t HostMessage::ByteSizeLong() const {
259
// @@protoc_insertion_point(message_byte_size_start:HostBuffers.HostMessage)
260
0
  size_t total_size = 0;
261
262
0
  total_size += _internal_metadata_.unknown_fields().size();
263
264
  // repeated .HostBuffers.Instruction instruction = 1;
265
0
  {
266
0
    unsigned int count = static_cast<unsigned int>(this->instruction_size());
267
0
    total_size += 1UL * count;
268
0
    for (unsigned int i = 0; i < count; i++) {
269
0
      total_size +=
270
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
271
0
          this->instruction(static_cast<int>(i)));
272
0
    }
273
0
  }
274
275
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
276
0
  SetCachedSize(cached_size);
277
0
  return total_size;
278
0
}
279
280
void HostMessage::CheckTypeAndMergeFrom(
281
0
    const ::google::protobuf::MessageLite& from) {
282
0
  MergeFrom(*::google::protobuf::down_cast<const HostMessage*>(&from));
283
0
}
284
285
0
void HostMessage::MergeFrom(const HostMessage& from) {
286
// @@protoc_insertion_point(class_specific_merge_from_start:HostBuffers.HostMessage)
287
0
  GOOGLE_DCHECK_NE(&from, this);
288
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
289
0
  ::google::protobuf::uint32 cached_has_bits = 0;
290
0
  (void) cached_has_bits;
291
292
0
  instruction_.MergeFrom(from.instruction_);
293
0
}
294
295
0
void HostMessage::CopyFrom(const HostMessage& from) {
296
// @@protoc_insertion_point(class_specific_copy_from_start:HostBuffers.HostMessage)
297
0
  if (&from == this) return;
298
0
  Clear();
299
0
  MergeFrom(from);
300
0
}
301
302
0
bool HostMessage::IsInitialized() const {
303
0
  if (!::google::protobuf::internal::AllAreInitialized(this->instruction())) return false;
304
0
  return true;
305
0
}
306
307
0
void HostMessage::Swap(HostMessage* other) {
308
0
  if (other == this) return;
309
0
  InternalSwap(other);
310
0
}
311
0
void HostMessage::InternalSwap(HostMessage* other) {
312
0
  using std::swap;
313
0
  CastToBase(&instruction_)->InternalSwap(CastToBase(&other->instruction_));
314
0
  swap(_has_bits_[0], other->_has_bits_[0]);
315
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
316
0
}
317
318
0
::std::string HostMessage::GetTypeName() const {
319
0
  return "HostBuffers.HostMessage";
320
0
}
321
322
323
// ===================================================================
324
325
2
void Instruction::InitAsDefaultInstance() {
326
2
}
327
#if !defined(_MSC_VER) || _MSC_VER >= 1900
328
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
329
330
Instruction::Instruction()
331
2
  : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) {
332
2
  ::google::protobuf::internal::InitSCC(
333
2
      &protobuf_hostinput_2eproto::scc_info_Instruction.base);
334
2
  SharedCtor();
335
  // @@protoc_insertion_point(constructor:HostBuffers.Instruction)
336
2
}
337
Instruction::Instruction(const Instruction& from)
338
0
  : ::google::protobuf::MessageLite(),
339
0
      _internal_metadata_(NULL),
340
0
      _has_bits_(from._has_bits_) {
341
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
342
0
  _extensions_.MergeFrom(from._extensions_);
343
  // @@protoc_insertion_point(copy_constructor:HostBuffers.Instruction)
344
0
}
345
346
2
void Instruction::SharedCtor() {
347
2
}
348
349
0
Instruction::~Instruction() {
350
  // @@protoc_insertion_point(destructor:HostBuffers.Instruction)
351
0
  SharedDtor();
352
0
}
353
354
0
void Instruction::SharedDtor() {
355
0
}
356
357
0
void Instruction::SetCachedSize(int size) const {
358
0
  _cached_size_.Set(size);
359
0
}
360
6
const Instruction& Instruction::default_instance() {
361
6
  ::google::protobuf::internal::InitSCC(&protobuf_hostinput_2eproto::scc_info_Instruction.base);
362
6
  return *internal_default_instance();
363
6
}
364
365
366
0
void Instruction::Clear() {
367
// @@protoc_insertion_point(message_clear_start:HostBuffers.Instruction)
368
0
  ::google::protobuf::uint32 cached_has_bits = 0;
369
  // Prevent compiler warnings about cached_has_bits being unused
370
0
  (void) cached_has_bits;
371
372
0
  _extensions_.Clear();
373
0
  _has_bits_.Clear();
374
0
  _internal_metadata_.Clear();
375
0
}
376
377
bool Instruction::MergePartialFromCodedStream(
378
0
    ::google::protobuf::io::CodedInputStream* input) {
379
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
380
0
  ::google::protobuf::uint32 tag;
381
0
  ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter(
382
0
      &_internal_metadata_);
383
0
  ::google::protobuf::io::StringOutputStream unknown_fields_output(
384
0
      unknown_fields_setter.buffer());
385
0
  ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
386
0
      &unknown_fields_output, false);
387
  // @@protoc_insertion_point(parse_start:HostBuffers.Instruction)
388
0
  for (;;) {
389
0
    ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
390
0
    tag = p.first;
391
0
    if (!p.second) goto handle_unusual;
392
0
  handle_unusual:
393
0
    if (tag == 0) {
394
0
      goto success;
395
0
    }
396
0
    if ((16u <= tag)) {
397
0
      DO_(_extensions_.ParseField(tag, input,
398
0
          internal_default_instance(),
399
0
          &unknown_fields_stream));
400
0
      continue;
401
0
    }
402
0
    DO_(::google::protobuf::internal::WireFormatLite::SkipField(
403
0
        input, tag, &unknown_fields_stream));
404
0
  }
405
0
success:
406
  // @@protoc_insertion_point(parse_success:HostBuffers.Instruction)
407
0
  return true;
408
0
failure:
409
  // @@protoc_insertion_point(parse_failure:HostBuffers.Instruction)
410
0
  return false;
411
0
#undef DO_
412
0
}
413
414
void Instruction::SerializeWithCachedSizes(
415
0
    ::google::protobuf::io::CodedOutputStream* output) const {
416
  // @@protoc_insertion_point(serialize_start:HostBuffers.Instruction)
417
0
  ::google::protobuf::uint32 cached_has_bits = 0;
418
0
  (void) cached_has_bits;
419
420
  // Extension range [2, 536870912)
421
0
  _extensions_.SerializeWithCachedSizes(
422
0
      2, 536870912, output);
423
424
0
  output->WriteRaw(_internal_metadata_.unknown_fields().data(),
425
0
                   static_cast<int>(_internal_metadata_.unknown_fields().size()));
426
  // @@protoc_insertion_point(serialize_end:HostBuffers.Instruction)
427
0
}
428
429
0
size_t Instruction::ByteSizeLong() const {
430
// @@protoc_insertion_point(message_byte_size_start:HostBuffers.Instruction)
431
0
  size_t total_size = 0;
432
433
0
  total_size += _extensions_.ByteSize();
434
435
0
  total_size += _internal_metadata_.unknown_fields().size();
436
437
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
438
0
  SetCachedSize(cached_size);
439
0
  return total_size;
440
0
}
441
442
void Instruction::CheckTypeAndMergeFrom(
443
0
    const ::google::protobuf::MessageLite& from) {
444
0
  MergeFrom(*::google::protobuf::down_cast<const Instruction*>(&from));
445
0
}
446
447
0
void Instruction::MergeFrom(const Instruction& from) {
448
// @@protoc_insertion_point(class_specific_merge_from_start:HostBuffers.Instruction)
449
0
  GOOGLE_DCHECK_NE(&from, this);
450
0
  _extensions_.MergeFrom(from._extensions_);
451
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
452
0
  ::google::protobuf::uint32 cached_has_bits = 0;
453
0
  (void) cached_has_bits;
454
455
0
}
456
457
0
void Instruction::CopyFrom(const Instruction& from) {
458
// @@protoc_insertion_point(class_specific_copy_from_start:HostBuffers.Instruction)
459
0
  if (&from == this) return;
460
0
  Clear();
461
0
  MergeFrom(from);
462
0
}
463
464
0
bool Instruction::IsInitialized() const {
465
0
  if (!_extensions_.IsInitialized()) {
466
0
    return false;
467
0
  }
468
469
0
  return true;
470
0
}
471
472
0
void Instruction::Swap(Instruction* other) {
473
0
  if (other == this) return;
474
0
  InternalSwap(other);
475
0
}
476
0
void Instruction::InternalSwap(Instruction* other) {
477
0
  using std::swap;
478
0
  swap(_has_bits_[0], other->_has_bits_[0]);
479
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
480
0
  _extensions_.Swap(&other->_extensions_);
481
0
}
482
483
0
::std::string Instruction::GetTypeName() const {
484
0
  return "HostBuffers.Instruction";
485
0
}
486
487
488
// ===================================================================
489
490
2
void HostBytes::InitAsDefaultInstance() {
491
2
}
492
#if !defined(_MSC_VER) || _MSC_VER >= 1900
493
const int HostBytes::kHoststringFieldNumber;
494
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
495
496
HostBytes::HostBytes()
497
2
  : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) {
498
2
  ::google::protobuf::internal::InitSCC(
499
2
      &protobuf_hostinput_2eproto::scc_info_HostBytes.base);
500
2
  SharedCtor();
501
  // @@protoc_insertion_point(constructor:HostBuffers.HostBytes)
502
2
}
503
HostBytes::HostBytes(const HostBytes& from)
504
0
  : ::google::protobuf::MessageLite(),
505
0
      _internal_metadata_(NULL),
506
0
      _has_bits_(from._has_bits_) {
507
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
508
0
  hoststring_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
509
0
  if (from.has_hoststring()) {
510
0
    hoststring_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.hoststring_);
511
0
  }
512
  // @@protoc_insertion_point(copy_constructor:HostBuffers.HostBytes)
513
0
}
514
515
2
void HostBytes::SharedCtor() {
516
2
  hoststring_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
517
2
}
518
519
0
HostBytes::~HostBytes() {
520
  // @@protoc_insertion_point(destructor:HostBuffers.HostBytes)
521
0
  SharedDtor();
522
0
}
523
524
0
void HostBytes::SharedDtor() {
525
0
  hoststring_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
526
0
}
527
528
0
void HostBytes::SetCachedSize(int size) const {
529
0
  _cached_size_.Set(size);
530
0
}
531
2
const HostBytes& HostBytes::default_instance() {
532
2
  ::google::protobuf::internal::InitSCC(&protobuf_hostinput_2eproto::scc_info_HostBytes.base);
533
2
  return *internal_default_instance();
534
2
}
535
536
537
0
void HostBytes::Clear() {
538
// @@protoc_insertion_point(message_clear_start:HostBuffers.HostBytes)
539
0
  ::google::protobuf::uint32 cached_has_bits = 0;
540
  // Prevent compiler warnings about cached_has_bits being unused
541
0
  (void) cached_has_bits;
542
543
0
  cached_has_bits = _has_bits_[0];
544
0
  if (cached_has_bits & 0x00000001u) {
545
0
    hoststring_.ClearNonDefaultToEmptyNoArena();
546
0
  }
547
0
  _has_bits_.Clear();
548
0
  _internal_metadata_.Clear();
549
0
}
550
551
bool HostBytes::MergePartialFromCodedStream(
552
0
    ::google::protobuf::io::CodedInputStream* input) {
553
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
554
0
  ::google::protobuf::uint32 tag;
555
0
  ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter(
556
0
      &_internal_metadata_);
557
0
  ::google::protobuf::io::StringOutputStream unknown_fields_output(
558
0
      unknown_fields_setter.buffer());
559
0
  ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
560
0
      &unknown_fields_output, false);
561
  // @@protoc_insertion_point(parse_start:HostBuffers.HostBytes)
562
0
  for (;;) {
563
0
    ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
564
0
    tag = p.first;
565
0
    if (!p.second) goto handle_unusual;
566
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
567
      // optional bytes hoststring = 4;
568
0
      case 4: {
569
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
570
0
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
571
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
572
0
                input, this->mutable_hoststring()));
573
0
        } else {
574
0
          goto handle_unusual;
575
0
        }
576
0
        break;
577
0
      }
578
579
0
      default: {
580
0
      handle_unusual:
581
0
        if (tag == 0) {
582
0
          goto success;
583
0
        }
584
0
        DO_(::google::protobuf::internal::WireFormatLite::SkipField(
585
0
            input, tag, &unknown_fields_stream));
586
0
        break;
587
0
      }
588
0
    }
589
0
  }
590
0
success:
591
  // @@protoc_insertion_point(parse_success:HostBuffers.HostBytes)
592
0
  return true;
593
0
failure:
594
  // @@protoc_insertion_point(parse_failure:HostBuffers.HostBytes)
595
0
  return false;
596
0
#undef DO_
597
0
}
598
599
void HostBytes::SerializeWithCachedSizes(
600
0
    ::google::protobuf::io::CodedOutputStream* output) const {
601
  // @@protoc_insertion_point(serialize_start:HostBuffers.HostBytes)
602
0
  ::google::protobuf::uint32 cached_has_bits = 0;
603
0
  (void) cached_has_bits;
604
605
0
  cached_has_bits = _has_bits_[0];
606
  // optional bytes hoststring = 4;
607
0
  if (cached_has_bits & 0x00000001u) {
608
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
609
0
      4, this->hoststring(), output);
610
0
  }
611
612
0
  output->WriteRaw(_internal_metadata_.unknown_fields().data(),
613
0
                   static_cast<int>(_internal_metadata_.unknown_fields().size()));
614
  // @@protoc_insertion_point(serialize_end:HostBuffers.HostBytes)
615
0
}
616
617
0
size_t HostBytes::ByteSizeLong() const {
618
// @@protoc_insertion_point(message_byte_size_start:HostBuffers.HostBytes)
619
0
  size_t total_size = 0;
620
621
0
  total_size += _internal_metadata_.unknown_fields().size();
622
623
  // optional bytes hoststring = 4;
624
0
  if (has_hoststring()) {
625
0
    total_size += 1 +
626
0
      ::google::protobuf::internal::WireFormatLite::BytesSize(
627
0
        this->hoststring());
628
0
  }
629
630
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
631
0
  SetCachedSize(cached_size);
632
0
  return total_size;
633
0
}
634
635
void HostBytes::CheckTypeAndMergeFrom(
636
0
    const ::google::protobuf::MessageLite& from) {
637
0
  MergeFrom(*::google::protobuf::down_cast<const HostBytes*>(&from));
638
0
}
639
640
0
void HostBytes::MergeFrom(const HostBytes& from) {
641
// @@protoc_insertion_point(class_specific_merge_from_start:HostBuffers.HostBytes)
642
0
  GOOGLE_DCHECK_NE(&from, this);
643
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
644
0
  ::google::protobuf::uint32 cached_has_bits = 0;
645
0
  (void) cached_has_bits;
646
647
0
  if (from.has_hoststring()) {
648
0
    set_has_hoststring();
649
0
    hoststring_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.hoststring_);
650
0
  }
651
0
}
652
653
0
void HostBytes::CopyFrom(const HostBytes& from) {
654
// @@protoc_insertion_point(class_specific_copy_from_start:HostBuffers.HostBytes)
655
0
  if (&from == this) return;
656
0
  Clear();
657
0
  MergeFrom(from);
658
0
}
659
660
0
bool HostBytes::IsInitialized() const {
661
0
  return true;
662
0
}
663
664
0
void HostBytes::Swap(HostBytes* other) {
665
0
  if (other == this) return;
666
0
  InternalSwap(other);
667
0
}
668
0
void HostBytes::InternalSwap(HostBytes* other) {
669
0
  using std::swap;
670
0
  hoststring_.Swap(&other->hoststring_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
671
0
    GetArenaNoVirtual());
672
0
  swap(_has_bits_[0], other->_has_bits_[0]);
673
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
674
0
}
675
676
0
::std::string HostBytes::GetTypeName() const {
677
0
  return "HostBuffers.HostBytes";
678
0
}
679
680
681
// ===================================================================
682
683
2
void ResizeMessage::InitAsDefaultInstance() {
684
2
}
685
#if !defined(_MSC_VER) || _MSC_VER >= 1900
686
const int ResizeMessage::kWidthFieldNumber;
687
const int ResizeMessage::kHeightFieldNumber;
688
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
689
690
ResizeMessage::ResizeMessage()
691
2
  : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) {
692
2
  ::google::protobuf::internal::InitSCC(
693
2
      &protobuf_hostinput_2eproto::scc_info_ResizeMessage.base);
694
2
  SharedCtor();
695
  // @@protoc_insertion_point(constructor:HostBuffers.ResizeMessage)
696
2
}
697
ResizeMessage::ResizeMessage(const ResizeMessage& from)
698
0
  : ::google::protobuf::MessageLite(),
699
0
      _internal_metadata_(NULL),
700
0
      _has_bits_(from._has_bits_) {
701
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
702
0
  ::memcpy(&width_, &from.width_,
703
0
    static_cast<size_t>(reinterpret_cast<char*>(&height_) -
704
0
    reinterpret_cast<char*>(&width_)) + sizeof(height_));
705
  // @@protoc_insertion_point(copy_constructor:HostBuffers.ResizeMessage)
706
0
}
707
708
2
void ResizeMessage::SharedCtor() {
709
2
  ::memset(&width_, 0, static_cast<size_t>(
710
2
      reinterpret_cast<char*>(&height_) -
711
2
      reinterpret_cast<char*>(&width_)) + sizeof(height_));
712
2
}
713
714
0
ResizeMessage::~ResizeMessage() {
715
  // @@protoc_insertion_point(destructor:HostBuffers.ResizeMessage)
716
0
  SharedDtor();
717
0
}
718
719
0
void ResizeMessage::SharedDtor() {
720
0
}
721
722
0
void ResizeMessage::SetCachedSize(int size) const {
723
0
  _cached_size_.Set(size);
724
0
}
725
2
const ResizeMessage& ResizeMessage::default_instance() {
726
2
  ::google::protobuf::internal::InitSCC(&protobuf_hostinput_2eproto::scc_info_ResizeMessage.base);
727
2
  return *internal_default_instance();
728
2
}
729
730
731
0
void ResizeMessage::Clear() {
732
// @@protoc_insertion_point(message_clear_start:HostBuffers.ResizeMessage)
733
0
  ::google::protobuf::uint32 cached_has_bits = 0;
734
  // Prevent compiler warnings about cached_has_bits being unused
735
0
  (void) cached_has_bits;
736
737
0
  cached_has_bits = _has_bits_[0];
738
0
  if (cached_has_bits & 3u) {
739
0
    ::memset(&width_, 0, static_cast<size_t>(
740
0
        reinterpret_cast<char*>(&height_) -
741
0
        reinterpret_cast<char*>(&width_)) + sizeof(height_));
742
0
  }
743
0
  _has_bits_.Clear();
744
0
  _internal_metadata_.Clear();
745
0
}
746
747
bool ResizeMessage::MergePartialFromCodedStream(
748
0
    ::google::protobuf::io::CodedInputStream* input) {
749
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
750
0
  ::google::protobuf::uint32 tag;
751
0
  ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter(
752
0
      &_internal_metadata_);
753
0
  ::google::protobuf::io::StringOutputStream unknown_fields_output(
754
0
      unknown_fields_setter.buffer());
755
0
  ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
756
0
      &unknown_fields_output, false);
757
  // @@protoc_insertion_point(parse_start:HostBuffers.ResizeMessage)
758
0
  for (;;) {
759
0
    ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
760
0
    tag = p.first;
761
0
    if (!p.second) goto handle_unusual;
762
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
763
      // optional int32 width = 5;
764
0
      case 5: {
765
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
766
0
            static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
767
0
          set_has_width();
768
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
769
0
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
770
0
                 input, &width_)));
771
0
        } else {
772
0
          goto handle_unusual;
773
0
        }
774
0
        break;
775
0
      }
776
777
      // optional int32 height = 6;
778
0
      case 6: {
779
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
780
0
            static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
781
0
          set_has_height();
782
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
783
0
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
784
0
                 input, &height_)));
785
0
        } else {
786
0
          goto handle_unusual;
787
0
        }
788
0
        break;
789
0
      }
790
791
0
      default: {
792
0
      handle_unusual:
793
0
        if (tag == 0) {
794
0
          goto success;
795
0
        }
796
0
        DO_(::google::protobuf::internal::WireFormatLite::SkipField(
797
0
            input, tag, &unknown_fields_stream));
798
0
        break;
799
0
      }
800
0
    }
801
0
  }
802
0
success:
803
  // @@protoc_insertion_point(parse_success:HostBuffers.ResizeMessage)
804
0
  return true;
805
0
failure:
806
  // @@protoc_insertion_point(parse_failure:HostBuffers.ResizeMessage)
807
0
  return false;
808
0
#undef DO_
809
0
}
810
811
void ResizeMessage::SerializeWithCachedSizes(
812
0
    ::google::protobuf::io::CodedOutputStream* output) const {
813
  // @@protoc_insertion_point(serialize_start:HostBuffers.ResizeMessage)
814
0
  ::google::protobuf::uint32 cached_has_bits = 0;
815
0
  (void) cached_has_bits;
816
817
0
  cached_has_bits = _has_bits_[0];
818
  // optional int32 width = 5;
819
0
  if (cached_has_bits & 0x00000001u) {
820
0
    ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->width(), output);
821
0
  }
822
823
  // optional int32 height = 6;
824
0
  if (cached_has_bits & 0x00000002u) {
825
0
    ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->height(), output);
826
0
  }
827
828
0
  output->WriteRaw(_internal_metadata_.unknown_fields().data(),
829
0
                   static_cast<int>(_internal_metadata_.unknown_fields().size()));
830
  // @@protoc_insertion_point(serialize_end:HostBuffers.ResizeMessage)
831
0
}
832
833
0
size_t ResizeMessage::ByteSizeLong() const {
834
// @@protoc_insertion_point(message_byte_size_start:HostBuffers.ResizeMessage)
835
0
  size_t total_size = 0;
836
837
0
  total_size += _internal_metadata_.unknown_fields().size();
838
839
0
  if (_has_bits_[0 / 32] & 3u) {
840
    // optional int32 width = 5;
841
0
    if (has_width()) {
842
0
      total_size += 1 +
843
0
        ::google::protobuf::internal::WireFormatLite::Int32Size(
844
0
          this->width());
845
0
    }
846
847
    // optional int32 height = 6;
848
0
    if (has_height()) {
849
0
      total_size += 1 +
850
0
        ::google::protobuf::internal::WireFormatLite::Int32Size(
851
0
          this->height());
852
0
    }
853
854
0
  }
855
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
856
0
  SetCachedSize(cached_size);
857
0
  return total_size;
858
0
}
859
860
void ResizeMessage::CheckTypeAndMergeFrom(
861
0
    const ::google::protobuf::MessageLite& from) {
862
0
  MergeFrom(*::google::protobuf::down_cast<const ResizeMessage*>(&from));
863
0
}
864
865
0
void ResizeMessage::MergeFrom(const ResizeMessage& from) {
866
// @@protoc_insertion_point(class_specific_merge_from_start:HostBuffers.ResizeMessage)
867
0
  GOOGLE_DCHECK_NE(&from, this);
868
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
869
0
  ::google::protobuf::uint32 cached_has_bits = 0;
870
0
  (void) cached_has_bits;
871
872
0
  cached_has_bits = from._has_bits_[0];
873
0
  if (cached_has_bits & 3u) {
874
0
    if (cached_has_bits & 0x00000001u) {
875
0
      width_ = from.width_;
876
0
    }
877
0
    if (cached_has_bits & 0x00000002u) {
878
0
      height_ = from.height_;
879
0
    }
880
0
    _has_bits_[0] |= cached_has_bits;
881
0
  }
882
0
}
883
884
0
void ResizeMessage::CopyFrom(const ResizeMessage& from) {
885
// @@protoc_insertion_point(class_specific_copy_from_start:HostBuffers.ResizeMessage)
886
0
  if (&from == this) return;
887
0
  Clear();
888
0
  MergeFrom(from);
889
0
}
890
891
0
bool ResizeMessage::IsInitialized() const {
892
0
  return true;
893
0
}
894
895
0
void ResizeMessage::Swap(ResizeMessage* other) {
896
0
  if (other == this) return;
897
0
  InternalSwap(other);
898
0
}
899
0
void ResizeMessage::InternalSwap(ResizeMessage* other) {
900
0
  using std::swap;
901
0
  swap(width_, other->width_);
902
0
  swap(height_, other->height_);
903
0
  swap(_has_bits_[0], other->_has_bits_[0]);
904
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
905
0
}
906
907
0
::std::string ResizeMessage::GetTypeName() const {
908
0
  return "HostBuffers.ResizeMessage";
909
0
}
910
911
912
// ===================================================================
913
914
2
void EchoAck::InitAsDefaultInstance() {
915
2
}
916
#if !defined(_MSC_VER) || _MSC_VER >= 1900
917
const int EchoAck::kEchoAckNumFieldNumber;
918
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
919
920
EchoAck::EchoAck()
921
2
  : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) {
922
2
  ::google::protobuf::internal::InitSCC(
923
2
      &protobuf_hostinput_2eproto::scc_info_EchoAck.base);
924
2
  SharedCtor();
925
  // @@protoc_insertion_point(constructor:HostBuffers.EchoAck)
926
2
}
927
EchoAck::EchoAck(const EchoAck& from)
928
0
  : ::google::protobuf::MessageLite(),
929
0
      _internal_metadata_(NULL),
930
0
      _has_bits_(from._has_bits_) {
931
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
932
0
  echo_ack_num_ = from.echo_ack_num_;
933
  // @@protoc_insertion_point(copy_constructor:HostBuffers.EchoAck)
934
0
}
935
936
2
void EchoAck::SharedCtor() {
937
2
  echo_ack_num_ = GOOGLE_ULONGLONG(0);
938
2
}
939
940
0
EchoAck::~EchoAck() {
941
  // @@protoc_insertion_point(destructor:HostBuffers.EchoAck)
942
0
  SharedDtor();
943
0
}
944
945
0
void EchoAck::SharedDtor() {
946
0
}
947
948
0
void EchoAck::SetCachedSize(int size) const {
949
0
  _cached_size_.Set(size);
950
0
}
951
2
const EchoAck& EchoAck::default_instance() {
952
2
  ::google::protobuf::internal::InitSCC(&protobuf_hostinput_2eproto::scc_info_EchoAck.base);
953
2
  return *internal_default_instance();
954
2
}
955
956
957
0
void EchoAck::Clear() {
958
// @@protoc_insertion_point(message_clear_start:HostBuffers.EchoAck)
959
0
  ::google::protobuf::uint32 cached_has_bits = 0;
960
  // Prevent compiler warnings about cached_has_bits being unused
961
0
  (void) cached_has_bits;
962
963
0
  echo_ack_num_ = GOOGLE_ULONGLONG(0);
964
0
  _has_bits_.Clear();
965
0
  _internal_metadata_.Clear();
966
0
}
967
968
bool EchoAck::MergePartialFromCodedStream(
969
0
    ::google::protobuf::io::CodedInputStream* input) {
970
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
971
0
  ::google::protobuf::uint32 tag;
972
0
  ::google::protobuf::internal::LiteUnknownFieldSetter unknown_fields_setter(
973
0
      &_internal_metadata_);
974
0
  ::google::protobuf::io::StringOutputStream unknown_fields_output(
975
0
      unknown_fields_setter.buffer());
976
0
  ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
977
0
      &unknown_fields_output, false);
978
  // @@protoc_insertion_point(parse_start:HostBuffers.EchoAck)
979
0
  for (;;) {
980
0
    ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
981
0
    tag = p.first;
982
0
    if (!p.second) goto handle_unusual;
983
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
984
      // optional uint64 echo_ack_num = 8;
985
0
      case 8: {
986
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
987
0
            static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
988
0
          set_has_echo_ack_num();
989
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
990
0
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
991
0
                 input, &echo_ack_num_)));
992
0
        } else {
993
0
          goto handle_unusual;
994
0
        }
995
0
        break;
996
0
      }
997
998
0
      default: {
999
0
      handle_unusual:
1000
0
        if (tag == 0) {
1001
0
          goto success;
1002
0
        }
1003
0
        DO_(::google::protobuf::internal::WireFormatLite::SkipField(
1004
0
            input, tag, &unknown_fields_stream));
1005
0
        break;
1006
0
      }
1007
0
    }
1008
0
  }
1009
0
success:
1010
  // @@protoc_insertion_point(parse_success:HostBuffers.EchoAck)
1011
0
  return true;
1012
0
failure:
1013
  // @@protoc_insertion_point(parse_failure:HostBuffers.EchoAck)
1014
0
  return false;
1015
0
#undef DO_
1016
0
}
1017
1018
void EchoAck::SerializeWithCachedSizes(
1019
0
    ::google::protobuf::io::CodedOutputStream* output) const {
1020
  // @@protoc_insertion_point(serialize_start:HostBuffers.EchoAck)
1021
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1022
0
  (void) cached_has_bits;
1023
1024
0
  cached_has_bits = _has_bits_[0];
1025
  // optional uint64 echo_ack_num = 8;
1026
0
  if (cached_has_bits & 0x00000001u) {
1027
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(8, this->echo_ack_num(), output);
1028
0
  }
1029
1030
0
  output->WriteRaw(_internal_metadata_.unknown_fields().data(),
1031
0
                   static_cast<int>(_internal_metadata_.unknown_fields().size()));
1032
  // @@protoc_insertion_point(serialize_end:HostBuffers.EchoAck)
1033
0
}
1034
1035
0
size_t EchoAck::ByteSizeLong() const {
1036
// @@protoc_insertion_point(message_byte_size_start:HostBuffers.EchoAck)
1037
0
  size_t total_size = 0;
1038
1039
0
  total_size += _internal_metadata_.unknown_fields().size();
1040
1041
  // optional uint64 echo_ack_num = 8;
1042
0
  if (has_echo_ack_num()) {
1043
0
    total_size += 1 +
1044
0
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
1045
0
        this->echo_ack_num());
1046
0
  }
1047
1048
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
1049
0
  SetCachedSize(cached_size);
1050
0
  return total_size;
1051
0
}
1052
1053
void EchoAck::CheckTypeAndMergeFrom(
1054
0
    const ::google::protobuf::MessageLite& from) {
1055
0
  MergeFrom(*::google::protobuf::down_cast<const EchoAck*>(&from));
1056
0
}
1057
1058
0
void EchoAck::MergeFrom(const EchoAck& from) {
1059
// @@protoc_insertion_point(class_specific_merge_from_start:HostBuffers.EchoAck)
1060
0
  GOOGLE_DCHECK_NE(&from, this);
1061
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
1062
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1063
0
  (void) cached_has_bits;
1064
1065
0
  if (from.has_echo_ack_num()) {
1066
0
    set_echo_ack_num(from.echo_ack_num());
1067
0
  }
1068
0
}
1069
1070
0
void EchoAck::CopyFrom(const EchoAck& from) {
1071
// @@protoc_insertion_point(class_specific_copy_from_start:HostBuffers.EchoAck)
1072
0
  if (&from == this) return;
1073
0
  Clear();
1074
0
  MergeFrom(from);
1075
0
}
1076
1077
0
bool EchoAck::IsInitialized() const {
1078
0
  return true;
1079
0
}
1080
1081
0
void EchoAck::Swap(EchoAck* other) {
1082
0
  if (other == this) return;
1083
0
  InternalSwap(other);
1084
0
}
1085
0
void EchoAck::InternalSwap(EchoAck* other) {
1086
0
  using std::swap;
1087
0
  swap(echo_ack_num_, other->echo_ack_num_);
1088
0
  swap(_has_bits_[0], other->_has_bits_[0]);
1089
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
1090
0
}
1091
1092
0
::std::string EchoAck::GetTypeName() const {
1093
0
  return "HostBuffers.EchoAck";
1094
0
}
1095
1096
::google::protobuf::internal::ExtensionIdentifier< ::HostBuffers::Instruction,
1097
    ::google::protobuf::internal::MessageTypeTraits< ::HostBuffers::HostBytes >, 11, false >
1098
  hostbytes(kHostbytesFieldNumber, *::HostBuffers::HostBytes::internal_default_instance());
1099
::google::protobuf::internal::ExtensionIdentifier< ::HostBuffers::Instruction,
1100
    ::google::protobuf::internal::MessageTypeTraits< ::HostBuffers::ResizeMessage >, 11, false >
1101
  resize(kResizeFieldNumber, *::HostBuffers::ResizeMessage::internal_default_instance());
1102
::google::protobuf::internal::ExtensionIdentifier< ::HostBuffers::Instruction,
1103
    ::google::protobuf::internal::MessageTypeTraits< ::HostBuffers::EchoAck >, 11, false >
1104
  echoack(kEchoackFieldNumber, *::HostBuffers::EchoAck::internal_default_instance());
1105
1106
// @@protoc_insertion_point(namespace_scope)
1107
}  // namespace HostBuffers
1108
namespace google {
1109
namespace protobuf {
1110
0
template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::HostBuffers::HostMessage* Arena::CreateMaybeMessage< ::HostBuffers::HostMessage >(Arena* arena) {
1111
0
  return Arena::CreateInternal< ::HostBuffers::HostMessage >(arena);
1112
0
}
1113
0
template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::HostBuffers::Instruction* Arena::CreateMaybeMessage< ::HostBuffers::Instruction >(Arena* arena) {
1114
0
  return Arena::CreateInternal< ::HostBuffers::Instruction >(arena);
1115
0
}
1116
0
template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::HostBuffers::HostBytes* Arena::CreateMaybeMessage< ::HostBuffers::HostBytes >(Arena* arena) {
1117
0
  return Arena::CreateInternal< ::HostBuffers::HostBytes >(arena);
1118
0
}
1119
0
template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::HostBuffers::ResizeMessage* Arena::CreateMaybeMessage< ::HostBuffers::ResizeMessage >(Arena* arena) {
1120
0
  return Arena::CreateInternal< ::HostBuffers::ResizeMessage >(arena);
1121
0
}
1122
0
template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::HostBuffers::EchoAck* Arena::CreateMaybeMessage< ::HostBuffers::EchoAck >(Arena* arena) {
1123
0
  return Arena::CreateInternal< ::HostBuffers::EchoAck >(arena);
1124
0
}
1125
}  // namespace protobuf
1126
}  // namespace google
1127
1128
// @@protoc_insertion_point(global_scope)