blob: 581e21a58f18b4f5632e983b2186493989134ece [file] [log] [blame]
Brian Silverman9c614bc2016-02-15 20:20:02 -05001// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: google/protobuf/api.proto
3
Austin Schuh40c16522018-10-28 20:27:54 -07004#ifndef PROTOBUF_INCLUDED_google_2fprotobuf_2fapi_2eproto
5#define PROTOBUF_INCLUDED_google_2fprotobuf_2fapi_2eproto
Brian Silverman9c614bc2016-02-15 20:20:02 -05006
7#include <string>
8
9#include <google/protobuf/stubs/common.h>
10
Austin Schuh40c16522018-10-28 20:27:54 -070011#if GOOGLE_PROTOBUF_VERSION < 3006001
Brian Silverman9c614bc2016-02-15 20:20:02 -050012#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
Austin Schuh40c16522018-10-28 20:27:54 -070016#if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
Brian Silverman9c614bc2016-02-15 20:20:02 -050017#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.
20#endif
21
Austin Schuh40c16522018-10-28 20:27:54 -070022#include <google/protobuf/io/coded_stream.h>
Brian Silverman9c614bc2016-02-15 20:20:02 -050023#include <google/protobuf/arena.h>
24#include <google/protobuf/arenastring.h>
Austin Schuh40c16522018-10-28 20:27:54 -070025#include <google/protobuf/generated_message_table_driven.h>
Brian Silverman9c614bc2016-02-15 20:20:02 -050026#include <google/protobuf/generated_message_util.h>
Austin Schuh40c16522018-10-28 20:27:54 -070027#include <google/protobuf/inlined_string_field.h>
Brian Silverman9c614bc2016-02-15 20:20:02 -050028#include <google/protobuf/metadata.h>
29#include <google/protobuf/message.h>
Austin Schuh40c16522018-10-28 20:27:54 -070030#include <google/protobuf/repeated_field.h> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
Brian Silverman9c614bc2016-02-15 20:20:02 -050032#include <google/protobuf/unknown_field_set.h>
33#include <google/protobuf/source_context.pb.h>
34#include <google/protobuf/type.pb.h>
35// @@protoc_insertion_point(includes)
Austin Schuh40c16522018-10-28 20:27:54 -070036#define PROTOBUF_INTERNAL_EXPORT_protobuf_google_2fprotobuf_2fapi_2eproto LIBPROTOBUF_EXPORT
Brian Silverman9c614bc2016-02-15 20:20:02 -050037
Austin Schuh40c16522018-10-28 20:27:54 -070038namespace protobuf_google_2fprotobuf_2fapi_2eproto {
39// Internal implementation detail -- do not use these members.
40struct LIBPROTOBUF_EXPORT TableStruct {
41 static const ::google::protobuf::internal::ParseTableField entries[];
42 static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
43 static const ::google::protobuf::internal::ParseTable schema[3];
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[];
47};
48void LIBPROTOBUF_EXPORT AddDescriptors();
49} // namespace protobuf_google_2fprotobuf_2fapi_2eproto
50namespace google {
51namespace protobuf {
52class Api;
53class ApiDefaultTypeInternal;
54LIBPROTOBUF_EXPORT extern ApiDefaultTypeInternal _Api_default_instance_;
55class Method;
56class MethodDefaultTypeInternal;
57LIBPROTOBUF_EXPORT extern MethodDefaultTypeInternal _Method_default_instance_;
58class Mixin;
59class MixinDefaultTypeInternal;
60LIBPROTOBUF_EXPORT extern MixinDefaultTypeInternal _Mixin_default_instance_;
61} // namespace protobuf
62} // namespace google
63namespace google {
64namespace protobuf {
65template<> LIBPROTOBUF_EXPORT ::google::protobuf::Api* Arena::CreateMaybeMessage<::google::protobuf::Api>(Arena*);
66template<> LIBPROTOBUF_EXPORT ::google::protobuf::Method* Arena::CreateMaybeMessage<::google::protobuf::Method>(Arena*);
67template<> LIBPROTOBUF_EXPORT ::google::protobuf::Mixin* Arena::CreateMaybeMessage<::google::protobuf::Mixin>(Arena*);
68} // namespace protobuf
69} // namespace google
Brian Silverman9c614bc2016-02-15 20:20:02 -050070namespace google {
71namespace protobuf {
72
Brian Silverman9c614bc2016-02-15 20:20:02 -050073// ===================================================================
74
Austin Schuh40c16522018-10-28 20:27:54 -070075class LIBPROTOBUF_EXPORT Api : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Api) */ {
Brian Silverman9c614bc2016-02-15 20:20:02 -050076 public:
77 Api();
78 virtual ~Api();
79
80 Api(const Api& from);
81
82 inline Api& operator=(const Api& from) {
83 CopyFrom(from);
84 return *this;
85 }
Austin Schuh40c16522018-10-28 20:27:54 -070086 #if LANG_CXX11
87 Api(Api&& from) noexcept
88 : Api() {
89 *this = ::std::move(from);
90 }
Brian Silverman9c614bc2016-02-15 20:20:02 -050091
Austin Schuh40c16522018-10-28 20:27:54 -070092 inline Api& operator=(Api&& from) noexcept {
93 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
94 if (this != &from) InternalSwap(&from);
95 } else {
96 CopyFrom(from);
97 }
98 return *this;
99 }
100 #endif
Brian Silverman9c614bc2016-02-15 20:20:02 -0500101 static const ::google::protobuf::Descriptor* descriptor();
102 static const Api& default_instance();
103
Austin Schuh40c16522018-10-28 20:27:54 -0700104 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
105 static inline const Api* internal_default_instance() {
106 return reinterpret_cast<const Api*>(
107 &_Api_default_instance_);
108 }
109 static constexpr int kIndexInFileMessages =
110 0;
111
Brian Silverman9c614bc2016-02-15 20:20:02 -0500112 void Swap(Api* other);
Austin Schuh40c16522018-10-28 20:27:54 -0700113 friend void swap(Api& a, Api& b) {
114 a.Swap(&b);
115 }
Brian Silverman9c614bc2016-02-15 20:20:02 -0500116
117 // implements Message ----------------------------------------------
118
Austin Schuh40c16522018-10-28 20:27:54 -0700119 inline Api* New() const final {
120 return CreateMaybeMessage<Api>(NULL);
121 }
Brian Silverman9c614bc2016-02-15 20:20:02 -0500122
Austin Schuh40c16522018-10-28 20:27:54 -0700123 Api* New(::google::protobuf::Arena* arena) const final {
124 return CreateMaybeMessage<Api>(arena);
125 }
126 void CopyFrom(const ::google::protobuf::Message& from) final;
127 void MergeFrom(const ::google::protobuf::Message& from) final;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500128 void CopyFrom(const Api& from);
129 void MergeFrom(const Api& from);
Austin Schuh40c16522018-10-28 20:27:54 -0700130 void Clear() final;
131 bool IsInitialized() const final;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500132
Austin Schuh40c16522018-10-28 20:27:54 -0700133 size_t ByteSizeLong() const final;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500134 bool MergePartialFromCodedStream(
Austin Schuh40c16522018-10-28 20:27:54 -0700135 ::google::protobuf::io::CodedInputStream* input) final;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500136 void SerializeWithCachedSizes(
Austin Schuh40c16522018-10-28 20:27:54 -0700137 ::google::protobuf::io::CodedOutputStream* output) const final;
138 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
139 bool deterministic, ::google::protobuf::uint8* target) const final;
140 int GetCachedSize() const final { return _cached_size_.Get(); }
141
Brian Silverman9c614bc2016-02-15 20:20:02 -0500142 private:
143 void SharedCtor();
144 void SharedDtor();
Austin Schuh40c16522018-10-28 20:27:54 -0700145 void SetCachedSize(int size) const final;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500146 void InternalSwap(Api* other);
147 private:
148 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
Austin Schuh40c16522018-10-28 20:27:54 -0700149 return NULL;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500150 }
151 inline void* MaybeArenaPtr() const {
Austin Schuh40c16522018-10-28 20:27:54 -0700152 return NULL;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500153 }
154 public:
155
Austin Schuh40c16522018-10-28 20:27:54 -0700156 ::google::protobuf::Metadata GetMetadata() const final;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500157
158 // nested types ----------------------------------------------------
159
160 // accessors -------------------------------------------------------
161
Brian Silverman9c614bc2016-02-15 20:20:02 -0500162 // repeated .google.protobuf.Method methods = 2;
163 int methods_size() const;
164 void clear_methods();
165 static const int kMethodsFieldNumber = 2;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500166 ::google::protobuf::Method* mutable_methods(int index);
Brian Silverman9c614bc2016-02-15 20:20:02 -0500167 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method >*
168 mutable_methods();
Austin Schuh40c16522018-10-28 20:27:54 -0700169 const ::google::protobuf::Method& methods(int index) const;
170 ::google::protobuf::Method* add_methods();
Brian Silverman9c614bc2016-02-15 20:20:02 -0500171 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method >&
172 methods() const;
173
174 // repeated .google.protobuf.Option options = 3;
175 int options_size() const;
176 void clear_options();
177 static const int kOptionsFieldNumber = 3;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500178 ::google::protobuf::Option* mutable_options(int index);
Brian Silverman9c614bc2016-02-15 20:20:02 -0500179 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
180 mutable_options();
Austin Schuh40c16522018-10-28 20:27:54 -0700181 const ::google::protobuf::Option& options(int index) const;
182 ::google::protobuf::Option* add_options();
Brian Silverman9c614bc2016-02-15 20:20:02 -0500183 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
184 options() const;
185
Austin Schuh40c16522018-10-28 20:27:54 -0700186 // repeated .google.protobuf.Mixin mixins = 6;
187 int mixins_size() const;
188 void clear_mixins();
189 static const int kMixinsFieldNumber = 6;
190 ::google::protobuf::Mixin* mutable_mixins(int index);
191 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >*
192 mutable_mixins();
193 const ::google::protobuf::Mixin& mixins(int index) const;
194 ::google::protobuf::Mixin* add_mixins();
195 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >&
196 mixins() const;
197
198 // string name = 1;
199 void clear_name();
200 static const int kNameFieldNumber = 1;
201 const ::std::string& name() const;
202 void set_name(const ::std::string& value);
203 #if LANG_CXX11
204 void set_name(::std::string&& value);
205 #endif
206 void set_name(const char* value);
207 void set_name(const char* value, size_t size);
208 ::std::string* mutable_name();
209 ::std::string* release_name();
210 void set_allocated_name(::std::string* name);
211
212 // string version = 4;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500213 void clear_version();
214 static const int kVersionFieldNumber = 4;
215 const ::std::string& version() const;
216 void set_version(const ::std::string& value);
Austin Schuh40c16522018-10-28 20:27:54 -0700217 #if LANG_CXX11
218 void set_version(::std::string&& value);
219 #endif
Brian Silverman9c614bc2016-02-15 20:20:02 -0500220 void set_version(const char* value);
221 void set_version(const char* value, size_t size);
222 ::std::string* mutable_version();
223 ::std::string* release_version();
224 void set_allocated_version(::std::string* version);
225
Austin Schuh40c16522018-10-28 20:27:54 -0700226 // .google.protobuf.SourceContext source_context = 5;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500227 bool has_source_context() const;
228 void clear_source_context();
229 static const int kSourceContextFieldNumber = 5;
Austin Schuh40c16522018-10-28 20:27:54 -0700230 private:
231 const ::google::protobuf::SourceContext& _internal_source_context() const;
232 public:
Brian Silverman9c614bc2016-02-15 20:20:02 -0500233 const ::google::protobuf::SourceContext& source_context() const;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500234 ::google::protobuf::SourceContext* release_source_context();
Austin Schuh40c16522018-10-28 20:27:54 -0700235 ::google::protobuf::SourceContext* mutable_source_context();
Brian Silverman9c614bc2016-02-15 20:20:02 -0500236 void set_allocated_source_context(::google::protobuf::SourceContext* source_context);
237
Austin Schuh40c16522018-10-28 20:27:54 -0700238 // .google.protobuf.Syntax syntax = 7;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500239 void clear_syntax();
240 static const int kSyntaxFieldNumber = 7;
241 ::google::protobuf::Syntax syntax() const;
242 void set_syntax(::google::protobuf::Syntax value);
243
244 // @@protoc_insertion_point(class_scope:google.protobuf.Api)
245 private:
246
247 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500248 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method > methods_;
249 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
Austin Schuh40c16522018-10-28 20:27:54 -0700250 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin > mixins_;
251 ::google::protobuf::internal::ArenaStringPtr name_;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500252 ::google::protobuf::internal::ArenaStringPtr version_;
253 ::google::protobuf::SourceContext* source_context_;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500254 int syntax_;
Austin Schuh40c16522018-10-28 20:27:54 -0700255 mutable ::google::protobuf::internal::CachedSize _cached_size_;
256 friend struct ::protobuf_google_2fprotobuf_2fapi_2eproto::TableStruct;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500257};
258// -------------------------------------------------------------------
259
Austin Schuh40c16522018-10-28 20:27:54 -0700260class LIBPROTOBUF_EXPORT Method : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Method) */ {
Brian Silverman9c614bc2016-02-15 20:20:02 -0500261 public:
262 Method();
263 virtual ~Method();
264
265 Method(const Method& from);
266
267 inline Method& operator=(const Method& from) {
268 CopyFrom(from);
269 return *this;
270 }
Austin Schuh40c16522018-10-28 20:27:54 -0700271 #if LANG_CXX11
272 Method(Method&& from) noexcept
273 : Method() {
274 *this = ::std::move(from);
275 }
Brian Silverman9c614bc2016-02-15 20:20:02 -0500276
Austin Schuh40c16522018-10-28 20:27:54 -0700277 inline Method& operator=(Method&& from) noexcept {
278 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
279 if (this != &from) InternalSwap(&from);
280 } else {
281 CopyFrom(from);
282 }
283 return *this;
284 }
285 #endif
Brian Silverman9c614bc2016-02-15 20:20:02 -0500286 static const ::google::protobuf::Descriptor* descriptor();
287 static const Method& default_instance();
288
Austin Schuh40c16522018-10-28 20:27:54 -0700289 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
290 static inline const Method* internal_default_instance() {
291 return reinterpret_cast<const Method*>(
292 &_Method_default_instance_);
293 }
294 static constexpr int kIndexInFileMessages =
295 1;
296
Brian Silverman9c614bc2016-02-15 20:20:02 -0500297 void Swap(Method* other);
Austin Schuh40c16522018-10-28 20:27:54 -0700298 friend void swap(Method& a, Method& b) {
299 a.Swap(&b);
300 }
Brian Silverman9c614bc2016-02-15 20:20:02 -0500301
302 // implements Message ----------------------------------------------
303
Austin Schuh40c16522018-10-28 20:27:54 -0700304 inline Method* New() const final {
305 return CreateMaybeMessage<Method>(NULL);
306 }
Brian Silverman9c614bc2016-02-15 20:20:02 -0500307
Austin Schuh40c16522018-10-28 20:27:54 -0700308 Method* New(::google::protobuf::Arena* arena) const final {
309 return CreateMaybeMessage<Method>(arena);
310 }
311 void CopyFrom(const ::google::protobuf::Message& from) final;
312 void MergeFrom(const ::google::protobuf::Message& from) final;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500313 void CopyFrom(const Method& from);
314 void MergeFrom(const Method& from);
Austin Schuh40c16522018-10-28 20:27:54 -0700315 void Clear() final;
316 bool IsInitialized() const final;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500317
Austin Schuh40c16522018-10-28 20:27:54 -0700318 size_t ByteSizeLong() const final;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500319 bool MergePartialFromCodedStream(
Austin Schuh40c16522018-10-28 20:27:54 -0700320 ::google::protobuf::io::CodedInputStream* input) final;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500321 void SerializeWithCachedSizes(
Austin Schuh40c16522018-10-28 20:27:54 -0700322 ::google::protobuf::io::CodedOutputStream* output) const final;
323 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
324 bool deterministic, ::google::protobuf::uint8* target) const final;
325 int GetCachedSize() const final { return _cached_size_.Get(); }
326
Brian Silverman9c614bc2016-02-15 20:20:02 -0500327 private:
328 void SharedCtor();
329 void SharedDtor();
Austin Schuh40c16522018-10-28 20:27:54 -0700330 void SetCachedSize(int size) const final;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500331 void InternalSwap(Method* other);
332 private:
333 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
Austin Schuh40c16522018-10-28 20:27:54 -0700334 return NULL;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500335 }
336 inline void* MaybeArenaPtr() const {
Austin Schuh40c16522018-10-28 20:27:54 -0700337 return NULL;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500338 }
339 public:
340
Austin Schuh40c16522018-10-28 20:27:54 -0700341 ::google::protobuf::Metadata GetMetadata() const final;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500342
343 // nested types ----------------------------------------------------
344
345 // accessors -------------------------------------------------------
346
Austin Schuh40c16522018-10-28 20:27:54 -0700347 // repeated .google.protobuf.Option options = 6;
348 int options_size() const;
349 void clear_options();
350 static const int kOptionsFieldNumber = 6;
351 ::google::protobuf::Option* mutable_options(int index);
352 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
353 mutable_options();
354 const ::google::protobuf::Option& options(int index) const;
355 ::google::protobuf::Option* add_options();
356 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
357 options() const;
358
359 // string name = 1;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500360 void clear_name();
361 static const int kNameFieldNumber = 1;
362 const ::std::string& name() const;
363 void set_name(const ::std::string& value);
Austin Schuh40c16522018-10-28 20:27:54 -0700364 #if LANG_CXX11
365 void set_name(::std::string&& value);
366 #endif
Brian Silverman9c614bc2016-02-15 20:20:02 -0500367 void set_name(const char* value);
368 void set_name(const char* value, size_t size);
369 ::std::string* mutable_name();
370 ::std::string* release_name();
371 void set_allocated_name(::std::string* name);
372
Austin Schuh40c16522018-10-28 20:27:54 -0700373 // string request_type_url = 2;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500374 void clear_request_type_url();
375 static const int kRequestTypeUrlFieldNumber = 2;
376 const ::std::string& request_type_url() const;
377 void set_request_type_url(const ::std::string& value);
Austin Schuh40c16522018-10-28 20:27:54 -0700378 #if LANG_CXX11
379 void set_request_type_url(::std::string&& value);
380 #endif
Brian Silverman9c614bc2016-02-15 20:20:02 -0500381 void set_request_type_url(const char* value);
382 void set_request_type_url(const char* value, size_t size);
383 ::std::string* mutable_request_type_url();
384 ::std::string* release_request_type_url();
385 void set_allocated_request_type_url(::std::string* request_type_url);
386
Austin Schuh40c16522018-10-28 20:27:54 -0700387 // string response_type_url = 4;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500388 void clear_response_type_url();
389 static const int kResponseTypeUrlFieldNumber = 4;
390 const ::std::string& response_type_url() const;
391 void set_response_type_url(const ::std::string& value);
Austin Schuh40c16522018-10-28 20:27:54 -0700392 #if LANG_CXX11
393 void set_response_type_url(::std::string&& value);
394 #endif
Brian Silverman9c614bc2016-02-15 20:20:02 -0500395 void set_response_type_url(const char* value);
396 void set_response_type_url(const char* value, size_t size);
397 ::std::string* mutable_response_type_url();
398 ::std::string* release_response_type_url();
399 void set_allocated_response_type_url(::std::string* response_type_url);
400
Austin Schuh40c16522018-10-28 20:27:54 -0700401 // bool request_streaming = 3;
402 void clear_request_streaming();
403 static const int kRequestStreamingFieldNumber = 3;
404 bool request_streaming() const;
405 void set_request_streaming(bool value);
406
407 // bool response_streaming = 5;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500408 void clear_response_streaming();
409 static const int kResponseStreamingFieldNumber = 5;
410 bool response_streaming() const;
411 void set_response_streaming(bool value);
412
Austin Schuh40c16522018-10-28 20:27:54 -0700413 // .google.protobuf.Syntax syntax = 7;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500414 void clear_syntax();
415 static const int kSyntaxFieldNumber = 7;
416 ::google::protobuf::Syntax syntax() const;
417 void set_syntax(::google::protobuf::Syntax value);
418
419 // @@protoc_insertion_point(class_scope:google.protobuf.Method)
420 private:
421
422 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
Austin Schuh40c16522018-10-28 20:27:54 -0700423 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500424 ::google::protobuf::internal::ArenaStringPtr name_;
425 ::google::protobuf::internal::ArenaStringPtr request_type_url_;
426 ::google::protobuf::internal::ArenaStringPtr response_type_url_;
427 bool request_streaming_;
428 bool response_streaming_;
429 int syntax_;
Austin Schuh40c16522018-10-28 20:27:54 -0700430 mutable ::google::protobuf::internal::CachedSize _cached_size_;
431 friend struct ::protobuf_google_2fprotobuf_2fapi_2eproto::TableStruct;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500432};
433// -------------------------------------------------------------------
434
Austin Schuh40c16522018-10-28 20:27:54 -0700435class LIBPROTOBUF_EXPORT Mixin : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Mixin) */ {
Brian Silverman9c614bc2016-02-15 20:20:02 -0500436 public:
437 Mixin();
438 virtual ~Mixin();
439
440 Mixin(const Mixin& from);
441
442 inline Mixin& operator=(const Mixin& from) {
443 CopyFrom(from);
444 return *this;
445 }
Austin Schuh40c16522018-10-28 20:27:54 -0700446 #if LANG_CXX11
447 Mixin(Mixin&& from) noexcept
448 : Mixin() {
449 *this = ::std::move(from);
450 }
Brian Silverman9c614bc2016-02-15 20:20:02 -0500451
Austin Schuh40c16522018-10-28 20:27:54 -0700452 inline Mixin& operator=(Mixin&& from) noexcept {
453 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
454 if (this != &from) InternalSwap(&from);
455 } else {
456 CopyFrom(from);
457 }
458 return *this;
459 }
460 #endif
Brian Silverman9c614bc2016-02-15 20:20:02 -0500461 static const ::google::protobuf::Descriptor* descriptor();
462 static const Mixin& default_instance();
463
Austin Schuh40c16522018-10-28 20:27:54 -0700464 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
465 static inline const Mixin* internal_default_instance() {
466 return reinterpret_cast<const Mixin*>(
467 &_Mixin_default_instance_);
468 }
469 static constexpr int kIndexInFileMessages =
470 2;
471
Brian Silverman9c614bc2016-02-15 20:20:02 -0500472 void Swap(Mixin* other);
Austin Schuh40c16522018-10-28 20:27:54 -0700473 friend void swap(Mixin& a, Mixin& b) {
474 a.Swap(&b);
475 }
Brian Silverman9c614bc2016-02-15 20:20:02 -0500476
477 // implements Message ----------------------------------------------
478
Austin Schuh40c16522018-10-28 20:27:54 -0700479 inline Mixin* New() const final {
480 return CreateMaybeMessage<Mixin>(NULL);
481 }
Brian Silverman9c614bc2016-02-15 20:20:02 -0500482
Austin Schuh40c16522018-10-28 20:27:54 -0700483 Mixin* New(::google::protobuf::Arena* arena) const final {
484 return CreateMaybeMessage<Mixin>(arena);
485 }
486 void CopyFrom(const ::google::protobuf::Message& from) final;
487 void MergeFrom(const ::google::protobuf::Message& from) final;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500488 void CopyFrom(const Mixin& from);
489 void MergeFrom(const Mixin& from);
Austin Schuh40c16522018-10-28 20:27:54 -0700490 void Clear() final;
491 bool IsInitialized() const final;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500492
Austin Schuh40c16522018-10-28 20:27:54 -0700493 size_t ByteSizeLong() const final;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500494 bool MergePartialFromCodedStream(
Austin Schuh40c16522018-10-28 20:27:54 -0700495 ::google::protobuf::io::CodedInputStream* input) final;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500496 void SerializeWithCachedSizes(
Austin Schuh40c16522018-10-28 20:27:54 -0700497 ::google::protobuf::io::CodedOutputStream* output) const final;
498 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
499 bool deterministic, ::google::protobuf::uint8* target) const final;
500 int GetCachedSize() const final { return _cached_size_.Get(); }
501
Brian Silverman9c614bc2016-02-15 20:20:02 -0500502 private:
503 void SharedCtor();
504 void SharedDtor();
Austin Schuh40c16522018-10-28 20:27:54 -0700505 void SetCachedSize(int size) const final;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500506 void InternalSwap(Mixin* other);
507 private:
508 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
Austin Schuh40c16522018-10-28 20:27:54 -0700509 return NULL;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500510 }
511 inline void* MaybeArenaPtr() const {
Austin Schuh40c16522018-10-28 20:27:54 -0700512 return NULL;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500513 }
514 public:
515
Austin Schuh40c16522018-10-28 20:27:54 -0700516 ::google::protobuf::Metadata GetMetadata() const final;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500517
518 // nested types ----------------------------------------------------
519
520 // accessors -------------------------------------------------------
521
Austin Schuh40c16522018-10-28 20:27:54 -0700522 // string name = 1;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500523 void clear_name();
524 static const int kNameFieldNumber = 1;
525 const ::std::string& name() const;
526 void set_name(const ::std::string& value);
Austin Schuh40c16522018-10-28 20:27:54 -0700527 #if LANG_CXX11
528 void set_name(::std::string&& value);
529 #endif
Brian Silverman9c614bc2016-02-15 20:20:02 -0500530 void set_name(const char* value);
531 void set_name(const char* value, size_t size);
532 ::std::string* mutable_name();
533 ::std::string* release_name();
534 void set_allocated_name(::std::string* name);
535
Austin Schuh40c16522018-10-28 20:27:54 -0700536 // string root = 2;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500537 void clear_root();
538 static const int kRootFieldNumber = 2;
539 const ::std::string& root() const;
540 void set_root(const ::std::string& value);
Austin Schuh40c16522018-10-28 20:27:54 -0700541 #if LANG_CXX11
542 void set_root(::std::string&& value);
543 #endif
Brian Silverman9c614bc2016-02-15 20:20:02 -0500544 void set_root(const char* value);
545 void set_root(const char* value, size_t size);
546 ::std::string* mutable_root();
547 ::std::string* release_root();
548 void set_allocated_root(::std::string* root);
549
550 // @@protoc_insertion_point(class_scope:google.protobuf.Mixin)
551 private:
552
553 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500554 ::google::protobuf::internal::ArenaStringPtr name_;
555 ::google::protobuf::internal::ArenaStringPtr root_;
Austin Schuh40c16522018-10-28 20:27:54 -0700556 mutable ::google::protobuf::internal::CachedSize _cached_size_;
557 friend struct ::protobuf_google_2fprotobuf_2fapi_2eproto::TableStruct;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500558};
559// ===================================================================
560
561
562// ===================================================================
563
Austin Schuh40c16522018-10-28 20:27:54 -0700564#ifdef __GNUC__
565 #pragma GCC diagnostic push
566 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
567#endif // __GNUC__
Brian Silverman9c614bc2016-02-15 20:20:02 -0500568// Api
569
Austin Schuh40c16522018-10-28 20:27:54 -0700570// string name = 1;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500571inline void Api::clear_name() {
572 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
573}
574inline const ::std::string& Api::name() const {
575 // @@protoc_insertion_point(field_get:google.protobuf.Api.name)
Austin Schuh40c16522018-10-28 20:27:54 -0700576 return name_.GetNoArena();
Brian Silverman9c614bc2016-02-15 20:20:02 -0500577}
578inline void Api::set_name(const ::std::string& value) {
579
580 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
581 // @@protoc_insertion_point(field_set:google.protobuf.Api.name)
582}
Austin Schuh40c16522018-10-28 20:27:54 -0700583#if LANG_CXX11
584inline void Api::set_name(::std::string&& value) {
585
586 name_.SetNoArena(
587 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
588 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Api.name)
589}
590#endif
Brian Silverman9c614bc2016-02-15 20:20:02 -0500591inline void Api::set_name(const char* value) {
Austin Schuh40c16522018-10-28 20:27:54 -0700592 GOOGLE_DCHECK(value != NULL);
Brian Silverman9c614bc2016-02-15 20:20:02 -0500593
594 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
595 // @@protoc_insertion_point(field_set_char:google.protobuf.Api.name)
596}
597inline void Api::set_name(const char* value, size_t size) {
598
599 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
600 ::std::string(reinterpret_cast<const char*>(value), size));
601 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Api.name)
602}
603inline ::std::string* Api::mutable_name() {
604
605 // @@protoc_insertion_point(field_mutable:google.protobuf.Api.name)
606 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
607}
608inline ::std::string* Api::release_name() {
Austin Schuh40c16522018-10-28 20:27:54 -0700609 // @@protoc_insertion_point(field_release:google.protobuf.Api.name)
Brian Silverman9c614bc2016-02-15 20:20:02 -0500610
611 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
612}
613inline void Api::set_allocated_name(::std::string* name) {
614 if (name != NULL) {
615
616 } else {
617
618 }
619 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
620 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.name)
621}
622
623// repeated .google.protobuf.Method methods = 2;
624inline int Api::methods_size() const {
625 return methods_.size();
626}
627inline void Api::clear_methods() {
628 methods_.Clear();
629}
Brian Silverman9c614bc2016-02-15 20:20:02 -0500630inline ::google::protobuf::Method* Api::mutable_methods(int index) {
631 // @@protoc_insertion_point(field_mutable:google.protobuf.Api.methods)
632 return methods_.Mutable(index);
633}
Brian Silverman9c614bc2016-02-15 20:20:02 -0500634inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method >*
635Api::mutable_methods() {
636 // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.methods)
637 return &methods_;
638}
Austin Schuh40c16522018-10-28 20:27:54 -0700639inline const ::google::protobuf::Method& Api::methods(int index) const {
640 // @@protoc_insertion_point(field_get:google.protobuf.Api.methods)
641 return methods_.Get(index);
642}
643inline ::google::protobuf::Method* Api::add_methods() {
644 // @@protoc_insertion_point(field_add:google.protobuf.Api.methods)
645 return methods_.Add();
646}
Brian Silverman9c614bc2016-02-15 20:20:02 -0500647inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method >&
648Api::methods() const {
649 // @@protoc_insertion_point(field_list:google.protobuf.Api.methods)
650 return methods_;
651}
652
653// repeated .google.protobuf.Option options = 3;
654inline int Api::options_size() const {
655 return options_.size();
656}
Brian Silverman9c614bc2016-02-15 20:20:02 -0500657inline ::google::protobuf::Option* Api::mutable_options(int index) {
658 // @@protoc_insertion_point(field_mutable:google.protobuf.Api.options)
659 return options_.Mutable(index);
660}
Brian Silverman9c614bc2016-02-15 20:20:02 -0500661inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
662Api::mutable_options() {
663 // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.options)
664 return &options_;
665}
Austin Schuh40c16522018-10-28 20:27:54 -0700666inline const ::google::protobuf::Option& Api::options(int index) const {
667 // @@protoc_insertion_point(field_get:google.protobuf.Api.options)
668 return options_.Get(index);
669}
670inline ::google::protobuf::Option* Api::add_options() {
671 // @@protoc_insertion_point(field_add:google.protobuf.Api.options)
672 return options_.Add();
673}
Brian Silverman9c614bc2016-02-15 20:20:02 -0500674inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
675Api::options() const {
676 // @@protoc_insertion_point(field_list:google.protobuf.Api.options)
677 return options_;
678}
679
Austin Schuh40c16522018-10-28 20:27:54 -0700680// string version = 4;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500681inline void Api::clear_version() {
682 version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
683}
684inline const ::std::string& Api::version() const {
685 // @@protoc_insertion_point(field_get:google.protobuf.Api.version)
Austin Schuh40c16522018-10-28 20:27:54 -0700686 return version_.GetNoArena();
Brian Silverman9c614bc2016-02-15 20:20:02 -0500687}
688inline void Api::set_version(const ::std::string& value) {
689
690 version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
691 // @@protoc_insertion_point(field_set:google.protobuf.Api.version)
692}
Austin Schuh40c16522018-10-28 20:27:54 -0700693#if LANG_CXX11
694inline void Api::set_version(::std::string&& value) {
695
696 version_.SetNoArena(
697 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
698 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Api.version)
699}
700#endif
Brian Silverman9c614bc2016-02-15 20:20:02 -0500701inline void Api::set_version(const char* value) {
Austin Schuh40c16522018-10-28 20:27:54 -0700702 GOOGLE_DCHECK(value != NULL);
Brian Silverman9c614bc2016-02-15 20:20:02 -0500703
704 version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
705 // @@protoc_insertion_point(field_set_char:google.protobuf.Api.version)
706}
707inline void Api::set_version(const char* value, size_t size) {
708
709 version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
710 ::std::string(reinterpret_cast<const char*>(value), size));
711 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Api.version)
712}
713inline ::std::string* Api::mutable_version() {
714
715 // @@protoc_insertion_point(field_mutable:google.protobuf.Api.version)
716 return version_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
717}
718inline ::std::string* Api::release_version() {
Austin Schuh40c16522018-10-28 20:27:54 -0700719 // @@protoc_insertion_point(field_release:google.protobuf.Api.version)
Brian Silverman9c614bc2016-02-15 20:20:02 -0500720
721 return version_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
722}
723inline void Api::set_allocated_version(::std::string* version) {
724 if (version != NULL) {
725
726 } else {
727
728 }
729 version_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), version);
730 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.version)
731}
732
Austin Schuh40c16522018-10-28 20:27:54 -0700733// .google.protobuf.SourceContext source_context = 5;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500734inline bool Api::has_source_context() const {
Austin Schuh40c16522018-10-28 20:27:54 -0700735 return this != internal_default_instance() && source_context_ != NULL;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500736}
Austin Schuh40c16522018-10-28 20:27:54 -0700737inline const ::google::protobuf::SourceContext& Api::_internal_source_context() const {
738 return *source_context_;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500739}
740inline const ::google::protobuf::SourceContext& Api::source_context() const {
Austin Schuh40c16522018-10-28 20:27:54 -0700741 const ::google::protobuf::SourceContext* p = source_context_;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500742 // @@protoc_insertion_point(field_get:google.protobuf.Api.source_context)
Austin Schuh40c16522018-10-28 20:27:54 -0700743 return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::SourceContext*>(
744 &::google::protobuf::_SourceContext_default_instance_);
Brian Silverman9c614bc2016-02-15 20:20:02 -0500745}
746inline ::google::protobuf::SourceContext* Api::release_source_context() {
Austin Schuh40c16522018-10-28 20:27:54 -0700747 // @@protoc_insertion_point(field_release:google.protobuf.Api.source_context)
Brian Silverman9c614bc2016-02-15 20:20:02 -0500748
749 ::google::protobuf::SourceContext* temp = source_context_;
750 source_context_ = NULL;
751 return temp;
752}
Austin Schuh40c16522018-10-28 20:27:54 -0700753inline ::google::protobuf::SourceContext* Api::mutable_source_context() {
754
755 if (source_context_ == NULL) {
756 auto* p = CreateMaybeMessage<::google::protobuf::SourceContext>(GetArenaNoVirtual());
757 source_context_ = p;
758 }
759 // @@protoc_insertion_point(field_mutable:google.protobuf.Api.source_context)
760 return source_context_;
761}
Brian Silverman9c614bc2016-02-15 20:20:02 -0500762inline void Api::set_allocated_source_context(::google::protobuf::SourceContext* source_context) {
Austin Schuh40c16522018-10-28 20:27:54 -0700763 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
764 if (message_arena == NULL) {
765 delete reinterpret_cast< ::google::protobuf::MessageLite*>(source_context_);
766 }
Brian Silverman9c614bc2016-02-15 20:20:02 -0500767 if (source_context) {
Austin Schuh40c16522018-10-28 20:27:54 -0700768 ::google::protobuf::Arena* submessage_arena = NULL;
769 if (message_arena != submessage_arena) {
770 source_context = ::google::protobuf::internal::GetOwnedMessage(
771 message_arena, source_context, submessage_arena);
772 }
Brian Silverman9c614bc2016-02-15 20:20:02 -0500773
774 } else {
775
776 }
Austin Schuh40c16522018-10-28 20:27:54 -0700777 source_context_ = source_context;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500778 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.source_context)
779}
780
781// repeated .google.protobuf.Mixin mixins = 6;
782inline int Api::mixins_size() const {
783 return mixins_.size();
784}
785inline void Api::clear_mixins() {
786 mixins_.Clear();
787}
Brian Silverman9c614bc2016-02-15 20:20:02 -0500788inline ::google::protobuf::Mixin* Api::mutable_mixins(int index) {
789 // @@protoc_insertion_point(field_mutable:google.protobuf.Api.mixins)
790 return mixins_.Mutable(index);
791}
Brian Silverman9c614bc2016-02-15 20:20:02 -0500792inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >*
793Api::mutable_mixins() {
794 // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.mixins)
795 return &mixins_;
796}
Austin Schuh40c16522018-10-28 20:27:54 -0700797inline const ::google::protobuf::Mixin& Api::mixins(int index) const {
798 // @@protoc_insertion_point(field_get:google.protobuf.Api.mixins)
799 return mixins_.Get(index);
800}
801inline ::google::protobuf::Mixin* Api::add_mixins() {
802 // @@protoc_insertion_point(field_add:google.protobuf.Api.mixins)
803 return mixins_.Add();
804}
Brian Silverman9c614bc2016-02-15 20:20:02 -0500805inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >&
806Api::mixins() const {
807 // @@protoc_insertion_point(field_list:google.protobuf.Api.mixins)
808 return mixins_;
809}
810
Austin Schuh40c16522018-10-28 20:27:54 -0700811// .google.protobuf.Syntax syntax = 7;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500812inline void Api::clear_syntax() {
813 syntax_ = 0;
814}
815inline ::google::protobuf::Syntax Api::syntax() const {
816 // @@protoc_insertion_point(field_get:google.protobuf.Api.syntax)
817 return static_cast< ::google::protobuf::Syntax >(syntax_);
818}
819inline void Api::set_syntax(::google::protobuf::Syntax value) {
820
821 syntax_ = value;
822 // @@protoc_insertion_point(field_set:google.protobuf.Api.syntax)
823}
824
825// -------------------------------------------------------------------
826
827// Method
828
Austin Schuh40c16522018-10-28 20:27:54 -0700829// string name = 1;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500830inline void Method::clear_name() {
831 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
832}
833inline const ::std::string& Method::name() const {
834 // @@protoc_insertion_point(field_get:google.protobuf.Method.name)
Austin Schuh40c16522018-10-28 20:27:54 -0700835 return name_.GetNoArena();
Brian Silverman9c614bc2016-02-15 20:20:02 -0500836}
837inline void Method::set_name(const ::std::string& value) {
838
839 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
840 // @@protoc_insertion_point(field_set:google.protobuf.Method.name)
841}
Austin Schuh40c16522018-10-28 20:27:54 -0700842#if LANG_CXX11
843inline void Method::set_name(::std::string&& value) {
844
845 name_.SetNoArena(
846 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
847 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Method.name)
848}
849#endif
Brian Silverman9c614bc2016-02-15 20:20:02 -0500850inline void Method::set_name(const char* value) {
Austin Schuh40c16522018-10-28 20:27:54 -0700851 GOOGLE_DCHECK(value != NULL);
Brian Silverman9c614bc2016-02-15 20:20:02 -0500852
853 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
854 // @@protoc_insertion_point(field_set_char:google.protobuf.Method.name)
855}
856inline void Method::set_name(const char* value, size_t size) {
857
858 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
859 ::std::string(reinterpret_cast<const char*>(value), size));
860 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Method.name)
861}
862inline ::std::string* Method::mutable_name() {
863
864 // @@protoc_insertion_point(field_mutable:google.protobuf.Method.name)
865 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
866}
867inline ::std::string* Method::release_name() {
Austin Schuh40c16522018-10-28 20:27:54 -0700868 // @@protoc_insertion_point(field_release:google.protobuf.Method.name)
Brian Silverman9c614bc2016-02-15 20:20:02 -0500869
870 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
871}
872inline void Method::set_allocated_name(::std::string* name) {
873 if (name != NULL) {
874
875 } else {
876
877 }
878 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
879 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.name)
880}
881
Austin Schuh40c16522018-10-28 20:27:54 -0700882// string request_type_url = 2;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500883inline void Method::clear_request_type_url() {
884 request_type_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
885}
886inline const ::std::string& Method::request_type_url() const {
887 // @@protoc_insertion_point(field_get:google.protobuf.Method.request_type_url)
Austin Schuh40c16522018-10-28 20:27:54 -0700888 return request_type_url_.GetNoArena();
Brian Silverman9c614bc2016-02-15 20:20:02 -0500889}
890inline void Method::set_request_type_url(const ::std::string& value) {
891
892 request_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
893 // @@protoc_insertion_point(field_set:google.protobuf.Method.request_type_url)
894}
Austin Schuh40c16522018-10-28 20:27:54 -0700895#if LANG_CXX11
896inline void Method::set_request_type_url(::std::string&& value) {
897
898 request_type_url_.SetNoArena(
899 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
900 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Method.request_type_url)
901}
902#endif
Brian Silverman9c614bc2016-02-15 20:20:02 -0500903inline void Method::set_request_type_url(const char* value) {
Austin Schuh40c16522018-10-28 20:27:54 -0700904 GOOGLE_DCHECK(value != NULL);
Brian Silverman9c614bc2016-02-15 20:20:02 -0500905
906 request_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
907 // @@protoc_insertion_point(field_set_char:google.protobuf.Method.request_type_url)
908}
909inline void Method::set_request_type_url(const char* value, size_t size) {
910
911 request_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
912 ::std::string(reinterpret_cast<const char*>(value), size));
913 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Method.request_type_url)
914}
915inline ::std::string* Method::mutable_request_type_url() {
916
917 // @@protoc_insertion_point(field_mutable:google.protobuf.Method.request_type_url)
918 return request_type_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
919}
920inline ::std::string* Method::release_request_type_url() {
Austin Schuh40c16522018-10-28 20:27:54 -0700921 // @@protoc_insertion_point(field_release:google.protobuf.Method.request_type_url)
Brian Silverman9c614bc2016-02-15 20:20:02 -0500922
923 return request_type_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
924}
925inline void Method::set_allocated_request_type_url(::std::string* request_type_url) {
926 if (request_type_url != NULL) {
927
928 } else {
929
930 }
931 request_type_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), request_type_url);
932 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.request_type_url)
933}
934
Austin Schuh40c16522018-10-28 20:27:54 -0700935// bool request_streaming = 3;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500936inline void Method::clear_request_streaming() {
937 request_streaming_ = false;
938}
939inline bool Method::request_streaming() const {
940 // @@protoc_insertion_point(field_get:google.protobuf.Method.request_streaming)
941 return request_streaming_;
942}
943inline void Method::set_request_streaming(bool value) {
944
945 request_streaming_ = value;
946 // @@protoc_insertion_point(field_set:google.protobuf.Method.request_streaming)
947}
948
Austin Schuh40c16522018-10-28 20:27:54 -0700949// string response_type_url = 4;
Brian Silverman9c614bc2016-02-15 20:20:02 -0500950inline void Method::clear_response_type_url() {
951 response_type_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
952}
953inline const ::std::string& Method::response_type_url() const {
954 // @@protoc_insertion_point(field_get:google.protobuf.Method.response_type_url)
Austin Schuh40c16522018-10-28 20:27:54 -0700955 return response_type_url_.GetNoArena();
Brian Silverman9c614bc2016-02-15 20:20:02 -0500956}
957inline void Method::set_response_type_url(const ::std::string& value) {
958
959 response_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
960 // @@protoc_insertion_point(field_set:google.protobuf.Method.response_type_url)
961}
Austin Schuh40c16522018-10-28 20:27:54 -0700962#if LANG_CXX11
963inline void Method::set_response_type_url(::std::string&& value) {
964
965 response_type_url_.SetNoArena(
966 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
967 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Method.response_type_url)
968}
969#endif
Brian Silverman9c614bc2016-02-15 20:20:02 -0500970inline void Method::set_response_type_url(const char* value) {
Austin Schuh40c16522018-10-28 20:27:54 -0700971 GOOGLE_DCHECK(value != NULL);
Brian Silverman9c614bc2016-02-15 20:20:02 -0500972
973 response_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
974 // @@protoc_insertion_point(field_set_char:google.protobuf.Method.response_type_url)
975}
976inline void Method::set_response_type_url(const char* value, size_t size) {
977
978 response_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
979 ::std::string(reinterpret_cast<const char*>(value), size));
980 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Method.response_type_url)
981}
982inline ::std::string* Method::mutable_response_type_url() {
983
984 // @@protoc_insertion_point(field_mutable:google.protobuf.Method.response_type_url)
985 return response_type_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
986}
987inline ::std::string* Method::release_response_type_url() {
Austin Schuh40c16522018-10-28 20:27:54 -0700988 // @@protoc_insertion_point(field_release:google.protobuf.Method.response_type_url)
Brian Silverman9c614bc2016-02-15 20:20:02 -0500989
990 return response_type_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
991}
992inline void Method::set_allocated_response_type_url(::std::string* response_type_url) {
993 if (response_type_url != NULL) {
994
995 } else {
996
997 }
998 response_type_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), response_type_url);
999 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.response_type_url)
1000}
1001
Austin Schuh40c16522018-10-28 20:27:54 -07001002// bool response_streaming = 5;
Brian Silverman9c614bc2016-02-15 20:20:02 -05001003inline void Method::clear_response_streaming() {
1004 response_streaming_ = false;
1005}
1006inline bool Method::response_streaming() const {
1007 // @@protoc_insertion_point(field_get:google.protobuf.Method.response_streaming)
1008 return response_streaming_;
1009}
1010inline void Method::set_response_streaming(bool value) {
1011
1012 response_streaming_ = value;
1013 // @@protoc_insertion_point(field_set:google.protobuf.Method.response_streaming)
1014}
1015
1016// repeated .google.protobuf.Option options = 6;
1017inline int Method::options_size() const {
1018 return options_.size();
1019}
Brian Silverman9c614bc2016-02-15 20:20:02 -05001020inline ::google::protobuf::Option* Method::mutable_options(int index) {
1021 // @@protoc_insertion_point(field_mutable:google.protobuf.Method.options)
1022 return options_.Mutable(index);
1023}
Brian Silverman9c614bc2016-02-15 20:20:02 -05001024inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
1025Method::mutable_options() {
1026 // @@protoc_insertion_point(field_mutable_list:google.protobuf.Method.options)
1027 return &options_;
1028}
Austin Schuh40c16522018-10-28 20:27:54 -07001029inline const ::google::protobuf::Option& Method::options(int index) const {
1030 // @@protoc_insertion_point(field_get:google.protobuf.Method.options)
1031 return options_.Get(index);
1032}
1033inline ::google::protobuf::Option* Method::add_options() {
1034 // @@protoc_insertion_point(field_add:google.protobuf.Method.options)
1035 return options_.Add();
1036}
Brian Silverman9c614bc2016-02-15 20:20:02 -05001037inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
1038Method::options() const {
1039 // @@protoc_insertion_point(field_list:google.protobuf.Method.options)
1040 return options_;
1041}
1042
Austin Schuh40c16522018-10-28 20:27:54 -07001043// .google.protobuf.Syntax syntax = 7;
Brian Silverman9c614bc2016-02-15 20:20:02 -05001044inline void Method::clear_syntax() {
1045 syntax_ = 0;
1046}
1047inline ::google::protobuf::Syntax Method::syntax() const {
1048 // @@protoc_insertion_point(field_get:google.protobuf.Method.syntax)
1049 return static_cast< ::google::protobuf::Syntax >(syntax_);
1050}
1051inline void Method::set_syntax(::google::protobuf::Syntax value) {
1052
1053 syntax_ = value;
1054 // @@protoc_insertion_point(field_set:google.protobuf.Method.syntax)
1055}
1056
1057// -------------------------------------------------------------------
1058
1059// Mixin
1060
Austin Schuh40c16522018-10-28 20:27:54 -07001061// string name = 1;
Brian Silverman9c614bc2016-02-15 20:20:02 -05001062inline void Mixin::clear_name() {
1063 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1064}
1065inline const ::std::string& Mixin::name() const {
1066 // @@protoc_insertion_point(field_get:google.protobuf.Mixin.name)
Austin Schuh40c16522018-10-28 20:27:54 -07001067 return name_.GetNoArena();
Brian Silverman9c614bc2016-02-15 20:20:02 -05001068}
1069inline void Mixin::set_name(const ::std::string& value) {
1070
1071 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1072 // @@protoc_insertion_point(field_set:google.protobuf.Mixin.name)
1073}
Austin Schuh40c16522018-10-28 20:27:54 -07001074#if LANG_CXX11
1075inline void Mixin::set_name(::std::string&& value) {
1076
1077 name_.SetNoArena(
1078 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1079 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Mixin.name)
1080}
1081#endif
Brian Silverman9c614bc2016-02-15 20:20:02 -05001082inline void Mixin::set_name(const char* value) {
Austin Schuh40c16522018-10-28 20:27:54 -07001083 GOOGLE_DCHECK(value != NULL);
Brian Silverman9c614bc2016-02-15 20:20:02 -05001084
1085 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1086 // @@protoc_insertion_point(field_set_char:google.protobuf.Mixin.name)
1087}
1088inline void Mixin::set_name(const char* value, size_t size) {
1089
1090 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1091 ::std::string(reinterpret_cast<const char*>(value), size));
1092 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Mixin.name)
1093}
1094inline ::std::string* Mixin::mutable_name() {
1095
1096 // @@protoc_insertion_point(field_mutable:google.protobuf.Mixin.name)
1097 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1098}
1099inline ::std::string* Mixin::release_name() {
Austin Schuh40c16522018-10-28 20:27:54 -07001100 // @@protoc_insertion_point(field_release:google.protobuf.Mixin.name)
Brian Silverman9c614bc2016-02-15 20:20:02 -05001101
1102 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1103}
1104inline void Mixin::set_allocated_name(::std::string* name) {
1105 if (name != NULL) {
1106
1107 } else {
1108
1109 }
1110 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
1111 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Mixin.name)
1112}
1113
Austin Schuh40c16522018-10-28 20:27:54 -07001114// string root = 2;
Brian Silverman9c614bc2016-02-15 20:20:02 -05001115inline void Mixin::clear_root() {
1116 root_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1117}
1118inline const ::std::string& Mixin::root() const {
1119 // @@protoc_insertion_point(field_get:google.protobuf.Mixin.root)
Austin Schuh40c16522018-10-28 20:27:54 -07001120 return root_.GetNoArena();
Brian Silverman9c614bc2016-02-15 20:20:02 -05001121}
1122inline void Mixin::set_root(const ::std::string& value) {
1123
1124 root_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1125 // @@protoc_insertion_point(field_set:google.protobuf.Mixin.root)
1126}
Austin Schuh40c16522018-10-28 20:27:54 -07001127#if LANG_CXX11
1128inline void Mixin::set_root(::std::string&& value) {
1129
1130 root_.SetNoArena(
1131 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1132 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Mixin.root)
1133}
1134#endif
Brian Silverman9c614bc2016-02-15 20:20:02 -05001135inline void Mixin::set_root(const char* value) {
Austin Schuh40c16522018-10-28 20:27:54 -07001136 GOOGLE_DCHECK(value != NULL);
Brian Silverman9c614bc2016-02-15 20:20:02 -05001137
1138 root_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1139 // @@protoc_insertion_point(field_set_char:google.protobuf.Mixin.root)
1140}
1141inline void Mixin::set_root(const char* value, size_t size) {
1142
1143 root_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1144 ::std::string(reinterpret_cast<const char*>(value), size));
1145 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Mixin.root)
1146}
1147inline ::std::string* Mixin::mutable_root() {
1148
1149 // @@protoc_insertion_point(field_mutable:google.protobuf.Mixin.root)
1150 return root_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1151}
1152inline ::std::string* Mixin::release_root() {
Austin Schuh40c16522018-10-28 20:27:54 -07001153 // @@protoc_insertion_point(field_release:google.protobuf.Mixin.root)
Brian Silverman9c614bc2016-02-15 20:20:02 -05001154
1155 return root_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1156}
1157inline void Mixin::set_allocated_root(::std::string* root) {
1158 if (root != NULL) {
1159
1160 } else {
1161
1162 }
1163 root_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), root);
1164 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Mixin.root)
1165}
1166
Austin Schuh40c16522018-10-28 20:27:54 -07001167#ifdef __GNUC__
1168 #pragma GCC diagnostic pop
1169#endif // __GNUC__
Brian Silverman9c614bc2016-02-15 20:20:02 -05001170// -------------------------------------------------------------------
1171
1172// -------------------------------------------------------------------
1173
1174
1175// @@protoc_insertion_point(namespace_scope)
1176
1177} // namespace protobuf
1178} // namespace google
1179
1180// @@protoc_insertion_point(global_scope)
1181
Austin Schuh40c16522018-10-28 20:27:54 -07001182#endif // PROTOBUF_INCLUDED_google_2fprotobuf_2fapi_2eproto