4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fsensor_5fnoise_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fsensor_5fnoise_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>
23 #include <google/protobuf/arena.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>
29 #include <google/protobuf/message.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 "gz/msgs/header.pb.h"
36 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2fsensor_5fnoise_2eproto GZ_MSGS_VISIBLE
41 static const ::google::protobuf::internal::ParseTableField entries[];
42 static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
43 static const ::google::protobuf::internal::ParseTable schema[1];
44 static const ::google::protobuf::internal::FieldMetadata field_metadata[];
45 static const ::google::protobuf::internal::SerializationTable serialization_table[];
46 static const ::google::protobuf::uint32 offsets[];
53 class SensorNoiseDefaultTypeInternal;
59 template<> GZ_MSGS_VISIBLE ::gz::msgs::SensorNoise* Arena::CreateMaybeMessage<::gz::msgs::SensorNoise>(Arena*);
79 return ::google::protobuf::internal::NameOfEnum(
84 return ::google::protobuf::internal::ParseNamedEnum<SensorNoise_Type>(
89 class GZ_MSGS_VISIBLE
SensorNoise :
public ::google::protobuf::Message {
103 *
this = ::std::move(from);
106 inline SensorNoise& operator=(SensorNoise&& from) noexcept {
107 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
108 if (
this != &from) InternalSwap(&from);
115 static const ::google::protobuf::Descriptor* descriptor();
116 static const SensorNoise& default_instance();
118 static void InitAsDefaultInstance();
123 static constexpr
int kIndexInFileMessages =
134 return CreateMaybeMessage<SensorNoise>(NULL);
138 return CreateMaybeMessage<SensorNoise>(arena);
140 void CopyFrom(const ::google::protobuf::Message& from)
final;
141 void MergeFrom(const ::google::protobuf::Message& from)
final;
145 bool IsInitialized() const final;
147 size_t ByteSizeLong() const final;
148 bool MergePartialFromCodedStream(
149 ::
google::protobuf::io::CodedInputStream* input) final;
150 void SerializeWithCachedSizes(
151 ::
google::protobuf::io::CodedOutputStream* output) const final;
152 ::
google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
153 bool deterministic, ::
google::protobuf::uint8* target) const final;
154 int GetCachedSize() const final {
return _cached_size_.Get(); }
159 void SetCachedSize(
int size)
const final;
162 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
165 inline void* MaybeArenaPtr()
const {
170 ::google::protobuf::Metadata GetMetadata() const final;
179 static const
Type GAUSSIAN_QUANTIZED =
181 static inline
bool Type_IsValid(
int value) {
188 static const int Type_ARRAYSIZE =
190 static inline const ::google::protobuf::EnumDescriptor*
205 bool has_header()
const;
207 static const int kHeaderFieldNumber = 1;
209 const ::gz::msgs::Header& _internal_header()
const;
211 const ::gz::msgs::Header& header()
const;
218 static const int kMeanFieldNumber = 3;
220 void set_mean(
double value);
224 static const int kStddevFieldNumber = 4;
225 double stddev()
const;
226 void set_stddev(
double value);
229 void clear_bias_mean();
230 static const int kBiasMeanFieldNumber = 5;
231 double bias_mean()
const;
232 void set_bias_mean(
double value);
235 void clear_bias_stddev();
236 static const int kBiasStddevFieldNumber = 6;
237 double bias_stddev()
const;
238 void set_bias_stddev(
double value);
241 void clear_precision();
242 static const int kPrecisionFieldNumber = 7;
244 void set_precision(
double value);
247 void clear_dynamic_bias_stddev();
248 static const int kDynamicBiasStddevFieldNumber = 8;
249 double dynamic_bias_stddev()
const;
250 void set_dynamic_bias_stddev(
double value);
253 void clear_dynamic_bias_correlation_time();
254 static const int kDynamicBiasCorrelationTimeFieldNumber = 9;
255 double dynamic_bias_correlation_time()
const;
256 void set_dynamic_bias_correlation_time(
double value);
260 static const int kTypeFieldNumber = 2;
267 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
274 double dynamic_bias_stddev_;
275 double dynamic_bias_correlation_time_;
277 mutable ::google::protobuf::internal::CachedSize _cached_size_;
278 friend struct ::protobuf_gz_2fmsgs_2fsensor_5fnoise_2eproto::TableStruct;
286 #pragma GCC diagnostic push
287 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
295 inline const ::gz::msgs::Header& SensorNoise::_internal_header()
const {
299 const ::gz::msgs::Header* p = header_;
313 if (header_ == NULL) {
314 auto* p = CreateMaybeMessage<::gz::msgs::Header>(GetArenaNoVirtual());
321 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
322 if (message_arena == NULL) {
323 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(header_);
326 ::google::protobuf::Arena* submessage_arena = NULL;
327 if (message_arena != submessage_arena) {
328 header = ::google::protobuf::internal::GetOwnedMessage(
329 message_arena,
header, submessage_arena);
405 bias_stddev_ = value;
425 dynamic_bias_stddev_ = 0;
429 return dynamic_bias_stddev_;
433 dynamic_bias_stddev_ = value;
439 dynamic_bias_correlation_time_ = 0;
443 return dynamic_bias_correlation_time_;
447 dynamic_bias_correlation_time_ = value;
452 #pragma GCC diagnostic pop
465 inline const EnumDescriptor* GetEnumDescriptor< ::gz::msgs::SensorNoise_Type>() {
474 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fsensor_5fnoise_2eproto