4 #ifndef PROTOBUF_ignition_2fmsgs_2fsensor_5fv_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2fsensor_5fv_2eproto__INCLUDED 9 #include <google/protobuf/stubs/common.h> 11 #if GOOGLE_PROTOBUF_VERSION < 3000000 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 3000000 < 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/arena.h> 23 #include <google/protobuf/arenastring.h> 24 #include <google/protobuf/generated_message_util.h> 25 #include <google/protobuf/metadata.h> 26 #include <google/protobuf/message.h> 27 #include <google/protobuf/repeated_field.h> 28 #include <google/protobuf/extension_set.h> 29 #include <google/protobuf/unknown_field_set.h> 33 #pragma GCC system_header 36 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251) 39 #include <sys/sysmacros.h> 57 class IGNITION_MSGS_VISIBLE
Sensor_V :
public ::google::protobuf::Message {
69 static const ::google::protobuf::Descriptor* descriptor();
70 static const Sensor_V& default_instance();
78 Sensor_V* New(::google::protobuf::Arena* arena)
const;
79 void CopyFrom(const ::google::protobuf::Message& from);
80 void MergeFrom(const ::google::protobuf::Message& from);
82 void MergeFrom(
const Sensor_V& from);
84 bool IsInitialized()
const;
87 bool MergePartialFromCodedStream(
88 ::google::protobuf::io::CodedInputStream* input);
89 void SerializeWithCachedSizes(
90 ::google::protobuf::io::CodedOutputStream* output)
const;
91 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
92 bool deterministic, ::google::protobuf::uint8* output)
const;
94 return InternalSerializeWithCachedSizesToArray(
false, output);
100 void SetCachedSize(
int size)
const;
103 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
104 return _internal_metadata_.arena();
106 inline void* MaybeArenaPtr()
const {
107 return _internal_metadata_.raw_arena_ptr();
111 ::google::protobuf::Metadata GetMetadata()
const;
118 bool has_header()
const;
120 static const int kHeaderFieldNumber = 1;
121 const ::ignition::msgs::Header& header()
const;
127 int sensors_size()
const;
128 void clear_sensors();
129 static const int kSensorsFieldNumber = 2;
130 const ::ignition::msgs::Sensor& sensors(
int index)
const;
133 ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Sensor >*
135 const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Sensor >&
141 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
142 bool _is_default_instance_;
144 ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Sensor > sensors_;
145 mutable int _cached_size_;
150 void InitAsDefaultInstance();
158 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 163 return !_is_default_instance_ && header_ != NULL;
166 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
171 return header_ != NULL ? *header_ : *default_instance_->header_;
175 if (header_ == NULL) {
176 header_ = new ::ignition::msgs::Header;
201 return sensors_.size();
208 return sensors_.Get(index);
212 return sensors_.Mutable(index);
216 return sensors_.Add();
218 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Sensor >*
223 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Sensor >&
229 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 245 #endif // PROTOBUF_ignition_2fmsgs_2fsensor_5fv_2eproto__INCLUDED int GetCachedSize() const
Definition: sensor_v.pb.h:96
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: sensor_v.pb.h:93
const ::ignition::msgs::Header & header() const
Definition: sensor_v.pb.h:169
Sensor_V * New() const
Definition: sensor_v.pb.h:76
::ignition::msgs::Header * mutable_header()
Definition: sensor_v.pb.h:173
::ignition::msgs::Header * release_header()
Definition: sensor_v.pb.h:181
void protobuf_ShutdownFile_ignition_2fmsgs_2fsensor_5fv_2eproto()
bool has_header() const
Definition: sensor_v.pb.h:162
void clear_sensors()
Definition: sensor_v.pb.h:203
void clear_header()
Definition: sensor_v.pb.h:165
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Sensor > & sensors() const
Definition: sensor_v.pb.h:224
::ignition::msgs::Sensor * add_sensors()
Definition: sensor_v.pb.h:214
std::shared_ptr< Sensor_V > Sensor_VSharedPtr
Definition: sensor_v.pb.h:233
void protobuf_AssignDesc_ignition_2fmsgs_2fsensor_5fv_2eproto()
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fsensor_5fv_2eproto()
std::unique_ptr< const Sensor_V > ConstSensor_VUniquePtr
Definition: sensor_v.pb.h:232
void set_allocated_header(::ignition::msgs::Header *header)
Definition: sensor_v.pb.h:188
int sensors_size() const
Definition: sensor_v.pb.h:200
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Sensor > * mutable_sensors()
Definition: sensor_v.pb.h:219
Definition: sensor.pb.h:66
std::shared_ptr< const Sensor_V > ConstSensor_VSharedPtr
Definition: sensor_v.pb.h:234
Definition: sensor_v.pb.h:57
std::unique_ptr< Sensor_V > Sensor_VUniquePtr
Definition: sensor_v.pb.h:231
Sensor_V & operator=(const Sensor_V &from)
Definition: sensor_v.pb.h:64