Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(548)

Side by Side Diff: third_party/protobuf/src/google/protobuf/api.pb.h

Issue 2495533002: third_party/protobuf: Update to HEAD (83d681ee2c) (Closed)
Patch Set: Make chrome settings proto generated file a component Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Generated by the protocol buffer compiler. DO NOT EDIT! 1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: google/protobuf/api.proto 2 // source: google/protobuf/api.proto
3 3
4 #ifndef PROTOBUF_google_2fprotobuf_2fapi_2eproto__INCLUDED 4 #ifndef PROTOBUF_google_2fprotobuf_2fapi_2eproto__INCLUDED
5 #define PROTOBUF_google_2fprotobuf_2fapi_2eproto__INCLUDED 5 #define PROTOBUF_google_2fprotobuf_2fapi_2eproto__INCLUDED
6 6
7 #include <string> 7 #include <string>
8 8
9 #include <google/protobuf/stubs/common.h> 9 #include <google/protobuf/stubs/common.h>
10 10
11 #if GOOGLE_PROTOBUF_VERSION < 3000000 11 #if GOOGLE_PROTOBUF_VERSION < 3001000
12 #error This file was generated by a newer version of protoc which is 12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update 13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers. 14 #error your headers.
15 #endif 15 #endif
16 #if 3000000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION 16 #if 3001000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is 17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please 18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc. 19 #error regenerate this file with a newer version of protoc.
20 #endif 20 #endif
21 21
22 #include <google/protobuf/arena.h> 22 #include <google/protobuf/arena.h>
23 #include <google/protobuf/arenastring.h> 23 #include <google/protobuf/arenastring.h>
24 #include <google/protobuf/generated_message_util.h> 24 #include <google/protobuf/generated_message_util.h>
25 #include <google/protobuf/metadata.h> 25 #include <google/protobuf/metadata.h>
26 #include <google/protobuf/message.h> 26 #include <google/protobuf/message.h>
27 #include <google/protobuf/repeated_field.h> 27 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
28 #include <google/protobuf/extension_set.h> 28 #include <google/protobuf/extension_set.h> // IWYU pragma: export
29 #include <google/protobuf/unknown_field_set.h> 29 #include <google/protobuf/unknown_field_set.h>
30 #include <google/protobuf/source_context.pb.h> 30 #include <google/protobuf/source_context.pb.h>
31 #include <google/protobuf/type.pb.h> 31 #include <google/protobuf/type.pb.h>
32 // @@protoc_insertion_point(includes) 32 // @@protoc_insertion_point(includes)
33 namespace google {
34 namespace protobuf {
35 class Api;
36 class ApiDefaultTypeInternal;
37 LIBPROTOBUF_EXPORT extern ApiDefaultTypeInternal _Api_default_instance_;
38 class Enum;
39 class EnumDefaultTypeInternal;
40 LIBPROTOBUF_EXPORT extern EnumDefaultTypeInternal _Enum_default_instance_;
41 class EnumValue;
42 class EnumValueDefaultTypeInternal;
43 LIBPROTOBUF_EXPORT extern EnumValueDefaultTypeInternal _EnumValue_default_instan ce_;
44 class Field;
45 class FieldDefaultTypeInternal;
46 LIBPROTOBUF_EXPORT extern FieldDefaultTypeInternal _Field_default_instance_;
47 class Method;
48 class MethodDefaultTypeInternal;
49 LIBPROTOBUF_EXPORT extern MethodDefaultTypeInternal _Method_default_instance_;
50 class Mixin;
51 class MixinDefaultTypeInternal;
52 LIBPROTOBUF_EXPORT extern MixinDefaultTypeInternal _Mixin_default_instance_;
53 class Option;
54 class OptionDefaultTypeInternal;
55 LIBPROTOBUF_EXPORT extern OptionDefaultTypeInternal _Option_default_instance_;
56 class SourceContext;
57 class SourceContextDefaultTypeInternal;
58 LIBPROTOBUF_EXPORT extern SourceContextDefaultTypeInternal _SourceContext_defaul t_instance_;
59 class Type;
60 class TypeDefaultTypeInternal;
61 LIBPROTOBUF_EXPORT extern TypeDefaultTypeInternal _Type_default_instance_;
62 } // namespace protobuf
63 } // namespace google
33 64
34 namespace google { 65 namespace google {
35 namespace protobuf { 66 namespace protobuf {
36 67
37 // Internal implementation detail -- do not call these. 68 // Internal implementation detail -- do not call these.
38 void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fapi_2eproto(); 69 void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fapi_2eproto();
39 void protobuf_AssignDesc_google_2fprotobuf_2fapi_2eproto(); 70 void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fapi_2eproto();
40 void protobuf_ShutdownFile_google_2fprotobuf_2fapi_2eproto();
41
42 class Api;
43 class Method;
44 class Mixin;
45 71
46 // =================================================================== 72 // ===================================================================
47 73
48 class LIBPROTOBUF_EXPORT Api : public ::google::protobuf::Message { 74 class LIBPROTOBUF_EXPORT Api : public ::google::protobuf::Message /* @@protoc_in sertion_point(class_definition:google.protobuf.Api) */ {
49 public: 75 public:
50 Api(); 76 Api();
51 virtual ~Api(); 77 virtual ~Api();
52 78
53 Api(const Api& from); 79 Api(const Api& from);
54 80
55 inline Api& operator=(const Api& from) { 81 inline Api& operator=(const Api& from) {
56 CopyFrom(from); 82 CopyFrom(from);
57 return *this; 83 return *this;
58 } 84 }
59 85
60 static const ::google::protobuf::Descriptor* descriptor(); 86 static const ::google::protobuf::Descriptor* descriptor();
61 static const Api& default_instance(); 87 static const Api& default_instance();
62 88
89 static inline const Api* internal_default_instance() {
90 return reinterpret_cast<const Api*>(
91 &_Api_default_instance_);
92 }
93
63 void Swap(Api* other); 94 void Swap(Api* other);
64 95
65 // implements Message ---------------------------------------------- 96 // implements Message ----------------------------------------------
66 97
67 inline Api* New() const { return New(NULL); } 98 inline Api* New() const PROTOBUF_FINAL { return New(NULL); }
68 99
69 Api* New(::google::protobuf::Arena* arena) const; 100 Api* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
70 void CopyFrom(const ::google::protobuf::Message& from); 101 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
71 void MergeFrom(const ::google::protobuf::Message& from); 102 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
72 void CopyFrom(const Api& from); 103 void CopyFrom(const Api& from);
73 void MergeFrom(const Api& from); 104 void MergeFrom(const Api& from);
74 void Clear(); 105 void Clear() PROTOBUF_FINAL;
75 bool IsInitialized() const; 106 bool IsInitialized() const PROTOBUF_FINAL;
76 107
77 int ByteSize() const; 108 size_t ByteSizeLong() const PROTOBUF_FINAL;
78 bool MergePartialFromCodedStream( 109 bool MergePartialFromCodedStream(
79 ::google::protobuf::io::CodedInputStream* input); 110 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
80 void SerializeWithCachedSizes( 111 void SerializeWithCachedSizes(
81 ::google::protobuf::io::CodedOutputStream* output) const; 112 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
82 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 113 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
83 int GetCachedSize() const { return _cached_size_; } 114 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
115 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
116 const PROTOBUF_FINAL {
117 return InternalSerializeWithCachedSizesToArray(false, output);
118 }
119 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
84 private: 120 private:
85 void SharedCtor(); 121 void SharedCtor();
86 void SharedDtor(); 122 void SharedDtor();
87 void SetCachedSize(int size) const; 123 void SetCachedSize(int size) const PROTOBUF_FINAL;
88 void InternalSwap(Api* other); 124 void InternalSwap(Api* other);
89 private: 125 private:
90 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 126 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
91 return _internal_metadata_.arena(); 127 return NULL;
92 } 128 }
93 inline void* MaybeArenaPtr() const { 129 inline void* MaybeArenaPtr() const {
94 return _internal_metadata_.raw_arena_ptr(); 130 return NULL;
95 } 131 }
96 public: 132 public:
97 133
98 ::google::protobuf::Metadata GetMetadata() const; 134 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
99 135
100 // nested types ---------------------------------------------------- 136 // nested types ----------------------------------------------------
101 137
102 // accessors ------------------------------------------------------- 138 // accessors -------------------------------------------------------
103 139
104 // optional string name = 1; 140 // string name = 1;
105 void clear_name(); 141 void clear_name();
106 static const int kNameFieldNumber = 1; 142 static const int kNameFieldNumber = 1;
107 const ::std::string& name() const; 143 const ::std::string& name() const;
108 void set_name(const ::std::string& value); 144 void set_name(const ::std::string& value);
109 void set_name(const char* value); 145 void set_name(const char* value);
110 void set_name(const char* value, size_t size); 146 void set_name(const char* value, size_t size);
111 ::std::string* mutable_name(); 147 ::std::string* mutable_name();
112 ::std::string* release_name(); 148 ::std::string* release_name();
113 void set_allocated_name(::std::string* name); 149 void set_allocated_name(::std::string* name);
114 150
(...skipping 14 matching lines...) Expand all
129 void clear_options(); 165 void clear_options();
130 static const int kOptionsFieldNumber = 3; 166 static const int kOptionsFieldNumber = 3;
131 const ::google::protobuf::Option& options(int index) const; 167 const ::google::protobuf::Option& options(int index) const;
132 ::google::protobuf::Option* mutable_options(int index); 168 ::google::protobuf::Option* mutable_options(int index);
133 ::google::protobuf::Option* add_options(); 169 ::google::protobuf::Option* add_options();
134 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* 170 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
135 mutable_options(); 171 mutable_options();
136 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& 172 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
137 options() const; 173 options() const;
138 174
139 // optional string version = 4; 175 // string version = 4;
140 void clear_version(); 176 void clear_version();
141 static const int kVersionFieldNumber = 4; 177 static const int kVersionFieldNumber = 4;
142 const ::std::string& version() const; 178 const ::std::string& version() const;
143 void set_version(const ::std::string& value); 179 void set_version(const ::std::string& value);
144 void set_version(const char* value); 180 void set_version(const char* value);
145 void set_version(const char* value, size_t size); 181 void set_version(const char* value, size_t size);
146 ::std::string* mutable_version(); 182 ::std::string* mutable_version();
147 ::std::string* release_version(); 183 ::std::string* release_version();
148 void set_allocated_version(::std::string* version); 184 void set_allocated_version(::std::string* version);
149 185
150 // optional .google.protobuf.SourceContext source_context = 5; 186 // .google.protobuf.SourceContext source_context = 5;
151 bool has_source_context() const; 187 bool has_source_context() const;
152 void clear_source_context(); 188 void clear_source_context();
153 static const int kSourceContextFieldNumber = 5; 189 static const int kSourceContextFieldNumber = 5;
154 const ::google::protobuf::SourceContext& source_context() const; 190 const ::google::protobuf::SourceContext& source_context() const;
155 ::google::protobuf::SourceContext* mutable_source_context(); 191 ::google::protobuf::SourceContext* mutable_source_context();
156 ::google::protobuf::SourceContext* release_source_context(); 192 ::google::protobuf::SourceContext* release_source_context();
157 void set_allocated_source_context(::google::protobuf::SourceContext* source_co ntext); 193 void set_allocated_source_context(::google::protobuf::SourceContext* source_co ntext);
158 194
159 // repeated .google.protobuf.Mixin mixins = 6; 195 // repeated .google.protobuf.Mixin mixins = 6;
160 int mixins_size() const; 196 int mixins_size() const;
161 void clear_mixins(); 197 void clear_mixins();
162 static const int kMixinsFieldNumber = 6; 198 static const int kMixinsFieldNumber = 6;
163 const ::google::protobuf::Mixin& mixins(int index) const; 199 const ::google::protobuf::Mixin& mixins(int index) const;
164 ::google::protobuf::Mixin* mutable_mixins(int index); 200 ::google::protobuf::Mixin* mutable_mixins(int index);
165 ::google::protobuf::Mixin* add_mixins(); 201 ::google::protobuf::Mixin* add_mixins();
166 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >* 202 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >*
167 mutable_mixins(); 203 mutable_mixins();
168 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >& 204 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >&
169 mixins() const; 205 mixins() const;
170 206
171 // optional .google.protobuf.Syntax syntax = 7; 207 // .google.protobuf.Syntax syntax = 7;
172 void clear_syntax(); 208 void clear_syntax();
173 static const int kSyntaxFieldNumber = 7; 209 static const int kSyntaxFieldNumber = 7;
174 ::google::protobuf::Syntax syntax() const; 210 ::google::protobuf::Syntax syntax() const;
175 void set_syntax(::google::protobuf::Syntax value); 211 void set_syntax(::google::protobuf::Syntax value);
176 212
177 // @@protoc_insertion_point(class_scope:google.protobuf.Api) 213 // @@protoc_insertion_point(class_scope:google.protobuf.Api)
178 private: 214 private:
179 215
180 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 216 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
181 bool _is_default_instance_;
182 ::google::protobuf::internal::ArenaStringPtr name_;
183 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method > methods_; 217 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method > methods_;
184 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_; 218 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
219 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin > mixins_;
220 ::google::protobuf::internal::ArenaStringPtr name_;
185 ::google::protobuf::internal::ArenaStringPtr version_; 221 ::google::protobuf::internal::ArenaStringPtr version_;
186 ::google::protobuf::SourceContext* source_context_; 222 ::google::protobuf::SourceContext* source_context_;
187 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin > mixins_;
188 int syntax_; 223 int syntax_;
189 mutable int _cached_size_; 224 mutable int _cached_size_;
190 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fapi_2eprot o(); 225 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fapi_2 eproto_impl();
191 friend void protobuf_AssignDesc_google_2fprotobuf_2fapi_2eproto(); 226 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fapi_2eprot o_impl();
227 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f api_2eproto();
192 friend void protobuf_ShutdownFile_google_2fprotobuf_2fapi_2eproto(); 228 friend void protobuf_ShutdownFile_google_2fprotobuf_2fapi_2eproto();
193 229
194 void InitAsDefaultInstance();
195 static Api* default_instance_;
196 }; 230 };
197 // ------------------------------------------------------------------- 231 // -------------------------------------------------------------------
198 232
199 class LIBPROTOBUF_EXPORT Method : public ::google::protobuf::Message { 233 class LIBPROTOBUF_EXPORT Method : public ::google::protobuf::Message /* @@protoc _insertion_point(class_definition:google.protobuf.Method) */ {
200 public: 234 public:
201 Method(); 235 Method();
202 virtual ~Method(); 236 virtual ~Method();
203 237
204 Method(const Method& from); 238 Method(const Method& from);
205 239
206 inline Method& operator=(const Method& from) { 240 inline Method& operator=(const Method& from) {
207 CopyFrom(from); 241 CopyFrom(from);
208 return *this; 242 return *this;
209 } 243 }
210 244
211 static const ::google::protobuf::Descriptor* descriptor(); 245 static const ::google::protobuf::Descriptor* descriptor();
212 static const Method& default_instance(); 246 static const Method& default_instance();
213 247
248 static inline const Method* internal_default_instance() {
249 return reinterpret_cast<const Method*>(
250 &_Method_default_instance_);
251 }
252
214 void Swap(Method* other); 253 void Swap(Method* other);
215 254
216 // implements Message ---------------------------------------------- 255 // implements Message ----------------------------------------------
217 256
218 inline Method* New() const { return New(NULL); } 257 inline Method* New() const PROTOBUF_FINAL { return New(NULL); }
219 258
220 Method* New(::google::protobuf::Arena* arena) const; 259 Method* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
221 void CopyFrom(const ::google::protobuf::Message& from); 260 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
222 void MergeFrom(const ::google::protobuf::Message& from); 261 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
223 void CopyFrom(const Method& from); 262 void CopyFrom(const Method& from);
224 void MergeFrom(const Method& from); 263 void MergeFrom(const Method& from);
225 void Clear(); 264 void Clear() PROTOBUF_FINAL;
226 bool IsInitialized() const; 265 bool IsInitialized() const PROTOBUF_FINAL;
227 266
228 int ByteSize() const; 267 size_t ByteSizeLong() const PROTOBUF_FINAL;
229 bool MergePartialFromCodedStream( 268 bool MergePartialFromCodedStream(
230 ::google::protobuf::io::CodedInputStream* input); 269 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
231 void SerializeWithCachedSizes( 270 void SerializeWithCachedSizes(
232 ::google::protobuf::io::CodedOutputStream* output) const; 271 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
233 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 272 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
234 int GetCachedSize() const { return _cached_size_; } 273 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
274 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
275 const PROTOBUF_FINAL {
276 return InternalSerializeWithCachedSizesToArray(false, output);
277 }
278 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
235 private: 279 private:
236 void SharedCtor(); 280 void SharedCtor();
237 void SharedDtor(); 281 void SharedDtor();
238 void SetCachedSize(int size) const; 282 void SetCachedSize(int size) const PROTOBUF_FINAL;
239 void InternalSwap(Method* other); 283 void InternalSwap(Method* other);
240 private: 284 private:
241 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 285 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
242 return _internal_metadata_.arena(); 286 return NULL;
243 } 287 }
244 inline void* MaybeArenaPtr() const { 288 inline void* MaybeArenaPtr() const {
245 return _internal_metadata_.raw_arena_ptr(); 289 return NULL;
246 } 290 }
247 public: 291 public:
248 292
249 ::google::protobuf::Metadata GetMetadata() const; 293 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
250 294
251 // nested types ---------------------------------------------------- 295 // nested types ----------------------------------------------------
252 296
253 // accessors ------------------------------------------------------- 297 // accessors -------------------------------------------------------
254 298
255 // optional string name = 1; 299 // string name = 1;
256 void clear_name(); 300 void clear_name();
257 static const int kNameFieldNumber = 1; 301 static const int kNameFieldNumber = 1;
258 const ::std::string& name() const; 302 const ::std::string& name() const;
259 void set_name(const ::std::string& value); 303 void set_name(const ::std::string& value);
260 void set_name(const char* value); 304 void set_name(const char* value);
261 void set_name(const char* value, size_t size); 305 void set_name(const char* value, size_t size);
262 ::std::string* mutable_name(); 306 ::std::string* mutable_name();
263 ::std::string* release_name(); 307 ::std::string* release_name();
264 void set_allocated_name(::std::string* name); 308 void set_allocated_name(::std::string* name);
265 309
266 // optional string request_type_url = 2; 310 // string request_type_url = 2;
267 void clear_request_type_url(); 311 void clear_request_type_url();
268 static const int kRequestTypeUrlFieldNumber = 2; 312 static const int kRequestTypeUrlFieldNumber = 2;
269 const ::std::string& request_type_url() const; 313 const ::std::string& request_type_url() const;
270 void set_request_type_url(const ::std::string& value); 314 void set_request_type_url(const ::std::string& value);
271 void set_request_type_url(const char* value); 315 void set_request_type_url(const char* value);
272 void set_request_type_url(const char* value, size_t size); 316 void set_request_type_url(const char* value, size_t size);
273 ::std::string* mutable_request_type_url(); 317 ::std::string* mutable_request_type_url();
274 ::std::string* release_request_type_url(); 318 ::std::string* release_request_type_url();
275 void set_allocated_request_type_url(::std::string* request_type_url); 319 void set_allocated_request_type_url(::std::string* request_type_url);
276 320
277 // optional bool request_streaming = 3; 321 // bool request_streaming = 3;
278 void clear_request_streaming(); 322 void clear_request_streaming();
279 static const int kRequestStreamingFieldNumber = 3; 323 static const int kRequestStreamingFieldNumber = 3;
280 bool request_streaming() const; 324 bool request_streaming() const;
281 void set_request_streaming(bool value); 325 void set_request_streaming(bool value);
282 326
283 // optional string response_type_url = 4; 327 // string response_type_url = 4;
284 void clear_response_type_url(); 328 void clear_response_type_url();
285 static const int kResponseTypeUrlFieldNumber = 4; 329 static const int kResponseTypeUrlFieldNumber = 4;
286 const ::std::string& response_type_url() const; 330 const ::std::string& response_type_url() const;
287 void set_response_type_url(const ::std::string& value); 331 void set_response_type_url(const ::std::string& value);
288 void set_response_type_url(const char* value); 332 void set_response_type_url(const char* value);
289 void set_response_type_url(const char* value, size_t size); 333 void set_response_type_url(const char* value, size_t size);
290 ::std::string* mutable_response_type_url(); 334 ::std::string* mutable_response_type_url();
291 ::std::string* release_response_type_url(); 335 ::std::string* release_response_type_url();
292 void set_allocated_response_type_url(::std::string* response_type_url); 336 void set_allocated_response_type_url(::std::string* response_type_url);
293 337
294 // optional bool response_streaming = 5; 338 // bool response_streaming = 5;
295 void clear_response_streaming(); 339 void clear_response_streaming();
296 static const int kResponseStreamingFieldNumber = 5; 340 static const int kResponseStreamingFieldNumber = 5;
297 bool response_streaming() const; 341 bool response_streaming() const;
298 void set_response_streaming(bool value); 342 void set_response_streaming(bool value);
299 343
300 // repeated .google.protobuf.Option options = 6; 344 // repeated .google.protobuf.Option options = 6;
301 int options_size() const; 345 int options_size() const;
302 void clear_options(); 346 void clear_options();
303 static const int kOptionsFieldNumber = 6; 347 static const int kOptionsFieldNumber = 6;
304 const ::google::protobuf::Option& options(int index) const; 348 const ::google::protobuf::Option& options(int index) const;
305 ::google::protobuf::Option* mutable_options(int index); 349 ::google::protobuf::Option* mutable_options(int index);
306 ::google::protobuf::Option* add_options(); 350 ::google::protobuf::Option* add_options();
307 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* 351 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
308 mutable_options(); 352 mutable_options();
309 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& 353 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
310 options() const; 354 options() const;
311 355
312 // optional .google.protobuf.Syntax syntax = 7; 356 // .google.protobuf.Syntax syntax = 7;
313 void clear_syntax(); 357 void clear_syntax();
314 static const int kSyntaxFieldNumber = 7; 358 static const int kSyntaxFieldNumber = 7;
315 ::google::protobuf::Syntax syntax() const; 359 ::google::protobuf::Syntax syntax() const;
316 void set_syntax(::google::protobuf::Syntax value); 360 void set_syntax(::google::protobuf::Syntax value);
317 361
318 // @@protoc_insertion_point(class_scope:google.protobuf.Method) 362 // @@protoc_insertion_point(class_scope:google.protobuf.Method)
319 private: 363 private:
320 364
321 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 365 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
322 bool _is_default_instance_; 366 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
323 ::google::protobuf::internal::ArenaStringPtr name_; 367 ::google::protobuf::internal::ArenaStringPtr name_;
324 ::google::protobuf::internal::ArenaStringPtr request_type_url_; 368 ::google::protobuf::internal::ArenaStringPtr request_type_url_;
325 ::google::protobuf::internal::ArenaStringPtr response_type_url_; 369 ::google::protobuf::internal::ArenaStringPtr response_type_url_;
326 bool request_streaming_; 370 bool request_streaming_;
327 bool response_streaming_; 371 bool response_streaming_;
328 int syntax_; 372 int syntax_;
329 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
330 mutable int _cached_size_; 373 mutable int _cached_size_;
331 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fapi_2eprot o(); 374 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fapi_2 eproto_impl();
332 friend void protobuf_AssignDesc_google_2fprotobuf_2fapi_2eproto(); 375 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fapi_2eprot o_impl();
376 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f api_2eproto();
333 friend void protobuf_ShutdownFile_google_2fprotobuf_2fapi_2eproto(); 377 friend void protobuf_ShutdownFile_google_2fprotobuf_2fapi_2eproto();
334 378
335 void InitAsDefaultInstance();
336 static Method* default_instance_;
337 }; 379 };
338 // ------------------------------------------------------------------- 380 // -------------------------------------------------------------------
339 381
340 class LIBPROTOBUF_EXPORT Mixin : public ::google::protobuf::Message { 382 class LIBPROTOBUF_EXPORT Mixin : public ::google::protobuf::Message /* @@protoc_ insertion_point(class_definition:google.protobuf.Mixin) */ {
341 public: 383 public:
342 Mixin(); 384 Mixin();
343 virtual ~Mixin(); 385 virtual ~Mixin();
344 386
345 Mixin(const Mixin& from); 387 Mixin(const Mixin& from);
346 388
347 inline Mixin& operator=(const Mixin& from) { 389 inline Mixin& operator=(const Mixin& from) {
348 CopyFrom(from); 390 CopyFrom(from);
349 return *this; 391 return *this;
350 } 392 }
351 393
352 static const ::google::protobuf::Descriptor* descriptor(); 394 static const ::google::protobuf::Descriptor* descriptor();
353 static const Mixin& default_instance(); 395 static const Mixin& default_instance();
354 396
397 static inline const Mixin* internal_default_instance() {
398 return reinterpret_cast<const Mixin*>(
399 &_Mixin_default_instance_);
400 }
401
355 void Swap(Mixin* other); 402 void Swap(Mixin* other);
356 403
357 // implements Message ---------------------------------------------- 404 // implements Message ----------------------------------------------
358 405
359 inline Mixin* New() const { return New(NULL); } 406 inline Mixin* New() const PROTOBUF_FINAL { return New(NULL); }
360 407
361 Mixin* New(::google::protobuf::Arena* arena) const; 408 Mixin* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
362 void CopyFrom(const ::google::protobuf::Message& from); 409 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
363 void MergeFrom(const ::google::protobuf::Message& from); 410 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
364 void CopyFrom(const Mixin& from); 411 void CopyFrom(const Mixin& from);
365 void MergeFrom(const Mixin& from); 412 void MergeFrom(const Mixin& from);
366 void Clear(); 413 void Clear() PROTOBUF_FINAL;
367 bool IsInitialized() const; 414 bool IsInitialized() const PROTOBUF_FINAL;
368 415
369 int ByteSize() const; 416 size_t ByteSizeLong() const PROTOBUF_FINAL;
370 bool MergePartialFromCodedStream( 417 bool MergePartialFromCodedStream(
371 ::google::protobuf::io::CodedInputStream* input); 418 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
372 void SerializeWithCachedSizes( 419 void SerializeWithCachedSizes(
373 ::google::protobuf::io::CodedOutputStream* output) const; 420 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
374 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output) const; 421 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
375 int GetCachedSize() const { return _cached_size_; } 422 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINA L;
423 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf: :uint8* output)
424 const PROTOBUF_FINAL {
425 return InternalSerializeWithCachedSizesToArray(false, output);
426 }
427 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
376 private: 428 private:
377 void SharedCtor(); 429 void SharedCtor();
378 void SharedDtor(); 430 void SharedDtor();
379 void SetCachedSize(int size) const; 431 void SetCachedSize(int size) const PROTOBUF_FINAL;
380 void InternalSwap(Mixin* other); 432 void InternalSwap(Mixin* other);
381 private: 433 private:
382 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 434 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
383 return _internal_metadata_.arena(); 435 return NULL;
384 } 436 }
385 inline void* MaybeArenaPtr() const { 437 inline void* MaybeArenaPtr() const {
386 return _internal_metadata_.raw_arena_ptr(); 438 return NULL;
387 } 439 }
388 public: 440 public:
389 441
390 ::google::protobuf::Metadata GetMetadata() const; 442 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
391 443
392 // nested types ---------------------------------------------------- 444 // nested types ----------------------------------------------------
393 445
394 // accessors ------------------------------------------------------- 446 // accessors -------------------------------------------------------
395 447
396 // optional string name = 1; 448 // string name = 1;
397 void clear_name(); 449 void clear_name();
398 static const int kNameFieldNumber = 1; 450 static const int kNameFieldNumber = 1;
399 const ::std::string& name() const; 451 const ::std::string& name() const;
400 void set_name(const ::std::string& value); 452 void set_name(const ::std::string& value);
401 void set_name(const char* value); 453 void set_name(const char* value);
402 void set_name(const char* value, size_t size); 454 void set_name(const char* value, size_t size);
403 ::std::string* mutable_name(); 455 ::std::string* mutable_name();
404 ::std::string* release_name(); 456 ::std::string* release_name();
405 void set_allocated_name(::std::string* name); 457 void set_allocated_name(::std::string* name);
406 458
407 // optional string root = 2; 459 // string root = 2;
408 void clear_root(); 460 void clear_root();
409 static const int kRootFieldNumber = 2; 461 static const int kRootFieldNumber = 2;
410 const ::std::string& root() const; 462 const ::std::string& root() const;
411 void set_root(const ::std::string& value); 463 void set_root(const ::std::string& value);
412 void set_root(const char* value); 464 void set_root(const char* value);
413 void set_root(const char* value, size_t size); 465 void set_root(const char* value, size_t size);
414 ::std::string* mutable_root(); 466 ::std::string* mutable_root();
415 ::std::string* release_root(); 467 ::std::string* release_root();
416 void set_allocated_root(::std::string* root); 468 void set_allocated_root(::std::string* root);
417 469
418 // @@protoc_insertion_point(class_scope:google.protobuf.Mixin) 470 // @@protoc_insertion_point(class_scope:google.protobuf.Mixin)
419 private: 471 private:
420 472
421 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 473 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
422 bool _is_default_instance_;
423 ::google::protobuf::internal::ArenaStringPtr name_; 474 ::google::protobuf::internal::ArenaStringPtr name_;
424 ::google::protobuf::internal::ArenaStringPtr root_; 475 ::google::protobuf::internal::ArenaStringPtr root_;
425 mutable int _cached_size_; 476 mutable int _cached_size_;
426 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fapi_2eprot o(); 477 friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fapi_2 eproto_impl();
427 friend void protobuf_AssignDesc_google_2fprotobuf_2fapi_2eproto(); 478 friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fapi_2eprot o_impl();
479 friend const ::google::protobuf::uint32* protobuf_Offsets_google_2fprotobuf_2f api_2eproto();
428 friend void protobuf_ShutdownFile_google_2fprotobuf_2fapi_2eproto(); 480 friend void protobuf_ShutdownFile_google_2fprotobuf_2fapi_2eproto();
429 481
430 void InitAsDefaultInstance();
431 static Mixin* default_instance_;
432 }; 482 };
433 // =================================================================== 483 // ===================================================================
434 484
435 485
436 // =================================================================== 486 // ===================================================================
437 487
438 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 488 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
439 // Api 489 // Api
440 490
441 // optional string name = 1; 491 // string name = 1;
442 inline void Api::clear_name() { 492 inline void Api::clear_name() {
443 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited()); 493 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited());
444 } 494 }
445 inline const ::std::string& Api::name() const { 495 inline const ::std::string& Api::name() const {
446 // @@protoc_insertion_point(field_get:google.protobuf.Api.name) 496 // @@protoc_insertion_point(field_get:google.protobuf.Api.name)
447 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited()); 497 return name_.GetNoArena();
448 } 498 }
449 inline void Api::set_name(const ::std::string& value) { 499 inline void Api::set_name(const ::std::string& value) {
450 500
451 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 501 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
452 // @@protoc_insertion_point(field_set:google.protobuf.Api.name) 502 // @@protoc_insertion_point(field_set:google.protobuf.Api.name)
453 } 503 }
454 inline void Api::set_name(const char* value) { 504 inline void Api::set_name(const char* value) {
455 505
456 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 506 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
457 // @@protoc_insertion_point(field_set_char:google.protobuf.Api.name) 507 // @@protoc_insertion_point(field_set_char:google.protobuf.Api.name)
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 Api::mutable_options() { 585 Api::mutable_options() {
536 // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.options) 586 // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.options)
537 return &options_; 587 return &options_;
538 } 588 }
539 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& 589 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
540 Api::options() const { 590 Api::options() const {
541 // @@protoc_insertion_point(field_list:google.protobuf.Api.options) 591 // @@protoc_insertion_point(field_list:google.protobuf.Api.options)
542 return options_; 592 return options_;
543 } 593 }
544 594
545 // optional string version = 4; 595 // string version = 4;
546 inline void Api::clear_version() { 596 inline void Api::clear_version() {
547 version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited()); 597 version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited());
548 } 598 }
549 inline const ::std::string& Api::version() const { 599 inline const ::std::string& Api::version() const {
550 // @@protoc_insertion_point(field_get:google.protobuf.Api.version) 600 // @@protoc_insertion_point(field_get:google.protobuf.Api.version)
551 return version_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlread yInited()); 601 return version_.GetNoArena();
552 } 602 }
553 inline void Api::set_version(const ::std::string& value) { 603 inline void Api::set_version(const ::std::string& value) {
554 604
555 version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited (), value); 605 version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited (), value);
556 // @@protoc_insertion_point(field_set:google.protobuf.Api.version) 606 // @@protoc_insertion_point(field_set:google.protobuf.Api.version)
557 } 607 }
558 inline void Api::set_version(const char* value) { 608 inline void Api::set_version(const char* value) {
559 609
560 version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited (), ::std::string(value)); 610 version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited (), ::std::string(value));
561 // @@protoc_insertion_point(field_set_char:google.protobuf.Api.version) 611 // @@protoc_insertion_point(field_set_char:google.protobuf.Api.version)
(...skipping 17 matching lines...) Expand all
579 inline void Api::set_allocated_version(::std::string* version) { 629 inline void Api::set_allocated_version(::std::string* version) {
580 if (version != NULL) { 630 if (version != NULL) {
581 631
582 } else { 632 } else {
583 633
584 } 634 }
585 version_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), version); 635 version_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), version);
586 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.version) 636 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.version)
587 } 637 }
588 638
589 // optional .google.protobuf.SourceContext source_context = 5; 639 // .google.protobuf.SourceContext source_context = 5;
590 inline bool Api::has_source_context() const { 640 inline bool Api::has_source_context() const {
591 return !_is_default_instance_ && source_context_ != NULL; 641 return this != internal_default_instance() && source_context_ != NULL;
592 } 642 }
593 inline void Api::clear_source_context() { 643 inline void Api::clear_source_context() {
594 if (GetArenaNoVirtual() == NULL && source_context_ != NULL) delete source_cont ext_; 644 if (GetArenaNoVirtual() == NULL && source_context_ != NULL) delete source_cont ext_;
595 source_context_ = NULL; 645 source_context_ = NULL;
596 } 646 }
597 inline const ::google::protobuf::SourceContext& Api::source_context() const { 647 inline const ::google::protobuf::SourceContext& Api::source_context() const {
598 // @@protoc_insertion_point(field_get:google.protobuf.Api.source_context) 648 // @@protoc_insertion_point(field_get:google.protobuf.Api.source_context)
599 return source_context_ != NULL ? *source_context_ : *default_instance_->source _context_; 649 return source_context_ != NULL ? *source_context_
650 : *::google::protobuf::SourceContext::internal_default_ instance();
600 } 651 }
601 inline ::google::protobuf::SourceContext* Api::mutable_source_context() { 652 inline ::google::protobuf::SourceContext* Api::mutable_source_context() {
602 653
603 if (source_context_ == NULL) { 654 if (source_context_ == NULL) {
604 source_context_ = new ::google::protobuf::SourceContext; 655 source_context_ = new ::google::protobuf::SourceContext;
605 } 656 }
606 // @@protoc_insertion_point(field_mutable:google.protobuf.Api.source_context) 657 // @@protoc_insertion_point(field_mutable:google.protobuf.Api.source_context)
607 return source_context_; 658 return source_context_;
608 } 659 }
609 inline ::google::protobuf::SourceContext* Api::release_source_context() { 660 inline ::google::protobuf::SourceContext* Api::release_source_context() {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 Api::mutable_mixins() { 698 Api::mutable_mixins() {
648 // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.mixins) 699 // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.mixins)
649 return &mixins_; 700 return &mixins_;
650 } 701 }
651 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >& 702 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >&
652 Api::mixins() const { 703 Api::mixins() const {
653 // @@protoc_insertion_point(field_list:google.protobuf.Api.mixins) 704 // @@protoc_insertion_point(field_list:google.protobuf.Api.mixins)
654 return mixins_; 705 return mixins_;
655 } 706 }
656 707
657 // optional .google.protobuf.Syntax syntax = 7; 708 // .google.protobuf.Syntax syntax = 7;
658 inline void Api::clear_syntax() { 709 inline void Api::clear_syntax() {
659 syntax_ = 0; 710 syntax_ = 0;
660 } 711 }
661 inline ::google::protobuf::Syntax Api::syntax() const { 712 inline ::google::protobuf::Syntax Api::syntax() const {
662 // @@protoc_insertion_point(field_get:google.protobuf.Api.syntax) 713 // @@protoc_insertion_point(field_get:google.protobuf.Api.syntax)
663 return static_cast< ::google::protobuf::Syntax >(syntax_); 714 return static_cast< ::google::protobuf::Syntax >(syntax_);
664 } 715 }
665 inline void Api::set_syntax(::google::protobuf::Syntax value) { 716 inline void Api::set_syntax(::google::protobuf::Syntax value) {
666 717
667 syntax_ = value; 718 syntax_ = value;
668 // @@protoc_insertion_point(field_set:google.protobuf.Api.syntax) 719 // @@protoc_insertion_point(field_set:google.protobuf.Api.syntax)
669 } 720 }
670 721
671 // ------------------------------------------------------------------- 722 // -------------------------------------------------------------------
672 723
673 // Method 724 // Method
674 725
675 // optional string name = 1; 726 // string name = 1;
676 inline void Method::clear_name() { 727 inline void Method::clear_name() {
677 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited()); 728 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited());
678 } 729 }
679 inline const ::std::string& Method::name() const { 730 inline const ::std::string& Method::name() const {
680 // @@protoc_insertion_point(field_get:google.protobuf.Method.name) 731 // @@protoc_insertion_point(field_get:google.protobuf.Method.name)
681 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited()); 732 return name_.GetNoArena();
682 } 733 }
683 inline void Method::set_name(const ::std::string& value) { 734 inline void Method::set_name(const ::std::string& value) {
684 735
685 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 736 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
686 // @@protoc_insertion_point(field_set:google.protobuf.Method.name) 737 // @@protoc_insertion_point(field_set:google.protobuf.Method.name)
687 } 738 }
688 inline void Method::set_name(const char* value) { 739 inline void Method::set_name(const char* value) {
689 740
690 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 741 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
691 // @@protoc_insertion_point(field_set_char:google.protobuf.Method.name) 742 // @@protoc_insertion_point(field_set_char:google.protobuf.Method.name)
(...skipping 17 matching lines...) Expand all
709 inline void Method::set_allocated_name(::std::string* name) { 760 inline void Method::set_allocated_name(::std::string* name) {
710 if (name != NULL) { 761 if (name != NULL) {
711 762
712 } else { 763 } else {
713 764
714 } 765 }
715 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited(), name); 766 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited(), name);
716 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.name) 767 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.name)
717 } 768 }
718 769
719 // optional string request_type_url = 2; 770 // string request_type_url = 2;
720 inline void Method::clear_request_type_url() { 771 inline void Method::clear_request_type_url() {
721 request_type_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited()); 772 request_type_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited());
722 } 773 }
723 inline const ::std::string& Method::request_type_url() const { 774 inline const ::std::string& Method::request_type_url() const {
724 // @@protoc_insertion_point(field_get:google.protobuf.Method.request_type_url) 775 // @@protoc_insertion_point(field_get:google.protobuf.Method.request_type_url)
725 return request_type_url_.GetNoArena(&::google::protobuf::internal::GetEmptyStr ingAlreadyInited()); 776 return request_type_url_.GetNoArena();
726 } 777 }
727 inline void Method::set_request_type_url(const ::std::string& value) { 778 inline void Method::set_request_type_url(const ::std::string& value) {
728 779
729 request_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), value); 780 request_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), value);
730 // @@protoc_insertion_point(field_set:google.protobuf.Method.request_type_url) 781 // @@protoc_insertion_point(field_set:google.protobuf.Method.request_type_url)
731 } 782 }
732 inline void Method::set_request_type_url(const char* value) { 783 inline void Method::set_request_type_url(const char* value) {
733 784
734 request_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), ::std::string(value)); 785 request_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlre adyInited(), ::std::string(value));
735 // @@protoc_insertion_point(field_set_char:google.protobuf.Method.request_type _url) 786 // @@protoc_insertion_point(field_set_char:google.protobuf.Method.request_type _url)
(...skipping 17 matching lines...) Expand all
753 inline void Method::set_allocated_request_type_url(::std::string* request_type_u rl) { 804 inline void Method::set_allocated_request_type_url(::std::string* request_type_u rl) {
754 if (request_type_url != NULL) { 805 if (request_type_url != NULL) {
755 806
756 } else { 807 } else {
757 808
758 } 809 }
759 request_type_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited(), request_type_url); 810 request_type_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyS tringAlreadyInited(), request_type_url);
760 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.request _type_url) 811 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.request _type_url)
761 } 812 }
762 813
763 // optional bool request_streaming = 3; 814 // bool request_streaming = 3;
764 inline void Method::clear_request_streaming() { 815 inline void Method::clear_request_streaming() {
765 request_streaming_ = false; 816 request_streaming_ = false;
766 } 817 }
767 inline bool Method::request_streaming() const { 818 inline bool Method::request_streaming() const {
768 // @@protoc_insertion_point(field_get:google.protobuf.Method.request_streaming ) 819 // @@protoc_insertion_point(field_get:google.protobuf.Method.request_streaming )
769 return request_streaming_; 820 return request_streaming_;
770 } 821 }
771 inline void Method::set_request_streaming(bool value) { 822 inline void Method::set_request_streaming(bool value) {
772 823
773 request_streaming_ = value; 824 request_streaming_ = value;
774 // @@protoc_insertion_point(field_set:google.protobuf.Method.request_streaming ) 825 // @@protoc_insertion_point(field_set:google.protobuf.Method.request_streaming )
775 } 826 }
776 827
777 // optional string response_type_url = 4; 828 // string response_type_url = 4;
778 inline void Method::clear_response_type_url() { 829 inline void Method::clear_response_type_url() {
779 response_type_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmpty StringAlreadyInited()); 830 response_type_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmpty StringAlreadyInited());
780 } 831 }
781 inline const ::std::string& Method::response_type_url() const { 832 inline const ::std::string& Method::response_type_url() const {
782 // @@protoc_insertion_point(field_get:google.protobuf.Method.response_type_url ) 833 // @@protoc_insertion_point(field_get:google.protobuf.Method.response_type_url )
783 return response_type_url_.GetNoArena(&::google::protobuf::internal::GetEmptySt ringAlreadyInited()); 834 return response_type_url_.GetNoArena();
784 } 835 }
785 inline void Method::set_response_type_url(const ::std::string& value) { 836 inline void Method::set_response_type_url(const ::std::string& value) {
786 837
787 response_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited(), value); 838 response_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited(), value);
788 // @@protoc_insertion_point(field_set:google.protobuf.Method.response_type_url ) 839 // @@protoc_insertion_point(field_set:google.protobuf.Method.response_type_url )
789 } 840 }
790 inline void Method::set_response_type_url(const char* value) { 841 inline void Method::set_response_type_url(const char* value) {
791 842
792 response_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited(), ::std::string(value)); 843 response_type_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlr eadyInited(), ::std::string(value));
793 // @@protoc_insertion_point(field_set_char:google.protobuf.Method.response_typ e_url) 844 // @@protoc_insertion_point(field_set_char:google.protobuf.Method.response_typ e_url)
(...skipping 17 matching lines...) Expand all
811 inline void Method::set_allocated_response_type_url(::std::string* response_type _url) { 862 inline void Method::set_allocated_response_type_url(::std::string* response_type _url) {
812 if (response_type_url != NULL) { 863 if (response_type_url != NULL) {
813 864
814 } else { 865 } else {
815 866
816 } 867 }
817 response_type_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmpty StringAlreadyInited(), response_type_url); 868 response_type_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmpty StringAlreadyInited(), response_type_url);
818 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.respons e_type_url) 869 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.respons e_type_url)
819 } 870 }
820 871
821 // optional bool response_streaming = 5; 872 // bool response_streaming = 5;
822 inline void Method::clear_response_streaming() { 873 inline void Method::clear_response_streaming() {
823 response_streaming_ = false; 874 response_streaming_ = false;
824 } 875 }
825 inline bool Method::response_streaming() const { 876 inline bool Method::response_streaming() const {
826 // @@protoc_insertion_point(field_get:google.protobuf.Method.response_streamin g) 877 // @@protoc_insertion_point(field_get:google.protobuf.Method.response_streamin g)
827 return response_streaming_; 878 return response_streaming_;
828 } 879 }
829 inline void Method::set_response_streaming(bool value) { 880 inline void Method::set_response_streaming(bool value) {
830 881
831 response_streaming_ = value; 882 response_streaming_ = value;
(...skipping 23 matching lines...) Expand all
855 Method::mutable_options() { 906 Method::mutable_options() {
856 // @@protoc_insertion_point(field_mutable_list:google.protobuf.Method.options) 907 // @@protoc_insertion_point(field_mutable_list:google.protobuf.Method.options)
857 return &options_; 908 return &options_;
858 } 909 }
859 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& 910 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
860 Method::options() const { 911 Method::options() const {
861 // @@protoc_insertion_point(field_list:google.protobuf.Method.options) 912 // @@protoc_insertion_point(field_list:google.protobuf.Method.options)
862 return options_; 913 return options_;
863 } 914 }
864 915
865 // optional .google.protobuf.Syntax syntax = 7; 916 // .google.protobuf.Syntax syntax = 7;
866 inline void Method::clear_syntax() { 917 inline void Method::clear_syntax() {
867 syntax_ = 0; 918 syntax_ = 0;
868 } 919 }
869 inline ::google::protobuf::Syntax Method::syntax() const { 920 inline ::google::protobuf::Syntax Method::syntax() const {
870 // @@protoc_insertion_point(field_get:google.protobuf.Method.syntax) 921 // @@protoc_insertion_point(field_get:google.protobuf.Method.syntax)
871 return static_cast< ::google::protobuf::Syntax >(syntax_); 922 return static_cast< ::google::protobuf::Syntax >(syntax_);
872 } 923 }
873 inline void Method::set_syntax(::google::protobuf::Syntax value) { 924 inline void Method::set_syntax(::google::protobuf::Syntax value) {
874 925
875 syntax_ = value; 926 syntax_ = value;
876 // @@protoc_insertion_point(field_set:google.protobuf.Method.syntax) 927 // @@protoc_insertion_point(field_set:google.protobuf.Method.syntax)
877 } 928 }
878 929
879 // ------------------------------------------------------------------- 930 // -------------------------------------------------------------------
880 931
881 // Mixin 932 // Mixin
882 933
883 // optional string name = 1; 934 // string name = 1;
884 inline void Mixin::clear_name() { 935 inline void Mixin::clear_name() {
885 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited()); 936 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited());
886 } 937 }
887 inline const ::std::string& Mixin::name() const { 938 inline const ::std::string& Mixin::name() const {
888 // @@protoc_insertion_point(field_get:google.protobuf.Mixin.name) 939 // @@protoc_insertion_point(field_get:google.protobuf.Mixin.name)
889 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited()); 940 return name_.GetNoArena();
890 } 941 }
891 inline void Mixin::set_name(const ::std::string& value) { 942 inline void Mixin::set_name(const ::std::string& value) {
892 943
893 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 944 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
894 // @@protoc_insertion_point(field_set:google.protobuf.Mixin.name) 945 // @@protoc_insertion_point(field_set:google.protobuf.Mixin.name)
895 } 946 }
896 inline void Mixin::set_name(const char* value) { 947 inline void Mixin::set_name(const char* value) {
897 948
898 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 949 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
899 // @@protoc_insertion_point(field_set_char:google.protobuf.Mixin.name) 950 // @@protoc_insertion_point(field_set_char:google.protobuf.Mixin.name)
(...skipping 17 matching lines...) Expand all
917 inline void Mixin::set_allocated_name(::std::string* name) { 968 inline void Mixin::set_allocated_name(::std::string* name) {
918 if (name != NULL) { 969 if (name != NULL) {
919 970
920 } else { 971 } else {
921 972
922 } 973 }
923 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited(), name); 974 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited(), name);
924 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Mixin.name) 975 // @@protoc_insertion_point(field_set_allocated:google.protobuf.Mixin.name)
925 } 976 }
926 977
927 // optional string root = 2; 978 // string root = 2;
928 inline void Mixin::clear_root() { 979 inline void Mixin::clear_root() {
929 root_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited()); 980 root_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlready Inited());
930 } 981 }
931 inline const ::std::string& Mixin::root() const { 982 inline const ::std::string& Mixin::root() const {
932 // @@protoc_insertion_point(field_get:google.protobuf.Mixin.root) 983 // @@protoc_insertion_point(field_get:google.protobuf.Mixin.root)
933 return root_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyIn ited()); 984 return root_.GetNoArena();
934 } 985 }
935 inline void Mixin::set_root(const ::std::string& value) { 986 inline void Mixin::set_root(const ::std::string& value) {
936 987
937 root_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 988 root_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
938 // @@protoc_insertion_point(field_set:google.protobuf.Mixin.root) 989 // @@protoc_insertion_point(field_set:google.protobuf.Mixin.root)
939 } 990 }
940 inline void Mixin::set_root(const char* value) { 991 inline void Mixin::set_root(const char* value) {
941 992
942 root_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 993 root_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
943 // @@protoc_insertion_point(field_set_char:google.protobuf.Mixin.root) 994 // @@protoc_insertion_point(field_set_char:google.protobuf.Mixin.root)
(...skipping 25 matching lines...) Expand all
969 } 1020 }
970 1021
971 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 1022 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
972 // ------------------------------------------------------------------- 1023 // -------------------------------------------------------------------
973 1024
974 // ------------------------------------------------------------------- 1025 // -------------------------------------------------------------------
975 1026
976 1027
977 // @@protoc_insertion_point(namespace_scope) 1028 // @@protoc_insertion_point(namespace_scope)
978 1029
1030
979 } // namespace protobuf 1031 } // namespace protobuf
980 } // namespace google 1032 } // namespace google
981 1033
982 // @@protoc_insertion_point(global_scope) 1034 // @@protoc_insertion_point(global_scope)
983 1035
984 #endif // PROTOBUF_google_2fprotobuf_2fapi_2eproto__INCLUDED 1036 #endif // PROTOBUF_google_2fprotobuf_2fapi_2eproto__INCLUDED
OLDNEW
« no previous file with comments | « third_party/protobuf/src/google/protobuf/api.proto ('k') | third_party/protobuf/src/google/protobuf/api.pb.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698