4 #ifndef PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fhdf5_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fhdf5_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/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_2fhdf5_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[1];
54 namespace middleware {
57 class HDF5ConfigDefaultTypeInternal;
68 namespace middleware {
87 *
this = ::std::move(from);
91 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
92 if (
this != &from) InternalSwap(&from);
100 return _internal_metadata_.unknown_fields();
103 return _internal_metadata_.mutable_unknown_fields();
106 static const ::google::protobuf::Descriptor*
descriptor();
125 return CreateMaybeMessage<HDF5Config>(NULL);
129 return CreateMaybeMessage<HDF5Config>(arena);
131 void CopyFrom(const ::google::protobuf::Message& from)
final;
132 void MergeFrom(const ::google::protobuf::Message& from)
final;
140 ::
google::protobuf::io::CodedInputStream* input) final;
142 ::
google::protobuf::io::CodedOutputStream* output) const final;
144 bool deterministic, ::
google::protobuf::uint8* target) const final;
150 void SetCachedSize(
int size)
const final;
153 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
156 inline void* MaybeArenaPtr()
const {
171 const ::std::
string&
input_file(
int index) const;
186 const ::google::protobuf::RepeatedPtrField< ::std::string>&
input_file()
const;
209 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
211 const ::goby::middleware::protobuf::AppConfig&
app()
const;
216 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(
HDF5Config)
220 void clear_has_app();
221 void set_has_output_file();
222 void clear_has_output_file();
224 ::google::protobuf::internal::ExtensionSet _extensions_;
226 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
227 ::google::protobuf::internal::HasBits<1> _has_bits_;
228 mutable ::google::protobuf::internal::CachedSize _cached_size_;
230 ::google::protobuf::internal::ArenaStringPtr output_file_;
232 friend struct ::protobuf_goby_2fmiddleware_2fprotobuf_2fhdf5_2eproto::TableStruct;
240 #pragma GCC diagnostic push
241 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
247 return (_has_bits_[0] & 0x00000002u) != 0;
249 inline void HDF5Config::set_has_app() {
250 _has_bits_[0] |= 0x00000002u;
252 inline void HDF5Config::clear_has_app() {
253 _has_bits_[0] &= ~0x00000002u;
255 inline const ::goby::middleware::protobuf::AppConfig& HDF5Config::_internal_app()
const {
259 const ::goby::middleware::protobuf::AppConfig* p = app_;
274 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
282 if (message_arena == NULL) {
287 if (message_arena != submessage_arena) {
288 app = ::google::protobuf::internal::GetOwnedMessage(
289 message_arena,
app, submessage_arena);
301 return (_has_bits_[0] & 0x00000001u) != 0;
303 inline void HDF5Config::set_has_output_file() {
304 _has_bits_[0] |= 0x00000001u;
306 inline void HDF5Config::clear_has_output_file() {
307 _has_bits_[0] &= ~0x00000001u;
311 clear_has_output_file();
315 return output_file_.GetNoArena();
318 set_has_output_file();
324 set_has_output_file();
325 output_file_.SetNoArena(
331 GOOGLE_DCHECK(value != NULL);
332 set_has_output_file();
337 set_has_output_file();
339 ::std::string(
reinterpret_cast<const char*
>(value), size));
343 set_has_output_file();
352 clear_has_output_file();
357 set_has_output_file();
359 clear_has_output_file();
367 return input_file_.size();
374 return input_file_.Get(index);
378 return input_file_.Mutable(index);
382 input_file_.Mutable(index)->assign(value);
387 input_file_.Mutable(index)->assign(std::move(value));
391 GOOGLE_DCHECK(value != NULL);
392 input_file_.Mutable(index)->assign(value);
396 input_file_.Mutable(index)->assign(
397 reinterpret_cast<const char*
>(value), size);
402 return input_file_.Add();
405 input_file_.Add()->assign(value);
410 input_file_.Add(std::move(value));
415 GOOGLE_DCHECK(value != NULL);
416 input_file_.Add()->assign(value);
420 input_file_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
423 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
428 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
435 #pragma GCC diagnostic pop
446 #endif // PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fhdf5_2eproto