4 #ifndef PROTOBUF_ignition_2fmsgs_2fimagegeom_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2fimagegeom_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> 32 #pragma GCC system_header 35 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251) 38 #include <sys/sysmacros.h> 56 class IGNITION_MSGS_VISIBLE
ImageGeom :
public ::google::protobuf::Message {
68 static const ::google::protobuf::Descriptor* descriptor();
69 static const ImageGeom& default_instance();
77 ImageGeom* New(::google::protobuf::Arena* arena)
const;
78 void CopyFrom(const ::google::protobuf::Message& from);
79 void MergeFrom(const ::google::protobuf::Message& from);
83 bool IsInitialized()
const;
86 bool MergePartialFromCodedStream(
87 ::google::protobuf::io::CodedInputStream* input);
88 void SerializeWithCachedSizes(
89 ::google::protobuf::io::CodedOutputStream* output)
const;
90 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
91 bool deterministic, ::google::protobuf::uint8* output)
const;
93 return InternalSerializeWithCachedSizesToArray(
false, output);
99 void SetCachedSize(
int size)
const;
102 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
103 return _internal_metadata_.arena();
105 inline void* MaybeArenaPtr()
const {
106 return _internal_metadata_.raw_arena_ptr();
110 ::google::protobuf::Metadata GetMetadata()
const;
117 bool has_header()
const;
119 static const int kHeaderFieldNumber = 1;
120 const ::ignition::msgs::Header& header()
const;
127 static const int kUriFieldNumber = 2;
128 const ::std::string& uri()
const;
129 void set_uri(const ::std::string& value);
130 void set_uri(
const char* value);
131 void set_uri(
const char* value,
size_t size);
138 static const int kScaleFieldNumber = 3;
139 double scale()
const;
140 void set_scale(
double value);
143 void clear_threshold();
144 static const int kThresholdFieldNumber = 4;
145 ::google::protobuf::int32 threshold()
const;
146 void set_threshold(::google::protobuf::int32 value);
150 static const int kHeightFieldNumber = 5;
151 double height()
const;
152 void set_height(
double value);
155 void clear_granularity();
156 static const int kGranularityFieldNumber = 6;
157 ::google::protobuf::int32 granularity()
const;
158 void set_granularity(::google::protobuf::int32 value);
163 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
164 bool _is_default_instance_;
166 ::google::protobuf::internal::ArenaStringPtr uri_;
169 ::google::protobuf::int32 threshold_;
170 ::google::protobuf::int32 granularity_;
171 mutable int _cached_size_;
176 void InitAsDefaultInstance();
184 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 189 return !_is_default_instance_ && header_ != NULL;
192 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
197 return header_ != NULL ? *header_ : *default_instance_->header_;
201 if (header_ == NULL) {
202 header_ = new ::ignition::msgs::Header;
227 uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
231 return uri_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
235 uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
240 uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
245 uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
246 ::
std::string(reinterpret_cast<const char*>(value), size));
252 return uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
257 return uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
265 uri_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), uri);
321 granularity_ = value;
325 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 341 #endif // PROTOBUF_ignition_2fmsgs_2fimagegeom_2eproto__INCLUDED void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fimagegeom_2eproto()
void set_allocated_header(::ignition::msgs::Header *header)
Definition: imagegeom.pb.h:214
::google::protobuf::int32 granularity() const
Definition: imagegeom.pb.h:315
void protobuf_ShutdownFile_ignition_2fmsgs_2fimagegeom_2eproto()
const ::ignition::msgs::Header & header() const
Definition: imagegeom.pb.h:195
int GetCachedSize() const
Definition: imagegeom.pb.h:95
::ignition::msgs::Header * release_header()
Definition: imagegeom.pb.h:207
const ::std::string & uri() const
Definition: imagegeom.pb.h:229
void clear_header()
Definition: imagegeom.pb.h:191
void set_granularity(::google::protobuf::int32 value)
Definition: imagegeom.pb.h:319
::std::string * release_uri()
Definition: imagegeom.pb.h:254
void clear_height()
Definition: imagegeom.pb.h:298
void clear_scale()
Definition: imagegeom.pb.h:270
double scale() const
Definition: imagegeom.pb.h:273
::std::string * mutable_uri()
Definition: imagegeom.pb.h:249
std::unique_ptr< ImageGeom > ImageGeomUniquePtr
Definition: imagegeom.pb.h:327
double height() const
Definition: imagegeom.pb.h:301
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: imagegeom.pb.h:92
void set_height(double value)
Definition: imagegeom.pb.h:305
bool has_header() const
Definition: imagegeom.pb.h:188
Definition: imagegeom.pb.h:56
void clear_uri()
Definition: imagegeom.pb.h:226
void set_threshold(::google::protobuf::int32 value)
Definition: imagegeom.pb.h:291
::ignition::msgs::Header * mutable_header()
Definition: imagegeom.pb.h:199
std::shared_ptr< ImageGeom > ImageGeomSharedPtr
Definition: imagegeom.pb.h:329
void set_allocated_uri(::std::string *uri)
Definition: imagegeom.pb.h:259
::google::protobuf::int32 threshold() const
Definition: imagegeom.pb.h:287
void set_scale(double value)
Definition: imagegeom.pb.h:277
ImageGeom & operator=(const ImageGeom &from)
Definition: imagegeom.pb.h:63
void set_uri(const ::std::string &value)
Definition: imagegeom.pb.h:233
std::unique_ptr< const ImageGeom > ConstImageGeomUniquePtr
Definition: imagegeom.pb.h:328
void clear_threshold()
Definition: imagegeom.pb.h:284
ImageGeom * New() const
Definition: imagegeom.pb.h:75
void clear_granularity()
Definition: imagegeom.pb.h:312
void protobuf_AssignDesc_ignition_2fmsgs_2fimagegeom_2eproto()
std::shared_ptr< const ImageGeom > ConstImageGeomSharedPtr
Definition: imagegeom.pb.h:330