4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fdouble_5fv_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fdouble_5fv_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>
34 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2fdouble_5fv_2eproto GZ_MSGS_VISIBLE
39 static const ::google::protobuf::internal::ParseTableField entries[];
40 static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
41 static const ::google::protobuf::internal::ParseTable schema[1];
42 static const ::google::protobuf::internal::FieldMetadata field_metadata[];
43 static const ::google::protobuf::internal::SerializationTable serialization_table[];
44 static const ::google::protobuf::uint32 offsets[];
51 class Double_VDefaultTypeInternal;
57 template<> GZ_MSGS_VISIBLE ::gz::msgs::Double_V* Arena::CreateMaybeMessage<::gz::msgs::Double_V>(Arena*);
65 class GZ_MSGS_VISIBLE
Double_V :
public ::google::protobuf::Message {
79 *
this = ::std::move(from);
82 inline Double_V& operator=(Double_V&& from) noexcept {
83 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
84 if (
this != &from) InternalSwap(&from);
91 static const ::google::protobuf::Descriptor* descriptor();
92 static const Double_V& default_instance();
94 static void InitAsDefaultInstance();
96 return reinterpret_cast<const Double_V*
>(
99 static constexpr
int kIndexInFileMessages =
110 return CreateMaybeMessage<Double_V>(NULL);
114 return CreateMaybeMessage<Double_V>(arena);
116 void CopyFrom(const ::google::protobuf::Message& from)
final;
117 void MergeFrom(const ::google::protobuf::Message& from)
final;
118 void CopyFrom(
const Double_V& from);
119 void MergeFrom(
const Double_V& from);
121 bool IsInitialized() const final;
123 size_t ByteSizeLong() const final;
124 bool MergePartialFromCodedStream(
125 ::
google::protobuf::io::CodedInputStream* input) final;
126 void SerializeWithCachedSizes(
127 ::
google::protobuf::io::CodedOutputStream* output) const final;
128 ::
google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
129 bool deterministic, ::
google::protobuf::uint8* target) const final;
130 int GetCachedSize() const final {
return _cached_size_.Get(); }
135 void SetCachedSize(
int size)
const final;
138 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
141 inline void* MaybeArenaPtr()
const {
146 ::google::protobuf::Metadata GetMetadata() const final;
153 int data_size() const;
155 static const
int kDataFieldNumber = 1;
156 double data(
int index) const;
157 void set_data(
int index,
double value);
158 void add_data(
double value);
159 const ::
google::protobuf::RepeatedField<
double >&
161 ::
google::protobuf::RepeatedField<
double >*
167 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
168 ::
google::protobuf::RepeatedField<
double > data_;
169 mutable
int _data_cached_byte_size_;
170 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
179 #pragma GCC diagnostic push
180 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
193 return data_.Get(index);
196 data_.Set(index, value);
203 inline const ::google::protobuf::RepeatedField< double >&
208 inline ::google::protobuf::RepeatedField< double >*
215 #pragma GCC diagnostic pop
225 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fdouble_5fv_2eproto