Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 1 | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| 2 | // source: google/protobuf/api.proto |
| 3 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 4 | #ifndef PROTOBUF_INCLUDED_google_2fprotobuf_2fapi_2eproto |
| 5 | #define PROTOBUF_INCLUDED_google_2fprotobuf_2fapi_2eproto |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 6 | |
| 7 | #include <string> |
| 8 | |
| 9 | #include <google/protobuf/stubs/common.h> |
| 10 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 11 | #if GOOGLE_PROTOBUF_VERSION < 3006001 |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 12 | #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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 16 | #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 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. |
| 20 | #endif |
| 21 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 22 | #include <google/protobuf/io/coded_stream.h> |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 23 | #include <google/protobuf/arena.h> |
| 24 | #include <google/protobuf/arenastring.h> |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 25 | #include <google/protobuf/generated_message_table_driven.h> |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 26 | #include <google/protobuf/generated_message_util.h> |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 27 | #include <google/protobuf/inlined_string_field.h> |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 28 | #include <google/protobuf/metadata.h> |
| 29 | #include <google/protobuf/message.h> |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 30 | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
| 31 | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 32 | #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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 36 | #define PROTOBUF_INTERNAL_EXPORT_protobuf_google_2fprotobuf_2fapi_2eproto LIBPROTOBUF_EXPORT |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 37 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 38 | namespace protobuf_google_2fprotobuf_2fapi_2eproto { |
| 39 | // Internal implementation detail -- do not use these members. |
| 40 | struct 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 | }; |
| 48 | void LIBPROTOBUF_EXPORT AddDescriptors(); |
| 49 | } // namespace protobuf_google_2fprotobuf_2fapi_2eproto |
| 50 | namespace google { |
| 51 | namespace protobuf { |
| 52 | class Api; |
| 53 | class ApiDefaultTypeInternal; |
| 54 | LIBPROTOBUF_EXPORT extern ApiDefaultTypeInternal _Api_default_instance_; |
| 55 | class Method; |
| 56 | class MethodDefaultTypeInternal; |
| 57 | LIBPROTOBUF_EXPORT extern MethodDefaultTypeInternal _Method_default_instance_; |
| 58 | class Mixin; |
| 59 | class MixinDefaultTypeInternal; |
| 60 | LIBPROTOBUF_EXPORT extern MixinDefaultTypeInternal _Mixin_default_instance_; |
| 61 | } // namespace protobuf |
| 62 | } // namespace google |
| 63 | namespace google { |
| 64 | namespace protobuf { |
| 65 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::Api* Arena::CreateMaybeMessage<::google::protobuf::Api>(Arena*); |
| 66 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::Method* Arena::CreateMaybeMessage<::google::protobuf::Method>(Arena*); |
| 67 | template<> LIBPROTOBUF_EXPORT ::google::protobuf::Mixin* Arena::CreateMaybeMessage<::google::protobuf::Mixin>(Arena*); |
| 68 | } // namespace protobuf |
| 69 | } // namespace google |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 70 | namespace google { |
| 71 | namespace protobuf { |
| 72 | |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 73 | // =================================================================== |
| 74 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 75 | class LIBPROTOBUF_EXPORT Api : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Api) */ { |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 76 | 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 86 | #if LANG_CXX11 |
| 87 | Api(Api&& from) noexcept |
| 88 | : Api() { |
| 89 | *this = ::std::move(from); |
| 90 | } |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 91 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 92 | 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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 101 | static const ::google::protobuf::Descriptor* descriptor(); |
| 102 | static const Api& default_instance(); |
| 103 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 104 | 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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 112 | void Swap(Api* other); |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 113 | friend void swap(Api& a, Api& b) { |
| 114 | a.Swap(&b); |
| 115 | } |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 116 | |
| 117 | // implements Message ---------------------------------------------- |
| 118 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 119 | inline Api* New() const final { |
| 120 | return CreateMaybeMessage<Api>(NULL); |
| 121 | } |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 122 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 123 | 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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 128 | void CopyFrom(const Api& from); |
| 129 | void MergeFrom(const Api& from); |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 130 | void Clear() final; |
| 131 | bool IsInitialized() const final; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 132 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 133 | size_t ByteSizeLong() const final; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 134 | bool MergePartialFromCodedStream( |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 135 | ::google::protobuf::io::CodedInputStream* input) final; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 136 | void SerializeWithCachedSizes( |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 137 | ::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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 142 | private: |
| 143 | void SharedCtor(); |
| 144 | void SharedDtor(); |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 145 | void SetCachedSize(int size) const final; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 146 | void InternalSwap(Api* other); |
| 147 | private: |
| 148 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 149 | return NULL; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 150 | } |
| 151 | inline void* MaybeArenaPtr() const { |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 152 | return NULL; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 153 | } |
| 154 | public: |
| 155 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 156 | ::google::protobuf::Metadata GetMetadata() const final; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 157 | |
| 158 | // nested types ---------------------------------------------------- |
| 159 | |
| 160 | // accessors ------------------------------------------------------- |
| 161 | |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 162 | // repeated .google.protobuf.Method methods = 2; |
| 163 | int methods_size() const; |
| 164 | void clear_methods(); |
| 165 | static const int kMethodsFieldNumber = 2; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 166 | ::google::protobuf::Method* mutable_methods(int index); |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 167 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method >* |
| 168 | mutable_methods(); |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 169 | const ::google::protobuf::Method& methods(int index) const; |
| 170 | ::google::protobuf::Method* add_methods(); |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 171 | 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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 178 | ::google::protobuf::Option* mutable_options(int index); |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 179 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* |
| 180 | mutable_options(); |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 181 | const ::google::protobuf::Option& options(int index) const; |
| 182 | ::google::protobuf::Option* add_options(); |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 183 | const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& |
| 184 | options() const; |
| 185 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 186 | // 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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 213 | void clear_version(); |
| 214 | static const int kVersionFieldNumber = 4; |
| 215 | const ::std::string& version() const; |
| 216 | void set_version(const ::std::string& value); |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 217 | #if LANG_CXX11 |
| 218 | void set_version(::std::string&& value); |
| 219 | #endif |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 220 | 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 226 | // .google.protobuf.SourceContext source_context = 5; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 227 | bool has_source_context() const; |
| 228 | void clear_source_context(); |
| 229 | static const int kSourceContextFieldNumber = 5; |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 230 | private: |
| 231 | const ::google::protobuf::SourceContext& _internal_source_context() const; |
| 232 | public: |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 233 | const ::google::protobuf::SourceContext& source_context() const; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 234 | ::google::protobuf::SourceContext* release_source_context(); |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 235 | ::google::protobuf::SourceContext* mutable_source_context(); |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 236 | void set_allocated_source_context(::google::protobuf::SourceContext* source_context); |
| 237 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 238 | // .google.protobuf.Syntax syntax = 7; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 239 | 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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 248 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method > methods_; |
| 249 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_; |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 250 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin > mixins_; |
| 251 | ::google::protobuf::internal::ArenaStringPtr name_; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 252 | ::google::protobuf::internal::ArenaStringPtr version_; |
| 253 | ::google::protobuf::SourceContext* source_context_; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 254 | int syntax_; |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 255 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 256 | friend struct ::protobuf_google_2fprotobuf_2fapi_2eproto::TableStruct; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 257 | }; |
| 258 | // ------------------------------------------------------------------- |
| 259 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 260 | class LIBPROTOBUF_EXPORT Method : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Method) */ { |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 261 | 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 271 | #if LANG_CXX11 |
| 272 | Method(Method&& from) noexcept |
| 273 | : Method() { |
| 274 | *this = ::std::move(from); |
| 275 | } |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 276 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 277 | 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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 286 | static const ::google::protobuf::Descriptor* descriptor(); |
| 287 | static const Method& default_instance(); |
| 288 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 289 | 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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 297 | void Swap(Method* other); |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 298 | friend void swap(Method& a, Method& b) { |
| 299 | a.Swap(&b); |
| 300 | } |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 301 | |
| 302 | // implements Message ---------------------------------------------- |
| 303 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 304 | inline Method* New() const final { |
| 305 | return CreateMaybeMessage<Method>(NULL); |
| 306 | } |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 307 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 308 | 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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 313 | void CopyFrom(const Method& from); |
| 314 | void MergeFrom(const Method& from); |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 315 | void Clear() final; |
| 316 | bool IsInitialized() const final; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 317 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 318 | size_t ByteSizeLong() const final; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 319 | bool MergePartialFromCodedStream( |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 320 | ::google::protobuf::io::CodedInputStream* input) final; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 321 | void SerializeWithCachedSizes( |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 322 | ::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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 327 | private: |
| 328 | void SharedCtor(); |
| 329 | void SharedDtor(); |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 330 | void SetCachedSize(int size) const final; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 331 | void InternalSwap(Method* other); |
| 332 | private: |
| 333 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 334 | return NULL; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 335 | } |
| 336 | inline void* MaybeArenaPtr() const { |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 337 | return NULL; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 338 | } |
| 339 | public: |
| 340 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 341 | ::google::protobuf::Metadata GetMetadata() const final; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 342 | |
| 343 | // nested types ---------------------------------------------------- |
| 344 | |
| 345 | // accessors ------------------------------------------------------- |
| 346 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 347 | // 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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 360 | void clear_name(); |
| 361 | static const int kNameFieldNumber = 1; |
| 362 | const ::std::string& name() const; |
| 363 | void set_name(const ::std::string& value); |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 364 | #if LANG_CXX11 |
| 365 | void set_name(::std::string&& value); |
| 366 | #endif |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 367 | 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 373 | // string request_type_url = 2; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 374 | 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 378 | #if LANG_CXX11 |
| 379 | void set_request_type_url(::std::string&& value); |
| 380 | #endif |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 381 | 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 387 | // string response_type_url = 4; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 388 | 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 392 | #if LANG_CXX11 |
| 393 | void set_response_type_url(::std::string&& value); |
| 394 | #endif |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 395 | 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 401 | // 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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 408 | void clear_response_streaming(); |
| 409 | static const int kResponseStreamingFieldNumber = 5; |
| 410 | bool response_streaming() const; |
| 411 | void set_response_streaming(bool value); |
| 412 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 413 | // .google.protobuf.Syntax syntax = 7; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 414 | 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 423 | ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 424 | ::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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 430 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 431 | friend struct ::protobuf_google_2fprotobuf_2fapi_2eproto::TableStruct; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 432 | }; |
| 433 | // ------------------------------------------------------------------- |
| 434 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 435 | class LIBPROTOBUF_EXPORT Mixin : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Mixin) */ { |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 436 | 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 446 | #if LANG_CXX11 |
| 447 | Mixin(Mixin&& from) noexcept |
| 448 | : Mixin() { |
| 449 | *this = ::std::move(from); |
| 450 | } |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 451 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 452 | 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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 461 | static const ::google::protobuf::Descriptor* descriptor(); |
| 462 | static const Mixin& default_instance(); |
| 463 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 464 | 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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 472 | void Swap(Mixin* other); |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 473 | friend void swap(Mixin& a, Mixin& b) { |
| 474 | a.Swap(&b); |
| 475 | } |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 476 | |
| 477 | // implements Message ---------------------------------------------- |
| 478 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 479 | inline Mixin* New() const final { |
| 480 | return CreateMaybeMessage<Mixin>(NULL); |
| 481 | } |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 482 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 483 | 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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 488 | void CopyFrom(const Mixin& from); |
| 489 | void MergeFrom(const Mixin& from); |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 490 | void Clear() final; |
| 491 | bool IsInitialized() const final; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 492 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 493 | size_t ByteSizeLong() const final; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 494 | bool MergePartialFromCodedStream( |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 495 | ::google::protobuf::io::CodedInputStream* input) final; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 496 | void SerializeWithCachedSizes( |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 497 | ::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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 502 | private: |
| 503 | void SharedCtor(); |
| 504 | void SharedDtor(); |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 505 | void SetCachedSize(int size) const final; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 506 | void InternalSwap(Mixin* other); |
| 507 | private: |
| 508 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 509 | return NULL; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 510 | } |
| 511 | inline void* MaybeArenaPtr() const { |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 512 | return NULL; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 513 | } |
| 514 | public: |
| 515 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 516 | ::google::protobuf::Metadata GetMetadata() const final; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 517 | |
| 518 | // nested types ---------------------------------------------------- |
| 519 | |
| 520 | // accessors ------------------------------------------------------- |
| 521 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 522 | // string name = 1; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 523 | void clear_name(); |
| 524 | static const int kNameFieldNumber = 1; |
| 525 | const ::std::string& name() const; |
| 526 | void set_name(const ::std::string& value); |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 527 | #if LANG_CXX11 |
| 528 | void set_name(::std::string&& value); |
| 529 | #endif |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 530 | 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 536 | // string root = 2; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 537 | void clear_root(); |
| 538 | static const int kRootFieldNumber = 2; |
| 539 | const ::std::string& root() const; |
| 540 | void set_root(const ::std::string& value); |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 541 | #if LANG_CXX11 |
| 542 | void set_root(::std::string&& value); |
| 543 | #endif |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 544 | 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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 554 | ::google::protobuf::internal::ArenaStringPtr name_; |
| 555 | ::google::protobuf::internal::ArenaStringPtr root_; |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 556 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| 557 | friend struct ::protobuf_google_2fprotobuf_2fapi_2eproto::TableStruct; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 558 | }; |
| 559 | // =================================================================== |
| 560 | |
| 561 | |
| 562 | // =================================================================== |
| 563 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 564 | #ifdef __GNUC__ |
| 565 | #pragma GCC diagnostic push |
| 566 | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
| 567 | #endif // __GNUC__ |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 568 | // Api |
| 569 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 570 | // string name = 1; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 571 | inline void Api::clear_name() { |
| 572 | name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 573 | } |
| 574 | inline const ::std::string& Api::name() const { |
| 575 | // @@protoc_insertion_point(field_get:google.protobuf.Api.name) |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 576 | return name_.GetNoArena(); |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 577 | } |
| 578 | inline 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 583 | #if LANG_CXX11 |
| 584 | inline 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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 591 | inline void Api::set_name(const char* value) { |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 592 | GOOGLE_DCHECK(value != NULL); |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 593 | |
| 594 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 595 | // @@protoc_insertion_point(field_set_char:google.protobuf.Api.name) |
| 596 | } |
| 597 | inline 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 | } |
| 603 | inline ::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 | } |
| 608 | inline ::std::string* Api::release_name() { |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 609 | // @@protoc_insertion_point(field_release:google.protobuf.Api.name) |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 610 | |
| 611 | return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 612 | } |
| 613 | inline 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; |
| 624 | inline int Api::methods_size() const { |
| 625 | return methods_.size(); |
| 626 | } |
| 627 | inline void Api::clear_methods() { |
| 628 | methods_.Clear(); |
| 629 | } |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 630 | inline ::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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 634 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method >* |
| 635 | Api::mutable_methods() { |
| 636 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.methods) |
| 637 | return &methods_; |
| 638 | } |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 639 | inline 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 | } |
| 643 | inline ::google::protobuf::Method* Api::add_methods() { |
| 644 | // @@protoc_insertion_point(field_add:google.protobuf.Api.methods) |
| 645 | return methods_.Add(); |
| 646 | } |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 647 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method >& |
| 648 | Api::methods() const { |
| 649 | // @@protoc_insertion_point(field_list:google.protobuf.Api.methods) |
| 650 | return methods_; |
| 651 | } |
| 652 | |
| 653 | // repeated .google.protobuf.Option options = 3; |
| 654 | inline int Api::options_size() const { |
| 655 | return options_.size(); |
| 656 | } |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 657 | inline ::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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 661 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* |
| 662 | Api::mutable_options() { |
| 663 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.options) |
| 664 | return &options_; |
| 665 | } |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 666 | inline 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 | } |
| 670 | inline ::google::protobuf::Option* Api::add_options() { |
| 671 | // @@protoc_insertion_point(field_add:google.protobuf.Api.options) |
| 672 | return options_.Add(); |
| 673 | } |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 674 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& |
| 675 | Api::options() const { |
| 676 | // @@protoc_insertion_point(field_list:google.protobuf.Api.options) |
| 677 | return options_; |
| 678 | } |
| 679 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 680 | // string version = 4; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 681 | inline void Api::clear_version() { |
| 682 | version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 683 | } |
| 684 | inline const ::std::string& Api::version() const { |
| 685 | // @@protoc_insertion_point(field_get:google.protobuf.Api.version) |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 686 | return version_.GetNoArena(); |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 687 | } |
| 688 | inline 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 693 | #if LANG_CXX11 |
| 694 | inline 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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 701 | inline void Api::set_version(const char* value) { |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 702 | GOOGLE_DCHECK(value != NULL); |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 703 | |
| 704 | version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 705 | // @@protoc_insertion_point(field_set_char:google.protobuf.Api.version) |
| 706 | } |
| 707 | inline 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 | } |
| 713 | inline ::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 | } |
| 718 | inline ::std::string* Api::release_version() { |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 719 | // @@protoc_insertion_point(field_release:google.protobuf.Api.version) |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 720 | |
| 721 | return version_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 722 | } |
| 723 | inline 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 733 | // .google.protobuf.SourceContext source_context = 5; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 734 | inline bool Api::has_source_context() const { |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 735 | return this != internal_default_instance() && source_context_ != NULL; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 736 | } |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 737 | inline const ::google::protobuf::SourceContext& Api::_internal_source_context() const { |
| 738 | return *source_context_; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 739 | } |
| 740 | inline const ::google::protobuf::SourceContext& Api::source_context() const { |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 741 | const ::google::protobuf::SourceContext* p = source_context_; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 742 | // @@protoc_insertion_point(field_get:google.protobuf.Api.source_context) |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 743 | return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::SourceContext*>( |
| 744 | &::google::protobuf::_SourceContext_default_instance_); |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 745 | } |
| 746 | inline ::google::protobuf::SourceContext* Api::release_source_context() { |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 747 | // @@protoc_insertion_point(field_release:google.protobuf.Api.source_context) |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 748 | |
| 749 | ::google::protobuf::SourceContext* temp = source_context_; |
| 750 | source_context_ = NULL; |
| 751 | return temp; |
| 752 | } |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 753 | inline ::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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 762 | inline void Api::set_allocated_source_context(::google::protobuf::SourceContext* source_context) { |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 763 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
| 764 | if (message_arena == NULL) { |
| 765 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(source_context_); |
| 766 | } |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 767 | if (source_context) { |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 768 | ::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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 773 | |
| 774 | } else { |
| 775 | |
| 776 | } |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 777 | source_context_ = source_context; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 778 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.source_context) |
| 779 | } |
| 780 | |
| 781 | // repeated .google.protobuf.Mixin mixins = 6; |
| 782 | inline int Api::mixins_size() const { |
| 783 | return mixins_.size(); |
| 784 | } |
| 785 | inline void Api::clear_mixins() { |
| 786 | mixins_.Clear(); |
| 787 | } |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 788 | inline ::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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 792 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >* |
| 793 | Api::mutable_mixins() { |
| 794 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.mixins) |
| 795 | return &mixins_; |
| 796 | } |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 797 | inline 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 | } |
| 801 | inline ::google::protobuf::Mixin* Api::add_mixins() { |
| 802 | // @@protoc_insertion_point(field_add:google.protobuf.Api.mixins) |
| 803 | return mixins_.Add(); |
| 804 | } |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 805 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Mixin >& |
| 806 | Api::mixins() const { |
| 807 | // @@protoc_insertion_point(field_list:google.protobuf.Api.mixins) |
| 808 | return mixins_; |
| 809 | } |
| 810 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 811 | // .google.protobuf.Syntax syntax = 7; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 812 | inline void Api::clear_syntax() { |
| 813 | syntax_ = 0; |
| 814 | } |
| 815 | inline ::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 | } |
| 819 | inline 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 829 | // string name = 1; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 830 | inline void Method::clear_name() { |
| 831 | name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 832 | } |
| 833 | inline const ::std::string& Method::name() const { |
| 834 | // @@protoc_insertion_point(field_get:google.protobuf.Method.name) |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 835 | return name_.GetNoArena(); |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 836 | } |
| 837 | inline 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 842 | #if LANG_CXX11 |
| 843 | inline 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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 850 | inline void Method::set_name(const char* value) { |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 851 | GOOGLE_DCHECK(value != NULL); |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 852 | |
| 853 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 854 | // @@protoc_insertion_point(field_set_char:google.protobuf.Method.name) |
| 855 | } |
| 856 | inline 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 | } |
| 862 | inline ::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 | } |
| 867 | inline ::std::string* Method::release_name() { |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 868 | // @@protoc_insertion_point(field_release:google.protobuf.Method.name) |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 869 | |
| 870 | return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 871 | } |
| 872 | inline 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 882 | // string request_type_url = 2; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 883 | inline void Method::clear_request_type_url() { |
| 884 | request_type_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 885 | } |
| 886 | inline const ::std::string& Method::request_type_url() const { |
| 887 | // @@protoc_insertion_point(field_get:google.protobuf.Method.request_type_url) |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 888 | return request_type_url_.GetNoArena(); |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 889 | } |
| 890 | inline 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 895 | #if LANG_CXX11 |
| 896 | inline 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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 903 | inline void Method::set_request_type_url(const char* value) { |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 904 | GOOGLE_DCHECK(value != NULL); |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 905 | |
| 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 | } |
| 909 | inline 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 | } |
| 915 | inline ::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 | } |
| 920 | inline ::std::string* Method::release_request_type_url() { |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 921 | // @@protoc_insertion_point(field_release:google.protobuf.Method.request_type_url) |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 922 | |
| 923 | return request_type_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 924 | } |
| 925 | inline 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 935 | // bool request_streaming = 3; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 936 | inline void Method::clear_request_streaming() { |
| 937 | request_streaming_ = false; |
| 938 | } |
| 939 | inline bool Method::request_streaming() const { |
| 940 | // @@protoc_insertion_point(field_get:google.protobuf.Method.request_streaming) |
| 941 | return request_streaming_; |
| 942 | } |
| 943 | inline 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 949 | // string response_type_url = 4; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 950 | inline void Method::clear_response_type_url() { |
| 951 | response_type_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 952 | } |
| 953 | inline const ::std::string& Method::response_type_url() const { |
| 954 | // @@protoc_insertion_point(field_get:google.protobuf.Method.response_type_url) |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 955 | return response_type_url_.GetNoArena(); |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 956 | } |
| 957 | inline 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 962 | #if LANG_CXX11 |
| 963 | inline 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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 970 | inline void Method::set_response_type_url(const char* value) { |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 971 | GOOGLE_DCHECK(value != NULL); |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 972 | |
| 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 | } |
| 976 | inline 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 | } |
| 982 | inline ::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 | } |
| 987 | inline ::std::string* Method::release_response_type_url() { |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 988 | // @@protoc_insertion_point(field_release:google.protobuf.Method.response_type_url) |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 989 | |
| 990 | return response_type_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 991 | } |
| 992 | inline 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 1002 | // bool response_streaming = 5; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 1003 | inline void Method::clear_response_streaming() { |
| 1004 | response_streaming_ = false; |
| 1005 | } |
| 1006 | inline bool Method::response_streaming() const { |
| 1007 | // @@protoc_insertion_point(field_get:google.protobuf.Method.response_streaming) |
| 1008 | return response_streaming_; |
| 1009 | } |
| 1010 | inline 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; |
| 1017 | inline int Method::options_size() const { |
| 1018 | return options_.size(); |
| 1019 | } |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 1020 | inline ::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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 1024 | inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >* |
| 1025 | Method::mutable_options() { |
| 1026 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.Method.options) |
| 1027 | return &options_; |
| 1028 | } |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 1029 | inline 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 | } |
| 1033 | inline ::google::protobuf::Option* Method::add_options() { |
| 1034 | // @@protoc_insertion_point(field_add:google.protobuf.Method.options) |
| 1035 | return options_.Add(); |
| 1036 | } |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 1037 | inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >& |
| 1038 | Method::options() const { |
| 1039 | // @@protoc_insertion_point(field_list:google.protobuf.Method.options) |
| 1040 | return options_; |
| 1041 | } |
| 1042 | |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 1043 | // .google.protobuf.Syntax syntax = 7; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 1044 | inline void Method::clear_syntax() { |
| 1045 | syntax_ = 0; |
| 1046 | } |
| 1047 | inline ::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 | } |
| 1051 | inline 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 1061 | // string name = 1; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 1062 | inline void Mixin::clear_name() { |
| 1063 | name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 1064 | } |
| 1065 | inline const ::std::string& Mixin::name() const { |
| 1066 | // @@protoc_insertion_point(field_get:google.protobuf.Mixin.name) |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 1067 | return name_.GetNoArena(); |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 1068 | } |
| 1069 | inline 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 1074 | #if LANG_CXX11 |
| 1075 | inline 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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 1082 | inline void Mixin::set_name(const char* value) { |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 1083 | GOOGLE_DCHECK(value != NULL); |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 1084 | |
| 1085 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 1086 | // @@protoc_insertion_point(field_set_char:google.protobuf.Mixin.name) |
| 1087 | } |
| 1088 | inline 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 | } |
| 1094 | inline ::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 | } |
| 1099 | inline ::std::string* Mixin::release_name() { |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 1100 | // @@protoc_insertion_point(field_release:google.protobuf.Mixin.name) |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 1101 | |
| 1102 | return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 1103 | } |
| 1104 | inline 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 1114 | // string root = 2; |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 1115 | inline void Mixin::clear_root() { |
| 1116 | root_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 1117 | } |
| 1118 | inline const ::std::string& Mixin::root() const { |
| 1119 | // @@protoc_insertion_point(field_get:google.protobuf.Mixin.root) |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 1120 | return root_.GetNoArena(); |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 1121 | } |
| 1122 | inline 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 1127 | #if LANG_CXX11 |
| 1128 | inline 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 Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 1135 | inline void Mixin::set_root(const char* value) { |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 1136 | GOOGLE_DCHECK(value != NULL); |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 1137 | |
| 1138 | root_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
| 1139 | // @@protoc_insertion_point(field_set_char:google.protobuf.Mixin.root) |
| 1140 | } |
| 1141 | inline 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 | } |
| 1147 | inline ::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 | } |
| 1152 | inline ::std::string* Mixin::release_root() { |
Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 1153 | // @@protoc_insertion_point(field_release:google.protobuf.Mixin.root) |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 1154 | |
| 1155 | return root_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
| 1156 | } |
| 1157 | inline 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 1167 | #ifdef __GNUC__ |
| 1168 | #pragma GCC diagnostic pop |
| 1169 | #endif // __GNUC__ |
Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame] | 1170 | // ------------------------------------------------------------------- |
| 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 Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 1182 | #endif // PROTOBUF_INCLUDED_google_2fprotobuf_2fapi_2eproto |