4 #ifndef PROTOBUF_ignition_2fmsgs_2fversion_5frange_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2fversion_5frange_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
VersionRange :
public ::google::protobuf::Message {
68 static const ::google::protobuf::Descriptor* descriptor();
77 VersionRange* 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_min()
const;
119 static const int kMinFieldNumber = 1;
120 const ::ignition::msgs::Version& min()
const;
126 bool has_max()
const;
128 static const int kMaxFieldNumber = 2;
129 const ::ignition::msgs::Version& max()
const;
137 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
138 bool _is_default_instance_;
141 mutable int _cached_size_;
146 void InitAsDefaultInstance();
154 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 159 return !_is_default_instance_ && min_ != NULL;
162 if (GetArenaNoVirtual() == NULL && min_ != NULL)
delete min_;
167 return min_ != NULL ? *min_ : *default_instance_->min_;
172 min_ = new ::ignition::msgs::Version;
197 return !_is_default_instance_ && max_ != NULL;
200 if (GetArenaNoVirtual() == NULL && max_ != NULL)
delete max_;
205 return max_ != NULL ? *max_ : *default_instance_->max_;
210 max_ = new ::ignition::msgs::Version;
233 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 249 #endif // PROTOBUF_ignition_2fmsgs_2fversion_5frange_2eproto__INCLUDED void protobuf_AssignDesc_ignition_2fmsgs_2fversion_5frange_2eproto()
Definition: version.pb.h:55
void clear_min()
Definition: version_range.pb.h:161
VersionRange * New() const
Definition: version_range.pb.h:75
void set_allocated_min(::ignition::msgs::Version *min)
Definition: version_range.pb.h:184
const ::ignition::msgs::Version & max() const
Definition: version_range.pb.h:203
bool has_min() const
Definition: version_range.pb.h:158
std::unique_ptr< VersionRange > VersionRangeUniquePtr
Definition: version_range.pb.h:235
std::unique_ptr< const VersionRange > ConstVersionRangeUniquePtr
Definition: version_range.pb.h:236
VersionRange & operator=(const VersionRange &from)
Definition: version_range.pb.h:63
void set_allocated_max(::ignition::msgs::Version *max)
Definition: version_range.pb.h:222
Definition: version_range.pb.h:56
::ignition::msgs::Version * release_max()
Definition: version_range.pb.h:215
std::shared_ptr< VersionRange > VersionRangeSharedPtr
Definition: version_range.pb.h:237
int GetCachedSize() const
Definition: version_range.pb.h:95
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: version_range.pb.h:92
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fversion_5frange_2eproto()
std::shared_ptr< const VersionRange > ConstVersionRangeSharedPtr
Definition: version_range.pb.h:238
::ignition::msgs::Version * mutable_max()
Definition: version_range.pb.h:207
::ignition::msgs::Version * release_min()
Definition: version_range.pb.h:177
void protobuf_ShutdownFile_ignition_2fmsgs_2fversion_5frange_2eproto()
void clear_max()
Definition: version_range.pb.h:199
const ::ignition::msgs::Version & min() const
Definition: version_range.pb.h:165
bool has_max() const
Definition: version_range.pb.h:196
::ignition::msgs::Version * mutable_min()
Definition: version_range.pb.h:169