4 #ifndef PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2flogger_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2flogger_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 "dccl/option_extensions.pb.h"
35 #include <boost/units/quantity.hpp>
36 #include <boost/units/absolute.hpp>
37 #include <boost/units/dimensionless_type.hpp>
38 #include <boost/units/make_scaled_unit.hpp>
40 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2fmiddleware_2fprotobuf_2flogger_2eproto
45 static const ::google::protobuf::internal::ParseTableField
entries[];
46 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
47 static const ::google::protobuf::internal::ParseTable
schema[1];
55 namespace middleware {
58 class LoggerRequestDefaultTypeInternal;
69 namespace middleware {
84 return ::google::protobuf::internal::NameOfEnum(
89 return ::google::protobuf::internal::ParseNamedEnum<LoggerRequest_State>(
108 *
this = ::std::move(from);
112 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
113 if (
this != &from) InternalSwap(&from);
121 return _internal_metadata_.unknown_fields();
124 return _internal_metadata_.mutable_unknown_fields();
127 static const ::google::protobuf::Descriptor*
descriptor();
146 return CreateMaybeMessage<LoggerRequest>(NULL);
150 return CreateMaybeMessage<LoggerRequest>(arena);
152 void CopyFrom(const ::google::protobuf::Message& from)
final;
153 void MergeFrom(const ::google::protobuf::Message& from)
final;
161 ::
google::protobuf::io::CodedInputStream* input) final;
163 ::
google::protobuf::io::CodedOutputStream* output) const final;
165 bool deterministic, ::
google::protobuf::uint8* target) const final;
171 void SetCachedSize(
int size)
const final;
174 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
177 inline void* MaybeArenaPtr()
const {
202 static inline const ::google::protobuf::EnumDescriptor*
232 void set_has_requested_state();
233 void clear_has_requested_state();
234 void set_has_close_log();
235 void clear_has_close_log();
237 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
238 ::google::protobuf::internal::HasBits<1> _has_bits_;
239 mutable ::google::protobuf::internal::CachedSize _cached_size_;
241 int requested_state_;
242 friend struct ::protobuf_goby_2fmiddleware_2fprotobuf_2flogger_2eproto::TableStruct;
250 #pragma GCC diagnostic push
251 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
257 return (_has_bits_[0] & 0x00000002u) != 0;
259 inline void LoggerRequest::set_has_requested_state() {
260 _has_bits_[0] |= 0x00000002u;
262 inline void LoggerRequest::clear_has_requested_state() {
263 _has_bits_[0] &= ~0x00000002u;
266 requested_state_ = 1;
267 clear_has_requested_state();
275 set_has_requested_state();
276 requested_state_ = value;
282 return (_has_bits_[0] & 0x00000001u) != 0;
284 inline void LoggerRequest::set_has_close_log() {
285 _has_bits_[0] |= 0x00000001u;
287 inline void LoggerRequest::clear_has_close_log() {
288 _has_bits_[0] &= ~0x00000001u;
292 clear_has_close_log();
305 #pragma GCC diagnostic pop
319 inline const EnumDescriptor* GetEnumDescriptor< ::goby::middleware::protobuf::LoggerRequest_State>() {
328 #endif // PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2flogger_2eproto