4 #ifndef PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fterminate_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fterminate_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
34 #include <boost/units/quantity.hpp>
35 #include <boost/units/absolute.hpp>
36 #include <boost/units/dimensionless_type.hpp>
37 #include <boost/units/make_scaled_unit.hpp>
39 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2fmiddleware_2fprotobuf_2fterminate_2eproto
44 static const ::google::protobuf::internal::ParseTableField
entries[];
45 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
46 static const ::google::protobuf::internal::ParseTable
schema[3];
54 namespace middleware {
56 class TerminateRequest;
57 class TerminateRequestDefaultTypeInternal;
59 class TerminateResponse;
60 class TerminateResponseDefaultTypeInternal;
62 class TerminateResult;
63 class TerminateResultDefaultTypeInternal;
76 namespace middleware {
92 return ::google::protobuf::internal::NameOfEnum(
97 return ::google::protobuf::internal::ParseNamedEnum<TerminateResult_Result>(
116 *
this = ::std::move(from);
120 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
121 if (
this != &from) InternalSwap(&from);
129 return _internal_metadata_.unknown_fields();
132 return _internal_metadata_.mutable_unknown_fields();
135 static const ::google::protobuf::Descriptor*
descriptor();
154 return CreateMaybeMessage<TerminateRequest>(NULL);
158 return CreateMaybeMessage<TerminateRequest>(arena);
160 void CopyFrom(const ::google::protobuf::Message& from)
final;
161 void MergeFrom(const ::google::protobuf::Message& from)
final;
169 ::
google::protobuf::io::CodedInputStream* input) final;
171 ::
google::protobuf::io::CodedOutputStream* output) const final;
173 bool deterministic, ::
google::protobuf::uint8* target) const final;
179 void SetCachedSize(
int size)
const final;
182 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
185 inline void* MaybeArenaPtr()
const {
220 void set_has_target_name();
221 void clear_has_target_name();
222 void set_has_target_pid();
223 void clear_has_target_pid();
225 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
226 ::google::protobuf::internal::HasBits<1> _has_bits_;
227 mutable ::google::protobuf::internal::CachedSize _cached_size_;
228 ::google::protobuf::internal::ArenaStringPtr target_name_;
230 friend struct ::protobuf_goby_2fmiddleware_2fprotobuf_2fterminate_2eproto::TableStruct;
248 *
this = ::std::move(from);
252 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
253 if (
this != &from) InternalSwap(&from);
261 return _internal_metadata_.unknown_fields();
264 return _internal_metadata_.mutable_unknown_fields();
267 static const ::google::protobuf::Descriptor*
descriptor();
286 return CreateMaybeMessage<TerminateResponse>(NULL);
290 return CreateMaybeMessage<TerminateResponse>(arena);
292 void CopyFrom(const ::google::protobuf::Message& from)
final;
293 void MergeFrom(const ::google::protobuf::Message& from)
final;
301 ::
google::protobuf::io::CodedInputStream* input) final;
303 ::
google::protobuf::io::CodedOutputStream* output) const final;
305 bool deterministic, ::
google::protobuf::uint8* target) const final;
311 void SetCachedSize(
int size)
const final;
314 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
317 inline void* MaybeArenaPtr()
const {
352 void set_has_target_name();
353 void clear_has_target_name();
354 void set_has_target_pid();
355 void clear_has_target_pid();
357 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
358 ::google::protobuf::internal::HasBits<1> _has_bits_;
359 mutable ::google::protobuf::internal::CachedSize _cached_size_;
360 ::google::protobuf::internal::ArenaStringPtr target_name_;
362 friend struct ::protobuf_goby_2fmiddleware_2fprotobuf_2fterminate_2eproto::TableStruct;
380 *
this = ::std::move(from);
384 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
385 if (
this != &from) InternalSwap(&from);
393 return _internal_metadata_.unknown_fields();
396 return _internal_metadata_.mutable_unknown_fields();
399 static const ::google::protobuf::Descriptor*
descriptor();
418 return CreateMaybeMessage<TerminateResult>(NULL);
422 return CreateMaybeMessage<TerminateResult>(arena);
424 void CopyFrom(const ::google::protobuf::Message& from)
final;
425 void MergeFrom(const ::google::protobuf::Message& from)
final;
433 ::
google::protobuf::io::CodedInputStream* input) final;
435 ::
google::protobuf::io::CodedOutputStream* output) const final;
437 bool deterministic, ::
google::protobuf::uint8* target) const final;
443 void SetCachedSize(
int size)
const final;
446 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
449 inline void* MaybeArenaPtr()
const {
476 static inline const ::google::protobuf::EnumDescriptor*
521 void set_has_target_name();
522 void clear_has_target_name();
523 void set_has_target_pid();
524 void clear_has_target_pid();
525 void set_has_result();
526 void clear_has_result();
528 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
529 ::google::protobuf::internal::HasBits<1> _has_bits_;
530 mutable ::google::protobuf::internal::CachedSize _cached_size_;
531 ::google::protobuf::internal::ArenaStringPtr target_name_;
534 friend struct ::protobuf_goby_2fmiddleware_2fprotobuf_2fterminate_2eproto::TableStruct;
542 #pragma GCC diagnostic push
543 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
549 return (_has_bits_[0] & 0x00000001u) != 0;
551 inline void TerminateRequest::set_has_target_name() {
552 _has_bits_[0] |= 0x00000001u;
554 inline void TerminateRequest::clear_has_target_name() {
555 _has_bits_[0] &= ~0x00000001u;
559 clear_has_target_name();
563 return target_name_.GetNoArena();
566 set_has_target_name();
572 set_has_target_name();
573 target_name_.SetNoArena(
579 GOOGLE_DCHECK(value != NULL);
580 set_has_target_name();
585 set_has_target_name();
587 ::std::string(
reinterpret_cast<const char*
>(value), size));
591 set_has_target_name();
600 clear_has_target_name();
605 set_has_target_name();
607 clear_has_target_name();
615 return (_has_bits_[0] & 0x00000002u) != 0;
617 inline void TerminateRequest::set_has_target_pid() {
618 _has_bits_[0] |= 0x00000002u;
620 inline void TerminateRequest::clear_has_target_pid() {
621 _has_bits_[0] &= ~0x00000002u;
625 clear_has_target_pid();
632 set_has_target_pid();
643 return (_has_bits_[0] & 0x00000001u) != 0;
645 inline void TerminateResponse::set_has_target_name() {
646 _has_bits_[0] |= 0x00000001u;
648 inline void TerminateResponse::clear_has_target_name() {
649 _has_bits_[0] &= ~0x00000001u;
653 clear_has_target_name();
657 return target_name_.GetNoArena();
660 set_has_target_name();
666 set_has_target_name();
667 target_name_.SetNoArena(
673 GOOGLE_DCHECK(value != NULL);
674 set_has_target_name();
679 set_has_target_name();
681 ::std::string(
reinterpret_cast<const char*
>(value), size));
685 set_has_target_name();
694 clear_has_target_name();
699 set_has_target_name();
701 clear_has_target_name();
709 return (_has_bits_[0] & 0x00000002u) != 0;
711 inline void TerminateResponse::set_has_target_pid() {
712 _has_bits_[0] |= 0x00000002u;
714 inline void TerminateResponse::clear_has_target_pid() {
715 _has_bits_[0] &= ~0x00000002u;
719 clear_has_target_pid();
726 set_has_target_pid();
737 return (_has_bits_[0] & 0x00000001u) != 0;
739 inline void TerminateResult::set_has_target_name() {
740 _has_bits_[0] |= 0x00000001u;
742 inline void TerminateResult::clear_has_target_name() {
743 _has_bits_[0] &= ~0x00000001u;
747 clear_has_target_name();
751 return target_name_.GetNoArena();
754 set_has_target_name();
760 set_has_target_name();
761 target_name_.SetNoArena(
767 GOOGLE_DCHECK(value != NULL);
768 set_has_target_name();
773 set_has_target_name();
775 ::std::string(
reinterpret_cast<const char*
>(value), size));
779 set_has_target_name();
788 clear_has_target_name();
793 set_has_target_name();
795 clear_has_target_name();
803 return (_has_bits_[0] & 0x00000002u) != 0;
805 inline void TerminateResult::set_has_target_pid() {
806 _has_bits_[0] |= 0x00000002u;
808 inline void TerminateResult::clear_has_target_pid() {
809 _has_bits_[0] &= ~0x00000002u;
813 clear_has_target_pid();
820 set_has_target_pid();
827 return (_has_bits_[0] & 0x00000004u) != 0;
829 inline void TerminateResult::set_has_result() {
830 _has_bits_[0] |= 0x00000004u;
832 inline void TerminateResult::clear_has_result() {
833 _has_bits_[0] &= ~0x00000004u;
851 #pragma GCC diagnostic pop
869 inline const EnumDescriptor* GetEnumDescriptor< ::goby::middleware::protobuf::TerminateResult_Result>() {
878 #endif // PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fterminate_2eproto