Go to the documentation of this file.
4 #ifndef PROTOBUF_INCLUDED_hellorad_2eproto
5 #define PROTOBUF_INCLUDED_hellorad_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006000
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 3006000 < 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_hellorad_2eproto
39 static const ::google::protobuf::internal::ParseTableField
entries[];
40 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
41 static const ::google::protobuf::internal::ParseTable
schema[2];
44 static const ::google::protobuf::uint32
offsets[];
49 class RepTestDefaultTypeInternal;
52 class ReqTestDefaultTypeInternal;
56 template<>
::RepTest* Arena::CreateMaybeMessage<::RepTest>(Arena*);
57 template<>
::ReqTest* Arena::CreateMaybeMessage<::ReqTest>(Arena*);
63 class ReqTest :
public ::google::protobuf::Message {
77 *
this = ::std::move(from);
81 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
82 if (
this != &from) InternalSwap(&from);
89 static const ::google::protobuf::Descriptor*
descriptor();
94 return reinterpret_cast<const ReqTest*
>(
108 return CreateMaybeMessage<ReqTest>(NULL);
112 return CreateMaybeMessage<ReqTest>(arena);
114 void CopyFrom(const ::google::protobuf::Message& from)
final;
115 void MergeFrom(const ::google::protobuf::Message& from)
final;
123 ::
google::protobuf::io::CodedInputStream* input) final;
125 ::
google::protobuf::io::CodedOutputStream* output) const final;
127 bool deterministic, ::
google::protobuf::uint8*
target) const final;
133 void SetCachedSize(
int size)
const final;
134 void InternalSwap(
ReqTest* other);
136 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
139 inline void* MaybeArenaPtr()
const {
167 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
168 ::google::protobuf::internal::ArenaStringPtr message_;
169 mutable ::google::protobuf::internal::CachedSize _cached_size_;
170 friend struct ::protobuf_hellorad_2eproto::TableStruct;
174 class RepTest :
public ::google::protobuf::Message {
188 *
this = ::std::move(from);
192 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
193 if (
this != &from) InternalSwap(&from);
205 return reinterpret_cast<const RepTest*
>(
219 return CreateMaybeMessage<RepTest>(NULL);
223 return CreateMaybeMessage<RepTest>(arena);
225 void CopyFrom(const ::google::protobuf::Message& from)
final;
226 void MergeFrom(const ::google::protobuf::Message& from)
final;
234 ::
google::protobuf::io::CodedInputStream* input) final;
236 ::
google::protobuf::io::CodedOutputStream* output) const final;
238 bool deterministic, ::
google::protobuf::uint8*
target) const final;
244 void SetCachedSize(
int size)
const final;
245 void InternalSwap(
RepTest* other);
247 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
250 inline void* MaybeArenaPtr()
const {
278 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
279 ::google::protobuf::internal::ArenaStringPtr message_;
280 mutable ::google::protobuf::internal::CachedSize _cached_size_;
281 friend struct ::protobuf_hellorad_2eproto::TableStruct;
289 #pragma GCC diagnostic push
290 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
296 message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
300 return message_.GetNoArena();
304 message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
311 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
316 GOOGLE_DCHECK(value != NULL);
318 message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
323 message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
324 ::std::string(
reinterpret_cast<const char*
>(value), size));
330 return message_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
335 return message_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
343 message_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
message);
353 message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
357 return message_.GetNoArena();
361 message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
368 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
373 GOOGLE_DCHECK(value != NULL);
375 message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
380 message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
381 ::std::string(
reinterpret_cast<const char*
>(value), size));
387 return message_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
392 return message_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
400 message_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
message);
405 #pragma GCC diagnostic pop
415 #endif // PROTOBUF_INCLUDED_hellorad_2eproto
int GetCachedSize() const final
Definition: hellorad.pb.h:239
static constexpr int kIndexInFileMessages
Definition: hellorad.pb.h:97
RepTest(const RepTest &from)
static const ::google::protobuf::Descriptor * descriptor()
static void InitAsDefaultInstance()
Definition: hellorad.pb.h:63
static const ::google::protobuf::Descriptor * descriptor()
static const ::google::protobuf::internal::ParseTable schema[2]
Definition: hellorad.pb.h:41
static const int kMessageFieldNumber
Definition: hellorad.pb.h:152
ReqTest & operator=(const ReqTest &from)
Definition: hellorad.pb.h:70
Definition: hellorad.pb.h:36
static const RepTest & default_instance()
int GetCachedSize() const final
Definition: hellorad.pb.h:128
friend void swap(RepTest &a, RepTest &b)
Definition: hellorad.pb.h:212
friend void swap(ReqTest &a, ReqTest &b)
Definition: hellorad.pb.h:101
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
void CopyFrom(const ::google::protobuf::Message &from) final
::std::string * mutable_message()
Definition: hellorad.pb.h:384
ReqTest * New(::google::protobuf::Arena *arena) const final
Definition: hellorad.pb.h:111
static const int kMessageFieldNumber
Definition: hellorad.pb.h:263
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
target
Definition: wscript:12
static const ReqTest * internal_default_instance()
Definition: hellorad.pb.h:93
void CopyFrom(const ReqTest &from)
void CopyFrom(const ::google::protobuf::Message &from) final
static const ReqTest & default_instance()
::std::string * release_message()
Definition: hellorad.pb.h:389
RepTest * New() const final
Definition: hellorad.pb.h:218
const ::std::string & message() const
Definition: hellorad.pb.h:355
void MergeFrom(const RepTest &from)
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
void MergeFrom(const ::google::protobuf::Message &from) final
RepTestDefaultTypeInternal _RepTest_default_instance_
void set_message(const ::std::string &value)
Definition: hellorad.pb.h:302
ReqTest * New() const final
Definition: hellorad.pb.h:107
void CopyFrom(const RepTest &from)
::std::string * release_message()
Definition: hellorad.pb.h:332
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
bool IsInitialized() const final
static const ::google::protobuf::uint32 offsets[]
Definition: hellorad.pb.h:44
size_t ByteSizeLong() const final
void clear_message()
Definition: hellorad.pb.h:295
static const ::google::protobuf::internal::ParseTableField entries[]
Definition: hellorad.pb.h:39
void set_allocated_message(::std::string *message)
Definition: hellorad.pb.h:394
static const ::google::protobuf::internal::SerializationTable serialization_table[]
Definition: hellorad.pb.h:43
void Swap(RepTest *other)
void set_allocated_message(::std::string *message)
Definition: hellorad.pb.h:337
Definition: errors.hpp:58
RepTest * New(::google::protobuf::Arena *arena) const final
Definition: hellorad.pb.h:222
void MergeFrom(const ::google::protobuf::Message &from) final
RepTest & operator=(const RepTest &from)
Definition: hellorad.pb.h:181
void set_message(const ::std::string &value)
Definition: hellorad.pb.h:359
::google::protobuf::Metadata GetMetadata() const final
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
Definition: hellorad.pb.h:40
void MergeFrom(const ReqTest &from)
bool IsInitialized() const final
void Swap(ReqTest *other)
static const RepTest * internal_default_instance()
Definition: hellorad.pb.h:204
Definition: hellorad.pb.h:174
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
const ::std::string & message() const
Definition: hellorad.pb.h:298
static void InitAsDefaultInstance()
static constexpr int kIndexInFileMessages
Definition: hellorad.pb.h:208
ReqTest(const ReqTest &from)
void clear_message()
Definition: hellorad.pb.h:352
Definition: hellorad.pb.h:38
size_t ByteSizeLong() const final
::std::string * mutable_message()
Definition: hellorad.pb.h:327
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
Definition: hellorad.pb.h:42
Definition: hellorad.pb.h:54
::google::protobuf::Metadata GetMetadata() const final
ReqTestDefaultTypeInternal _ReqTest_default_instance_