4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fdata_5fload_5foptions_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fdata_5fload_5foptions_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/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
34 #include "gz/msgs/spherical_coordinates.pb.h"
36 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2fdata_5fload_5foptions_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[1];
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 DataLoadPathOptions;
53 class DataLoadPathOptionsDefaultTypeInternal;
59 template<> GZ_MSGS_VISIBLE ::gz::msgs::DataLoadPathOptions* Arena::CreateMaybeMessage<::gz::msgs::DataLoadPathOptions>(Arena*);
78 return ::google::protobuf::internal::NameOfEnum(
83 return ::google::protobuf::internal::ParseNamedEnum<DataLoadPathOptions_DataAngularUnits>(
102 *
this = ::std::move(from);
105 inline DataLoadPathOptions& operator=(DataLoadPathOptions&& from) noexcept {
106 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
107 if (
this != &from) InternalSwap(&from);
114 static const ::google::protobuf::Descriptor* descriptor();
115 static const DataLoadPathOptions& default_instance();
117 static void InitAsDefaultInstance();
122 static constexpr
int kIndexInFileMessages =
133 return CreateMaybeMessage<DataLoadPathOptions>(NULL);
137 return CreateMaybeMessage<DataLoadPathOptions>(arena);
139 void CopyFrom(const ::google::protobuf::Message& from)
final;
140 void MergeFrom(const ::google::protobuf::Message& from)
final;
144 bool IsInitialized() const final;
146 size_t ByteSizeLong() const final;
147 bool MergePartialFromCodedStream(
148 ::
google::protobuf::io::CodedInputStream* input) final;
149 void SerializeWithCachedSizes(
150 ::
google::protobuf::io::CodedOutputStream* output) const final;
151 ::
google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
152 bool deterministic, ::
google::protobuf::uint8* target) const final;
153 int GetCachedSize() const final {
return _cached_size_.Get(); }
158 void SetCachedSize(
int size)
const final;
161 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
164 inline void* MaybeArenaPtr()
const {
169 ::google::protobuf::Metadata GetMetadata() const final;
178 static inline
bool DataAngularUnits_IsValid(
int value) {
185 static const int DataAngularUnits_ARRAYSIZE =
187 static inline const ::google::protobuf::EnumDescriptor*
203 static const int kPathFieldNumber = 1;
204 const ::std::string& path()
const;
205 void set_path(const ::std::string& value);
209 void set_path(
const char* value);
210 void set_path(
const char* value,
size_t size);
217 static const int kTimeFieldNumber = 2;
218 const ::std::string& time()
const;
219 void set_time(const ::std::string& value);
223 void set_time(
const char* value);
224 void set_time(
const char* value,
size_t size);
231 static const int kXFieldNumber = 4;
232 const ::std::string& x()
const;
233 void set_x(const ::std::string& value);
237 void set_x(
const char* value);
238 void set_x(
const char* value,
size_t size);
245 static const int kYFieldNumber = 5;
246 const ::std::string& y()
const;
247 void set_y(const ::std::string& value);
251 void set_y(
const char* value);
252 void set_y(
const char* value,
size_t size);
259 static const int kZFieldNumber = 6;
260 const ::std::string& z()
const;
261 void set_z(const ::std::string& value);
265 void set_z(
const char* value);
266 void set_z(
const char* value,
size_t size);
272 void clear_static_time();
273 static const int kStaticTimeFieldNumber = 3;
274 bool static_time()
const;
275 void set_static_time(
bool value);
279 static const int kUnitsFieldNumber = 7;
284 void clear_coordinate_type();
285 static const int kCoordinateTypeFieldNumber = 8;
292 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
293 ::google::protobuf::internal::ArenaStringPtr path_;
294 ::google::protobuf::internal::ArenaStringPtr time_;
295 ::google::protobuf::internal::ArenaStringPtr x_;
296 ::google::protobuf::internal::ArenaStringPtr y_;
297 ::google::protobuf::internal::ArenaStringPtr z_;
300 int coordinate_type_;
301 mutable ::google::protobuf::internal::CachedSize _cached_size_;
302 friend struct ::protobuf_gz_2fmsgs_2fdata_5fload_5foptions_2eproto::TableStruct;
310 #pragma GCC diagnostic push
311 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
317 path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
321 return path_.GetNoArena();
325 path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
332 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
337 GOOGLE_DCHECK(value != NULL);
339 path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
344 path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
345 ::
std::string(
reinterpret_cast<const char*
>(value), size));
351 return path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
356 return path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
364 path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
path);
370 time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
374 return time_.GetNoArena();
378 time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
385 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
390 GOOGLE_DCHECK(value != NULL);
392 time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
397 time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
398 ::
std::string(
reinterpret_cast<const char*
>(value), size));
404 return time_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
409 return time_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
417 time_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
time);
423 static_time_ =
false;
431 static_time_ = value;
437 x_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
441 return x_.GetNoArena();
445 x_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
452 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
457 GOOGLE_DCHECK(value != NULL);
459 x_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
464 x_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
465 ::
std::string(
reinterpret_cast<const char*
>(value), size));
471 return x_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
476 return x_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
484 x_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
x);
490 y_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
494 return y_.GetNoArena();
498 y_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
505 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
510 GOOGLE_DCHECK(value != NULL);
512 y_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
517 y_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
518 ::
std::string(
reinterpret_cast<const char*
>(value), size));
524 return y_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
529 return y_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
537 y_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
y);
543 z_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
547 return z_.GetNoArena();
551 z_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
558 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
563 GOOGLE_DCHECK(value != NULL);
565 z_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
570 z_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
571 ::
std::string(
reinterpret_cast<const char*
>(value), size));
577 return z_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
582 return z_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
590 z_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
z);
610 coordinate_type_ = 0;
618 coordinate_type_ = value;
623 #pragma GCC diagnostic pop
636 inline const EnumDescriptor* GetEnumDescriptor< ::gz::msgs::DataLoadPathOptions_DataAngularUnits>() {
645 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fdata_5fload_5foptions_2eproto