4 #ifndef PROTOBUF_INCLUDED_goby_2ftest_2fmiddleware_2fhdf5_2ftest2_2eproto
5 #define PROTOBUF_INCLUDED_goby_2ftest_2fmiddleware_2fhdf5_2ftest2_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>
33 #include <boost/units/quantity.hpp>
34 #include <boost/units/absolute.hpp>
35 #include <boost/units/dimensionless_type.hpp>
36 #include <boost/units/make_scaled_unit.hpp>
38 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2ftest_2fmiddleware_2fhdf5_2ftest2_2eproto
43 static const ::google::protobuf::internal::ParseTableField
entries[];
44 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
45 static const ::google::protobuf::internal::ParseTable
schema[3];
54 namespace middleware {
57 class BDefaultTypeInternal;
60 class FDefaultTypeInternal;
63 class TestHDF5MessageDefaultTypeInternal;
78 namespace middleware {
97 *
this = ::std::move(from);
101 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
102 if (
this != &from) InternalSwap(&from);
110 return _internal_metadata_.unknown_fields();
113 return _internal_metadata_.mutable_unknown_fields();
116 static const ::google::protobuf::Descriptor*
descriptor();
135 return CreateMaybeMessage<TestHDF5Message>(NULL);
139 return CreateMaybeMessage<TestHDF5Message>(arena);
141 void CopyFrom(const ::google::protobuf::Message& from)
final;
142 void MergeFrom(const ::google::protobuf::Message& from)
final;
150 ::
google::protobuf::io::CodedInputStream* input) final;
152 ::
google::protobuf::io::CodedOutputStream* output) const final;
154 bool deterministic, ::
google::protobuf::uint8* target) const final;
160 void SetCachedSize(
int size)
const final;
163 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
166 inline void* MaybeArenaPtr()
const {
181 double a(
int index) const;
182 void set_a(
int index,
double value);
183 void add_a(
double value);
184 const ::
google::protobuf::RepeatedField<
double >&
186 ::
google::protobuf::RepeatedField<
double >*
194 ::
google::protobuf::RepeatedPtrField< ::
goby::test::middleware::protobuf::
B >*
196 const ::
goby::test::middleware::protobuf::
B&
b(
int index) const;
197 ::
goby::test::middleware::protobuf::
B*
add_b();
198 const ::
google::protobuf::RepeatedPtrField< ::
goby::test::middleware::protobuf::
B >&
204 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
205 ::
google::protobuf::internal::HasBits<1> _has_bits_;
206 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
207 ::
google::protobuf::RepeatedField<
double > a_;
208 ::
google::protobuf::RepeatedPtrField< ::
goby::test::middleware::protobuf::
B > b_;
227 *
this = ::std::move(from);
231 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
232 if (
this != &from) InternalSwap(&from);
240 return _internal_metadata_.unknown_fields();
243 return _internal_metadata_.mutable_unknown_fields();
246 static const ::google::protobuf::Descriptor*
descriptor();
251 return reinterpret_cast<const B*
>(
265 return CreateMaybeMessage<B>(NULL);
269 return CreateMaybeMessage<B>(arena);
271 void CopyFrom(const ::google::protobuf::Message& from)
final;
272 void MergeFrom(const ::google::protobuf::Message& from)
final;
280 ::
google::protobuf::io::CodedInputStream* input) final;
282 ::
google::protobuf::io::CodedOutputStream* output) const final;
284 bool deterministic, ::
google::protobuf::uint8* target) const final;
290 void SetCachedSize(
int size)
const final;
291 void InternalSwap(
B* other);
293 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
296 inline void* MaybeArenaPtr()
const {
310 static const
int kCFieldNumber = 2;
311 double c(
int index) const;
312 void set_c(
int index,
double value);
313 void add_c(
double value);
314 const ::
google::protobuf::RepeatedField<
double >&
316 ::
google::protobuf::RepeatedField<
double >*
322 static const
int kDFieldNumber = 3;
323 double d(
int index) const;
324 void set_d(
int index,
double value);
325 void add_d(
double value);
326 const ::
google::protobuf::RepeatedField<
double >&
328 ::
google::protobuf::RepeatedField<
double >*
334 static const
int kEFieldNumber = 4;
336 void set_e(
int index, ::
google::protobuf::
int32 value);
346 static const
int kFFieldNumber = 5;
347 ::
goby::test::middleware::protobuf::
F* mutable_f(
int index);
348 ::
google::protobuf::RepeatedPtrField< ::
goby::test::middleware::protobuf::
F >*
350 const ::
goby::test::middleware::protobuf::
F& f(
int index) const;
351 ::
goby::test::middleware::protobuf::
F* add_f();
352 const ::
google::protobuf::RepeatedPtrField< ::
goby::test::middleware::protobuf::
F >&
358 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
359 ::
google::protobuf::internal::HasBits<1> _has_bits_;
360 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
361 ::
google::protobuf::RepeatedField<
double > c_;
362 ::
google::protobuf::RepeatedField<
double > d_;
364 ::
google::protobuf::RepeatedPtrField< ::
goby::test::middleware::protobuf::
F > f_;
383 *
this = ::std::move(from);
387 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
388 if (
this != &from) InternalSwap(&from);
396 return _internal_metadata_.unknown_fields();
399 return _internal_metadata_.mutable_unknown_fields();
402 static const ::google::protobuf::Descriptor*
descriptor();
407 return reinterpret_cast<const F*
>(
421 return CreateMaybeMessage<F>(NULL);
425 return CreateMaybeMessage<F>(arena);
427 void CopyFrom(const ::google::protobuf::Message& from)
final;
428 void MergeFrom(const ::google::protobuf::Message& from)
final;
436 ::
google::protobuf::io::CodedInputStream* input) final;
438 ::
google::protobuf::io::CodedOutputStream* output) const final;
440 bool deterministic, ::
google::protobuf::uint8* target) const final;
446 void SetCachedSize(
int size)
const final;
447 void InternalSwap(
F* other);
449 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
452 inline void* MaybeArenaPtr()
const {
466 static const
int kGFieldNumber = 1;
467 double g(
int index) const;
468 void set_g(
int index,
double value);
469 void add_g(
double value);
470 const ::
google::protobuf::RepeatedField<
double >&
472 ::
google::protobuf::RepeatedField<
double >*
478 static const
int kHFieldNumber = 2;
487 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
488 ::
google::protobuf::internal::HasBits<1> _has_bits_;
489 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
490 ::
google::protobuf::RepeatedField<
double > g_;
500 #pragma GCC diagnostic push
501 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
514 return a_.Get(index);
517 a_.Set(index, value);
524 inline const ::google::protobuf::RepeatedField< double >&
529 inline ::google::protobuf::RepeatedField< double >*
544 return b_.Mutable(index);
546 inline ::google::protobuf::RepeatedPtrField< ::goby::test::middleware::protobuf::B >*
553 return b_.Get(index);
559 inline const ::google::protobuf::RepeatedPtrField< ::goby::test::middleware::protobuf::B >&
576 inline double B::c(
int index)
const {
578 return c_.Get(index);
581 c_.Set(index, value);
588 inline const ::google::protobuf::RepeatedField< double >&
593 inline ::google::protobuf::RepeatedField< double >*
606 inline double B::d(
int index)
const {
608 return d_.Get(index);
611 d_.Set(index, value);
618 inline const ::google::protobuf::RepeatedField< double >&
623 inline ::google::protobuf::RepeatedField< double >*
638 return e_.Get(index);
641 e_.Set(index, value);
648 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
653 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
666 inline ::goby::test::middleware::protobuf::F*
B::mutable_f(
int index) {
668 return f_.Mutable(index);
670 inline ::google::protobuf::RepeatedPtrField< ::goby::test::middleware::protobuf::F >*
675 inline const ::goby::test::middleware::protobuf::F&
B::f(
int index)
const {
677 return f_.Get(index);
679 inline ::goby::test::middleware::protobuf::F*
B::add_f() {
683 inline const ::google::protobuf::RepeatedPtrField< ::goby::test::middleware::protobuf::F >&
700 inline double F::g(
int index)
const {
702 return g_.Get(index);
705 g_.Set(index, value);
712 inline const ::google::protobuf::RepeatedField< double >&
717 inline ::google::protobuf::RepeatedField< double >*
725 return (_has_bits_[0] & 0x00000001u) != 0;
727 inline void F::set_has_h() {
728 _has_bits_[0] |= 0x00000001u;
730 inline void F::clear_has_h() {
731 _has_bits_[0] &= ~0x00000001u;
748 #pragma GCC diagnostic pop
764 #endif // PROTOBUF_INCLUDED_goby_2ftest_2fmiddleware_2fhdf5_2ftest2_2eproto