4 #ifndef PROTOBUF_google_2fprotobuf_2fapi_2eproto__INCLUDED 5 #define PROTOBUF_google_2fprotobuf_2fapi_2eproto__INCLUDED 11 #if GOOGLE_PROTOBUF_VERSION < 3000000 12 #error This file was generated by a newer version of protoc which is 13 #error incompatible with your Protocol Buffer headers. Please update 16 #if 3000000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION 17 #error This file was generated by an older version of protoc which is 18 #error incompatible with your Protocol Buffer headers. Please 19 #error regenerate this file with a newer version of protoc. 61 static const Api& default_instance();
63 void Swap(
Api* other);
72 void CopyFrom(
const Api& from);
78 bool MergePartialFromCodedStream(
80 void SerializeWithCachedSizes(
87 void SetCachedSize(
int size)
const;
88 void InternalSwap(
Api* other);
90 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
91 return _internal_metadata_.arena();
93 inline void* MaybeArenaPtr()
const {
94 return _internal_metadata_.raw_arena_ptr();
106 static const int kNameFieldNumber = 1;
109 void set_name(
const char*
value);
110 void set_name(
const char*
value,
size_t size);
116 int methods_size()
const;
117 void clear_methods();
118 static const int kMethodsFieldNumber = 2;
119 const ::google::protobuf::Method& methods(
int index)
const;
124 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method >&
128 int options_size()
const;
129 void clear_options();
130 static const int kOptionsFieldNumber = 3;
131 const ::google::protobuf::Option&
options(
int index)
const;
136 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
140 void clear_version();
141 static const int kVersionFieldNumber = 4;
151 bool has_source_context()
const;
152 void clear_source_context();
153 static const int kSourceContextFieldNumber = 5;
154 const ::google::protobuf::SourceContext& source_context()
const;
160 int mixins_size()
const;
162 static const int kMixinsFieldNumber = 6;
163 const ::google::protobuf::Mixin& mixins(
int index)
const;
168 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >&
173 static const int kSyntaxFieldNumber = 7;
181 bool _is_default_instance_;
189 mutable int _cached_size_;
194 void InitAsDefaultInstance();
195 static Api* default_instance_;
212 static const Method& default_instance();
223 void CopyFrom(
const Method& from);
229 bool MergePartialFromCodedStream(
231 void SerializeWithCachedSizes(
238 void SetCachedSize(
int size)
const;
239 void InternalSwap(
Method* other);
241 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
242 return _internal_metadata_.arena();
244 inline void* MaybeArenaPtr()
const {
245 return _internal_metadata_.raw_arena_ptr();
257 static const int kNameFieldNumber = 1;
260 void set_name(
const char*
value);
261 void set_name(
const char*
value,
size_t size);
267 void clear_request_type_url();
268 static const int kRequestTypeUrlFieldNumber = 2;
271 void set_request_type_url(
const char*
value);
272 void set_request_type_url(
const char*
value,
size_t size);
275 void set_allocated_request_type_url(::
std::string* request_type_url);
278 void clear_request_streaming();
279 static const int kRequestStreamingFieldNumber = 3;
280 bool request_streaming()
const;
281 void set_request_streaming(
bool value);
284 void clear_response_type_url();
285 static const int kResponseTypeUrlFieldNumber = 4;
288 void set_response_type_url(
const char*
value);
289 void set_response_type_url(
const char*
value,
size_t size);
292 void set_allocated_response_type_url(::
std::string* response_type_url);
295 void clear_response_streaming();
296 static const int kResponseStreamingFieldNumber = 5;
297 bool response_streaming()
const;
298 void set_response_streaming(
bool value);
301 int options_size()
const;
302 void clear_options();
303 static const int kOptionsFieldNumber = 6;
304 const ::google::protobuf::Option&
options(
int index)
const;
309 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
314 static const int kSyntaxFieldNumber = 7;
322 bool _is_default_instance_;
326 bool request_streaming_;
327 bool response_streaming_;
330 mutable int _cached_size_;
335 void InitAsDefaultInstance();
336 static Method* default_instance_;
353 static const Mixin& default_instance();
355 void Swap(
Mixin* other);
364 void CopyFrom(
const Mixin& from);
370 bool MergePartialFromCodedStream(
372 void SerializeWithCachedSizes(
379 void SetCachedSize(
int size)
const;
380 void InternalSwap(
Mixin* other);
382 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
383 return _internal_metadata_.arena();
385 inline void* MaybeArenaPtr()
const {
386 return _internal_metadata_.raw_arena_ptr();
398 static const int kNameFieldNumber = 1;
401 void set_name(
const char*
value);
402 void set_name(
const char*
value,
size_t size);
409 static const int kRootFieldNumber = 2;
412 void set_root(
const char*
value);
413 void set_root(
const char*
value,
size_t size);
422 bool _is_default_instance_;
425 mutable int _cached_size_;
430 void InitAsDefaultInstance();
431 static Mixin* default_instance_;
438 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 462 ::
std::string(reinterpret_cast<const char*>(value), size));
487 return methods_.size();
494 return methods_.Get(index);
498 return methods_.Mutable(index);
502 return methods_.Add();
504 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method >*
509 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method >&
517 return options_.size();
524 return options_.Get(index);
528 return options_.Mutable(index);
532 return options_.Add();
534 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
539 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
566 ::
std::string(reinterpret_cast<const char*>(value), size));
580 if (version !=
NULL) {
591 return !_is_default_instance_ && source_context_ !=
NULL;
594 if (GetArenaNoVirtual() ==
NULL && source_context_ !=
NULL)
delete source_context_;
595 source_context_ =
NULL;
599 return source_context_ !=
NULL ? *source_context_ : *default_instance_->source_context_;
603 if (source_context_ ==
NULL) {
604 source_context_ = new ::google::protobuf::SourceContext;
607 return source_context_;
613 source_context_ =
NULL;
617 delete source_context_;
618 source_context_ = source_context;
619 if (source_context) {
629 return mixins_.size();
636 return mixins_.Get(index);
640 return mixins_.Mutable(index);
644 return mixins_.Add();
646 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >*
651 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >&
696 ::
std::string(reinterpret_cast<const char*>(value), size));
740 ::
std::string(reinterpret_cast<const char*>(value), size));
754 if (request_type_url !=
NULL) {
765 request_streaming_ =
false;
769 return request_streaming_;
773 request_streaming_ =
value;
798 ::
std::string(reinterpret_cast<const char*>(value), size));
812 if (response_type_url !=
NULL) {
823 response_streaming_ =
false;
827 return response_streaming_;
831 response_streaming_ =
value;
837 return options_.size();
844 return options_.Get(index);
848 return options_.Mutable(index);
852 return options_.Add();
854 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
859 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
904 ::
std::string(reinterpret_cast<const char*>(value), size));
948 ::
std::string(reinterpret_cast<const char*>(value), size));
971 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 984 #endif // PROTOBUF_google_2fprotobuf_2fapi_2eproto__INCLUDED Method * New() const
Definition: api.pb.h:218
void clear_mixins()
Definition: api.pb.h:631
bool response_streaming() const
Definition: api.pb.h:825
::google::protobuf::SourceContext * release_source_context()
Definition: api.pb.h:609
bool has_source_context() const
Definition: api.pb.h:590
::google::protobuf::Option * add_options()
Definition: api.pb.h:850
Definition: message.h:179
EGLStreamKHR EGLint EGLint EGLint size
Definition: eglext.h:984
Api
Definition: ecdsa_test.cc:65
void clear_root()
Definition: api.pb.h:928
::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > * mutable_options()
Definition: api.pb.h:855
::std::string * release_response_type_url()
Definition: api.pb.h:806
bool request_streaming() const
Definition: api.pb.h:767
const ::std::string & name() const
Definition: api.pb.h:679
int options_size() const
Definition: api.pb.h:836
def root
Definition: pyjsontestrunner.py:60
::std::string * mutable_version()
Definition: api.pb.h:569
void clear_name()
Definition: api.pb.h:884
::std::string * release_name()
Definition: api.pb.h:912
const ::std::string & name() const
Definition: api.pb.h:887
::std::string * mutable_root()
Definition: api.pb.h:951
struct Descriptor Descriptor
Definition: protobuf.h:23
Mixin & operator=(const Mixin &from)
Definition: api.pb.h:347
const Descriptor * descriptor
Definition: descriptor.cc:271
uint8_t uint8
Definition: port.h:133
void clear_request_type_url()
Definition: api.pb.h:720
Api & operator=(const Api &from)
Definition: api.pb.h:55
const ::std::string & name() const
Definition: api.pb.h:445
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > & options() const
Definition: api.pb.h:860
LIBPROTOBUF_EXPORTconst ::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:85
Definition: arenastring.h:56
Message
Definition: peerconnection_unittest.cc:105
::google::protobuf::Syntax syntax() const
Definition: api.pb.h:869
Definition: command_line_interface.h:56
void set_allocated_root(::std::string *root)
Definition: api.pb.h:961
::google::protobuf::SourceContext * mutable_source_context()
Definition: api.pb.h:601
uint16_t version
Definition: ssl_lib.c:2731
Method & operator=(const Method &from)
Definition: api.pb.h:206
::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin > * mutable_mixins()
Definition: api.pb.h:647
::std::string * mutable_request_type_url()
Definition: api.pb.h:743
const ::std::string & version() const
Definition: api.pb.h:549
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method > & methods() const
Definition: api.pb.h:510
void set_allocated_name(::std::string *name)
Definition: api.pb.h:475
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > & options() const
Definition: api.pb.h:540
::google::protobuf::Option * add_options()
Definition: api.pb.h:530
Api * New() const
Definition: api.pb.h:67
const FieldDescriptor const OneofDescriptor value
Definition: descriptor.h:1717
void set_name(const ::std::string &value)
Definition: api.pb.h:449
int methods_size() const
Definition: api.pb.h:486
const ::std::string & root() const
Definition: api.pb.h:931
void clear_response_type_url()
Definition: api.pb.h:778
void set_response_type_url(const ::std::string &value)
Definition: api.pb.h:785
::google::protobuf::RepeatedPtrField< ::google::protobuf::Method > * mutable_methods()
Definition: api.pb.h:505
void set_name(const ::std::string &value)
Definition: api.pb.h:891
Definition: source_context.pb.h:44
Syntax
The syntax in which a protocol buffer element is defined.
Definition: Type.cs:78
void set_allocated_source_context(::google::protobuf::SourceContext *source_context)
Definition: api.pb.h:616
IsInitialized
Definition: python_message.py:1169
Mixin * New() const
Definition: api.pb.h:359
GLuint index
Definition: gl2.h:383
void set_version(const ::std::string &value)
Definition: api.pb.h:553
EGLAttrib * value
Definition: eglext.h:120
void set_response_streaming(bool value)
Definition: api.pb.h:829
void protobuf_AssignDesc_google_2fprotobuf_2fapi_2eproto()
Definition: api.pb.cc:38
void clear_options()
Definition: api.pb.h:839
::google::protobuf::Method * add_methods()
Definition: api.pb.h:500
::google::protobuf::Mixin * add_mixins()
Definition: api.pb.h:642
EGLImageKHR EGLint * name
Definition: eglext.h:851
int mixins_size() const
Definition: api.pb.h:628
Syntax
Definition: type.pb.h:110
int options_size() const
Definition: api.pb.h:516
void set_name(const ::std::string &value)
Definition: api.pb.h:683
Definition: __init__.py:1
void clear_name()
Definition: api.pb.h:442
void set_syntax(::google::protobuf::Syntax value)
Definition: api.pb.h:873
::std::string * mutable_response_type_url()
Definition: api.pb.h:801
::std::string * mutable_name()
Definition: api.pb.h:699
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin > & mixins() const
Definition: api.pb.h:652
::google::protobuf::Syntax syntax() const
Definition: api.pb.h:661
Definition: type.pb.h:762
void set_syntax(::google::protobuf::Syntax value)
Definition: api.pb.h:665
void set_allocated_name(::std::string *name)
Definition: api.pb.h:917
void set_request_streaming(bool value)
Definition: api.pb.h:771
void set_root(const ::std::string &value)
Definition: api.pb.h:935
GLsizei const GLchar *const * string
Definition: gl2.h:479
const ::std::string & response_type_url() const
Definition: api.pb.h:781
void clear_version()
Definition: api.pb.h:546
void set_request_type_url(const ::std::string &value)
Definition: api.pb.h:727
::std::string * mutable_name()
Definition: api.pb.h:907
void clear_options()
Definition: api.pb.h:519
::std::string * release_name()
Definition: api.pb.h:470
void clear_response_streaming()
Definition: api.pb.h:822
void clear_methods()
Definition: api.pb.h:489
#define NULL
Definition: common_types.h:41
void clear_request_streaming()
Definition: api.pb.h:764
void clear_syntax()
Definition: api.pb.h:658
::std::string * release_name()
Definition: api.pb.h:704
#define LIBPROTOBUF_EXPORT
Definition: port.h:97
::std::string * release_version()
Definition: api.pb.h:574
Definition: gflags_completions.h:115
int GetCachedSize() const
Definition: api.pb.h:375
::std::string * release_request_type_url()
Definition: api.pb.h:748
def set_version(version)
Definition: makerelease.py:33
void set_allocated_name(::std::string *name)
Definition: api.pb.h:709
const ::std::string & request_type_url() const
Definition: api.pb.h:723
GPBFileSyntax syntax_
Definition: GPBDescriptor.m:250
string input
Definition: tokenizer_unittest.cc:198
ByteSize
Definition: python_message.py:1040
::std::string * mutable_name()
Definition: api.pb.h:465
const ::google::protobuf::SourceContext & source_context() const
Definition: api.pb.h:597
void clear_name()
Definition: api.pb.h:676
void protobuf_AddDesc_google_2fprotobuf_2fapi_2eproto()
Definition: api.pb.cc:133
Definition: coded_stream.h:665
::std::string * release_root()
Definition: api.pb.h:956
int GetCachedSize() const
Definition: api.pb.h:234
::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > * mutable_options()
Definition: api.pb.h:535
void protobuf_ShutdownFile_google_2fprotobuf_2fapi_2eproto()
Definition: api.pb.cc:124
void set_allocated_request_type_url(::std::string *request_type_url)
Definition: api.pb.h:753
void clear_syntax()
Definition: api.pb.h:866
temp
Definition: parse_delay_file.m:64
void clear_source_context()
Definition: api.pb.h:593
int GetCachedSize() const
Definition: api.pb.h:83
void set_allocated_response_type_url(::std::string *response_type_url)
Definition: api.pb.h:811
MergeFrom
Definition: python_message.py:1259
void set_allocated_version(::std::string *version)
Definition: api.pb.h:579