Go to the documentation of this file.
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fimagegeom_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fimagegeom_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>
35 #pragma GCC system_header
38 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #include <sys/sysmacros.h>
46 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fimagegeom_2eproto IGNITION_MSGS_VISIBLE
51 static const ::google::protobuf::internal::ParseTableField entries[];
52 static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
53 static const ::google::protobuf::internal::ParseTable schema[1];
54 static const ::google::protobuf::internal::FieldMetadata field_metadata[];
55 static const ::google::protobuf::internal::SerializationTable serialization_table[];
56 static const ::google::protobuf::uint32 offsets[];
63 class ImageGeomDefaultTypeInternal;
69 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::ImageGeom* Arena::CreateMaybeMessage<::ignition::msgs::ImageGeom>(Arena*);
77 class IGNITION_MSGS_VISIBLE
ImageGeom :
public ::google::protobuf::Message {
91 *
this = ::std::move(from);
94 inline ImageGeom& operator=(ImageGeom&& from) noexcept {
95 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
96 if (
this != &from) InternalSwap(&from);
103 static const ::google::protobuf::Descriptor* descriptor();
104 static const ImageGeom& default_instance();
106 static void InitAsDefaultInstance();
108 return reinterpret_cast<const ImageGeom*
>(
111 static constexpr
int kIndexInFileMessages =
122 return CreateMaybeMessage<ImageGeom>(NULL);
126 return CreateMaybeMessage<ImageGeom>(arena);
128 void CopyFrom(const ::google::protobuf::Message& from)
final;
129 void MergeFrom(const ::google::protobuf::Message& from)
final;
133 bool IsInitialized() const final;
135 size_t ByteSizeLong() const final;
136 bool MergePartialFromCodedStream(
137 ::
google::protobuf::io::CodedInputStream* input) final;
138 void SerializeWithCachedSizes(
139 ::
google::protobuf::io::CodedOutputStream* output) const final;
140 ::
google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
141 bool deterministic, ::
google::protobuf::uint8* target) const final;
142 int GetCachedSize() const final {
return _cached_size_.Get(); }
147 void SetCachedSize(
int size)
const final;
150 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
153 inline void* MaybeArenaPtr()
const {
158 ::google::protobuf::Metadata GetMetadata() const final;
166 static const
int kUriFieldNumber = 2;
167 const ::
std::
string& uri() const;
168 void set_uri(const ::
std::
string& value);
172 void set_uri(
const char* value);
173 void set_uri(
const char* value,
size_t size);
179 bool has_header()
const;
181 static const int kHeaderFieldNumber = 1;
183 const ::ignition::msgs::Header& _internal_header()
const;
185 const ::ignition::msgs::Header& header()
const;
192 static const int kScaleFieldNumber = 3;
193 double scale()
const;
194 void set_scale(
double value);
198 static const int kHeightFieldNumber = 5;
199 double height()
const;
200 void set_height(
double value);
203 void clear_threshold();
204 static const int kThresholdFieldNumber = 4;
205 ::google::protobuf::int32 threshold()
const;
206 void set_threshold(::google::protobuf::int32 value);
209 void clear_granularity();
210 static const int kGranularityFieldNumber = 6;
211 ::google::protobuf::int32 granularity()
const;
212 void set_granularity(::google::protobuf::int32 value);
217 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
218 ::google::protobuf::internal::ArenaStringPtr uri_;
222 ::google::protobuf::int32 threshold_;
223 ::google::protobuf::int32 granularity_;
224 mutable ::google::protobuf::internal::CachedSize _cached_size_;
225 friend struct ::protobuf_ignition_2fmsgs_2fimagegeom_2eproto::TableStruct;
233 #pragma GCC diagnostic push
234 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
242 inline const ::ignition::msgs::Header& ImageGeom::_internal_header()
const {
246 const ::ignition::msgs::Header* p = header_;
260 if (header_ == NULL) {
261 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
268 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
269 if (message_arena == NULL) {
270 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(header_);
273 ::google::protobuf::Arena* submessage_arena = NULL;
274 if (message_arena != submessage_arena) {
275 header = ::google::protobuf::internal::GetOwnedMessage(
276 message_arena,
header, submessage_arena);
288 uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
292 return uri_.GetNoArena();
296 uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
303 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
308 GOOGLE_DCHECK(value != NULL);
310 uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
315 uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
316 ::
std::string(
reinterpret_cast<const char*
>(value), size));
322 return uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
327 return uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
335 uri_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
uri);
391 granularity_ = value;
396 #pragma GCC diagnostic pop
413 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fimagegeom_2eproto
IGNITION_MSGS_VISIBLE ImageGeomDefaultTypeInternal _ImageGeom_default_instance_
::std::string * release_uri()
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:324
void clear_height()
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:368
void clear_uri()
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:287
void IGNITION_MSGS_VISIBLE AddDescriptors()
double height() const
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:371
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:258
friend void swap(ImageGeom &a, ImageGeom &b)
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:115
void Swap(ImageGeom *other)
const ::std::string & uri() const
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:290
void set_allocated_uri(::std::string *uri)
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:329
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:267
ImageGeom * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:121
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:77
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:251
void set_scale(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:347
double scale() const
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:343
void clear_threshold()
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:354
::google::protobuf::int32 threshold() const
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:357
void clear_scale()
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:340
::std::string * mutable_uri()
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:319
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:48
void clear_granularity()
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:382
bool has_header() const
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:239
std::shared_ptr< const ImageGeom > ConstImageGeomSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:402
void set_threshold(::google::protobuf::int32 value)
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:361
std::shared_ptr< ImageGeom > ImageGeomSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:401
void set_height(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:375
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
ImageGeom * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:125
std::unique_ptr< const ImageGeom > ConstImageGeomUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:400
::google::protobuf::int32 granularity() const
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:385
static const ImageGeom * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:107
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:245
void set_uri(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:294
std::unique_ptr< ImageGeom > ImageGeomUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:399
ImageGeom & operator=(const ImageGeom &from)
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:84
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:50
void set_granularity(::google::protobuf::int32 value)
Definition: build/ignition-msgs5/include/ignition/msgs/imagegeom.pb.h:389