4 #ifndef PROTOBUF_goby_2fmoos_2ffrontseat_2fbluefin_2fbluefin_5fconfig_2eproto__INCLUDED 5 #define PROTOBUF_goby_2fmoos_2ffrontseat_2fbluefin_2fbluefin_5fconfig_2eproto__INCLUDED 9 #include <google/protobuf/stubs/common.h> 11 #if GOOGLE_PROTOBUF_VERSION < 2006000 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 2006001 < 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/generated_message_util.h> 23 #include <google/protobuf/message.h> 24 #include <google/protobuf/repeated_field.h> 25 #include <google/protobuf/extension_set.h> 26 #include <google/protobuf/generated_enum_reflection.h> 27 #include <google/protobuf/unknown_field_set.h> 28 #include "goby/moos/protobuf/frontseat_config.pb.h" 29 #include "goby/common/protobuf/option_extensions.pb.h" 30 #include <boost/units/quantity.hpp> 31 #include <boost/units/absolute.hpp> 32 #include <boost/units/dimensionless_type.hpp> 33 #include <boost/units/make_scaled_unit.hpp> 37 void protobuf_AddDesc_goby_2fmoos_2ffrontseat_2fbluefin_2fbluefin_5fconfig_2eproto();
38 void protobuf_AssignDesc_goby_2fmoos_2ffrontseat_2fbluefin_2fbluefin_5fconfig_2eproto();
39 void protobuf_ShutdownFile_goby_2fmoos_2ffrontseat_2fbluefin_2fbluefin_5fconfig_2eproto();
43 enum BluefinFrontSeatConfig_AcceptingCommandsHook {
44 BluefinFrontSeatConfig_AcceptingCommandsHook_BFMSC_TRIGGER = 0,
45 BluefinFrontSeatConfig_AcceptingCommandsHook_BFMIS_RUNNING_TRIGGER = 1,
46 BluefinFrontSeatConfig_AcceptingCommandsHook_BFCTL_TRIGGER = 2
48 bool BluefinFrontSeatConfig_AcceptingCommandsHook_IsValid(
int value);
49 const BluefinFrontSeatConfig_AcceptingCommandsHook BluefinFrontSeatConfig_AcceptingCommandsHook_AcceptingCommandsHook_MIN = BluefinFrontSeatConfig_AcceptingCommandsHook_BFMSC_TRIGGER;
50 const BluefinFrontSeatConfig_AcceptingCommandsHook BluefinFrontSeatConfig_AcceptingCommandsHook_AcceptingCommandsHook_MAX = BluefinFrontSeatConfig_AcceptingCommandsHook_BFCTL_TRIGGER;
51 const int BluefinFrontSeatConfig_AcceptingCommandsHook_AcceptingCommandsHook_ARRAYSIZE = BluefinFrontSeatConfig_AcceptingCommandsHook_AcceptingCommandsHook_MAX + 1;
53 const ::google::protobuf::EnumDescriptor* BluefinFrontSeatConfig_AcceptingCommandsHook_descriptor();
54 inline const ::std::string& BluefinFrontSeatConfig_AcceptingCommandsHook_Name(BluefinFrontSeatConfig_AcceptingCommandsHook value) {
55 return ::google::protobuf::internal::NameOfEnum(
56 BluefinFrontSeatConfig_AcceptingCommandsHook_descriptor(), value);
58 inline bool BluefinFrontSeatConfig_AcceptingCommandsHook_Parse(
59 const ::std::string& name, BluefinFrontSeatConfig_AcceptingCommandsHook* value) {
60 return ::google::protobuf::internal::ParseNamedEnum<BluefinFrontSeatConfig_AcceptingCommandsHook>(
61 BluefinFrontSeatConfig_AcceptingCommandsHook_descriptor(), name, value);
77 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
78 return _unknown_fields_;
81 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
82 return &_unknown_fields_;
85 static const ::google::protobuf::Descriptor* descriptor();
93 void CopyFrom(const ::google::protobuf::Message& from);
94 void MergeFrom(const ::google::protobuf::Message& from);
98 bool IsInitialized()
const;
100 int ByteSize()
const;
101 bool MergePartialFromCodedStream(
102 ::google::protobuf::io::CodedInputStream* input);
103 void SerializeWithCachedSizes(
104 ::google::protobuf::io::CodedOutputStream* output)
const;
105 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
106 int GetCachedSize()
const {
return _cached_size_; }
110 void SetCachedSize(
int size)
const;
112 ::google::protobuf::Metadata GetMetadata()
const;
116 typedef BluefinFrontSeatConfig_AcceptingCommandsHook AcceptingCommandsHook;
117 static const AcceptingCommandsHook BFMSC_TRIGGER = BluefinFrontSeatConfig_AcceptingCommandsHook_BFMSC_TRIGGER;
118 static const AcceptingCommandsHook BFMIS_RUNNING_TRIGGER = BluefinFrontSeatConfig_AcceptingCommandsHook_BFMIS_RUNNING_TRIGGER;
119 static const AcceptingCommandsHook BFCTL_TRIGGER = BluefinFrontSeatConfig_AcceptingCommandsHook_BFCTL_TRIGGER;
120 static inline bool AcceptingCommandsHook_IsValid(
int value) {
121 return BluefinFrontSeatConfig_AcceptingCommandsHook_IsValid(value);
123 static const AcceptingCommandsHook AcceptingCommandsHook_MIN =
124 BluefinFrontSeatConfig_AcceptingCommandsHook_AcceptingCommandsHook_MIN;
125 static const AcceptingCommandsHook AcceptingCommandsHook_MAX =
126 BluefinFrontSeatConfig_AcceptingCommandsHook_AcceptingCommandsHook_MAX;
127 static const int AcceptingCommandsHook_ARRAYSIZE =
128 BluefinFrontSeatConfig_AcceptingCommandsHook_AcceptingCommandsHook_ARRAYSIZE;
129 static inline const ::google::protobuf::EnumDescriptor*
130 AcceptingCommandsHook_descriptor() {
131 return BluefinFrontSeatConfig_AcceptingCommandsHook_descriptor();
133 static inline const ::std::string& AcceptingCommandsHook_Name(AcceptingCommandsHook value) {
134 return BluefinFrontSeatConfig_AcceptingCommandsHook_Name(value);
136 static inline bool AcceptingCommandsHook_Parse(const ::std::string& name,
137 AcceptingCommandsHook* value) {
138 return BluefinFrontSeatConfig_AcceptingCommandsHook_Parse(name, value);
144 inline bool has_huxley_tcp_address()
const;
145 inline void clear_huxley_tcp_address();
146 static const int kHuxleyTcpAddressFieldNumber = 1;
147 inline const ::std::string& huxley_tcp_address()
const;
148 inline void set_huxley_tcp_address(const ::std::string& value);
149 inline void set_huxley_tcp_address(
const char* value);
150 inline void set_huxley_tcp_address(
const char* value,
size_t size);
151 inline ::std::string* mutable_huxley_tcp_address();
152 inline ::std::string* release_huxley_tcp_address();
153 inline void set_allocated_huxley_tcp_address(::std::string* huxley_tcp_address);
156 inline bool has_huxley_tcp_port()
const;
157 inline void clear_huxley_tcp_port();
158 static const int kHuxleyTcpPortFieldNumber = 2;
159 inline ::google::protobuf::uint32 huxley_tcp_port()
const;
160 inline void set_huxley_tcp_port(::google::protobuf::uint32 value);
163 inline bool has_reconnect_interval()
const;
164 inline void clear_reconnect_interval();
165 static const int kReconnectIntervalFieldNumber = 3;
166 inline ::google::protobuf::uint32 reconnect_interval()
const;
167 inline void set_reconnect_interval(::google::protobuf::uint32 value);
170 inline bool has_nmea_resend_attempts()
const;
171 inline void clear_nmea_resend_attempts();
172 static const int kNmeaResendAttemptsFieldNumber = 4;
173 inline ::google::protobuf::uint32 nmea_resend_attempts()
const;
174 inline void set_nmea_resend_attempts(::google::protobuf::uint32 value);
177 inline bool has_nmea_resend_interval()
const;
178 inline void clear_nmea_resend_interval();
179 static const int kNmeaResendIntervalFieldNumber = 5;
180 inline ::google::protobuf::uint32 nmea_resend_interval()
const;
181 inline void set_nmea_resend_interval(::google::protobuf::uint32 value);
184 inline bool has_allowed_nmea_demerits()
const;
185 inline void clear_allowed_nmea_demerits();
186 static const int kAllowedNmeaDemeritsFieldNumber = 6;
187 inline ::google::protobuf::uint32 allowed_nmea_demerits()
const;
188 inline void set_allowed_nmea_demerits(::google::protobuf::uint32 value);
191 inline bool has_allow_missing_nav_interval()
const;
192 inline void clear_allow_missing_nav_interval();
193 static const int kAllowMissingNavIntervalFieldNumber = 7;
194 inline ::google::protobuf::uint32 allow_missing_nav_interval()
const;
195 inline void set_allow_missing_nav_interval(::google::protobuf::uint32 value);
198 inline bool has_heartbeat_interval()
const;
199 inline void clear_heartbeat_interval();
200 static const int kHeartbeatIntervalFieldNumber = 8;
201 inline ::google::protobuf::uint32 heartbeat_interval()
const;
202 inline void set_heartbeat_interval(::google::protobuf::uint32 value);
205 inline int extra_bplog_size()
const;
206 inline void clear_extra_bplog();
207 static const int kExtraBplogFieldNumber = 9;
208 inline const ::std::string& extra_bplog(
int index)
const;
209 inline ::std::string* mutable_extra_bplog(
int index);
210 inline void set_extra_bplog(
int index, const ::std::string& value);
211 inline void set_extra_bplog(
int index,
const char* value);
212 inline void set_extra_bplog(
int index,
const char* value,
size_t size);
213 inline ::std::string* add_extra_bplog();
214 inline void add_extra_bplog(const ::std::string& value);
215 inline void add_extra_bplog(
const char* value);
216 inline void add_extra_bplog(
const char* value,
size_t size);
217 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& extra_bplog()
const;
218 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_extra_bplog();
221 inline bool has_send_tmr_messages()
const;
222 inline void clear_send_tmr_messages();
223 static const int kSendTmrMessagesFieldNumber = 10;
224 inline bool send_tmr_messages()
const;
225 inline void set_send_tmr_messages(
bool value);
228 inline bool has_disable_ack()
const;
229 inline void clear_disable_ack();
230 static const int kDisableAckFieldNumber = 11;
231 inline bool disable_ack()
const;
232 inline void set_disable_ack(
bool value);
235 inline bool has_accepting_commands_hook()
const;
236 inline void clear_accepting_commands_hook();
237 static const int kAcceptingCommandsHookFieldNumber = 12;
238 inline ::BluefinFrontSeatConfig_AcceptingCommandsHook accepting_commands_hook()
const;
239 inline void set_accepting_commands_hook(::BluefinFrontSeatConfig_AcceptingCommandsHook value);
243 inline void set_has_huxley_tcp_address();
244 inline void clear_has_huxley_tcp_address();
245 inline void set_has_huxley_tcp_port();
246 inline void clear_has_huxley_tcp_port();
247 inline void set_has_reconnect_interval();
248 inline void clear_has_reconnect_interval();
249 inline void set_has_nmea_resend_attempts();
250 inline void clear_has_nmea_resend_attempts();
251 inline void set_has_nmea_resend_interval();
252 inline void clear_has_nmea_resend_interval();
253 inline void set_has_allowed_nmea_demerits();
254 inline void clear_has_allowed_nmea_demerits();
255 inline void set_has_allow_missing_nav_interval();
256 inline void clear_has_allow_missing_nav_interval();
257 inline void set_has_heartbeat_interval();
258 inline void clear_has_heartbeat_interval();
259 inline void set_has_send_tmr_messages();
260 inline void clear_has_send_tmr_messages();
261 inline void set_has_disable_ack();
262 inline void clear_has_disable_ack();
263 inline void set_has_accepting_commands_hook();
264 inline void clear_has_accepting_commands_hook();
266 ::google::protobuf::UnknownFieldSet _unknown_fields_;
268 ::google::protobuf::uint32 _has_bits_[1];
269 mutable int _cached_size_;
270 ::std::string* huxley_tcp_address_;
271 ::google::protobuf::uint32 huxley_tcp_port_;
272 ::google::protobuf::uint32 reconnect_interval_;
273 ::google::protobuf::uint32 nmea_resend_attempts_;
274 ::google::protobuf::uint32 nmea_resend_interval_;
275 ::google::protobuf::uint32 allowed_nmea_demerits_;
276 ::google::protobuf::uint32 allow_missing_nav_interval_;
277 ::google::protobuf::RepeatedPtrField< ::std::string> extra_bplog_;
278 ::google::protobuf::uint32 heartbeat_interval_;
279 bool send_tmr_messages_;
281 int accepting_commands_hook_;
282 friend void protobuf_AddDesc_goby_2fmoos_2ffrontseat_2fbluefin_2fbluefin_5fconfig_2eproto();
283 friend void protobuf_AssignDesc_goby_2fmoos_2ffrontseat_2fbluefin_2fbluefin_5fconfig_2eproto();
284 friend void protobuf_ShutdownFile_goby_2fmoos_2ffrontseat_2fbluefin_2fbluefin_5fconfig_2eproto();
286 void InitAsDefaultInstance();
291 static const int kBluefinConfigFieldNumber = 1000;
293 ::google::protobuf::internal::MessageTypeTraits< ::BluefinFrontSeatConfig >, 11,
false >
301 inline bool BluefinFrontSeatConfig::has_huxley_tcp_address()
const {
302 return (_has_bits_[0] & 0x00000001u) != 0;
304 inline void BluefinFrontSeatConfig::set_has_huxley_tcp_address() {
305 _has_bits_[0] |= 0x00000001u;
307 inline void BluefinFrontSeatConfig::clear_has_huxley_tcp_address() {
308 _has_bits_[0] &= ~0x00000001u;
310 inline void BluefinFrontSeatConfig::clear_huxley_tcp_address() {
311 if (huxley_tcp_address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
312 huxley_tcp_address_->clear();
314 clear_has_huxley_tcp_address();
316 inline const ::std::string& BluefinFrontSeatConfig::huxley_tcp_address()
const {
318 return *huxley_tcp_address_;
320 inline void BluefinFrontSeatConfig::set_huxley_tcp_address(const ::std::string& value) {
321 set_has_huxley_tcp_address();
322 if (huxley_tcp_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
323 huxley_tcp_address_ = new ::std::string;
325 huxley_tcp_address_->assign(value);
328 inline void BluefinFrontSeatConfig::set_huxley_tcp_address(
const char* value) {
329 set_has_huxley_tcp_address();
330 if (huxley_tcp_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
331 huxley_tcp_address_ = new ::std::string;
333 huxley_tcp_address_->assign(value);
336 inline void BluefinFrontSeatConfig::set_huxley_tcp_address(
const char* value,
size_t size) {
337 set_has_huxley_tcp_address();
338 if (huxley_tcp_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
339 huxley_tcp_address_ = new ::std::string;
341 huxley_tcp_address_->assign(reinterpret_cast<const char*>(value), size);
344 inline ::std::string* BluefinFrontSeatConfig::mutable_huxley_tcp_address() {
345 set_has_huxley_tcp_address();
346 if (huxley_tcp_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
347 huxley_tcp_address_ = new ::std::string;
350 return huxley_tcp_address_;
352 inline ::std::string* BluefinFrontSeatConfig::release_huxley_tcp_address() {
353 clear_has_huxley_tcp_address();
354 if (huxley_tcp_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
357 ::std::string* temp = huxley_tcp_address_;
358 huxley_tcp_address_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
362 inline void BluefinFrontSeatConfig::set_allocated_huxley_tcp_address(::std::string* huxley_tcp_address) {
363 if (huxley_tcp_address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
364 delete huxley_tcp_address_;
366 if (huxley_tcp_address) {
367 set_has_huxley_tcp_address();
368 huxley_tcp_address_ = huxley_tcp_address;
370 clear_has_huxley_tcp_address();
371 huxley_tcp_address_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
377 inline bool BluefinFrontSeatConfig::has_huxley_tcp_port()
const {
378 return (_has_bits_[0] & 0x00000002u) != 0;
380 inline void BluefinFrontSeatConfig::set_has_huxley_tcp_port() {
381 _has_bits_[0] |= 0x00000002u;
383 inline void BluefinFrontSeatConfig::clear_has_huxley_tcp_port() {
384 _has_bits_[0] &= ~0x00000002u;
386 inline void BluefinFrontSeatConfig::clear_huxley_tcp_port() {
387 huxley_tcp_port_ = 29500u;
388 clear_has_huxley_tcp_port();
390 inline ::google::protobuf::uint32 BluefinFrontSeatConfig::huxley_tcp_port()
const {
392 return huxley_tcp_port_;
394 inline void BluefinFrontSeatConfig::set_huxley_tcp_port(::google::protobuf::uint32 value) {
395 set_has_huxley_tcp_port();
396 huxley_tcp_port_ = value;
401 inline bool BluefinFrontSeatConfig::has_reconnect_interval()
const {
402 return (_has_bits_[0] & 0x00000004u) != 0;
404 inline void BluefinFrontSeatConfig::set_has_reconnect_interval() {
405 _has_bits_[0] |= 0x00000004u;
407 inline void BluefinFrontSeatConfig::clear_has_reconnect_interval() {
408 _has_bits_[0] &= ~0x00000004u;
410 inline void BluefinFrontSeatConfig::clear_reconnect_interval() {
411 reconnect_interval_ = 10u;
412 clear_has_reconnect_interval();
414 inline ::google::protobuf::uint32 BluefinFrontSeatConfig::reconnect_interval()
const {
416 return reconnect_interval_;
418 inline void BluefinFrontSeatConfig::set_reconnect_interval(::google::protobuf::uint32 value) {
419 set_has_reconnect_interval();
420 reconnect_interval_ = value;
425 inline bool BluefinFrontSeatConfig::has_nmea_resend_attempts()
const {
426 return (_has_bits_[0] & 0x00000008u) != 0;
428 inline void BluefinFrontSeatConfig::set_has_nmea_resend_attempts() {
429 _has_bits_[0] |= 0x00000008u;
431 inline void BluefinFrontSeatConfig::clear_has_nmea_resend_attempts() {
432 _has_bits_[0] &= ~0x00000008u;
434 inline void BluefinFrontSeatConfig::clear_nmea_resend_attempts() {
435 nmea_resend_attempts_ = 3u;
436 clear_has_nmea_resend_attempts();
438 inline ::google::protobuf::uint32 BluefinFrontSeatConfig::nmea_resend_attempts()
const {
440 return nmea_resend_attempts_;
442 inline void BluefinFrontSeatConfig::set_nmea_resend_attempts(::google::protobuf::uint32 value) {
443 set_has_nmea_resend_attempts();
444 nmea_resend_attempts_ = value;
449 inline bool BluefinFrontSeatConfig::has_nmea_resend_interval()
const {
450 return (_has_bits_[0] & 0x00000010u) != 0;
452 inline void BluefinFrontSeatConfig::set_has_nmea_resend_interval() {
453 _has_bits_[0] |= 0x00000010u;
455 inline void BluefinFrontSeatConfig::clear_has_nmea_resend_interval() {
456 _has_bits_[0] &= ~0x00000010u;
458 inline void BluefinFrontSeatConfig::clear_nmea_resend_interval() {
459 nmea_resend_interval_ = 5u;
460 clear_has_nmea_resend_interval();
462 inline ::google::protobuf::uint32 BluefinFrontSeatConfig::nmea_resend_interval()
const {
464 return nmea_resend_interval_;
466 inline void BluefinFrontSeatConfig::set_nmea_resend_interval(::google::protobuf::uint32 value) {
467 set_has_nmea_resend_interval();
468 nmea_resend_interval_ = value;
473 inline bool BluefinFrontSeatConfig::has_allowed_nmea_demerits()
const {
474 return (_has_bits_[0] & 0x00000020u) != 0;
476 inline void BluefinFrontSeatConfig::set_has_allowed_nmea_demerits() {
477 _has_bits_[0] |= 0x00000020u;
479 inline void BluefinFrontSeatConfig::clear_has_allowed_nmea_demerits() {
480 _has_bits_[0] &= ~0x00000020u;
482 inline void BluefinFrontSeatConfig::clear_allowed_nmea_demerits() {
483 allowed_nmea_demerits_ = 3u;
484 clear_has_allowed_nmea_demerits();
486 inline ::google::protobuf::uint32 BluefinFrontSeatConfig::allowed_nmea_demerits()
const {
488 return allowed_nmea_demerits_;
490 inline void BluefinFrontSeatConfig::set_allowed_nmea_demerits(::google::protobuf::uint32 value) {
491 set_has_allowed_nmea_demerits();
492 allowed_nmea_demerits_ = value;
497 inline bool BluefinFrontSeatConfig::has_allow_missing_nav_interval()
const {
498 return (_has_bits_[0] & 0x00000040u) != 0;
500 inline void BluefinFrontSeatConfig::set_has_allow_missing_nav_interval() {
501 _has_bits_[0] |= 0x00000040u;
503 inline void BluefinFrontSeatConfig::clear_has_allow_missing_nav_interval() {
504 _has_bits_[0] &= ~0x00000040u;
506 inline void BluefinFrontSeatConfig::clear_allow_missing_nav_interval() {
507 allow_missing_nav_interval_ = 5u;
508 clear_has_allow_missing_nav_interval();
510 inline ::google::protobuf::uint32 BluefinFrontSeatConfig::allow_missing_nav_interval()
const {
512 return allow_missing_nav_interval_;
514 inline void BluefinFrontSeatConfig::set_allow_missing_nav_interval(::google::protobuf::uint32 value) {
515 set_has_allow_missing_nav_interval();
516 allow_missing_nav_interval_ = value;
521 inline bool BluefinFrontSeatConfig::has_heartbeat_interval()
const {
522 return (_has_bits_[0] & 0x00000080u) != 0;
524 inline void BluefinFrontSeatConfig::set_has_heartbeat_interval() {
525 _has_bits_[0] |= 0x00000080u;
527 inline void BluefinFrontSeatConfig::clear_has_heartbeat_interval() {
528 _has_bits_[0] &= ~0x00000080u;
530 inline void BluefinFrontSeatConfig::clear_heartbeat_interval() {
531 heartbeat_interval_ = 1u;
532 clear_has_heartbeat_interval();
534 inline ::google::protobuf::uint32 BluefinFrontSeatConfig::heartbeat_interval()
const {
536 return heartbeat_interval_;
538 inline void BluefinFrontSeatConfig::set_heartbeat_interval(::google::protobuf::uint32 value) {
539 set_has_heartbeat_interval();
540 heartbeat_interval_ = value;
545 inline int BluefinFrontSeatConfig::extra_bplog_size()
const {
546 return extra_bplog_.size();
548 inline void BluefinFrontSeatConfig::clear_extra_bplog() {
549 extra_bplog_.Clear();
551 inline const ::std::string& BluefinFrontSeatConfig::extra_bplog(
int index)
const {
553 return extra_bplog_.Get(index);
555 inline ::std::string* BluefinFrontSeatConfig::mutable_extra_bplog(
int index) {
557 return extra_bplog_.Mutable(index);
559 inline void BluefinFrontSeatConfig::set_extra_bplog(
int index, const ::std::string& value) {
561 extra_bplog_.Mutable(index)->assign(value);
563 inline void BluefinFrontSeatConfig::set_extra_bplog(
int index,
const char* value) {
564 extra_bplog_.Mutable(index)->assign(value);
567 inline void BluefinFrontSeatConfig::set_extra_bplog(
int index,
const char* value,
size_t size) {
568 extra_bplog_.Mutable(index)->assign(
569 reinterpret_cast<const char*>(value), size);
572 inline ::std::string* BluefinFrontSeatConfig::add_extra_bplog() {
573 return extra_bplog_.Add();
575 inline void BluefinFrontSeatConfig::add_extra_bplog(const ::std::string& value) {
576 extra_bplog_.Add()->assign(value);
579 inline void BluefinFrontSeatConfig::add_extra_bplog(
const char* value) {
580 extra_bplog_.Add()->assign(value);
583 inline void BluefinFrontSeatConfig::add_extra_bplog(
const char* value,
size_t size) {
584 extra_bplog_.Add()->assign(reinterpret_cast<const char*>(value), size);
587 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
588 BluefinFrontSeatConfig::extra_bplog()
const {
592 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
593 BluefinFrontSeatConfig::mutable_extra_bplog() {
595 return &extra_bplog_;
599 inline bool BluefinFrontSeatConfig::has_send_tmr_messages()
const {
600 return (_has_bits_[0] & 0x00000200u) != 0;
602 inline void BluefinFrontSeatConfig::set_has_send_tmr_messages() {
603 _has_bits_[0] |= 0x00000200u;
605 inline void BluefinFrontSeatConfig::clear_has_send_tmr_messages() {
606 _has_bits_[0] &= ~0x00000200u;
608 inline void BluefinFrontSeatConfig::clear_send_tmr_messages() {
609 send_tmr_messages_ =
true;
610 clear_has_send_tmr_messages();
612 inline bool BluefinFrontSeatConfig::send_tmr_messages()
const {
614 return send_tmr_messages_;
616 inline void BluefinFrontSeatConfig::set_send_tmr_messages(
bool value) {
617 set_has_send_tmr_messages();
618 send_tmr_messages_ = value;
623 inline bool BluefinFrontSeatConfig::has_disable_ack()
const {
624 return (_has_bits_[0] & 0x00000400u) != 0;
626 inline void BluefinFrontSeatConfig::set_has_disable_ack() {
627 _has_bits_[0] |= 0x00000400u;
629 inline void BluefinFrontSeatConfig::clear_has_disable_ack() {
630 _has_bits_[0] &= ~0x00000400u;
632 inline void BluefinFrontSeatConfig::clear_disable_ack() {
633 disable_ack_ =
false;
634 clear_has_disable_ack();
636 inline bool BluefinFrontSeatConfig::disable_ack()
const {
640 inline void BluefinFrontSeatConfig::set_disable_ack(
bool value) {
641 set_has_disable_ack();
642 disable_ack_ = value;
647 inline bool BluefinFrontSeatConfig::has_accepting_commands_hook()
const {
648 return (_has_bits_[0] & 0x00000800u) != 0;
650 inline void BluefinFrontSeatConfig::set_has_accepting_commands_hook() {
651 _has_bits_[0] |= 0x00000800u;
653 inline void BluefinFrontSeatConfig::clear_has_accepting_commands_hook() {
654 _has_bits_[0] &= ~0x00000800u;
656 inline void BluefinFrontSeatConfig::clear_accepting_commands_hook() {
657 accepting_commands_hook_ = 0;
658 clear_has_accepting_commands_hook();
660 inline ::BluefinFrontSeatConfig_AcceptingCommandsHook BluefinFrontSeatConfig::accepting_commands_hook()
const {
662 return static_cast< ::BluefinFrontSeatConfig_AcceptingCommandsHook
>(accepting_commands_hook_);
664 inline void BluefinFrontSeatConfig::set_accepting_commands_hook(::BluefinFrontSeatConfig_AcceptingCommandsHook value) {
665 assert(::BluefinFrontSeatConfig_AcceptingCommandsHook_IsValid(value));
666 set_has_accepting_commands_hook();
667 accepting_commands_hook_ = value;
678 template <>
struct is_proto_enum< ::BluefinFrontSeatConfig_AcceptingCommandsHook> : ::google::protobuf::internal::true_type {};
680 inline const EnumDescriptor* GetEnumDescriptor< ::BluefinFrontSeatConfig_AcceptingCommandsHook>() {
681 return ::BluefinFrontSeatConfig_AcceptingCommandsHook_descriptor();
690 #endif // PROTOBUF_goby_2fmoos_2ffrontseat_2fbluefin_2fbluefin_5fconfig_2eproto__INCLUDED