4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2flogical_5fcamera_5fimage_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2flogical_5fcamera_5fimage_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/unknown_field_set.h>
33 #include "gz/msgs/pose.pb.h"
34 #include "gz/msgs/header.pb.h"
36 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2flogical_5fcamera_5fimage_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[2];
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[];
52 class LogicalCameraImage;
53 class LogicalCameraImageDefaultTypeInternal;
55 class LogicalCameraImage_Model;
56 class LogicalCameraImage_ModelDefaultTypeInternal;
62 template<> GZ_MSGS_VISIBLE ::gz::msgs::LogicalCameraImage* Arena::CreateMaybeMessage<::gz::msgs::LogicalCameraImage>(Arena*);
63 template<> GZ_MSGS_VISIBLE ::gz::msgs::LogicalCameraImage_Model* Arena::CreateMaybeMessage<::gz::msgs::LogicalCameraImage_Model>(Arena*);
85 *
this = ::std::move(from);
88 inline LogicalCameraImage_Model& operator=(LogicalCameraImage_Model&& from) noexcept {
89 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
90 if (
this != &from) InternalSwap(&from);
97 static const ::google::protobuf::Descriptor* descriptor();
98 static const LogicalCameraImage_Model& default_instance();
100 static void InitAsDefaultInstance();
105 static constexpr
int kIndexInFileMessages =
116 return CreateMaybeMessage<LogicalCameraImage_Model>(NULL);
120 return CreateMaybeMessage<LogicalCameraImage_Model>(arena);
122 void CopyFrom(const ::google::protobuf::Message& from)
final;
123 void MergeFrom(const ::google::protobuf::Message& from)
final;
127 bool IsInitialized() const final;
129 size_t ByteSizeLong() const final;
130 bool MergePartialFromCodedStream(
131 ::
google::protobuf::io::CodedInputStream* input) final;
132 void SerializeWithCachedSizes(
133 ::
google::protobuf::io::CodedOutputStream* output) const final;
134 ::
google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
135 bool deterministic, ::
google::protobuf::uint8* target) const final;
136 int GetCachedSize() const final {
return _cached_size_.Get(); }
141 void SetCachedSize(
int size)
const final;
144 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
147 inline void* MaybeArenaPtr()
const {
152 ::google::protobuf::Metadata GetMetadata() const final;
160 static const
int kNameFieldNumber = 1;
161 const ::
std::
string& name() const;
162 void set_name(const ::
std::
string& value);
166 void set_name(
const char* value);
167 void set_name(
const char* value,
size_t size);
173 bool has_pose()
const;
175 static const int kPoseFieldNumber = 2;
177 const ::gz::msgs::Pose& _internal_pose()
const;
179 const ::gz::msgs::Pose& pose()
const;
187 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
188 ::google::protobuf::internal::ArenaStringPtr name_;
190 mutable ::google::protobuf::internal::CachedSize _cached_size_;
191 friend struct ::protobuf_gz_2fmsgs_2flogical_5fcamera_5fimage_2eproto::TableStruct;
209 *
this = ::std::move(from);
212 inline LogicalCameraImage& operator=(LogicalCameraImage&& from) noexcept {
213 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
214 if (
this != &from) InternalSwap(&from);
221 static const ::google::protobuf::Descriptor* descriptor();
222 static const LogicalCameraImage& default_instance();
224 static void InitAsDefaultInstance();
229 static constexpr
int kIndexInFileMessages =
240 return CreateMaybeMessage<LogicalCameraImage>(NULL);
244 return CreateMaybeMessage<LogicalCameraImage>(arena);
246 void CopyFrom(const ::google::protobuf::Message& from)
final;
247 void MergeFrom(const ::google::protobuf::Message& from)
final;
251 bool IsInitialized() const final;
253 size_t ByteSizeLong() const final;
254 bool MergePartialFromCodedStream(
255 ::
google::protobuf::io::CodedInputStream* input) final;
256 void SerializeWithCachedSizes(
257 ::
google::protobuf::io::CodedOutputStream* output) const final;
258 ::
google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
259 bool deterministic, ::
google::protobuf::uint8* target) const final;
260 int GetCachedSize() const final {
return _cached_size_.Get(); }
265 void SetCachedSize(
int size)
const final;
268 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
271 inline void* MaybeArenaPtr()
const {
276 ::google::protobuf::Metadata GetMetadata() const final;
285 int model_size() const;
287 static const
int kModelFieldNumber = 3;
297 bool has_header() const;
299 static const
int kHeaderFieldNumber = 1;
301 const ::
gz::msgs::
Header& _internal_header() const;
303 const ::
gz::msgs::
Header& header() const;
304 ::
gz::msgs::
Header* release_header();
305 ::
gz::msgs::
Header* mutable_header();
306 void set_allocated_header(::
gz::msgs::
Header* header);
309 bool has_pose() const;
311 static const
int kPoseFieldNumber = 2;
313 const ::
gz::msgs::
Pose& _internal_pose() const;
315 const ::
gz::msgs::
Pose& pose() const;
316 ::
gz::msgs::
Pose* release_pose();
317 ::
gz::msgs::
Pose* mutable_pose();
318 void set_allocated_pose(::
gz::msgs::
Pose* pose);
323 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
327 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
336 #pragma GCC diagnostic push
337 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
343 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
347 return name_.GetNoArena();
351 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
358 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
363 GOOGLE_DCHECK(value != NULL);
365 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
370 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
371 ::
std::string(
reinterpret_cast<const char*
>(value), size));
377 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
382 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
390 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
396 return this != internal_default_instance() && pose_ != NULL;
398 inline const ::gz::msgs::Pose& LogicalCameraImage_Model::_internal_pose()
const {
402 const ::gz::msgs::Pose* p = pose_;
404 return p != NULL ? *p : *
reinterpret_cast<const ::
gz::msgs::Pose*
>(
417 auto* p = CreateMaybeMessage<::gz::msgs::Pose>(GetArenaNoVirtual());
424 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
425 if (message_arena == NULL) {
426 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(pose_);
429 ::google::protobuf::Arena* submessage_arena = NULL;
430 if (message_arena != submessage_arena) {
431 pose = ::google::protobuf::internal::GetOwnedMessage(
432 message_arena, pose, submessage_arena);
448 return this != internal_default_instance() && header_ != NULL;
450 inline const ::gz::msgs::Header& LogicalCameraImage::_internal_header()
const {
454 const ::gz::msgs::Header* p = header_;
468 if (header_ == NULL) {
469 auto* p = CreateMaybeMessage<::gz::msgs::Header>(GetArenaNoVirtual());
476 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
477 if (message_arena == NULL) {
478 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(header_);
481 ::google::protobuf::Arena* submessage_arena = NULL;
482 if (message_arena != submessage_arena) {
483 header = ::google::protobuf::internal::GetOwnedMessage(
484 message_arena, header, submessage_arena);
496 return this != internal_default_instance() && pose_ != NULL;
498 inline const ::gz::msgs::Pose& LogicalCameraImage::_internal_pose()
const {
502 const ::gz::msgs::Pose* p = pose_;
504 return p != NULL ? *p : *
reinterpret_cast<const ::
gz::msgs::Pose*
>(
517 auto* p = CreateMaybeMessage<::gz::msgs::Pose>(GetArenaNoVirtual());
524 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
525 if (message_arena == NULL) {
526 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(pose_);
529 ::google::protobuf::Arena* submessage_arena = NULL;
530 if (message_arena != submessage_arena) {
531 pose = ::google::protobuf::internal::GetOwnedMessage(
532 message_arena, pose, submessage_arena);
544 return model_.size();
551 return model_.Mutable(index);
553 inline ::google::protobuf::RepeatedPtrField< ::gz::msgs::LogicalCameraImage_Model >*
560 return model_.Get(index);
566 inline const ::google::protobuf::RepeatedPtrField< ::gz::msgs::LogicalCameraImage_Model >&
573 #pragma GCC diagnostic pop
585 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2flogical_5fcamera_5fimage_2eproto