agones.dev/agones@v1.53.0/sdks/cpp/include/protoc-gen-openapiv2/options/openapiv2.pb.h (about) 1 // Copyright 2024 Google LLC All Rights Reserved. 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // This code was autogenerated. Do not edit directly. 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // NO CHECKED-IN PROTOBUF GENCODE 18 // source: protoc-gen-openapiv2/options/openapiv2.proto 19 // Protobuf C++ Version: 6.30.0 20 21 #ifndef protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto_2epb_2eh 22 #define protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto_2epb_2eh 23 24 #include <limits> 25 #include <string> 26 #include <type_traits> 27 #include <utility> 28 29 #include "google/protobuf/runtime_version.h" 30 #if PROTOBUF_VERSION != 6030000 31 #error "Protobuf C++ gencode is built with an incompatible version of" 32 #error "Protobuf C++ headers/runtime. See" 33 #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" 34 #endif 35 #include "google/protobuf/io/coded_stream.h" 36 #include "google/protobuf/arena.h" 37 #include "google/protobuf/arenastring.h" 38 #include "google/protobuf/generated_message_tctable_decl.h" 39 #include "google/protobuf/generated_message_util.h" 40 #include "google/protobuf/metadata_lite.h" 41 #include "google/protobuf/generated_message_reflection.h" 42 #include "google/protobuf/message.h" 43 #include "google/protobuf/message_lite.h" 44 #include "google/protobuf/repeated_field.h" // IWYU pragma: export 45 #include "google/protobuf/extension_set.h" // IWYU pragma: export 46 #include "google/protobuf/map.h" // IWYU pragma: export 47 #include "google/protobuf/map_type_handler.h" // IWYU pragma: export 48 #include "google/protobuf/map_entry.h" 49 #include "google/protobuf/map_field_inl.h" 50 #include "google/protobuf/generated_enum_reflection.h" 51 #include "google/protobuf/unknown_field_set.h" 52 #include "google/protobuf/struct.pb.h" 53 // @@protoc_insertion_point(includes) 54 55 // Must be included last. 56 #include "google/protobuf/port_def.inc" 57 58 #define PROTOBUF_INTERNAL_EXPORT_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto AGONES_EXPORT 59 60 namespace google { 61 namespace protobuf { 62 namespace internal { 63 template <typename T> 64 ::absl::string_view GetAnyMessageName(); 65 } // namespace internal 66 } // namespace protobuf 67 } // namespace google 68 69 // Internal implementation detail -- do not use these members. 70 struct AGONES_EXPORT TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto { 71 static const ::uint32_t offsets[]; 72 }; 73 extern "C" { 74 AGONES_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 75 } // extern "C" 76 namespace grpc { 77 namespace gateway { 78 namespace protoc_gen_openapiv2 { 79 namespace options { 80 enum JSONSchema_JSONSchemaSimpleTypes : int; 81 AGONES_EXPORT extern const uint32_t JSONSchema_JSONSchemaSimpleTypes_internal_data_[]; 82 enum Scheme : int; 83 AGONES_EXPORT extern const uint32_t Scheme_internal_data_[]; 84 enum SecurityScheme_Flow : int; 85 AGONES_EXPORT extern const uint32_t SecurityScheme_Flow_internal_data_[]; 86 enum SecurityScheme_In : int; 87 AGONES_EXPORT extern const uint32_t SecurityScheme_In_internal_data_[]; 88 enum SecurityScheme_Type : int; 89 AGONES_EXPORT extern const uint32_t SecurityScheme_Type_internal_data_[]; 90 class Contact; 91 struct ContactDefaultTypeInternal; 92 AGONES_EXPORT extern ContactDefaultTypeInternal _Contact_default_instance_; 93 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Contact_class_data_; 94 class ExternalDocumentation; 95 struct ExternalDocumentationDefaultTypeInternal; 96 AGONES_EXPORT extern ExternalDocumentationDefaultTypeInternal _ExternalDocumentation_default_instance_; 97 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull ExternalDocumentation_class_data_; 98 class Header; 99 struct HeaderDefaultTypeInternal; 100 AGONES_EXPORT extern HeaderDefaultTypeInternal _Header_default_instance_; 101 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Header_class_data_; 102 class Info; 103 struct InfoDefaultTypeInternal; 104 AGONES_EXPORT extern InfoDefaultTypeInternal _Info_default_instance_; 105 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Info_class_data_; 106 class Info_ExtensionsEntry_DoNotUse; 107 struct Info_ExtensionsEntry_DoNotUseDefaultTypeInternal; 108 AGONES_EXPORT extern Info_ExtensionsEntry_DoNotUseDefaultTypeInternal _Info_ExtensionsEntry_DoNotUse_default_instance_; 109 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Info_ExtensionsEntry_DoNotUse_class_data_; 110 class JSONSchema; 111 struct JSONSchemaDefaultTypeInternal; 112 AGONES_EXPORT extern JSONSchemaDefaultTypeInternal _JSONSchema_default_instance_; 113 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull JSONSchema_class_data_; 114 class JSONSchema_ExtensionsEntry_DoNotUse; 115 struct JSONSchema_ExtensionsEntry_DoNotUseDefaultTypeInternal; 116 AGONES_EXPORT extern JSONSchema_ExtensionsEntry_DoNotUseDefaultTypeInternal _JSONSchema_ExtensionsEntry_DoNotUse_default_instance_; 117 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull JSONSchema_ExtensionsEntry_DoNotUse_class_data_; 118 class JSONSchema_FieldConfiguration; 119 struct JSONSchema_FieldConfigurationDefaultTypeInternal; 120 AGONES_EXPORT extern JSONSchema_FieldConfigurationDefaultTypeInternal _JSONSchema_FieldConfiguration_default_instance_; 121 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull JSONSchema_FieldConfiguration_class_data_; 122 class License; 123 struct LicenseDefaultTypeInternal; 124 AGONES_EXPORT extern LicenseDefaultTypeInternal _License_default_instance_; 125 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull License_class_data_; 126 class Operation; 127 struct OperationDefaultTypeInternal; 128 AGONES_EXPORT extern OperationDefaultTypeInternal _Operation_default_instance_; 129 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Operation_class_data_; 130 class Operation_ExtensionsEntry_DoNotUse; 131 struct Operation_ExtensionsEntry_DoNotUseDefaultTypeInternal; 132 AGONES_EXPORT extern Operation_ExtensionsEntry_DoNotUseDefaultTypeInternal _Operation_ExtensionsEntry_DoNotUse_default_instance_; 133 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Operation_ExtensionsEntry_DoNotUse_class_data_; 134 class Operation_ResponsesEntry_DoNotUse; 135 struct Operation_ResponsesEntry_DoNotUseDefaultTypeInternal; 136 AGONES_EXPORT extern Operation_ResponsesEntry_DoNotUseDefaultTypeInternal _Operation_ResponsesEntry_DoNotUse_default_instance_; 137 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Operation_ResponsesEntry_DoNotUse_class_data_; 138 class Response; 139 struct ResponseDefaultTypeInternal; 140 AGONES_EXPORT extern ResponseDefaultTypeInternal _Response_default_instance_; 141 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Response_class_data_; 142 class Response_ExamplesEntry_DoNotUse; 143 struct Response_ExamplesEntry_DoNotUseDefaultTypeInternal; 144 AGONES_EXPORT extern Response_ExamplesEntry_DoNotUseDefaultTypeInternal _Response_ExamplesEntry_DoNotUse_default_instance_; 145 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Response_ExamplesEntry_DoNotUse_class_data_; 146 class Response_ExtensionsEntry_DoNotUse; 147 struct Response_ExtensionsEntry_DoNotUseDefaultTypeInternal; 148 AGONES_EXPORT extern Response_ExtensionsEntry_DoNotUseDefaultTypeInternal _Response_ExtensionsEntry_DoNotUse_default_instance_; 149 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Response_ExtensionsEntry_DoNotUse_class_data_; 150 class Response_HeadersEntry_DoNotUse; 151 struct Response_HeadersEntry_DoNotUseDefaultTypeInternal; 152 AGONES_EXPORT extern Response_HeadersEntry_DoNotUseDefaultTypeInternal _Response_HeadersEntry_DoNotUse_default_instance_; 153 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Response_HeadersEntry_DoNotUse_class_data_; 154 class Schema; 155 struct SchemaDefaultTypeInternal; 156 AGONES_EXPORT extern SchemaDefaultTypeInternal _Schema_default_instance_; 157 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Schema_class_data_; 158 class Scopes; 159 struct ScopesDefaultTypeInternal; 160 AGONES_EXPORT extern ScopesDefaultTypeInternal _Scopes_default_instance_; 161 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Scopes_class_data_; 162 class Scopes_ScopeEntry_DoNotUse; 163 struct Scopes_ScopeEntry_DoNotUseDefaultTypeInternal; 164 AGONES_EXPORT extern Scopes_ScopeEntry_DoNotUseDefaultTypeInternal _Scopes_ScopeEntry_DoNotUse_default_instance_; 165 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Scopes_ScopeEntry_DoNotUse_class_data_; 166 class SecurityDefinitions; 167 struct SecurityDefinitionsDefaultTypeInternal; 168 AGONES_EXPORT extern SecurityDefinitionsDefaultTypeInternal _SecurityDefinitions_default_instance_; 169 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull SecurityDefinitions_class_data_; 170 class SecurityDefinitions_SecurityEntry_DoNotUse; 171 struct SecurityDefinitions_SecurityEntry_DoNotUseDefaultTypeInternal; 172 AGONES_EXPORT extern SecurityDefinitions_SecurityEntry_DoNotUseDefaultTypeInternal _SecurityDefinitions_SecurityEntry_DoNotUse_default_instance_; 173 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull SecurityDefinitions_SecurityEntry_DoNotUse_class_data_; 174 class SecurityRequirement; 175 struct SecurityRequirementDefaultTypeInternal; 176 AGONES_EXPORT extern SecurityRequirementDefaultTypeInternal _SecurityRequirement_default_instance_; 177 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull SecurityRequirement_class_data_; 178 class SecurityRequirement_SecurityRequirementEntry_DoNotUse; 179 struct SecurityRequirement_SecurityRequirementEntry_DoNotUseDefaultTypeInternal; 180 AGONES_EXPORT extern SecurityRequirement_SecurityRequirementEntry_DoNotUseDefaultTypeInternal _SecurityRequirement_SecurityRequirementEntry_DoNotUse_default_instance_; 181 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull SecurityRequirement_SecurityRequirementEntry_DoNotUse_class_data_; 182 class SecurityRequirement_SecurityRequirementValue; 183 struct SecurityRequirement_SecurityRequirementValueDefaultTypeInternal; 184 AGONES_EXPORT extern SecurityRequirement_SecurityRequirementValueDefaultTypeInternal _SecurityRequirement_SecurityRequirementValue_default_instance_; 185 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull SecurityRequirement_SecurityRequirementValue_class_data_; 186 class SecurityScheme; 187 struct SecuritySchemeDefaultTypeInternal; 188 AGONES_EXPORT extern SecuritySchemeDefaultTypeInternal _SecurityScheme_default_instance_; 189 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull SecurityScheme_class_data_; 190 class SecurityScheme_ExtensionsEntry_DoNotUse; 191 struct SecurityScheme_ExtensionsEntry_DoNotUseDefaultTypeInternal; 192 AGONES_EXPORT extern SecurityScheme_ExtensionsEntry_DoNotUseDefaultTypeInternal _SecurityScheme_ExtensionsEntry_DoNotUse_default_instance_; 193 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull SecurityScheme_ExtensionsEntry_DoNotUse_class_data_; 194 class Swagger; 195 struct SwaggerDefaultTypeInternal; 196 AGONES_EXPORT extern SwaggerDefaultTypeInternal _Swagger_default_instance_; 197 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Swagger_class_data_; 198 class Swagger_ExtensionsEntry_DoNotUse; 199 struct Swagger_ExtensionsEntry_DoNotUseDefaultTypeInternal; 200 AGONES_EXPORT extern Swagger_ExtensionsEntry_DoNotUseDefaultTypeInternal _Swagger_ExtensionsEntry_DoNotUse_default_instance_; 201 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Swagger_ExtensionsEntry_DoNotUse_class_data_; 202 class Swagger_ResponsesEntry_DoNotUse; 203 struct Swagger_ResponsesEntry_DoNotUseDefaultTypeInternal; 204 AGONES_EXPORT extern Swagger_ResponsesEntry_DoNotUseDefaultTypeInternal _Swagger_ResponsesEntry_DoNotUse_default_instance_; 205 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Swagger_ResponsesEntry_DoNotUse_class_data_; 206 class Tag; 207 struct TagDefaultTypeInternal; 208 AGONES_EXPORT extern TagDefaultTypeInternal _Tag_default_instance_; 209 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Tag_class_data_; 210 } // namespace options 211 } // namespace protoc_gen_openapiv2 212 } // namespace gateway 213 } // namespace grpc 214 namespace google { 215 namespace protobuf { 216 template <> 217 internal::EnumTraitsT<::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_JSONSchemaSimpleTypes_internal_data_> 218 internal::EnumTraitsImpl::value<::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_JSONSchemaSimpleTypes>; 219 template <> 220 internal::EnumTraitsT<::grpc::gateway::protoc_gen_openapiv2::options::Scheme_internal_data_> 221 internal::EnumTraitsImpl::value<::grpc::gateway::protoc_gen_openapiv2::options::Scheme>; 222 template <> 223 internal::EnumTraitsT<::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Flow_internal_data_> 224 internal::EnumTraitsImpl::value<::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Flow>; 225 template <> 226 internal::EnumTraitsT<::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_In_internal_data_> 227 internal::EnumTraitsImpl::value<::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_In>; 228 template <> 229 internal::EnumTraitsT<::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Type_internal_data_> 230 internal::EnumTraitsImpl::value<::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Type>; 231 } // namespace protobuf 232 } // namespace google 233 234 namespace grpc { 235 namespace gateway { 236 namespace protoc_gen_openapiv2 { 237 namespace options { 238 enum JSONSchema_JSONSchemaSimpleTypes : int { 239 JSONSchema_JSONSchemaSimpleTypes_UNKNOWN = 0, 240 JSONSchema_JSONSchemaSimpleTypes_ARRAY = 1, 241 JSONSchema_JSONSchemaSimpleTypes_BOOLEAN = 2, 242 JSONSchema_JSONSchemaSimpleTypes_INTEGER = 3, 243 JSONSchema_JSONSchemaSimpleTypes_NULL_ = 4, 244 JSONSchema_JSONSchemaSimpleTypes_NUMBER = 5, 245 JSONSchema_JSONSchemaSimpleTypes_OBJECT = 6, 246 JSONSchema_JSONSchemaSimpleTypes_STRING = 7, 247 JSONSchema_JSONSchemaSimpleTypes_JSONSchema_JSONSchemaSimpleTypes_INT_MIN_SENTINEL_DO_NOT_USE_ = 248 std::numeric_limits<::int32_t>::min(), 249 JSONSchema_JSONSchemaSimpleTypes_JSONSchema_JSONSchemaSimpleTypes_INT_MAX_SENTINEL_DO_NOT_USE_ = 250 std::numeric_limits<::int32_t>::max(), 251 }; 252 253 AGONES_EXPORT extern const uint32_t JSONSchema_JSONSchemaSimpleTypes_internal_data_[]; 254 inline constexpr JSONSchema_JSONSchemaSimpleTypes JSONSchema_JSONSchemaSimpleTypes_JSONSchemaSimpleTypes_MIN = 255 static_cast<JSONSchema_JSONSchemaSimpleTypes>(0); 256 inline constexpr JSONSchema_JSONSchemaSimpleTypes JSONSchema_JSONSchemaSimpleTypes_JSONSchemaSimpleTypes_MAX = 257 static_cast<JSONSchema_JSONSchemaSimpleTypes>(7); 258 inline bool JSONSchema_JSONSchemaSimpleTypes_IsValid(int value) { 259 return 0 <= value && value <= 7; 260 } 261 inline constexpr int JSONSchema_JSONSchemaSimpleTypes_JSONSchemaSimpleTypes_ARRAYSIZE = 7 + 1; 262 AGONES_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL JSONSchema_JSONSchemaSimpleTypes_descriptor(); 263 template <typename T> 264 const std::string& JSONSchema_JSONSchemaSimpleTypes_Name(T value) { 265 static_assert(std::is_same<T, JSONSchema_JSONSchemaSimpleTypes>::value || 266 std::is_integral<T>::value, 267 "Incorrect type passed to JSONSchemaSimpleTypes_Name()."); 268 return JSONSchema_JSONSchemaSimpleTypes_Name(static_cast<JSONSchema_JSONSchemaSimpleTypes>(value)); 269 } 270 template <> 271 inline const std::string& JSONSchema_JSONSchemaSimpleTypes_Name(JSONSchema_JSONSchemaSimpleTypes value) { 272 return ::google::protobuf::internal::NameOfDenseEnum<JSONSchema_JSONSchemaSimpleTypes_descriptor, 0, 7>( 273 static_cast<int>(value)); 274 } 275 inline bool JSONSchema_JSONSchemaSimpleTypes_Parse( 276 absl::string_view name, JSONSchema_JSONSchemaSimpleTypes* PROTOBUF_NONNULL value) { 277 return ::google::protobuf::internal::ParseNamedEnum<JSONSchema_JSONSchemaSimpleTypes>(JSONSchema_JSONSchemaSimpleTypes_descriptor(), name, 278 value); 279 } 280 enum SecurityScheme_Type : int { 281 SecurityScheme_Type_TYPE_INVALID = 0, 282 SecurityScheme_Type_TYPE_BASIC = 1, 283 SecurityScheme_Type_TYPE_API_KEY = 2, 284 SecurityScheme_Type_TYPE_OAUTH2 = 3, 285 SecurityScheme_Type_SecurityScheme_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = 286 std::numeric_limits<::int32_t>::min(), 287 SecurityScheme_Type_SecurityScheme_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = 288 std::numeric_limits<::int32_t>::max(), 289 }; 290 291 AGONES_EXPORT extern const uint32_t SecurityScheme_Type_internal_data_[]; 292 inline constexpr SecurityScheme_Type SecurityScheme_Type_Type_MIN = 293 static_cast<SecurityScheme_Type>(0); 294 inline constexpr SecurityScheme_Type SecurityScheme_Type_Type_MAX = 295 static_cast<SecurityScheme_Type>(3); 296 inline bool SecurityScheme_Type_IsValid(int value) { 297 return 0 <= value && value <= 3; 298 } 299 inline constexpr int SecurityScheme_Type_Type_ARRAYSIZE = 3 + 1; 300 AGONES_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL SecurityScheme_Type_descriptor(); 301 template <typename T> 302 const std::string& SecurityScheme_Type_Name(T value) { 303 static_assert(std::is_same<T, SecurityScheme_Type>::value || 304 std::is_integral<T>::value, 305 "Incorrect type passed to Type_Name()."); 306 return SecurityScheme_Type_Name(static_cast<SecurityScheme_Type>(value)); 307 } 308 template <> 309 inline const std::string& SecurityScheme_Type_Name(SecurityScheme_Type value) { 310 return ::google::protobuf::internal::NameOfDenseEnum<SecurityScheme_Type_descriptor, 0, 3>( 311 static_cast<int>(value)); 312 } 313 inline bool SecurityScheme_Type_Parse( 314 absl::string_view name, SecurityScheme_Type* PROTOBUF_NONNULL value) { 315 return ::google::protobuf::internal::ParseNamedEnum<SecurityScheme_Type>(SecurityScheme_Type_descriptor(), name, 316 value); 317 } 318 enum SecurityScheme_In : int { 319 SecurityScheme_In_IN_INVALID = 0, 320 SecurityScheme_In_IN_QUERY = 1, 321 SecurityScheme_In_IN_HEADER = 2, 322 SecurityScheme_In_SecurityScheme_In_INT_MIN_SENTINEL_DO_NOT_USE_ = 323 std::numeric_limits<::int32_t>::min(), 324 SecurityScheme_In_SecurityScheme_In_INT_MAX_SENTINEL_DO_NOT_USE_ = 325 std::numeric_limits<::int32_t>::max(), 326 }; 327 328 AGONES_EXPORT extern const uint32_t SecurityScheme_In_internal_data_[]; 329 inline constexpr SecurityScheme_In SecurityScheme_In_In_MIN = 330 static_cast<SecurityScheme_In>(0); 331 inline constexpr SecurityScheme_In SecurityScheme_In_In_MAX = 332 static_cast<SecurityScheme_In>(2); 333 inline bool SecurityScheme_In_IsValid(int value) { 334 return 0 <= value && value <= 2; 335 } 336 inline constexpr int SecurityScheme_In_In_ARRAYSIZE = 2 + 1; 337 AGONES_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL SecurityScheme_In_descriptor(); 338 template <typename T> 339 const std::string& SecurityScheme_In_Name(T value) { 340 static_assert(std::is_same<T, SecurityScheme_In>::value || 341 std::is_integral<T>::value, 342 "Incorrect type passed to In_Name()."); 343 return SecurityScheme_In_Name(static_cast<SecurityScheme_In>(value)); 344 } 345 template <> 346 inline const std::string& SecurityScheme_In_Name(SecurityScheme_In value) { 347 return ::google::protobuf::internal::NameOfDenseEnum<SecurityScheme_In_descriptor, 0, 2>( 348 static_cast<int>(value)); 349 } 350 inline bool SecurityScheme_In_Parse( 351 absl::string_view name, SecurityScheme_In* PROTOBUF_NONNULL value) { 352 return ::google::protobuf::internal::ParseNamedEnum<SecurityScheme_In>(SecurityScheme_In_descriptor(), name, 353 value); 354 } 355 enum SecurityScheme_Flow : int { 356 SecurityScheme_Flow_FLOW_INVALID = 0, 357 SecurityScheme_Flow_FLOW_IMPLICIT = 1, 358 SecurityScheme_Flow_FLOW_PASSWORD = 2, 359 SecurityScheme_Flow_FLOW_APPLICATION = 3, 360 SecurityScheme_Flow_FLOW_ACCESS_CODE = 4, 361 SecurityScheme_Flow_SecurityScheme_Flow_INT_MIN_SENTINEL_DO_NOT_USE_ = 362 std::numeric_limits<::int32_t>::min(), 363 SecurityScheme_Flow_SecurityScheme_Flow_INT_MAX_SENTINEL_DO_NOT_USE_ = 364 std::numeric_limits<::int32_t>::max(), 365 }; 366 367 AGONES_EXPORT extern const uint32_t SecurityScheme_Flow_internal_data_[]; 368 inline constexpr SecurityScheme_Flow SecurityScheme_Flow_Flow_MIN = 369 static_cast<SecurityScheme_Flow>(0); 370 inline constexpr SecurityScheme_Flow SecurityScheme_Flow_Flow_MAX = 371 static_cast<SecurityScheme_Flow>(4); 372 inline bool SecurityScheme_Flow_IsValid(int value) { 373 return 0 <= value && value <= 4; 374 } 375 inline constexpr int SecurityScheme_Flow_Flow_ARRAYSIZE = 4 + 1; 376 AGONES_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL SecurityScheme_Flow_descriptor(); 377 template <typename T> 378 const std::string& SecurityScheme_Flow_Name(T value) { 379 static_assert(std::is_same<T, SecurityScheme_Flow>::value || 380 std::is_integral<T>::value, 381 "Incorrect type passed to Flow_Name()."); 382 return SecurityScheme_Flow_Name(static_cast<SecurityScheme_Flow>(value)); 383 } 384 template <> 385 inline const std::string& SecurityScheme_Flow_Name(SecurityScheme_Flow value) { 386 return ::google::protobuf::internal::NameOfDenseEnum<SecurityScheme_Flow_descriptor, 0, 4>( 387 static_cast<int>(value)); 388 } 389 inline bool SecurityScheme_Flow_Parse( 390 absl::string_view name, SecurityScheme_Flow* PROTOBUF_NONNULL value) { 391 return ::google::protobuf::internal::ParseNamedEnum<SecurityScheme_Flow>(SecurityScheme_Flow_descriptor(), name, 392 value); 393 } 394 enum Scheme : int { 395 UNKNOWN = 0, 396 HTTP = 1, 397 HTTPS = 2, 398 WS = 3, 399 WSS = 4, 400 Scheme_INT_MIN_SENTINEL_DO_NOT_USE_ = 401 std::numeric_limits<::int32_t>::min(), 402 Scheme_INT_MAX_SENTINEL_DO_NOT_USE_ = 403 std::numeric_limits<::int32_t>::max(), 404 }; 405 406 AGONES_EXPORT extern const uint32_t Scheme_internal_data_[]; 407 inline constexpr Scheme Scheme_MIN = 408 static_cast<Scheme>(0); 409 inline constexpr Scheme Scheme_MAX = 410 static_cast<Scheme>(4); 411 inline bool Scheme_IsValid(int value) { 412 return 0 <= value && value <= 4; 413 } 414 inline constexpr int Scheme_ARRAYSIZE = 4 + 1; 415 AGONES_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Scheme_descriptor(); 416 template <typename T> 417 const std::string& Scheme_Name(T value) { 418 static_assert(std::is_same<T, Scheme>::value || 419 std::is_integral<T>::value, 420 "Incorrect type passed to Scheme_Name()."); 421 return Scheme_Name(static_cast<Scheme>(value)); 422 } 423 template <> 424 inline const std::string& Scheme_Name(Scheme value) { 425 return ::google::protobuf::internal::NameOfDenseEnum<Scheme_descriptor, 0, 4>( 426 static_cast<int>(value)); 427 } 428 inline bool Scheme_Parse( 429 absl::string_view name, Scheme* PROTOBUF_NONNULL value) { 430 return ::google::protobuf::internal::ParseNamedEnum<Scheme>(Scheme_descriptor(), name, 431 value); 432 } 433 434 // =================================================================== 435 436 437 // ------------------------------------------------------------------- 438 439 class AGONES_EXPORT SecurityRequirement_SecurityRequirementValue final : public ::google::protobuf::Message 440 /* @@protoc_insertion_point(class_definition:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue) */ { 441 public: 442 inline SecurityRequirement_SecurityRequirementValue() : SecurityRequirement_SecurityRequirementValue(nullptr) {} 443 ~SecurityRequirement_SecurityRequirementValue() PROTOBUF_FINAL; 444 445 #if defined(PROTOBUF_CUSTOM_VTABLE) 446 void operator delete(SecurityRequirement_SecurityRequirementValue* PROTOBUF_NONNULL msg, std::destroying_delete_t) { 447 SharedDtor(*msg); 448 ::google::protobuf::internal::SizedDelete(msg, sizeof(SecurityRequirement_SecurityRequirementValue)); 449 } 450 #endif 451 452 template <typename = void> 453 explicit PROTOBUF_CONSTEXPR SecurityRequirement_SecurityRequirementValue(::google::protobuf::internal::ConstantInitialized); 454 455 inline SecurityRequirement_SecurityRequirementValue(const SecurityRequirement_SecurityRequirementValue& from) : SecurityRequirement_SecurityRequirementValue(nullptr, from) {} 456 inline SecurityRequirement_SecurityRequirementValue(SecurityRequirement_SecurityRequirementValue&& from) noexcept 457 : SecurityRequirement_SecurityRequirementValue(nullptr, std::move(from)) {} 458 inline SecurityRequirement_SecurityRequirementValue& operator=(const SecurityRequirement_SecurityRequirementValue& from) { 459 CopyFrom(from); 460 return *this; 461 } 462 inline SecurityRequirement_SecurityRequirementValue& operator=(SecurityRequirement_SecurityRequirementValue&& from) noexcept { 463 if (this == &from) return *this; 464 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { 465 InternalSwap(&from); 466 } else { 467 CopyFrom(from); 468 } 469 return *this; 470 } 471 472 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const 473 ABSL_ATTRIBUTE_LIFETIME_BOUND { 474 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); 475 } 476 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() 477 ABSL_ATTRIBUTE_LIFETIME_BOUND { 478 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); 479 } 480 481 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { 482 return GetDescriptor(); 483 } 484 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { 485 return default_instance().GetMetadata().descriptor; 486 } 487 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { 488 return default_instance().GetMetadata().reflection; 489 } 490 static const SecurityRequirement_SecurityRequirementValue& default_instance() { 491 return *reinterpret_cast<const SecurityRequirement_SecurityRequirementValue*>( 492 &_SecurityRequirement_SecurityRequirementValue_default_instance_); 493 } 494 static constexpr int kIndexInFileMessages = 25; 495 friend void swap(SecurityRequirement_SecurityRequirementValue& a, SecurityRequirement_SecurityRequirementValue& b) { a.Swap(&b); } 496 inline void Swap(SecurityRequirement_SecurityRequirementValue* PROTOBUF_NONNULL other) { 497 if (other == this) return; 498 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { 499 InternalSwap(other); 500 } else { 501 ::google::protobuf::internal::GenericSwap(this, other); 502 } 503 } 504 void UnsafeArenaSwap(SecurityRequirement_SecurityRequirementValue* PROTOBUF_NONNULL other) { 505 if (other == this) return; 506 ABSL_DCHECK(GetArena() == other->GetArena()); 507 InternalSwap(other); 508 } 509 510 // implements Message ---------------------------------------------- 511 512 SecurityRequirement_SecurityRequirementValue* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { 513 return ::google::protobuf::Message::DefaultConstruct<SecurityRequirement_SecurityRequirementValue>(arena); 514 } 515 using ::google::protobuf::Message::CopyFrom; 516 void CopyFrom(const SecurityRequirement_SecurityRequirementValue& from); 517 using ::google::protobuf::Message::MergeFrom; 518 void MergeFrom(const SecurityRequirement_SecurityRequirementValue& from) { SecurityRequirement_SecurityRequirementValue::MergeImpl(*this, from); } 519 520 private: 521 static void MergeImpl(::google::protobuf::MessageLite& to_msg, 522 const ::google::protobuf::MessageLite& from_msg); 523 524 public: 525 bool IsInitialized() const { 526 return true; 527 } 528 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; 529 #if defined(PROTOBUF_CUSTOM_VTABLE) 530 private: 531 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); 532 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 533 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, 534 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); 535 536 public: 537 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } 538 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 539 ::uint8_t* PROTOBUF_NONNULL target, 540 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 541 return _InternalSerialize(*this, target, stream); 542 } 543 #else // PROTOBUF_CUSTOM_VTABLE 544 ::size_t ByteSizeLong() const final; 545 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 546 ::uint8_t* PROTOBUF_NONNULL target, 547 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; 548 #endif // PROTOBUF_CUSTOM_VTABLE 549 int GetCachedSize() const { return _impl_._cached_size_.Get(); } 550 551 private: 552 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 553 static void SharedDtor(MessageLite& self); 554 void InternalSwap(SecurityRequirement_SecurityRequirementValue* PROTOBUF_NONNULL other); 555 private: 556 template <typename T> 557 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); 558 static ::absl::string_view FullMessageName() { return "grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue"; } 559 560 protected: 561 explicit SecurityRequirement_SecurityRequirementValue(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 562 SecurityRequirement_SecurityRequirementValue(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SecurityRequirement_SecurityRequirementValue& from); 563 SecurityRequirement_SecurityRequirementValue( 564 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SecurityRequirement_SecurityRequirementValue&& from) noexcept 565 : SecurityRequirement_SecurityRequirementValue(arena) { 566 *this = ::std::move(from); 567 } 568 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 569 static void* PROTOBUF_NONNULL PlacementNew_( 570 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 571 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 572 static constexpr auto InternalNewImpl_(); 573 574 public: 575 static constexpr auto InternalGenerateClassData_(); 576 577 ::google::protobuf::Metadata GetMetadata() const; 578 // nested types ---------------------------------------------------- 579 580 // accessors ------------------------------------------------------- 581 enum : int { 582 kScopeFieldNumber = 1, 583 }; 584 // repeated string scope = 1; 585 int scope_size() const; 586 private: 587 int _internal_scope_size() const; 588 589 public: 590 void clear_scope() ; 591 const std::string& scope(int index) const; 592 std::string* PROTOBUF_NONNULL mutable_scope(int index); 593 template <typename Arg_ = const std::string&, typename... Args_> 594 void set_scope(int index, Arg_&& value, Args_... args); 595 std::string* PROTOBUF_NONNULL add_scope(); 596 template <typename Arg_ = const std::string&, typename... Args_> 597 void add_scope(Arg_&& value, Args_... args); 598 const ::google::protobuf::RepeatedPtrField<std::string>& scope() const; 599 ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL mutable_scope(); 600 601 private: 602 const ::google::protobuf::RepeatedPtrField<std::string>& _internal_scope() const; 603 ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL _internal_mutable_scope(); 604 605 public: 606 // @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue) 607 private: 608 class _Internal; 609 friend class ::google::protobuf::internal::TcParser; 610 static const ::google::protobuf::internal::TcParseTable<0, 1, 611 0, 100, 612 2> 613 _table_; 614 615 friend class ::google::protobuf::MessageLite; 616 friend class ::google::protobuf::Arena; 617 template <typename T> 618 friend class ::google::protobuf::Arena::InternalHelper; 619 using InternalArenaConstructable_ = void; 620 using DestructorSkippable_ = void; 621 struct Impl_ { 622 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; 623 inline explicit Impl_( 624 ::google::protobuf::internal::InternalVisibility visibility, 625 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 626 inline explicit Impl_( 627 ::google::protobuf::internal::InternalVisibility visibility, 628 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 629 const SecurityRequirement_SecurityRequirementValue& from_msg); 630 ::google::protobuf::RepeatedPtrField<std::string> scope_; 631 ::google::protobuf::internal::CachedSize _cached_size_; 632 PROTOBUF_TSAN_DECLARE_MEMBER 633 }; 634 union { Impl_ _impl_; }; 635 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 636 }; 637 638 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull SecurityRequirement_SecurityRequirementValue_class_data_; 639 // ------------------------------------------------------------------- 640 641 class Scopes_ScopeEntry_DoNotUse final 642 : public ::google::protobuf::internal::MapEntry<std::string, std::string, 643 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 644 ::google::protobuf::internal::WireFormatLite::TYPE_STRING> { 645 public: 646 using SuperType = 647 ::google::protobuf::internal::MapEntry<std::string, std::string, 648 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 649 ::google::protobuf::internal::WireFormatLite::TYPE_STRING>; 650 Scopes_ScopeEntry_DoNotUse(); 651 template <typename = void> 652 explicit PROTOBUF_CONSTEXPR Scopes_ScopeEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized); 653 explicit Scopes_ScopeEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 654 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() { 655 return &_Scopes_ScopeEntry_DoNotUse_default_instance_; 656 } 657 658 659 static constexpr auto InternalGenerateClassData_(); 660 661 private: 662 friend class ::google::protobuf::MessageLite; 663 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 664 665 friend class ::google::protobuf::internal::TcParser; 666 static const ::google::protobuf::internal::TcParseTable<1, 2, 667 0, 76, 668 2> 669 _table_; 670 671 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 672 static void* PROTOBUF_NONNULL PlacementNew_( 673 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 674 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 675 static constexpr auto InternalNewImpl_(); 676 }; 677 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Scopes_ScopeEntry_DoNotUse_class_data_; 678 // ------------------------------------------------------------------- 679 680 class Response_ExamplesEntry_DoNotUse final 681 : public ::google::protobuf::internal::MapEntry<std::string, std::string, 682 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 683 ::google::protobuf::internal::WireFormatLite::TYPE_STRING> { 684 public: 685 using SuperType = 686 ::google::protobuf::internal::MapEntry<std::string, std::string, 687 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 688 ::google::protobuf::internal::WireFormatLite::TYPE_STRING>; 689 Response_ExamplesEntry_DoNotUse(); 690 template <typename = void> 691 explicit PROTOBUF_CONSTEXPR Response_ExamplesEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized); 692 explicit Response_ExamplesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 693 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() { 694 return &_Response_ExamplesEntry_DoNotUse_default_instance_; 695 } 696 697 698 static constexpr auto InternalGenerateClassData_(); 699 700 private: 701 friend class ::google::protobuf::MessageLite; 702 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 703 704 friend class ::google::protobuf::internal::TcParser; 705 static const ::google::protobuf::internal::TcParseTable<1, 2, 706 0, 81, 707 2> 708 _table_; 709 710 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 711 static void* PROTOBUF_NONNULL PlacementNew_( 712 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 713 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 714 static constexpr auto InternalNewImpl_(); 715 }; 716 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Response_ExamplesEntry_DoNotUse_class_data_; 717 // ------------------------------------------------------------------- 718 719 class AGONES_EXPORT License final : public ::google::protobuf::Message 720 /* @@protoc_insertion_point(class_definition:grpc.gateway.protoc_gen_openapiv2.options.License) */ { 721 public: 722 inline License() : License(nullptr) {} 723 ~License() PROTOBUF_FINAL; 724 725 #if defined(PROTOBUF_CUSTOM_VTABLE) 726 void operator delete(License* PROTOBUF_NONNULL msg, std::destroying_delete_t) { 727 SharedDtor(*msg); 728 ::google::protobuf::internal::SizedDelete(msg, sizeof(License)); 729 } 730 #endif 731 732 template <typename = void> 733 explicit PROTOBUF_CONSTEXPR License(::google::protobuf::internal::ConstantInitialized); 734 735 inline License(const License& from) : License(nullptr, from) {} 736 inline License(License&& from) noexcept 737 : License(nullptr, std::move(from)) {} 738 inline License& operator=(const License& from) { 739 CopyFrom(from); 740 return *this; 741 } 742 inline License& operator=(License&& from) noexcept { 743 if (this == &from) return *this; 744 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { 745 InternalSwap(&from); 746 } else { 747 CopyFrom(from); 748 } 749 return *this; 750 } 751 752 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const 753 ABSL_ATTRIBUTE_LIFETIME_BOUND { 754 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); 755 } 756 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() 757 ABSL_ATTRIBUTE_LIFETIME_BOUND { 758 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); 759 } 760 761 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { 762 return GetDescriptor(); 763 } 764 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { 765 return default_instance().GetMetadata().descriptor; 766 } 767 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { 768 return default_instance().GetMetadata().reflection; 769 } 770 static const License& default_instance() { 771 return *reinterpret_cast<const License*>( 772 &_License_default_instance_); 773 } 774 static constexpr int kIndexInFileMessages = 14; 775 friend void swap(License& a, License& b) { a.Swap(&b); } 776 inline void Swap(License* PROTOBUF_NONNULL other) { 777 if (other == this) return; 778 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { 779 InternalSwap(other); 780 } else { 781 ::google::protobuf::internal::GenericSwap(this, other); 782 } 783 } 784 void UnsafeArenaSwap(License* PROTOBUF_NONNULL other) { 785 if (other == this) return; 786 ABSL_DCHECK(GetArena() == other->GetArena()); 787 InternalSwap(other); 788 } 789 790 // implements Message ---------------------------------------------- 791 792 License* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { 793 return ::google::protobuf::Message::DefaultConstruct<License>(arena); 794 } 795 using ::google::protobuf::Message::CopyFrom; 796 void CopyFrom(const License& from); 797 using ::google::protobuf::Message::MergeFrom; 798 void MergeFrom(const License& from) { License::MergeImpl(*this, from); } 799 800 private: 801 static void MergeImpl(::google::protobuf::MessageLite& to_msg, 802 const ::google::protobuf::MessageLite& from_msg); 803 804 public: 805 bool IsInitialized() const { 806 return true; 807 } 808 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; 809 #if defined(PROTOBUF_CUSTOM_VTABLE) 810 private: 811 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); 812 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 813 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, 814 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); 815 816 public: 817 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } 818 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 819 ::uint8_t* PROTOBUF_NONNULL target, 820 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 821 return _InternalSerialize(*this, target, stream); 822 } 823 #else // PROTOBUF_CUSTOM_VTABLE 824 ::size_t ByteSizeLong() const final; 825 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 826 ::uint8_t* PROTOBUF_NONNULL target, 827 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; 828 #endif // PROTOBUF_CUSTOM_VTABLE 829 int GetCachedSize() const { return _impl_._cached_size_.Get(); } 830 831 private: 832 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 833 static void SharedDtor(MessageLite& self); 834 void InternalSwap(License* PROTOBUF_NONNULL other); 835 private: 836 template <typename T> 837 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); 838 static ::absl::string_view FullMessageName() { return "grpc.gateway.protoc_gen_openapiv2.options.License"; } 839 840 protected: 841 explicit License(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 842 License(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const License& from); 843 License( 844 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, License&& from) noexcept 845 : License(arena) { 846 *this = ::std::move(from); 847 } 848 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 849 static void* PROTOBUF_NONNULL PlacementNew_( 850 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 851 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 852 static constexpr auto InternalNewImpl_(); 853 854 public: 855 static constexpr auto InternalGenerateClassData_(); 856 857 ::google::protobuf::Metadata GetMetadata() const; 858 // nested types ---------------------------------------------------- 859 860 // accessors ------------------------------------------------------- 861 enum : int { 862 kNameFieldNumber = 1, 863 kUrlFieldNumber = 2, 864 }; 865 // string name = 1; 866 void clear_name() ; 867 const std::string& name() const; 868 template <typename Arg_ = const std::string&, typename... Args_> 869 void set_name(Arg_&& arg, Args_... args); 870 std::string* PROTOBUF_NONNULL mutable_name(); 871 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_name(); 872 void set_allocated_name(std::string* PROTOBUF_NULLABLE value); 873 874 private: 875 const std::string& _internal_name() const; 876 PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); 877 std::string* PROTOBUF_NONNULL _internal_mutable_name(); 878 879 public: 880 // string url = 2; 881 void clear_url() ; 882 const std::string& url() const; 883 template <typename Arg_ = const std::string&, typename... Args_> 884 void set_url(Arg_&& arg, Args_... args); 885 std::string* PROTOBUF_NONNULL mutable_url(); 886 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_url(); 887 void set_allocated_url(std::string* PROTOBUF_NULLABLE value); 888 889 private: 890 const std::string& _internal_url() const; 891 PROTOBUF_ALWAYS_INLINE void _internal_set_url(const std::string& value); 892 std::string* PROTOBUF_NONNULL _internal_mutable_url(); 893 894 public: 895 // @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.License) 896 private: 897 class _Internal; 898 friend class ::google::protobuf::internal::TcParser; 899 static const ::google::protobuf::internal::TcParseTable<1, 2, 900 0, 65, 901 2> 902 _table_; 903 904 friend class ::google::protobuf::MessageLite; 905 friend class ::google::protobuf::Arena; 906 template <typename T> 907 friend class ::google::protobuf::Arena::InternalHelper; 908 using InternalArenaConstructable_ = void; 909 using DestructorSkippable_ = void; 910 struct Impl_ { 911 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; 912 inline explicit Impl_( 913 ::google::protobuf::internal::InternalVisibility visibility, 914 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 915 inline explicit Impl_( 916 ::google::protobuf::internal::InternalVisibility visibility, 917 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 918 const License& from_msg); 919 ::google::protobuf::internal::HasBits<1> _has_bits_; 920 ::google::protobuf::internal::CachedSize _cached_size_; 921 ::google::protobuf::internal::ArenaStringPtr name_; 922 ::google::protobuf::internal::ArenaStringPtr url_; 923 PROTOBUF_TSAN_DECLARE_MEMBER 924 }; 925 union { Impl_ _impl_; }; 926 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 927 }; 928 929 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull License_class_data_; 930 // ------------------------------------------------------------------- 931 932 class AGONES_EXPORT JSONSchema_FieldConfiguration final : public ::google::protobuf::Message 933 /* @@protoc_insertion_point(class_definition:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration) */ { 934 public: 935 inline JSONSchema_FieldConfiguration() : JSONSchema_FieldConfiguration(nullptr) {} 936 ~JSONSchema_FieldConfiguration() PROTOBUF_FINAL; 937 938 #if defined(PROTOBUF_CUSTOM_VTABLE) 939 void operator delete(JSONSchema_FieldConfiguration* PROTOBUF_NONNULL msg, std::destroying_delete_t) { 940 SharedDtor(*msg); 941 ::google::protobuf::internal::SizedDelete(msg, sizeof(JSONSchema_FieldConfiguration)); 942 } 943 #endif 944 945 template <typename = void> 946 explicit PROTOBUF_CONSTEXPR JSONSchema_FieldConfiguration(::google::protobuf::internal::ConstantInitialized); 947 948 inline JSONSchema_FieldConfiguration(const JSONSchema_FieldConfiguration& from) : JSONSchema_FieldConfiguration(nullptr, from) {} 949 inline JSONSchema_FieldConfiguration(JSONSchema_FieldConfiguration&& from) noexcept 950 : JSONSchema_FieldConfiguration(nullptr, std::move(from)) {} 951 inline JSONSchema_FieldConfiguration& operator=(const JSONSchema_FieldConfiguration& from) { 952 CopyFrom(from); 953 return *this; 954 } 955 inline JSONSchema_FieldConfiguration& operator=(JSONSchema_FieldConfiguration&& from) noexcept { 956 if (this == &from) return *this; 957 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { 958 InternalSwap(&from); 959 } else { 960 CopyFrom(from); 961 } 962 return *this; 963 } 964 965 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const 966 ABSL_ATTRIBUTE_LIFETIME_BOUND { 967 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); 968 } 969 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() 970 ABSL_ATTRIBUTE_LIFETIME_BOUND { 971 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); 972 } 973 974 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { 975 return GetDescriptor(); 976 } 977 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { 978 return default_instance().GetMetadata().descriptor; 979 } 980 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { 981 return default_instance().GetMetadata().reflection; 982 } 983 static const JSONSchema_FieldConfiguration& default_instance() { 984 return *reinterpret_cast<const JSONSchema_FieldConfiguration*>( 985 &_JSONSchema_FieldConfiguration_default_instance_); 986 } 987 static constexpr int kIndexInFileMessages = 17; 988 friend void swap(JSONSchema_FieldConfiguration& a, JSONSchema_FieldConfiguration& b) { a.Swap(&b); } 989 inline void Swap(JSONSchema_FieldConfiguration* PROTOBUF_NONNULL other) { 990 if (other == this) return; 991 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { 992 InternalSwap(other); 993 } else { 994 ::google::protobuf::internal::GenericSwap(this, other); 995 } 996 } 997 void UnsafeArenaSwap(JSONSchema_FieldConfiguration* PROTOBUF_NONNULL other) { 998 if (other == this) return; 999 ABSL_DCHECK(GetArena() == other->GetArena()); 1000 InternalSwap(other); 1001 } 1002 1003 // implements Message ---------------------------------------------- 1004 1005 JSONSchema_FieldConfiguration* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { 1006 return ::google::protobuf::Message::DefaultConstruct<JSONSchema_FieldConfiguration>(arena); 1007 } 1008 using ::google::protobuf::Message::CopyFrom; 1009 void CopyFrom(const JSONSchema_FieldConfiguration& from); 1010 using ::google::protobuf::Message::MergeFrom; 1011 void MergeFrom(const JSONSchema_FieldConfiguration& from) { JSONSchema_FieldConfiguration::MergeImpl(*this, from); } 1012 1013 private: 1014 static void MergeImpl(::google::protobuf::MessageLite& to_msg, 1015 const ::google::protobuf::MessageLite& from_msg); 1016 1017 public: 1018 bool IsInitialized() const { 1019 return true; 1020 } 1021 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; 1022 #if defined(PROTOBUF_CUSTOM_VTABLE) 1023 private: 1024 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); 1025 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 1026 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, 1027 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); 1028 1029 public: 1030 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } 1031 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 1032 ::uint8_t* PROTOBUF_NONNULL target, 1033 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 1034 return _InternalSerialize(*this, target, stream); 1035 } 1036 #else // PROTOBUF_CUSTOM_VTABLE 1037 ::size_t ByteSizeLong() const final; 1038 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 1039 ::uint8_t* PROTOBUF_NONNULL target, 1040 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; 1041 #endif // PROTOBUF_CUSTOM_VTABLE 1042 int GetCachedSize() const { return _impl_._cached_size_.Get(); } 1043 1044 private: 1045 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 1046 static void SharedDtor(MessageLite& self); 1047 void InternalSwap(JSONSchema_FieldConfiguration* PROTOBUF_NONNULL other); 1048 private: 1049 template <typename T> 1050 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); 1051 static ::absl::string_view FullMessageName() { return "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration"; } 1052 1053 protected: 1054 explicit JSONSchema_FieldConfiguration(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 1055 JSONSchema_FieldConfiguration(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const JSONSchema_FieldConfiguration& from); 1056 JSONSchema_FieldConfiguration( 1057 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, JSONSchema_FieldConfiguration&& from) noexcept 1058 : JSONSchema_FieldConfiguration(arena) { 1059 *this = ::std::move(from); 1060 } 1061 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 1062 static void* PROTOBUF_NONNULL PlacementNew_( 1063 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 1064 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 1065 static constexpr auto InternalNewImpl_(); 1066 1067 public: 1068 static constexpr auto InternalGenerateClassData_(); 1069 1070 ::google::protobuf::Metadata GetMetadata() const; 1071 // nested types ---------------------------------------------------- 1072 1073 // accessors ------------------------------------------------------- 1074 enum : int { 1075 kPathParamNameFieldNumber = 47, 1076 }; 1077 // string path_param_name = 47; 1078 void clear_path_param_name() ; 1079 const std::string& path_param_name() const; 1080 template <typename Arg_ = const std::string&, typename... Args_> 1081 void set_path_param_name(Arg_&& arg, Args_... args); 1082 std::string* PROTOBUF_NONNULL mutable_path_param_name(); 1083 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_path_param_name(); 1084 void set_allocated_path_param_name(std::string* PROTOBUF_NULLABLE value); 1085 1086 private: 1087 const std::string& _internal_path_param_name() const; 1088 PROTOBUF_ALWAYS_INLINE void _internal_set_path_param_name(const std::string& value); 1089 std::string* PROTOBUF_NONNULL _internal_mutable_path_param_name(); 1090 1091 public: 1092 // @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration) 1093 private: 1094 class _Internal; 1095 friend class ::google::protobuf::internal::TcParser; 1096 static const ::google::protobuf::internal::TcParseTable<0, 1, 1097 0, 95, 1098 7> 1099 _table_; 1100 1101 friend class ::google::protobuf::MessageLite; 1102 friend class ::google::protobuf::Arena; 1103 template <typename T> 1104 friend class ::google::protobuf::Arena::InternalHelper; 1105 using InternalArenaConstructable_ = void; 1106 using DestructorSkippable_ = void; 1107 struct Impl_ { 1108 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; 1109 inline explicit Impl_( 1110 ::google::protobuf::internal::InternalVisibility visibility, 1111 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 1112 inline explicit Impl_( 1113 ::google::protobuf::internal::InternalVisibility visibility, 1114 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 1115 const JSONSchema_FieldConfiguration& from_msg); 1116 ::google::protobuf::internal::HasBits<1> _has_bits_; 1117 ::google::protobuf::internal::CachedSize _cached_size_; 1118 ::google::protobuf::internal::ArenaStringPtr path_param_name_; 1119 PROTOBUF_TSAN_DECLARE_MEMBER 1120 }; 1121 union { Impl_ _impl_; }; 1122 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 1123 }; 1124 1125 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull JSONSchema_FieldConfiguration_class_data_; 1126 // ------------------------------------------------------------------- 1127 1128 class AGONES_EXPORT Header final : public ::google::protobuf::Message 1129 /* @@protoc_insertion_point(class_definition:grpc.gateway.protoc_gen_openapiv2.options.Header) */ { 1130 public: 1131 inline Header() : Header(nullptr) {} 1132 ~Header() PROTOBUF_FINAL; 1133 1134 #if defined(PROTOBUF_CUSTOM_VTABLE) 1135 void operator delete(Header* PROTOBUF_NONNULL msg, std::destroying_delete_t) { 1136 SharedDtor(*msg); 1137 ::google::protobuf::internal::SizedDelete(msg, sizeof(Header)); 1138 } 1139 #endif 1140 1141 template <typename = void> 1142 explicit PROTOBUF_CONSTEXPR Header(::google::protobuf::internal::ConstantInitialized); 1143 1144 inline Header(const Header& from) : Header(nullptr, from) {} 1145 inline Header(Header&& from) noexcept 1146 : Header(nullptr, std::move(from)) {} 1147 inline Header& operator=(const Header& from) { 1148 CopyFrom(from); 1149 return *this; 1150 } 1151 inline Header& operator=(Header&& from) noexcept { 1152 if (this == &from) return *this; 1153 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { 1154 InternalSwap(&from); 1155 } else { 1156 CopyFrom(from); 1157 } 1158 return *this; 1159 } 1160 1161 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const 1162 ABSL_ATTRIBUTE_LIFETIME_BOUND { 1163 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); 1164 } 1165 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() 1166 ABSL_ATTRIBUTE_LIFETIME_BOUND { 1167 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); 1168 } 1169 1170 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { 1171 return GetDescriptor(); 1172 } 1173 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { 1174 return default_instance().GetMetadata().descriptor; 1175 } 1176 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { 1177 return default_instance().GetMetadata().reflection; 1178 } 1179 static const Header& default_instance() { 1180 return *reinterpret_cast<const Header*>( 1181 &_Header_default_instance_); 1182 } 1183 static constexpr int kIndexInFileMessages = 6; 1184 friend void swap(Header& a, Header& b) { a.Swap(&b); } 1185 inline void Swap(Header* PROTOBUF_NONNULL other) { 1186 if (other == this) return; 1187 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { 1188 InternalSwap(other); 1189 } else { 1190 ::google::protobuf::internal::GenericSwap(this, other); 1191 } 1192 } 1193 void UnsafeArenaSwap(Header* PROTOBUF_NONNULL other) { 1194 if (other == this) return; 1195 ABSL_DCHECK(GetArena() == other->GetArena()); 1196 InternalSwap(other); 1197 } 1198 1199 // implements Message ---------------------------------------------- 1200 1201 Header* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { 1202 return ::google::protobuf::Message::DefaultConstruct<Header>(arena); 1203 } 1204 using ::google::protobuf::Message::CopyFrom; 1205 void CopyFrom(const Header& from); 1206 using ::google::protobuf::Message::MergeFrom; 1207 void MergeFrom(const Header& from) { Header::MergeImpl(*this, from); } 1208 1209 private: 1210 static void MergeImpl(::google::protobuf::MessageLite& to_msg, 1211 const ::google::protobuf::MessageLite& from_msg); 1212 1213 public: 1214 bool IsInitialized() const { 1215 return true; 1216 } 1217 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; 1218 #if defined(PROTOBUF_CUSTOM_VTABLE) 1219 private: 1220 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); 1221 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 1222 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, 1223 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); 1224 1225 public: 1226 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } 1227 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 1228 ::uint8_t* PROTOBUF_NONNULL target, 1229 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 1230 return _InternalSerialize(*this, target, stream); 1231 } 1232 #else // PROTOBUF_CUSTOM_VTABLE 1233 ::size_t ByteSizeLong() const final; 1234 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 1235 ::uint8_t* PROTOBUF_NONNULL target, 1236 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; 1237 #endif // PROTOBUF_CUSTOM_VTABLE 1238 int GetCachedSize() const { return _impl_._cached_size_.Get(); } 1239 1240 private: 1241 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 1242 static void SharedDtor(MessageLite& self); 1243 void InternalSwap(Header* PROTOBUF_NONNULL other); 1244 private: 1245 template <typename T> 1246 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); 1247 static ::absl::string_view FullMessageName() { return "grpc.gateway.protoc_gen_openapiv2.options.Header"; } 1248 1249 protected: 1250 explicit Header(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 1251 Header(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Header& from); 1252 Header( 1253 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Header&& from) noexcept 1254 : Header(arena) { 1255 *this = ::std::move(from); 1256 } 1257 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 1258 static void* PROTOBUF_NONNULL PlacementNew_( 1259 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 1260 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 1261 static constexpr auto InternalNewImpl_(); 1262 1263 public: 1264 static constexpr auto InternalGenerateClassData_(); 1265 1266 ::google::protobuf::Metadata GetMetadata() const; 1267 // nested types ---------------------------------------------------- 1268 1269 // accessors ------------------------------------------------------- 1270 enum : int { 1271 kDescriptionFieldNumber = 1, 1272 kTypeFieldNumber = 2, 1273 kFormatFieldNumber = 3, 1274 kDefaultFieldNumber = 6, 1275 kPatternFieldNumber = 13, 1276 }; 1277 // string description = 1; 1278 void clear_description() ; 1279 const std::string& description() const; 1280 template <typename Arg_ = const std::string&, typename... Args_> 1281 void set_description(Arg_&& arg, Args_... args); 1282 std::string* PROTOBUF_NONNULL mutable_description(); 1283 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_description(); 1284 void set_allocated_description(std::string* PROTOBUF_NULLABLE value); 1285 1286 private: 1287 const std::string& _internal_description() const; 1288 PROTOBUF_ALWAYS_INLINE void _internal_set_description(const std::string& value); 1289 std::string* PROTOBUF_NONNULL _internal_mutable_description(); 1290 1291 public: 1292 // string type = 2; 1293 void clear_type() ; 1294 const std::string& type() const; 1295 template <typename Arg_ = const std::string&, typename... Args_> 1296 void set_type(Arg_&& arg, Args_... args); 1297 std::string* PROTOBUF_NONNULL mutable_type(); 1298 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_type(); 1299 void set_allocated_type(std::string* PROTOBUF_NULLABLE value); 1300 1301 private: 1302 const std::string& _internal_type() const; 1303 PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value); 1304 std::string* PROTOBUF_NONNULL _internal_mutable_type(); 1305 1306 public: 1307 // string format = 3; 1308 void clear_format() ; 1309 const std::string& format() const; 1310 template <typename Arg_ = const std::string&, typename... Args_> 1311 void set_format(Arg_&& arg, Args_... args); 1312 std::string* PROTOBUF_NONNULL mutable_format(); 1313 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_format(); 1314 void set_allocated_format(std::string* PROTOBUF_NULLABLE value); 1315 1316 private: 1317 const std::string& _internal_format() const; 1318 PROTOBUF_ALWAYS_INLINE void _internal_set_format(const std::string& value); 1319 std::string* PROTOBUF_NONNULL _internal_mutable_format(); 1320 1321 public: 1322 // string default = 6; 1323 void clear_default_() ; 1324 const std::string& default_() const; 1325 template <typename Arg_ = const std::string&, typename... Args_> 1326 void set_default_(Arg_&& arg, Args_... args); 1327 std::string* PROTOBUF_NONNULL mutable_default_(); 1328 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_default_(); 1329 void set_allocated_default_(std::string* PROTOBUF_NULLABLE value); 1330 1331 private: 1332 const std::string& _internal_default_() const; 1333 PROTOBUF_ALWAYS_INLINE void _internal_set_default_(const std::string& value); 1334 std::string* PROTOBUF_NONNULL _internal_mutable_default_(); 1335 1336 public: 1337 // string pattern = 13; 1338 void clear_pattern() ; 1339 const std::string& pattern() const; 1340 template <typename Arg_ = const std::string&, typename... Args_> 1341 void set_pattern(Arg_&& arg, Args_... args); 1342 std::string* PROTOBUF_NONNULL mutable_pattern(); 1343 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_pattern(); 1344 void set_allocated_pattern(std::string* PROTOBUF_NULLABLE value); 1345 1346 private: 1347 const std::string& _internal_pattern() const; 1348 PROTOBUF_ALWAYS_INLINE void _internal_set_pattern(const std::string& value); 1349 std::string* PROTOBUF_NONNULL _internal_mutable_pattern(); 1350 1351 public: 1352 // @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Header) 1353 private: 1354 class _Internal; 1355 friend class ::google::protobuf::internal::TcParser; 1356 static const ::google::protobuf::internal::TcParseTable<3, 5, 1357 0, 92, 1358 2> 1359 _table_; 1360 1361 friend class ::google::protobuf::MessageLite; 1362 friend class ::google::protobuf::Arena; 1363 template <typename T> 1364 friend class ::google::protobuf::Arena::InternalHelper; 1365 using InternalArenaConstructable_ = void; 1366 using DestructorSkippable_ = void; 1367 struct Impl_ { 1368 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; 1369 inline explicit Impl_( 1370 ::google::protobuf::internal::InternalVisibility visibility, 1371 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 1372 inline explicit Impl_( 1373 ::google::protobuf::internal::InternalVisibility visibility, 1374 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 1375 const Header& from_msg); 1376 ::google::protobuf::internal::HasBits<1> _has_bits_; 1377 ::google::protobuf::internal::CachedSize _cached_size_; 1378 ::google::protobuf::internal::ArenaStringPtr description_; 1379 ::google::protobuf::internal::ArenaStringPtr type_; 1380 ::google::protobuf::internal::ArenaStringPtr format_; 1381 ::google::protobuf::internal::ArenaStringPtr default__; 1382 ::google::protobuf::internal::ArenaStringPtr pattern_; 1383 PROTOBUF_TSAN_DECLARE_MEMBER 1384 }; 1385 union { Impl_ _impl_; }; 1386 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 1387 }; 1388 1389 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Header_class_data_; 1390 // ------------------------------------------------------------------- 1391 1392 class AGONES_EXPORT ExternalDocumentation final : public ::google::protobuf::Message 1393 /* @@protoc_insertion_point(class_definition:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation) */ { 1394 public: 1395 inline ExternalDocumentation() : ExternalDocumentation(nullptr) {} 1396 ~ExternalDocumentation() PROTOBUF_FINAL; 1397 1398 #if defined(PROTOBUF_CUSTOM_VTABLE) 1399 void operator delete(ExternalDocumentation* PROTOBUF_NONNULL msg, std::destroying_delete_t) { 1400 SharedDtor(*msg); 1401 ::google::protobuf::internal::SizedDelete(msg, sizeof(ExternalDocumentation)); 1402 } 1403 #endif 1404 1405 template <typename = void> 1406 explicit PROTOBUF_CONSTEXPR ExternalDocumentation(::google::protobuf::internal::ConstantInitialized); 1407 1408 inline ExternalDocumentation(const ExternalDocumentation& from) : ExternalDocumentation(nullptr, from) {} 1409 inline ExternalDocumentation(ExternalDocumentation&& from) noexcept 1410 : ExternalDocumentation(nullptr, std::move(from)) {} 1411 inline ExternalDocumentation& operator=(const ExternalDocumentation& from) { 1412 CopyFrom(from); 1413 return *this; 1414 } 1415 inline ExternalDocumentation& operator=(ExternalDocumentation&& from) noexcept { 1416 if (this == &from) return *this; 1417 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { 1418 InternalSwap(&from); 1419 } else { 1420 CopyFrom(from); 1421 } 1422 return *this; 1423 } 1424 1425 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const 1426 ABSL_ATTRIBUTE_LIFETIME_BOUND { 1427 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); 1428 } 1429 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() 1430 ABSL_ATTRIBUTE_LIFETIME_BOUND { 1431 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); 1432 } 1433 1434 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { 1435 return GetDescriptor(); 1436 } 1437 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { 1438 return default_instance().GetMetadata().descriptor; 1439 } 1440 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { 1441 return default_instance().GetMetadata().reflection; 1442 } 1443 static const ExternalDocumentation& default_instance() { 1444 return *reinterpret_cast<const ExternalDocumentation*>( 1445 &_ExternalDocumentation_default_instance_); 1446 } 1447 static constexpr int kIndexInFileMessages = 15; 1448 friend void swap(ExternalDocumentation& a, ExternalDocumentation& b) { a.Swap(&b); } 1449 inline void Swap(ExternalDocumentation* PROTOBUF_NONNULL other) { 1450 if (other == this) return; 1451 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { 1452 InternalSwap(other); 1453 } else { 1454 ::google::protobuf::internal::GenericSwap(this, other); 1455 } 1456 } 1457 void UnsafeArenaSwap(ExternalDocumentation* PROTOBUF_NONNULL other) { 1458 if (other == this) return; 1459 ABSL_DCHECK(GetArena() == other->GetArena()); 1460 InternalSwap(other); 1461 } 1462 1463 // implements Message ---------------------------------------------- 1464 1465 ExternalDocumentation* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { 1466 return ::google::protobuf::Message::DefaultConstruct<ExternalDocumentation>(arena); 1467 } 1468 using ::google::protobuf::Message::CopyFrom; 1469 void CopyFrom(const ExternalDocumentation& from); 1470 using ::google::protobuf::Message::MergeFrom; 1471 void MergeFrom(const ExternalDocumentation& from) { ExternalDocumentation::MergeImpl(*this, from); } 1472 1473 private: 1474 static void MergeImpl(::google::protobuf::MessageLite& to_msg, 1475 const ::google::protobuf::MessageLite& from_msg); 1476 1477 public: 1478 bool IsInitialized() const { 1479 return true; 1480 } 1481 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; 1482 #if defined(PROTOBUF_CUSTOM_VTABLE) 1483 private: 1484 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); 1485 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 1486 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, 1487 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); 1488 1489 public: 1490 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } 1491 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 1492 ::uint8_t* PROTOBUF_NONNULL target, 1493 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 1494 return _InternalSerialize(*this, target, stream); 1495 } 1496 #else // PROTOBUF_CUSTOM_VTABLE 1497 ::size_t ByteSizeLong() const final; 1498 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 1499 ::uint8_t* PROTOBUF_NONNULL target, 1500 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; 1501 #endif // PROTOBUF_CUSTOM_VTABLE 1502 int GetCachedSize() const { return _impl_._cached_size_.Get(); } 1503 1504 private: 1505 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 1506 static void SharedDtor(MessageLite& self); 1507 void InternalSwap(ExternalDocumentation* PROTOBUF_NONNULL other); 1508 private: 1509 template <typename T> 1510 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); 1511 static ::absl::string_view FullMessageName() { return "grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation"; } 1512 1513 protected: 1514 explicit ExternalDocumentation(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 1515 ExternalDocumentation(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ExternalDocumentation& from); 1516 ExternalDocumentation( 1517 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ExternalDocumentation&& from) noexcept 1518 : ExternalDocumentation(arena) { 1519 *this = ::std::move(from); 1520 } 1521 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 1522 static void* PROTOBUF_NONNULL PlacementNew_( 1523 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 1524 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 1525 static constexpr auto InternalNewImpl_(); 1526 1527 public: 1528 static constexpr auto InternalGenerateClassData_(); 1529 1530 ::google::protobuf::Metadata GetMetadata() const; 1531 // nested types ---------------------------------------------------- 1532 1533 // accessors ------------------------------------------------------- 1534 enum : int { 1535 kDescriptionFieldNumber = 1, 1536 kUrlFieldNumber = 2, 1537 }; 1538 // string description = 1; 1539 void clear_description() ; 1540 const std::string& description() const; 1541 template <typename Arg_ = const std::string&, typename... Args_> 1542 void set_description(Arg_&& arg, Args_... args); 1543 std::string* PROTOBUF_NONNULL mutable_description(); 1544 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_description(); 1545 void set_allocated_description(std::string* PROTOBUF_NULLABLE value); 1546 1547 private: 1548 const std::string& _internal_description() const; 1549 PROTOBUF_ALWAYS_INLINE void _internal_set_description(const std::string& value); 1550 std::string* PROTOBUF_NONNULL _internal_mutable_description(); 1551 1552 public: 1553 // string url = 2; 1554 void clear_url() ; 1555 const std::string& url() const; 1556 template <typename Arg_ = const std::string&, typename... Args_> 1557 void set_url(Arg_&& arg, Args_... args); 1558 std::string* PROTOBUF_NONNULL mutable_url(); 1559 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_url(); 1560 void set_allocated_url(std::string* PROTOBUF_NULLABLE value); 1561 1562 private: 1563 const std::string& _internal_url() const; 1564 PROTOBUF_ALWAYS_INLINE void _internal_set_url(const std::string& value); 1565 std::string* PROTOBUF_NONNULL _internal_mutable_url(); 1566 1567 public: 1568 // @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation) 1569 private: 1570 class _Internal; 1571 friend class ::google::protobuf::internal::TcParser; 1572 static const ::google::protobuf::internal::TcParseTable<1, 2, 1573 0, 86, 1574 2> 1575 _table_; 1576 1577 friend class ::google::protobuf::MessageLite; 1578 friend class ::google::protobuf::Arena; 1579 template <typename T> 1580 friend class ::google::protobuf::Arena::InternalHelper; 1581 using InternalArenaConstructable_ = void; 1582 using DestructorSkippable_ = void; 1583 struct Impl_ { 1584 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; 1585 inline explicit Impl_( 1586 ::google::protobuf::internal::InternalVisibility visibility, 1587 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 1588 inline explicit Impl_( 1589 ::google::protobuf::internal::InternalVisibility visibility, 1590 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 1591 const ExternalDocumentation& from_msg); 1592 ::google::protobuf::internal::HasBits<1> _has_bits_; 1593 ::google::protobuf::internal::CachedSize _cached_size_; 1594 ::google::protobuf::internal::ArenaStringPtr description_; 1595 ::google::protobuf::internal::ArenaStringPtr url_; 1596 PROTOBUF_TSAN_DECLARE_MEMBER 1597 }; 1598 union { Impl_ _impl_; }; 1599 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 1600 }; 1601 1602 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull ExternalDocumentation_class_data_; 1603 // ------------------------------------------------------------------- 1604 1605 class AGONES_EXPORT Contact final : public ::google::protobuf::Message 1606 /* @@protoc_insertion_point(class_definition:grpc.gateway.protoc_gen_openapiv2.options.Contact) */ { 1607 public: 1608 inline Contact() : Contact(nullptr) {} 1609 ~Contact() PROTOBUF_FINAL; 1610 1611 #if defined(PROTOBUF_CUSTOM_VTABLE) 1612 void operator delete(Contact* PROTOBUF_NONNULL msg, std::destroying_delete_t) { 1613 SharedDtor(*msg); 1614 ::google::protobuf::internal::SizedDelete(msg, sizeof(Contact)); 1615 } 1616 #endif 1617 1618 template <typename = void> 1619 explicit PROTOBUF_CONSTEXPR Contact(::google::protobuf::internal::ConstantInitialized); 1620 1621 inline Contact(const Contact& from) : Contact(nullptr, from) {} 1622 inline Contact(Contact&& from) noexcept 1623 : Contact(nullptr, std::move(from)) {} 1624 inline Contact& operator=(const Contact& from) { 1625 CopyFrom(from); 1626 return *this; 1627 } 1628 inline Contact& operator=(Contact&& from) noexcept { 1629 if (this == &from) return *this; 1630 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { 1631 InternalSwap(&from); 1632 } else { 1633 CopyFrom(from); 1634 } 1635 return *this; 1636 } 1637 1638 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const 1639 ABSL_ATTRIBUTE_LIFETIME_BOUND { 1640 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); 1641 } 1642 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() 1643 ABSL_ATTRIBUTE_LIFETIME_BOUND { 1644 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); 1645 } 1646 1647 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { 1648 return GetDescriptor(); 1649 } 1650 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { 1651 return default_instance().GetMetadata().descriptor; 1652 } 1653 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { 1654 return default_instance().GetMetadata().reflection; 1655 } 1656 static const Contact& default_instance() { 1657 return *reinterpret_cast<const Contact*>( 1658 &_Contact_default_instance_); 1659 } 1660 static constexpr int kIndexInFileMessages = 13; 1661 friend void swap(Contact& a, Contact& b) { a.Swap(&b); } 1662 inline void Swap(Contact* PROTOBUF_NONNULL other) { 1663 if (other == this) return; 1664 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { 1665 InternalSwap(other); 1666 } else { 1667 ::google::protobuf::internal::GenericSwap(this, other); 1668 } 1669 } 1670 void UnsafeArenaSwap(Contact* PROTOBUF_NONNULL other) { 1671 if (other == this) return; 1672 ABSL_DCHECK(GetArena() == other->GetArena()); 1673 InternalSwap(other); 1674 } 1675 1676 // implements Message ---------------------------------------------- 1677 1678 Contact* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { 1679 return ::google::protobuf::Message::DefaultConstruct<Contact>(arena); 1680 } 1681 using ::google::protobuf::Message::CopyFrom; 1682 void CopyFrom(const Contact& from); 1683 using ::google::protobuf::Message::MergeFrom; 1684 void MergeFrom(const Contact& from) { Contact::MergeImpl(*this, from); } 1685 1686 private: 1687 static void MergeImpl(::google::protobuf::MessageLite& to_msg, 1688 const ::google::protobuf::MessageLite& from_msg); 1689 1690 public: 1691 bool IsInitialized() const { 1692 return true; 1693 } 1694 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; 1695 #if defined(PROTOBUF_CUSTOM_VTABLE) 1696 private: 1697 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); 1698 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 1699 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, 1700 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); 1701 1702 public: 1703 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } 1704 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 1705 ::uint8_t* PROTOBUF_NONNULL target, 1706 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 1707 return _InternalSerialize(*this, target, stream); 1708 } 1709 #else // PROTOBUF_CUSTOM_VTABLE 1710 ::size_t ByteSizeLong() const final; 1711 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 1712 ::uint8_t* PROTOBUF_NONNULL target, 1713 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; 1714 #endif // PROTOBUF_CUSTOM_VTABLE 1715 int GetCachedSize() const { return _impl_._cached_size_.Get(); } 1716 1717 private: 1718 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 1719 static void SharedDtor(MessageLite& self); 1720 void InternalSwap(Contact* PROTOBUF_NONNULL other); 1721 private: 1722 template <typename T> 1723 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); 1724 static ::absl::string_view FullMessageName() { return "grpc.gateway.protoc_gen_openapiv2.options.Contact"; } 1725 1726 protected: 1727 explicit Contact(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 1728 Contact(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Contact& from); 1729 Contact( 1730 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Contact&& from) noexcept 1731 : Contact(arena) { 1732 *this = ::std::move(from); 1733 } 1734 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 1735 static void* PROTOBUF_NONNULL PlacementNew_( 1736 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 1737 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 1738 static constexpr auto InternalNewImpl_(); 1739 1740 public: 1741 static constexpr auto InternalGenerateClassData_(); 1742 1743 ::google::protobuf::Metadata GetMetadata() const; 1744 // nested types ---------------------------------------------------- 1745 1746 // accessors ------------------------------------------------------- 1747 enum : int { 1748 kNameFieldNumber = 1, 1749 kUrlFieldNumber = 2, 1750 kEmailFieldNumber = 3, 1751 }; 1752 // string name = 1; 1753 void clear_name() ; 1754 const std::string& name() const; 1755 template <typename Arg_ = const std::string&, typename... Args_> 1756 void set_name(Arg_&& arg, Args_... args); 1757 std::string* PROTOBUF_NONNULL mutable_name(); 1758 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_name(); 1759 void set_allocated_name(std::string* PROTOBUF_NULLABLE value); 1760 1761 private: 1762 const std::string& _internal_name() const; 1763 PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); 1764 std::string* PROTOBUF_NONNULL _internal_mutable_name(); 1765 1766 public: 1767 // string url = 2; 1768 void clear_url() ; 1769 const std::string& url() const; 1770 template <typename Arg_ = const std::string&, typename... Args_> 1771 void set_url(Arg_&& arg, Args_... args); 1772 std::string* PROTOBUF_NONNULL mutable_url(); 1773 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_url(); 1774 void set_allocated_url(std::string* PROTOBUF_NULLABLE value); 1775 1776 private: 1777 const std::string& _internal_url() const; 1778 PROTOBUF_ALWAYS_INLINE void _internal_set_url(const std::string& value); 1779 std::string* PROTOBUF_NONNULL _internal_mutable_url(); 1780 1781 public: 1782 // string email = 3; 1783 void clear_email() ; 1784 const std::string& email() const; 1785 template <typename Arg_ = const std::string&, typename... Args_> 1786 void set_email(Arg_&& arg, Args_... args); 1787 std::string* PROTOBUF_NONNULL mutable_email(); 1788 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_email(); 1789 void set_allocated_email(std::string* PROTOBUF_NULLABLE value); 1790 1791 private: 1792 const std::string& _internal_email() const; 1793 PROTOBUF_ALWAYS_INLINE void _internal_set_email(const std::string& value); 1794 std::string* PROTOBUF_NONNULL _internal_mutable_email(); 1795 1796 public: 1797 // @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Contact) 1798 private: 1799 class _Internal; 1800 friend class ::google::protobuf::internal::TcParser; 1801 static const ::google::protobuf::internal::TcParseTable<2, 3, 1802 0, 70, 1803 2> 1804 _table_; 1805 1806 friend class ::google::protobuf::MessageLite; 1807 friend class ::google::protobuf::Arena; 1808 template <typename T> 1809 friend class ::google::protobuf::Arena::InternalHelper; 1810 using InternalArenaConstructable_ = void; 1811 using DestructorSkippable_ = void; 1812 struct Impl_ { 1813 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; 1814 inline explicit Impl_( 1815 ::google::protobuf::internal::InternalVisibility visibility, 1816 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 1817 inline explicit Impl_( 1818 ::google::protobuf::internal::InternalVisibility visibility, 1819 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 1820 const Contact& from_msg); 1821 ::google::protobuf::internal::HasBits<1> _has_bits_; 1822 ::google::protobuf::internal::CachedSize _cached_size_; 1823 ::google::protobuf::internal::ArenaStringPtr name_; 1824 ::google::protobuf::internal::ArenaStringPtr url_; 1825 ::google::protobuf::internal::ArenaStringPtr email_; 1826 PROTOBUF_TSAN_DECLARE_MEMBER 1827 }; 1828 union { Impl_ _impl_; }; 1829 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 1830 }; 1831 1832 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Contact_class_data_; 1833 // ------------------------------------------------------------------- 1834 1835 class AGONES_EXPORT Tag final : public ::google::protobuf::Message 1836 /* @@protoc_insertion_point(class_definition:grpc.gateway.protoc_gen_openapiv2.options.Tag) */ { 1837 public: 1838 inline Tag() : Tag(nullptr) {} 1839 ~Tag() PROTOBUF_FINAL; 1840 1841 #if defined(PROTOBUF_CUSTOM_VTABLE) 1842 void operator delete(Tag* PROTOBUF_NONNULL msg, std::destroying_delete_t) { 1843 SharedDtor(*msg); 1844 ::google::protobuf::internal::SizedDelete(msg, sizeof(Tag)); 1845 } 1846 #endif 1847 1848 template <typename = void> 1849 explicit PROTOBUF_CONSTEXPR Tag(::google::protobuf::internal::ConstantInitialized); 1850 1851 inline Tag(const Tag& from) : Tag(nullptr, from) {} 1852 inline Tag(Tag&& from) noexcept 1853 : Tag(nullptr, std::move(from)) {} 1854 inline Tag& operator=(const Tag& from) { 1855 CopyFrom(from); 1856 return *this; 1857 } 1858 inline Tag& operator=(Tag&& from) noexcept { 1859 if (this == &from) return *this; 1860 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { 1861 InternalSwap(&from); 1862 } else { 1863 CopyFrom(from); 1864 } 1865 return *this; 1866 } 1867 1868 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const 1869 ABSL_ATTRIBUTE_LIFETIME_BOUND { 1870 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); 1871 } 1872 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() 1873 ABSL_ATTRIBUTE_LIFETIME_BOUND { 1874 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); 1875 } 1876 1877 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { 1878 return GetDescriptor(); 1879 } 1880 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { 1881 return default_instance().GetMetadata().descriptor; 1882 } 1883 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { 1884 return default_instance().GetMetadata().reflection; 1885 } 1886 static const Tag& default_instance() { 1887 return *reinterpret_cast<const Tag*>( 1888 &_Tag_default_instance_); 1889 } 1890 static constexpr int kIndexInFileMessages = 20; 1891 friend void swap(Tag& a, Tag& b) { a.Swap(&b); } 1892 inline void Swap(Tag* PROTOBUF_NONNULL other) { 1893 if (other == this) return; 1894 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { 1895 InternalSwap(other); 1896 } else { 1897 ::google::protobuf::internal::GenericSwap(this, other); 1898 } 1899 } 1900 void UnsafeArenaSwap(Tag* PROTOBUF_NONNULL other) { 1901 if (other == this) return; 1902 ABSL_DCHECK(GetArena() == other->GetArena()); 1903 InternalSwap(other); 1904 } 1905 1906 // implements Message ---------------------------------------------- 1907 1908 Tag* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { 1909 return ::google::protobuf::Message::DefaultConstruct<Tag>(arena); 1910 } 1911 using ::google::protobuf::Message::CopyFrom; 1912 void CopyFrom(const Tag& from); 1913 using ::google::protobuf::Message::MergeFrom; 1914 void MergeFrom(const Tag& from) { Tag::MergeImpl(*this, from); } 1915 1916 private: 1917 static void MergeImpl(::google::protobuf::MessageLite& to_msg, 1918 const ::google::protobuf::MessageLite& from_msg); 1919 1920 public: 1921 bool IsInitialized() const { 1922 return true; 1923 } 1924 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; 1925 #if defined(PROTOBUF_CUSTOM_VTABLE) 1926 private: 1927 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); 1928 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 1929 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, 1930 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); 1931 1932 public: 1933 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } 1934 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 1935 ::uint8_t* PROTOBUF_NONNULL target, 1936 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 1937 return _InternalSerialize(*this, target, stream); 1938 } 1939 #else // PROTOBUF_CUSTOM_VTABLE 1940 ::size_t ByteSizeLong() const final; 1941 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 1942 ::uint8_t* PROTOBUF_NONNULL target, 1943 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; 1944 #endif // PROTOBUF_CUSTOM_VTABLE 1945 int GetCachedSize() const { return _impl_._cached_size_.Get(); } 1946 1947 private: 1948 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 1949 static void SharedDtor(MessageLite& self); 1950 void InternalSwap(Tag* PROTOBUF_NONNULL other); 1951 private: 1952 template <typename T> 1953 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); 1954 static ::absl::string_view FullMessageName() { return "grpc.gateway.protoc_gen_openapiv2.options.Tag"; } 1955 1956 protected: 1957 explicit Tag(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 1958 Tag(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Tag& from); 1959 Tag( 1960 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Tag&& from) noexcept 1961 : Tag(arena) { 1962 *this = ::std::move(from); 1963 } 1964 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 1965 static void* PROTOBUF_NONNULL PlacementNew_( 1966 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 1967 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 1968 static constexpr auto InternalNewImpl_(); 1969 1970 public: 1971 static constexpr auto InternalGenerateClassData_(); 1972 1973 ::google::protobuf::Metadata GetMetadata() const; 1974 // nested types ---------------------------------------------------- 1975 1976 // accessors ------------------------------------------------------- 1977 enum : int { 1978 kDescriptionFieldNumber = 2, 1979 kExternalDocsFieldNumber = 3, 1980 }; 1981 // string description = 2; 1982 void clear_description() ; 1983 const std::string& description() const; 1984 template <typename Arg_ = const std::string&, typename... Args_> 1985 void set_description(Arg_&& arg, Args_... args); 1986 std::string* PROTOBUF_NONNULL mutable_description(); 1987 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_description(); 1988 void set_allocated_description(std::string* PROTOBUF_NULLABLE value); 1989 1990 private: 1991 const std::string& _internal_description() const; 1992 PROTOBUF_ALWAYS_INLINE void _internal_set_description(const std::string& value); 1993 std::string* PROTOBUF_NONNULL _internal_mutable_description(); 1994 1995 public: 1996 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 3; 1997 bool has_external_docs() const; 1998 void clear_external_docs() ; 1999 const ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation& external_docs() const; 2000 [[nodiscard]] ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE release_external_docs(); 2001 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NONNULL mutable_external_docs(); 2002 void set_allocated_external_docs(::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE value); 2003 void unsafe_arena_set_allocated_external_docs(::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE value); 2004 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE unsafe_arena_release_external_docs(); 2005 2006 private: 2007 const ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation& _internal_external_docs() const; 2008 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NONNULL _internal_mutable_external_docs(); 2009 2010 public: 2011 // @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Tag) 2012 private: 2013 class _Internal; 2014 friend class ::google::protobuf::internal::TcParser; 2015 static const ::google::protobuf::internal::TcParseTable<1, 2, 2016 1, 65, 2017 2> 2018 _table_; 2019 2020 friend class ::google::protobuf::MessageLite; 2021 friend class ::google::protobuf::Arena; 2022 template <typename T> 2023 friend class ::google::protobuf::Arena::InternalHelper; 2024 using InternalArenaConstructable_ = void; 2025 using DestructorSkippable_ = void; 2026 struct Impl_ { 2027 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; 2028 inline explicit Impl_( 2029 ::google::protobuf::internal::InternalVisibility visibility, 2030 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 2031 inline explicit Impl_( 2032 ::google::protobuf::internal::InternalVisibility visibility, 2033 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 2034 const Tag& from_msg); 2035 ::google::protobuf::internal::HasBits<1> _has_bits_; 2036 ::google::protobuf::internal::CachedSize _cached_size_; 2037 ::google::protobuf::internal::ArenaStringPtr description_; 2038 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE external_docs_; 2039 PROTOBUF_TSAN_DECLARE_MEMBER 2040 }; 2041 union { Impl_ _impl_; }; 2042 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 2043 }; 2044 2045 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Tag_class_data_; 2046 // ------------------------------------------------------------------- 2047 2048 class Swagger_ExtensionsEntry_DoNotUse final 2049 : public ::google::protobuf::internal::MapEntry<std::string, ::google::protobuf::Message, 2050 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 2051 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> { 2052 public: 2053 using SuperType = 2054 ::google::protobuf::internal::MapEntry<std::string, ::google::protobuf::Message, 2055 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 2056 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>; 2057 Swagger_ExtensionsEntry_DoNotUse(); 2058 template <typename = void> 2059 explicit PROTOBUF_CONSTEXPR Swagger_ExtensionsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized); 2060 explicit Swagger_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 2061 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() { 2062 return &_Swagger_ExtensionsEntry_DoNotUse_default_instance_; 2063 } 2064 2065 2066 static constexpr auto InternalGenerateClassData_(); 2067 2068 private: 2069 friend class ::google::protobuf::MessageLite; 2070 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 2071 2072 friend class ::google::protobuf::internal::TcParser; 2073 static const ::google::protobuf::internal::TcParseTable<1, 2, 2074 1, 77, 2075 2> 2076 _table_; 2077 2078 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 2079 static void* PROTOBUF_NONNULL PlacementNew_( 2080 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 2081 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 2082 static constexpr auto InternalNewImpl_(); 2083 }; 2084 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Swagger_ExtensionsEntry_DoNotUse_class_data_; 2085 // ------------------------------------------------------------------- 2086 2087 class SecurityScheme_ExtensionsEntry_DoNotUse final 2088 : public ::google::protobuf::internal::MapEntry<std::string, ::google::protobuf::Message, 2089 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 2090 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> { 2091 public: 2092 using SuperType = 2093 ::google::protobuf::internal::MapEntry<std::string, ::google::protobuf::Message, 2094 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 2095 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>; 2096 SecurityScheme_ExtensionsEntry_DoNotUse(); 2097 template <typename = void> 2098 explicit PROTOBUF_CONSTEXPR SecurityScheme_ExtensionsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized); 2099 explicit SecurityScheme_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 2100 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() { 2101 return &_SecurityScheme_ExtensionsEntry_DoNotUse_default_instance_; 2102 } 2103 2104 2105 static constexpr auto InternalGenerateClassData_(); 2106 2107 private: 2108 friend class ::google::protobuf::MessageLite; 2109 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 2110 2111 friend class ::google::protobuf::internal::TcParser; 2112 static const ::google::protobuf::internal::TcParseTable<1, 2, 2113 1, 84, 2114 2> 2115 _table_; 2116 2117 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 2118 static void* PROTOBUF_NONNULL PlacementNew_( 2119 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 2120 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 2121 static constexpr auto InternalNewImpl_(); 2122 }; 2123 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull SecurityScheme_ExtensionsEntry_DoNotUse_class_data_; 2124 // ------------------------------------------------------------------- 2125 2126 class SecurityRequirement_SecurityRequirementEntry_DoNotUse final 2127 : public ::google::protobuf::internal::MapEntry<std::string, ::google::protobuf::Message, 2128 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 2129 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> { 2130 public: 2131 using SuperType = 2132 ::google::protobuf::internal::MapEntry<std::string, ::google::protobuf::Message, 2133 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 2134 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>; 2135 SecurityRequirement_SecurityRequirementEntry_DoNotUse(); 2136 template <typename = void> 2137 explicit PROTOBUF_CONSTEXPR SecurityRequirement_SecurityRequirementEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized); 2138 explicit SecurityRequirement_SecurityRequirementEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 2139 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() { 2140 return &_SecurityRequirement_SecurityRequirementEntry_DoNotUse_default_instance_; 2141 } 2142 2143 2144 static constexpr auto InternalGenerateClassData_(); 2145 2146 private: 2147 friend class ::google::protobuf::MessageLite; 2148 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 2149 2150 friend class ::google::protobuf::internal::TcParser; 2151 static const ::google::protobuf::internal::TcParseTable<1, 2, 2152 1, 98, 2153 2> 2154 _table_; 2155 2156 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 2157 static void* PROTOBUF_NONNULL PlacementNew_( 2158 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 2159 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 2160 static constexpr auto InternalNewImpl_(); 2161 }; 2162 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull SecurityRequirement_SecurityRequirementEntry_DoNotUse_class_data_; 2163 // ------------------------------------------------------------------- 2164 2165 class AGONES_EXPORT Scopes final : public ::google::protobuf::Message 2166 /* @@protoc_insertion_point(class_definition:grpc.gateway.protoc_gen_openapiv2.options.Scopes) */ { 2167 public: 2168 inline Scopes() : Scopes(nullptr) {} 2169 ~Scopes() PROTOBUF_FINAL; 2170 2171 #if defined(PROTOBUF_CUSTOM_VTABLE) 2172 void operator delete(Scopes* PROTOBUF_NONNULL msg, std::destroying_delete_t) { 2173 SharedDtor(*msg); 2174 ::google::protobuf::internal::SizedDelete(msg, sizeof(Scopes)); 2175 } 2176 #endif 2177 2178 template <typename = void> 2179 explicit PROTOBUF_CONSTEXPR Scopes(::google::protobuf::internal::ConstantInitialized); 2180 2181 inline Scopes(const Scopes& from) : Scopes(nullptr, from) {} 2182 inline Scopes(Scopes&& from) noexcept 2183 : Scopes(nullptr, std::move(from)) {} 2184 inline Scopes& operator=(const Scopes& from) { 2185 CopyFrom(from); 2186 return *this; 2187 } 2188 inline Scopes& operator=(Scopes&& from) noexcept { 2189 if (this == &from) return *this; 2190 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { 2191 InternalSwap(&from); 2192 } else { 2193 CopyFrom(from); 2194 } 2195 return *this; 2196 } 2197 2198 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const 2199 ABSL_ATTRIBUTE_LIFETIME_BOUND { 2200 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); 2201 } 2202 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() 2203 ABSL_ATTRIBUTE_LIFETIME_BOUND { 2204 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); 2205 } 2206 2207 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { 2208 return GetDescriptor(); 2209 } 2210 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { 2211 return default_instance().GetMetadata().descriptor; 2212 } 2213 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { 2214 return default_instance().GetMetadata().reflection; 2215 } 2216 static const Scopes& default_instance() { 2217 return *reinterpret_cast<const Scopes*>( 2218 &_Scopes_default_instance_); 2219 } 2220 static constexpr int kIndexInFileMessages = 29; 2221 friend void swap(Scopes& a, Scopes& b) { a.Swap(&b); } 2222 inline void Swap(Scopes* PROTOBUF_NONNULL other) { 2223 if (other == this) return; 2224 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { 2225 InternalSwap(other); 2226 } else { 2227 ::google::protobuf::internal::GenericSwap(this, other); 2228 } 2229 } 2230 void UnsafeArenaSwap(Scopes* PROTOBUF_NONNULL other) { 2231 if (other == this) return; 2232 ABSL_DCHECK(GetArena() == other->GetArena()); 2233 InternalSwap(other); 2234 } 2235 2236 // implements Message ---------------------------------------------- 2237 2238 Scopes* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { 2239 return ::google::protobuf::Message::DefaultConstruct<Scopes>(arena); 2240 } 2241 using ::google::protobuf::Message::CopyFrom; 2242 void CopyFrom(const Scopes& from); 2243 using ::google::protobuf::Message::MergeFrom; 2244 void MergeFrom(const Scopes& from) { Scopes::MergeImpl(*this, from); } 2245 2246 private: 2247 static void MergeImpl(::google::protobuf::MessageLite& to_msg, 2248 const ::google::protobuf::MessageLite& from_msg); 2249 2250 public: 2251 bool IsInitialized() const { 2252 return true; 2253 } 2254 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; 2255 #if defined(PROTOBUF_CUSTOM_VTABLE) 2256 private: 2257 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); 2258 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 2259 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, 2260 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); 2261 2262 public: 2263 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } 2264 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 2265 ::uint8_t* PROTOBUF_NONNULL target, 2266 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 2267 return _InternalSerialize(*this, target, stream); 2268 } 2269 #else // PROTOBUF_CUSTOM_VTABLE 2270 ::size_t ByteSizeLong() const final; 2271 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 2272 ::uint8_t* PROTOBUF_NONNULL target, 2273 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; 2274 #endif // PROTOBUF_CUSTOM_VTABLE 2275 int GetCachedSize() const { return _impl_._cached_size_.Get(); } 2276 2277 private: 2278 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 2279 static void SharedDtor(MessageLite& self); 2280 void InternalSwap(Scopes* PROTOBUF_NONNULL other); 2281 private: 2282 template <typename T> 2283 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); 2284 static ::absl::string_view FullMessageName() { return "grpc.gateway.protoc_gen_openapiv2.options.Scopes"; } 2285 2286 protected: 2287 explicit Scopes(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 2288 Scopes(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Scopes& from); 2289 Scopes( 2290 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Scopes&& from) noexcept 2291 : Scopes(arena) { 2292 *this = ::std::move(from); 2293 } 2294 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 2295 static void* PROTOBUF_NONNULL PlacementNew_( 2296 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 2297 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 2298 static constexpr auto InternalNewImpl_(); 2299 2300 public: 2301 static constexpr auto InternalGenerateClassData_(); 2302 2303 ::google::protobuf::Metadata GetMetadata() const; 2304 // nested types ---------------------------------------------------- 2305 2306 // accessors ------------------------------------------------------- 2307 enum : int { 2308 kScopeFieldNumber = 1, 2309 }; 2310 // map<string, string> scope = 1; 2311 int scope_size() const; 2312 private: 2313 int _internal_scope_size() const; 2314 2315 public: 2316 void clear_scope() ; 2317 const ::google::protobuf::Map<std::string, std::string>& scope() const; 2318 ::google::protobuf::Map<std::string, std::string>* PROTOBUF_NONNULL mutable_scope(); 2319 2320 private: 2321 const ::google::protobuf::Map<std::string, std::string>& _internal_scope() const; 2322 ::google::protobuf::Map<std::string, std::string>* PROTOBUF_NONNULL _internal_mutable_scope(); 2323 2324 public: 2325 // @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Scopes) 2326 private: 2327 class _Internal; 2328 friend class ::google::protobuf::internal::TcParser; 2329 static const ::google::protobuf::internal::TcParseTable<0, 1, 2330 1, 62, 2331 2> 2332 _table_; 2333 2334 friend class ::google::protobuf::MessageLite; 2335 friend class ::google::protobuf::Arena; 2336 template <typename T> 2337 friend class ::google::protobuf::Arena::InternalHelper; 2338 using InternalArenaConstructable_ = void; 2339 using DestructorSkippable_ = void; 2340 struct Impl_ { 2341 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; 2342 inline explicit Impl_( 2343 ::google::protobuf::internal::InternalVisibility visibility, 2344 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 2345 inline explicit Impl_( 2346 ::google::protobuf::internal::InternalVisibility visibility, 2347 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 2348 const Scopes& from_msg); 2349 ::google::protobuf::internal::MapField<Scopes_ScopeEntry_DoNotUse, std::string, std::string, 2350 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 2351 ::google::protobuf::internal::WireFormatLite::TYPE_STRING> 2352 scope_; 2353 ::google::protobuf::internal::CachedSize _cached_size_; 2354 PROTOBUF_TSAN_DECLARE_MEMBER 2355 }; 2356 union { Impl_ _impl_; }; 2357 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 2358 }; 2359 2360 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Scopes_class_data_; 2361 // ------------------------------------------------------------------- 2362 2363 class Response_HeadersEntry_DoNotUse final 2364 : public ::google::protobuf::internal::MapEntry<std::string, ::google::protobuf::Message, 2365 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 2366 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> { 2367 public: 2368 using SuperType = 2369 ::google::protobuf::internal::MapEntry<std::string, ::google::protobuf::Message, 2370 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 2371 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>; 2372 Response_HeadersEntry_DoNotUse(); 2373 template <typename = void> 2374 explicit PROTOBUF_CONSTEXPR Response_HeadersEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized); 2375 explicit Response_HeadersEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 2376 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() { 2377 return &_Response_HeadersEntry_DoNotUse_default_instance_; 2378 } 2379 2380 2381 static constexpr auto InternalGenerateClassData_(); 2382 2383 private: 2384 friend class ::google::protobuf::MessageLite; 2385 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 2386 2387 friend class ::google::protobuf::internal::TcParser; 2388 static const ::google::protobuf::internal::TcParseTable<1, 2, 2389 1, 75, 2390 2> 2391 _table_; 2392 2393 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 2394 static void* PROTOBUF_NONNULL PlacementNew_( 2395 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 2396 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 2397 static constexpr auto InternalNewImpl_(); 2398 }; 2399 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Response_HeadersEntry_DoNotUse_class_data_; 2400 // ------------------------------------------------------------------- 2401 2402 class Response_ExtensionsEntry_DoNotUse final 2403 : public ::google::protobuf::internal::MapEntry<std::string, ::google::protobuf::Message, 2404 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 2405 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> { 2406 public: 2407 using SuperType = 2408 ::google::protobuf::internal::MapEntry<std::string, ::google::protobuf::Message, 2409 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 2410 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>; 2411 Response_ExtensionsEntry_DoNotUse(); 2412 template <typename = void> 2413 explicit PROTOBUF_CONSTEXPR Response_ExtensionsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized); 2414 explicit Response_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 2415 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() { 2416 return &_Response_ExtensionsEntry_DoNotUse_default_instance_; 2417 } 2418 2419 2420 static constexpr auto InternalGenerateClassData_(); 2421 2422 private: 2423 friend class ::google::protobuf::MessageLite; 2424 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 2425 2426 friend class ::google::protobuf::internal::TcParser; 2427 static const ::google::protobuf::internal::TcParseTable<1, 2, 2428 1, 78, 2429 2> 2430 _table_; 2431 2432 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 2433 static void* PROTOBUF_NONNULL PlacementNew_( 2434 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 2435 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 2436 static constexpr auto InternalNewImpl_(); 2437 }; 2438 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Response_ExtensionsEntry_DoNotUse_class_data_; 2439 // ------------------------------------------------------------------- 2440 2441 class Operation_ExtensionsEntry_DoNotUse final 2442 : public ::google::protobuf::internal::MapEntry<std::string, ::google::protobuf::Message, 2443 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 2444 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> { 2445 public: 2446 using SuperType = 2447 ::google::protobuf::internal::MapEntry<std::string, ::google::protobuf::Message, 2448 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 2449 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>; 2450 Operation_ExtensionsEntry_DoNotUse(); 2451 template <typename = void> 2452 explicit PROTOBUF_CONSTEXPR Operation_ExtensionsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized); 2453 explicit Operation_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 2454 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() { 2455 return &_Operation_ExtensionsEntry_DoNotUse_default_instance_; 2456 } 2457 2458 2459 static constexpr auto InternalGenerateClassData_(); 2460 2461 private: 2462 friend class ::google::protobuf::MessageLite; 2463 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 2464 2465 friend class ::google::protobuf::internal::TcParser; 2466 static const ::google::protobuf::internal::TcParseTable<1, 2, 2467 1, 79, 2468 2> 2469 _table_; 2470 2471 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 2472 static void* PROTOBUF_NONNULL PlacementNew_( 2473 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 2474 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 2475 static constexpr auto InternalNewImpl_(); 2476 }; 2477 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Operation_ExtensionsEntry_DoNotUse_class_data_; 2478 // ------------------------------------------------------------------- 2479 2480 class JSONSchema_ExtensionsEntry_DoNotUse final 2481 : public ::google::protobuf::internal::MapEntry<std::string, ::google::protobuf::Message, 2482 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 2483 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> { 2484 public: 2485 using SuperType = 2486 ::google::protobuf::internal::MapEntry<std::string, ::google::protobuf::Message, 2487 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 2488 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>; 2489 JSONSchema_ExtensionsEntry_DoNotUse(); 2490 template <typename = void> 2491 explicit PROTOBUF_CONSTEXPR JSONSchema_ExtensionsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized); 2492 explicit JSONSchema_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 2493 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() { 2494 return &_JSONSchema_ExtensionsEntry_DoNotUse_default_instance_; 2495 } 2496 2497 2498 static constexpr auto InternalGenerateClassData_(); 2499 2500 private: 2501 friend class ::google::protobuf::MessageLite; 2502 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 2503 2504 friend class ::google::protobuf::internal::TcParser; 2505 static const ::google::protobuf::internal::TcParseTable<1, 2, 2506 1, 80, 2507 2> 2508 _table_; 2509 2510 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 2511 static void* PROTOBUF_NONNULL PlacementNew_( 2512 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 2513 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 2514 static constexpr auto InternalNewImpl_(); 2515 }; 2516 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull JSONSchema_ExtensionsEntry_DoNotUse_class_data_; 2517 // ------------------------------------------------------------------- 2518 2519 class Info_ExtensionsEntry_DoNotUse final 2520 : public ::google::protobuf::internal::MapEntry<std::string, ::google::protobuf::Message, 2521 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 2522 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> { 2523 public: 2524 using SuperType = 2525 ::google::protobuf::internal::MapEntry<std::string, ::google::protobuf::Message, 2526 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 2527 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>; 2528 Info_ExtensionsEntry_DoNotUse(); 2529 template <typename = void> 2530 explicit PROTOBUF_CONSTEXPR Info_ExtensionsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized); 2531 explicit Info_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 2532 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() { 2533 return &_Info_ExtensionsEntry_DoNotUse_default_instance_; 2534 } 2535 2536 2537 static constexpr auto InternalGenerateClassData_(); 2538 2539 private: 2540 friend class ::google::protobuf::MessageLite; 2541 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 2542 2543 friend class ::google::protobuf::internal::TcParser; 2544 static const ::google::protobuf::internal::TcParseTable<1, 2, 2545 1, 74, 2546 2> 2547 _table_; 2548 2549 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 2550 static void* PROTOBUF_NONNULL PlacementNew_( 2551 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 2552 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 2553 static constexpr auto InternalNewImpl_(); 2554 }; 2555 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Info_ExtensionsEntry_DoNotUse_class_data_; 2556 // ------------------------------------------------------------------- 2557 2558 class AGONES_EXPORT SecurityScheme final : public ::google::protobuf::Message 2559 /* @@protoc_insertion_point(class_definition:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme) */ { 2560 public: 2561 inline SecurityScheme() : SecurityScheme(nullptr) {} 2562 ~SecurityScheme() PROTOBUF_FINAL; 2563 2564 #if defined(PROTOBUF_CUSTOM_VTABLE) 2565 void operator delete(SecurityScheme* PROTOBUF_NONNULL msg, std::destroying_delete_t) { 2566 SharedDtor(*msg); 2567 ::google::protobuf::internal::SizedDelete(msg, sizeof(SecurityScheme)); 2568 } 2569 #endif 2570 2571 template <typename = void> 2572 explicit PROTOBUF_CONSTEXPR SecurityScheme(::google::protobuf::internal::ConstantInitialized); 2573 2574 inline SecurityScheme(const SecurityScheme& from) : SecurityScheme(nullptr, from) {} 2575 inline SecurityScheme(SecurityScheme&& from) noexcept 2576 : SecurityScheme(nullptr, std::move(from)) {} 2577 inline SecurityScheme& operator=(const SecurityScheme& from) { 2578 CopyFrom(from); 2579 return *this; 2580 } 2581 inline SecurityScheme& operator=(SecurityScheme&& from) noexcept { 2582 if (this == &from) return *this; 2583 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { 2584 InternalSwap(&from); 2585 } else { 2586 CopyFrom(from); 2587 } 2588 return *this; 2589 } 2590 2591 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const 2592 ABSL_ATTRIBUTE_LIFETIME_BOUND { 2593 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); 2594 } 2595 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() 2596 ABSL_ATTRIBUTE_LIFETIME_BOUND { 2597 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); 2598 } 2599 2600 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { 2601 return GetDescriptor(); 2602 } 2603 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { 2604 return default_instance().GetMetadata().descriptor; 2605 } 2606 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { 2607 return default_instance().GetMetadata().reflection; 2608 } 2609 static const SecurityScheme& default_instance() { 2610 return *reinterpret_cast<const SecurityScheme*>( 2611 &_SecurityScheme_default_instance_); 2612 } 2613 static constexpr int kIndexInFileMessages = 24; 2614 friend void swap(SecurityScheme& a, SecurityScheme& b) { a.Swap(&b); } 2615 inline void Swap(SecurityScheme* PROTOBUF_NONNULL other) { 2616 if (other == this) return; 2617 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { 2618 InternalSwap(other); 2619 } else { 2620 ::google::protobuf::internal::GenericSwap(this, other); 2621 } 2622 } 2623 void UnsafeArenaSwap(SecurityScheme* PROTOBUF_NONNULL other) { 2624 if (other == this) return; 2625 ABSL_DCHECK(GetArena() == other->GetArena()); 2626 InternalSwap(other); 2627 } 2628 2629 // implements Message ---------------------------------------------- 2630 2631 SecurityScheme* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { 2632 return ::google::protobuf::Message::DefaultConstruct<SecurityScheme>(arena); 2633 } 2634 using ::google::protobuf::Message::CopyFrom; 2635 void CopyFrom(const SecurityScheme& from); 2636 using ::google::protobuf::Message::MergeFrom; 2637 void MergeFrom(const SecurityScheme& from) { SecurityScheme::MergeImpl(*this, from); } 2638 2639 private: 2640 static void MergeImpl(::google::protobuf::MessageLite& to_msg, 2641 const ::google::protobuf::MessageLite& from_msg); 2642 2643 public: 2644 bool IsInitialized() const { 2645 return true; 2646 } 2647 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; 2648 #if defined(PROTOBUF_CUSTOM_VTABLE) 2649 private: 2650 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); 2651 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 2652 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, 2653 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); 2654 2655 public: 2656 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } 2657 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 2658 ::uint8_t* PROTOBUF_NONNULL target, 2659 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 2660 return _InternalSerialize(*this, target, stream); 2661 } 2662 #else // PROTOBUF_CUSTOM_VTABLE 2663 ::size_t ByteSizeLong() const final; 2664 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 2665 ::uint8_t* PROTOBUF_NONNULL target, 2666 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; 2667 #endif // PROTOBUF_CUSTOM_VTABLE 2668 int GetCachedSize() const { return _impl_._cached_size_.Get(); } 2669 2670 private: 2671 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 2672 static void SharedDtor(MessageLite& self); 2673 void InternalSwap(SecurityScheme* PROTOBUF_NONNULL other); 2674 private: 2675 template <typename T> 2676 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); 2677 static ::absl::string_view FullMessageName() { return "grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme"; } 2678 2679 protected: 2680 explicit SecurityScheme(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 2681 SecurityScheme(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SecurityScheme& from); 2682 SecurityScheme( 2683 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SecurityScheme&& from) noexcept 2684 : SecurityScheme(arena) { 2685 *this = ::std::move(from); 2686 } 2687 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 2688 static void* PROTOBUF_NONNULL PlacementNew_( 2689 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 2690 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 2691 static constexpr auto InternalNewImpl_(); 2692 2693 public: 2694 static constexpr auto InternalGenerateClassData_(); 2695 2696 ::google::protobuf::Metadata GetMetadata() const; 2697 // nested types ---------------------------------------------------- 2698 using Type = SecurityScheme_Type; 2699 static constexpr Type TYPE_INVALID = SecurityScheme_Type_TYPE_INVALID; 2700 static constexpr Type TYPE_BASIC = SecurityScheme_Type_TYPE_BASIC; 2701 static constexpr Type TYPE_API_KEY = SecurityScheme_Type_TYPE_API_KEY; 2702 static constexpr Type TYPE_OAUTH2 = SecurityScheme_Type_TYPE_OAUTH2; 2703 static inline bool Type_IsValid(int value) { 2704 return SecurityScheme_Type_IsValid(value); 2705 } 2706 static constexpr Type Type_MIN = SecurityScheme_Type_Type_MIN; 2707 static constexpr Type Type_MAX = SecurityScheme_Type_Type_MAX; 2708 static constexpr int Type_ARRAYSIZE = SecurityScheme_Type_Type_ARRAYSIZE; 2709 static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Type_descriptor() { 2710 return SecurityScheme_Type_descriptor(); 2711 } 2712 template <typename T> 2713 static inline const std::string& Type_Name(T value) { 2714 return SecurityScheme_Type_Name(value); 2715 } 2716 static inline bool Type_Parse( 2717 absl::string_view name, Type* PROTOBUF_NONNULL value) { 2718 return SecurityScheme_Type_Parse(name, value); 2719 } 2720 using In = SecurityScheme_In; 2721 static constexpr In IN_INVALID = SecurityScheme_In_IN_INVALID; 2722 static constexpr In IN_QUERY = SecurityScheme_In_IN_QUERY; 2723 static constexpr In IN_HEADER = SecurityScheme_In_IN_HEADER; 2724 static inline bool In_IsValid(int value) { 2725 return SecurityScheme_In_IsValid(value); 2726 } 2727 static constexpr In In_MIN = SecurityScheme_In_In_MIN; 2728 static constexpr In In_MAX = SecurityScheme_In_In_MAX; 2729 static constexpr int In_ARRAYSIZE = SecurityScheme_In_In_ARRAYSIZE; 2730 static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL In_descriptor() { 2731 return SecurityScheme_In_descriptor(); 2732 } 2733 template <typename T> 2734 static inline const std::string& In_Name(T value) { 2735 return SecurityScheme_In_Name(value); 2736 } 2737 static inline bool In_Parse( 2738 absl::string_view name, In* PROTOBUF_NONNULL value) { 2739 return SecurityScheme_In_Parse(name, value); 2740 } 2741 using Flow = SecurityScheme_Flow; 2742 static constexpr Flow FLOW_INVALID = SecurityScheme_Flow_FLOW_INVALID; 2743 static constexpr Flow FLOW_IMPLICIT = SecurityScheme_Flow_FLOW_IMPLICIT; 2744 static constexpr Flow FLOW_PASSWORD = SecurityScheme_Flow_FLOW_PASSWORD; 2745 static constexpr Flow FLOW_APPLICATION = SecurityScheme_Flow_FLOW_APPLICATION; 2746 static constexpr Flow FLOW_ACCESS_CODE = SecurityScheme_Flow_FLOW_ACCESS_CODE; 2747 static inline bool Flow_IsValid(int value) { 2748 return SecurityScheme_Flow_IsValid(value); 2749 } 2750 static constexpr Flow Flow_MIN = SecurityScheme_Flow_Flow_MIN; 2751 static constexpr Flow Flow_MAX = SecurityScheme_Flow_Flow_MAX; 2752 static constexpr int Flow_ARRAYSIZE = SecurityScheme_Flow_Flow_ARRAYSIZE; 2753 static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Flow_descriptor() { 2754 return SecurityScheme_Flow_descriptor(); 2755 } 2756 template <typename T> 2757 static inline const std::string& Flow_Name(T value) { 2758 return SecurityScheme_Flow_Name(value); 2759 } 2760 static inline bool Flow_Parse( 2761 absl::string_view name, Flow* PROTOBUF_NONNULL value) { 2762 return SecurityScheme_Flow_Parse(name, value); 2763 } 2764 2765 // accessors ------------------------------------------------------- 2766 enum : int { 2767 kExtensionsFieldNumber = 9, 2768 kDescriptionFieldNumber = 2, 2769 kNameFieldNumber = 3, 2770 kAuthorizationUrlFieldNumber = 6, 2771 kTokenUrlFieldNumber = 7, 2772 kScopesFieldNumber = 8, 2773 kTypeFieldNumber = 1, 2774 kInFieldNumber = 4, 2775 kFlowFieldNumber = 5, 2776 }; 2777 // map<string, .google.protobuf.Value> extensions = 9; 2778 int extensions_size() const; 2779 private: 2780 int _internal_extensions_size() const; 2781 2782 public: 2783 void clear_extensions() ; 2784 const ::google::protobuf::Map<std::string, ::google::protobuf::Value>& extensions() const; 2785 ::google::protobuf::Map<std::string, ::google::protobuf::Value>* PROTOBUF_NONNULL mutable_extensions(); 2786 2787 private: 2788 const ::google::protobuf::Map<std::string, ::google::protobuf::Value>& _internal_extensions() const; 2789 ::google::protobuf::Map<std::string, ::google::protobuf::Value>* PROTOBUF_NONNULL _internal_mutable_extensions(); 2790 2791 public: 2792 // string description = 2; 2793 void clear_description() ; 2794 const std::string& description() const; 2795 template <typename Arg_ = const std::string&, typename... Args_> 2796 void set_description(Arg_&& arg, Args_... args); 2797 std::string* PROTOBUF_NONNULL mutable_description(); 2798 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_description(); 2799 void set_allocated_description(std::string* PROTOBUF_NULLABLE value); 2800 2801 private: 2802 const std::string& _internal_description() const; 2803 PROTOBUF_ALWAYS_INLINE void _internal_set_description(const std::string& value); 2804 std::string* PROTOBUF_NONNULL _internal_mutable_description(); 2805 2806 public: 2807 // string name = 3; 2808 void clear_name() ; 2809 const std::string& name() const; 2810 template <typename Arg_ = const std::string&, typename... Args_> 2811 void set_name(Arg_&& arg, Args_... args); 2812 std::string* PROTOBUF_NONNULL mutable_name(); 2813 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_name(); 2814 void set_allocated_name(std::string* PROTOBUF_NULLABLE value); 2815 2816 private: 2817 const std::string& _internal_name() const; 2818 PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); 2819 std::string* PROTOBUF_NONNULL _internal_mutable_name(); 2820 2821 public: 2822 // string authorization_url = 6; 2823 void clear_authorization_url() ; 2824 const std::string& authorization_url() const; 2825 template <typename Arg_ = const std::string&, typename... Args_> 2826 void set_authorization_url(Arg_&& arg, Args_... args); 2827 std::string* PROTOBUF_NONNULL mutable_authorization_url(); 2828 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_authorization_url(); 2829 void set_allocated_authorization_url(std::string* PROTOBUF_NULLABLE value); 2830 2831 private: 2832 const std::string& _internal_authorization_url() const; 2833 PROTOBUF_ALWAYS_INLINE void _internal_set_authorization_url(const std::string& value); 2834 std::string* PROTOBUF_NONNULL _internal_mutable_authorization_url(); 2835 2836 public: 2837 // string token_url = 7; 2838 void clear_token_url() ; 2839 const std::string& token_url() const; 2840 template <typename Arg_ = const std::string&, typename... Args_> 2841 void set_token_url(Arg_&& arg, Args_... args); 2842 std::string* PROTOBUF_NONNULL mutable_token_url(); 2843 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_token_url(); 2844 void set_allocated_token_url(std::string* PROTOBUF_NULLABLE value); 2845 2846 private: 2847 const std::string& _internal_token_url() const; 2848 PROTOBUF_ALWAYS_INLINE void _internal_set_token_url(const std::string& value); 2849 std::string* PROTOBUF_NONNULL _internal_mutable_token_url(); 2850 2851 public: 2852 // .grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8; 2853 bool has_scopes() const; 2854 void clear_scopes() ; 2855 const ::grpc::gateway::protoc_gen_openapiv2::options::Scopes& scopes() const; 2856 [[nodiscard]] ::grpc::gateway::protoc_gen_openapiv2::options::Scopes* PROTOBUF_NULLABLE release_scopes(); 2857 ::grpc::gateway::protoc_gen_openapiv2::options::Scopes* PROTOBUF_NONNULL mutable_scopes(); 2858 void set_allocated_scopes(::grpc::gateway::protoc_gen_openapiv2::options::Scopes* PROTOBUF_NULLABLE value); 2859 void unsafe_arena_set_allocated_scopes(::grpc::gateway::protoc_gen_openapiv2::options::Scopes* PROTOBUF_NULLABLE value); 2860 ::grpc::gateway::protoc_gen_openapiv2::options::Scopes* PROTOBUF_NULLABLE unsafe_arena_release_scopes(); 2861 2862 private: 2863 const ::grpc::gateway::protoc_gen_openapiv2::options::Scopes& _internal_scopes() const; 2864 ::grpc::gateway::protoc_gen_openapiv2::options::Scopes* PROTOBUF_NONNULL _internal_mutable_scopes(); 2865 2866 public: 2867 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type type = 1; 2868 void clear_type() ; 2869 ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Type type() const; 2870 void set_type(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Type value); 2871 2872 private: 2873 ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Type _internal_type() const; 2874 void _internal_set_type(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Type value); 2875 2876 public: 2877 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In in = 4; 2878 void clear_in() ; 2879 ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_In in() const; 2880 void set_in(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_In value); 2881 2882 private: 2883 ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_In _internal_in() const; 2884 void _internal_set_in(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_In value); 2885 2886 public: 2887 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow flow = 5; 2888 void clear_flow() ; 2889 ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Flow flow() const; 2890 void set_flow(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Flow value); 2891 2892 private: 2893 ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Flow _internal_flow() const; 2894 void _internal_set_flow(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Flow value); 2895 2896 public: 2897 // @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme) 2898 private: 2899 class _Internal; 2900 friend class ::google::protobuf::internal::TcParser; 2901 static const ::google::protobuf::internal::TcParseTable<3, 9, 2902 3, 124, 2903 2> 2904 _table_; 2905 2906 friend class ::google::protobuf::MessageLite; 2907 friend class ::google::protobuf::Arena; 2908 template <typename T> 2909 friend class ::google::protobuf::Arena::InternalHelper; 2910 using InternalArenaConstructable_ = void; 2911 using DestructorSkippable_ = void; 2912 struct Impl_ { 2913 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; 2914 inline explicit Impl_( 2915 ::google::protobuf::internal::InternalVisibility visibility, 2916 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 2917 inline explicit Impl_( 2918 ::google::protobuf::internal::InternalVisibility visibility, 2919 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 2920 const SecurityScheme& from_msg); 2921 ::google::protobuf::internal::HasBits<1> _has_bits_; 2922 ::google::protobuf::internal::CachedSize _cached_size_; 2923 ::google::protobuf::internal::MapField<SecurityScheme_ExtensionsEntry_DoNotUse, std::string, ::google::protobuf::Value, 2924 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 2925 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> 2926 extensions_; 2927 ::google::protobuf::internal::ArenaStringPtr description_; 2928 ::google::protobuf::internal::ArenaStringPtr name_; 2929 ::google::protobuf::internal::ArenaStringPtr authorization_url_; 2930 ::google::protobuf::internal::ArenaStringPtr token_url_; 2931 ::grpc::gateway::protoc_gen_openapiv2::options::Scopes* PROTOBUF_NULLABLE scopes_; 2932 int type_; 2933 int in_; 2934 int flow_; 2935 PROTOBUF_TSAN_DECLARE_MEMBER 2936 }; 2937 union { Impl_ _impl_; }; 2938 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 2939 }; 2940 2941 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull SecurityScheme_class_data_; 2942 // ------------------------------------------------------------------- 2943 2944 class AGONES_EXPORT SecurityRequirement final : public ::google::protobuf::Message 2945 /* @@protoc_insertion_point(class_definition:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement) */ { 2946 public: 2947 inline SecurityRequirement() : SecurityRequirement(nullptr) {} 2948 ~SecurityRequirement() PROTOBUF_FINAL; 2949 2950 #if defined(PROTOBUF_CUSTOM_VTABLE) 2951 void operator delete(SecurityRequirement* PROTOBUF_NONNULL msg, std::destroying_delete_t) { 2952 SharedDtor(*msg); 2953 ::google::protobuf::internal::SizedDelete(msg, sizeof(SecurityRequirement)); 2954 } 2955 #endif 2956 2957 template <typename = void> 2958 explicit PROTOBUF_CONSTEXPR SecurityRequirement(::google::protobuf::internal::ConstantInitialized); 2959 2960 inline SecurityRequirement(const SecurityRequirement& from) : SecurityRequirement(nullptr, from) {} 2961 inline SecurityRequirement(SecurityRequirement&& from) noexcept 2962 : SecurityRequirement(nullptr, std::move(from)) {} 2963 inline SecurityRequirement& operator=(const SecurityRequirement& from) { 2964 CopyFrom(from); 2965 return *this; 2966 } 2967 inline SecurityRequirement& operator=(SecurityRequirement&& from) noexcept { 2968 if (this == &from) return *this; 2969 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { 2970 InternalSwap(&from); 2971 } else { 2972 CopyFrom(from); 2973 } 2974 return *this; 2975 } 2976 2977 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const 2978 ABSL_ATTRIBUTE_LIFETIME_BOUND { 2979 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); 2980 } 2981 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() 2982 ABSL_ATTRIBUTE_LIFETIME_BOUND { 2983 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); 2984 } 2985 2986 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { 2987 return GetDescriptor(); 2988 } 2989 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { 2990 return default_instance().GetMetadata().descriptor; 2991 } 2992 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { 2993 return default_instance().GetMetadata().reflection; 2994 } 2995 static const SecurityRequirement& default_instance() { 2996 return *reinterpret_cast<const SecurityRequirement*>( 2997 &_SecurityRequirement_default_instance_); 2998 } 2999 static constexpr int kIndexInFileMessages = 27; 3000 friend void swap(SecurityRequirement& a, SecurityRequirement& b) { a.Swap(&b); } 3001 inline void Swap(SecurityRequirement* PROTOBUF_NONNULL other) { 3002 if (other == this) return; 3003 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { 3004 InternalSwap(other); 3005 } else { 3006 ::google::protobuf::internal::GenericSwap(this, other); 3007 } 3008 } 3009 void UnsafeArenaSwap(SecurityRequirement* PROTOBUF_NONNULL other) { 3010 if (other == this) return; 3011 ABSL_DCHECK(GetArena() == other->GetArena()); 3012 InternalSwap(other); 3013 } 3014 3015 // implements Message ---------------------------------------------- 3016 3017 SecurityRequirement* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { 3018 return ::google::protobuf::Message::DefaultConstruct<SecurityRequirement>(arena); 3019 } 3020 using ::google::protobuf::Message::CopyFrom; 3021 void CopyFrom(const SecurityRequirement& from); 3022 using ::google::protobuf::Message::MergeFrom; 3023 void MergeFrom(const SecurityRequirement& from) { SecurityRequirement::MergeImpl(*this, from); } 3024 3025 private: 3026 static void MergeImpl(::google::protobuf::MessageLite& to_msg, 3027 const ::google::protobuf::MessageLite& from_msg); 3028 3029 public: 3030 bool IsInitialized() const { 3031 return true; 3032 } 3033 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; 3034 #if defined(PROTOBUF_CUSTOM_VTABLE) 3035 private: 3036 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); 3037 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 3038 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, 3039 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); 3040 3041 public: 3042 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } 3043 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 3044 ::uint8_t* PROTOBUF_NONNULL target, 3045 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 3046 return _InternalSerialize(*this, target, stream); 3047 } 3048 #else // PROTOBUF_CUSTOM_VTABLE 3049 ::size_t ByteSizeLong() const final; 3050 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 3051 ::uint8_t* PROTOBUF_NONNULL target, 3052 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; 3053 #endif // PROTOBUF_CUSTOM_VTABLE 3054 int GetCachedSize() const { return _impl_._cached_size_.Get(); } 3055 3056 private: 3057 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 3058 static void SharedDtor(MessageLite& self); 3059 void InternalSwap(SecurityRequirement* PROTOBUF_NONNULL other); 3060 private: 3061 template <typename T> 3062 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); 3063 static ::absl::string_view FullMessageName() { return "grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement"; } 3064 3065 protected: 3066 explicit SecurityRequirement(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 3067 SecurityRequirement(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SecurityRequirement& from); 3068 SecurityRequirement( 3069 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SecurityRequirement&& from) noexcept 3070 : SecurityRequirement(arena) { 3071 *this = ::std::move(from); 3072 } 3073 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 3074 static void* PROTOBUF_NONNULL PlacementNew_( 3075 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 3076 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 3077 static constexpr auto InternalNewImpl_(); 3078 3079 public: 3080 static constexpr auto InternalGenerateClassData_(); 3081 3082 ::google::protobuf::Metadata GetMetadata() const; 3083 // nested types ---------------------------------------------------- 3084 using SecurityRequirementValue = SecurityRequirement_SecurityRequirementValue; 3085 3086 // accessors ------------------------------------------------------- 3087 enum : int { 3088 kSecurityRequirementFieldNumber = 1, 3089 }; 3090 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue> security_requirement = 1; 3091 int security_requirement_size() const; 3092 private: 3093 int _internal_security_requirement_size() const; 3094 3095 public: 3096 void clear_security_requirement() ; 3097 const ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue>& security_requirement() const; 3098 ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue>* PROTOBUF_NONNULL mutable_security_requirement(); 3099 3100 private: 3101 const ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue>& _internal_security_requirement() const; 3102 ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue>* PROTOBUF_NONNULL _internal_mutable_security_requirement(); 3103 3104 public: 3105 // @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement) 3106 private: 3107 class _Internal; 3108 friend class ::google::protobuf::internal::TcParser; 3109 static const ::google::protobuf::internal::TcParseTable<0, 1, 3110 2, 90, 3111 2> 3112 _table_; 3113 3114 friend class ::google::protobuf::MessageLite; 3115 friend class ::google::protobuf::Arena; 3116 template <typename T> 3117 friend class ::google::protobuf::Arena::InternalHelper; 3118 using InternalArenaConstructable_ = void; 3119 using DestructorSkippable_ = void; 3120 struct Impl_ { 3121 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; 3122 inline explicit Impl_( 3123 ::google::protobuf::internal::InternalVisibility visibility, 3124 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 3125 inline explicit Impl_( 3126 ::google::protobuf::internal::InternalVisibility visibility, 3127 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 3128 const SecurityRequirement& from_msg); 3129 ::google::protobuf::internal::MapField<SecurityRequirement_SecurityRequirementEntry_DoNotUse, std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue, 3130 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 3131 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> 3132 security_requirement_; 3133 ::google::protobuf::internal::CachedSize _cached_size_; 3134 PROTOBUF_TSAN_DECLARE_MEMBER 3135 }; 3136 union { Impl_ _impl_; }; 3137 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 3138 }; 3139 3140 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull SecurityRequirement_class_data_; 3141 // ------------------------------------------------------------------- 3142 3143 class AGONES_EXPORT JSONSchema final : public ::google::protobuf::Message 3144 /* @@protoc_insertion_point(class_definition:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema) */ { 3145 public: 3146 inline JSONSchema() : JSONSchema(nullptr) {} 3147 ~JSONSchema() PROTOBUF_FINAL; 3148 3149 #if defined(PROTOBUF_CUSTOM_VTABLE) 3150 void operator delete(JSONSchema* PROTOBUF_NONNULL msg, std::destroying_delete_t) { 3151 SharedDtor(*msg); 3152 ::google::protobuf::internal::SizedDelete(msg, sizeof(JSONSchema)); 3153 } 3154 #endif 3155 3156 template <typename = void> 3157 explicit PROTOBUF_CONSTEXPR JSONSchema(::google::protobuf::internal::ConstantInitialized); 3158 3159 inline JSONSchema(const JSONSchema& from) : JSONSchema(nullptr, from) {} 3160 inline JSONSchema(JSONSchema&& from) noexcept 3161 : JSONSchema(nullptr, std::move(from)) {} 3162 inline JSONSchema& operator=(const JSONSchema& from) { 3163 CopyFrom(from); 3164 return *this; 3165 } 3166 inline JSONSchema& operator=(JSONSchema&& from) noexcept { 3167 if (this == &from) return *this; 3168 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { 3169 InternalSwap(&from); 3170 } else { 3171 CopyFrom(from); 3172 } 3173 return *this; 3174 } 3175 3176 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const 3177 ABSL_ATTRIBUTE_LIFETIME_BOUND { 3178 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); 3179 } 3180 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() 3181 ABSL_ATTRIBUTE_LIFETIME_BOUND { 3182 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); 3183 } 3184 3185 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { 3186 return GetDescriptor(); 3187 } 3188 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { 3189 return default_instance().GetMetadata().descriptor; 3190 } 3191 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { 3192 return default_instance().GetMetadata().reflection; 3193 } 3194 static const JSONSchema& default_instance() { 3195 return *reinterpret_cast<const JSONSchema*>( 3196 &_JSONSchema_default_instance_); 3197 } 3198 static constexpr int kIndexInFileMessages = 19; 3199 friend void swap(JSONSchema& a, JSONSchema& b) { a.Swap(&b); } 3200 inline void Swap(JSONSchema* PROTOBUF_NONNULL other) { 3201 if (other == this) return; 3202 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { 3203 InternalSwap(other); 3204 } else { 3205 ::google::protobuf::internal::GenericSwap(this, other); 3206 } 3207 } 3208 void UnsafeArenaSwap(JSONSchema* PROTOBUF_NONNULL other) { 3209 if (other == this) return; 3210 ABSL_DCHECK(GetArena() == other->GetArena()); 3211 InternalSwap(other); 3212 } 3213 3214 // implements Message ---------------------------------------------- 3215 3216 JSONSchema* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { 3217 return ::google::protobuf::Message::DefaultConstruct<JSONSchema>(arena); 3218 } 3219 using ::google::protobuf::Message::CopyFrom; 3220 void CopyFrom(const JSONSchema& from); 3221 using ::google::protobuf::Message::MergeFrom; 3222 void MergeFrom(const JSONSchema& from) { JSONSchema::MergeImpl(*this, from); } 3223 3224 private: 3225 static void MergeImpl(::google::protobuf::MessageLite& to_msg, 3226 const ::google::protobuf::MessageLite& from_msg); 3227 3228 public: 3229 bool IsInitialized() const { 3230 return true; 3231 } 3232 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; 3233 #if defined(PROTOBUF_CUSTOM_VTABLE) 3234 private: 3235 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); 3236 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 3237 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, 3238 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); 3239 3240 public: 3241 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } 3242 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 3243 ::uint8_t* PROTOBUF_NONNULL target, 3244 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 3245 return _InternalSerialize(*this, target, stream); 3246 } 3247 #else // PROTOBUF_CUSTOM_VTABLE 3248 ::size_t ByteSizeLong() const final; 3249 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 3250 ::uint8_t* PROTOBUF_NONNULL target, 3251 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; 3252 #endif // PROTOBUF_CUSTOM_VTABLE 3253 int GetCachedSize() const { return _impl_._cached_size_.Get(); } 3254 3255 private: 3256 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 3257 static void SharedDtor(MessageLite& self); 3258 void InternalSwap(JSONSchema* PROTOBUF_NONNULL other); 3259 private: 3260 template <typename T> 3261 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); 3262 static ::absl::string_view FullMessageName() { return "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema"; } 3263 3264 protected: 3265 explicit JSONSchema(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 3266 JSONSchema(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const JSONSchema& from); 3267 JSONSchema( 3268 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, JSONSchema&& from) noexcept 3269 : JSONSchema(arena) { 3270 *this = ::std::move(from); 3271 } 3272 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 3273 static void* PROTOBUF_NONNULL PlacementNew_( 3274 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 3275 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 3276 static constexpr auto InternalNewImpl_(); 3277 3278 public: 3279 static constexpr auto InternalGenerateClassData_(); 3280 3281 ::google::protobuf::Metadata GetMetadata() const; 3282 // nested types ---------------------------------------------------- 3283 using FieldConfiguration = JSONSchema_FieldConfiguration; 3284 using JSONSchemaSimpleTypes = JSONSchema_JSONSchemaSimpleTypes; 3285 static constexpr JSONSchemaSimpleTypes UNKNOWN = JSONSchema_JSONSchemaSimpleTypes_UNKNOWN; 3286 static constexpr JSONSchemaSimpleTypes ARRAY = JSONSchema_JSONSchemaSimpleTypes_ARRAY; 3287 static constexpr JSONSchemaSimpleTypes BOOLEAN = JSONSchema_JSONSchemaSimpleTypes_BOOLEAN; 3288 static constexpr JSONSchemaSimpleTypes INTEGER = JSONSchema_JSONSchemaSimpleTypes_INTEGER; 3289 static constexpr JSONSchemaSimpleTypes NULL_ = JSONSchema_JSONSchemaSimpleTypes_NULL_; 3290 static constexpr JSONSchemaSimpleTypes NUMBER = JSONSchema_JSONSchemaSimpleTypes_NUMBER; 3291 static constexpr JSONSchemaSimpleTypes OBJECT = JSONSchema_JSONSchemaSimpleTypes_OBJECT; 3292 static constexpr JSONSchemaSimpleTypes STRING = JSONSchema_JSONSchemaSimpleTypes_STRING; 3293 static inline bool JSONSchemaSimpleTypes_IsValid(int value) { 3294 return JSONSchema_JSONSchemaSimpleTypes_IsValid(value); 3295 } 3296 static constexpr JSONSchemaSimpleTypes JSONSchemaSimpleTypes_MIN = JSONSchema_JSONSchemaSimpleTypes_JSONSchemaSimpleTypes_MIN; 3297 static constexpr JSONSchemaSimpleTypes JSONSchemaSimpleTypes_MAX = JSONSchema_JSONSchemaSimpleTypes_JSONSchemaSimpleTypes_MAX; 3298 static constexpr int JSONSchemaSimpleTypes_ARRAYSIZE = JSONSchema_JSONSchemaSimpleTypes_JSONSchemaSimpleTypes_ARRAYSIZE; 3299 static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL JSONSchemaSimpleTypes_descriptor() { 3300 return JSONSchema_JSONSchemaSimpleTypes_descriptor(); 3301 } 3302 template <typename T> 3303 static inline const std::string& JSONSchemaSimpleTypes_Name(T value) { 3304 return JSONSchema_JSONSchemaSimpleTypes_Name(value); 3305 } 3306 static inline bool JSONSchemaSimpleTypes_Parse( 3307 absl::string_view name, JSONSchemaSimpleTypes* PROTOBUF_NONNULL value) { 3308 return JSONSchema_JSONSchemaSimpleTypes_Parse(name, value); 3309 } 3310 3311 // accessors ------------------------------------------------------- 3312 enum : int { 3313 kRequiredFieldNumber = 26, 3314 kArrayFieldNumber = 34, 3315 kTypeFieldNumber = 35, 3316 kEnumFieldNumber = 46, 3317 kExtensionsFieldNumber = 48, 3318 kRefFieldNumber = 3, 3319 kTitleFieldNumber = 5, 3320 kDescriptionFieldNumber = 6, 3321 kDefaultFieldNumber = 7, 3322 kExampleFieldNumber = 9, 3323 kPatternFieldNumber = 17, 3324 kFormatFieldNumber = 36, 3325 kFieldConfigurationFieldNumber = 1001, 3326 kMultipleOfFieldNumber = 10, 3327 kMaximumFieldNumber = 11, 3328 kMinimumFieldNumber = 13, 3329 kMaxLengthFieldNumber = 15, 3330 kMinLengthFieldNumber = 16, 3331 kMaxItemsFieldNumber = 20, 3332 kMinItemsFieldNumber = 21, 3333 kMaxPropertiesFieldNumber = 24, 3334 kMinPropertiesFieldNumber = 25, 3335 kReadOnlyFieldNumber = 8, 3336 kExclusiveMaximumFieldNumber = 12, 3337 kExclusiveMinimumFieldNumber = 14, 3338 kUniqueItemsFieldNumber = 22, 3339 }; 3340 // repeated string required = 26; 3341 int required_size() const; 3342 private: 3343 int _internal_required_size() const; 3344 3345 public: 3346 void clear_required() ; 3347 const std::string& required(int index) const; 3348 std::string* PROTOBUF_NONNULL mutable_required(int index); 3349 template <typename Arg_ = const std::string&, typename... Args_> 3350 void set_required(int index, Arg_&& value, Args_... args); 3351 std::string* PROTOBUF_NONNULL add_required(); 3352 template <typename Arg_ = const std::string&, typename... Args_> 3353 void add_required(Arg_&& value, Args_... args); 3354 const ::google::protobuf::RepeatedPtrField<std::string>& required() const; 3355 ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL mutable_required(); 3356 3357 private: 3358 const ::google::protobuf::RepeatedPtrField<std::string>& _internal_required() const; 3359 ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL _internal_mutable_required(); 3360 3361 public: 3362 // repeated string array = 34; 3363 int array_size() const; 3364 private: 3365 int _internal_array_size() const; 3366 3367 public: 3368 void clear_array() ; 3369 const std::string& array(int index) const; 3370 std::string* PROTOBUF_NONNULL mutable_array(int index); 3371 template <typename Arg_ = const std::string&, typename... Args_> 3372 void set_array(int index, Arg_&& value, Args_... args); 3373 std::string* PROTOBUF_NONNULL add_array(); 3374 template <typename Arg_ = const std::string&, typename... Args_> 3375 void add_array(Arg_&& value, Args_... args); 3376 const ::google::protobuf::RepeatedPtrField<std::string>& array() const; 3377 ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL mutable_array(); 3378 3379 private: 3380 const ::google::protobuf::RepeatedPtrField<std::string>& _internal_array() const; 3381 ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL _internal_mutable_array(); 3382 3383 public: 3384 // repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35; 3385 int type_size() const; 3386 private: 3387 int _internal_type_size() const; 3388 3389 public: 3390 void clear_type() ; 3391 public: 3392 ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_JSONSchemaSimpleTypes type(int index) const; 3393 void set_type(int index, ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_JSONSchemaSimpleTypes value); 3394 void add_type(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_JSONSchemaSimpleTypes value); 3395 const ::google::protobuf::RepeatedField<int>& type() const; 3396 ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL mutable_type(); 3397 3398 private: 3399 const ::google::protobuf::RepeatedField<int>& _internal_type() const; 3400 ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL _internal_mutable_type(); 3401 3402 public: 3403 // repeated string enum = 46; 3404 int enum__size() const; 3405 private: 3406 int _internal_enum__size() const; 3407 3408 public: 3409 void clear_enum_() ; 3410 const std::string& enum_(int index) const; 3411 std::string* PROTOBUF_NONNULL mutable_enum_(int index); 3412 template <typename Arg_ = const std::string&, typename... Args_> 3413 void set_enum_(int index, Arg_&& value, Args_... args); 3414 std::string* PROTOBUF_NONNULL add_enum_(); 3415 template <typename Arg_ = const std::string&, typename... Args_> 3416 void add_enum_(Arg_&& value, Args_... args); 3417 const ::google::protobuf::RepeatedPtrField<std::string>& enum_() const; 3418 ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL mutable_enum_(); 3419 3420 private: 3421 const ::google::protobuf::RepeatedPtrField<std::string>& _internal_enum_() const; 3422 ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL _internal_mutable_enum_(); 3423 3424 public: 3425 // map<string, .google.protobuf.Value> extensions = 48; 3426 int extensions_size() const; 3427 private: 3428 int _internal_extensions_size() const; 3429 3430 public: 3431 void clear_extensions() ; 3432 const ::google::protobuf::Map<std::string, ::google::protobuf::Value>& extensions() const; 3433 ::google::protobuf::Map<std::string, ::google::protobuf::Value>* PROTOBUF_NONNULL mutable_extensions(); 3434 3435 private: 3436 const ::google::protobuf::Map<std::string, ::google::protobuf::Value>& _internal_extensions() const; 3437 ::google::protobuf::Map<std::string, ::google::protobuf::Value>* PROTOBUF_NONNULL _internal_mutable_extensions(); 3438 3439 public: 3440 // string ref = 3; 3441 void clear_ref() ; 3442 const std::string& ref() const; 3443 template <typename Arg_ = const std::string&, typename... Args_> 3444 void set_ref(Arg_&& arg, Args_... args); 3445 std::string* PROTOBUF_NONNULL mutable_ref(); 3446 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_ref(); 3447 void set_allocated_ref(std::string* PROTOBUF_NULLABLE value); 3448 3449 private: 3450 const std::string& _internal_ref() const; 3451 PROTOBUF_ALWAYS_INLINE void _internal_set_ref(const std::string& value); 3452 std::string* PROTOBUF_NONNULL _internal_mutable_ref(); 3453 3454 public: 3455 // string title = 5; 3456 void clear_title() ; 3457 const std::string& title() const; 3458 template <typename Arg_ = const std::string&, typename... Args_> 3459 void set_title(Arg_&& arg, Args_... args); 3460 std::string* PROTOBUF_NONNULL mutable_title(); 3461 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_title(); 3462 void set_allocated_title(std::string* PROTOBUF_NULLABLE value); 3463 3464 private: 3465 const std::string& _internal_title() const; 3466 PROTOBUF_ALWAYS_INLINE void _internal_set_title(const std::string& value); 3467 std::string* PROTOBUF_NONNULL _internal_mutable_title(); 3468 3469 public: 3470 // string description = 6; 3471 void clear_description() ; 3472 const std::string& description() const; 3473 template <typename Arg_ = const std::string&, typename... Args_> 3474 void set_description(Arg_&& arg, Args_... args); 3475 std::string* PROTOBUF_NONNULL mutable_description(); 3476 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_description(); 3477 void set_allocated_description(std::string* PROTOBUF_NULLABLE value); 3478 3479 private: 3480 const std::string& _internal_description() const; 3481 PROTOBUF_ALWAYS_INLINE void _internal_set_description(const std::string& value); 3482 std::string* PROTOBUF_NONNULL _internal_mutable_description(); 3483 3484 public: 3485 // string default = 7; 3486 void clear_default_() ; 3487 const std::string& default_() const; 3488 template <typename Arg_ = const std::string&, typename... Args_> 3489 void set_default_(Arg_&& arg, Args_... args); 3490 std::string* PROTOBUF_NONNULL mutable_default_(); 3491 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_default_(); 3492 void set_allocated_default_(std::string* PROTOBUF_NULLABLE value); 3493 3494 private: 3495 const std::string& _internal_default_() const; 3496 PROTOBUF_ALWAYS_INLINE void _internal_set_default_(const std::string& value); 3497 std::string* PROTOBUF_NONNULL _internal_mutable_default_(); 3498 3499 public: 3500 // string example = 9; 3501 void clear_example() ; 3502 const std::string& example() const; 3503 template <typename Arg_ = const std::string&, typename... Args_> 3504 void set_example(Arg_&& arg, Args_... args); 3505 std::string* PROTOBUF_NONNULL mutable_example(); 3506 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_example(); 3507 void set_allocated_example(std::string* PROTOBUF_NULLABLE value); 3508 3509 private: 3510 const std::string& _internal_example() const; 3511 PROTOBUF_ALWAYS_INLINE void _internal_set_example(const std::string& value); 3512 std::string* PROTOBUF_NONNULL _internal_mutable_example(); 3513 3514 public: 3515 // string pattern = 17; 3516 void clear_pattern() ; 3517 const std::string& pattern() const; 3518 template <typename Arg_ = const std::string&, typename... Args_> 3519 void set_pattern(Arg_&& arg, Args_... args); 3520 std::string* PROTOBUF_NONNULL mutable_pattern(); 3521 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_pattern(); 3522 void set_allocated_pattern(std::string* PROTOBUF_NULLABLE value); 3523 3524 private: 3525 const std::string& _internal_pattern() const; 3526 PROTOBUF_ALWAYS_INLINE void _internal_set_pattern(const std::string& value); 3527 std::string* PROTOBUF_NONNULL _internal_mutable_pattern(); 3528 3529 public: 3530 // string format = 36; 3531 void clear_format() ; 3532 const std::string& format() const; 3533 template <typename Arg_ = const std::string&, typename... Args_> 3534 void set_format(Arg_&& arg, Args_... args); 3535 std::string* PROTOBUF_NONNULL mutable_format(); 3536 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_format(); 3537 void set_allocated_format(std::string* PROTOBUF_NULLABLE value); 3538 3539 private: 3540 const std::string& _internal_format() const; 3541 PROTOBUF_ALWAYS_INLINE void _internal_set_format(const std::string& value); 3542 std::string* PROTOBUF_NONNULL _internal_mutable_format(); 3543 3544 public: 3545 // .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration field_configuration = 1001; 3546 bool has_field_configuration() const; 3547 void clear_field_configuration() ; 3548 const ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration& field_configuration() const; 3549 [[nodiscard]] ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration* PROTOBUF_NULLABLE release_field_configuration(); 3550 ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration* PROTOBUF_NONNULL mutable_field_configuration(); 3551 void set_allocated_field_configuration(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration* PROTOBUF_NULLABLE value); 3552 void unsafe_arena_set_allocated_field_configuration(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration* PROTOBUF_NULLABLE value); 3553 ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration* PROTOBUF_NULLABLE unsafe_arena_release_field_configuration(); 3554 3555 private: 3556 const ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration& _internal_field_configuration() const; 3557 ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration* PROTOBUF_NONNULL _internal_mutable_field_configuration(); 3558 3559 public: 3560 // double multiple_of = 10; 3561 void clear_multiple_of() ; 3562 double multiple_of() const; 3563 void set_multiple_of(double value); 3564 3565 private: 3566 double _internal_multiple_of() const; 3567 void _internal_set_multiple_of(double value); 3568 3569 public: 3570 // double maximum = 11; 3571 void clear_maximum() ; 3572 double maximum() const; 3573 void set_maximum(double value); 3574 3575 private: 3576 double _internal_maximum() const; 3577 void _internal_set_maximum(double value); 3578 3579 public: 3580 // double minimum = 13; 3581 void clear_minimum() ; 3582 double minimum() const; 3583 void set_minimum(double value); 3584 3585 private: 3586 double _internal_minimum() const; 3587 void _internal_set_minimum(double value); 3588 3589 public: 3590 // uint64 max_length = 15; 3591 void clear_max_length() ; 3592 ::uint64_t max_length() const; 3593 void set_max_length(::uint64_t value); 3594 3595 private: 3596 ::uint64_t _internal_max_length() const; 3597 void _internal_set_max_length(::uint64_t value); 3598 3599 public: 3600 // uint64 min_length = 16; 3601 void clear_min_length() ; 3602 ::uint64_t min_length() const; 3603 void set_min_length(::uint64_t value); 3604 3605 private: 3606 ::uint64_t _internal_min_length() const; 3607 void _internal_set_min_length(::uint64_t value); 3608 3609 public: 3610 // uint64 max_items = 20; 3611 void clear_max_items() ; 3612 ::uint64_t max_items() const; 3613 void set_max_items(::uint64_t value); 3614 3615 private: 3616 ::uint64_t _internal_max_items() const; 3617 void _internal_set_max_items(::uint64_t value); 3618 3619 public: 3620 // uint64 min_items = 21; 3621 void clear_min_items() ; 3622 ::uint64_t min_items() const; 3623 void set_min_items(::uint64_t value); 3624 3625 private: 3626 ::uint64_t _internal_min_items() const; 3627 void _internal_set_min_items(::uint64_t value); 3628 3629 public: 3630 // uint64 max_properties = 24; 3631 void clear_max_properties() ; 3632 ::uint64_t max_properties() const; 3633 void set_max_properties(::uint64_t value); 3634 3635 private: 3636 ::uint64_t _internal_max_properties() const; 3637 void _internal_set_max_properties(::uint64_t value); 3638 3639 public: 3640 // uint64 min_properties = 25; 3641 void clear_min_properties() ; 3642 ::uint64_t min_properties() const; 3643 void set_min_properties(::uint64_t value); 3644 3645 private: 3646 ::uint64_t _internal_min_properties() const; 3647 void _internal_set_min_properties(::uint64_t value); 3648 3649 public: 3650 // bool read_only = 8; 3651 void clear_read_only() ; 3652 bool read_only() const; 3653 void set_read_only(bool value); 3654 3655 private: 3656 bool _internal_read_only() const; 3657 void _internal_set_read_only(bool value); 3658 3659 public: 3660 // bool exclusive_maximum = 12; 3661 void clear_exclusive_maximum() ; 3662 bool exclusive_maximum() const; 3663 void set_exclusive_maximum(bool value); 3664 3665 private: 3666 bool _internal_exclusive_maximum() const; 3667 void _internal_set_exclusive_maximum(bool value); 3668 3669 public: 3670 // bool exclusive_minimum = 14; 3671 void clear_exclusive_minimum() ; 3672 bool exclusive_minimum() const; 3673 void set_exclusive_minimum(bool value); 3674 3675 private: 3676 bool _internal_exclusive_minimum() const; 3677 void _internal_set_exclusive_minimum(bool value); 3678 3679 public: 3680 // bool unique_items = 22; 3681 void clear_unique_items() ; 3682 bool unique_items() const; 3683 void set_unique_items(bool value); 3684 3685 private: 3686 bool _internal_unique_items() const; 3687 void _internal_set_unique_items(bool value); 3688 3689 public: 3690 // @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema) 3691 private: 3692 class _Internal; 3693 friend class ::google::protobuf::internal::TcParser; 3694 static const ::google::protobuf::internal::TcParseTable<5, 26, 3695 3, 158, 3696 12> 3697 _table_; 3698 3699 friend class ::google::protobuf::MessageLite; 3700 friend class ::google::protobuf::Arena; 3701 template <typename T> 3702 friend class ::google::protobuf::Arena::InternalHelper; 3703 using InternalArenaConstructable_ = void; 3704 using DestructorSkippable_ = void; 3705 struct Impl_ { 3706 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; 3707 inline explicit Impl_( 3708 ::google::protobuf::internal::InternalVisibility visibility, 3709 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 3710 inline explicit Impl_( 3711 ::google::protobuf::internal::InternalVisibility visibility, 3712 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 3713 const JSONSchema& from_msg); 3714 ::google::protobuf::internal::HasBits<1> _has_bits_; 3715 ::google::protobuf::internal::CachedSize _cached_size_; 3716 ::google::protobuf::RepeatedPtrField<std::string> required_; 3717 ::google::protobuf::RepeatedPtrField<std::string> array_; 3718 ::google::protobuf::RepeatedField<int> type_; 3719 ::google::protobuf::internal::CachedSize _type_cached_byte_size_; 3720 ::google::protobuf::RepeatedPtrField<std::string> enum__; 3721 ::google::protobuf::internal::MapField<JSONSchema_ExtensionsEntry_DoNotUse, std::string, ::google::protobuf::Value, 3722 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 3723 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> 3724 extensions_; 3725 ::google::protobuf::internal::ArenaStringPtr ref_; 3726 ::google::protobuf::internal::ArenaStringPtr title_; 3727 ::google::protobuf::internal::ArenaStringPtr description_; 3728 ::google::protobuf::internal::ArenaStringPtr default__; 3729 ::google::protobuf::internal::ArenaStringPtr example_; 3730 ::google::protobuf::internal::ArenaStringPtr pattern_; 3731 ::google::protobuf::internal::ArenaStringPtr format_; 3732 ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration* PROTOBUF_NULLABLE field_configuration_; 3733 double multiple_of_; 3734 double maximum_; 3735 double minimum_; 3736 ::uint64_t max_length_; 3737 ::uint64_t min_length_; 3738 ::uint64_t max_items_; 3739 ::uint64_t min_items_; 3740 ::uint64_t max_properties_; 3741 ::uint64_t min_properties_; 3742 bool read_only_; 3743 bool exclusive_maximum_; 3744 bool exclusive_minimum_; 3745 bool unique_items_; 3746 PROTOBUF_TSAN_DECLARE_MEMBER 3747 }; 3748 union { Impl_ _impl_; }; 3749 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 3750 }; 3751 3752 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull JSONSchema_class_data_; 3753 // ------------------------------------------------------------------- 3754 3755 class AGONES_EXPORT Info final : public ::google::protobuf::Message 3756 /* @@protoc_insertion_point(class_definition:grpc.gateway.protoc_gen_openapiv2.options.Info) */ { 3757 public: 3758 inline Info() : Info(nullptr) {} 3759 ~Info() PROTOBUF_FINAL; 3760 3761 #if defined(PROTOBUF_CUSTOM_VTABLE) 3762 void operator delete(Info* PROTOBUF_NONNULL msg, std::destroying_delete_t) { 3763 SharedDtor(*msg); 3764 ::google::protobuf::internal::SizedDelete(msg, sizeof(Info)); 3765 } 3766 #endif 3767 3768 template <typename = void> 3769 explicit PROTOBUF_CONSTEXPR Info(::google::protobuf::internal::ConstantInitialized); 3770 3771 inline Info(const Info& from) : Info(nullptr, from) {} 3772 inline Info(Info&& from) noexcept 3773 : Info(nullptr, std::move(from)) {} 3774 inline Info& operator=(const Info& from) { 3775 CopyFrom(from); 3776 return *this; 3777 } 3778 inline Info& operator=(Info&& from) noexcept { 3779 if (this == &from) return *this; 3780 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { 3781 InternalSwap(&from); 3782 } else { 3783 CopyFrom(from); 3784 } 3785 return *this; 3786 } 3787 3788 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const 3789 ABSL_ATTRIBUTE_LIFETIME_BOUND { 3790 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); 3791 } 3792 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() 3793 ABSL_ATTRIBUTE_LIFETIME_BOUND { 3794 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); 3795 } 3796 3797 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { 3798 return GetDescriptor(); 3799 } 3800 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { 3801 return default_instance().GetMetadata().descriptor; 3802 } 3803 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { 3804 return default_instance().GetMetadata().reflection; 3805 } 3806 static const Info& default_instance() { 3807 return *reinterpret_cast<const Info*>( 3808 &_Info_default_instance_); 3809 } 3810 static constexpr int kIndexInFileMessages = 12; 3811 friend void swap(Info& a, Info& b) { a.Swap(&b); } 3812 inline void Swap(Info* PROTOBUF_NONNULL other) { 3813 if (other == this) return; 3814 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { 3815 InternalSwap(other); 3816 } else { 3817 ::google::protobuf::internal::GenericSwap(this, other); 3818 } 3819 } 3820 void UnsafeArenaSwap(Info* PROTOBUF_NONNULL other) { 3821 if (other == this) return; 3822 ABSL_DCHECK(GetArena() == other->GetArena()); 3823 InternalSwap(other); 3824 } 3825 3826 // implements Message ---------------------------------------------- 3827 3828 Info* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { 3829 return ::google::protobuf::Message::DefaultConstruct<Info>(arena); 3830 } 3831 using ::google::protobuf::Message::CopyFrom; 3832 void CopyFrom(const Info& from); 3833 using ::google::protobuf::Message::MergeFrom; 3834 void MergeFrom(const Info& from) { Info::MergeImpl(*this, from); } 3835 3836 private: 3837 static void MergeImpl(::google::protobuf::MessageLite& to_msg, 3838 const ::google::protobuf::MessageLite& from_msg); 3839 3840 public: 3841 bool IsInitialized() const { 3842 return true; 3843 } 3844 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; 3845 #if defined(PROTOBUF_CUSTOM_VTABLE) 3846 private: 3847 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); 3848 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 3849 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, 3850 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); 3851 3852 public: 3853 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } 3854 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 3855 ::uint8_t* PROTOBUF_NONNULL target, 3856 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 3857 return _InternalSerialize(*this, target, stream); 3858 } 3859 #else // PROTOBUF_CUSTOM_VTABLE 3860 ::size_t ByteSizeLong() const final; 3861 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 3862 ::uint8_t* PROTOBUF_NONNULL target, 3863 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; 3864 #endif // PROTOBUF_CUSTOM_VTABLE 3865 int GetCachedSize() const { return _impl_._cached_size_.Get(); } 3866 3867 private: 3868 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 3869 static void SharedDtor(MessageLite& self); 3870 void InternalSwap(Info* PROTOBUF_NONNULL other); 3871 private: 3872 template <typename T> 3873 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); 3874 static ::absl::string_view FullMessageName() { return "grpc.gateway.protoc_gen_openapiv2.options.Info"; } 3875 3876 protected: 3877 explicit Info(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 3878 Info(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Info& from); 3879 Info( 3880 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Info&& from) noexcept 3881 : Info(arena) { 3882 *this = ::std::move(from); 3883 } 3884 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 3885 static void* PROTOBUF_NONNULL PlacementNew_( 3886 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 3887 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 3888 static constexpr auto InternalNewImpl_(); 3889 3890 public: 3891 static constexpr auto InternalGenerateClassData_(); 3892 3893 ::google::protobuf::Metadata GetMetadata() const; 3894 // nested types ---------------------------------------------------- 3895 3896 // accessors ------------------------------------------------------- 3897 enum : int { 3898 kExtensionsFieldNumber = 7, 3899 kTitleFieldNumber = 1, 3900 kDescriptionFieldNumber = 2, 3901 kTermsOfServiceFieldNumber = 3, 3902 kVersionFieldNumber = 6, 3903 kContactFieldNumber = 4, 3904 kLicenseFieldNumber = 5, 3905 }; 3906 // map<string, .google.protobuf.Value> extensions = 7; 3907 int extensions_size() const; 3908 private: 3909 int _internal_extensions_size() const; 3910 3911 public: 3912 void clear_extensions() ; 3913 const ::google::protobuf::Map<std::string, ::google::protobuf::Value>& extensions() const; 3914 ::google::protobuf::Map<std::string, ::google::protobuf::Value>* PROTOBUF_NONNULL mutable_extensions(); 3915 3916 private: 3917 const ::google::protobuf::Map<std::string, ::google::protobuf::Value>& _internal_extensions() const; 3918 ::google::protobuf::Map<std::string, ::google::protobuf::Value>* PROTOBUF_NONNULL _internal_mutable_extensions(); 3919 3920 public: 3921 // string title = 1; 3922 void clear_title() ; 3923 const std::string& title() const; 3924 template <typename Arg_ = const std::string&, typename... Args_> 3925 void set_title(Arg_&& arg, Args_... args); 3926 std::string* PROTOBUF_NONNULL mutable_title(); 3927 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_title(); 3928 void set_allocated_title(std::string* PROTOBUF_NULLABLE value); 3929 3930 private: 3931 const std::string& _internal_title() const; 3932 PROTOBUF_ALWAYS_INLINE void _internal_set_title(const std::string& value); 3933 std::string* PROTOBUF_NONNULL _internal_mutable_title(); 3934 3935 public: 3936 // string description = 2; 3937 void clear_description() ; 3938 const std::string& description() const; 3939 template <typename Arg_ = const std::string&, typename... Args_> 3940 void set_description(Arg_&& arg, Args_... args); 3941 std::string* PROTOBUF_NONNULL mutable_description(); 3942 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_description(); 3943 void set_allocated_description(std::string* PROTOBUF_NULLABLE value); 3944 3945 private: 3946 const std::string& _internal_description() const; 3947 PROTOBUF_ALWAYS_INLINE void _internal_set_description(const std::string& value); 3948 std::string* PROTOBUF_NONNULL _internal_mutable_description(); 3949 3950 public: 3951 // string terms_of_service = 3; 3952 void clear_terms_of_service() ; 3953 const std::string& terms_of_service() const; 3954 template <typename Arg_ = const std::string&, typename... Args_> 3955 void set_terms_of_service(Arg_&& arg, Args_... args); 3956 std::string* PROTOBUF_NONNULL mutable_terms_of_service(); 3957 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_terms_of_service(); 3958 void set_allocated_terms_of_service(std::string* PROTOBUF_NULLABLE value); 3959 3960 private: 3961 const std::string& _internal_terms_of_service() const; 3962 PROTOBUF_ALWAYS_INLINE void _internal_set_terms_of_service(const std::string& value); 3963 std::string* PROTOBUF_NONNULL _internal_mutable_terms_of_service(); 3964 3965 public: 3966 // string version = 6; 3967 void clear_version() ; 3968 const std::string& version() const; 3969 template <typename Arg_ = const std::string&, typename... Args_> 3970 void set_version(Arg_&& arg, Args_... args); 3971 std::string* PROTOBUF_NONNULL mutable_version(); 3972 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_version(); 3973 void set_allocated_version(std::string* PROTOBUF_NULLABLE value); 3974 3975 private: 3976 const std::string& _internal_version() const; 3977 PROTOBUF_ALWAYS_INLINE void _internal_set_version(const std::string& value); 3978 std::string* PROTOBUF_NONNULL _internal_mutable_version(); 3979 3980 public: 3981 // .grpc.gateway.protoc_gen_openapiv2.options.Contact contact = 4; 3982 bool has_contact() const; 3983 void clear_contact() ; 3984 const ::grpc::gateway::protoc_gen_openapiv2::options::Contact& contact() const; 3985 [[nodiscard]] ::grpc::gateway::protoc_gen_openapiv2::options::Contact* PROTOBUF_NULLABLE release_contact(); 3986 ::grpc::gateway::protoc_gen_openapiv2::options::Contact* PROTOBUF_NONNULL mutable_contact(); 3987 void set_allocated_contact(::grpc::gateway::protoc_gen_openapiv2::options::Contact* PROTOBUF_NULLABLE value); 3988 void unsafe_arena_set_allocated_contact(::grpc::gateway::protoc_gen_openapiv2::options::Contact* PROTOBUF_NULLABLE value); 3989 ::grpc::gateway::protoc_gen_openapiv2::options::Contact* PROTOBUF_NULLABLE unsafe_arena_release_contact(); 3990 3991 private: 3992 const ::grpc::gateway::protoc_gen_openapiv2::options::Contact& _internal_contact() const; 3993 ::grpc::gateway::protoc_gen_openapiv2::options::Contact* PROTOBUF_NONNULL _internal_mutable_contact(); 3994 3995 public: 3996 // .grpc.gateway.protoc_gen_openapiv2.options.License license = 5; 3997 bool has_license() const; 3998 void clear_license() ; 3999 const ::grpc::gateway::protoc_gen_openapiv2::options::License& license() const; 4000 [[nodiscard]] ::grpc::gateway::protoc_gen_openapiv2::options::License* PROTOBUF_NULLABLE release_license(); 4001 ::grpc::gateway::protoc_gen_openapiv2::options::License* PROTOBUF_NONNULL mutable_license(); 4002 void set_allocated_license(::grpc::gateway::protoc_gen_openapiv2::options::License* PROTOBUF_NULLABLE value); 4003 void unsafe_arena_set_allocated_license(::grpc::gateway::protoc_gen_openapiv2::options::License* PROTOBUF_NULLABLE value); 4004 ::grpc::gateway::protoc_gen_openapiv2::options::License* PROTOBUF_NULLABLE unsafe_arena_release_license(); 4005 4006 private: 4007 const ::grpc::gateway::protoc_gen_openapiv2::options::License& _internal_license() const; 4008 ::grpc::gateway::protoc_gen_openapiv2::options::License* PROTOBUF_NONNULL _internal_mutable_license(); 4009 4010 public: 4011 // @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Info) 4012 private: 4013 class _Internal; 4014 friend class ::google::protobuf::internal::TcParser; 4015 static const ::google::protobuf::internal::TcParseTable<3, 7, 4016 4, 104, 4017 2> 4018 _table_; 4019 4020 friend class ::google::protobuf::MessageLite; 4021 friend class ::google::protobuf::Arena; 4022 template <typename T> 4023 friend class ::google::protobuf::Arena::InternalHelper; 4024 using InternalArenaConstructable_ = void; 4025 using DestructorSkippable_ = void; 4026 struct Impl_ { 4027 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; 4028 inline explicit Impl_( 4029 ::google::protobuf::internal::InternalVisibility visibility, 4030 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 4031 inline explicit Impl_( 4032 ::google::protobuf::internal::InternalVisibility visibility, 4033 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 4034 const Info& from_msg); 4035 ::google::protobuf::internal::HasBits<1> _has_bits_; 4036 ::google::protobuf::internal::CachedSize _cached_size_; 4037 ::google::protobuf::internal::MapField<Info_ExtensionsEntry_DoNotUse, std::string, ::google::protobuf::Value, 4038 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 4039 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> 4040 extensions_; 4041 ::google::protobuf::internal::ArenaStringPtr title_; 4042 ::google::protobuf::internal::ArenaStringPtr description_; 4043 ::google::protobuf::internal::ArenaStringPtr terms_of_service_; 4044 ::google::protobuf::internal::ArenaStringPtr version_; 4045 ::grpc::gateway::protoc_gen_openapiv2::options::Contact* PROTOBUF_NULLABLE contact_; 4046 ::grpc::gateway::protoc_gen_openapiv2::options::License* PROTOBUF_NULLABLE license_; 4047 PROTOBUF_TSAN_DECLARE_MEMBER 4048 }; 4049 union { Impl_ _impl_; }; 4050 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 4051 }; 4052 4053 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Info_class_data_; 4054 // ------------------------------------------------------------------- 4055 4056 class SecurityDefinitions_SecurityEntry_DoNotUse final 4057 : public ::google::protobuf::internal::MapEntry<std::string, ::google::protobuf::Message, 4058 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 4059 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> { 4060 public: 4061 using SuperType = 4062 ::google::protobuf::internal::MapEntry<std::string, ::google::protobuf::Message, 4063 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 4064 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>; 4065 SecurityDefinitions_SecurityEntry_DoNotUse(); 4066 template <typename = void> 4067 explicit PROTOBUF_CONSTEXPR SecurityDefinitions_SecurityEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized); 4068 explicit SecurityDefinitions_SecurityEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 4069 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() { 4070 return &_SecurityDefinitions_SecurityEntry_DoNotUse_default_instance_; 4071 } 4072 4073 4074 static constexpr auto InternalGenerateClassData_(); 4075 4076 private: 4077 friend class ::google::protobuf::MessageLite; 4078 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 4079 4080 friend class ::google::protobuf::internal::TcParser; 4081 static const ::google::protobuf::internal::TcParseTable<1, 2, 4082 1, 87, 4083 2> 4084 _table_; 4085 4086 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 4087 static void* PROTOBUF_NONNULL PlacementNew_( 4088 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 4089 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 4090 static constexpr auto InternalNewImpl_(); 4091 }; 4092 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull SecurityDefinitions_SecurityEntry_DoNotUse_class_data_; 4093 // ------------------------------------------------------------------- 4094 4095 class AGONES_EXPORT Schema final : public ::google::protobuf::Message 4096 /* @@protoc_insertion_point(class_definition:grpc.gateway.protoc_gen_openapiv2.options.Schema) */ { 4097 public: 4098 inline Schema() : Schema(nullptr) {} 4099 ~Schema() PROTOBUF_FINAL; 4100 4101 #if defined(PROTOBUF_CUSTOM_VTABLE) 4102 void operator delete(Schema* PROTOBUF_NONNULL msg, std::destroying_delete_t) { 4103 SharedDtor(*msg); 4104 ::google::protobuf::internal::SizedDelete(msg, sizeof(Schema)); 4105 } 4106 #endif 4107 4108 template <typename = void> 4109 explicit PROTOBUF_CONSTEXPR Schema(::google::protobuf::internal::ConstantInitialized); 4110 4111 inline Schema(const Schema& from) : Schema(nullptr, from) {} 4112 inline Schema(Schema&& from) noexcept 4113 : Schema(nullptr, std::move(from)) {} 4114 inline Schema& operator=(const Schema& from) { 4115 CopyFrom(from); 4116 return *this; 4117 } 4118 inline Schema& operator=(Schema&& from) noexcept { 4119 if (this == &from) return *this; 4120 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { 4121 InternalSwap(&from); 4122 } else { 4123 CopyFrom(from); 4124 } 4125 return *this; 4126 } 4127 4128 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const 4129 ABSL_ATTRIBUTE_LIFETIME_BOUND { 4130 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); 4131 } 4132 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() 4133 ABSL_ATTRIBUTE_LIFETIME_BOUND { 4134 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); 4135 } 4136 4137 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { 4138 return GetDescriptor(); 4139 } 4140 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { 4141 return default_instance().GetMetadata().descriptor; 4142 } 4143 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { 4144 return default_instance().GetMetadata().reflection; 4145 } 4146 static const Schema& default_instance() { 4147 return *reinterpret_cast<const Schema*>( 4148 &_Schema_default_instance_); 4149 } 4150 static constexpr int kIndexInFileMessages = 16; 4151 friend void swap(Schema& a, Schema& b) { a.Swap(&b); } 4152 inline void Swap(Schema* PROTOBUF_NONNULL other) { 4153 if (other == this) return; 4154 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { 4155 InternalSwap(other); 4156 } else { 4157 ::google::protobuf::internal::GenericSwap(this, other); 4158 } 4159 } 4160 void UnsafeArenaSwap(Schema* PROTOBUF_NONNULL other) { 4161 if (other == this) return; 4162 ABSL_DCHECK(GetArena() == other->GetArena()); 4163 InternalSwap(other); 4164 } 4165 4166 // implements Message ---------------------------------------------- 4167 4168 Schema* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { 4169 return ::google::protobuf::Message::DefaultConstruct<Schema>(arena); 4170 } 4171 using ::google::protobuf::Message::CopyFrom; 4172 void CopyFrom(const Schema& from); 4173 using ::google::protobuf::Message::MergeFrom; 4174 void MergeFrom(const Schema& from) { Schema::MergeImpl(*this, from); } 4175 4176 private: 4177 static void MergeImpl(::google::protobuf::MessageLite& to_msg, 4178 const ::google::protobuf::MessageLite& from_msg); 4179 4180 public: 4181 bool IsInitialized() const { 4182 return true; 4183 } 4184 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; 4185 #if defined(PROTOBUF_CUSTOM_VTABLE) 4186 private: 4187 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); 4188 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 4189 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, 4190 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); 4191 4192 public: 4193 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } 4194 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 4195 ::uint8_t* PROTOBUF_NONNULL target, 4196 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 4197 return _InternalSerialize(*this, target, stream); 4198 } 4199 #else // PROTOBUF_CUSTOM_VTABLE 4200 ::size_t ByteSizeLong() const final; 4201 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 4202 ::uint8_t* PROTOBUF_NONNULL target, 4203 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; 4204 #endif // PROTOBUF_CUSTOM_VTABLE 4205 int GetCachedSize() const { return _impl_._cached_size_.Get(); } 4206 4207 private: 4208 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 4209 static void SharedDtor(MessageLite& self); 4210 void InternalSwap(Schema* PROTOBUF_NONNULL other); 4211 private: 4212 template <typename T> 4213 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); 4214 static ::absl::string_view FullMessageName() { return "grpc.gateway.protoc_gen_openapiv2.options.Schema"; } 4215 4216 protected: 4217 explicit Schema(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 4218 Schema(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Schema& from); 4219 Schema( 4220 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Schema&& from) noexcept 4221 : Schema(arena) { 4222 *this = ::std::move(from); 4223 } 4224 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 4225 static void* PROTOBUF_NONNULL PlacementNew_( 4226 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 4227 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 4228 static constexpr auto InternalNewImpl_(); 4229 4230 public: 4231 static constexpr auto InternalGenerateClassData_(); 4232 4233 ::google::protobuf::Metadata GetMetadata() const; 4234 // nested types ---------------------------------------------------- 4235 4236 // accessors ------------------------------------------------------- 4237 enum : int { 4238 kDiscriminatorFieldNumber = 2, 4239 kExampleFieldNumber = 6, 4240 kJsonSchemaFieldNumber = 1, 4241 kExternalDocsFieldNumber = 5, 4242 kReadOnlyFieldNumber = 3, 4243 }; 4244 // string discriminator = 2; 4245 void clear_discriminator() ; 4246 const std::string& discriminator() const; 4247 template <typename Arg_ = const std::string&, typename... Args_> 4248 void set_discriminator(Arg_&& arg, Args_... args); 4249 std::string* PROTOBUF_NONNULL mutable_discriminator(); 4250 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_discriminator(); 4251 void set_allocated_discriminator(std::string* PROTOBUF_NULLABLE value); 4252 4253 private: 4254 const std::string& _internal_discriminator() const; 4255 PROTOBUF_ALWAYS_INLINE void _internal_set_discriminator(const std::string& value); 4256 std::string* PROTOBUF_NONNULL _internal_mutable_discriminator(); 4257 4258 public: 4259 // string example = 6; 4260 void clear_example() ; 4261 const std::string& example() const; 4262 template <typename Arg_ = const std::string&, typename... Args_> 4263 void set_example(Arg_&& arg, Args_... args); 4264 std::string* PROTOBUF_NONNULL mutable_example(); 4265 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_example(); 4266 void set_allocated_example(std::string* PROTOBUF_NULLABLE value); 4267 4268 private: 4269 const std::string& _internal_example() const; 4270 PROTOBUF_ALWAYS_INLINE void _internal_set_example(const std::string& value); 4271 std::string* PROTOBUF_NONNULL _internal_mutable_example(); 4272 4273 public: 4274 // .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1; 4275 bool has_json_schema() const; 4276 void clear_json_schema() ; 4277 const ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema& json_schema() const; 4278 [[nodiscard]] ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema* PROTOBUF_NULLABLE release_json_schema(); 4279 ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema* PROTOBUF_NONNULL mutable_json_schema(); 4280 void set_allocated_json_schema(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema* PROTOBUF_NULLABLE value); 4281 void unsafe_arena_set_allocated_json_schema(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema* PROTOBUF_NULLABLE value); 4282 ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema* PROTOBUF_NULLABLE unsafe_arena_release_json_schema(); 4283 4284 private: 4285 const ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema& _internal_json_schema() const; 4286 ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema* PROTOBUF_NONNULL _internal_mutable_json_schema(); 4287 4288 public: 4289 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 5; 4290 bool has_external_docs() const; 4291 void clear_external_docs() ; 4292 const ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation& external_docs() const; 4293 [[nodiscard]] ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE release_external_docs(); 4294 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NONNULL mutable_external_docs(); 4295 void set_allocated_external_docs(::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE value); 4296 void unsafe_arena_set_allocated_external_docs(::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE value); 4297 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE unsafe_arena_release_external_docs(); 4298 4299 private: 4300 const ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation& _internal_external_docs() const; 4301 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NONNULL _internal_mutable_external_docs(); 4302 4303 public: 4304 // bool read_only = 3; 4305 void clear_read_only() ; 4306 bool read_only() const; 4307 void set_read_only(bool value); 4308 4309 private: 4310 bool _internal_read_only() const; 4311 void _internal_set_read_only(bool value); 4312 4313 public: 4314 // @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Schema) 4315 private: 4316 class _Internal; 4317 friend class ::google::protobuf::internal::TcParser; 4318 static const ::google::protobuf::internal::TcParseTable<3, 5, 4319 2, 77, 4320 2> 4321 _table_; 4322 4323 friend class ::google::protobuf::MessageLite; 4324 friend class ::google::protobuf::Arena; 4325 template <typename T> 4326 friend class ::google::protobuf::Arena::InternalHelper; 4327 using InternalArenaConstructable_ = void; 4328 using DestructorSkippable_ = void; 4329 struct Impl_ { 4330 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; 4331 inline explicit Impl_( 4332 ::google::protobuf::internal::InternalVisibility visibility, 4333 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 4334 inline explicit Impl_( 4335 ::google::protobuf::internal::InternalVisibility visibility, 4336 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 4337 const Schema& from_msg); 4338 ::google::protobuf::internal::HasBits<1> _has_bits_; 4339 ::google::protobuf::internal::CachedSize _cached_size_; 4340 ::google::protobuf::internal::ArenaStringPtr discriminator_; 4341 ::google::protobuf::internal::ArenaStringPtr example_; 4342 ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema* PROTOBUF_NULLABLE json_schema_; 4343 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE external_docs_; 4344 bool read_only_; 4345 PROTOBUF_TSAN_DECLARE_MEMBER 4346 }; 4347 union { Impl_ _impl_; }; 4348 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 4349 }; 4350 4351 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Schema_class_data_; 4352 // ------------------------------------------------------------------- 4353 4354 class AGONES_EXPORT SecurityDefinitions final : public ::google::protobuf::Message 4355 /* @@protoc_insertion_point(class_definition:grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions) */ { 4356 public: 4357 inline SecurityDefinitions() : SecurityDefinitions(nullptr) {} 4358 ~SecurityDefinitions() PROTOBUF_FINAL; 4359 4360 #if defined(PROTOBUF_CUSTOM_VTABLE) 4361 void operator delete(SecurityDefinitions* PROTOBUF_NONNULL msg, std::destroying_delete_t) { 4362 SharedDtor(*msg); 4363 ::google::protobuf::internal::SizedDelete(msg, sizeof(SecurityDefinitions)); 4364 } 4365 #endif 4366 4367 template <typename = void> 4368 explicit PROTOBUF_CONSTEXPR SecurityDefinitions(::google::protobuf::internal::ConstantInitialized); 4369 4370 inline SecurityDefinitions(const SecurityDefinitions& from) : SecurityDefinitions(nullptr, from) {} 4371 inline SecurityDefinitions(SecurityDefinitions&& from) noexcept 4372 : SecurityDefinitions(nullptr, std::move(from)) {} 4373 inline SecurityDefinitions& operator=(const SecurityDefinitions& from) { 4374 CopyFrom(from); 4375 return *this; 4376 } 4377 inline SecurityDefinitions& operator=(SecurityDefinitions&& from) noexcept { 4378 if (this == &from) return *this; 4379 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { 4380 InternalSwap(&from); 4381 } else { 4382 CopyFrom(from); 4383 } 4384 return *this; 4385 } 4386 4387 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const 4388 ABSL_ATTRIBUTE_LIFETIME_BOUND { 4389 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); 4390 } 4391 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() 4392 ABSL_ATTRIBUTE_LIFETIME_BOUND { 4393 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); 4394 } 4395 4396 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { 4397 return GetDescriptor(); 4398 } 4399 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { 4400 return default_instance().GetMetadata().descriptor; 4401 } 4402 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { 4403 return default_instance().GetMetadata().reflection; 4404 } 4405 static const SecurityDefinitions& default_instance() { 4406 return *reinterpret_cast<const SecurityDefinitions*>( 4407 &_SecurityDefinitions_default_instance_); 4408 } 4409 static constexpr int kIndexInFileMessages = 22; 4410 friend void swap(SecurityDefinitions& a, SecurityDefinitions& b) { a.Swap(&b); } 4411 inline void Swap(SecurityDefinitions* PROTOBUF_NONNULL other) { 4412 if (other == this) return; 4413 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { 4414 InternalSwap(other); 4415 } else { 4416 ::google::protobuf::internal::GenericSwap(this, other); 4417 } 4418 } 4419 void UnsafeArenaSwap(SecurityDefinitions* PROTOBUF_NONNULL other) { 4420 if (other == this) return; 4421 ABSL_DCHECK(GetArena() == other->GetArena()); 4422 InternalSwap(other); 4423 } 4424 4425 // implements Message ---------------------------------------------- 4426 4427 SecurityDefinitions* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { 4428 return ::google::protobuf::Message::DefaultConstruct<SecurityDefinitions>(arena); 4429 } 4430 using ::google::protobuf::Message::CopyFrom; 4431 void CopyFrom(const SecurityDefinitions& from); 4432 using ::google::protobuf::Message::MergeFrom; 4433 void MergeFrom(const SecurityDefinitions& from) { SecurityDefinitions::MergeImpl(*this, from); } 4434 4435 private: 4436 static void MergeImpl(::google::protobuf::MessageLite& to_msg, 4437 const ::google::protobuf::MessageLite& from_msg); 4438 4439 public: 4440 bool IsInitialized() const { 4441 return true; 4442 } 4443 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; 4444 #if defined(PROTOBUF_CUSTOM_VTABLE) 4445 private: 4446 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); 4447 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 4448 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, 4449 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); 4450 4451 public: 4452 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } 4453 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 4454 ::uint8_t* PROTOBUF_NONNULL target, 4455 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 4456 return _InternalSerialize(*this, target, stream); 4457 } 4458 #else // PROTOBUF_CUSTOM_VTABLE 4459 ::size_t ByteSizeLong() const final; 4460 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 4461 ::uint8_t* PROTOBUF_NONNULL target, 4462 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; 4463 #endif // PROTOBUF_CUSTOM_VTABLE 4464 int GetCachedSize() const { return _impl_._cached_size_.Get(); } 4465 4466 private: 4467 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 4468 static void SharedDtor(MessageLite& self); 4469 void InternalSwap(SecurityDefinitions* PROTOBUF_NONNULL other); 4470 private: 4471 template <typename T> 4472 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); 4473 static ::absl::string_view FullMessageName() { return "grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions"; } 4474 4475 protected: 4476 explicit SecurityDefinitions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 4477 SecurityDefinitions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SecurityDefinitions& from); 4478 SecurityDefinitions( 4479 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SecurityDefinitions&& from) noexcept 4480 : SecurityDefinitions(arena) { 4481 *this = ::std::move(from); 4482 } 4483 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 4484 static void* PROTOBUF_NONNULL PlacementNew_( 4485 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 4486 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 4487 static constexpr auto InternalNewImpl_(); 4488 4489 public: 4490 static constexpr auto InternalGenerateClassData_(); 4491 4492 ::google::protobuf::Metadata GetMetadata() const; 4493 // nested types ---------------------------------------------------- 4494 4495 // accessors ------------------------------------------------------- 4496 enum : int { 4497 kSecurityFieldNumber = 1, 4498 }; 4499 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme> security = 1; 4500 int security_size() const; 4501 private: 4502 int _internal_security_size() const; 4503 4504 public: 4505 void clear_security() ; 4506 const ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme>& security() const; 4507 ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme>* PROTOBUF_NONNULL mutable_security(); 4508 4509 private: 4510 const ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme>& _internal_security() const; 4511 ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme>* PROTOBUF_NONNULL _internal_mutable_security(); 4512 4513 public: 4514 // @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions) 4515 private: 4516 class _Internal; 4517 friend class ::google::protobuf::internal::TcParser; 4518 static const ::google::protobuf::internal::TcParseTable<0, 1, 4519 2, 78, 4520 2> 4521 _table_; 4522 4523 friend class ::google::protobuf::MessageLite; 4524 friend class ::google::protobuf::Arena; 4525 template <typename T> 4526 friend class ::google::protobuf::Arena::InternalHelper; 4527 using InternalArenaConstructable_ = void; 4528 using DestructorSkippable_ = void; 4529 struct Impl_ { 4530 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; 4531 inline explicit Impl_( 4532 ::google::protobuf::internal::InternalVisibility visibility, 4533 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 4534 inline explicit Impl_( 4535 ::google::protobuf::internal::InternalVisibility visibility, 4536 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 4537 const SecurityDefinitions& from_msg); 4538 ::google::protobuf::internal::MapField<SecurityDefinitions_SecurityEntry_DoNotUse, std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme, 4539 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 4540 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> 4541 security_; 4542 ::google::protobuf::internal::CachedSize _cached_size_; 4543 PROTOBUF_TSAN_DECLARE_MEMBER 4544 }; 4545 union { Impl_ _impl_; }; 4546 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 4547 }; 4548 4549 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull SecurityDefinitions_class_data_; 4550 // ------------------------------------------------------------------- 4551 4552 class AGONES_EXPORT Response final : public ::google::protobuf::Message 4553 /* @@protoc_insertion_point(class_definition:grpc.gateway.protoc_gen_openapiv2.options.Response) */ { 4554 public: 4555 inline Response() : Response(nullptr) {} 4556 ~Response() PROTOBUF_FINAL; 4557 4558 #if defined(PROTOBUF_CUSTOM_VTABLE) 4559 void operator delete(Response* PROTOBUF_NONNULL msg, std::destroying_delete_t) { 4560 SharedDtor(*msg); 4561 ::google::protobuf::internal::SizedDelete(msg, sizeof(Response)); 4562 } 4563 #endif 4564 4565 template <typename = void> 4566 explicit PROTOBUF_CONSTEXPR Response(::google::protobuf::internal::ConstantInitialized); 4567 4568 inline Response(const Response& from) : Response(nullptr, from) {} 4569 inline Response(Response&& from) noexcept 4570 : Response(nullptr, std::move(from)) {} 4571 inline Response& operator=(const Response& from) { 4572 CopyFrom(from); 4573 return *this; 4574 } 4575 inline Response& operator=(Response&& from) noexcept { 4576 if (this == &from) return *this; 4577 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { 4578 InternalSwap(&from); 4579 } else { 4580 CopyFrom(from); 4581 } 4582 return *this; 4583 } 4584 4585 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const 4586 ABSL_ATTRIBUTE_LIFETIME_BOUND { 4587 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); 4588 } 4589 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() 4590 ABSL_ATTRIBUTE_LIFETIME_BOUND { 4591 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); 4592 } 4593 4594 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { 4595 return GetDescriptor(); 4596 } 4597 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { 4598 return default_instance().GetMetadata().descriptor; 4599 } 4600 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { 4601 return default_instance().GetMetadata().reflection; 4602 } 4603 static const Response& default_instance() { 4604 return *reinterpret_cast<const Response*>( 4605 &_Response_default_instance_); 4606 } 4607 static constexpr int kIndexInFileMessages = 10; 4608 friend void swap(Response& a, Response& b) { a.Swap(&b); } 4609 inline void Swap(Response* PROTOBUF_NONNULL other) { 4610 if (other == this) return; 4611 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { 4612 InternalSwap(other); 4613 } else { 4614 ::google::protobuf::internal::GenericSwap(this, other); 4615 } 4616 } 4617 void UnsafeArenaSwap(Response* PROTOBUF_NONNULL other) { 4618 if (other == this) return; 4619 ABSL_DCHECK(GetArena() == other->GetArena()); 4620 InternalSwap(other); 4621 } 4622 4623 // implements Message ---------------------------------------------- 4624 4625 Response* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { 4626 return ::google::protobuf::Message::DefaultConstruct<Response>(arena); 4627 } 4628 using ::google::protobuf::Message::CopyFrom; 4629 void CopyFrom(const Response& from); 4630 using ::google::protobuf::Message::MergeFrom; 4631 void MergeFrom(const Response& from) { Response::MergeImpl(*this, from); } 4632 4633 private: 4634 static void MergeImpl(::google::protobuf::MessageLite& to_msg, 4635 const ::google::protobuf::MessageLite& from_msg); 4636 4637 public: 4638 bool IsInitialized() const { 4639 return true; 4640 } 4641 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; 4642 #if defined(PROTOBUF_CUSTOM_VTABLE) 4643 private: 4644 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); 4645 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 4646 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, 4647 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); 4648 4649 public: 4650 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } 4651 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 4652 ::uint8_t* PROTOBUF_NONNULL target, 4653 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 4654 return _InternalSerialize(*this, target, stream); 4655 } 4656 #else // PROTOBUF_CUSTOM_VTABLE 4657 ::size_t ByteSizeLong() const final; 4658 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 4659 ::uint8_t* PROTOBUF_NONNULL target, 4660 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; 4661 #endif // PROTOBUF_CUSTOM_VTABLE 4662 int GetCachedSize() const { return _impl_._cached_size_.Get(); } 4663 4664 private: 4665 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 4666 static void SharedDtor(MessageLite& self); 4667 void InternalSwap(Response* PROTOBUF_NONNULL other); 4668 private: 4669 template <typename T> 4670 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); 4671 static ::absl::string_view FullMessageName() { return "grpc.gateway.protoc_gen_openapiv2.options.Response"; } 4672 4673 protected: 4674 explicit Response(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 4675 Response(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Response& from); 4676 Response( 4677 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Response&& from) noexcept 4678 : Response(arena) { 4679 *this = ::std::move(from); 4680 } 4681 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 4682 static void* PROTOBUF_NONNULL PlacementNew_( 4683 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 4684 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 4685 static constexpr auto InternalNewImpl_(); 4686 4687 public: 4688 static constexpr auto InternalGenerateClassData_(); 4689 4690 ::google::protobuf::Metadata GetMetadata() const; 4691 // nested types ---------------------------------------------------- 4692 4693 // accessors ------------------------------------------------------- 4694 enum : int { 4695 kHeadersFieldNumber = 3, 4696 kExamplesFieldNumber = 4, 4697 kExtensionsFieldNumber = 5, 4698 kDescriptionFieldNumber = 1, 4699 kSchemaFieldNumber = 2, 4700 }; 4701 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.Header> headers = 3; 4702 int headers_size() const; 4703 private: 4704 int _internal_headers_size() const; 4705 4706 public: 4707 void clear_headers() ; 4708 const ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Header>& headers() const; 4709 ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Header>* PROTOBUF_NONNULL mutable_headers(); 4710 4711 private: 4712 const ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Header>& _internal_headers() const; 4713 ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Header>* PROTOBUF_NONNULL _internal_mutable_headers(); 4714 4715 public: 4716 // map<string, string> examples = 4; 4717 int examples_size() const; 4718 private: 4719 int _internal_examples_size() const; 4720 4721 public: 4722 void clear_examples() ; 4723 const ::google::protobuf::Map<std::string, std::string>& examples() const; 4724 ::google::protobuf::Map<std::string, std::string>* PROTOBUF_NONNULL mutable_examples(); 4725 4726 private: 4727 const ::google::protobuf::Map<std::string, std::string>& _internal_examples() const; 4728 ::google::protobuf::Map<std::string, std::string>* PROTOBUF_NONNULL _internal_mutable_examples(); 4729 4730 public: 4731 // map<string, .google.protobuf.Value> extensions = 5; 4732 int extensions_size() const; 4733 private: 4734 int _internal_extensions_size() const; 4735 4736 public: 4737 void clear_extensions() ; 4738 const ::google::protobuf::Map<std::string, ::google::protobuf::Value>& extensions() const; 4739 ::google::protobuf::Map<std::string, ::google::protobuf::Value>* PROTOBUF_NONNULL mutable_extensions(); 4740 4741 private: 4742 const ::google::protobuf::Map<std::string, ::google::protobuf::Value>& _internal_extensions() const; 4743 ::google::protobuf::Map<std::string, ::google::protobuf::Value>* PROTOBUF_NONNULL _internal_mutable_extensions(); 4744 4745 public: 4746 // string description = 1; 4747 void clear_description() ; 4748 const std::string& description() const; 4749 template <typename Arg_ = const std::string&, typename... Args_> 4750 void set_description(Arg_&& arg, Args_... args); 4751 std::string* PROTOBUF_NONNULL mutable_description(); 4752 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_description(); 4753 void set_allocated_description(std::string* PROTOBUF_NULLABLE value); 4754 4755 private: 4756 const std::string& _internal_description() const; 4757 PROTOBUF_ALWAYS_INLINE void _internal_set_description(const std::string& value); 4758 std::string* PROTOBUF_NONNULL _internal_mutable_description(); 4759 4760 public: 4761 // .grpc.gateway.protoc_gen_openapiv2.options.Schema schema = 2; 4762 bool has_schema() const; 4763 void clear_schema() ; 4764 const ::grpc::gateway::protoc_gen_openapiv2::options::Schema& schema() const; 4765 [[nodiscard]] ::grpc::gateway::protoc_gen_openapiv2::options::Schema* PROTOBUF_NULLABLE release_schema(); 4766 ::grpc::gateway::protoc_gen_openapiv2::options::Schema* PROTOBUF_NONNULL mutable_schema(); 4767 void set_allocated_schema(::grpc::gateway::protoc_gen_openapiv2::options::Schema* PROTOBUF_NULLABLE value); 4768 void unsafe_arena_set_allocated_schema(::grpc::gateway::protoc_gen_openapiv2::options::Schema* PROTOBUF_NULLABLE value); 4769 ::grpc::gateway::protoc_gen_openapiv2::options::Schema* PROTOBUF_NULLABLE unsafe_arena_release_schema(); 4770 4771 private: 4772 const ::grpc::gateway::protoc_gen_openapiv2::options::Schema& _internal_schema() const; 4773 ::grpc::gateway::protoc_gen_openapiv2::options::Schema* PROTOBUF_NONNULL _internal_mutable_schema(); 4774 4775 public: 4776 // @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Response) 4777 private: 4778 class _Internal; 4779 friend class ::google::protobuf::internal::TcParser; 4780 static const ::google::protobuf::internal::TcParseTable<1, 5, 4781 6, 95, 4782 2> 4783 _table_; 4784 4785 friend class ::google::protobuf::MessageLite; 4786 friend class ::google::protobuf::Arena; 4787 template <typename T> 4788 friend class ::google::protobuf::Arena::InternalHelper; 4789 using InternalArenaConstructable_ = void; 4790 using DestructorSkippable_ = void; 4791 struct Impl_ { 4792 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; 4793 inline explicit Impl_( 4794 ::google::protobuf::internal::InternalVisibility visibility, 4795 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 4796 inline explicit Impl_( 4797 ::google::protobuf::internal::InternalVisibility visibility, 4798 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 4799 const Response& from_msg); 4800 ::google::protobuf::internal::HasBits<1> _has_bits_; 4801 ::google::protobuf::internal::CachedSize _cached_size_; 4802 ::google::protobuf::internal::MapField<Response_HeadersEntry_DoNotUse, std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Header, 4803 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 4804 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> 4805 headers_; 4806 ::google::protobuf::internal::MapField<Response_ExamplesEntry_DoNotUse, std::string, std::string, 4807 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 4808 ::google::protobuf::internal::WireFormatLite::TYPE_STRING> 4809 examples_; 4810 ::google::protobuf::internal::MapField<Response_ExtensionsEntry_DoNotUse, std::string, ::google::protobuf::Value, 4811 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 4812 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> 4813 extensions_; 4814 ::google::protobuf::internal::ArenaStringPtr description_; 4815 ::grpc::gateway::protoc_gen_openapiv2::options::Schema* PROTOBUF_NULLABLE schema_; 4816 PROTOBUF_TSAN_DECLARE_MEMBER 4817 }; 4818 union { Impl_ _impl_; }; 4819 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 4820 }; 4821 4822 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Response_class_data_; 4823 // ------------------------------------------------------------------- 4824 4825 class Swagger_ResponsesEntry_DoNotUse final 4826 : public ::google::protobuf::internal::MapEntry<std::string, ::google::protobuf::Message, 4827 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 4828 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> { 4829 public: 4830 using SuperType = 4831 ::google::protobuf::internal::MapEntry<std::string, ::google::protobuf::Message, 4832 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 4833 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>; 4834 Swagger_ResponsesEntry_DoNotUse(); 4835 template <typename = void> 4836 explicit PROTOBUF_CONSTEXPR Swagger_ResponsesEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized); 4837 explicit Swagger_ResponsesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 4838 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() { 4839 return &_Swagger_ResponsesEntry_DoNotUse_default_instance_; 4840 } 4841 4842 4843 static constexpr auto InternalGenerateClassData_(); 4844 4845 private: 4846 friend class ::google::protobuf::MessageLite; 4847 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 4848 4849 friend class ::google::protobuf::internal::TcParser; 4850 static const ::google::protobuf::internal::TcParseTable<1, 2, 4851 1, 76, 4852 2> 4853 _table_; 4854 4855 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 4856 static void* PROTOBUF_NONNULL PlacementNew_( 4857 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 4858 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 4859 static constexpr auto InternalNewImpl_(); 4860 }; 4861 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Swagger_ResponsesEntry_DoNotUse_class_data_; 4862 // ------------------------------------------------------------------- 4863 4864 class Operation_ResponsesEntry_DoNotUse final 4865 : public ::google::protobuf::internal::MapEntry<std::string, ::google::protobuf::Message, 4866 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 4867 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> { 4868 public: 4869 using SuperType = 4870 ::google::protobuf::internal::MapEntry<std::string, ::google::protobuf::Message, 4871 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 4872 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>; 4873 Operation_ResponsesEntry_DoNotUse(); 4874 template <typename = void> 4875 explicit PROTOBUF_CONSTEXPR Operation_ResponsesEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized); 4876 explicit Operation_ResponsesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 4877 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() { 4878 return &_Operation_ResponsesEntry_DoNotUse_default_instance_; 4879 } 4880 4881 4882 static constexpr auto InternalGenerateClassData_(); 4883 4884 private: 4885 friend class ::google::protobuf::MessageLite; 4886 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 4887 4888 friend class ::google::protobuf::internal::TcParser; 4889 static const ::google::protobuf::internal::TcParseTable<1, 2, 4890 1, 78, 4891 2> 4892 _table_; 4893 4894 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 4895 static void* PROTOBUF_NONNULL PlacementNew_( 4896 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 4897 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 4898 static constexpr auto InternalNewImpl_(); 4899 }; 4900 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Operation_ResponsesEntry_DoNotUse_class_data_; 4901 // ------------------------------------------------------------------- 4902 4903 class AGONES_EXPORT Swagger final : public ::google::protobuf::Message 4904 /* @@protoc_insertion_point(class_definition:grpc.gateway.protoc_gen_openapiv2.options.Swagger) */ { 4905 public: 4906 inline Swagger() : Swagger(nullptr) {} 4907 ~Swagger() PROTOBUF_FINAL; 4908 4909 #if defined(PROTOBUF_CUSTOM_VTABLE) 4910 void operator delete(Swagger* PROTOBUF_NONNULL msg, std::destroying_delete_t) { 4911 SharedDtor(*msg); 4912 ::google::protobuf::internal::SizedDelete(msg, sizeof(Swagger)); 4913 } 4914 #endif 4915 4916 template <typename = void> 4917 explicit PROTOBUF_CONSTEXPR Swagger(::google::protobuf::internal::ConstantInitialized); 4918 4919 inline Swagger(const Swagger& from) : Swagger(nullptr, from) {} 4920 inline Swagger(Swagger&& from) noexcept 4921 : Swagger(nullptr, std::move(from)) {} 4922 inline Swagger& operator=(const Swagger& from) { 4923 CopyFrom(from); 4924 return *this; 4925 } 4926 inline Swagger& operator=(Swagger&& from) noexcept { 4927 if (this == &from) return *this; 4928 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { 4929 InternalSwap(&from); 4930 } else { 4931 CopyFrom(from); 4932 } 4933 return *this; 4934 } 4935 4936 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const 4937 ABSL_ATTRIBUTE_LIFETIME_BOUND { 4938 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); 4939 } 4940 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() 4941 ABSL_ATTRIBUTE_LIFETIME_BOUND { 4942 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); 4943 } 4944 4945 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { 4946 return GetDescriptor(); 4947 } 4948 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { 4949 return default_instance().GetMetadata().descriptor; 4950 } 4951 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { 4952 return default_instance().GetMetadata().reflection; 4953 } 4954 static const Swagger& default_instance() { 4955 return *reinterpret_cast<const Swagger*>( 4956 &_Swagger_default_instance_); 4957 } 4958 static constexpr int kIndexInFileMessages = 2; 4959 friend void swap(Swagger& a, Swagger& b) { a.Swap(&b); } 4960 inline void Swap(Swagger* PROTOBUF_NONNULL other) { 4961 if (other == this) return; 4962 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { 4963 InternalSwap(other); 4964 } else { 4965 ::google::protobuf::internal::GenericSwap(this, other); 4966 } 4967 } 4968 void UnsafeArenaSwap(Swagger* PROTOBUF_NONNULL other) { 4969 if (other == this) return; 4970 ABSL_DCHECK(GetArena() == other->GetArena()); 4971 InternalSwap(other); 4972 } 4973 4974 // implements Message ---------------------------------------------- 4975 4976 Swagger* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { 4977 return ::google::protobuf::Message::DefaultConstruct<Swagger>(arena); 4978 } 4979 using ::google::protobuf::Message::CopyFrom; 4980 void CopyFrom(const Swagger& from); 4981 using ::google::protobuf::Message::MergeFrom; 4982 void MergeFrom(const Swagger& from) { Swagger::MergeImpl(*this, from); } 4983 4984 private: 4985 static void MergeImpl(::google::protobuf::MessageLite& to_msg, 4986 const ::google::protobuf::MessageLite& from_msg); 4987 4988 public: 4989 bool IsInitialized() const { 4990 return true; 4991 } 4992 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; 4993 #if defined(PROTOBUF_CUSTOM_VTABLE) 4994 private: 4995 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); 4996 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 4997 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, 4998 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); 4999 5000 public: 5001 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } 5002 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 5003 ::uint8_t* PROTOBUF_NONNULL target, 5004 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 5005 return _InternalSerialize(*this, target, stream); 5006 } 5007 #else // PROTOBUF_CUSTOM_VTABLE 5008 ::size_t ByteSizeLong() const final; 5009 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 5010 ::uint8_t* PROTOBUF_NONNULL target, 5011 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; 5012 #endif // PROTOBUF_CUSTOM_VTABLE 5013 int GetCachedSize() const { return _impl_._cached_size_.Get(); } 5014 5015 private: 5016 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 5017 static void SharedDtor(MessageLite& self); 5018 void InternalSwap(Swagger* PROTOBUF_NONNULL other); 5019 private: 5020 template <typename T> 5021 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); 5022 static ::absl::string_view FullMessageName() { return "grpc.gateway.protoc_gen_openapiv2.options.Swagger"; } 5023 5024 protected: 5025 explicit Swagger(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 5026 Swagger(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Swagger& from); 5027 Swagger( 5028 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Swagger&& from) noexcept 5029 : Swagger(arena) { 5030 *this = ::std::move(from); 5031 } 5032 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 5033 static void* PROTOBUF_NONNULL PlacementNew_( 5034 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 5035 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 5036 static constexpr auto InternalNewImpl_(); 5037 5038 public: 5039 static constexpr auto InternalGenerateClassData_(); 5040 5041 ::google::protobuf::Metadata GetMetadata() const; 5042 // nested types ---------------------------------------------------- 5043 5044 // accessors ------------------------------------------------------- 5045 enum : int { 5046 kSchemesFieldNumber = 5, 5047 kConsumesFieldNumber = 6, 5048 kProducesFieldNumber = 7, 5049 kResponsesFieldNumber = 10, 5050 kSecurityFieldNumber = 12, 5051 kExtensionsFieldNumber = 15, 5052 kSwaggerFieldNumber = 1, 5053 kHostFieldNumber = 3, 5054 kBasePathFieldNumber = 4, 5055 kInfoFieldNumber = 2, 5056 kSecurityDefinitionsFieldNumber = 11, 5057 kExternalDocsFieldNumber = 14, 5058 }; 5059 // repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 5; 5060 int schemes_size() const; 5061 private: 5062 int _internal_schemes_size() const; 5063 5064 public: 5065 void clear_schemes() ; 5066 public: 5067 ::grpc::gateway::protoc_gen_openapiv2::options::Scheme schemes(int index) const; 5068 void set_schemes(int index, ::grpc::gateway::protoc_gen_openapiv2::options::Scheme value); 5069 void add_schemes(::grpc::gateway::protoc_gen_openapiv2::options::Scheme value); 5070 const ::google::protobuf::RepeatedField<int>& schemes() const; 5071 ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL mutable_schemes(); 5072 5073 private: 5074 const ::google::protobuf::RepeatedField<int>& _internal_schemes() const; 5075 ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL _internal_mutable_schemes(); 5076 5077 public: 5078 // repeated string consumes = 6; 5079 int consumes_size() const; 5080 private: 5081 int _internal_consumes_size() const; 5082 5083 public: 5084 void clear_consumes() ; 5085 const std::string& consumes(int index) const; 5086 std::string* PROTOBUF_NONNULL mutable_consumes(int index); 5087 template <typename Arg_ = const std::string&, typename... Args_> 5088 void set_consumes(int index, Arg_&& value, Args_... args); 5089 std::string* PROTOBUF_NONNULL add_consumes(); 5090 template <typename Arg_ = const std::string&, typename... Args_> 5091 void add_consumes(Arg_&& value, Args_... args); 5092 const ::google::protobuf::RepeatedPtrField<std::string>& consumes() const; 5093 ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL mutable_consumes(); 5094 5095 private: 5096 const ::google::protobuf::RepeatedPtrField<std::string>& _internal_consumes() const; 5097 ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL _internal_mutable_consumes(); 5098 5099 public: 5100 // repeated string produces = 7; 5101 int produces_size() const; 5102 private: 5103 int _internal_produces_size() const; 5104 5105 public: 5106 void clear_produces() ; 5107 const std::string& produces(int index) const; 5108 std::string* PROTOBUF_NONNULL mutable_produces(int index); 5109 template <typename Arg_ = const std::string&, typename... Args_> 5110 void set_produces(int index, Arg_&& value, Args_... args); 5111 std::string* PROTOBUF_NONNULL add_produces(); 5112 template <typename Arg_ = const std::string&, typename... Args_> 5113 void add_produces(Arg_&& value, Args_... args); 5114 const ::google::protobuf::RepeatedPtrField<std::string>& produces() const; 5115 ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL mutable_produces(); 5116 5117 private: 5118 const ::google::protobuf::RepeatedPtrField<std::string>& _internal_produces() const; 5119 ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL _internal_mutable_produces(); 5120 5121 public: 5122 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 10; 5123 int responses_size() const; 5124 private: 5125 int _internal_responses_size() const; 5126 5127 public: 5128 void clear_responses() ; 5129 const ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response>& responses() const; 5130 ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response>* PROTOBUF_NONNULL mutable_responses(); 5131 5132 private: 5133 const ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response>& _internal_responses() const; 5134 ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response>* PROTOBUF_NONNULL _internal_mutable_responses(); 5135 5136 public: 5137 // repeated .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12; 5138 int security_size() const; 5139 private: 5140 int _internal_security_size() const; 5141 5142 public: 5143 void clear_security() ; 5144 ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement* PROTOBUF_NONNULL mutable_security(int index); 5145 ::google::protobuf::RepeatedPtrField<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement>* PROTOBUF_NONNULL mutable_security(); 5146 5147 private: 5148 const ::google::protobuf::RepeatedPtrField<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement>& _internal_security() const; 5149 ::google::protobuf::RepeatedPtrField<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement>* PROTOBUF_NONNULL _internal_mutable_security(); 5150 public: 5151 const ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement& security(int index) const; 5152 ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement* PROTOBUF_NONNULL add_security(); 5153 const ::google::protobuf::RepeatedPtrField<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement>& security() const; 5154 // map<string, .google.protobuf.Value> extensions = 15; 5155 int extensions_size() const; 5156 private: 5157 int _internal_extensions_size() const; 5158 5159 public: 5160 void clear_extensions() ; 5161 const ::google::protobuf::Map<std::string, ::google::protobuf::Value>& extensions() const; 5162 ::google::protobuf::Map<std::string, ::google::protobuf::Value>* PROTOBUF_NONNULL mutable_extensions(); 5163 5164 private: 5165 const ::google::protobuf::Map<std::string, ::google::protobuf::Value>& _internal_extensions() const; 5166 ::google::protobuf::Map<std::string, ::google::protobuf::Value>* PROTOBUF_NONNULL _internal_mutable_extensions(); 5167 5168 public: 5169 // string swagger = 1; 5170 void clear_swagger() ; 5171 const std::string& swagger() const; 5172 template <typename Arg_ = const std::string&, typename... Args_> 5173 void set_swagger(Arg_&& arg, Args_... args); 5174 std::string* PROTOBUF_NONNULL mutable_swagger(); 5175 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_swagger(); 5176 void set_allocated_swagger(std::string* PROTOBUF_NULLABLE value); 5177 5178 private: 5179 const std::string& _internal_swagger() const; 5180 PROTOBUF_ALWAYS_INLINE void _internal_set_swagger(const std::string& value); 5181 std::string* PROTOBUF_NONNULL _internal_mutable_swagger(); 5182 5183 public: 5184 // string host = 3; 5185 void clear_host() ; 5186 const std::string& host() const; 5187 template <typename Arg_ = const std::string&, typename... Args_> 5188 void set_host(Arg_&& arg, Args_... args); 5189 std::string* PROTOBUF_NONNULL mutable_host(); 5190 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_host(); 5191 void set_allocated_host(std::string* PROTOBUF_NULLABLE value); 5192 5193 private: 5194 const std::string& _internal_host() const; 5195 PROTOBUF_ALWAYS_INLINE void _internal_set_host(const std::string& value); 5196 std::string* PROTOBUF_NONNULL _internal_mutable_host(); 5197 5198 public: 5199 // string base_path = 4; 5200 void clear_base_path() ; 5201 const std::string& base_path() const; 5202 template <typename Arg_ = const std::string&, typename... Args_> 5203 void set_base_path(Arg_&& arg, Args_... args); 5204 std::string* PROTOBUF_NONNULL mutable_base_path(); 5205 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_base_path(); 5206 void set_allocated_base_path(std::string* PROTOBUF_NULLABLE value); 5207 5208 private: 5209 const std::string& _internal_base_path() const; 5210 PROTOBUF_ALWAYS_INLINE void _internal_set_base_path(const std::string& value); 5211 std::string* PROTOBUF_NONNULL _internal_mutable_base_path(); 5212 5213 public: 5214 // .grpc.gateway.protoc_gen_openapiv2.options.Info info = 2; 5215 bool has_info() const; 5216 void clear_info() ; 5217 const ::grpc::gateway::protoc_gen_openapiv2::options::Info& info() const; 5218 [[nodiscard]] ::grpc::gateway::protoc_gen_openapiv2::options::Info* PROTOBUF_NULLABLE release_info(); 5219 ::grpc::gateway::protoc_gen_openapiv2::options::Info* PROTOBUF_NONNULL mutable_info(); 5220 void set_allocated_info(::grpc::gateway::protoc_gen_openapiv2::options::Info* PROTOBUF_NULLABLE value); 5221 void unsafe_arena_set_allocated_info(::grpc::gateway::protoc_gen_openapiv2::options::Info* PROTOBUF_NULLABLE value); 5222 ::grpc::gateway::protoc_gen_openapiv2::options::Info* PROTOBUF_NULLABLE unsafe_arena_release_info(); 5223 5224 private: 5225 const ::grpc::gateway::protoc_gen_openapiv2::options::Info& _internal_info() const; 5226 ::grpc::gateway::protoc_gen_openapiv2::options::Info* PROTOBUF_NONNULL _internal_mutable_info(); 5227 5228 public: 5229 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions security_definitions = 11; 5230 bool has_security_definitions() const; 5231 void clear_security_definitions() ; 5232 const ::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions& security_definitions() const; 5233 [[nodiscard]] ::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions* PROTOBUF_NULLABLE release_security_definitions(); 5234 ::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions* PROTOBUF_NONNULL mutable_security_definitions(); 5235 void set_allocated_security_definitions(::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions* PROTOBUF_NULLABLE value); 5236 void unsafe_arena_set_allocated_security_definitions(::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions* PROTOBUF_NULLABLE value); 5237 ::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions* PROTOBUF_NULLABLE unsafe_arena_release_security_definitions(); 5238 5239 private: 5240 const ::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions& _internal_security_definitions() const; 5241 ::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions* PROTOBUF_NONNULL _internal_mutable_security_definitions(); 5242 5243 public: 5244 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 14; 5245 bool has_external_docs() const; 5246 void clear_external_docs() ; 5247 const ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation& external_docs() const; 5248 [[nodiscard]] ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE release_external_docs(); 5249 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NONNULL mutable_external_docs(); 5250 void set_allocated_external_docs(::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE value); 5251 void unsafe_arena_set_allocated_external_docs(::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE value); 5252 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE unsafe_arena_release_external_docs(); 5253 5254 private: 5255 const ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation& _internal_external_docs() const; 5256 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NONNULL _internal_mutable_external_docs(); 5257 5258 public: 5259 // @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Swagger) 5260 private: 5261 class _Internal; 5262 friend class ::google::protobuf::internal::TcParser; 5263 static const ::google::protobuf::internal::TcParseTable<4, 12, 5264 8, 121, 5265 2> 5266 _table_; 5267 5268 friend class ::google::protobuf::MessageLite; 5269 friend class ::google::protobuf::Arena; 5270 template <typename T> 5271 friend class ::google::protobuf::Arena::InternalHelper; 5272 using InternalArenaConstructable_ = void; 5273 using DestructorSkippable_ = void; 5274 struct Impl_ { 5275 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; 5276 inline explicit Impl_( 5277 ::google::protobuf::internal::InternalVisibility visibility, 5278 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 5279 inline explicit Impl_( 5280 ::google::protobuf::internal::InternalVisibility visibility, 5281 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 5282 const Swagger& from_msg); 5283 ::google::protobuf::internal::HasBits<1> _has_bits_; 5284 ::google::protobuf::internal::CachedSize _cached_size_; 5285 ::google::protobuf::RepeatedField<int> schemes_; 5286 ::google::protobuf::internal::CachedSize _schemes_cached_byte_size_; 5287 ::google::protobuf::RepeatedPtrField<std::string> consumes_; 5288 ::google::protobuf::RepeatedPtrField<std::string> produces_; 5289 ::google::protobuf::internal::MapField<Swagger_ResponsesEntry_DoNotUse, std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response, 5290 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 5291 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> 5292 responses_; 5293 ::google::protobuf::RepeatedPtrField< ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement > security_; 5294 ::google::protobuf::internal::MapField<Swagger_ExtensionsEntry_DoNotUse, std::string, ::google::protobuf::Value, 5295 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 5296 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> 5297 extensions_; 5298 ::google::protobuf::internal::ArenaStringPtr swagger_; 5299 ::google::protobuf::internal::ArenaStringPtr host_; 5300 ::google::protobuf::internal::ArenaStringPtr base_path_; 5301 ::grpc::gateway::protoc_gen_openapiv2::options::Info* PROTOBUF_NULLABLE info_; 5302 ::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions* PROTOBUF_NULLABLE security_definitions_; 5303 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE external_docs_; 5304 PROTOBUF_TSAN_DECLARE_MEMBER 5305 }; 5306 union { Impl_ _impl_; }; 5307 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 5308 }; 5309 5310 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Swagger_class_data_; 5311 // ------------------------------------------------------------------- 5312 5313 class AGONES_EXPORT Operation final : public ::google::protobuf::Message 5314 /* @@protoc_insertion_point(class_definition:grpc.gateway.protoc_gen_openapiv2.options.Operation) */ { 5315 public: 5316 inline Operation() : Operation(nullptr) {} 5317 ~Operation() PROTOBUF_FINAL; 5318 5319 #if defined(PROTOBUF_CUSTOM_VTABLE) 5320 void operator delete(Operation* PROTOBUF_NONNULL msg, std::destroying_delete_t) { 5321 SharedDtor(*msg); 5322 ::google::protobuf::internal::SizedDelete(msg, sizeof(Operation)); 5323 } 5324 #endif 5325 5326 template <typename = void> 5327 explicit PROTOBUF_CONSTEXPR Operation(::google::protobuf::internal::ConstantInitialized); 5328 5329 inline Operation(const Operation& from) : Operation(nullptr, from) {} 5330 inline Operation(Operation&& from) noexcept 5331 : Operation(nullptr, std::move(from)) {} 5332 inline Operation& operator=(const Operation& from) { 5333 CopyFrom(from); 5334 return *this; 5335 } 5336 inline Operation& operator=(Operation&& from) noexcept { 5337 if (this == &from) return *this; 5338 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { 5339 InternalSwap(&from); 5340 } else { 5341 CopyFrom(from); 5342 } 5343 return *this; 5344 } 5345 5346 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const 5347 ABSL_ATTRIBUTE_LIFETIME_BOUND { 5348 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); 5349 } 5350 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() 5351 ABSL_ATTRIBUTE_LIFETIME_BOUND { 5352 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); 5353 } 5354 5355 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { 5356 return GetDescriptor(); 5357 } 5358 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { 5359 return default_instance().GetMetadata().descriptor; 5360 } 5361 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { 5362 return default_instance().GetMetadata().reflection; 5363 } 5364 static const Operation& default_instance() { 5365 return *reinterpret_cast<const Operation*>( 5366 &_Operation_default_instance_); 5367 } 5368 static constexpr int kIndexInFileMessages = 5; 5369 friend void swap(Operation& a, Operation& b) { a.Swap(&b); } 5370 inline void Swap(Operation* PROTOBUF_NONNULL other) { 5371 if (other == this) return; 5372 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { 5373 InternalSwap(other); 5374 } else { 5375 ::google::protobuf::internal::GenericSwap(this, other); 5376 } 5377 } 5378 void UnsafeArenaSwap(Operation* PROTOBUF_NONNULL other) { 5379 if (other == this) return; 5380 ABSL_DCHECK(GetArena() == other->GetArena()); 5381 InternalSwap(other); 5382 } 5383 5384 // implements Message ---------------------------------------------- 5385 5386 Operation* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { 5387 return ::google::protobuf::Message::DefaultConstruct<Operation>(arena); 5388 } 5389 using ::google::protobuf::Message::CopyFrom; 5390 void CopyFrom(const Operation& from); 5391 using ::google::protobuf::Message::MergeFrom; 5392 void MergeFrom(const Operation& from) { Operation::MergeImpl(*this, from); } 5393 5394 private: 5395 static void MergeImpl(::google::protobuf::MessageLite& to_msg, 5396 const ::google::protobuf::MessageLite& from_msg); 5397 5398 public: 5399 bool IsInitialized() const { 5400 return true; 5401 } 5402 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; 5403 #if defined(PROTOBUF_CUSTOM_VTABLE) 5404 private: 5405 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); 5406 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 5407 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, 5408 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); 5409 5410 public: 5411 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } 5412 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 5413 ::uint8_t* PROTOBUF_NONNULL target, 5414 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 5415 return _InternalSerialize(*this, target, stream); 5416 } 5417 #else // PROTOBUF_CUSTOM_VTABLE 5418 ::size_t ByteSizeLong() const final; 5419 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( 5420 ::uint8_t* PROTOBUF_NONNULL target, 5421 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; 5422 #endif // PROTOBUF_CUSTOM_VTABLE 5423 int GetCachedSize() const { return _impl_._cached_size_.Get(); } 5424 5425 private: 5426 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 5427 static void SharedDtor(MessageLite& self); 5428 void InternalSwap(Operation* PROTOBUF_NONNULL other); 5429 private: 5430 template <typename T> 5431 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); 5432 static ::absl::string_view FullMessageName() { return "grpc.gateway.protoc_gen_openapiv2.options.Operation"; } 5433 5434 protected: 5435 explicit Operation(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 5436 Operation(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Operation& from); 5437 Operation( 5438 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Operation&& from) noexcept 5439 : Operation(arena) { 5440 *this = ::std::move(from); 5441 } 5442 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; 5443 static void* PROTOBUF_NONNULL PlacementNew_( 5444 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 5445 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 5446 static constexpr auto InternalNewImpl_(); 5447 5448 public: 5449 static constexpr auto InternalGenerateClassData_(); 5450 5451 ::google::protobuf::Metadata GetMetadata() const; 5452 // nested types ---------------------------------------------------- 5453 5454 // accessors ------------------------------------------------------- 5455 enum : int { 5456 kTagsFieldNumber = 1, 5457 kConsumesFieldNumber = 6, 5458 kProducesFieldNumber = 7, 5459 kResponsesFieldNumber = 9, 5460 kSchemesFieldNumber = 10, 5461 kSecurityFieldNumber = 12, 5462 kExtensionsFieldNumber = 13, 5463 kSummaryFieldNumber = 2, 5464 kDescriptionFieldNumber = 3, 5465 kOperationIdFieldNumber = 5, 5466 kExternalDocsFieldNumber = 4, 5467 kDeprecatedFieldNumber = 11, 5468 }; 5469 // repeated string tags = 1; 5470 int tags_size() const; 5471 private: 5472 int _internal_tags_size() const; 5473 5474 public: 5475 void clear_tags() ; 5476 const std::string& tags(int index) const; 5477 std::string* PROTOBUF_NONNULL mutable_tags(int index); 5478 template <typename Arg_ = const std::string&, typename... Args_> 5479 void set_tags(int index, Arg_&& value, Args_... args); 5480 std::string* PROTOBUF_NONNULL add_tags(); 5481 template <typename Arg_ = const std::string&, typename... Args_> 5482 void add_tags(Arg_&& value, Args_... args); 5483 const ::google::protobuf::RepeatedPtrField<std::string>& tags() const; 5484 ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL mutable_tags(); 5485 5486 private: 5487 const ::google::protobuf::RepeatedPtrField<std::string>& _internal_tags() const; 5488 ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL _internal_mutable_tags(); 5489 5490 public: 5491 // repeated string consumes = 6; 5492 int consumes_size() const; 5493 private: 5494 int _internal_consumes_size() const; 5495 5496 public: 5497 void clear_consumes() ; 5498 const std::string& consumes(int index) const; 5499 std::string* PROTOBUF_NONNULL mutable_consumes(int index); 5500 template <typename Arg_ = const std::string&, typename... Args_> 5501 void set_consumes(int index, Arg_&& value, Args_... args); 5502 std::string* PROTOBUF_NONNULL add_consumes(); 5503 template <typename Arg_ = const std::string&, typename... Args_> 5504 void add_consumes(Arg_&& value, Args_... args); 5505 const ::google::protobuf::RepeatedPtrField<std::string>& consumes() const; 5506 ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL mutable_consumes(); 5507 5508 private: 5509 const ::google::protobuf::RepeatedPtrField<std::string>& _internal_consumes() const; 5510 ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL _internal_mutable_consumes(); 5511 5512 public: 5513 // repeated string produces = 7; 5514 int produces_size() const; 5515 private: 5516 int _internal_produces_size() const; 5517 5518 public: 5519 void clear_produces() ; 5520 const std::string& produces(int index) const; 5521 std::string* PROTOBUF_NONNULL mutable_produces(int index); 5522 template <typename Arg_ = const std::string&, typename... Args_> 5523 void set_produces(int index, Arg_&& value, Args_... args); 5524 std::string* PROTOBUF_NONNULL add_produces(); 5525 template <typename Arg_ = const std::string&, typename... Args_> 5526 void add_produces(Arg_&& value, Args_... args); 5527 const ::google::protobuf::RepeatedPtrField<std::string>& produces() const; 5528 ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL mutable_produces(); 5529 5530 private: 5531 const ::google::protobuf::RepeatedPtrField<std::string>& _internal_produces() const; 5532 ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL _internal_mutable_produces(); 5533 5534 public: 5535 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 9; 5536 int responses_size() const; 5537 private: 5538 int _internal_responses_size() const; 5539 5540 public: 5541 void clear_responses() ; 5542 const ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response>& responses() const; 5543 ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response>* PROTOBUF_NONNULL mutable_responses(); 5544 5545 private: 5546 const ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response>& _internal_responses() const; 5547 ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response>* PROTOBUF_NONNULL _internal_mutable_responses(); 5548 5549 public: 5550 // repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 10; 5551 int schemes_size() const; 5552 private: 5553 int _internal_schemes_size() const; 5554 5555 public: 5556 void clear_schemes() ; 5557 public: 5558 ::grpc::gateway::protoc_gen_openapiv2::options::Scheme schemes(int index) const; 5559 void set_schemes(int index, ::grpc::gateway::protoc_gen_openapiv2::options::Scheme value); 5560 void add_schemes(::grpc::gateway::protoc_gen_openapiv2::options::Scheme value); 5561 const ::google::protobuf::RepeatedField<int>& schemes() const; 5562 ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL mutable_schemes(); 5563 5564 private: 5565 const ::google::protobuf::RepeatedField<int>& _internal_schemes() const; 5566 ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL _internal_mutable_schemes(); 5567 5568 public: 5569 // repeated .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12; 5570 int security_size() const; 5571 private: 5572 int _internal_security_size() const; 5573 5574 public: 5575 void clear_security() ; 5576 ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement* PROTOBUF_NONNULL mutable_security(int index); 5577 ::google::protobuf::RepeatedPtrField<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement>* PROTOBUF_NONNULL mutable_security(); 5578 5579 private: 5580 const ::google::protobuf::RepeatedPtrField<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement>& _internal_security() const; 5581 ::google::protobuf::RepeatedPtrField<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement>* PROTOBUF_NONNULL _internal_mutable_security(); 5582 public: 5583 const ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement& security(int index) const; 5584 ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement* PROTOBUF_NONNULL add_security(); 5585 const ::google::protobuf::RepeatedPtrField<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement>& security() const; 5586 // map<string, .google.protobuf.Value> extensions = 13; 5587 int extensions_size() const; 5588 private: 5589 int _internal_extensions_size() const; 5590 5591 public: 5592 void clear_extensions() ; 5593 const ::google::protobuf::Map<std::string, ::google::protobuf::Value>& extensions() const; 5594 ::google::protobuf::Map<std::string, ::google::protobuf::Value>* PROTOBUF_NONNULL mutable_extensions(); 5595 5596 private: 5597 const ::google::protobuf::Map<std::string, ::google::protobuf::Value>& _internal_extensions() const; 5598 ::google::protobuf::Map<std::string, ::google::protobuf::Value>* PROTOBUF_NONNULL _internal_mutable_extensions(); 5599 5600 public: 5601 // string summary = 2; 5602 void clear_summary() ; 5603 const std::string& summary() const; 5604 template <typename Arg_ = const std::string&, typename... Args_> 5605 void set_summary(Arg_&& arg, Args_... args); 5606 std::string* PROTOBUF_NONNULL mutable_summary(); 5607 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_summary(); 5608 void set_allocated_summary(std::string* PROTOBUF_NULLABLE value); 5609 5610 private: 5611 const std::string& _internal_summary() const; 5612 PROTOBUF_ALWAYS_INLINE void _internal_set_summary(const std::string& value); 5613 std::string* PROTOBUF_NONNULL _internal_mutable_summary(); 5614 5615 public: 5616 // string description = 3; 5617 void clear_description() ; 5618 const std::string& description() const; 5619 template <typename Arg_ = const std::string&, typename... Args_> 5620 void set_description(Arg_&& arg, Args_... args); 5621 std::string* PROTOBUF_NONNULL mutable_description(); 5622 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_description(); 5623 void set_allocated_description(std::string* PROTOBUF_NULLABLE value); 5624 5625 private: 5626 const std::string& _internal_description() const; 5627 PROTOBUF_ALWAYS_INLINE void _internal_set_description(const std::string& value); 5628 std::string* PROTOBUF_NONNULL _internal_mutable_description(); 5629 5630 public: 5631 // string operation_id = 5; 5632 void clear_operation_id() ; 5633 const std::string& operation_id() const; 5634 template <typename Arg_ = const std::string&, typename... Args_> 5635 void set_operation_id(Arg_&& arg, Args_... args); 5636 std::string* PROTOBUF_NONNULL mutable_operation_id(); 5637 [[nodiscard]] std::string* PROTOBUF_NULLABLE release_operation_id(); 5638 void set_allocated_operation_id(std::string* PROTOBUF_NULLABLE value); 5639 5640 private: 5641 const std::string& _internal_operation_id() const; 5642 PROTOBUF_ALWAYS_INLINE void _internal_set_operation_id(const std::string& value); 5643 std::string* PROTOBUF_NONNULL _internal_mutable_operation_id(); 5644 5645 public: 5646 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 4; 5647 bool has_external_docs() const; 5648 void clear_external_docs() ; 5649 const ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation& external_docs() const; 5650 [[nodiscard]] ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE release_external_docs(); 5651 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NONNULL mutable_external_docs(); 5652 void set_allocated_external_docs(::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE value); 5653 void unsafe_arena_set_allocated_external_docs(::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE value); 5654 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE unsafe_arena_release_external_docs(); 5655 5656 private: 5657 const ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation& _internal_external_docs() const; 5658 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NONNULL _internal_mutable_external_docs(); 5659 5660 public: 5661 // bool deprecated = 11; 5662 void clear_deprecated() ; 5663 bool deprecated() const; 5664 void set_deprecated(bool value); 5665 5666 private: 5667 bool _internal_deprecated() const; 5668 void _internal_set_deprecated(bool value); 5669 5670 public: 5671 // @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Operation) 5672 private: 5673 class _Internal; 5674 friend class ::google::protobuf::internal::TcParser; 5675 static const ::google::protobuf::internal::TcParseTable<4, 12, 5676 6, 137, 5677 2> 5678 _table_; 5679 5680 friend class ::google::protobuf::MessageLite; 5681 friend class ::google::protobuf::Arena; 5682 template <typename T> 5683 friend class ::google::protobuf::Arena::InternalHelper; 5684 using InternalArenaConstructable_ = void; 5685 using DestructorSkippable_ = void; 5686 struct Impl_ { 5687 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; 5688 inline explicit Impl_( 5689 ::google::protobuf::internal::InternalVisibility visibility, 5690 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); 5691 inline explicit Impl_( 5692 ::google::protobuf::internal::InternalVisibility visibility, 5693 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 5694 const Operation& from_msg); 5695 ::google::protobuf::internal::HasBits<1> _has_bits_; 5696 ::google::protobuf::internal::CachedSize _cached_size_; 5697 ::google::protobuf::RepeatedPtrField<std::string> tags_; 5698 ::google::protobuf::RepeatedPtrField<std::string> consumes_; 5699 ::google::protobuf::RepeatedPtrField<std::string> produces_; 5700 ::google::protobuf::internal::MapField<Operation_ResponsesEntry_DoNotUse, std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response, 5701 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 5702 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> 5703 responses_; 5704 ::google::protobuf::RepeatedField<int> schemes_; 5705 ::google::protobuf::internal::CachedSize _schemes_cached_byte_size_; 5706 ::google::protobuf::RepeatedPtrField< ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement > security_; 5707 ::google::protobuf::internal::MapField<Operation_ExtensionsEntry_DoNotUse, std::string, ::google::protobuf::Value, 5708 ::google::protobuf::internal::WireFormatLite::TYPE_STRING, 5709 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> 5710 extensions_; 5711 ::google::protobuf::internal::ArenaStringPtr summary_; 5712 ::google::protobuf::internal::ArenaStringPtr description_; 5713 ::google::protobuf::internal::ArenaStringPtr operation_id_; 5714 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE external_docs_; 5715 bool deprecated_; 5716 PROTOBUF_TSAN_DECLARE_MEMBER 5717 }; 5718 union { Impl_ _impl_; }; 5719 friend struct ::TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto; 5720 }; 5721 5722 AGONES_EXPORT extern const ::google::protobuf::internal::ClassDataFull Operation_class_data_; 5723 5724 // =================================================================== 5725 5726 5727 5728 5729 // =================================================================== 5730 5731 5732 #ifdef __GNUC__ 5733 #pragma GCC diagnostic push 5734 #pragma GCC diagnostic ignored "-Wstrict-aliasing" 5735 #endif // __GNUC__ 5736 // ------------------------------------------------------------------- 5737 5738 // ------------------------------------------------------------------- 5739 5740 // ------------------------------------------------------------------- 5741 5742 // Swagger 5743 5744 // string swagger = 1; 5745 inline void Swagger::clear_swagger() { 5746 ::google::protobuf::internal::TSanWrite(&_impl_); 5747 _impl_.swagger_.ClearToEmpty(); 5748 _impl_._has_bits_[0] &= ~0x00000001u; 5749 } 5750 inline const std::string& Swagger::swagger() const 5751 ABSL_ATTRIBUTE_LIFETIME_BOUND { 5752 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Swagger.swagger) 5753 return _internal_swagger(); 5754 } 5755 template <typename Arg_, typename... Args_> 5756 PROTOBUF_ALWAYS_INLINE void Swagger::set_swagger(Arg_&& arg, Args_... args) { 5757 ::google::protobuf::internal::TSanWrite(&_impl_); 5758 _impl_._has_bits_[0] |= 0x00000001u; 5759 _impl_.swagger_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 5760 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Swagger.swagger) 5761 } 5762 inline std::string* PROTOBUF_NONNULL Swagger::mutable_swagger() 5763 ABSL_ATTRIBUTE_LIFETIME_BOUND { 5764 std::string* _s = _internal_mutable_swagger(); 5765 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Swagger.swagger) 5766 return _s; 5767 } 5768 inline const std::string& Swagger::_internal_swagger() const { 5769 ::google::protobuf::internal::TSanRead(&_impl_); 5770 return _impl_.swagger_.Get(); 5771 } 5772 inline void Swagger::_internal_set_swagger(const std::string& value) { 5773 ::google::protobuf::internal::TSanWrite(&_impl_); 5774 _impl_._has_bits_[0] |= 0x00000001u; 5775 _impl_.swagger_.Set(value, GetArena()); 5776 } 5777 inline std::string* PROTOBUF_NONNULL Swagger::_internal_mutable_swagger() { 5778 ::google::protobuf::internal::TSanWrite(&_impl_); 5779 _impl_._has_bits_[0] |= 0x00000001u; 5780 return _impl_.swagger_.Mutable( GetArena()); 5781 } 5782 inline std::string* PROTOBUF_NULLABLE Swagger::release_swagger() { 5783 ::google::protobuf::internal::TSanWrite(&_impl_); 5784 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Swagger.swagger) 5785 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { 5786 return nullptr; 5787 } 5788 _impl_._has_bits_[0] &= ~0x00000001u; 5789 auto* released = _impl_.swagger_.Release(); 5790 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 5791 _impl_.swagger_.Set("", GetArena()); 5792 } 5793 return released; 5794 } 5795 inline void Swagger::set_allocated_swagger(std::string* PROTOBUF_NULLABLE value) { 5796 ::google::protobuf::internal::TSanWrite(&_impl_); 5797 if (value != nullptr) { 5798 _impl_._has_bits_[0] |= 0x00000001u; 5799 } else { 5800 _impl_._has_bits_[0] &= ~0x00000001u; 5801 } 5802 _impl_.swagger_.SetAllocated(value, GetArena()); 5803 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.swagger_.IsDefault()) { 5804 _impl_.swagger_.Set("", GetArena()); 5805 } 5806 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Swagger.swagger) 5807 } 5808 5809 // .grpc.gateway.protoc_gen_openapiv2.options.Info info = 2; 5810 inline bool Swagger::has_info() const { 5811 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; 5812 PROTOBUF_ASSUME(!value || _impl_.info_ != nullptr); 5813 return value; 5814 } 5815 inline void Swagger::clear_info() { 5816 ::google::protobuf::internal::TSanWrite(&_impl_); 5817 if (_impl_.info_ != nullptr) _impl_.info_->Clear(); 5818 _impl_._has_bits_[0] &= ~0x00000008u; 5819 } 5820 inline const ::grpc::gateway::protoc_gen_openapiv2::options::Info& Swagger::_internal_info() const { 5821 ::google::protobuf::internal::TSanRead(&_impl_); 5822 const ::grpc::gateway::protoc_gen_openapiv2::options::Info* p = _impl_.info_; 5823 return p != nullptr ? *p : reinterpret_cast<const ::grpc::gateway::protoc_gen_openapiv2::options::Info&>(::grpc::gateway::protoc_gen_openapiv2::options::_Info_default_instance_); 5824 } 5825 inline const ::grpc::gateway::protoc_gen_openapiv2::options::Info& Swagger::info() const ABSL_ATTRIBUTE_LIFETIME_BOUND { 5826 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Swagger.info) 5827 return _internal_info(); 5828 } 5829 inline void Swagger::unsafe_arena_set_allocated_info( 5830 ::grpc::gateway::protoc_gen_openapiv2::options::Info* PROTOBUF_NULLABLE value) { 5831 ::google::protobuf::internal::TSanWrite(&_impl_); 5832 if (GetArena() == nullptr) { 5833 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.info_); 5834 } 5835 _impl_.info_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::Info*>(value); 5836 if (value != nullptr) { 5837 _impl_._has_bits_[0] |= 0x00000008u; 5838 } else { 5839 _impl_._has_bits_[0] &= ~0x00000008u; 5840 } 5841 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Swagger.info) 5842 } 5843 inline ::grpc::gateway::protoc_gen_openapiv2::options::Info* PROTOBUF_NULLABLE Swagger::release_info() { 5844 ::google::protobuf::internal::TSanWrite(&_impl_); 5845 5846 _impl_._has_bits_[0] &= ~0x00000008u; 5847 ::grpc::gateway::protoc_gen_openapiv2::options::Info* released = _impl_.info_; 5848 _impl_.info_ = nullptr; 5849 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { 5850 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); 5851 released = ::google::protobuf::internal::DuplicateIfNonNull(released); 5852 if (GetArena() == nullptr) { 5853 delete old; 5854 } 5855 } else { 5856 if (GetArena() != nullptr) { 5857 released = ::google::protobuf::internal::DuplicateIfNonNull(released); 5858 } 5859 } 5860 return released; 5861 } 5862 inline ::grpc::gateway::protoc_gen_openapiv2::options::Info* PROTOBUF_NULLABLE Swagger::unsafe_arena_release_info() { 5863 ::google::protobuf::internal::TSanWrite(&_impl_); 5864 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Swagger.info) 5865 5866 _impl_._has_bits_[0] &= ~0x00000008u; 5867 ::grpc::gateway::protoc_gen_openapiv2::options::Info* temp = _impl_.info_; 5868 _impl_.info_ = nullptr; 5869 return temp; 5870 } 5871 inline ::grpc::gateway::protoc_gen_openapiv2::options::Info* PROTOBUF_NONNULL Swagger::_internal_mutable_info() { 5872 ::google::protobuf::internal::TSanWrite(&_impl_); 5873 if (_impl_.info_ == nullptr) { 5874 auto* p = ::google::protobuf::Message::DefaultConstruct<::grpc::gateway::protoc_gen_openapiv2::options::Info>(GetArena()); 5875 _impl_.info_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::Info*>(p); 5876 } 5877 return _impl_.info_; 5878 } 5879 inline ::grpc::gateway::protoc_gen_openapiv2::options::Info* PROTOBUF_NONNULL Swagger::mutable_info() 5880 ABSL_ATTRIBUTE_LIFETIME_BOUND { 5881 _impl_._has_bits_[0] |= 0x00000008u; 5882 ::grpc::gateway::protoc_gen_openapiv2::options::Info* _msg = _internal_mutable_info(); 5883 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Swagger.info) 5884 return _msg; 5885 } 5886 inline void Swagger::set_allocated_info(::grpc::gateway::protoc_gen_openapiv2::options::Info* PROTOBUF_NULLABLE value) { 5887 ::google::protobuf::Arena* message_arena = GetArena(); 5888 ::google::protobuf::internal::TSanWrite(&_impl_); 5889 if (message_arena == nullptr) { 5890 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.info_); 5891 } 5892 5893 if (value != nullptr) { 5894 ::google::protobuf::Arena* submessage_arena = value->GetArena(); 5895 if (message_arena != submessage_arena) { 5896 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); 5897 } 5898 _impl_._has_bits_[0] |= 0x00000008u; 5899 } else { 5900 _impl_._has_bits_[0] &= ~0x00000008u; 5901 } 5902 5903 _impl_.info_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::Info*>(value); 5904 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Swagger.info) 5905 } 5906 5907 // string host = 3; 5908 inline void Swagger::clear_host() { 5909 ::google::protobuf::internal::TSanWrite(&_impl_); 5910 _impl_.host_.ClearToEmpty(); 5911 _impl_._has_bits_[0] &= ~0x00000002u; 5912 } 5913 inline const std::string& Swagger::host() const 5914 ABSL_ATTRIBUTE_LIFETIME_BOUND { 5915 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Swagger.host) 5916 return _internal_host(); 5917 } 5918 template <typename Arg_, typename... Args_> 5919 PROTOBUF_ALWAYS_INLINE void Swagger::set_host(Arg_&& arg, Args_... args) { 5920 ::google::protobuf::internal::TSanWrite(&_impl_); 5921 _impl_._has_bits_[0] |= 0x00000002u; 5922 _impl_.host_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 5923 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Swagger.host) 5924 } 5925 inline std::string* PROTOBUF_NONNULL Swagger::mutable_host() 5926 ABSL_ATTRIBUTE_LIFETIME_BOUND { 5927 std::string* _s = _internal_mutable_host(); 5928 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Swagger.host) 5929 return _s; 5930 } 5931 inline const std::string& Swagger::_internal_host() const { 5932 ::google::protobuf::internal::TSanRead(&_impl_); 5933 return _impl_.host_.Get(); 5934 } 5935 inline void Swagger::_internal_set_host(const std::string& value) { 5936 ::google::protobuf::internal::TSanWrite(&_impl_); 5937 _impl_._has_bits_[0] |= 0x00000002u; 5938 _impl_.host_.Set(value, GetArena()); 5939 } 5940 inline std::string* PROTOBUF_NONNULL Swagger::_internal_mutable_host() { 5941 ::google::protobuf::internal::TSanWrite(&_impl_); 5942 _impl_._has_bits_[0] |= 0x00000002u; 5943 return _impl_.host_.Mutable( GetArena()); 5944 } 5945 inline std::string* PROTOBUF_NULLABLE Swagger::release_host() { 5946 ::google::protobuf::internal::TSanWrite(&_impl_); 5947 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Swagger.host) 5948 if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { 5949 return nullptr; 5950 } 5951 _impl_._has_bits_[0] &= ~0x00000002u; 5952 auto* released = _impl_.host_.Release(); 5953 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 5954 _impl_.host_.Set("", GetArena()); 5955 } 5956 return released; 5957 } 5958 inline void Swagger::set_allocated_host(std::string* PROTOBUF_NULLABLE value) { 5959 ::google::protobuf::internal::TSanWrite(&_impl_); 5960 if (value != nullptr) { 5961 _impl_._has_bits_[0] |= 0x00000002u; 5962 } else { 5963 _impl_._has_bits_[0] &= ~0x00000002u; 5964 } 5965 _impl_.host_.SetAllocated(value, GetArena()); 5966 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.host_.IsDefault()) { 5967 _impl_.host_.Set("", GetArena()); 5968 } 5969 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Swagger.host) 5970 } 5971 5972 // string base_path = 4; 5973 inline void Swagger::clear_base_path() { 5974 ::google::protobuf::internal::TSanWrite(&_impl_); 5975 _impl_.base_path_.ClearToEmpty(); 5976 _impl_._has_bits_[0] &= ~0x00000004u; 5977 } 5978 inline const std::string& Swagger::base_path() const 5979 ABSL_ATTRIBUTE_LIFETIME_BOUND { 5980 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Swagger.base_path) 5981 return _internal_base_path(); 5982 } 5983 template <typename Arg_, typename... Args_> 5984 PROTOBUF_ALWAYS_INLINE void Swagger::set_base_path(Arg_&& arg, Args_... args) { 5985 ::google::protobuf::internal::TSanWrite(&_impl_); 5986 _impl_._has_bits_[0] |= 0x00000004u; 5987 _impl_.base_path_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 5988 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Swagger.base_path) 5989 } 5990 inline std::string* PROTOBUF_NONNULL Swagger::mutable_base_path() 5991 ABSL_ATTRIBUTE_LIFETIME_BOUND { 5992 std::string* _s = _internal_mutable_base_path(); 5993 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Swagger.base_path) 5994 return _s; 5995 } 5996 inline const std::string& Swagger::_internal_base_path() const { 5997 ::google::protobuf::internal::TSanRead(&_impl_); 5998 return _impl_.base_path_.Get(); 5999 } 6000 inline void Swagger::_internal_set_base_path(const std::string& value) { 6001 ::google::protobuf::internal::TSanWrite(&_impl_); 6002 _impl_._has_bits_[0] |= 0x00000004u; 6003 _impl_.base_path_.Set(value, GetArena()); 6004 } 6005 inline std::string* PROTOBUF_NONNULL Swagger::_internal_mutable_base_path() { 6006 ::google::protobuf::internal::TSanWrite(&_impl_); 6007 _impl_._has_bits_[0] |= 0x00000004u; 6008 return _impl_.base_path_.Mutable( GetArena()); 6009 } 6010 inline std::string* PROTOBUF_NULLABLE Swagger::release_base_path() { 6011 ::google::protobuf::internal::TSanWrite(&_impl_); 6012 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Swagger.base_path) 6013 if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { 6014 return nullptr; 6015 } 6016 _impl_._has_bits_[0] &= ~0x00000004u; 6017 auto* released = _impl_.base_path_.Release(); 6018 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 6019 _impl_.base_path_.Set("", GetArena()); 6020 } 6021 return released; 6022 } 6023 inline void Swagger::set_allocated_base_path(std::string* PROTOBUF_NULLABLE value) { 6024 ::google::protobuf::internal::TSanWrite(&_impl_); 6025 if (value != nullptr) { 6026 _impl_._has_bits_[0] |= 0x00000004u; 6027 } else { 6028 _impl_._has_bits_[0] &= ~0x00000004u; 6029 } 6030 _impl_.base_path_.SetAllocated(value, GetArena()); 6031 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.base_path_.IsDefault()) { 6032 _impl_.base_path_.Set("", GetArena()); 6033 } 6034 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Swagger.base_path) 6035 } 6036 6037 // repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 5; 6038 inline int Swagger::_internal_schemes_size() const { 6039 return _internal_schemes().size(); 6040 } 6041 inline int Swagger::schemes_size() const { 6042 return _internal_schemes_size(); 6043 } 6044 inline void Swagger::clear_schemes() { 6045 ::google::protobuf::internal::TSanWrite(&_impl_); 6046 _impl_.schemes_.Clear(); 6047 } 6048 inline ::grpc::gateway::protoc_gen_openapiv2::options::Scheme Swagger::schemes(int index) const { 6049 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Swagger.schemes) 6050 return static_cast<::grpc::gateway::protoc_gen_openapiv2::options::Scheme>(_internal_schemes().Get(index)); 6051 } 6052 inline void Swagger::set_schemes(int index, ::grpc::gateway::protoc_gen_openapiv2::options::Scheme value) { 6053 _internal_mutable_schemes()->Set(index, value); 6054 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Swagger.schemes) 6055 } 6056 inline void Swagger::add_schemes(::grpc::gateway::protoc_gen_openapiv2::options::Scheme value) { 6057 ::google::protobuf::internal::TSanWrite(&_impl_); 6058 _internal_mutable_schemes()->Add(value); 6059 // @@protoc_insertion_point(field_add:grpc.gateway.protoc_gen_openapiv2.options.Swagger.schemes) 6060 } 6061 inline const ::google::protobuf::RepeatedField<int>& Swagger::schemes() const 6062 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6063 // @@protoc_insertion_point(field_list:grpc.gateway.protoc_gen_openapiv2.options.Swagger.schemes) 6064 return _internal_schemes(); 6065 } 6066 inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL Swagger::mutable_schemes() 6067 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6068 // @@protoc_insertion_point(field_mutable_list:grpc.gateway.protoc_gen_openapiv2.options.Swagger.schemes) 6069 ::google::protobuf::internal::TSanWrite(&_impl_); 6070 return _internal_mutable_schemes(); 6071 } 6072 inline const ::google::protobuf::RepeatedField<int>& Swagger::_internal_schemes() 6073 const { 6074 ::google::protobuf::internal::TSanRead(&_impl_); 6075 return _impl_.schemes_; 6076 } 6077 inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL 6078 Swagger::_internal_mutable_schemes() { 6079 ::google::protobuf::internal::TSanRead(&_impl_); 6080 return &_impl_.schemes_; 6081 } 6082 6083 // repeated string consumes = 6; 6084 inline int Swagger::_internal_consumes_size() const { 6085 return _internal_consumes().size(); 6086 } 6087 inline int Swagger::consumes_size() const { 6088 return _internal_consumes_size(); 6089 } 6090 inline void Swagger::clear_consumes() { 6091 ::google::protobuf::internal::TSanWrite(&_impl_); 6092 _impl_.consumes_.Clear(); 6093 } 6094 inline std::string* PROTOBUF_NONNULL Swagger::add_consumes() 6095 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6096 ::google::protobuf::internal::TSanWrite(&_impl_); 6097 std::string* _s = _internal_mutable_consumes()->Add(); 6098 // @@protoc_insertion_point(field_add_mutable:grpc.gateway.protoc_gen_openapiv2.options.Swagger.consumes) 6099 return _s; 6100 } 6101 inline const std::string& Swagger::consumes(int index) const 6102 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6103 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Swagger.consumes) 6104 return _internal_consumes().Get(index); 6105 } 6106 inline std::string* PROTOBUF_NONNULL Swagger::mutable_consumes(int index) 6107 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6108 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Swagger.consumes) 6109 return _internal_mutable_consumes()->Mutable(index); 6110 } 6111 template <typename Arg_, typename... Args_> 6112 inline void Swagger::set_consumes(int index, Arg_&& value, Args_... args) { 6113 ::google::protobuf::internal::AssignToString(*_internal_mutable_consumes()->Mutable(index), std::forward<Arg_>(value), 6114 args... ); 6115 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Swagger.consumes) 6116 } 6117 template <typename Arg_, typename... Args_> 6118 inline void Swagger::add_consumes(Arg_&& value, Args_... args) { 6119 ::google::protobuf::internal::TSanWrite(&_impl_); 6120 ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_consumes(), 6121 std::forward<Arg_>(value), 6122 args... ); 6123 // @@protoc_insertion_point(field_add:grpc.gateway.protoc_gen_openapiv2.options.Swagger.consumes) 6124 } 6125 inline const ::google::protobuf::RepeatedPtrField<std::string>& Swagger::consumes() const 6126 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6127 // @@protoc_insertion_point(field_list:grpc.gateway.protoc_gen_openapiv2.options.Swagger.consumes) 6128 return _internal_consumes(); 6129 } 6130 inline ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL 6131 Swagger::mutable_consumes() ABSL_ATTRIBUTE_LIFETIME_BOUND { 6132 // @@protoc_insertion_point(field_mutable_list:grpc.gateway.protoc_gen_openapiv2.options.Swagger.consumes) 6133 ::google::protobuf::internal::TSanWrite(&_impl_); 6134 return _internal_mutable_consumes(); 6135 } 6136 inline const ::google::protobuf::RepeatedPtrField<std::string>& 6137 Swagger::_internal_consumes() const { 6138 ::google::protobuf::internal::TSanRead(&_impl_); 6139 return _impl_.consumes_; 6140 } 6141 inline ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL 6142 Swagger::_internal_mutable_consumes() { 6143 ::google::protobuf::internal::TSanRead(&_impl_); 6144 return &_impl_.consumes_; 6145 } 6146 6147 // repeated string produces = 7; 6148 inline int Swagger::_internal_produces_size() const { 6149 return _internal_produces().size(); 6150 } 6151 inline int Swagger::produces_size() const { 6152 return _internal_produces_size(); 6153 } 6154 inline void Swagger::clear_produces() { 6155 ::google::protobuf::internal::TSanWrite(&_impl_); 6156 _impl_.produces_.Clear(); 6157 } 6158 inline std::string* PROTOBUF_NONNULL Swagger::add_produces() 6159 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6160 ::google::protobuf::internal::TSanWrite(&_impl_); 6161 std::string* _s = _internal_mutable_produces()->Add(); 6162 // @@protoc_insertion_point(field_add_mutable:grpc.gateway.protoc_gen_openapiv2.options.Swagger.produces) 6163 return _s; 6164 } 6165 inline const std::string& Swagger::produces(int index) const 6166 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6167 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Swagger.produces) 6168 return _internal_produces().Get(index); 6169 } 6170 inline std::string* PROTOBUF_NONNULL Swagger::mutable_produces(int index) 6171 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6172 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Swagger.produces) 6173 return _internal_mutable_produces()->Mutable(index); 6174 } 6175 template <typename Arg_, typename... Args_> 6176 inline void Swagger::set_produces(int index, Arg_&& value, Args_... args) { 6177 ::google::protobuf::internal::AssignToString(*_internal_mutable_produces()->Mutable(index), std::forward<Arg_>(value), 6178 args... ); 6179 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Swagger.produces) 6180 } 6181 template <typename Arg_, typename... Args_> 6182 inline void Swagger::add_produces(Arg_&& value, Args_... args) { 6183 ::google::protobuf::internal::TSanWrite(&_impl_); 6184 ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_produces(), 6185 std::forward<Arg_>(value), 6186 args... ); 6187 // @@protoc_insertion_point(field_add:grpc.gateway.protoc_gen_openapiv2.options.Swagger.produces) 6188 } 6189 inline const ::google::protobuf::RepeatedPtrField<std::string>& Swagger::produces() const 6190 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6191 // @@protoc_insertion_point(field_list:grpc.gateway.protoc_gen_openapiv2.options.Swagger.produces) 6192 return _internal_produces(); 6193 } 6194 inline ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL 6195 Swagger::mutable_produces() ABSL_ATTRIBUTE_LIFETIME_BOUND { 6196 // @@protoc_insertion_point(field_mutable_list:grpc.gateway.protoc_gen_openapiv2.options.Swagger.produces) 6197 ::google::protobuf::internal::TSanWrite(&_impl_); 6198 return _internal_mutable_produces(); 6199 } 6200 inline const ::google::protobuf::RepeatedPtrField<std::string>& 6201 Swagger::_internal_produces() const { 6202 ::google::protobuf::internal::TSanRead(&_impl_); 6203 return _impl_.produces_; 6204 } 6205 inline ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL 6206 Swagger::_internal_mutable_produces() { 6207 ::google::protobuf::internal::TSanRead(&_impl_); 6208 return &_impl_.produces_; 6209 } 6210 6211 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 10; 6212 inline int Swagger::_internal_responses_size() const { 6213 return _internal_responses().size(); 6214 } 6215 inline int Swagger::responses_size() const { 6216 return _internal_responses_size(); 6217 } 6218 inline void Swagger::clear_responses() { 6219 ::google::protobuf::internal::TSanWrite(&_impl_); 6220 _impl_.responses_.Clear(); 6221 } 6222 inline const ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response>& Swagger::_internal_responses() const { 6223 ::google::protobuf::internal::TSanRead(&_impl_); 6224 return _impl_.responses_.GetMap(); 6225 } 6226 inline const ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response>& Swagger::responses() const ABSL_ATTRIBUTE_LIFETIME_BOUND { 6227 // @@protoc_insertion_point(field_map:grpc.gateway.protoc_gen_openapiv2.options.Swagger.responses) 6228 return _internal_responses(); 6229 } 6230 inline ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response>* PROTOBUF_NONNULL Swagger::_internal_mutable_responses() { 6231 ::google::protobuf::internal::TSanWrite(&_impl_); 6232 return _impl_.responses_.MutableMap(); 6233 } 6234 inline ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response>* PROTOBUF_NONNULL Swagger::mutable_responses() 6235 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6236 // @@protoc_insertion_point(field_mutable_map:grpc.gateway.protoc_gen_openapiv2.options.Swagger.responses) 6237 return _internal_mutable_responses(); 6238 } 6239 6240 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions security_definitions = 11; 6241 inline bool Swagger::has_security_definitions() const { 6242 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; 6243 PROTOBUF_ASSUME(!value || _impl_.security_definitions_ != nullptr); 6244 return value; 6245 } 6246 inline void Swagger::clear_security_definitions() { 6247 ::google::protobuf::internal::TSanWrite(&_impl_); 6248 if (_impl_.security_definitions_ != nullptr) _impl_.security_definitions_->Clear(); 6249 _impl_._has_bits_[0] &= ~0x00000010u; 6250 } 6251 inline const ::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions& Swagger::_internal_security_definitions() const { 6252 ::google::protobuf::internal::TSanRead(&_impl_); 6253 const ::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions* p = _impl_.security_definitions_; 6254 return p != nullptr ? *p : reinterpret_cast<const ::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions&>(::grpc::gateway::protoc_gen_openapiv2::options::_SecurityDefinitions_default_instance_); 6255 } 6256 inline const ::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions& Swagger::security_definitions() const ABSL_ATTRIBUTE_LIFETIME_BOUND { 6257 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Swagger.security_definitions) 6258 return _internal_security_definitions(); 6259 } 6260 inline void Swagger::unsafe_arena_set_allocated_security_definitions( 6261 ::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions* PROTOBUF_NULLABLE value) { 6262 ::google::protobuf::internal::TSanWrite(&_impl_); 6263 if (GetArena() == nullptr) { 6264 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.security_definitions_); 6265 } 6266 _impl_.security_definitions_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions*>(value); 6267 if (value != nullptr) { 6268 _impl_._has_bits_[0] |= 0x00000010u; 6269 } else { 6270 _impl_._has_bits_[0] &= ~0x00000010u; 6271 } 6272 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Swagger.security_definitions) 6273 } 6274 inline ::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions* PROTOBUF_NULLABLE Swagger::release_security_definitions() { 6275 ::google::protobuf::internal::TSanWrite(&_impl_); 6276 6277 _impl_._has_bits_[0] &= ~0x00000010u; 6278 ::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions* released = _impl_.security_definitions_; 6279 _impl_.security_definitions_ = nullptr; 6280 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { 6281 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); 6282 released = ::google::protobuf::internal::DuplicateIfNonNull(released); 6283 if (GetArena() == nullptr) { 6284 delete old; 6285 } 6286 } else { 6287 if (GetArena() != nullptr) { 6288 released = ::google::protobuf::internal::DuplicateIfNonNull(released); 6289 } 6290 } 6291 return released; 6292 } 6293 inline ::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions* PROTOBUF_NULLABLE Swagger::unsafe_arena_release_security_definitions() { 6294 ::google::protobuf::internal::TSanWrite(&_impl_); 6295 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Swagger.security_definitions) 6296 6297 _impl_._has_bits_[0] &= ~0x00000010u; 6298 ::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions* temp = _impl_.security_definitions_; 6299 _impl_.security_definitions_ = nullptr; 6300 return temp; 6301 } 6302 inline ::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions* PROTOBUF_NONNULL Swagger::_internal_mutable_security_definitions() { 6303 ::google::protobuf::internal::TSanWrite(&_impl_); 6304 if (_impl_.security_definitions_ == nullptr) { 6305 auto* p = ::google::protobuf::Message::DefaultConstruct<::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions>(GetArena()); 6306 _impl_.security_definitions_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions*>(p); 6307 } 6308 return _impl_.security_definitions_; 6309 } 6310 inline ::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions* PROTOBUF_NONNULL Swagger::mutable_security_definitions() 6311 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6312 _impl_._has_bits_[0] |= 0x00000010u; 6313 ::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions* _msg = _internal_mutable_security_definitions(); 6314 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Swagger.security_definitions) 6315 return _msg; 6316 } 6317 inline void Swagger::set_allocated_security_definitions(::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions* PROTOBUF_NULLABLE value) { 6318 ::google::protobuf::Arena* message_arena = GetArena(); 6319 ::google::protobuf::internal::TSanWrite(&_impl_); 6320 if (message_arena == nullptr) { 6321 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.security_definitions_); 6322 } 6323 6324 if (value != nullptr) { 6325 ::google::protobuf::Arena* submessage_arena = value->GetArena(); 6326 if (message_arena != submessage_arena) { 6327 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); 6328 } 6329 _impl_._has_bits_[0] |= 0x00000010u; 6330 } else { 6331 _impl_._has_bits_[0] &= ~0x00000010u; 6332 } 6333 6334 _impl_.security_definitions_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions*>(value); 6335 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Swagger.security_definitions) 6336 } 6337 6338 // repeated .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12; 6339 inline int Swagger::_internal_security_size() const { 6340 return _internal_security().size(); 6341 } 6342 inline int Swagger::security_size() const { 6343 return _internal_security_size(); 6344 } 6345 inline void Swagger::clear_security() { 6346 ::google::protobuf::internal::TSanWrite(&_impl_); 6347 _impl_.security_.Clear(); 6348 } 6349 inline ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement* PROTOBUF_NONNULL Swagger::mutable_security(int index) 6350 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6351 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Swagger.security) 6352 return _internal_mutable_security()->Mutable(index); 6353 } 6354 inline ::google::protobuf::RepeatedPtrField<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement>* PROTOBUF_NONNULL Swagger::mutable_security() 6355 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6356 // @@protoc_insertion_point(field_mutable_list:grpc.gateway.protoc_gen_openapiv2.options.Swagger.security) 6357 ::google::protobuf::internal::TSanWrite(&_impl_); 6358 return _internal_mutable_security(); 6359 } 6360 inline const ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement& Swagger::security(int index) const 6361 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6362 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Swagger.security) 6363 return _internal_security().Get(index); 6364 } 6365 inline ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement* PROTOBUF_NONNULL Swagger::add_security() 6366 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6367 ::google::protobuf::internal::TSanWrite(&_impl_); 6368 ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement* _add = _internal_mutable_security()->Add(); 6369 // @@protoc_insertion_point(field_add:grpc.gateway.protoc_gen_openapiv2.options.Swagger.security) 6370 return _add; 6371 } 6372 inline const ::google::protobuf::RepeatedPtrField<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement>& Swagger::security() const 6373 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6374 // @@protoc_insertion_point(field_list:grpc.gateway.protoc_gen_openapiv2.options.Swagger.security) 6375 return _internal_security(); 6376 } 6377 inline const ::google::protobuf::RepeatedPtrField<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement>& 6378 Swagger::_internal_security() const { 6379 ::google::protobuf::internal::TSanRead(&_impl_); 6380 return _impl_.security_; 6381 } 6382 inline ::google::protobuf::RepeatedPtrField<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement>* PROTOBUF_NONNULL 6383 Swagger::_internal_mutable_security() { 6384 ::google::protobuf::internal::TSanRead(&_impl_); 6385 return &_impl_.security_; 6386 } 6387 6388 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 14; 6389 inline bool Swagger::has_external_docs() const { 6390 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; 6391 PROTOBUF_ASSUME(!value || _impl_.external_docs_ != nullptr); 6392 return value; 6393 } 6394 inline void Swagger::clear_external_docs() { 6395 ::google::protobuf::internal::TSanWrite(&_impl_); 6396 if (_impl_.external_docs_ != nullptr) _impl_.external_docs_->Clear(); 6397 _impl_._has_bits_[0] &= ~0x00000020u; 6398 } 6399 inline const ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation& Swagger::_internal_external_docs() const { 6400 ::google::protobuf::internal::TSanRead(&_impl_); 6401 const ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* p = _impl_.external_docs_; 6402 return p != nullptr ? *p : reinterpret_cast<const ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation&>(::grpc::gateway::protoc_gen_openapiv2::options::_ExternalDocumentation_default_instance_); 6403 } 6404 inline const ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation& Swagger::external_docs() const ABSL_ATTRIBUTE_LIFETIME_BOUND { 6405 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Swagger.external_docs) 6406 return _internal_external_docs(); 6407 } 6408 inline void Swagger::unsafe_arena_set_allocated_external_docs( 6409 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE value) { 6410 ::google::protobuf::internal::TSanWrite(&_impl_); 6411 if (GetArena() == nullptr) { 6412 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.external_docs_); 6413 } 6414 _impl_.external_docs_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation*>(value); 6415 if (value != nullptr) { 6416 _impl_._has_bits_[0] |= 0x00000020u; 6417 } else { 6418 _impl_._has_bits_[0] &= ~0x00000020u; 6419 } 6420 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Swagger.external_docs) 6421 } 6422 inline ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE Swagger::release_external_docs() { 6423 ::google::protobuf::internal::TSanWrite(&_impl_); 6424 6425 _impl_._has_bits_[0] &= ~0x00000020u; 6426 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* released = _impl_.external_docs_; 6427 _impl_.external_docs_ = nullptr; 6428 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { 6429 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); 6430 released = ::google::protobuf::internal::DuplicateIfNonNull(released); 6431 if (GetArena() == nullptr) { 6432 delete old; 6433 } 6434 } else { 6435 if (GetArena() != nullptr) { 6436 released = ::google::protobuf::internal::DuplicateIfNonNull(released); 6437 } 6438 } 6439 return released; 6440 } 6441 inline ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE Swagger::unsafe_arena_release_external_docs() { 6442 ::google::protobuf::internal::TSanWrite(&_impl_); 6443 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Swagger.external_docs) 6444 6445 _impl_._has_bits_[0] &= ~0x00000020u; 6446 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* temp = _impl_.external_docs_; 6447 _impl_.external_docs_ = nullptr; 6448 return temp; 6449 } 6450 inline ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NONNULL Swagger::_internal_mutable_external_docs() { 6451 ::google::protobuf::internal::TSanWrite(&_impl_); 6452 if (_impl_.external_docs_ == nullptr) { 6453 auto* p = ::google::protobuf::Message::DefaultConstruct<::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation>(GetArena()); 6454 _impl_.external_docs_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation*>(p); 6455 } 6456 return _impl_.external_docs_; 6457 } 6458 inline ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NONNULL Swagger::mutable_external_docs() 6459 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6460 _impl_._has_bits_[0] |= 0x00000020u; 6461 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* _msg = _internal_mutable_external_docs(); 6462 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Swagger.external_docs) 6463 return _msg; 6464 } 6465 inline void Swagger::set_allocated_external_docs(::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE value) { 6466 ::google::protobuf::Arena* message_arena = GetArena(); 6467 ::google::protobuf::internal::TSanWrite(&_impl_); 6468 if (message_arena == nullptr) { 6469 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.external_docs_); 6470 } 6471 6472 if (value != nullptr) { 6473 ::google::protobuf::Arena* submessage_arena = value->GetArena(); 6474 if (message_arena != submessage_arena) { 6475 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); 6476 } 6477 _impl_._has_bits_[0] |= 0x00000020u; 6478 } else { 6479 _impl_._has_bits_[0] &= ~0x00000020u; 6480 } 6481 6482 _impl_.external_docs_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation*>(value); 6483 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Swagger.external_docs) 6484 } 6485 6486 // map<string, .google.protobuf.Value> extensions = 15; 6487 inline int Swagger::_internal_extensions_size() const { 6488 return _internal_extensions().size(); 6489 } 6490 inline int Swagger::extensions_size() const { 6491 return _internal_extensions_size(); 6492 } 6493 inline const ::google::protobuf::Map<std::string, ::google::protobuf::Value>& Swagger::_internal_extensions() const { 6494 ::google::protobuf::internal::TSanRead(&_impl_); 6495 return _impl_.extensions_.GetMap(); 6496 } 6497 inline const ::google::protobuf::Map<std::string, ::google::protobuf::Value>& Swagger::extensions() const ABSL_ATTRIBUTE_LIFETIME_BOUND { 6498 // @@protoc_insertion_point(field_map:grpc.gateway.protoc_gen_openapiv2.options.Swagger.extensions) 6499 return _internal_extensions(); 6500 } 6501 inline ::google::protobuf::Map<std::string, ::google::protobuf::Value>* PROTOBUF_NONNULL Swagger::_internal_mutable_extensions() { 6502 ::google::protobuf::internal::TSanWrite(&_impl_); 6503 return _impl_.extensions_.MutableMap(); 6504 } 6505 inline ::google::protobuf::Map<std::string, ::google::protobuf::Value>* PROTOBUF_NONNULL Swagger::mutable_extensions() 6506 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6507 // @@protoc_insertion_point(field_mutable_map:grpc.gateway.protoc_gen_openapiv2.options.Swagger.extensions) 6508 return _internal_mutable_extensions(); 6509 } 6510 6511 // ------------------------------------------------------------------- 6512 6513 // ------------------------------------------------------------------- 6514 6515 // ------------------------------------------------------------------- 6516 6517 // Operation 6518 6519 // repeated string tags = 1; 6520 inline int Operation::_internal_tags_size() const { 6521 return _internal_tags().size(); 6522 } 6523 inline int Operation::tags_size() const { 6524 return _internal_tags_size(); 6525 } 6526 inline void Operation::clear_tags() { 6527 ::google::protobuf::internal::TSanWrite(&_impl_); 6528 _impl_.tags_.Clear(); 6529 } 6530 inline std::string* PROTOBUF_NONNULL Operation::add_tags() 6531 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6532 ::google::protobuf::internal::TSanWrite(&_impl_); 6533 std::string* _s = _internal_mutable_tags()->Add(); 6534 // @@protoc_insertion_point(field_add_mutable:grpc.gateway.protoc_gen_openapiv2.options.Operation.tags) 6535 return _s; 6536 } 6537 inline const std::string& Operation::tags(int index) const 6538 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6539 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Operation.tags) 6540 return _internal_tags().Get(index); 6541 } 6542 inline std::string* PROTOBUF_NONNULL Operation::mutable_tags(int index) 6543 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6544 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Operation.tags) 6545 return _internal_mutable_tags()->Mutable(index); 6546 } 6547 template <typename Arg_, typename... Args_> 6548 inline void Operation::set_tags(int index, Arg_&& value, Args_... args) { 6549 ::google::protobuf::internal::AssignToString(*_internal_mutable_tags()->Mutable(index), std::forward<Arg_>(value), 6550 args... ); 6551 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Operation.tags) 6552 } 6553 template <typename Arg_, typename... Args_> 6554 inline void Operation::add_tags(Arg_&& value, Args_... args) { 6555 ::google::protobuf::internal::TSanWrite(&_impl_); 6556 ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_tags(), 6557 std::forward<Arg_>(value), 6558 args... ); 6559 // @@protoc_insertion_point(field_add:grpc.gateway.protoc_gen_openapiv2.options.Operation.tags) 6560 } 6561 inline const ::google::protobuf::RepeatedPtrField<std::string>& Operation::tags() const 6562 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6563 // @@protoc_insertion_point(field_list:grpc.gateway.protoc_gen_openapiv2.options.Operation.tags) 6564 return _internal_tags(); 6565 } 6566 inline ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL 6567 Operation::mutable_tags() ABSL_ATTRIBUTE_LIFETIME_BOUND { 6568 // @@protoc_insertion_point(field_mutable_list:grpc.gateway.protoc_gen_openapiv2.options.Operation.tags) 6569 ::google::protobuf::internal::TSanWrite(&_impl_); 6570 return _internal_mutable_tags(); 6571 } 6572 inline const ::google::protobuf::RepeatedPtrField<std::string>& 6573 Operation::_internal_tags() const { 6574 ::google::protobuf::internal::TSanRead(&_impl_); 6575 return _impl_.tags_; 6576 } 6577 inline ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL 6578 Operation::_internal_mutable_tags() { 6579 ::google::protobuf::internal::TSanRead(&_impl_); 6580 return &_impl_.tags_; 6581 } 6582 6583 // string summary = 2; 6584 inline void Operation::clear_summary() { 6585 ::google::protobuf::internal::TSanWrite(&_impl_); 6586 _impl_.summary_.ClearToEmpty(); 6587 _impl_._has_bits_[0] &= ~0x00000001u; 6588 } 6589 inline const std::string& Operation::summary() const 6590 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6591 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Operation.summary) 6592 return _internal_summary(); 6593 } 6594 template <typename Arg_, typename... Args_> 6595 PROTOBUF_ALWAYS_INLINE void Operation::set_summary(Arg_&& arg, Args_... args) { 6596 ::google::protobuf::internal::TSanWrite(&_impl_); 6597 _impl_._has_bits_[0] |= 0x00000001u; 6598 _impl_.summary_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 6599 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Operation.summary) 6600 } 6601 inline std::string* PROTOBUF_NONNULL Operation::mutable_summary() 6602 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6603 std::string* _s = _internal_mutable_summary(); 6604 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Operation.summary) 6605 return _s; 6606 } 6607 inline const std::string& Operation::_internal_summary() const { 6608 ::google::protobuf::internal::TSanRead(&_impl_); 6609 return _impl_.summary_.Get(); 6610 } 6611 inline void Operation::_internal_set_summary(const std::string& value) { 6612 ::google::protobuf::internal::TSanWrite(&_impl_); 6613 _impl_._has_bits_[0] |= 0x00000001u; 6614 _impl_.summary_.Set(value, GetArena()); 6615 } 6616 inline std::string* PROTOBUF_NONNULL Operation::_internal_mutable_summary() { 6617 ::google::protobuf::internal::TSanWrite(&_impl_); 6618 _impl_._has_bits_[0] |= 0x00000001u; 6619 return _impl_.summary_.Mutable( GetArena()); 6620 } 6621 inline std::string* PROTOBUF_NULLABLE Operation::release_summary() { 6622 ::google::protobuf::internal::TSanWrite(&_impl_); 6623 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Operation.summary) 6624 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { 6625 return nullptr; 6626 } 6627 _impl_._has_bits_[0] &= ~0x00000001u; 6628 auto* released = _impl_.summary_.Release(); 6629 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 6630 _impl_.summary_.Set("", GetArena()); 6631 } 6632 return released; 6633 } 6634 inline void Operation::set_allocated_summary(std::string* PROTOBUF_NULLABLE value) { 6635 ::google::protobuf::internal::TSanWrite(&_impl_); 6636 if (value != nullptr) { 6637 _impl_._has_bits_[0] |= 0x00000001u; 6638 } else { 6639 _impl_._has_bits_[0] &= ~0x00000001u; 6640 } 6641 _impl_.summary_.SetAllocated(value, GetArena()); 6642 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.summary_.IsDefault()) { 6643 _impl_.summary_.Set("", GetArena()); 6644 } 6645 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Operation.summary) 6646 } 6647 6648 // string description = 3; 6649 inline void Operation::clear_description() { 6650 ::google::protobuf::internal::TSanWrite(&_impl_); 6651 _impl_.description_.ClearToEmpty(); 6652 _impl_._has_bits_[0] &= ~0x00000002u; 6653 } 6654 inline const std::string& Operation::description() const 6655 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6656 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Operation.description) 6657 return _internal_description(); 6658 } 6659 template <typename Arg_, typename... Args_> 6660 PROTOBUF_ALWAYS_INLINE void Operation::set_description(Arg_&& arg, Args_... args) { 6661 ::google::protobuf::internal::TSanWrite(&_impl_); 6662 _impl_._has_bits_[0] |= 0x00000002u; 6663 _impl_.description_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 6664 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Operation.description) 6665 } 6666 inline std::string* PROTOBUF_NONNULL Operation::mutable_description() 6667 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6668 std::string* _s = _internal_mutable_description(); 6669 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Operation.description) 6670 return _s; 6671 } 6672 inline const std::string& Operation::_internal_description() const { 6673 ::google::protobuf::internal::TSanRead(&_impl_); 6674 return _impl_.description_.Get(); 6675 } 6676 inline void Operation::_internal_set_description(const std::string& value) { 6677 ::google::protobuf::internal::TSanWrite(&_impl_); 6678 _impl_._has_bits_[0] |= 0x00000002u; 6679 _impl_.description_.Set(value, GetArena()); 6680 } 6681 inline std::string* PROTOBUF_NONNULL Operation::_internal_mutable_description() { 6682 ::google::protobuf::internal::TSanWrite(&_impl_); 6683 _impl_._has_bits_[0] |= 0x00000002u; 6684 return _impl_.description_.Mutable( GetArena()); 6685 } 6686 inline std::string* PROTOBUF_NULLABLE Operation::release_description() { 6687 ::google::protobuf::internal::TSanWrite(&_impl_); 6688 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Operation.description) 6689 if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { 6690 return nullptr; 6691 } 6692 _impl_._has_bits_[0] &= ~0x00000002u; 6693 auto* released = _impl_.description_.Release(); 6694 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 6695 _impl_.description_.Set("", GetArena()); 6696 } 6697 return released; 6698 } 6699 inline void Operation::set_allocated_description(std::string* PROTOBUF_NULLABLE value) { 6700 ::google::protobuf::internal::TSanWrite(&_impl_); 6701 if (value != nullptr) { 6702 _impl_._has_bits_[0] |= 0x00000002u; 6703 } else { 6704 _impl_._has_bits_[0] &= ~0x00000002u; 6705 } 6706 _impl_.description_.SetAllocated(value, GetArena()); 6707 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.description_.IsDefault()) { 6708 _impl_.description_.Set("", GetArena()); 6709 } 6710 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Operation.description) 6711 } 6712 6713 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 4; 6714 inline bool Operation::has_external_docs() const { 6715 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; 6716 PROTOBUF_ASSUME(!value || _impl_.external_docs_ != nullptr); 6717 return value; 6718 } 6719 inline void Operation::clear_external_docs() { 6720 ::google::protobuf::internal::TSanWrite(&_impl_); 6721 if (_impl_.external_docs_ != nullptr) _impl_.external_docs_->Clear(); 6722 _impl_._has_bits_[0] &= ~0x00000008u; 6723 } 6724 inline const ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation& Operation::_internal_external_docs() const { 6725 ::google::protobuf::internal::TSanRead(&_impl_); 6726 const ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* p = _impl_.external_docs_; 6727 return p != nullptr ? *p : reinterpret_cast<const ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation&>(::grpc::gateway::protoc_gen_openapiv2::options::_ExternalDocumentation_default_instance_); 6728 } 6729 inline const ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation& Operation::external_docs() const ABSL_ATTRIBUTE_LIFETIME_BOUND { 6730 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Operation.external_docs) 6731 return _internal_external_docs(); 6732 } 6733 inline void Operation::unsafe_arena_set_allocated_external_docs( 6734 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE value) { 6735 ::google::protobuf::internal::TSanWrite(&_impl_); 6736 if (GetArena() == nullptr) { 6737 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.external_docs_); 6738 } 6739 _impl_.external_docs_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation*>(value); 6740 if (value != nullptr) { 6741 _impl_._has_bits_[0] |= 0x00000008u; 6742 } else { 6743 _impl_._has_bits_[0] &= ~0x00000008u; 6744 } 6745 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Operation.external_docs) 6746 } 6747 inline ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE Operation::release_external_docs() { 6748 ::google::protobuf::internal::TSanWrite(&_impl_); 6749 6750 _impl_._has_bits_[0] &= ~0x00000008u; 6751 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* released = _impl_.external_docs_; 6752 _impl_.external_docs_ = nullptr; 6753 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { 6754 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); 6755 released = ::google::protobuf::internal::DuplicateIfNonNull(released); 6756 if (GetArena() == nullptr) { 6757 delete old; 6758 } 6759 } else { 6760 if (GetArena() != nullptr) { 6761 released = ::google::protobuf::internal::DuplicateIfNonNull(released); 6762 } 6763 } 6764 return released; 6765 } 6766 inline ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE Operation::unsafe_arena_release_external_docs() { 6767 ::google::protobuf::internal::TSanWrite(&_impl_); 6768 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Operation.external_docs) 6769 6770 _impl_._has_bits_[0] &= ~0x00000008u; 6771 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* temp = _impl_.external_docs_; 6772 _impl_.external_docs_ = nullptr; 6773 return temp; 6774 } 6775 inline ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NONNULL Operation::_internal_mutable_external_docs() { 6776 ::google::protobuf::internal::TSanWrite(&_impl_); 6777 if (_impl_.external_docs_ == nullptr) { 6778 auto* p = ::google::protobuf::Message::DefaultConstruct<::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation>(GetArena()); 6779 _impl_.external_docs_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation*>(p); 6780 } 6781 return _impl_.external_docs_; 6782 } 6783 inline ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NONNULL Operation::mutable_external_docs() 6784 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6785 _impl_._has_bits_[0] |= 0x00000008u; 6786 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* _msg = _internal_mutable_external_docs(); 6787 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Operation.external_docs) 6788 return _msg; 6789 } 6790 inline void Operation::set_allocated_external_docs(::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE value) { 6791 ::google::protobuf::Arena* message_arena = GetArena(); 6792 ::google::protobuf::internal::TSanWrite(&_impl_); 6793 if (message_arena == nullptr) { 6794 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.external_docs_); 6795 } 6796 6797 if (value != nullptr) { 6798 ::google::protobuf::Arena* submessage_arena = value->GetArena(); 6799 if (message_arena != submessage_arena) { 6800 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); 6801 } 6802 _impl_._has_bits_[0] |= 0x00000008u; 6803 } else { 6804 _impl_._has_bits_[0] &= ~0x00000008u; 6805 } 6806 6807 _impl_.external_docs_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation*>(value); 6808 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Operation.external_docs) 6809 } 6810 6811 // string operation_id = 5; 6812 inline void Operation::clear_operation_id() { 6813 ::google::protobuf::internal::TSanWrite(&_impl_); 6814 _impl_.operation_id_.ClearToEmpty(); 6815 _impl_._has_bits_[0] &= ~0x00000004u; 6816 } 6817 inline const std::string& Operation::operation_id() const 6818 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6819 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Operation.operation_id) 6820 return _internal_operation_id(); 6821 } 6822 template <typename Arg_, typename... Args_> 6823 PROTOBUF_ALWAYS_INLINE void Operation::set_operation_id(Arg_&& arg, Args_... args) { 6824 ::google::protobuf::internal::TSanWrite(&_impl_); 6825 _impl_._has_bits_[0] |= 0x00000004u; 6826 _impl_.operation_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 6827 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Operation.operation_id) 6828 } 6829 inline std::string* PROTOBUF_NONNULL Operation::mutable_operation_id() 6830 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6831 std::string* _s = _internal_mutable_operation_id(); 6832 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Operation.operation_id) 6833 return _s; 6834 } 6835 inline const std::string& Operation::_internal_operation_id() const { 6836 ::google::protobuf::internal::TSanRead(&_impl_); 6837 return _impl_.operation_id_.Get(); 6838 } 6839 inline void Operation::_internal_set_operation_id(const std::string& value) { 6840 ::google::protobuf::internal::TSanWrite(&_impl_); 6841 _impl_._has_bits_[0] |= 0x00000004u; 6842 _impl_.operation_id_.Set(value, GetArena()); 6843 } 6844 inline std::string* PROTOBUF_NONNULL Operation::_internal_mutable_operation_id() { 6845 ::google::protobuf::internal::TSanWrite(&_impl_); 6846 _impl_._has_bits_[0] |= 0x00000004u; 6847 return _impl_.operation_id_.Mutable( GetArena()); 6848 } 6849 inline std::string* PROTOBUF_NULLABLE Operation::release_operation_id() { 6850 ::google::protobuf::internal::TSanWrite(&_impl_); 6851 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Operation.operation_id) 6852 if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { 6853 return nullptr; 6854 } 6855 _impl_._has_bits_[0] &= ~0x00000004u; 6856 auto* released = _impl_.operation_id_.Release(); 6857 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 6858 _impl_.operation_id_.Set("", GetArena()); 6859 } 6860 return released; 6861 } 6862 inline void Operation::set_allocated_operation_id(std::string* PROTOBUF_NULLABLE value) { 6863 ::google::protobuf::internal::TSanWrite(&_impl_); 6864 if (value != nullptr) { 6865 _impl_._has_bits_[0] |= 0x00000004u; 6866 } else { 6867 _impl_._has_bits_[0] &= ~0x00000004u; 6868 } 6869 _impl_.operation_id_.SetAllocated(value, GetArena()); 6870 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.operation_id_.IsDefault()) { 6871 _impl_.operation_id_.Set("", GetArena()); 6872 } 6873 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Operation.operation_id) 6874 } 6875 6876 // repeated string consumes = 6; 6877 inline int Operation::_internal_consumes_size() const { 6878 return _internal_consumes().size(); 6879 } 6880 inline int Operation::consumes_size() const { 6881 return _internal_consumes_size(); 6882 } 6883 inline void Operation::clear_consumes() { 6884 ::google::protobuf::internal::TSanWrite(&_impl_); 6885 _impl_.consumes_.Clear(); 6886 } 6887 inline std::string* PROTOBUF_NONNULL Operation::add_consumes() 6888 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6889 ::google::protobuf::internal::TSanWrite(&_impl_); 6890 std::string* _s = _internal_mutable_consumes()->Add(); 6891 // @@protoc_insertion_point(field_add_mutable:grpc.gateway.protoc_gen_openapiv2.options.Operation.consumes) 6892 return _s; 6893 } 6894 inline const std::string& Operation::consumes(int index) const 6895 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6896 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Operation.consumes) 6897 return _internal_consumes().Get(index); 6898 } 6899 inline std::string* PROTOBUF_NONNULL Operation::mutable_consumes(int index) 6900 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6901 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Operation.consumes) 6902 return _internal_mutable_consumes()->Mutable(index); 6903 } 6904 template <typename Arg_, typename... Args_> 6905 inline void Operation::set_consumes(int index, Arg_&& value, Args_... args) { 6906 ::google::protobuf::internal::AssignToString(*_internal_mutable_consumes()->Mutable(index), std::forward<Arg_>(value), 6907 args... ); 6908 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Operation.consumes) 6909 } 6910 template <typename Arg_, typename... Args_> 6911 inline void Operation::add_consumes(Arg_&& value, Args_... args) { 6912 ::google::protobuf::internal::TSanWrite(&_impl_); 6913 ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_consumes(), 6914 std::forward<Arg_>(value), 6915 args... ); 6916 // @@protoc_insertion_point(field_add:grpc.gateway.protoc_gen_openapiv2.options.Operation.consumes) 6917 } 6918 inline const ::google::protobuf::RepeatedPtrField<std::string>& Operation::consumes() const 6919 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6920 // @@protoc_insertion_point(field_list:grpc.gateway.protoc_gen_openapiv2.options.Operation.consumes) 6921 return _internal_consumes(); 6922 } 6923 inline ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL 6924 Operation::mutable_consumes() ABSL_ATTRIBUTE_LIFETIME_BOUND { 6925 // @@protoc_insertion_point(field_mutable_list:grpc.gateway.protoc_gen_openapiv2.options.Operation.consumes) 6926 ::google::protobuf::internal::TSanWrite(&_impl_); 6927 return _internal_mutable_consumes(); 6928 } 6929 inline const ::google::protobuf::RepeatedPtrField<std::string>& 6930 Operation::_internal_consumes() const { 6931 ::google::protobuf::internal::TSanRead(&_impl_); 6932 return _impl_.consumes_; 6933 } 6934 inline ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL 6935 Operation::_internal_mutable_consumes() { 6936 ::google::protobuf::internal::TSanRead(&_impl_); 6937 return &_impl_.consumes_; 6938 } 6939 6940 // repeated string produces = 7; 6941 inline int Operation::_internal_produces_size() const { 6942 return _internal_produces().size(); 6943 } 6944 inline int Operation::produces_size() const { 6945 return _internal_produces_size(); 6946 } 6947 inline void Operation::clear_produces() { 6948 ::google::protobuf::internal::TSanWrite(&_impl_); 6949 _impl_.produces_.Clear(); 6950 } 6951 inline std::string* PROTOBUF_NONNULL Operation::add_produces() 6952 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6953 ::google::protobuf::internal::TSanWrite(&_impl_); 6954 std::string* _s = _internal_mutable_produces()->Add(); 6955 // @@protoc_insertion_point(field_add_mutable:grpc.gateway.protoc_gen_openapiv2.options.Operation.produces) 6956 return _s; 6957 } 6958 inline const std::string& Operation::produces(int index) const 6959 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6960 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Operation.produces) 6961 return _internal_produces().Get(index); 6962 } 6963 inline std::string* PROTOBUF_NONNULL Operation::mutable_produces(int index) 6964 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6965 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Operation.produces) 6966 return _internal_mutable_produces()->Mutable(index); 6967 } 6968 template <typename Arg_, typename... Args_> 6969 inline void Operation::set_produces(int index, Arg_&& value, Args_... args) { 6970 ::google::protobuf::internal::AssignToString(*_internal_mutable_produces()->Mutable(index), std::forward<Arg_>(value), 6971 args... ); 6972 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Operation.produces) 6973 } 6974 template <typename Arg_, typename... Args_> 6975 inline void Operation::add_produces(Arg_&& value, Args_... args) { 6976 ::google::protobuf::internal::TSanWrite(&_impl_); 6977 ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_produces(), 6978 std::forward<Arg_>(value), 6979 args... ); 6980 // @@protoc_insertion_point(field_add:grpc.gateway.protoc_gen_openapiv2.options.Operation.produces) 6981 } 6982 inline const ::google::protobuf::RepeatedPtrField<std::string>& Operation::produces() const 6983 ABSL_ATTRIBUTE_LIFETIME_BOUND { 6984 // @@protoc_insertion_point(field_list:grpc.gateway.protoc_gen_openapiv2.options.Operation.produces) 6985 return _internal_produces(); 6986 } 6987 inline ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL 6988 Operation::mutable_produces() ABSL_ATTRIBUTE_LIFETIME_BOUND { 6989 // @@protoc_insertion_point(field_mutable_list:grpc.gateway.protoc_gen_openapiv2.options.Operation.produces) 6990 ::google::protobuf::internal::TSanWrite(&_impl_); 6991 return _internal_mutable_produces(); 6992 } 6993 inline const ::google::protobuf::RepeatedPtrField<std::string>& 6994 Operation::_internal_produces() const { 6995 ::google::protobuf::internal::TSanRead(&_impl_); 6996 return _impl_.produces_; 6997 } 6998 inline ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL 6999 Operation::_internal_mutable_produces() { 7000 ::google::protobuf::internal::TSanRead(&_impl_); 7001 return &_impl_.produces_; 7002 } 7003 7004 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 9; 7005 inline int Operation::_internal_responses_size() const { 7006 return _internal_responses().size(); 7007 } 7008 inline int Operation::responses_size() const { 7009 return _internal_responses_size(); 7010 } 7011 inline void Operation::clear_responses() { 7012 ::google::protobuf::internal::TSanWrite(&_impl_); 7013 _impl_.responses_.Clear(); 7014 } 7015 inline const ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response>& Operation::_internal_responses() const { 7016 ::google::protobuf::internal::TSanRead(&_impl_); 7017 return _impl_.responses_.GetMap(); 7018 } 7019 inline const ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response>& Operation::responses() const ABSL_ATTRIBUTE_LIFETIME_BOUND { 7020 // @@protoc_insertion_point(field_map:grpc.gateway.protoc_gen_openapiv2.options.Operation.responses) 7021 return _internal_responses(); 7022 } 7023 inline ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response>* PROTOBUF_NONNULL Operation::_internal_mutable_responses() { 7024 ::google::protobuf::internal::TSanWrite(&_impl_); 7025 return _impl_.responses_.MutableMap(); 7026 } 7027 inline ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response>* PROTOBUF_NONNULL Operation::mutable_responses() 7028 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7029 // @@protoc_insertion_point(field_mutable_map:grpc.gateway.protoc_gen_openapiv2.options.Operation.responses) 7030 return _internal_mutable_responses(); 7031 } 7032 7033 // repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 10; 7034 inline int Operation::_internal_schemes_size() const { 7035 return _internal_schemes().size(); 7036 } 7037 inline int Operation::schemes_size() const { 7038 return _internal_schemes_size(); 7039 } 7040 inline void Operation::clear_schemes() { 7041 ::google::protobuf::internal::TSanWrite(&_impl_); 7042 _impl_.schemes_.Clear(); 7043 } 7044 inline ::grpc::gateway::protoc_gen_openapiv2::options::Scheme Operation::schemes(int index) const { 7045 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Operation.schemes) 7046 return static_cast<::grpc::gateway::protoc_gen_openapiv2::options::Scheme>(_internal_schemes().Get(index)); 7047 } 7048 inline void Operation::set_schemes(int index, ::grpc::gateway::protoc_gen_openapiv2::options::Scheme value) { 7049 _internal_mutable_schemes()->Set(index, value); 7050 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Operation.schemes) 7051 } 7052 inline void Operation::add_schemes(::grpc::gateway::protoc_gen_openapiv2::options::Scheme value) { 7053 ::google::protobuf::internal::TSanWrite(&_impl_); 7054 _internal_mutable_schemes()->Add(value); 7055 // @@protoc_insertion_point(field_add:grpc.gateway.protoc_gen_openapiv2.options.Operation.schemes) 7056 } 7057 inline const ::google::protobuf::RepeatedField<int>& Operation::schemes() const 7058 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7059 // @@protoc_insertion_point(field_list:grpc.gateway.protoc_gen_openapiv2.options.Operation.schemes) 7060 return _internal_schemes(); 7061 } 7062 inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL Operation::mutable_schemes() 7063 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7064 // @@protoc_insertion_point(field_mutable_list:grpc.gateway.protoc_gen_openapiv2.options.Operation.schemes) 7065 ::google::protobuf::internal::TSanWrite(&_impl_); 7066 return _internal_mutable_schemes(); 7067 } 7068 inline const ::google::protobuf::RepeatedField<int>& Operation::_internal_schemes() 7069 const { 7070 ::google::protobuf::internal::TSanRead(&_impl_); 7071 return _impl_.schemes_; 7072 } 7073 inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL 7074 Operation::_internal_mutable_schemes() { 7075 ::google::protobuf::internal::TSanRead(&_impl_); 7076 return &_impl_.schemes_; 7077 } 7078 7079 // bool deprecated = 11; 7080 inline void Operation::clear_deprecated() { 7081 ::google::protobuf::internal::TSanWrite(&_impl_); 7082 _impl_.deprecated_ = false; 7083 _impl_._has_bits_[0] &= ~0x00000010u; 7084 } 7085 inline bool Operation::deprecated() const { 7086 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Operation.deprecated) 7087 return _internal_deprecated(); 7088 } 7089 inline void Operation::set_deprecated(bool value) { 7090 _internal_set_deprecated(value); 7091 _impl_._has_bits_[0] |= 0x00000010u; 7092 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Operation.deprecated) 7093 } 7094 inline bool Operation::_internal_deprecated() const { 7095 ::google::protobuf::internal::TSanRead(&_impl_); 7096 return _impl_.deprecated_; 7097 } 7098 inline void Operation::_internal_set_deprecated(bool value) { 7099 ::google::protobuf::internal::TSanWrite(&_impl_); 7100 _impl_.deprecated_ = value; 7101 } 7102 7103 // repeated .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12; 7104 inline int Operation::_internal_security_size() const { 7105 return _internal_security().size(); 7106 } 7107 inline int Operation::security_size() const { 7108 return _internal_security_size(); 7109 } 7110 inline void Operation::clear_security() { 7111 ::google::protobuf::internal::TSanWrite(&_impl_); 7112 _impl_.security_.Clear(); 7113 } 7114 inline ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement* PROTOBUF_NONNULL Operation::mutable_security(int index) 7115 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7116 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Operation.security) 7117 return _internal_mutable_security()->Mutable(index); 7118 } 7119 inline ::google::protobuf::RepeatedPtrField<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement>* PROTOBUF_NONNULL Operation::mutable_security() 7120 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7121 // @@protoc_insertion_point(field_mutable_list:grpc.gateway.protoc_gen_openapiv2.options.Operation.security) 7122 ::google::protobuf::internal::TSanWrite(&_impl_); 7123 return _internal_mutable_security(); 7124 } 7125 inline const ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement& Operation::security(int index) const 7126 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7127 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Operation.security) 7128 return _internal_security().Get(index); 7129 } 7130 inline ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement* PROTOBUF_NONNULL Operation::add_security() 7131 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7132 ::google::protobuf::internal::TSanWrite(&_impl_); 7133 ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement* _add = _internal_mutable_security()->Add(); 7134 // @@protoc_insertion_point(field_add:grpc.gateway.protoc_gen_openapiv2.options.Operation.security) 7135 return _add; 7136 } 7137 inline const ::google::protobuf::RepeatedPtrField<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement>& Operation::security() const 7138 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7139 // @@protoc_insertion_point(field_list:grpc.gateway.protoc_gen_openapiv2.options.Operation.security) 7140 return _internal_security(); 7141 } 7142 inline const ::google::protobuf::RepeatedPtrField<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement>& 7143 Operation::_internal_security() const { 7144 ::google::protobuf::internal::TSanRead(&_impl_); 7145 return _impl_.security_; 7146 } 7147 inline ::google::protobuf::RepeatedPtrField<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement>* PROTOBUF_NONNULL 7148 Operation::_internal_mutable_security() { 7149 ::google::protobuf::internal::TSanRead(&_impl_); 7150 return &_impl_.security_; 7151 } 7152 7153 // map<string, .google.protobuf.Value> extensions = 13; 7154 inline int Operation::_internal_extensions_size() const { 7155 return _internal_extensions().size(); 7156 } 7157 inline int Operation::extensions_size() const { 7158 return _internal_extensions_size(); 7159 } 7160 inline const ::google::protobuf::Map<std::string, ::google::protobuf::Value>& Operation::_internal_extensions() const { 7161 ::google::protobuf::internal::TSanRead(&_impl_); 7162 return _impl_.extensions_.GetMap(); 7163 } 7164 inline const ::google::protobuf::Map<std::string, ::google::protobuf::Value>& Operation::extensions() const ABSL_ATTRIBUTE_LIFETIME_BOUND { 7165 // @@protoc_insertion_point(field_map:grpc.gateway.protoc_gen_openapiv2.options.Operation.extensions) 7166 return _internal_extensions(); 7167 } 7168 inline ::google::protobuf::Map<std::string, ::google::protobuf::Value>* PROTOBUF_NONNULL Operation::_internal_mutable_extensions() { 7169 ::google::protobuf::internal::TSanWrite(&_impl_); 7170 return _impl_.extensions_.MutableMap(); 7171 } 7172 inline ::google::protobuf::Map<std::string, ::google::protobuf::Value>* PROTOBUF_NONNULL Operation::mutable_extensions() 7173 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7174 // @@protoc_insertion_point(field_mutable_map:grpc.gateway.protoc_gen_openapiv2.options.Operation.extensions) 7175 return _internal_mutable_extensions(); 7176 } 7177 7178 // ------------------------------------------------------------------- 7179 7180 // Header 7181 7182 // string description = 1; 7183 inline void Header::clear_description() { 7184 ::google::protobuf::internal::TSanWrite(&_impl_); 7185 _impl_.description_.ClearToEmpty(); 7186 _impl_._has_bits_[0] &= ~0x00000001u; 7187 } 7188 inline const std::string& Header::description() const 7189 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7190 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Header.description) 7191 return _internal_description(); 7192 } 7193 template <typename Arg_, typename... Args_> 7194 PROTOBUF_ALWAYS_INLINE void Header::set_description(Arg_&& arg, Args_... args) { 7195 ::google::protobuf::internal::TSanWrite(&_impl_); 7196 _impl_._has_bits_[0] |= 0x00000001u; 7197 _impl_.description_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 7198 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Header.description) 7199 } 7200 inline std::string* PROTOBUF_NONNULL Header::mutable_description() 7201 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7202 std::string* _s = _internal_mutable_description(); 7203 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Header.description) 7204 return _s; 7205 } 7206 inline const std::string& Header::_internal_description() const { 7207 ::google::protobuf::internal::TSanRead(&_impl_); 7208 return _impl_.description_.Get(); 7209 } 7210 inline void Header::_internal_set_description(const std::string& value) { 7211 ::google::protobuf::internal::TSanWrite(&_impl_); 7212 _impl_._has_bits_[0] |= 0x00000001u; 7213 _impl_.description_.Set(value, GetArena()); 7214 } 7215 inline std::string* PROTOBUF_NONNULL Header::_internal_mutable_description() { 7216 ::google::protobuf::internal::TSanWrite(&_impl_); 7217 _impl_._has_bits_[0] |= 0x00000001u; 7218 return _impl_.description_.Mutable( GetArena()); 7219 } 7220 inline std::string* PROTOBUF_NULLABLE Header::release_description() { 7221 ::google::protobuf::internal::TSanWrite(&_impl_); 7222 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Header.description) 7223 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { 7224 return nullptr; 7225 } 7226 _impl_._has_bits_[0] &= ~0x00000001u; 7227 auto* released = _impl_.description_.Release(); 7228 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 7229 _impl_.description_.Set("", GetArena()); 7230 } 7231 return released; 7232 } 7233 inline void Header::set_allocated_description(std::string* PROTOBUF_NULLABLE value) { 7234 ::google::protobuf::internal::TSanWrite(&_impl_); 7235 if (value != nullptr) { 7236 _impl_._has_bits_[0] |= 0x00000001u; 7237 } else { 7238 _impl_._has_bits_[0] &= ~0x00000001u; 7239 } 7240 _impl_.description_.SetAllocated(value, GetArena()); 7241 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.description_.IsDefault()) { 7242 _impl_.description_.Set("", GetArena()); 7243 } 7244 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Header.description) 7245 } 7246 7247 // string type = 2; 7248 inline void Header::clear_type() { 7249 ::google::protobuf::internal::TSanWrite(&_impl_); 7250 _impl_.type_.ClearToEmpty(); 7251 _impl_._has_bits_[0] &= ~0x00000002u; 7252 } 7253 inline const std::string& Header::type() const 7254 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7255 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Header.type) 7256 return _internal_type(); 7257 } 7258 template <typename Arg_, typename... Args_> 7259 PROTOBUF_ALWAYS_INLINE void Header::set_type(Arg_&& arg, Args_... args) { 7260 ::google::protobuf::internal::TSanWrite(&_impl_); 7261 _impl_._has_bits_[0] |= 0x00000002u; 7262 _impl_.type_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 7263 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Header.type) 7264 } 7265 inline std::string* PROTOBUF_NONNULL Header::mutable_type() 7266 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7267 std::string* _s = _internal_mutable_type(); 7268 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Header.type) 7269 return _s; 7270 } 7271 inline const std::string& Header::_internal_type() const { 7272 ::google::protobuf::internal::TSanRead(&_impl_); 7273 return _impl_.type_.Get(); 7274 } 7275 inline void Header::_internal_set_type(const std::string& value) { 7276 ::google::protobuf::internal::TSanWrite(&_impl_); 7277 _impl_._has_bits_[0] |= 0x00000002u; 7278 _impl_.type_.Set(value, GetArena()); 7279 } 7280 inline std::string* PROTOBUF_NONNULL Header::_internal_mutable_type() { 7281 ::google::protobuf::internal::TSanWrite(&_impl_); 7282 _impl_._has_bits_[0] |= 0x00000002u; 7283 return _impl_.type_.Mutable( GetArena()); 7284 } 7285 inline std::string* PROTOBUF_NULLABLE Header::release_type() { 7286 ::google::protobuf::internal::TSanWrite(&_impl_); 7287 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Header.type) 7288 if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { 7289 return nullptr; 7290 } 7291 _impl_._has_bits_[0] &= ~0x00000002u; 7292 auto* released = _impl_.type_.Release(); 7293 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 7294 _impl_.type_.Set("", GetArena()); 7295 } 7296 return released; 7297 } 7298 inline void Header::set_allocated_type(std::string* PROTOBUF_NULLABLE value) { 7299 ::google::protobuf::internal::TSanWrite(&_impl_); 7300 if (value != nullptr) { 7301 _impl_._has_bits_[0] |= 0x00000002u; 7302 } else { 7303 _impl_._has_bits_[0] &= ~0x00000002u; 7304 } 7305 _impl_.type_.SetAllocated(value, GetArena()); 7306 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.type_.IsDefault()) { 7307 _impl_.type_.Set("", GetArena()); 7308 } 7309 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Header.type) 7310 } 7311 7312 // string format = 3; 7313 inline void Header::clear_format() { 7314 ::google::protobuf::internal::TSanWrite(&_impl_); 7315 _impl_.format_.ClearToEmpty(); 7316 _impl_._has_bits_[0] &= ~0x00000004u; 7317 } 7318 inline const std::string& Header::format() const 7319 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7320 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Header.format) 7321 return _internal_format(); 7322 } 7323 template <typename Arg_, typename... Args_> 7324 PROTOBUF_ALWAYS_INLINE void Header::set_format(Arg_&& arg, Args_... args) { 7325 ::google::protobuf::internal::TSanWrite(&_impl_); 7326 _impl_._has_bits_[0] |= 0x00000004u; 7327 _impl_.format_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 7328 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Header.format) 7329 } 7330 inline std::string* PROTOBUF_NONNULL Header::mutable_format() 7331 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7332 std::string* _s = _internal_mutable_format(); 7333 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Header.format) 7334 return _s; 7335 } 7336 inline const std::string& Header::_internal_format() const { 7337 ::google::protobuf::internal::TSanRead(&_impl_); 7338 return _impl_.format_.Get(); 7339 } 7340 inline void Header::_internal_set_format(const std::string& value) { 7341 ::google::protobuf::internal::TSanWrite(&_impl_); 7342 _impl_._has_bits_[0] |= 0x00000004u; 7343 _impl_.format_.Set(value, GetArena()); 7344 } 7345 inline std::string* PROTOBUF_NONNULL Header::_internal_mutable_format() { 7346 ::google::protobuf::internal::TSanWrite(&_impl_); 7347 _impl_._has_bits_[0] |= 0x00000004u; 7348 return _impl_.format_.Mutable( GetArena()); 7349 } 7350 inline std::string* PROTOBUF_NULLABLE Header::release_format() { 7351 ::google::protobuf::internal::TSanWrite(&_impl_); 7352 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Header.format) 7353 if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { 7354 return nullptr; 7355 } 7356 _impl_._has_bits_[0] &= ~0x00000004u; 7357 auto* released = _impl_.format_.Release(); 7358 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 7359 _impl_.format_.Set("", GetArena()); 7360 } 7361 return released; 7362 } 7363 inline void Header::set_allocated_format(std::string* PROTOBUF_NULLABLE value) { 7364 ::google::protobuf::internal::TSanWrite(&_impl_); 7365 if (value != nullptr) { 7366 _impl_._has_bits_[0] |= 0x00000004u; 7367 } else { 7368 _impl_._has_bits_[0] &= ~0x00000004u; 7369 } 7370 _impl_.format_.SetAllocated(value, GetArena()); 7371 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.format_.IsDefault()) { 7372 _impl_.format_.Set("", GetArena()); 7373 } 7374 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Header.format) 7375 } 7376 7377 // string default = 6; 7378 inline void Header::clear_default_() { 7379 ::google::protobuf::internal::TSanWrite(&_impl_); 7380 _impl_.default__.ClearToEmpty(); 7381 _impl_._has_bits_[0] &= ~0x00000008u; 7382 } 7383 inline const std::string& Header::default_() const 7384 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7385 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Header.default) 7386 return _internal_default_(); 7387 } 7388 template <typename Arg_, typename... Args_> 7389 PROTOBUF_ALWAYS_INLINE void Header::set_default_(Arg_&& arg, Args_... args) { 7390 ::google::protobuf::internal::TSanWrite(&_impl_); 7391 _impl_._has_bits_[0] |= 0x00000008u; 7392 _impl_.default__.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 7393 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Header.default) 7394 } 7395 inline std::string* PROTOBUF_NONNULL Header::mutable_default_() 7396 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7397 std::string* _s = _internal_mutable_default_(); 7398 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Header.default) 7399 return _s; 7400 } 7401 inline const std::string& Header::_internal_default_() const { 7402 ::google::protobuf::internal::TSanRead(&_impl_); 7403 return _impl_.default__.Get(); 7404 } 7405 inline void Header::_internal_set_default_(const std::string& value) { 7406 ::google::protobuf::internal::TSanWrite(&_impl_); 7407 _impl_._has_bits_[0] |= 0x00000008u; 7408 _impl_.default__.Set(value, GetArena()); 7409 } 7410 inline std::string* PROTOBUF_NONNULL Header::_internal_mutable_default_() { 7411 ::google::protobuf::internal::TSanWrite(&_impl_); 7412 _impl_._has_bits_[0] |= 0x00000008u; 7413 return _impl_.default__.Mutable( GetArena()); 7414 } 7415 inline std::string* PROTOBUF_NULLABLE Header::release_default_() { 7416 ::google::protobuf::internal::TSanWrite(&_impl_); 7417 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Header.default) 7418 if ((_impl_._has_bits_[0] & 0x00000008u) == 0) { 7419 return nullptr; 7420 } 7421 _impl_._has_bits_[0] &= ~0x00000008u; 7422 auto* released = _impl_.default__.Release(); 7423 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 7424 _impl_.default__.Set("", GetArena()); 7425 } 7426 return released; 7427 } 7428 inline void Header::set_allocated_default_(std::string* PROTOBUF_NULLABLE value) { 7429 ::google::protobuf::internal::TSanWrite(&_impl_); 7430 if (value != nullptr) { 7431 _impl_._has_bits_[0] |= 0x00000008u; 7432 } else { 7433 _impl_._has_bits_[0] &= ~0x00000008u; 7434 } 7435 _impl_.default__.SetAllocated(value, GetArena()); 7436 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.default__.IsDefault()) { 7437 _impl_.default__.Set("", GetArena()); 7438 } 7439 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Header.default) 7440 } 7441 7442 // string pattern = 13; 7443 inline void Header::clear_pattern() { 7444 ::google::protobuf::internal::TSanWrite(&_impl_); 7445 _impl_.pattern_.ClearToEmpty(); 7446 _impl_._has_bits_[0] &= ~0x00000010u; 7447 } 7448 inline const std::string& Header::pattern() const 7449 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7450 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Header.pattern) 7451 return _internal_pattern(); 7452 } 7453 template <typename Arg_, typename... Args_> 7454 PROTOBUF_ALWAYS_INLINE void Header::set_pattern(Arg_&& arg, Args_... args) { 7455 ::google::protobuf::internal::TSanWrite(&_impl_); 7456 _impl_._has_bits_[0] |= 0x00000010u; 7457 _impl_.pattern_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 7458 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Header.pattern) 7459 } 7460 inline std::string* PROTOBUF_NONNULL Header::mutable_pattern() 7461 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7462 std::string* _s = _internal_mutable_pattern(); 7463 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Header.pattern) 7464 return _s; 7465 } 7466 inline const std::string& Header::_internal_pattern() const { 7467 ::google::protobuf::internal::TSanRead(&_impl_); 7468 return _impl_.pattern_.Get(); 7469 } 7470 inline void Header::_internal_set_pattern(const std::string& value) { 7471 ::google::protobuf::internal::TSanWrite(&_impl_); 7472 _impl_._has_bits_[0] |= 0x00000010u; 7473 _impl_.pattern_.Set(value, GetArena()); 7474 } 7475 inline std::string* PROTOBUF_NONNULL Header::_internal_mutable_pattern() { 7476 ::google::protobuf::internal::TSanWrite(&_impl_); 7477 _impl_._has_bits_[0] |= 0x00000010u; 7478 return _impl_.pattern_.Mutable( GetArena()); 7479 } 7480 inline std::string* PROTOBUF_NULLABLE Header::release_pattern() { 7481 ::google::protobuf::internal::TSanWrite(&_impl_); 7482 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Header.pattern) 7483 if ((_impl_._has_bits_[0] & 0x00000010u) == 0) { 7484 return nullptr; 7485 } 7486 _impl_._has_bits_[0] &= ~0x00000010u; 7487 auto* released = _impl_.pattern_.Release(); 7488 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 7489 _impl_.pattern_.Set("", GetArena()); 7490 } 7491 return released; 7492 } 7493 inline void Header::set_allocated_pattern(std::string* PROTOBUF_NULLABLE value) { 7494 ::google::protobuf::internal::TSanWrite(&_impl_); 7495 if (value != nullptr) { 7496 _impl_._has_bits_[0] |= 0x00000010u; 7497 } else { 7498 _impl_._has_bits_[0] &= ~0x00000010u; 7499 } 7500 _impl_.pattern_.SetAllocated(value, GetArena()); 7501 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.pattern_.IsDefault()) { 7502 _impl_.pattern_.Set("", GetArena()); 7503 } 7504 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Header.pattern) 7505 } 7506 7507 // ------------------------------------------------------------------- 7508 7509 // ------------------------------------------------------------------- 7510 7511 // ------------------------------------------------------------------- 7512 7513 // ------------------------------------------------------------------- 7514 7515 // Response 7516 7517 // string description = 1; 7518 inline void Response::clear_description() { 7519 ::google::protobuf::internal::TSanWrite(&_impl_); 7520 _impl_.description_.ClearToEmpty(); 7521 _impl_._has_bits_[0] &= ~0x00000001u; 7522 } 7523 inline const std::string& Response::description() const 7524 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7525 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Response.description) 7526 return _internal_description(); 7527 } 7528 template <typename Arg_, typename... Args_> 7529 PROTOBUF_ALWAYS_INLINE void Response::set_description(Arg_&& arg, Args_... args) { 7530 ::google::protobuf::internal::TSanWrite(&_impl_); 7531 _impl_._has_bits_[0] |= 0x00000001u; 7532 _impl_.description_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 7533 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Response.description) 7534 } 7535 inline std::string* PROTOBUF_NONNULL Response::mutable_description() 7536 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7537 std::string* _s = _internal_mutable_description(); 7538 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Response.description) 7539 return _s; 7540 } 7541 inline const std::string& Response::_internal_description() const { 7542 ::google::protobuf::internal::TSanRead(&_impl_); 7543 return _impl_.description_.Get(); 7544 } 7545 inline void Response::_internal_set_description(const std::string& value) { 7546 ::google::protobuf::internal::TSanWrite(&_impl_); 7547 _impl_._has_bits_[0] |= 0x00000001u; 7548 _impl_.description_.Set(value, GetArena()); 7549 } 7550 inline std::string* PROTOBUF_NONNULL Response::_internal_mutable_description() { 7551 ::google::protobuf::internal::TSanWrite(&_impl_); 7552 _impl_._has_bits_[0] |= 0x00000001u; 7553 return _impl_.description_.Mutable( GetArena()); 7554 } 7555 inline std::string* PROTOBUF_NULLABLE Response::release_description() { 7556 ::google::protobuf::internal::TSanWrite(&_impl_); 7557 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Response.description) 7558 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { 7559 return nullptr; 7560 } 7561 _impl_._has_bits_[0] &= ~0x00000001u; 7562 auto* released = _impl_.description_.Release(); 7563 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 7564 _impl_.description_.Set("", GetArena()); 7565 } 7566 return released; 7567 } 7568 inline void Response::set_allocated_description(std::string* PROTOBUF_NULLABLE value) { 7569 ::google::protobuf::internal::TSanWrite(&_impl_); 7570 if (value != nullptr) { 7571 _impl_._has_bits_[0] |= 0x00000001u; 7572 } else { 7573 _impl_._has_bits_[0] &= ~0x00000001u; 7574 } 7575 _impl_.description_.SetAllocated(value, GetArena()); 7576 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.description_.IsDefault()) { 7577 _impl_.description_.Set("", GetArena()); 7578 } 7579 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Response.description) 7580 } 7581 7582 // .grpc.gateway.protoc_gen_openapiv2.options.Schema schema = 2; 7583 inline bool Response::has_schema() const { 7584 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; 7585 PROTOBUF_ASSUME(!value || _impl_.schema_ != nullptr); 7586 return value; 7587 } 7588 inline void Response::clear_schema() { 7589 ::google::protobuf::internal::TSanWrite(&_impl_); 7590 if (_impl_.schema_ != nullptr) _impl_.schema_->Clear(); 7591 _impl_._has_bits_[0] &= ~0x00000002u; 7592 } 7593 inline const ::grpc::gateway::protoc_gen_openapiv2::options::Schema& Response::_internal_schema() const { 7594 ::google::protobuf::internal::TSanRead(&_impl_); 7595 const ::grpc::gateway::protoc_gen_openapiv2::options::Schema* p = _impl_.schema_; 7596 return p != nullptr ? *p : reinterpret_cast<const ::grpc::gateway::protoc_gen_openapiv2::options::Schema&>(::grpc::gateway::protoc_gen_openapiv2::options::_Schema_default_instance_); 7597 } 7598 inline const ::grpc::gateway::protoc_gen_openapiv2::options::Schema& Response::schema() const ABSL_ATTRIBUTE_LIFETIME_BOUND { 7599 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Response.schema) 7600 return _internal_schema(); 7601 } 7602 inline void Response::unsafe_arena_set_allocated_schema( 7603 ::grpc::gateway::protoc_gen_openapiv2::options::Schema* PROTOBUF_NULLABLE value) { 7604 ::google::protobuf::internal::TSanWrite(&_impl_); 7605 if (GetArena() == nullptr) { 7606 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.schema_); 7607 } 7608 _impl_.schema_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::Schema*>(value); 7609 if (value != nullptr) { 7610 _impl_._has_bits_[0] |= 0x00000002u; 7611 } else { 7612 _impl_._has_bits_[0] &= ~0x00000002u; 7613 } 7614 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Response.schema) 7615 } 7616 inline ::grpc::gateway::protoc_gen_openapiv2::options::Schema* PROTOBUF_NULLABLE Response::release_schema() { 7617 ::google::protobuf::internal::TSanWrite(&_impl_); 7618 7619 _impl_._has_bits_[0] &= ~0x00000002u; 7620 ::grpc::gateway::protoc_gen_openapiv2::options::Schema* released = _impl_.schema_; 7621 _impl_.schema_ = nullptr; 7622 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { 7623 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); 7624 released = ::google::protobuf::internal::DuplicateIfNonNull(released); 7625 if (GetArena() == nullptr) { 7626 delete old; 7627 } 7628 } else { 7629 if (GetArena() != nullptr) { 7630 released = ::google::protobuf::internal::DuplicateIfNonNull(released); 7631 } 7632 } 7633 return released; 7634 } 7635 inline ::grpc::gateway::protoc_gen_openapiv2::options::Schema* PROTOBUF_NULLABLE Response::unsafe_arena_release_schema() { 7636 ::google::protobuf::internal::TSanWrite(&_impl_); 7637 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Response.schema) 7638 7639 _impl_._has_bits_[0] &= ~0x00000002u; 7640 ::grpc::gateway::protoc_gen_openapiv2::options::Schema* temp = _impl_.schema_; 7641 _impl_.schema_ = nullptr; 7642 return temp; 7643 } 7644 inline ::grpc::gateway::protoc_gen_openapiv2::options::Schema* PROTOBUF_NONNULL Response::_internal_mutable_schema() { 7645 ::google::protobuf::internal::TSanWrite(&_impl_); 7646 if (_impl_.schema_ == nullptr) { 7647 auto* p = ::google::protobuf::Message::DefaultConstruct<::grpc::gateway::protoc_gen_openapiv2::options::Schema>(GetArena()); 7648 _impl_.schema_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::Schema*>(p); 7649 } 7650 return _impl_.schema_; 7651 } 7652 inline ::grpc::gateway::protoc_gen_openapiv2::options::Schema* PROTOBUF_NONNULL Response::mutable_schema() 7653 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7654 _impl_._has_bits_[0] |= 0x00000002u; 7655 ::grpc::gateway::protoc_gen_openapiv2::options::Schema* _msg = _internal_mutable_schema(); 7656 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Response.schema) 7657 return _msg; 7658 } 7659 inline void Response::set_allocated_schema(::grpc::gateway::protoc_gen_openapiv2::options::Schema* PROTOBUF_NULLABLE value) { 7660 ::google::protobuf::Arena* message_arena = GetArena(); 7661 ::google::protobuf::internal::TSanWrite(&_impl_); 7662 if (message_arena == nullptr) { 7663 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.schema_); 7664 } 7665 7666 if (value != nullptr) { 7667 ::google::protobuf::Arena* submessage_arena = value->GetArena(); 7668 if (message_arena != submessage_arena) { 7669 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); 7670 } 7671 _impl_._has_bits_[0] |= 0x00000002u; 7672 } else { 7673 _impl_._has_bits_[0] &= ~0x00000002u; 7674 } 7675 7676 _impl_.schema_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::Schema*>(value); 7677 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Response.schema) 7678 } 7679 7680 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.Header> headers = 3; 7681 inline int Response::_internal_headers_size() const { 7682 return _internal_headers().size(); 7683 } 7684 inline int Response::headers_size() const { 7685 return _internal_headers_size(); 7686 } 7687 inline void Response::clear_headers() { 7688 ::google::protobuf::internal::TSanWrite(&_impl_); 7689 _impl_.headers_.Clear(); 7690 } 7691 inline const ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Header>& Response::_internal_headers() const { 7692 ::google::protobuf::internal::TSanRead(&_impl_); 7693 return _impl_.headers_.GetMap(); 7694 } 7695 inline const ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Header>& Response::headers() const ABSL_ATTRIBUTE_LIFETIME_BOUND { 7696 // @@protoc_insertion_point(field_map:grpc.gateway.protoc_gen_openapiv2.options.Response.headers) 7697 return _internal_headers(); 7698 } 7699 inline ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Header>* PROTOBUF_NONNULL Response::_internal_mutable_headers() { 7700 ::google::protobuf::internal::TSanWrite(&_impl_); 7701 return _impl_.headers_.MutableMap(); 7702 } 7703 inline ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Header>* PROTOBUF_NONNULL Response::mutable_headers() 7704 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7705 // @@protoc_insertion_point(field_mutable_map:grpc.gateway.protoc_gen_openapiv2.options.Response.headers) 7706 return _internal_mutable_headers(); 7707 } 7708 7709 // map<string, string> examples = 4; 7710 inline int Response::_internal_examples_size() const { 7711 return _internal_examples().size(); 7712 } 7713 inline int Response::examples_size() const { 7714 return _internal_examples_size(); 7715 } 7716 inline void Response::clear_examples() { 7717 ::google::protobuf::internal::TSanWrite(&_impl_); 7718 _impl_.examples_.Clear(); 7719 } 7720 inline const ::google::protobuf::Map<std::string, std::string>& Response::_internal_examples() const { 7721 ::google::protobuf::internal::TSanRead(&_impl_); 7722 return _impl_.examples_.GetMap(); 7723 } 7724 inline const ::google::protobuf::Map<std::string, std::string>& Response::examples() const ABSL_ATTRIBUTE_LIFETIME_BOUND { 7725 // @@protoc_insertion_point(field_map:grpc.gateway.protoc_gen_openapiv2.options.Response.examples) 7726 return _internal_examples(); 7727 } 7728 inline ::google::protobuf::Map<std::string, std::string>* PROTOBUF_NONNULL Response::_internal_mutable_examples() { 7729 ::google::protobuf::internal::TSanWrite(&_impl_); 7730 return _impl_.examples_.MutableMap(); 7731 } 7732 inline ::google::protobuf::Map<std::string, std::string>* PROTOBUF_NONNULL Response::mutable_examples() 7733 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7734 // @@protoc_insertion_point(field_mutable_map:grpc.gateway.protoc_gen_openapiv2.options.Response.examples) 7735 return _internal_mutable_examples(); 7736 } 7737 7738 // map<string, .google.protobuf.Value> extensions = 5; 7739 inline int Response::_internal_extensions_size() const { 7740 return _internal_extensions().size(); 7741 } 7742 inline int Response::extensions_size() const { 7743 return _internal_extensions_size(); 7744 } 7745 inline const ::google::protobuf::Map<std::string, ::google::protobuf::Value>& Response::_internal_extensions() const { 7746 ::google::protobuf::internal::TSanRead(&_impl_); 7747 return _impl_.extensions_.GetMap(); 7748 } 7749 inline const ::google::protobuf::Map<std::string, ::google::protobuf::Value>& Response::extensions() const ABSL_ATTRIBUTE_LIFETIME_BOUND { 7750 // @@protoc_insertion_point(field_map:grpc.gateway.protoc_gen_openapiv2.options.Response.extensions) 7751 return _internal_extensions(); 7752 } 7753 inline ::google::protobuf::Map<std::string, ::google::protobuf::Value>* PROTOBUF_NONNULL Response::_internal_mutable_extensions() { 7754 ::google::protobuf::internal::TSanWrite(&_impl_); 7755 return _impl_.extensions_.MutableMap(); 7756 } 7757 inline ::google::protobuf::Map<std::string, ::google::protobuf::Value>* PROTOBUF_NONNULL Response::mutable_extensions() 7758 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7759 // @@protoc_insertion_point(field_mutable_map:grpc.gateway.protoc_gen_openapiv2.options.Response.extensions) 7760 return _internal_mutable_extensions(); 7761 } 7762 7763 // ------------------------------------------------------------------- 7764 7765 // ------------------------------------------------------------------- 7766 7767 // Info 7768 7769 // string title = 1; 7770 inline void Info::clear_title() { 7771 ::google::protobuf::internal::TSanWrite(&_impl_); 7772 _impl_.title_.ClearToEmpty(); 7773 _impl_._has_bits_[0] &= ~0x00000001u; 7774 } 7775 inline const std::string& Info::title() const 7776 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7777 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Info.title) 7778 return _internal_title(); 7779 } 7780 template <typename Arg_, typename... Args_> 7781 PROTOBUF_ALWAYS_INLINE void Info::set_title(Arg_&& arg, Args_... args) { 7782 ::google::protobuf::internal::TSanWrite(&_impl_); 7783 _impl_._has_bits_[0] |= 0x00000001u; 7784 _impl_.title_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 7785 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Info.title) 7786 } 7787 inline std::string* PROTOBUF_NONNULL Info::mutable_title() 7788 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7789 std::string* _s = _internal_mutable_title(); 7790 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Info.title) 7791 return _s; 7792 } 7793 inline const std::string& Info::_internal_title() const { 7794 ::google::protobuf::internal::TSanRead(&_impl_); 7795 return _impl_.title_.Get(); 7796 } 7797 inline void Info::_internal_set_title(const std::string& value) { 7798 ::google::protobuf::internal::TSanWrite(&_impl_); 7799 _impl_._has_bits_[0] |= 0x00000001u; 7800 _impl_.title_.Set(value, GetArena()); 7801 } 7802 inline std::string* PROTOBUF_NONNULL Info::_internal_mutable_title() { 7803 ::google::protobuf::internal::TSanWrite(&_impl_); 7804 _impl_._has_bits_[0] |= 0x00000001u; 7805 return _impl_.title_.Mutable( GetArena()); 7806 } 7807 inline std::string* PROTOBUF_NULLABLE Info::release_title() { 7808 ::google::protobuf::internal::TSanWrite(&_impl_); 7809 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Info.title) 7810 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { 7811 return nullptr; 7812 } 7813 _impl_._has_bits_[0] &= ~0x00000001u; 7814 auto* released = _impl_.title_.Release(); 7815 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 7816 _impl_.title_.Set("", GetArena()); 7817 } 7818 return released; 7819 } 7820 inline void Info::set_allocated_title(std::string* PROTOBUF_NULLABLE value) { 7821 ::google::protobuf::internal::TSanWrite(&_impl_); 7822 if (value != nullptr) { 7823 _impl_._has_bits_[0] |= 0x00000001u; 7824 } else { 7825 _impl_._has_bits_[0] &= ~0x00000001u; 7826 } 7827 _impl_.title_.SetAllocated(value, GetArena()); 7828 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.title_.IsDefault()) { 7829 _impl_.title_.Set("", GetArena()); 7830 } 7831 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Info.title) 7832 } 7833 7834 // string description = 2; 7835 inline void Info::clear_description() { 7836 ::google::protobuf::internal::TSanWrite(&_impl_); 7837 _impl_.description_.ClearToEmpty(); 7838 _impl_._has_bits_[0] &= ~0x00000002u; 7839 } 7840 inline const std::string& Info::description() const 7841 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7842 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Info.description) 7843 return _internal_description(); 7844 } 7845 template <typename Arg_, typename... Args_> 7846 PROTOBUF_ALWAYS_INLINE void Info::set_description(Arg_&& arg, Args_... args) { 7847 ::google::protobuf::internal::TSanWrite(&_impl_); 7848 _impl_._has_bits_[0] |= 0x00000002u; 7849 _impl_.description_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 7850 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Info.description) 7851 } 7852 inline std::string* PROTOBUF_NONNULL Info::mutable_description() 7853 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7854 std::string* _s = _internal_mutable_description(); 7855 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Info.description) 7856 return _s; 7857 } 7858 inline const std::string& Info::_internal_description() const { 7859 ::google::protobuf::internal::TSanRead(&_impl_); 7860 return _impl_.description_.Get(); 7861 } 7862 inline void Info::_internal_set_description(const std::string& value) { 7863 ::google::protobuf::internal::TSanWrite(&_impl_); 7864 _impl_._has_bits_[0] |= 0x00000002u; 7865 _impl_.description_.Set(value, GetArena()); 7866 } 7867 inline std::string* PROTOBUF_NONNULL Info::_internal_mutable_description() { 7868 ::google::protobuf::internal::TSanWrite(&_impl_); 7869 _impl_._has_bits_[0] |= 0x00000002u; 7870 return _impl_.description_.Mutable( GetArena()); 7871 } 7872 inline std::string* PROTOBUF_NULLABLE Info::release_description() { 7873 ::google::protobuf::internal::TSanWrite(&_impl_); 7874 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Info.description) 7875 if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { 7876 return nullptr; 7877 } 7878 _impl_._has_bits_[0] &= ~0x00000002u; 7879 auto* released = _impl_.description_.Release(); 7880 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 7881 _impl_.description_.Set("", GetArena()); 7882 } 7883 return released; 7884 } 7885 inline void Info::set_allocated_description(std::string* PROTOBUF_NULLABLE value) { 7886 ::google::protobuf::internal::TSanWrite(&_impl_); 7887 if (value != nullptr) { 7888 _impl_._has_bits_[0] |= 0x00000002u; 7889 } else { 7890 _impl_._has_bits_[0] &= ~0x00000002u; 7891 } 7892 _impl_.description_.SetAllocated(value, GetArena()); 7893 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.description_.IsDefault()) { 7894 _impl_.description_.Set("", GetArena()); 7895 } 7896 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Info.description) 7897 } 7898 7899 // string terms_of_service = 3; 7900 inline void Info::clear_terms_of_service() { 7901 ::google::protobuf::internal::TSanWrite(&_impl_); 7902 _impl_.terms_of_service_.ClearToEmpty(); 7903 _impl_._has_bits_[0] &= ~0x00000004u; 7904 } 7905 inline const std::string& Info::terms_of_service() const 7906 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7907 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Info.terms_of_service) 7908 return _internal_terms_of_service(); 7909 } 7910 template <typename Arg_, typename... Args_> 7911 PROTOBUF_ALWAYS_INLINE void Info::set_terms_of_service(Arg_&& arg, Args_... args) { 7912 ::google::protobuf::internal::TSanWrite(&_impl_); 7913 _impl_._has_bits_[0] |= 0x00000004u; 7914 _impl_.terms_of_service_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 7915 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Info.terms_of_service) 7916 } 7917 inline std::string* PROTOBUF_NONNULL Info::mutable_terms_of_service() 7918 ABSL_ATTRIBUTE_LIFETIME_BOUND { 7919 std::string* _s = _internal_mutable_terms_of_service(); 7920 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Info.terms_of_service) 7921 return _s; 7922 } 7923 inline const std::string& Info::_internal_terms_of_service() const { 7924 ::google::protobuf::internal::TSanRead(&_impl_); 7925 return _impl_.terms_of_service_.Get(); 7926 } 7927 inline void Info::_internal_set_terms_of_service(const std::string& value) { 7928 ::google::protobuf::internal::TSanWrite(&_impl_); 7929 _impl_._has_bits_[0] |= 0x00000004u; 7930 _impl_.terms_of_service_.Set(value, GetArena()); 7931 } 7932 inline std::string* PROTOBUF_NONNULL Info::_internal_mutable_terms_of_service() { 7933 ::google::protobuf::internal::TSanWrite(&_impl_); 7934 _impl_._has_bits_[0] |= 0x00000004u; 7935 return _impl_.terms_of_service_.Mutable( GetArena()); 7936 } 7937 inline std::string* PROTOBUF_NULLABLE Info::release_terms_of_service() { 7938 ::google::protobuf::internal::TSanWrite(&_impl_); 7939 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Info.terms_of_service) 7940 if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { 7941 return nullptr; 7942 } 7943 _impl_._has_bits_[0] &= ~0x00000004u; 7944 auto* released = _impl_.terms_of_service_.Release(); 7945 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 7946 _impl_.terms_of_service_.Set("", GetArena()); 7947 } 7948 return released; 7949 } 7950 inline void Info::set_allocated_terms_of_service(std::string* PROTOBUF_NULLABLE value) { 7951 ::google::protobuf::internal::TSanWrite(&_impl_); 7952 if (value != nullptr) { 7953 _impl_._has_bits_[0] |= 0x00000004u; 7954 } else { 7955 _impl_._has_bits_[0] &= ~0x00000004u; 7956 } 7957 _impl_.terms_of_service_.SetAllocated(value, GetArena()); 7958 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.terms_of_service_.IsDefault()) { 7959 _impl_.terms_of_service_.Set("", GetArena()); 7960 } 7961 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Info.terms_of_service) 7962 } 7963 7964 // .grpc.gateway.protoc_gen_openapiv2.options.Contact contact = 4; 7965 inline bool Info::has_contact() const { 7966 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; 7967 PROTOBUF_ASSUME(!value || _impl_.contact_ != nullptr); 7968 return value; 7969 } 7970 inline void Info::clear_contact() { 7971 ::google::protobuf::internal::TSanWrite(&_impl_); 7972 if (_impl_.contact_ != nullptr) _impl_.contact_->Clear(); 7973 _impl_._has_bits_[0] &= ~0x00000010u; 7974 } 7975 inline const ::grpc::gateway::protoc_gen_openapiv2::options::Contact& Info::_internal_contact() const { 7976 ::google::protobuf::internal::TSanRead(&_impl_); 7977 const ::grpc::gateway::protoc_gen_openapiv2::options::Contact* p = _impl_.contact_; 7978 return p != nullptr ? *p : reinterpret_cast<const ::grpc::gateway::protoc_gen_openapiv2::options::Contact&>(::grpc::gateway::protoc_gen_openapiv2::options::_Contact_default_instance_); 7979 } 7980 inline const ::grpc::gateway::protoc_gen_openapiv2::options::Contact& Info::contact() const ABSL_ATTRIBUTE_LIFETIME_BOUND { 7981 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Info.contact) 7982 return _internal_contact(); 7983 } 7984 inline void Info::unsafe_arena_set_allocated_contact( 7985 ::grpc::gateway::protoc_gen_openapiv2::options::Contact* PROTOBUF_NULLABLE value) { 7986 ::google::protobuf::internal::TSanWrite(&_impl_); 7987 if (GetArena() == nullptr) { 7988 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.contact_); 7989 } 7990 _impl_.contact_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::Contact*>(value); 7991 if (value != nullptr) { 7992 _impl_._has_bits_[0] |= 0x00000010u; 7993 } else { 7994 _impl_._has_bits_[0] &= ~0x00000010u; 7995 } 7996 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Info.contact) 7997 } 7998 inline ::grpc::gateway::protoc_gen_openapiv2::options::Contact* PROTOBUF_NULLABLE Info::release_contact() { 7999 ::google::protobuf::internal::TSanWrite(&_impl_); 8000 8001 _impl_._has_bits_[0] &= ~0x00000010u; 8002 ::grpc::gateway::protoc_gen_openapiv2::options::Contact* released = _impl_.contact_; 8003 _impl_.contact_ = nullptr; 8004 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { 8005 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); 8006 released = ::google::protobuf::internal::DuplicateIfNonNull(released); 8007 if (GetArena() == nullptr) { 8008 delete old; 8009 } 8010 } else { 8011 if (GetArena() != nullptr) { 8012 released = ::google::protobuf::internal::DuplicateIfNonNull(released); 8013 } 8014 } 8015 return released; 8016 } 8017 inline ::grpc::gateway::protoc_gen_openapiv2::options::Contact* PROTOBUF_NULLABLE Info::unsafe_arena_release_contact() { 8018 ::google::protobuf::internal::TSanWrite(&_impl_); 8019 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Info.contact) 8020 8021 _impl_._has_bits_[0] &= ~0x00000010u; 8022 ::grpc::gateway::protoc_gen_openapiv2::options::Contact* temp = _impl_.contact_; 8023 _impl_.contact_ = nullptr; 8024 return temp; 8025 } 8026 inline ::grpc::gateway::protoc_gen_openapiv2::options::Contact* PROTOBUF_NONNULL Info::_internal_mutable_contact() { 8027 ::google::protobuf::internal::TSanWrite(&_impl_); 8028 if (_impl_.contact_ == nullptr) { 8029 auto* p = ::google::protobuf::Message::DefaultConstruct<::grpc::gateway::protoc_gen_openapiv2::options::Contact>(GetArena()); 8030 _impl_.contact_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::Contact*>(p); 8031 } 8032 return _impl_.contact_; 8033 } 8034 inline ::grpc::gateway::protoc_gen_openapiv2::options::Contact* PROTOBUF_NONNULL Info::mutable_contact() 8035 ABSL_ATTRIBUTE_LIFETIME_BOUND { 8036 _impl_._has_bits_[0] |= 0x00000010u; 8037 ::grpc::gateway::protoc_gen_openapiv2::options::Contact* _msg = _internal_mutable_contact(); 8038 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Info.contact) 8039 return _msg; 8040 } 8041 inline void Info::set_allocated_contact(::grpc::gateway::protoc_gen_openapiv2::options::Contact* PROTOBUF_NULLABLE value) { 8042 ::google::protobuf::Arena* message_arena = GetArena(); 8043 ::google::protobuf::internal::TSanWrite(&_impl_); 8044 if (message_arena == nullptr) { 8045 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.contact_); 8046 } 8047 8048 if (value != nullptr) { 8049 ::google::protobuf::Arena* submessage_arena = value->GetArena(); 8050 if (message_arena != submessage_arena) { 8051 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); 8052 } 8053 _impl_._has_bits_[0] |= 0x00000010u; 8054 } else { 8055 _impl_._has_bits_[0] &= ~0x00000010u; 8056 } 8057 8058 _impl_.contact_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::Contact*>(value); 8059 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Info.contact) 8060 } 8061 8062 // .grpc.gateway.protoc_gen_openapiv2.options.License license = 5; 8063 inline bool Info::has_license() const { 8064 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; 8065 PROTOBUF_ASSUME(!value || _impl_.license_ != nullptr); 8066 return value; 8067 } 8068 inline void Info::clear_license() { 8069 ::google::protobuf::internal::TSanWrite(&_impl_); 8070 if (_impl_.license_ != nullptr) _impl_.license_->Clear(); 8071 _impl_._has_bits_[0] &= ~0x00000020u; 8072 } 8073 inline const ::grpc::gateway::protoc_gen_openapiv2::options::License& Info::_internal_license() const { 8074 ::google::protobuf::internal::TSanRead(&_impl_); 8075 const ::grpc::gateway::protoc_gen_openapiv2::options::License* p = _impl_.license_; 8076 return p != nullptr ? *p : reinterpret_cast<const ::grpc::gateway::protoc_gen_openapiv2::options::License&>(::grpc::gateway::protoc_gen_openapiv2::options::_License_default_instance_); 8077 } 8078 inline const ::grpc::gateway::protoc_gen_openapiv2::options::License& Info::license() const ABSL_ATTRIBUTE_LIFETIME_BOUND { 8079 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Info.license) 8080 return _internal_license(); 8081 } 8082 inline void Info::unsafe_arena_set_allocated_license( 8083 ::grpc::gateway::protoc_gen_openapiv2::options::License* PROTOBUF_NULLABLE value) { 8084 ::google::protobuf::internal::TSanWrite(&_impl_); 8085 if (GetArena() == nullptr) { 8086 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.license_); 8087 } 8088 _impl_.license_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::License*>(value); 8089 if (value != nullptr) { 8090 _impl_._has_bits_[0] |= 0x00000020u; 8091 } else { 8092 _impl_._has_bits_[0] &= ~0x00000020u; 8093 } 8094 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Info.license) 8095 } 8096 inline ::grpc::gateway::protoc_gen_openapiv2::options::License* PROTOBUF_NULLABLE Info::release_license() { 8097 ::google::protobuf::internal::TSanWrite(&_impl_); 8098 8099 _impl_._has_bits_[0] &= ~0x00000020u; 8100 ::grpc::gateway::protoc_gen_openapiv2::options::License* released = _impl_.license_; 8101 _impl_.license_ = nullptr; 8102 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { 8103 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); 8104 released = ::google::protobuf::internal::DuplicateIfNonNull(released); 8105 if (GetArena() == nullptr) { 8106 delete old; 8107 } 8108 } else { 8109 if (GetArena() != nullptr) { 8110 released = ::google::protobuf::internal::DuplicateIfNonNull(released); 8111 } 8112 } 8113 return released; 8114 } 8115 inline ::grpc::gateway::protoc_gen_openapiv2::options::License* PROTOBUF_NULLABLE Info::unsafe_arena_release_license() { 8116 ::google::protobuf::internal::TSanWrite(&_impl_); 8117 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Info.license) 8118 8119 _impl_._has_bits_[0] &= ~0x00000020u; 8120 ::grpc::gateway::protoc_gen_openapiv2::options::License* temp = _impl_.license_; 8121 _impl_.license_ = nullptr; 8122 return temp; 8123 } 8124 inline ::grpc::gateway::protoc_gen_openapiv2::options::License* PROTOBUF_NONNULL Info::_internal_mutable_license() { 8125 ::google::protobuf::internal::TSanWrite(&_impl_); 8126 if (_impl_.license_ == nullptr) { 8127 auto* p = ::google::protobuf::Message::DefaultConstruct<::grpc::gateway::protoc_gen_openapiv2::options::License>(GetArena()); 8128 _impl_.license_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::License*>(p); 8129 } 8130 return _impl_.license_; 8131 } 8132 inline ::grpc::gateway::protoc_gen_openapiv2::options::License* PROTOBUF_NONNULL Info::mutable_license() 8133 ABSL_ATTRIBUTE_LIFETIME_BOUND { 8134 _impl_._has_bits_[0] |= 0x00000020u; 8135 ::grpc::gateway::protoc_gen_openapiv2::options::License* _msg = _internal_mutable_license(); 8136 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Info.license) 8137 return _msg; 8138 } 8139 inline void Info::set_allocated_license(::grpc::gateway::protoc_gen_openapiv2::options::License* PROTOBUF_NULLABLE value) { 8140 ::google::protobuf::Arena* message_arena = GetArena(); 8141 ::google::protobuf::internal::TSanWrite(&_impl_); 8142 if (message_arena == nullptr) { 8143 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.license_); 8144 } 8145 8146 if (value != nullptr) { 8147 ::google::protobuf::Arena* submessage_arena = value->GetArena(); 8148 if (message_arena != submessage_arena) { 8149 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); 8150 } 8151 _impl_._has_bits_[0] |= 0x00000020u; 8152 } else { 8153 _impl_._has_bits_[0] &= ~0x00000020u; 8154 } 8155 8156 _impl_.license_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::License*>(value); 8157 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Info.license) 8158 } 8159 8160 // string version = 6; 8161 inline void Info::clear_version() { 8162 ::google::protobuf::internal::TSanWrite(&_impl_); 8163 _impl_.version_.ClearToEmpty(); 8164 _impl_._has_bits_[0] &= ~0x00000008u; 8165 } 8166 inline const std::string& Info::version() const 8167 ABSL_ATTRIBUTE_LIFETIME_BOUND { 8168 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Info.version) 8169 return _internal_version(); 8170 } 8171 template <typename Arg_, typename... Args_> 8172 PROTOBUF_ALWAYS_INLINE void Info::set_version(Arg_&& arg, Args_... args) { 8173 ::google::protobuf::internal::TSanWrite(&_impl_); 8174 _impl_._has_bits_[0] |= 0x00000008u; 8175 _impl_.version_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 8176 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Info.version) 8177 } 8178 inline std::string* PROTOBUF_NONNULL Info::mutable_version() 8179 ABSL_ATTRIBUTE_LIFETIME_BOUND { 8180 std::string* _s = _internal_mutable_version(); 8181 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Info.version) 8182 return _s; 8183 } 8184 inline const std::string& Info::_internal_version() const { 8185 ::google::protobuf::internal::TSanRead(&_impl_); 8186 return _impl_.version_.Get(); 8187 } 8188 inline void Info::_internal_set_version(const std::string& value) { 8189 ::google::protobuf::internal::TSanWrite(&_impl_); 8190 _impl_._has_bits_[0] |= 0x00000008u; 8191 _impl_.version_.Set(value, GetArena()); 8192 } 8193 inline std::string* PROTOBUF_NONNULL Info::_internal_mutable_version() { 8194 ::google::protobuf::internal::TSanWrite(&_impl_); 8195 _impl_._has_bits_[0] |= 0x00000008u; 8196 return _impl_.version_.Mutable( GetArena()); 8197 } 8198 inline std::string* PROTOBUF_NULLABLE Info::release_version() { 8199 ::google::protobuf::internal::TSanWrite(&_impl_); 8200 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Info.version) 8201 if ((_impl_._has_bits_[0] & 0x00000008u) == 0) { 8202 return nullptr; 8203 } 8204 _impl_._has_bits_[0] &= ~0x00000008u; 8205 auto* released = _impl_.version_.Release(); 8206 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 8207 _impl_.version_.Set("", GetArena()); 8208 } 8209 return released; 8210 } 8211 inline void Info::set_allocated_version(std::string* PROTOBUF_NULLABLE value) { 8212 ::google::protobuf::internal::TSanWrite(&_impl_); 8213 if (value != nullptr) { 8214 _impl_._has_bits_[0] |= 0x00000008u; 8215 } else { 8216 _impl_._has_bits_[0] &= ~0x00000008u; 8217 } 8218 _impl_.version_.SetAllocated(value, GetArena()); 8219 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.version_.IsDefault()) { 8220 _impl_.version_.Set("", GetArena()); 8221 } 8222 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Info.version) 8223 } 8224 8225 // map<string, .google.protobuf.Value> extensions = 7; 8226 inline int Info::_internal_extensions_size() const { 8227 return _internal_extensions().size(); 8228 } 8229 inline int Info::extensions_size() const { 8230 return _internal_extensions_size(); 8231 } 8232 inline const ::google::protobuf::Map<std::string, ::google::protobuf::Value>& Info::_internal_extensions() const { 8233 ::google::protobuf::internal::TSanRead(&_impl_); 8234 return _impl_.extensions_.GetMap(); 8235 } 8236 inline const ::google::protobuf::Map<std::string, ::google::protobuf::Value>& Info::extensions() const ABSL_ATTRIBUTE_LIFETIME_BOUND { 8237 // @@protoc_insertion_point(field_map:grpc.gateway.protoc_gen_openapiv2.options.Info.extensions) 8238 return _internal_extensions(); 8239 } 8240 inline ::google::protobuf::Map<std::string, ::google::protobuf::Value>* PROTOBUF_NONNULL Info::_internal_mutable_extensions() { 8241 ::google::protobuf::internal::TSanWrite(&_impl_); 8242 return _impl_.extensions_.MutableMap(); 8243 } 8244 inline ::google::protobuf::Map<std::string, ::google::protobuf::Value>* PROTOBUF_NONNULL Info::mutable_extensions() 8245 ABSL_ATTRIBUTE_LIFETIME_BOUND { 8246 // @@protoc_insertion_point(field_mutable_map:grpc.gateway.protoc_gen_openapiv2.options.Info.extensions) 8247 return _internal_mutable_extensions(); 8248 } 8249 8250 // ------------------------------------------------------------------- 8251 8252 // Contact 8253 8254 // string name = 1; 8255 inline void Contact::clear_name() { 8256 ::google::protobuf::internal::TSanWrite(&_impl_); 8257 _impl_.name_.ClearToEmpty(); 8258 _impl_._has_bits_[0] &= ~0x00000001u; 8259 } 8260 inline const std::string& Contact::name() const 8261 ABSL_ATTRIBUTE_LIFETIME_BOUND { 8262 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Contact.name) 8263 return _internal_name(); 8264 } 8265 template <typename Arg_, typename... Args_> 8266 PROTOBUF_ALWAYS_INLINE void Contact::set_name(Arg_&& arg, Args_... args) { 8267 ::google::protobuf::internal::TSanWrite(&_impl_); 8268 _impl_._has_bits_[0] |= 0x00000001u; 8269 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 8270 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Contact.name) 8271 } 8272 inline std::string* PROTOBUF_NONNULL Contact::mutable_name() 8273 ABSL_ATTRIBUTE_LIFETIME_BOUND { 8274 std::string* _s = _internal_mutable_name(); 8275 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Contact.name) 8276 return _s; 8277 } 8278 inline const std::string& Contact::_internal_name() const { 8279 ::google::protobuf::internal::TSanRead(&_impl_); 8280 return _impl_.name_.Get(); 8281 } 8282 inline void Contact::_internal_set_name(const std::string& value) { 8283 ::google::protobuf::internal::TSanWrite(&_impl_); 8284 _impl_._has_bits_[0] |= 0x00000001u; 8285 _impl_.name_.Set(value, GetArena()); 8286 } 8287 inline std::string* PROTOBUF_NONNULL Contact::_internal_mutable_name() { 8288 ::google::protobuf::internal::TSanWrite(&_impl_); 8289 _impl_._has_bits_[0] |= 0x00000001u; 8290 return _impl_.name_.Mutable( GetArena()); 8291 } 8292 inline std::string* PROTOBUF_NULLABLE Contact::release_name() { 8293 ::google::protobuf::internal::TSanWrite(&_impl_); 8294 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Contact.name) 8295 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { 8296 return nullptr; 8297 } 8298 _impl_._has_bits_[0] &= ~0x00000001u; 8299 auto* released = _impl_.name_.Release(); 8300 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 8301 _impl_.name_.Set("", GetArena()); 8302 } 8303 return released; 8304 } 8305 inline void Contact::set_allocated_name(std::string* PROTOBUF_NULLABLE value) { 8306 ::google::protobuf::internal::TSanWrite(&_impl_); 8307 if (value != nullptr) { 8308 _impl_._has_bits_[0] |= 0x00000001u; 8309 } else { 8310 _impl_._has_bits_[0] &= ~0x00000001u; 8311 } 8312 _impl_.name_.SetAllocated(value, GetArena()); 8313 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { 8314 _impl_.name_.Set("", GetArena()); 8315 } 8316 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Contact.name) 8317 } 8318 8319 // string url = 2; 8320 inline void Contact::clear_url() { 8321 ::google::protobuf::internal::TSanWrite(&_impl_); 8322 _impl_.url_.ClearToEmpty(); 8323 _impl_._has_bits_[0] &= ~0x00000002u; 8324 } 8325 inline const std::string& Contact::url() const 8326 ABSL_ATTRIBUTE_LIFETIME_BOUND { 8327 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Contact.url) 8328 return _internal_url(); 8329 } 8330 template <typename Arg_, typename... Args_> 8331 PROTOBUF_ALWAYS_INLINE void Contact::set_url(Arg_&& arg, Args_... args) { 8332 ::google::protobuf::internal::TSanWrite(&_impl_); 8333 _impl_._has_bits_[0] |= 0x00000002u; 8334 _impl_.url_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 8335 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Contact.url) 8336 } 8337 inline std::string* PROTOBUF_NONNULL Contact::mutable_url() 8338 ABSL_ATTRIBUTE_LIFETIME_BOUND { 8339 std::string* _s = _internal_mutable_url(); 8340 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Contact.url) 8341 return _s; 8342 } 8343 inline const std::string& Contact::_internal_url() const { 8344 ::google::protobuf::internal::TSanRead(&_impl_); 8345 return _impl_.url_.Get(); 8346 } 8347 inline void Contact::_internal_set_url(const std::string& value) { 8348 ::google::protobuf::internal::TSanWrite(&_impl_); 8349 _impl_._has_bits_[0] |= 0x00000002u; 8350 _impl_.url_.Set(value, GetArena()); 8351 } 8352 inline std::string* PROTOBUF_NONNULL Contact::_internal_mutable_url() { 8353 ::google::protobuf::internal::TSanWrite(&_impl_); 8354 _impl_._has_bits_[0] |= 0x00000002u; 8355 return _impl_.url_.Mutable( GetArena()); 8356 } 8357 inline std::string* PROTOBUF_NULLABLE Contact::release_url() { 8358 ::google::protobuf::internal::TSanWrite(&_impl_); 8359 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Contact.url) 8360 if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { 8361 return nullptr; 8362 } 8363 _impl_._has_bits_[0] &= ~0x00000002u; 8364 auto* released = _impl_.url_.Release(); 8365 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 8366 _impl_.url_.Set("", GetArena()); 8367 } 8368 return released; 8369 } 8370 inline void Contact::set_allocated_url(std::string* PROTOBUF_NULLABLE value) { 8371 ::google::protobuf::internal::TSanWrite(&_impl_); 8372 if (value != nullptr) { 8373 _impl_._has_bits_[0] |= 0x00000002u; 8374 } else { 8375 _impl_._has_bits_[0] &= ~0x00000002u; 8376 } 8377 _impl_.url_.SetAllocated(value, GetArena()); 8378 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.url_.IsDefault()) { 8379 _impl_.url_.Set("", GetArena()); 8380 } 8381 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Contact.url) 8382 } 8383 8384 // string email = 3; 8385 inline void Contact::clear_email() { 8386 ::google::protobuf::internal::TSanWrite(&_impl_); 8387 _impl_.email_.ClearToEmpty(); 8388 _impl_._has_bits_[0] &= ~0x00000004u; 8389 } 8390 inline const std::string& Contact::email() const 8391 ABSL_ATTRIBUTE_LIFETIME_BOUND { 8392 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Contact.email) 8393 return _internal_email(); 8394 } 8395 template <typename Arg_, typename... Args_> 8396 PROTOBUF_ALWAYS_INLINE void Contact::set_email(Arg_&& arg, Args_... args) { 8397 ::google::protobuf::internal::TSanWrite(&_impl_); 8398 _impl_._has_bits_[0] |= 0x00000004u; 8399 _impl_.email_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 8400 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Contact.email) 8401 } 8402 inline std::string* PROTOBUF_NONNULL Contact::mutable_email() 8403 ABSL_ATTRIBUTE_LIFETIME_BOUND { 8404 std::string* _s = _internal_mutable_email(); 8405 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Contact.email) 8406 return _s; 8407 } 8408 inline const std::string& Contact::_internal_email() const { 8409 ::google::protobuf::internal::TSanRead(&_impl_); 8410 return _impl_.email_.Get(); 8411 } 8412 inline void Contact::_internal_set_email(const std::string& value) { 8413 ::google::protobuf::internal::TSanWrite(&_impl_); 8414 _impl_._has_bits_[0] |= 0x00000004u; 8415 _impl_.email_.Set(value, GetArena()); 8416 } 8417 inline std::string* PROTOBUF_NONNULL Contact::_internal_mutable_email() { 8418 ::google::protobuf::internal::TSanWrite(&_impl_); 8419 _impl_._has_bits_[0] |= 0x00000004u; 8420 return _impl_.email_.Mutable( GetArena()); 8421 } 8422 inline std::string* PROTOBUF_NULLABLE Contact::release_email() { 8423 ::google::protobuf::internal::TSanWrite(&_impl_); 8424 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Contact.email) 8425 if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { 8426 return nullptr; 8427 } 8428 _impl_._has_bits_[0] &= ~0x00000004u; 8429 auto* released = _impl_.email_.Release(); 8430 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 8431 _impl_.email_.Set("", GetArena()); 8432 } 8433 return released; 8434 } 8435 inline void Contact::set_allocated_email(std::string* PROTOBUF_NULLABLE value) { 8436 ::google::protobuf::internal::TSanWrite(&_impl_); 8437 if (value != nullptr) { 8438 _impl_._has_bits_[0] |= 0x00000004u; 8439 } else { 8440 _impl_._has_bits_[0] &= ~0x00000004u; 8441 } 8442 _impl_.email_.SetAllocated(value, GetArena()); 8443 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.email_.IsDefault()) { 8444 _impl_.email_.Set("", GetArena()); 8445 } 8446 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Contact.email) 8447 } 8448 8449 // ------------------------------------------------------------------- 8450 8451 // License 8452 8453 // string name = 1; 8454 inline void License::clear_name() { 8455 ::google::protobuf::internal::TSanWrite(&_impl_); 8456 _impl_.name_.ClearToEmpty(); 8457 _impl_._has_bits_[0] &= ~0x00000001u; 8458 } 8459 inline const std::string& License::name() const 8460 ABSL_ATTRIBUTE_LIFETIME_BOUND { 8461 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.License.name) 8462 return _internal_name(); 8463 } 8464 template <typename Arg_, typename... Args_> 8465 PROTOBUF_ALWAYS_INLINE void License::set_name(Arg_&& arg, Args_... args) { 8466 ::google::protobuf::internal::TSanWrite(&_impl_); 8467 _impl_._has_bits_[0] |= 0x00000001u; 8468 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 8469 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.License.name) 8470 } 8471 inline std::string* PROTOBUF_NONNULL License::mutable_name() 8472 ABSL_ATTRIBUTE_LIFETIME_BOUND { 8473 std::string* _s = _internal_mutable_name(); 8474 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.License.name) 8475 return _s; 8476 } 8477 inline const std::string& License::_internal_name() const { 8478 ::google::protobuf::internal::TSanRead(&_impl_); 8479 return _impl_.name_.Get(); 8480 } 8481 inline void License::_internal_set_name(const std::string& value) { 8482 ::google::protobuf::internal::TSanWrite(&_impl_); 8483 _impl_._has_bits_[0] |= 0x00000001u; 8484 _impl_.name_.Set(value, GetArena()); 8485 } 8486 inline std::string* PROTOBUF_NONNULL License::_internal_mutable_name() { 8487 ::google::protobuf::internal::TSanWrite(&_impl_); 8488 _impl_._has_bits_[0] |= 0x00000001u; 8489 return _impl_.name_.Mutable( GetArena()); 8490 } 8491 inline std::string* PROTOBUF_NULLABLE License::release_name() { 8492 ::google::protobuf::internal::TSanWrite(&_impl_); 8493 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.License.name) 8494 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { 8495 return nullptr; 8496 } 8497 _impl_._has_bits_[0] &= ~0x00000001u; 8498 auto* released = _impl_.name_.Release(); 8499 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 8500 _impl_.name_.Set("", GetArena()); 8501 } 8502 return released; 8503 } 8504 inline void License::set_allocated_name(std::string* PROTOBUF_NULLABLE value) { 8505 ::google::protobuf::internal::TSanWrite(&_impl_); 8506 if (value != nullptr) { 8507 _impl_._has_bits_[0] |= 0x00000001u; 8508 } else { 8509 _impl_._has_bits_[0] &= ~0x00000001u; 8510 } 8511 _impl_.name_.SetAllocated(value, GetArena()); 8512 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { 8513 _impl_.name_.Set("", GetArena()); 8514 } 8515 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.License.name) 8516 } 8517 8518 // string url = 2; 8519 inline void License::clear_url() { 8520 ::google::protobuf::internal::TSanWrite(&_impl_); 8521 _impl_.url_.ClearToEmpty(); 8522 _impl_._has_bits_[0] &= ~0x00000002u; 8523 } 8524 inline const std::string& License::url() const 8525 ABSL_ATTRIBUTE_LIFETIME_BOUND { 8526 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.License.url) 8527 return _internal_url(); 8528 } 8529 template <typename Arg_, typename... Args_> 8530 PROTOBUF_ALWAYS_INLINE void License::set_url(Arg_&& arg, Args_... args) { 8531 ::google::protobuf::internal::TSanWrite(&_impl_); 8532 _impl_._has_bits_[0] |= 0x00000002u; 8533 _impl_.url_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 8534 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.License.url) 8535 } 8536 inline std::string* PROTOBUF_NONNULL License::mutable_url() 8537 ABSL_ATTRIBUTE_LIFETIME_BOUND { 8538 std::string* _s = _internal_mutable_url(); 8539 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.License.url) 8540 return _s; 8541 } 8542 inline const std::string& License::_internal_url() const { 8543 ::google::protobuf::internal::TSanRead(&_impl_); 8544 return _impl_.url_.Get(); 8545 } 8546 inline void License::_internal_set_url(const std::string& value) { 8547 ::google::protobuf::internal::TSanWrite(&_impl_); 8548 _impl_._has_bits_[0] |= 0x00000002u; 8549 _impl_.url_.Set(value, GetArena()); 8550 } 8551 inline std::string* PROTOBUF_NONNULL License::_internal_mutable_url() { 8552 ::google::protobuf::internal::TSanWrite(&_impl_); 8553 _impl_._has_bits_[0] |= 0x00000002u; 8554 return _impl_.url_.Mutable( GetArena()); 8555 } 8556 inline std::string* PROTOBUF_NULLABLE License::release_url() { 8557 ::google::protobuf::internal::TSanWrite(&_impl_); 8558 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.License.url) 8559 if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { 8560 return nullptr; 8561 } 8562 _impl_._has_bits_[0] &= ~0x00000002u; 8563 auto* released = _impl_.url_.Release(); 8564 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 8565 _impl_.url_.Set("", GetArena()); 8566 } 8567 return released; 8568 } 8569 inline void License::set_allocated_url(std::string* PROTOBUF_NULLABLE value) { 8570 ::google::protobuf::internal::TSanWrite(&_impl_); 8571 if (value != nullptr) { 8572 _impl_._has_bits_[0] |= 0x00000002u; 8573 } else { 8574 _impl_._has_bits_[0] &= ~0x00000002u; 8575 } 8576 _impl_.url_.SetAllocated(value, GetArena()); 8577 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.url_.IsDefault()) { 8578 _impl_.url_.Set("", GetArena()); 8579 } 8580 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.License.url) 8581 } 8582 8583 // ------------------------------------------------------------------- 8584 8585 // ExternalDocumentation 8586 8587 // string description = 1; 8588 inline void ExternalDocumentation::clear_description() { 8589 ::google::protobuf::internal::TSanWrite(&_impl_); 8590 _impl_.description_.ClearToEmpty(); 8591 _impl_._has_bits_[0] &= ~0x00000001u; 8592 } 8593 inline const std::string& ExternalDocumentation::description() const 8594 ABSL_ATTRIBUTE_LIFETIME_BOUND { 8595 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.description) 8596 return _internal_description(); 8597 } 8598 template <typename Arg_, typename... Args_> 8599 PROTOBUF_ALWAYS_INLINE void ExternalDocumentation::set_description(Arg_&& arg, Args_... args) { 8600 ::google::protobuf::internal::TSanWrite(&_impl_); 8601 _impl_._has_bits_[0] |= 0x00000001u; 8602 _impl_.description_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 8603 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.description) 8604 } 8605 inline std::string* PROTOBUF_NONNULL ExternalDocumentation::mutable_description() 8606 ABSL_ATTRIBUTE_LIFETIME_BOUND { 8607 std::string* _s = _internal_mutable_description(); 8608 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.description) 8609 return _s; 8610 } 8611 inline const std::string& ExternalDocumentation::_internal_description() const { 8612 ::google::protobuf::internal::TSanRead(&_impl_); 8613 return _impl_.description_.Get(); 8614 } 8615 inline void ExternalDocumentation::_internal_set_description(const std::string& value) { 8616 ::google::protobuf::internal::TSanWrite(&_impl_); 8617 _impl_._has_bits_[0] |= 0x00000001u; 8618 _impl_.description_.Set(value, GetArena()); 8619 } 8620 inline std::string* PROTOBUF_NONNULL ExternalDocumentation::_internal_mutable_description() { 8621 ::google::protobuf::internal::TSanWrite(&_impl_); 8622 _impl_._has_bits_[0] |= 0x00000001u; 8623 return _impl_.description_.Mutable( GetArena()); 8624 } 8625 inline std::string* PROTOBUF_NULLABLE ExternalDocumentation::release_description() { 8626 ::google::protobuf::internal::TSanWrite(&_impl_); 8627 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.description) 8628 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { 8629 return nullptr; 8630 } 8631 _impl_._has_bits_[0] &= ~0x00000001u; 8632 auto* released = _impl_.description_.Release(); 8633 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 8634 _impl_.description_.Set("", GetArena()); 8635 } 8636 return released; 8637 } 8638 inline void ExternalDocumentation::set_allocated_description(std::string* PROTOBUF_NULLABLE value) { 8639 ::google::protobuf::internal::TSanWrite(&_impl_); 8640 if (value != nullptr) { 8641 _impl_._has_bits_[0] |= 0x00000001u; 8642 } else { 8643 _impl_._has_bits_[0] &= ~0x00000001u; 8644 } 8645 _impl_.description_.SetAllocated(value, GetArena()); 8646 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.description_.IsDefault()) { 8647 _impl_.description_.Set("", GetArena()); 8648 } 8649 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.description) 8650 } 8651 8652 // string url = 2; 8653 inline void ExternalDocumentation::clear_url() { 8654 ::google::protobuf::internal::TSanWrite(&_impl_); 8655 _impl_.url_.ClearToEmpty(); 8656 _impl_._has_bits_[0] &= ~0x00000002u; 8657 } 8658 inline const std::string& ExternalDocumentation::url() const 8659 ABSL_ATTRIBUTE_LIFETIME_BOUND { 8660 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.url) 8661 return _internal_url(); 8662 } 8663 template <typename Arg_, typename... Args_> 8664 PROTOBUF_ALWAYS_INLINE void ExternalDocumentation::set_url(Arg_&& arg, Args_... args) { 8665 ::google::protobuf::internal::TSanWrite(&_impl_); 8666 _impl_._has_bits_[0] |= 0x00000002u; 8667 _impl_.url_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 8668 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.url) 8669 } 8670 inline std::string* PROTOBUF_NONNULL ExternalDocumentation::mutable_url() 8671 ABSL_ATTRIBUTE_LIFETIME_BOUND { 8672 std::string* _s = _internal_mutable_url(); 8673 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.url) 8674 return _s; 8675 } 8676 inline const std::string& ExternalDocumentation::_internal_url() const { 8677 ::google::protobuf::internal::TSanRead(&_impl_); 8678 return _impl_.url_.Get(); 8679 } 8680 inline void ExternalDocumentation::_internal_set_url(const std::string& value) { 8681 ::google::protobuf::internal::TSanWrite(&_impl_); 8682 _impl_._has_bits_[0] |= 0x00000002u; 8683 _impl_.url_.Set(value, GetArena()); 8684 } 8685 inline std::string* PROTOBUF_NONNULL ExternalDocumentation::_internal_mutable_url() { 8686 ::google::protobuf::internal::TSanWrite(&_impl_); 8687 _impl_._has_bits_[0] |= 0x00000002u; 8688 return _impl_.url_.Mutable( GetArena()); 8689 } 8690 inline std::string* PROTOBUF_NULLABLE ExternalDocumentation::release_url() { 8691 ::google::protobuf::internal::TSanWrite(&_impl_); 8692 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.url) 8693 if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { 8694 return nullptr; 8695 } 8696 _impl_._has_bits_[0] &= ~0x00000002u; 8697 auto* released = _impl_.url_.Release(); 8698 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 8699 _impl_.url_.Set("", GetArena()); 8700 } 8701 return released; 8702 } 8703 inline void ExternalDocumentation::set_allocated_url(std::string* PROTOBUF_NULLABLE value) { 8704 ::google::protobuf::internal::TSanWrite(&_impl_); 8705 if (value != nullptr) { 8706 _impl_._has_bits_[0] |= 0x00000002u; 8707 } else { 8708 _impl_._has_bits_[0] &= ~0x00000002u; 8709 } 8710 _impl_.url_.SetAllocated(value, GetArena()); 8711 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.url_.IsDefault()) { 8712 _impl_.url_.Set("", GetArena()); 8713 } 8714 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.url) 8715 } 8716 8717 // ------------------------------------------------------------------- 8718 8719 // Schema 8720 8721 // .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1; 8722 inline bool Schema::has_json_schema() const { 8723 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; 8724 PROTOBUF_ASSUME(!value || _impl_.json_schema_ != nullptr); 8725 return value; 8726 } 8727 inline void Schema::clear_json_schema() { 8728 ::google::protobuf::internal::TSanWrite(&_impl_); 8729 if (_impl_.json_schema_ != nullptr) _impl_.json_schema_->Clear(); 8730 _impl_._has_bits_[0] &= ~0x00000004u; 8731 } 8732 inline const ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema& Schema::_internal_json_schema() const { 8733 ::google::protobuf::internal::TSanRead(&_impl_); 8734 const ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema* p = _impl_.json_schema_; 8735 return p != nullptr ? *p : reinterpret_cast<const ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema&>(::grpc::gateway::protoc_gen_openapiv2::options::_JSONSchema_default_instance_); 8736 } 8737 inline const ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema& Schema::json_schema() const ABSL_ATTRIBUTE_LIFETIME_BOUND { 8738 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Schema.json_schema) 8739 return _internal_json_schema(); 8740 } 8741 inline void Schema::unsafe_arena_set_allocated_json_schema( 8742 ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema* PROTOBUF_NULLABLE value) { 8743 ::google::protobuf::internal::TSanWrite(&_impl_); 8744 if (GetArena() == nullptr) { 8745 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.json_schema_); 8746 } 8747 _impl_.json_schema_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema*>(value); 8748 if (value != nullptr) { 8749 _impl_._has_bits_[0] |= 0x00000004u; 8750 } else { 8751 _impl_._has_bits_[0] &= ~0x00000004u; 8752 } 8753 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Schema.json_schema) 8754 } 8755 inline ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema* PROTOBUF_NULLABLE Schema::release_json_schema() { 8756 ::google::protobuf::internal::TSanWrite(&_impl_); 8757 8758 _impl_._has_bits_[0] &= ~0x00000004u; 8759 ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema* released = _impl_.json_schema_; 8760 _impl_.json_schema_ = nullptr; 8761 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { 8762 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); 8763 released = ::google::protobuf::internal::DuplicateIfNonNull(released); 8764 if (GetArena() == nullptr) { 8765 delete old; 8766 } 8767 } else { 8768 if (GetArena() != nullptr) { 8769 released = ::google::protobuf::internal::DuplicateIfNonNull(released); 8770 } 8771 } 8772 return released; 8773 } 8774 inline ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema* PROTOBUF_NULLABLE Schema::unsafe_arena_release_json_schema() { 8775 ::google::protobuf::internal::TSanWrite(&_impl_); 8776 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Schema.json_schema) 8777 8778 _impl_._has_bits_[0] &= ~0x00000004u; 8779 ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema* temp = _impl_.json_schema_; 8780 _impl_.json_schema_ = nullptr; 8781 return temp; 8782 } 8783 inline ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema* PROTOBUF_NONNULL Schema::_internal_mutable_json_schema() { 8784 ::google::protobuf::internal::TSanWrite(&_impl_); 8785 if (_impl_.json_schema_ == nullptr) { 8786 auto* p = ::google::protobuf::Message::DefaultConstruct<::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema>(GetArena()); 8787 _impl_.json_schema_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema*>(p); 8788 } 8789 return _impl_.json_schema_; 8790 } 8791 inline ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema* PROTOBUF_NONNULL Schema::mutable_json_schema() 8792 ABSL_ATTRIBUTE_LIFETIME_BOUND { 8793 _impl_._has_bits_[0] |= 0x00000004u; 8794 ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema* _msg = _internal_mutable_json_schema(); 8795 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Schema.json_schema) 8796 return _msg; 8797 } 8798 inline void Schema::set_allocated_json_schema(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema* PROTOBUF_NULLABLE value) { 8799 ::google::protobuf::Arena* message_arena = GetArena(); 8800 ::google::protobuf::internal::TSanWrite(&_impl_); 8801 if (message_arena == nullptr) { 8802 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.json_schema_); 8803 } 8804 8805 if (value != nullptr) { 8806 ::google::protobuf::Arena* submessage_arena = value->GetArena(); 8807 if (message_arena != submessage_arena) { 8808 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); 8809 } 8810 _impl_._has_bits_[0] |= 0x00000004u; 8811 } else { 8812 _impl_._has_bits_[0] &= ~0x00000004u; 8813 } 8814 8815 _impl_.json_schema_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema*>(value); 8816 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Schema.json_schema) 8817 } 8818 8819 // string discriminator = 2; 8820 inline void Schema::clear_discriminator() { 8821 ::google::protobuf::internal::TSanWrite(&_impl_); 8822 _impl_.discriminator_.ClearToEmpty(); 8823 _impl_._has_bits_[0] &= ~0x00000001u; 8824 } 8825 inline const std::string& Schema::discriminator() const 8826 ABSL_ATTRIBUTE_LIFETIME_BOUND { 8827 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Schema.discriminator) 8828 return _internal_discriminator(); 8829 } 8830 template <typename Arg_, typename... Args_> 8831 PROTOBUF_ALWAYS_INLINE void Schema::set_discriminator(Arg_&& arg, Args_... args) { 8832 ::google::protobuf::internal::TSanWrite(&_impl_); 8833 _impl_._has_bits_[0] |= 0x00000001u; 8834 _impl_.discriminator_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 8835 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Schema.discriminator) 8836 } 8837 inline std::string* PROTOBUF_NONNULL Schema::mutable_discriminator() 8838 ABSL_ATTRIBUTE_LIFETIME_BOUND { 8839 std::string* _s = _internal_mutable_discriminator(); 8840 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Schema.discriminator) 8841 return _s; 8842 } 8843 inline const std::string& Schema::_internal_discriminator() const { 8844 ::google::protobuf::internal::TSanRead(&_impl_); 8845 return _impl_.discriminator_.Get(); 8846 } 8847 inline void Schema::_internal_set_discriminator(const std::string& value) { 8848 ::google::protobuf::internal::TSanWrite(&_impl_); 8849 _impl_._has_bits_[0] |= 0x00000001u; 8850 _impl_.discriminator_.Set(value, GetArena()); 8851 } 8852 inline std::string* PROTOBUF_NONNULL Schema::_internal_mutable_discriminator() { 8853 ::google::protobuf::internal::TSanWrite(&_impl_); 8854 _impl_._has_bits_[0] |= 0x00000001u; 8855 return _impl_.discriminator_.Mutable( GetArena()); 8856 } 8857 inline std::string* PROTOBUF_NULLABLE Schema::release_discriminator() { 8858 ::google::protobuf::internal::TSanWrite(&_impl_); 8859 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Schema.discriminator) 8860 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { 8861 return nullptr; 8862 } 8863 _impl_._has_bits_[0] &= ~0x00000001u; 8864 auto* released = _impl_.discriminator_.Release(); 8865 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 8866 _impl_.discriminator_.Set("", GetArena()); 8867 } 8868 return released; 8869 } 8870 inline void Schema::set_allocated_discriminator(std::string* PROTOBUF_NULLABLE value) { 8871 ::google::protobuf::internal::TSanWrite(&_impl_); 8872 if (value != nullptr) { 8873 _impl_._has_bits_[0] |= 0x00000001u; 8874 } else { 8875 _impl_._has_bits_[0] &= ~0x00000001u; 8876 } 8877 _impl_.discriminator_.SetAllocated(value, GetArena()); 8878 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.discriminator_.IsDefault()) { 8879 _impl_.discriminator_.Set("", GetArena()); 8880 } 8881 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Schema.discriminator) 8882 } 8883 8884 // bool read_only = 3; 8885 inline void Schema::clear_read_only() { 8886 ::google::protobuf::internal::TSanWrite(&_impl_); 8887 _impl_.read_only_ = false; 8888 _impl_._has_bits_[0] &= ~0x00000010u; 8889 } 8890 inline bool Schema::read_only() const { 8891 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Schema.read_only) 8892 return _internal_read_only(); 8893 } 8894 inline void Schema::set_read_only(bool value) { 8895 _internal_set_read_only(value); 8896 _impl_._has_bits_[0] |= 0x00000010u; 8897 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Schema.read_only) 8898 } 8899 inline bool Schema::_internal_read_only() const { 8900 ::google::protobuf::internal::TSanRead(&_impl_); 8901 return _impl_.read_only_; 8902 } 8903 inline void Schema::_internal_set_read_only(bool value) { 8904 ::google::protobuf::internal::TSanWrite(&_impl_); 8905 _impl_.read_only_ = value; 8906 } 8907 8908 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 5; 8909 inline bool Schema::has_external_docs() const { 8910 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; 8911 PROTOBUF_ASSUME(!value || _impl_.external_docs_ != nullptr); 8912 return value; 8913 } 8914 inline void Schema::clear_external_docs() { 8915 ::google::protobuf::internal::TSanWrite(&_impl_); 8916 if (_impl_.external_docs_ != nullptr) _impl_.external_docs_->Clear(); 8917 _impl_._has_bits_[0] &= ~0x00000008u; 8918 } 8919 inline const ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation& Schema::_internal_external_docs() const { 8920 ::google::protobuf::internal::TSanRead(&_impl_); 8921 const ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* p = _impl_.external_docs_; 8922 return p != nullptr ? *p : reinterpret_cast<const ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation&>(::grpc::gateway::protoc_gen_openapiv2::options::_ExternalDocumentation_default_instance_); 8923 } 8924 inline const ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation& Schema::external_docs() const ABSL_ATTRIBUTE_LIFETIME_BOUND { 8925 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Schema.external_docs) 8926 return _internal_external_docs(); 8927 } 8928 inline void Schema::unsafe_arena_set_allocated_external_docs( 8929 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE value) { 8930 ::google::protobuf::internal::TSanWrite(&_impl_); 8931 if (GetArena() == nullptr) { 8932 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.external_docs_); 8933 } 8934 _impl_.external_docs_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation*>(value); 8935 if (value != nullptr) { 8936 _impl_._has_bits_[0] |= 0x00000008u; 8937 } else { 8938 _impl_._has_bits_[0] &= ~0x00000008u; 8939 } 8940 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Schema.external_docs) 8941 } 8942 inline ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE Schema::release_external_docs() { 8943 ::google::protobuf::internal::TSanWrite(&_impl_); 8944 8945 _impl_._has_bits_[0] &= ~0x00000008u; 8946 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* released = _impl_.external_docs_; 8947 _impl_.external_docs_ = nullptr; 8948 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { 8949 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); 8950 released = ::google::protobuf::internal::DuplicateIfNonNull(released); 8951 if (GetArena() == nullptr) { 8952 delete old; 8953 } 8954 } else { 8955 if (GetArena() != nullptr) { 8956 released = ::google::protobuf::internal::DuplicateIfNonNull(released); 8957 } 8958 } 8959 return released; 8960 } 8961 inline ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE Schema::unsafe_arena_release_external_docs() { 8962 ::google::protobuf::internal::TSanWrite(&_impl_); 8963 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Schema.external_docs) 8964 8965 _impl_._has_bits_[0] &= ~0x00000008u; 8966 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* temp = _impl_.external_docs_; 8967 _impl_.external_docs_ = nullptr; 8968 return temp; 8969 } 8970 inline ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NONNULL Schema::_internal_mutable_external_docs() { 8971 ::google::protobuf::internal::TSanWrite(&_impl_); 8972 if (_impl_.external_docs_ == nullptr) { 8973 auto* p = ::google::protobuf::Message::DefaultConstruct<::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation>(GetArena()); 8974 _impl_.external_docs_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation*>(p); 8975 } 8976 return _impl_.external_docs_; 8977 } 8978 inline ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NONNULL Schema::mutable_external_docs() 8979 ABSL_ATTRIBUTE_LIFETIME_BOUND { 8980 _impl_._has_bits_[0] |= 0x00000008u; 8981 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* _msg = _internal_mutable_external_docs(); 8982 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Schema.external_docs) 8983 return _msg; 8984 } 8985 inline void Schema::set_allocated_external_docs(::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE value) { 8986 ::google::protobuf::Arena* message_arena = GetArena(); 8987 ::google::protobuf::internal::TSanWrite(&_impl_); 8988 if (message_arena == nullptr) { 8989 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.external_docs_); 8990 } 8991 8992 if (value != nullptr) { 8993 ::google::protobuf::Arena* submessage_arena = value->GetArena(); 8994 if (message_arena != submessage_arena) { 8995 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); 8996 } 8997 _impl_._has_bits_[0] |= 0x00000008u; 8998 } else { 8999 _impl_._has_bits_[0] &= ~0x00000008u; 9000 } 9001 9002 _impl_.external_docs_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation*>(value); 9003 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Schema.external_docs) 9004 } 9005 9006 // string example = 6; 9007 inline void Schema::clear_example() { 9008 ::google::protobuf::internal::TSanWrite(&_impl_); 9009 _impl_.example_.ClearToEmpty(); 9010 _impl_._has_bits_[0] &= ~0x00000002u; 9011 } 9012 inline const std::string& Schema::example() const 9013 ABSL_ATTRIBUTE_LIFETIME_BOUND { 9014 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Schema.example) 9015 return _internal_example(); 9016 } 9017 template <typename Arg_, typename... Args_> 9018 PROTOBUF_ALWAYS_INLINE void Schema::set_example(Arg_&& arg, Args_... args) { 9019 ::google::protobuf::internal::TSanWrite(&_impl_); 9020 _impl_._has_bits_[0] |= 0x00000002u; 9021 _impl_.example_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 9022 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Schema.example) 9023 } 9024 inline std::string* PROTOBUF_NONNULL Schema::mutable_example() 9025 ABSL_ATTRIBUTE_LIFETIME_BOUND { 9026 std::string* _s = _internal_mutable_example(); 9027 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Schema.example) 9028 return _s; 9029 } 9030 inline const std::string& Schema::_internal_example() const { 9031 ::google::protobuf::internal::TSanRead(&_impl_); 9032 return _impl_.example_.Get(); 9033 } 9034 inline void Schema::_internal_set_example(const std::string& value) { 9035 ::google::protobuf::internal::TSanWrite(&_impl_); 9036 _impl_._has_bits_[0] |= 0x00000002u; 9037 _impl_.example_.Set(value, GetArena()); 9038 } 9039 inline std::string* PROTOBUF_NONNULL Schema::_internal_mutable_example() { 9040 ::google::protobuf::internal::TSanWrite(&_impl_); 9041 _impl_._has_bits_[0] |= 0x00000002u; 9042 return _impl_.example_.Mutable( GetArena()); 9043 } 9044 inline std::string* PROTOBUF_NULLABLE Schema::release_example() { 9045 ::google::protobuf::internal::TSanWrite(&_impl_); 9046 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Schema.example) 9047 if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { 9048 return nullptr; 9049 } 9050 _impl_._has_bits_[0] &= ~0x00000002u; 9051 auto* released = _impl_.example_.Release(); 9052 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 9053 _impl_.example_.Set("", GetArena()); 9054 } 9055 return released; 9056 } 9057 inline void Schema::set_allocated_example(std::string* PROTOBUF_NULLABLE value) { 9058 ::google::protobuf::internal::TSanWrite(&_impl_); 9059 if (value != nullptr) { 9060 _impl_._has_bits_[0] |= 0x00000002u; 9061 } else { 9062 _impl_._has_bits_[0] &= ~0x00000002u; 9063 } 9064 _impl_.example_.SetAllocated(value, GetArena()); 9065 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.example_.IsDefault()) { 9066 _impl_.example_.Set("", GetArena()); 9067 } 9068 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Schema.example) 9069 } 9070 9071 // ------------------------------------------------------------------- 9072 9073 // JSONSchema_FieldConfiguration 9074 9075 // string path_param_name = 47; 9076 inline void JSONSchema_FieldConfiguration::clear_path_param_name() { 9077 ::google::protobuf::internal::TSanWrite(&_impl_); 9078 _impl_.path_param_name_.ClearToEmpty(); 9079 _impl_._has_bits_[0] &= ~0x00000001u; 9080 } 9081 inline const std::string& JSONSchema_FieldConfiguration::path_param_name() const 9082 ABSL_ATTRIBUTE_LIFETIME_BOUND { 9083 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration.path_param_name) 9084 return _internal_path_param_name(); 9085 } 9086 template <typename Arg_, typename... Args_> 9087 PROTOBUF_ALWAYS_INLINE void JSONSchema_FieldConfiguration::set_path_param_name(Arg_&& arg, Args_... args) { 9088 ::google::protobuf::internal::TSanWrite(&_impl_); 9089 _impl_._has_bits_[0] |= 0x00000001u; 9090 _impl_.path_param_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 9091 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration.path_param_name) 9092 } 9093 inline std::string* PROTOBUF_NONNULL JSONSchema_FieldConfiguration::mutable_path_param_name() 9094 ABSL_ATTRIBUTE_LIFETIME_BOUND { 9095 std::string* _s = _internal_mutable_path_param_name(); 9096 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration.path_param_name) 9097 return _s; 9098 } 9099 inline const std::string& JSONSchema_FieldConfiguration::_internal_path_param_name() const { 9100 ::google::protobuf::internal::TSanRead(&_impl_); 9101 return _impl_.path_param_name_.Get(); 9102 } 9103 inline void JSONSchema_FieldConfiguration::_internal_set_path_param_name(const std::string& value) { 9104 ::google::protobuf::internal::TSanWrite(&_impl_); 9105 _impl_._has_bits_[0] |= 0x00000001u; 9106 _impl_.path_param_name_.Set(value, GetArena()); 9107 } 9108 inline std::string* PROTOBUF_NONNULL JSONSchema_FieldConfiguration::_internal_mutable_path_param_name() { 9109 ::google::protobuf::internal::TSanWrite(&_impl_); 9110 _impl_._has_bits_[0] |= 0x00000001u; 9111 return _impl_.path_param_name_.Mutable( GetArena()); 9112 } 9113 inline std::string* PROTOBUF_NULLABLE JSONSchema_FieldConfiguration::release_path_param_name() { 9114 ::google::protobuf::internal::TSanWrite(&_impl_); 9115 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration.path_param_name) 9116 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { 9117 return nullptr; 9118 } 9119 _impl_._has_bits_[0] &= ~0x00000001u; 9120 auto* released = _impl_.path_param_name_.Release(); 9121 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 9122 _impl_.path_param_name_.Set("", GetArena()); 9123 } 9124 return released; 9125 } 9126 inline void JSONSchema_FieldConfiguration::set_allocated_path_param_name(std::string* PROTOBUF_NULLABLE value) { 9127 ::google::protobuf::internal::TSanWrite(&_impl_); 9128 if (value != nullptr) { 9129 _impl_._has_bits_[0] |= 0x00000001u; 9130 } else { 9131 _impl_._has_bits_[0] &= ~0x00000001u; 9132 } 9133 _impl_.path_param_name_.SetAllocated(value, GetArena()); 9134 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_param_name_.IsDefault()) { 9135 _impl_.path_param_name_.Set("", GetArena()); 9136 } 9137 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration.path_param_name) 9138 } 9139 9140 // ------------------------------------------------------------------- 9141 9142 // ------------------------------------------------------------------- 9143 9144 // JSONSchema 9145 9146 // string ref = 3; 9147 inline void JSONSchema::clear_ref() { 9148 ::google::protobuf::internal::TSanWrite(&_impl_); 9149 _impl_.ref_.ClearToEmpty(); 9150 _impl_._has_bits_[0] &= ~0x00000001u; 9151 } 9152 inline const std::string& JSONSchema::ref() const 9153 ABSL_ATTRIBUTE_LIFETIME_BOUND { 9154 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.ref) 9155 return _internal_ref(); 9156 } 9157 template <typename Arg_, typename... Args_> 9158 PROTOBUF_ALWAYS_INLINE void JSONSchema::set_ref(Arg_&& arg, Args_... args) { 9159 ::google::protobuf::internal::TSanWrite(&_impl_); 9160 _impl_._has_bits_[0] |= 0x00000001u; 9161 _impl_.ref_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 9162 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.ref) 9163 } 9164 inline std::string* PROTOBUF_NONNULL JSONSchema::mutable_ref() 9165 ABSL_ATTRIBUTE_LIFETIME_BOUND { 9166 std::string* _s = _internal_mutable_ref(); 9167 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.ref) 9168 return _s; 9169 } 9170 inline const std::string& JSONSchema::_internal_ref() const { 9171 ::google::protobuf::internal::TSanRead(&_impl_); 9172 return _impl_.ref_.Get(); 9173 } 9174 inline void JSONSchema::_internal_set_ref(const std::string& value) { 9175 ::google::protobuf::internal::TSanWrite(&_impl_); 9176 _impl_._has_bits_[0] |= 0x00000001u; 9177 _impl_.ref_.Set(value, GetArena()); 9178 } 9179 inline std::string* PROTOBUF_NONNULL JSONSchema::_internal_mutable_ref() { 9180 ::google::protobuf::internal::TSanWrite(&_impl_); 9181 _impl_._has_bits_[0] |= 0x00000001u; 9182 return _impl_.ref_.Mutable( GetArena()); 9183 } 9184 inline std::string* PROTOBUF_NULLABLE JSONSchema::release_ref() { 9185 ::google::protobuf::internal::TSanWrite(&_impl_); 9186 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.ref) 9187 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { 9188 return nullptr; 9189 } 9190 _impl_._has_bits_[0] &= ~0x00000001u; 9191 auto* released = _impl_.ref_.Release(); 9192 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 9193 _impl_.ref_.Set("", GetArena()); 9194 } 9195 return released; 9196 } 9197 inline void JSONSchema::set_allocated_ref(std::string* PROTOBUF_NULLABLE value) { 9198 ::google::protobuf::internal::TSanWrite(&_impl_); 9199 if (value != nullptr) { 9200 _impl_._has_bits_[0] |= 0x00000001u; 9201 } else { 9202 _impl_._has_bits_[0] &= ~0x00000001u; 9203 } 9204 _impl_.ref_.SetAllocated(value, GetArena()); 9205 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.ref_.IsDefault()) { 9206 _impl_.ref_.Set("", GetArena()); 9207 } 9208 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.ref) 9209 } 9210 9211 // string title = 5; 9212 inline void JSONSchema::clear_title() { 9213 ::google::protobuf::internal::TSanWrite(&_impl_); 9214 _impl_.title_.ClearToEmpty(); 9215 _impl_._has_bits_[0] &= ~0x00000002u; 9216 } 9217 inline const std::string& JSONSchema::title() const 9218 ABSL_ATTRIBUTE_LIFETIME_BOUND { 9219 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.title) 9220 return _internal_title(); 9221 } 9222 template <typename Arg_, typename... Args_> 9223 PROTOBUF_ALWAYS_INLINE void JSONSchema::set_title(Arg_&& arg, Args_... args) { 9224 ::google::protobuf::internal::TSanWrite(&_impl_); 9225 _impl_._has_bits_[0] |= 0x00000002u; 9226 _impl_.title_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 9227 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.title) 9228 } 9229 inline std::string* PROTOBUF_NONNULL JSONSchema::mutable_title() 9230 ABSL_ATTRIBUTE_LIFETIME_BOUND { 9231 std::string* _s = _internal_mutable_title(); 9232 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.title) 9233 return _s; 9234 } 9235 inline const std::string& JSONSchema::_internal_title() const { 9236 ::google::protobuf::internal::TSanRead(&_impl_); 9237 return _impl_.title_.Get(); 9238 } 9239 inline void JSONSchema::_internal_set_title(const std::string& value) { 9240 ::google::protobuf::internal::TSanWrite(&_impl_); 9241 _impl_._has_bits_[0] |= 0x00000002u; 9242 _impl_.title_.Set(value, GetArena()); 9243 } 9244 inline std::string* PROTOBUF_NONNULL JSONSchema::_internal_mutable_title() { 9245 ::google::protobuf::internal::TSanWrite(&_impl_); 9246 _impl_._has_bits_[0] |= 0x00000002u; 9247 return _impl_.title_.Mutable( GetArena()); 9248 } 9249 inline std::string* PROTOBUF_NULLABLE JSONSchema::release_title() { 9250 ::google::protobuf::internal::TSanWrite(&_impl_); 9251 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.title) 9252 if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { 9253 return nullptr; 9254 } 9255 _impl_._has_bits_[0] &= ~0x00000002u; 9256 auto* released = _impl_.title_.Release(); 9257 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 9258 _impl_.title_.Set("", GetArena()); 9259 } 9260 return released; 9261 } 9262 inline void JSONSchema::set_allocated_title(std::string* PROTOBUF_NULLABLE value) { 9263 ::google::protobuf::internal::TSanWrite(&_impl_); 9264 if (value != nullptr) { 9265 _impl_._has_bits_[0] |= 0x00000002u; 9266 } else { 9267 _impl_._has_bits_[0] &= ~0x00000002u; 9268 } 9269 _impl_.title_.SetAllocated(value, GetArena()); 9270 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.title_.IsDefault()) { 9271 _impl_.title_.Set("", GetArena()); 9272 } 9273 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.title) 9274 } 9275 9276 // string description = 6; 9277 inline void JSONSchema::clear_description() { 9278 ::google::protobuf::internal::TSanWrite(&_impl_); 9279 _impl_.description_.ClearToEmpty(); 9280 _impl_._has_bits_[0] &= ~0x00000004u; 9281 } 9282 inline const std::string& JSONSchema::description() const 9283 ABSL_ATTRIBUTE_LIFETIME_BOUND { 9284 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.description) 9285 return _internal_description(); 9286 } 9287 template <typename Arg_, typename... Args_> 9288 PROTOBUF_ALWAYS_INLINE void JSONSchema::set_description(Arg_&& arg, Args_... args) { 9289 ::google::protobuf::internal::TSanWrite(&_impl_); 9290 _impl_._has_bits_[0] |= 0x00000004u; 9291 _impl_.description_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 9292 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.description) 9293 } 9294 inline std::string* PROTOBUF_NONNULL JSONSchema::mutable_description() 9295 ABSL_ATTRIBUTE_LIFETIME_BOUND { 9296 std::string* _s = _internal_mutable_description(); 9297 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.description) 9298 return _s; 9299 } 9300 inline const std::string& JSONSchema::_internal_description() const { 9301 ::google::protobuf::internal::TSanRead(&_impl_); 9302 return _impl_.description_.Get(); 9303 } 9304 inline void JSONSchema::_internal_set_description(const std::string& value) { 9305 ::google::protobuf::internal::TSanWrite(&_impl_); 9306 _impl_._has_bits_[0] |= 0x00000004u; 9307 _impl_.description_.Set(value, GetArena()); 9308 } 9309 inline std::string* PROTOBUF_NONNULL JSONSchema::_internal_mutable_description() { 9310 ::google::protobuf::internal::TSanWrite(&_impl_); 9311 _impl_._has_bits_[0] |= 0x00000004u; 9312 return _impl_.description_.Mutable( GetArena()); 9313 } 9314 inline std::string* PROTOBUF_NULLABLE JSONSchema::release_description() { 9315 ::google::protobuf::internal::TSanWrite(&_impl_); 9316 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.description) 9317 if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { 9318 return nullptr; 9319 } 9320 _impl_._has_bits_[0] &= ~0x00000004u; 9321 auto* released = _impl_.description_.Release(); 9322 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 9323 _impl_.description_.Set("", GetArena()); 9324 } 9325 return released; 9326 } 9327 inline void JSONSchema::set_allocated_description(std::string* PROTOBUF_NULLABLE value) { 9328 ::google::protobuf::internal::TSanWrite(&_impl_); 9329 if (value != nullptr) { 9330 _impl_._has_bits_[0] |= 0x00000004u; 9331 } else { 9332 _impl_._has_bits_[0] &= ~0x00000004u; 9333 } 9334 _impl_.description_.SetAllocated(value, GetArena()); 9335 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.description_.IsDefault()) { 9336 _impl_.description_.Set("", GetArena()); 9337 } 9338 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.description) 9339 } 9340 9341 // string default = 7; 9342 inline void JSONSchema::clear_default_() { 9343 ::google::protobuf::internal::TSanWrite(&_impl_); 9344 _impl_.default__.ClearToEmpty(); 9345 _impl_._has_bits_[0] &= ~0x00000008u; 9346 } 9347 inline const std::string& JSONSchema::default_() const 9348 ABSL_ATTRIBUTE_LIFETIME_BOUND { 9349 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.default) 9350 return _internal_default_(); 9351 } 9352 template <typename Arg_, typename... Args_> 9353 PROTOBUF_ALWAYS_INLINE void JSONSchema::set_default_(Arg_&& arg, Args_... args) { 9354 ::google::protobuf::internal::TSanWrite(&_impl_); 9355 _impl_._has_bits_[0] |= 0x00000008u; 9356 _impl_.default__.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 9357 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.default) 9358 } 9359 inline std::string* PROTOBUF_NONNULL JSONSchema::mutable_default_() 9360 ABSL_ATTRIBUTE_LIFETIME_BOUND { 9361 std::string* _s = _internal_mutable_default_(); 9362 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.default) 9363 return _s; 9364 } 9365 inline const std::string& JSONSchema::_internal_default_() const { 9366 ::google::protobuf::internal::TSanRead(&_impl_); 9367 return _impl_.default__.Get(); 9368 } 9369 inline void JSONSchema::_internal_set_default_(const std::string& value) { 9370 ::google::protobuf::internal::TSanWrite(&_impl_); 9371 _impl_._has_bits_[0] |= 0x00000008u; 9372 _impl_.default__.Set(value, GetArena()); 9373 } 9374 inline std::string* PROTOBUF_NONNULL JSONSchema::_internal_mutable_default_() { 9375 ::google::protobuf::internal::TSanWrite(&_impl_); 9376 _impl_._has_bits_[0] |= 0x00000008u; 9377 return _impl_.default__.Mutable( GetArena()); 9378 } 9379 inline std::string* PROTOBUF_NULLABLE JSONSchema::release_default_() { 9380 ::google::protobuf::internal::TSanWrite(&_impl_); 9381 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.default) 9382 if ((_impl_._has_bits_[0] & 0x00000008u) == 0) { 9383 return nullptr; 9384 } 9385 _impl_._has_bits_[0] &= ~0x00000008u; 9386 auto* released = _impl_.default__.Release(); 9387 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 9388 _impl_.default__.Set("", GetArena()); 9389 } 9390 return released; 9391 } 9392 inline void JSONSchema::set_allocated_default_(std::string* PROTOBUF_NULLABLE value) { 9393 ::google::protobuf::internal::TSanWrite(&_impl_); 9394 if (value != nullptr) { 9395 _impl_._has_bits_[0] |= 0x00000008u; 9396 } else { 9397 _impl_._has_bits_[0] &= ~0x00000008u; 9398 } 9399 _impl_.default__.SetAllocated(value, GetArena()); 9400 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.default__.IsDefault()) { 9401 _impl_.default__.Set("", GetArena()); 9402 } 9403 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.default) 9404 } 9405 9406 // bool read_only = 8; 9407 inline void JSONSchema::clear_read_only() { 9408 ::google::protobuf::internal::TSanWrite(&_impl_); 9409 _impl_.read_only_ = false; 9410 _impl_._has_bits_[0] &= ~0x00020000u; 9411 } 9412 inline bool JSONSchema::read_only() const { 9413 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.read_only) 9414 return _internal_read_only(); 9415 } 9416 inline void JSONSchema::set_read_only(bool value) { 9417 _internal_set_read_only(value); 9418 _impl_._has_bits_[0] |= 0x00020000u; 9419 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.read_only) 9420 } 9421 inline bool JSONSchema::_internal_read_only() const { 9422 ::google::protobuf::internal::TSanRead(&_impl_); 9423 return _impl_.read_only_; 9424 } 9425 inline void JSONSchema::_internal_set_read_only(bool value) { 9426 ::google::protobuf::internal::TSanWrite(&_impl_); 9427 _impl_.read_only_ = value; 9428 } 9429 9430 // string example = 9; 9431 inline void JSONSchema::clear_example() { 9432 ::google::protobuf::internal::TSanWrite(&_impl_); 9433 _impl_.example_.ClearToEmpty(); 9434 _impl_._has_bits_[0] &= ~0x00000010u; 9435 } 9436 inline const std::string& JSONSchema::example() const 9437 ABSL_ATTRIBUTE_LIFETIME_BOUND { 9438 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.example) 9439 return _internal_example(); 9440 } 9441 template <typename Arg_, typename... Args_> 9442 PROTOBUF_ALWAYS_INLINE void JSONSchema::set_example(Arg_&& arg, Args_... args) { 9443 ::google::protobuf::internal::TSanWrite(&_impl_); 9444 _impl_._has_bits_[0] |= 0x00000010u; 9445 _impl_.example_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 9446 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.example) 9447 } 9448 inline std::string* PROTOBUF_NONNULL JSONSchema::mutable_example() 9449 ABSL_ATTRIBUTE_LIFETIME_BOUND { 9450 std::string* _s = _internal_mutable_example(); 9451 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.example) 9452 return _s; 9453 } 9454 inline const std::string& JSONSchema::_internal_example() const { 9455 ::google::protobuf::internal::TSanRead(&_impl_); 9456 return _impl_.example_.Get(); 9457 } 9458 inline void JSONSchema::_internal_set_example(const std::string& value) { 9459 ::google::protobuf::internal::TSanWrite(&_impl_); 9460 _impl_._has_bits_[0] |= 0x00000010u; 9461 _impl_.example_.Set(value, GetArena()); 9462 } 9463 inline std::string* PROTOBUF_NONNULL JSONSchema::_internal_mutable_example() { 9464 ::google::protobuf::internal::TSanWrite(&_impl_); 9465 _impl_._has_bits_[0] |= 0x00000010u; 9466 return _impl_.example_.Mutable( GetArena()); 9467 } 9468 inline std::string* PROTOBUF_NULLABLE JSONSchema::release_example() { 9469 ::google::protobuf::internal::TSanWrite(&_impl_); 9470 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.example) 9471 if ((_impl_._has_bits_[0] & 0x00000010u) == 0) { 9472 return nullptr; 9473 } 9474 _impl_._has_bits_[0] &= ~0x00000010u; 9475 auto* released = _impl_.example_.Release(); 9476 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 9477 _impl_.example_.Set("", GetArena()); 9478 } 9479 return released; 9480 } 9481 inline void JSONSchema::set_allocated_example(std::string* PROTOBUF_NULLABLE value) { 9482 ::google::protobuf::internal::TSanWrite(&_impl_); 9483 if (value != nullptr) { 9484 _impl_._has_bits_[0] |= 0x00000010u; 9485 } else { 9486 _impl_._has_bits_[0] &= ~0x00000010u; 9487 } 9488 _impl_.example_.SetAllocated(value, GetArena()); 9489 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.example_.IsDefault()) { 9490 _impl_.example_.Set("", GetArena()); 9491 } 9492 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.example) 9493 } 9494 9495 // double multiple_of = 10; 9496 inline void JSONSchema::clear_multiple_of() { 9497 ::google::protobuf::internal::TSanWrite(&_impl_); 9498 _impl_.multiple_of_ = 0; 9499 _impl_._has_bits_[0] &= ~0x00000100u; 9500 } 9501 inline double JSONSchema::multiple_of() const { 9502 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.multiple_of) 9503 return _internal_multiple_of(); 9504 } 9505 inline void JSONSchema::set_multiple_of(double value) { 9506 _internal_set_multiple_of(value); 9507 _impl_._has_bits_[0] |= 0x00000100u; 9508 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.multiple_of) 9509 } 9510 inline double JSONSchema::_internal_multiple_of() const { 9511 ::google::protobuf::internal::TSanRead(&_impl_); 9512 return _impl_.multiple_of_; 9513 } 9514 inline void JSONSchema::_internal_set_multiple_of(double value) { 9515 ::google::protobuf::internal::TSanWrite(&_impl_); 9516 _impl_.multiple_of_ = value; 9517 } 9518 9519 // double maximum = 11; 9520 inline void JSONSchema::clear_maximum() { 9521 ::google::protobuf::internal::TSanWrite(&_impl_); 9522 _impl_.maximum_ = 0; 9523 _impl_._has_bits_[0] &= ~0x00000200u; 9524 } 9525 inline double JSONSchema::maximum() const { 9526 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.maximum) 9527 return _internal_maximum(); 9528 } 9529 inline void JSONSchema::set_maximum(double value) { 9530 _internal_set_maximum(value); 9531 _impl_._has_bits_[0] |= 0x00000200u; 9532 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.maximum) 9533 } 9534 inline double JSONSchema::_internal_maximum() const { 9535 ::google::protobuf::internal::TSanRead(&_impl_); 9536 return _impl_.maximum_; 9537 } 9538 inline void JSONSchema::_internal_set_maximum(double value) { 9539 ::google::protobuf::internal::TSanWrite(&_impl_); 9540 _impl_.maximum_ = value; 9541 } 9542 9543 // bool exclusive_maximum = 12; 9544 inline void JSONSchema::clear_exclusive_maximum() { 9545 ::google::protobuf::internal::TSanWrite(&_impl_); 9546 _impl_.exclusive_maximum_ = false; 9547 _impl_._has_bits_[0] &= ~0x00040000u; 9548 } 9549 inline bool JSONSchema::exclusive_maximum() const { 9550 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.exclusive_maximum) 9551 return _internal_exclusive_maximum(); 9552 } 9553 inline void JSONSchema::set_exclusive_maximum(bool value) { 9554 _internal_set_exclusive_maximum(value); 9555 _impl_._has_bits_[0] |= 0x00040000u; 9556 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.exclusive_maximum) 9557 } 9558 inline bool JSONSchema::_internal_exclusive_maximum() const { 9559 ::google::protobuf::internal::TSanRead(&_impl_); 9560 return _impl_.exclusive_maximum_; 9561 } 9562 inline void JSONSchema::_internal_set_exclusive_maximum(bool value) { 9563 ::google::protobuf::internal::TSanWrite(&_impl_); 9564 _impl_.exclusive_maximum_ = value; 9565 } 9566 9567 // double minimum = 13; 9568 inline void JSONSchema::clear_minimum() { 9569 ::google::protobuf::internal::TSanWrite(&_impl_); 9570 _impl_.minimum_ = 0; 9571 _impl_._has_bits_[0] &= ~0x00000400u; 9572 } 9573 inline double JSONSchema::minimum() const { 9574 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.minimum) 9575 return _internal_minimum(); 9576 } 9577 inline void JSONSchema::set_minimum(double value) { 9578 _internal_set_minimum(value); 9579 _impl_._has_bits_[0] |= 0x00000400u; 9580 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.minimum) 9581 } 9582 inline double JSONSchema::_internal_minimum() const { 9583 ::google::protobuf::internal::TSanRead(&_impl_); 9584 return _impl_.minimum_; 9585 } 9586 inline void JSONSchema::_internal_set_minimum(double value) { 9587 ::google::protobuf::internal::TSanWrite(&_impl_); 9588 _impl_.minimum_ = value; 9589 } 9590 9591 // bool exclusive_minimum = 14; 9592 inline void JSONSchema::clear_exclusive_minimum() { 9593 ::google::protobuf::internal::TSanWrite(&_impl_); 9594 _impl_.exclusive_minimum_ = false; 9595 _impl_._has_bits_[0] &= ~0x00080000u; 9596 } 9597 inline bool JSONSchema::exclusive_minimum() const { 9598 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.exclusive_minimum) 9599 return _internal_exclusive_minimum(); 9600 } 9601 inline void JSONSchema::set_exclusive_minimum(bool value) { 9602 _internal_set_exclusive_minimum(value); 9603 _impl_._has_bits_[0] |= 0x00080000u; 9604 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.exclusive_minimum) 9605 } 9606 inline bool JSONSchema::_internal_exclusive_minimum() const { 9607 ::google::protobuf::internal::TSanRead(&_impl_); 9608 return _impl_.exclusive_minimum_; 9609 } 9610 inline void JSONSchema::_internal_set_exclusive_minimum(bool value) { 9611 ::google::protobuf::internal::TSanWrite(&_impl_); 9612 _impl_.exclusive_minimum_ = value; 9613 } 9614 9615 // uint64 max_length = 15; 9616 inline void JSONSchema::clear_max_length() { 9617 ::google::protobuf::internal::TSanWrite(&_impl_); 9618 _impl_.max_length_ = ::uint64_t{0u}; 9619 _impl_._has_bits_[0] &= ~0x00000800u; 9620 } 9621 inline ::uint64_t JSONSchema::max_length() const { 9622 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.max_length) 9623 return _internal_max_length(); 9624 } 9625 inline void JSONSchema::set_max_length(::uint64_t value) { 9626 _internal_set_max_length(value); 9627 _impl_._has_bits_[0] |= 0x00000800u; 9628 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.max_length) 9629 } 9630 inline ::uint64_t JSONSchema::_internal_max_length() const { 9631 ::google::protobuf::internal::TSanRead(&_impl_); 9632 return _impl_.max_length_; 9633 } 9634 inline void JSONSchema::_internal_set_max_length(::uint64_t value) { 9635 ::google::protobuf::internal::TSanWrite(&_impl_); 9636 _impl_.max_length_ = value; 9637 } 9638 9639 // uint64 min_length = 16; 9640 inline void JSONSchema::clear_min_length() { 9641 ::google::protobuf::internal::TSanWrite(&_impl_); 9642 _impl_.min_length_ = ::uint64_t{0u}; 9643 _impl_._has_bits_[0] &= ~0x00001000u; 9644 } 9645 inline ::uint64_t JSONSchema::min_length() const { 9646 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.min_length) 9647 return _internal_min_length(); 9648 } 9649 inline void JSONSchema::set_min_length(::uint64_t value) { 9650 _internal_set_min_length(value); 9651 _impl_._has_bits_[0] |= 0x00001000u; 9652 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.min_length) 9653 } 9654 inline ::uint64_t JSONSchema::_internal_min_length() const { 9655 ::google::protobuf::internal::TSanRead(&_impl_); 9656 return _impl_.min_length_; 9657 } 9658 inline void JSONSchema::_internal_set_min_length(::uint64_t value) { 9659 ::google::protobuf::internal::TSanWrite(&_impl_); 9660 _impl_.min_length_ = value; 9661 } 9662 9663 // string pattern = 17; 9664 inline void JSONSchema::clear_pattern() { 9665 ::google::protobuf::internal::TSanWrite(&_impl_); 9666 _impl_.pattern_.ClearToEmpty(); 9667 _impl_._has_bits_[0] &= ~0x00000020u; 9668 } 9669 inline const std::string& JSONSchema::pattern() const 9670 ABSL_ATTRIBUTE_LIFETIME_BOUND { 9671 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.pattern) 9672 return _internal_pattern(); 9673 } 9674 template <typename Arg_, typename... Args_> 9675 PROTOBUF_ALWAYS_INLINE void JSONSchema::set_pattern(Arg_&& arg, Args_... args) { 9676 ::google::protobuf::internal::TSanWrite(&_impl_); 9677 _impl_._has_bits_[0] |= 0x00000020u; 9678 _impl_.pattern_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 9679 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.pattern) 9680 } 9681 inline std::string* PROTOBUF_NONNULL JSONSchema::mutable_pattern() 9682 ABSL_ATTRIBUTE_LIFETIME_BOUND { 9683 std::string* _s = _internal_mutable_pattern(); 9684 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.pattern) 9685 return _s; 9686 } 9687 inline const std::string& JSONSchema::_internal_pattern() const { 9688 ::google::protobuf::internal::TSanRead(&_impl_); 9689 return _impl_.pattern_.Get(); 9690 } 9691 inline void JSONSchema::_internal_set_pattern(const std::string& value) { 9692 ::google::protobuf::internal::TSanWrite(&_impl_); 9693 _impl_._has_bits_[0] |= 0x00000020u; 9694 _impl_.pattern_.Set(value, GetArena()); 9695 } 9696 inline std::string* PROTOBUF_NONNULL JSONSchema::_internal_mutable_pattern() { 9697 ::google::protobuf::internal::TSanWrite(&_impl_); 9698 _impl_._has_bits_[0] |= 0x00000020u; 9699 return _impl_.pattern_.Mutable( GetArena()); 9700 } 9701 inline std::string* PROTOBUF_NULLABLE JSONSchema::release_pattern() { 9702 ::google::protobuf::internal::TSanWrite(&_impl_); 9703 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.pattern) 9704 if ((_impl_._has_bits_[0] & 0x00000020u) == 0) { 9705 return nullptr; 9706 } 9707 _impl_._has_bits_[0] &= ~0x00000020u; 9708 auto* released = _impl_.pattern_.Release(); 9709 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 9710 _impl_.pattern_.Set("", GetArena()); 9711 } 9712 return released; 9713 } 9714 inline void JSONSchema::set_allocated_pattern(std::string* PROTOBUF_NULLABLE value) { 9715 ::google::protobuf::internal::TSanWrite(&_impl_); 9716 if (value != nullptr) { 9717 _impl_._has_bits_[0] |= 0x00000020u; 9718 } else { 9719 _impl_._has_bits_[0] &= ~0x00000020u; 9720 } 9721 _impl_.pattern_.SetAllocated(value, GetArena()); 9722 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.pattern_.IsDefault()) { 9723 _impl_.pattern_.Set("", GetArena()); 9724 } 9725 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.pattern) 9726 } 9727 9728 // uint64 max_items = 20; 9729 inline void JSONSchema::clear_max_items() { 9730 ::google::protobuf::internal::TSanWrite(&_impl_); 9731 _impl_.max_items_ = ::uint64_t{0u}; 9732 _impl_._has_bits_[0] &= ~0x00002000u; 9733 } 9734 inline ::uint64_t JSONSchema::max_items() const { 9735 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.max_items) 9736 return _internal_max_items(); 9737 } 9738 inline void JSONSchema::set_max_items(::uint64_t value) { 9739 _internal_set_max_items(value); 9740 _impl_._has_bits_[0] |= 0x00002000u; 9741 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.max_items) 9742 } 9743 inline ::uint64_t JSONSchema::_internal_max_items() const { 9744 ::google::protobuf::internal::TSanRead(&_impl_); 9745 return _impl_.max_items_; 9746 } 9747 inline void JSONSchema::_internal_set_max_items(::uint64_t value) { 9748 ::google::protobuf::internal::TSanWrite(&_impl_); 9749 _impl_.max_items_ = value; 9750 } 9751 9752 // uint64 min_items = 21; 9753 inline void JSONSchema::clear_min_items() { 9754 ::google::protobuf::internal::TSanWrite(&_impl_); 9755 _impl_.min_items_ = ::uint64_t{0u}; 9756 _impl_._has_bits_[0] &= ~0x00004000u; 9757 } 9758 inline ::uint64_t JSONSchema::min_items() const { 9759 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.min_items) 9760 return _internal_min_items(); 9761 } 9762 inline void JSONSchema::set_min_items(::uint64_t value) { 9763 _internal_set_min_items(value); 9764 _impl_._has_bits_[0] |= 0x00004000u; 9765 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.min_items) 9766 } 9767 inline ::uint64_t JSONSchema::_internal_min_items() const { 9768 ::google::protobuf::internal::TSanRead(&_impl_); 9769 return _impl_.min_items_; 9770 } 9771 inline void JSONSchema::_internal_set_min_items(::uint64_t value) { 9772 ::google::protobuf::internal::TSanWrite(&_impl_); 9773 _impl_.min_items_ = value; 9774 } 9775 9776 // bool unique_items = 22; 9777 inline void JSONSchema::clear_unique_items() { 9778 ::google::protobuf::internal::TSanWrite(&_impl_); 9779 _impl_.unique_items_ = false; 9780 _impl_._has_bits_[0] &= ~0x00100000u; 9781 } 9782 inline bool JSONSchema::unique_items() const { 9783 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.unique_items) 9784 return _internal_unique_items(); 9785 } 9786 inline void JSONSchema::set_unique_items(bool value) { 9787 _internal_set_unique_items(value); 9788 _impl_._has_bits_[0] |= 0x00100000u; 9789 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.unique_items) 9790 } 9791 inline bool JSONSchema::_internal_unique_items() const { 9792 ::google::protobuf::internal::TSanRead(&_impl_); 9793 return _impl_.unique_items_; 9794 } 9795 inline void JSONSchema::_internal_set_unique_items(bool value) { 9796 ::google::protobuf::internal::TSanWrite(&_impl_); 9797 _impl_.unique_items_ = value; 9798 } 9799 9800 // uint64 max_properties = 24; 9801 inline void JSONSchema::clear_max_properties() { 9802 ::google::protobuf::internal::TSanWrite(&_impl_); 9803 _impl_.max_properties_ = ::uint64_t{0u}; 9804 _impl_._has_bits_[0] &= ~0x00008000u; 9805 } 9806 inline ::uint64_t JSONSchema::max_properties() const { 9807 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.max_properties) 9808 return _internal_max_properties(); 9809 } 9810 inline void JSONSchema::set_max_properties(::uint64_t value) { 9811 _internal_set_max_properties(value); 9812 _impl_._has_bits_[0] |= 0x00008000u; 9813 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.max_properties) 9814 } 9815 inline ::uint64_t JSONSchema::_internal_max_properties() const { 9816 ::google::protobuf::internal::TSanRead(&_impl_); 9817 return _impl_.max_properties_; 9818 } 9819 inline void JSONSchema::_internal_set_max_properties(::uint64_t value) { 9820 ::google::protobuf::internal::TSanWrite(&_impl_); 9821 _impl_.max_properties_ = value; 9822 } 9823 9824 // uint64 min_properties = 25; 9825 inline void JSONSchema::clear_min_properties() { 9826 ::google::protobuf::internal::TSanWrite(&_impl_); 9827 _impl_.min_properties_ = ::uint64_t{0u}; 9828 _impl_._has_bits_[0] &= ~0x00010000u; 9829 } 9830 inline ::uint64_t JSONSchema::min_properties() const { 9831 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.min_properties) 9832 return _internal_min_properties(); 9833 } 9834 inline void JSONSchema::set_min_properties(::uint64_t value) { 9835 _internal_set_min_properties(value); 9836 _impl_._has_bits_[0] |= 0x00010000u; 9837 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.min_properties) 9838 } 9839 inline ::uint64_t JSONSchema::_internal_min_properties() const { 9840 ::google::protobuf::internal::TSanRead(&_impl_); 9841 return _impl_.min_properties_; 9842 } 9843 inline void JSONSchema::_internal_set_min_properties(::uint64_t value) { 9844 ::google::protobuf::internal::TSanWrite(&_impl_); 9845 _impl_.min_properties_ = value; 9846 } 9847 9848 // repeated string required = 26; 9849 inline int JSONSchema::_internal_required_size() const { 9850 return _internal_required().size(); 9851 } 9852 inline int JSONSchema::required_size() const { 9853 return _internal_required_size(); 9854 } 9855 inline void JSONSchema::clear_required() { 9856 ::google::protobuf::internal::TSanWrite(&_impl_); 9857 _impl_.required_.Clear(); 9858 } 9859 inline std::string* PROTOBUF_NONNULL JSONSchema::add_required() 9860 ABSL_ATTRIBUTE_LIFETIME_BOUND { 9861 ::google::protobuf::internal::TSanWrite(&_impl_); 9862 std::string* _s = _internal_mutable_required()->Add(); 9863 // @@protoc_insertion_point(field_add_mutable:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.required) 9864 return _s; 9865 } 9866 inline const std::string& JSONSchema::required(int index) const 9867 ABSL_ATTRIBUTE_LIFETIME_BOUND { 9868 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.required) 9869 return _internal_required().Get(index); 9870 } 9871 inline std::string* PROTOBUF_NONNULL JSONSchema::mutable_required(int index) 9872 ABSL_ATTRIBUTE_LIFETIME_BOUND { 9873 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.required) 9874 return _internal_mutable_required()->Mutable(index); 9875 } 9876 template <typename Arg_, typename... Args_> 9877 inline void JSONSchema::set_required(int index, Arg_&& value, Args_... args) { 9878 ::google::protobuf::internal::AssignToString(*_internal_mutable_required()->Mutable(index), std::forward<Arg_>(value), 9879 args... ); 9880 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.required) 9881 } 9882 template <typename Arg_, typename... Args_> 9883 inline void JSONSchema::add_required(Arg_&& value, Args_... args) { 9884 ::google::protobuf::internal::TSanWrite(&_impl_); 9885 ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_required(), 9886 std::forward<Arg_>(value), 9887 args... ); 9888 // @@protoc_insertion_point(field_add:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.required) 9889 } 9890 inline const ::google::protobuf::RepeatedPtrField<std::string>& JSONSchema::required() const 9891 ABSL_ATTRIBUTE_LIFETIME_BOUND { 9892 // @@protoc_insertion_point(field_list:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.required) 9893 return _internal_required(); 9894 } 9895 inline ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL 9896 JSONSchema::mutable_required() ABSL_ATTRIBUTE_LIFETIME_BOUND { 9897 // @@protoc_insertion_point(field_mutable_list:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.required) 9898 ::google::protobuf::internal::TSanWrite(&_impl_); 9899 return _internal_mutable_required(); 9900 } 9901 inline const ::google::protobuf::RepeatedPtrField<std::string>& 9902 JSONSchema::_internal_required() const { 9903 ::google::protobuf::internal::TSanRead(&_impl_); 9904 return _impl_.required_; 9905 } 9906 inline ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL 9907 JSONSchema::_internal_mutable_required() { 9908 ::google::protobuf::internal::TSanRead(&_impl_); 9909 return &_impl_.required_; 9910 } 9911 9912 // repeated string array = 34; 9913 inline int JSONSchema::_internal_array_size() const { 9914 return _internal_array().size(); 9915 } 9916 inline int JSONSchema::array_size() const { 9917 return _internal_array_size(); 9918 } 9919 inline void JSONSchema::clear_array() { 9920 ::google::protobuf::internal::TSanWrite(&_impl_); 9921 _impl_.array_.Clear(); 9922 } 9923 inline std::string* PROTOBUF_NONNULL JSONSchema::add_array() 9924 ABSL_ATTRIBUTE_LIFETIME_BOUND { 9925 ::google::protobuf::internal::TSanWrite(&_impl_); 9926 std::string* _s = _internal_mutable_array()->Add(); 9927 // @@protoc_insertion_point(field_add_mutable:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.array) 9928 return _s; 9929 } 9930 inline const std::string& JSONSchema::array(int index) const 9931 ABSL_ATTRIBUTE_LIFETIME_BOUND { 9932 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.array) 9933 return _internal_array().Get(index); 9934 } 9935 inline std::string* PROTOBUF_NONNULL JSONSchema::mutable_array(int index) 9936 ABSL_ATTRIBUTE_LIFETIME_BOUND { 9937 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.array) 9938 return _internal_mutable_array()->Mutable(index); 9939 } 9940 template <typename Arg_, typename... Args_> 9941 inline void JSONSchema::set_array(int index, Arg_&& value, Args_... args) { 9942 ::google::protobuf::internal::AssignToString(*_internal_mutable_array()->Mutable(index), std::forward<Arg_>(value), 9943 args... ); 9944 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.array) 9945 } 9946 template <typename Arg_, typename... Args_> 9947 inline void JSONSchema::add_array(Arg_&& value, Args_... args) { 9948 ::google::protobuf::internal::TSanWrite(&_impl_); 9949 ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_array(), 9950 std::forward<Arg_>(value), 9951 args... ); 9952 // @@protoc_insertion_point(field_add:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.array) 9953 } 9954 inline const ::google::protobuf::RepeatedPtrField<std::string>& JSONSchema::array() const 9955 ABSL_ATTRIBUTE_LIFETIME_BOUND { 9956 // @@protoc_insertion_point(field_list:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.array) 9957 return _internal_array(); 9958 } 9959 inline ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL 9960 JSONSchema::mutable_array() ABSL_ATTRIBUTE_LIFETIME_BOUND { 9961 // @@protoc_insertion_point(field_mutable_list:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.array) 9962 ::google::protobuf::internal::TSanWrite(&_impl_); 9963 return _internal_mutable_array(); 9964 } 9965 inline const ::google::protobuf::RepeatedPtrField<std::string>& 9966 JSONSchema::_internal_array() const { 9967 ::google::protobuf::internal::TSanRead(&_impl_); 9968 return _impl_.array_; 9969 } 9970 inline ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL 9971 JSONSchema::_internal_mutable_array() { 9972 ::google::protobuf::internal::TSanRead(&_impl_); 9973 return &_impl_.array_; 9974 } 9975 9976 // repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35; 9977 inline int JSONSchema::_internal_type_size() const { 9978 return _internal_type().size(); 9979 } 9980 inline int JSONSchema::type_size() const { 9981 return _internal_type_size(); 9982 } 9983 inline void JSONSchema::clear_type() { 9984 ::google::protobuf::internal::TSanWrite(&_impl_); 9985 _impl_.type_.Clear(); 9986 } 9987 inline ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_JSONSchemaSimpleTypes JSONSchema::type(int index) const { 9988 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.type) 9989 return static_cast<::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_JSONSchemaSimpleTypes>(_internal_type().Get(index)); 9990 } 9991 inline void JSONSchema::set_type(int index, ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_JSONSchemaSimpleTypes value) { 9992 _internal_mutable_type()->Set(index, value); 9993 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.type) 9994 } 9995 inline void JSONSchema::add_type(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_JSONSchemaSimpleTypes value) { 9996 ::google::protobuf::internal::TSanWrite(&_impl_); 9997 _internal_mutable_type()->Add(value); 9998 // @@protoc_insertion_point(field_add:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.type) 9999 } 10000 inline const ::google::protobuf::RepeatedField<int>& JSONSchema::type() const 10001 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10002 // @@protoc_insertion_point(field_list:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.type) 10003 return _internal_type(); 10004 } 10005 inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL JSONSchema::mutable_type() 10006 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10007 // @@protoc_insertion_point(field_mutable_list:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.type) 10008 ::google::protobuf::internal::TSanWrite(&_impl_); 10009 return _internal_mutable_type(); 10010 } 10011 inline const ::google::protobuf::RepeatedField<int>& JSONSchema::_internal_type() 10012 const { 10013 ::google::protobuf::internal::TSanRead(&_impl_); 10014 return _impl_.type_; 10015 } 10016 inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL 10017 JSONSchema::_internal_mutable_type() { 10018 ::google::protobuf::internal::TSanRead(&_impl_); 10019 return &_impl_.type_; 10020 } 10021 10022 // string format = 36; 10023 inline void JSONSchema::clear_format() { 10024 ::google::protobuf::internal::TSanWrite(&_impl_); 10025 _impl_.format_.ClearToEmpty(); 10026 _impl_._has_bits_[0] &= ~0x00000040u; 10027 } 10028 inline const std::string& JSONSchema::format() const 10029 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10030 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.format) 10031 return _internal_format(); 10032 } 10033 template <typename Arg_, typename... Args_> 10034 PROTOBUF_ALWAYS_INLINE void JSONSchema::set_format(Arg_&& arg, Args_... args) { 10035 ::google::protobuf::internal::TSanWrite(&_impl_); 10036 _impl_._has_bits_[0] |= 0x00000040u; 10037 _impl_.format_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 10038 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.format) 10039 } 10040 inline std::string* PROTOBUF_NONNULL JSONSchema::mutable_format() 10041 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10042 std::string* _s = _internal_mutable_format(); 10043 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.format) 10044 return _s; 10045 } 10046 inline const std::string& JSONSchema::_internal_format() const { 10047 ::google::protobuf::internal::TSanRead(&_impl_); 10048 return _impl_.format_.Get(); 10049 } 10050 inline void JSONSchema::_internal_set_format(const std::string& value) { 10051 ::google::protobuf::internal::TSanWrite(&_impl_); 10052 _impl_._has_bits_[0] |= 0x00000040u; 10053 _impl_.format_.Set(value, GetArena()); 10054 } 10055 inline std::string* PROTOBUF_NONNULL JSONSchema::_internal_mutable_format() { 10056 ::google::protobuf::internal::TSanWrite(&_impl_); 10057 _impl_._has_bits_[0] |= 0x00000040u; 10058 return _impl_.format_.Mutable( GetArena()); 10059 } 10060 inline std::string* PROTOBUF_NULLABLE JSONSchema::release_format() { 10061 ::google::protobuf::internal::TSanWrite(&_impl_); 10062 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.format) 10063 if ((_impl_._has_bits_[0] & 0x00000040u) == 0) { 10064 return nullptr; 10065 } 10066 _impl_._has_bits_[0] &= ~0x00000040u; 10067 auto* released = _impl_.format_.Release(); 10068 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 10069 _impl_.format_.Set("", GetArena()); 10070 } 10071 return released; 10072 } 10073 inline void JSONSchema::set_allocated_format(std::string* PROTOBUF_NULLABLE value) { 10074 ::google::protobuf::internal::TSanWrite(&_impl_); 10075 if (value != nullptr) { 10076 _impl_._has_bits_[0] |= 0x00000040u; 10077 } else { 10078 _impl_._has_bits_[0] &= ~0x00000040u; 10079 } 10080 _impl_.format_.SetAllocated(value, GetArena()); 10081 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.format_.IsDefault()) { 10082 _impl_.format_.Set("", GetArena()); 10083 } 10084 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.format) 10085 } 10086 10087 // repeated string enum = 46; 10088 inline int JSONSchema::_internal_enum__size() const { 10089 return _internal_enum_().size(); 10090 } 10091 inline int JSONSchema::enum__size() const { 10092 return _internal_enum__size(); 10093 } 10094 inline void JSONSchema::clear_enum_() { 10095 ::google::protobuf::internal::TSanWrite(&_impl_); 10096 _impl_.enum__.Clear(); 10097 } 10098 inline std::string* PROTOBUF_NONNULL JSONSchema::add_enum_() 10099 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10100 ::google::protobuf::internal::TSanWrite(&_impl_); 10101 std::string* _s = _internal_mutable_enum_()->Add(); 10102 // @@protoc_insertion_point(field_add_mutable:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.enum) 10103 return _s; 10104 } 10105 inline const std::string& JSONSchema::enum_(int index) const 10106 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10107 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.enum) 10108 return _internal_enum_().Get(index); 10109 } 10110 inline std::string* PROTOBUF_NONNULL JSONSchema::mutable_enum_(int index) 10111 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10112 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.enum) 10113 return _internal_mutable_enum_()->Mutable(index); 10114 } 10115 template <typename Arg_, typename... Args_> 10116 inline void JSONSchema::set_enum_(int index, Arg_&& value, Args_... args) { 10117 ::google::protobuf::internal::AssignToString(*_internal_mutable_enum_()->Mutable(index), std::forward<Arg_>(value), 10118 args... ); 10119 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.enum) 10120 } 10121 template <typename Arg_, typename... Args_> 10122 inline void JSONSchema::add_enum_(Arg_&& value, Args_... args) { 10123 ::google::protobuf::internal::TSanWrite(&_impl_); 10124 ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_enum_(), 10125 std::forward<Arg_>(value), 10126 args... ); 10127 // @@protoc_insertion_point(field_add:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.enum) 10128 } 10129 inline const ::google::protobuf::RepeatedPtrField<std::string>& JSONSchema::enum_() const 10130 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10131 // @@protoc_insertion_point(field_list:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.enum) 10132 return _internal_enum_(); 10133 } 10134 inline ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL 10135 JSONSchema::mutable_enum_() ABSL_ATTRIBUTE_LIFETIME_BOUND { 10136 // @@protoc_insertion_point(field_mutable_list:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.enum) 10137 ::google::protobuf::internal::TSanWrite(&_impl_); 10138 return _internal_mutable_enum_(); 10139 } 10140 inline const ::google::protobuf::RepeatedPtrField<std::string>& 10141 JSONSchema::_internal_enum_() const { 10142 ::google::protobuf::internal::TSanRead(&_impl_); 10143 return _impl_.enum__; 10144 } 10145 inline ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL 10146 JSONSchema::_internal_mutable_enum_() { 10147 ::google::protobuf::internal::TSanRead(&_impl_); 10148 return &_impl_.enum__; 10149 } 10150 10151 // .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration field_configuration = 1001; 10152 inline bool JSONSchema::has_field_configuration() const { 10153 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; 10154 PROTOBUF_ASSUME(!value || _impl_.field_configuration_ != nullptr); 10155 return value; 10156 } 10157 inline void JSONSchema::clear_field_configuration() { 10158 ::google::protobuf::internal::TSanWrite(&_impl_); 10159 if (_impl_.field_configuration_ != nullptr) _impl_.field_configuration_->Clear(); 10160 _impl_._has_bits_[0] &= ~0x00000080u; 10161 } 10162 inline const ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration& JSONSchema::_internal_field_configuration() const { 10163 ::google::protobuf::internal::TSanRead(&_impl_); 10164 const ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration* p = _impl_.field_configuration_; 10165 return p != nullptr ? *p : reinterpret_cast<const ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration&>(::grpc::gateway::protoc_gen_openapiv2::options::_JSONSchema_FieldConfiguration_default_instance_); 10166 } 10167 inline const ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration& JSONSchema::field_configuration() const ABSL_ATTRIBUTE_LIFETIME_BOUND { 10168 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.field_configuration) 10169 return _internal_field_configuration(); 10170 } 10171 inline void JSONSchema::unsafe_arena_set_allocated_field_configuration( 10172 ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration* PROTOBUF_NULLABLE value) { 10173 ::google::protobuf::internal::TSanWrite(&_impl_); 10174 if (GetArena() == nullptr) { 10175 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.field_configuration_); 10176 } 10177 _impl_.field_configuration_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration*>(value); 10178 if (value != nullptr) { 10179 _impl_._has_bits_[0] |= 0x00000080u; 10180 } else { 10181 _impl_._has_bits_[0] &= ~0x00000080u; 10182 } 10183 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.field_configuration) 10184 } 10185 inline ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration* PROTOBUF_NULLABLE JSONSchema::release_field_configuration() { 10186 ::google::protobuf::internal::TSanWrite(&_impl_); 10187 10188 _impl_._has_bits_[0] &= ~0x00000080u; 10189 ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration* released = _impl_.field_configuration_; 10190 _impl_.field_configuration_ = nullptr; 10191 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { 10192 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); 10193 released = ::google::protobuf::internal::DuplicateIfNonNull(released); 10194 if (GetArena() == nullptr) { 10195 delete old; 10196 } 10197 } else { 10198 if (GetArena() != nullptr) { 10199 released = ::google::protobuf::internal::DuplicateIfNonNull(released); 10200 } 10201 } 10202 return released; 10203 } 10204 inline ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration* PROTOBUF_NULLABLE JSONSchema::unsafe_arena_release_field_configuration() { 10205 ::google::protobuf::internal::TSanWrite(&_impl_); 10206 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.field_configuration) 10207 10208 _impl_._has_bits_[0] &= ~0x00000080u; 10209 ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration* temp = _impl_.field_configuration_; 10210 _impl_.field_configuration_ = nullptr; 10211 return temp; 10212 } 10213 inline ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration* PROTOBUF_NONNULL JSONSchema::_internal_mutable_field_configuration() { 10214 ::google::protobuf::internal::TSanWrite(&_impl_); 10215 if (_impl_.field_configuration_ == nullptr) { 10216 auto* p = ::google::protobuf::Message::DefaultConstruct<::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration>(GetArena()); 10217 _impl_.field_configuration_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration*>(p); 10218 } 10219 return _impl_.field_configuration_; 10220 } 10221 inline ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration* PROTOBUF_NONNULL JSONSchema::mutable_field_configuration() 10222 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10223 _impl_._has_bits_[0] |= 0x00000080u; 10224 ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration* _msg = _internal_mutable_field_configuration(); 10225 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.field_configuration) 10226 return _msg; 10227 } 10228 inline void JSONSchema::set_allocated_field_configuration(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration* PROTOBUF_NULLABLE value) { 10229 ::google::protobuf::Arena* message_arena = GetArena(); 10230 ::google::protobuf::internal::TSanWrite(&_impl_); 10231 if (message_arena == nullptr) { 10232 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.field_configuration_); 10233 } 10234 10235 if (value != nullptr) { 10236 ::google::protobuf::Arena* submessage_arena = value->GetArena(); 10237 if (message_arena != submessage_arena) { 10238 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); 10239 } 10240 _impl_._has_bits_[0] |= 0x00000080u; 10241 } else { 10242 _impl_._has_bits_[0] &= ~0x00000080u; 10243 } 10244 10245 _impl_.field_configuration_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration*>(value); 10246 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.field_configuration) 10247 } 10248 10249 // map<string, .google.protobuf.Value> extensions = 48; 10250 inline int JSONSchema::_internal_extensions_size() const { 10251 return _internal_extensions().size(); 10252 } 10253 inline int JSONSchema::extensions_size() const { 10254 return _internal_extensions_size(); 10255 } 10256 inline const ::google::protobuf::Map<std::string, ::google::protobuf::Value>& JSONSchema::_internal_extensions() const { 10257 ::google::protobuf::internal::TSanRead(&_impl_); 10258 return _impl_.extensions_.GetMap(); 10259 } 10260 inline const ::google::protobuf::Map<std::string, ::google::protobuf::Value>& JSONSchema::extensions() const ABSL_ATTRIBUTE_LIFETIME_BOUND { 10261 // @@protoc_insertion_point(field_map:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.extensions) 10262 return _internal_extensions(); 10263 } 10264 inline ::google::protobuf::Map<std::string, ::google::protobuf::Value>* PROTOBUF_NONNULL JSONSchema::_internal_mutable_extensions() { 10265 ::google::protobuf::internal::TSanWrite(&_impl_); 10266 return _impl_.extensions_.MutableMap(); 10267 } 10268 inline ::google::protobuf::Map<std::string, ::google::protobuf::Value>* PROTOBUF_NONNULL JSONSchema::mutable_extensions() 10269 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10270 // @@protoc_insertion_point(field_mutable_map:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.extensions) 10271 return _internal_mutable_extensions(); 10272 } 10273 10274 // ------------------------------------------------------------------- 10275 10276 // Tag 10277 10278 // string description = 2; 10279 inline void Tag::clear_description() { 10280 ::google::protobuf::internal::TSanWrite(&_impl_); 10281 _impl_.description_.ClearToEmpty(); 10282 _impl_._has_bits_[0] &= ~0x00000001u; 10283 } 10284 inline const std::string& Tag::description() const 10285 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10286 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Tag.description) 10287 return _internal_description(); 10288 } 10289 template <typename Arg_, typename... Args_> 10290 PROTOBUF_ALWAYS_INLINE void Tag::set_description(Arg_&& arg, Args_... args) { 10291 ::google::protobuf::internal::TSanWrite(&_impl_); 10292 _impl_._has_bits_[0] |= 0x00000001u; 10293 _impl_.description_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 10294 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.Tag.description) 10295 } 10296 inline std::string* PROTOBUF_NONNULL Tag::mutable_description() 10297 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10298 std::string* _s = _internal_mutable_description(); 10299 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Tag.description) 10300 return _s; 10301 } 10302 inline const std::string& Tag::_internal_description() const { 10303 ::google::protobuf::internal::TSanRead(&_impl_); 10304 return _impl_.description_.Get(); 10305 } 10306 inline void Tag::_internal_set_description(const std::string& value) { 10307 ::google::protobuf::internal::TSanWrite(&_impl_); 10308 _impl_._has_bits_[0] |= 0x00000001u; 10309 _impl_.description_.Set(value, GetArena()); 10310 } 10311 inline std::string* PROTOBUF_NONNULL Tag::_internal_mutable_description() { 10312 ::google::protobuf::internal::TSanWrite(&_impl_); 10313 _impl_._has_bits_[0] |= 0x00000001u; 10314 return _impl_.description_.Mutable( GetArena()); 10315 } 10316 inline std::string* PROTOBUF_NULLABLE Tag::release_description() { 10317 ::google::protobuf::internal::TSanWrite(&_impl_); 10318 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Tag.description) 10319 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { 10320 return nullptr; 10321 } 10322 _impl_._has_bits_[0] &= ~0x00000001u; 10323 auto* released = _impl_.description_.Release(); 10324 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 10325 _impl_.description_.Set("", GetArena()); 10326 } 10327 return released; 10328 } 10329 inline void Tag::set_allocated_description(std::string* PROTOBUF_NULLABLE value) { 10330 ::google::protobuf::internal::TSanWrite(&_impl_); 10331 if (value != nullptr) { 10332 _impl_._has_bits_[0] |= 0x00000001u; 10333 } else { 10334 _impl_._has_bits_[0] &= ~0x00000001u; 10335 } 10336 _impl_.description_.SetAllocated(value, GetArena()); 10337 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.description_.IsDefault()) { 10338 _impl_.description_.Set("", GetArena()); 10339 } 10340 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Tag.description) 10341 } 10342 10343 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 3; 10344 inline bool Tag::has_external_docs() const { 10345 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; 10346 PROTOBUF_ASSUME(!value || _impl_.external_docs_ != nullptr); 10347 return value; 10348 } 10349 inline void Tag::clear_external_docs() { 10350 ::google::protobuf::internal::TSanWrite(&_impl_); 10351 if (_impl_.external_docs_ != nullptr) _impl_.external_docs_->Clear(); 10352 _impl_._has_bits_[0] &= ~0x00000002u; 10353 } 10354 inline const ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation& Tag::_internal_external_docs() const { 10355 ::google::protobuf::internal::TSanRead(&_impl_); 10356 const ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* p = _impl_.external_docs_; 10357 return p != nullptr ? *p : reinterpret_cast<const ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation&>(::grpc::gateway::protoc_gen_openapiv2::options::_ExternalDocumentation_default_instance_); 10358 } 10359 inline const ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation& Tag::external_docs() const ABSL_ATTRIBUTE_LIFETIME_BOUND { 10360 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.Tag.external_docs) 10361 return _internal_external_docs(); 10362 } 10363 inline void Tag::unsafe_arena_set_allocated_external_docs( 10364 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE value) { 10365 ::google::protobuf::internal::TSanWrite(&_impl_); 10366 if (GetArena() == nullptr) { 10367 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.external_docs_); 10368 } 10369 _impl_.external_docs_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation*>(value); 10370 if (value != nullptr) { 10371 _impl_._has_bits_[0] |= 0x00000002u; 10372 } else { 10373 _impl_._has_bits_[0] &= ~0x00000002u; 10374 } 10375 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Tag.external_docs) 10376 } 10377 inline ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE Tag::release_external_docs() { 10378 ::google::protobuf::internal::TSanWrite(&_impl_); 10379 10380 _impl_._has_bits_[0] &= ~0x00000002u; 10381 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* released = _impl_.external_docs_; 10382 _impl_.external_docs_ = nullptr; 10383 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { 10384 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); 10385 released = ::google::protobuf::internal::DuplicateIfNonNull(released); 10386 if (GetArena() == nullptr) { 10387 delete old; 10388 } 10389 } else { 10390 if (GetArena() != nullptr) { 10391 released = ::google::protobuf::internal::DuplicateIfNonNull(released); 10392 } 10393 } 10394 return released; 10395 } 10396 inline ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE Tag::unsafe_arena_release_external_docs() { 10397 ::google::protobuf::internal::TSanWrite(&_impl_); 10398 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.Tag.external_docs) 10399 10400 _impl_._has_bits_[0] &= ~0x00000002u; 10401 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* temp = _impl_.external_docs_; 10402 _impl_.external_docs_ = nullptr; 10403 return temp; 10404 } 10405 inline ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NONNULL Tag::_internal_mutable_external_docs() { 10406 ::google::protobuf::internal::TSanWrite(&_impl_); 10407 if (_impl_.external_docs_ == nullptr) { 10408 auto* p = ::google::protobuf::Message::DefaultConstruct<::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation>(GetArena()); 10409 _impl_.external_docs_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation*>(p); 10410 } 10411 return _impl_.external_docs_; 10412 } 10413 inline ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NONNULL Tag::mutable_external_docs() 10414 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10415 _impl_._has_bits_[0] |= 0x00000002u; 10416 ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* _msg = _internal_mutable_external_docs(); 10417 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.Tag.external_docs) 10418 return _msg; 10419 } 10420 inline void Tag::set_allocated_external_docs(::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation* PROTOBUF_NULLABLE value) { 10421 ::google::protobuf::Arena* message_arena = GetArena(); 10422 ::google::protobuf::internal::TSanWrite(&_impl_); 10423 if (message_arena == nullptr) { 10424 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.external_docs_); 10425 } 10426 10427 if (value != nullptr) { 10428 ::google::protobuf::Arena* submessage_arena = value->GetArena(); 10429 if (message_arena != submessage_arena) { 10430 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); 10431 } 10432 _impl_._has_bits_[0] |= 0x00000002u; 10433 } else { 10434 _impl_._has_bits_[0] &= ~0x00000002u; 10435 } 10436 10437 _impl_.external_docs_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation*>(value); 10438 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.Tag.external_docs) 10439 } 10440 10441 // ------------------------------------------------------------------- 10442 10443 // ------------------------------------------------------------------- 10444 10445 // SecurityDefinitions 10446 10447 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme> security = 1; 10448 inline int SecurityDefinitions::_internal_security_size() const { 10449 return _internal_security().size(); 10450 } 10451 inline int SecurityDefinitions::security_size() const { 10452 return _internal_security_size(); 10453 } 10454 inline void SecurityDefinitions::clear_security() { 10455 ::google::protobuf::internal::TSanWrite(&_impl_); 10456 _impl_.security_.Clear(); 10457 } 10458 inline const ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme>& SecurityDefinitions::_internal_security() const { 10459 ::google::protobuf::internal::TSanRead(&_impl_); 10460 return _impl_.security_.GetMap(); 10461 } 10462 inline const ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme>& SecurityDefinitions::security() const ABSL_ATTRIBUTE_LIFETIME_BOUND { 10463 // @@protoc_insertion_point(field_map:grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.security) 10464 return _internal_security(); 10465 } 10466 inline ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme>* PROTOBUF_NONNULL SecurityDefinitions::_internal_mutable_security() { 10467 ::google::protobuf::internal::TSanWrite(&_impl_); 10468 return _impl_.security_.MutableMap(); 10469 } 10470 inline ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme>* PROTOBUF_NONNULL SecurityDefinitions::mutable_security() 10471 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10472 // @@protoc_insertion_point(field_mutable_map:grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.security) 10473 return _internal_mutable_security(); 10474 } 10475 10476 // ------------------------------------------------------------------- 10477 10478 // ------------------------------------------------------------------- 10479 10480 // SecurityScheme 10481 10482 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type type = 1; 10483 inline void SecurityScheme::clear_type() { 10484 ::google::protobuf::internal::TSanWrite(&_impl_); 10485 _impl_.type_ = 0; 10486 _impl_._has_bits_[0] &= ~0x00000020u; 10487 } 10488 inline ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Type SecurityScheme::type() const { 10489 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.type) 10490 return _internal_type(); 10491 } 10492 inline void SecurityScheme::set_type(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Type value) { 10493 _internal_set_type(value); 10494 _impl_._has_bits_[0] |= 0x00000020u; 10495 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.type) 10496 } 10497 inline ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Type SecurityScheme::_internal_type() const { 10498 ::google::protobuf::internal::TSanRead(&_impl_); 10499 return static_cast<::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Type>(_impl_.type_); 10500 } 10501 inline void SecurityScheme::_internal_set_type(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Type value) { 10502 ::google::protobuf::internal::TSanWrite(&_impl_); 10503 _impl_.type_ = value; 10504 } 10505 10506 // string description = 2; 10507 inline void SecurityScheme::clear_description() { 10508 ::google::protobuf::internal::TSanWrite(&_impl_); 10509 _impl_.description_.ClearToEmpty(); 10510 _impl_._has_bits_[0] &= ~0x00000001u; 10511 } 10512 inline const std::string& SecurityScheme::description() const 10513 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10514 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.description) 10515 return _internal_description(); 10516 } 10517 template <typename Arg_, typename... Args_> 10518 PROTOBUF_ALWAYS_INLINE void SecurityScheme::set_description(Arg_&& arg, Args_... args) { 10519 ::google::protobuf::internal::TSanWrite(&_impl_); 10520 _impl_._has_bits_[0] |= 0x00000001u; 10521 _impl_.description_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 10522 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.description) 10523 } 10524 inline std::string* PROTOBUF_NONNULL SecurityScheme::mutable_description() 10525 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10526 std::string* _s = _internal_mutable_description(); 10527 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.description) 10528 return _s; 10529 } 10530 inline const std::string& SecurityScheme::_internal_description() const { 10531 ::google::protobuf::internal::TSanRead(&_impl_); 10532 return _impl_.description_.Get(); 10533 } 10534 inline void SecurityScheme::_internal_set_description(const std::string& value) { 10535 ::google::protobuf::internal::TSanWrite(&_impl_); 10536 _impl_._has_bits_[0] |= 0x00000001u; 10537 _impl_.description_.Set(value, GetArena()); 10538 } 10539 inline std::string* PROTOBUF_NONNULL SecurityScheme::_internal_mutable_description() { 10540 ::google::protobuf::internal::TSanWrite(&_impl_); 10541 _impl_._has_bits_[0] |= 0x00000001u; 10542 return _impl_.description_.Mutable( GetArena()); 10543 } 10544 inline std::string* PROTOBUF_NULLABLE SecurityScheme::release_description() { 10545 ::google::protobuf::internal::TSanWrite(&_impl_); 10546 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.description) 10547 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { 10548 return nullptr; 10549 } 10550 _impl_._has_bits_[0] &= ~0x00000001u; 10551 auto* released = _impl_.description_.Release(); 10552 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 10553 _impl_.description_.Set("", GetArena()); 10554 } 10555 return released; 10556 } 10557 inline void SecurityScheme::set_allocated_description(std::string* PROTOBUF_NULLABLE value) { 10558 ::google::protobuf::internal::TSanWrite(&_impl_); 10559 if (value != nullptr) { 10560 _impl_._has_bits_[0] |= 0x00000001u; 10561 } else { 10562 _impl_._has_bits_[0] &= ~0x00000001u; 10563 } 10564 _impl_.description_.SetAllocated(value, GetArena()); 10565 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.description_.IsDefault()) { 10566 _impl_.description_.Set("", GetArena()); 10567 } 10568 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.description) 10569 } 10570 10571 // string name = 3; 10572 inline void SecurityScheme::clear_name() { 10573 ::google::protobuf::internal::TSanWrite(&_impl_); 10574 _impl_.name_.ClearToEmpty(); 10575 _impl_._has_bits_[0] &= ~0x00000002u; 10576 } 10577 inline const std::string& SecurityScheme::name() const 10578 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10579 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.name) 10580 return _internal_name(); 10581 } 10582 template <typename Arg_, typename... Args_> 10583 PROTOBUF_ALWAYS_INLINE void SecurityScheme::set_name(Arg_&& arg, Args_... args) { 10584 ::google::protobuf::internal::TSanWrite(&_impl_); 10585 _impl_._has_bits_[0] |= 0x00000002u; 10586 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 10587 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.name) 10588 } 10589 inline std::string* PROTOBUF_NONNULL SecurityScheme::mutable_name() 10590 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10591 std::string* _s = _internal_mutable_name(); 10592 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.name) 10593 return _s; 10594 } 10595 inline const std::string& SecurityScheme::_internal_name() const { 10596 ::google::protobuf::internal::TSanRead(&_impl_); 10597 return _impl_.name_.Get(); 10598 } 10599 inline void SecurityScheme::_internal_set_name(const std::string& value) { 10600 ::google::protobuf::internal::TSanWrite(&_impl_); 10601 _impl_._has_bits_[0] |= 0x00000002u; 10602 _impl_.name_.Set(value, GetArena()); 10603 } 10604 inline std::string* PROTOBUF_NONNULL SecurityScheme::_internal_mutable_name() { 10605 ::google::protobuf::internal::TSanWrite(&_impl_); 10606 _impl_._has_bits_[0] |= 0x00000002u; 10607 return _impl_.name_.Mutable( GetArena()); 10608 } 10609 inline std::string* PROTOBUF_NULLABLE SecurityScheme::release_name() { 10610 ::google::protobuf::internal::TSanWrite(&_impl_); 10611 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.name) 10612 if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { 10613 return nullptr; 10614 } 10615 _impl_._has_bits_[0] &= ~0x00000002u; 10616 auto* released = _impl_.name_.Release(); 10617 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 10618 _impl_.name_.Set("", GetArena()); 10619 } 10620 return released; 10621 } 10622 inline void SecurityScheme::set_allocated_name(std::string* PROTOBUF_NULLABLE value) { 10623 ::google::protobuf::internal::TSanWrite(&_impl_); 10624 if (value != nullptr) { 10625 _impl_._has_bits_[0] |= 0x00000002u; 10626 } else { 10627 _impl_._has_bits_[0] &= ~0x00000002u; 10628 } 10629 _impl_.name_.SetAllocated(value, GetArena()); 10630 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { 10631 _impl_.name_.Set("", GetArena()); 10632 } 10633 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.name) 10634 } 10635 10636 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In in = 4; 10637 inline void SecurityScheme::clear_in() { 10638 ::google::protobuf::internal::TSanWrite(&_impl_); 10639 _impl_.in_ = 0; 10640 _impl_._has_bits_[0] &= ~0x00000040u; 10641 } 10642 inline ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_In SecurityScheme::in() const { 10643 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.in) 10644 return _internal_in(); 10645 } 10646 inline void SecurityScheme::set_in(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_In value) { 10647 _internal_set_in(value); 10648 _impl_._has_bits_[0] |= 0x00000040u; 10649 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.in) 10650 } 10651 inline ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_In SecurityScheme::_internal_in() const { 10652 ::google::protobuf::internal::TSanRead(&_impl_); 10653 return static_cast<::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_In>(_impl_.in_); 10654 } 10655 inline void SecurityScheme::_internal_set_in(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_In value) { 10656 ::google::protobuf::internal::TSanWrite(&_impl_); 10657 _impl_.in_ = value; 10658 } 10659 10660 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow flow = 5; 10661 inline void SecurityScheme::clear_flow() { 10662 ::google::protobuf::internal::TSanWrite(&_impl_); 10663 _impl_.flow_ = 0; 10664 _impl_._has_bits_[0] &= ~0x00000080u; 10665 } 10666 inline ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Flow SecurityScheme::flow() const { 10667 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.flow) 10668 return _internal_flow(); 10669 } 10670 inline void SecurityScheme::set_flow(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Flow value) { 10671 _internal_set_flow(value); 10672 _impl_._has_bits_[0] |= 0x00000080u; 10673 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.flow) 10674 } 10675 inline ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Flow SecurityScheme::_internal_flow() const { 10676 ::google::protobuf::internal::TSanRead(&_impl_); 10677 return static_cast<::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Flow>(_impl_.flow_); 10678 } 10679 inline void SecurityScheme::_internal_set_flow(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Flow value) { 10680 ::google::protobuf::internal::TSanWrite(&_impl_); 10681 _impl_.flow_ = value; 10682 } 10683 10684 // string authorization_url = 6; 10685 inline void SecurityScheme::clear_authorization_url() { 10686 ::google::protobuf::internal::TSanWrite(&_impl_); 10687 _impl_.authorization_url_.ClearToEmpty(); 10688 _impl_._has_bits_[0] &= ~0x00000004u; 10689 } 10690 inline const std::string& SecurityScheme::authorization_url() const 10691 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10692 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.authorization_url) 10693 return _internal_authorization_url(); 10694 } 10695 template <typename Arg_, typename... Args_> 10696 PROTOBUF_ALWAYS_INLINE void SecurityScheme::set_authorization_url(Arg_&& arg, Args_... args) { 10697 ::google::protobuf::internal::TSanWrite(&_impl_); 10698 _impl_._has_bits_[0] |= 0x00000004u; 10699 _impl_.authorization_url_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 10700 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.authorization_url) 10701 } 10702 inline std::string* PROTOBUF_NONNULL SecurityScheme::mutable_authorization_url() 10703 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10704 std::string* _s = _internal_mutable_authorization_url(); 10705 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.authorization_url) 10706 return _s; 10707 } 10708 inline const std::string& SecurityScheme::_internal_authorization_url() const { 10709 ::google::protobuf::internal::TSanRead(&_impl_); 10710 return _impl_.authorization_url_.Get(); 10711 } 10712 inline void SecurityScheme::_internal_set_authorization_url(const std::string& value) { 10713 ::google::protobuf::internal::TSanWrite(&_impl_); 10714 _impl_._has_bits_[0] |= 0x00000004u; 10715 _impl_.authorization_url_.Set(value, GetArena()); 10716 } 10717 inline std::string* PROTOBUF_NONNULL SecurityScheme::_internal_mutable_authorization_url() { 10718 ::google::protobuf::internal::TSanWrite(&_impl_); 10719 _impl_._has_bits_[0] |= 0x00000004u; 10720 return _impl_.authorization_url_.Mutable( GetArena()); 10721 } 10722 inline std::string* PROTOBUF_NULLABLE SecurityScheme::release_authorization_url() { 10723 ::google::protobuf::internal::TSanWrite(&_impl_); 10724 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.authorization_url) 10725 if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { 10726 return nullptr; 10727 } 10728 _impl_._has_bits_[0] &= ~0x00000004u; 10729 auto* released = _impl_.authorization_url_.Release(); 10730 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 10731 _impl_.authorization_url_.Set("", GetArena()); 10732 } 10733 return released; 10734 } 10735 inline void SecurityScheme::set_allocated_authorization_url(std::string* PROTOBUF_NULLABLE value) { 10736 ::google::protobuf::internal::TSanWrite(&_impl_); 10737 if (value != nullptr) { 10738 _impl_._has_bits_[0] |= 0x00000004u; 10739 } else { 10740 _impl_._has_bits_[0] &= ~0x00000004u; 10741 } 10742 _impl_.authorization_url_.SetAllocated(value, GetArena()); 10743 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.authorization_url_.IsDefault()) { 10744 _impl_.authorization_url_.Set("", GetArena()); 10745 } 10746 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.authorization_url) 10747 } 10748 10749 // string token_url = 7; 10750 inline void SecurityScheme::clear_token_url() { 10751 ::google::protobuf::internal::TSanWrite(&_impl_); 10752 _impl_.token_url_.ClearToEmpty(); 10753 _impl_._has_bits_[0] &= ~0x00000008u; 10754 } 10755 inline const std::string& SecurityScheme::token_url() const 10756 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10757 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.token_url) 10758 return _internal_token_url(); 10759 } 10760 template <typename Arg_, typename... Args_> 10761 PROTOBUF_ALWAYS_INLINE void SecurityScheme::set_token_url(Arg_&& arg, Args_... args) { 10762 ::google::protobuf::internal::TSanWrite(&_impl_); 10763 _impl_._has_bits_[0] |= 0x00000008u; 10764 _impl_.token_url_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); 10765 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.token_url) 10766 } 10767 inline std::string* PROTOBUF_NONNULL SecurityScheme::mutable_token_url() 10768 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10769 std::string* _s = _internal_mutable_token_url(); 10770 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.token_url) 10771 return _s; 10772 } 10773 inline const std::string& SecurityScheme::_internal_token_url() const { 10774 ::google::protobuf::internal::TSanRead(&_impl_); 10775 return _impl_.token_url_.Get(); 10776 } 10777 inline void SecurityScheme::_internal_set_token_url(const std::string& value) { 10778 ::google::protobuf::internal::TSanWrite(&_impl_); 10779 _impl_._has_bits_[0] |= 0x00000008u; 10780 _impl_.token_url_.Set(value, GetArena()); 10781 } 10782 inline std::string* PROTOBUF_NONNULL SecurityScheme::_internal_mutable_token_url() { 10783 ::google::protobuf::internal::TSanWrite(&_impl_); 10784 _impl_._has_bits_[0] |= 0x00000008u; 10785 return _impl_.token_url_.Mutable( GetArena()); 10786 } 10787 inline std::string* PROTOBUF_NULLABLE SecurityScheme::release_token_url() { 10788 ::google::protobuf::internal::TSanWrite(&_impl_); 10789 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.token_url) 10790 if ((_impl_._has_bits_[0] & 0x00000008u) == 0) { 10791 return nullptr; 10792 } 10793 _impl_._has_bits_[0] &= ~0x00000008u; 10794 auto* released = _impl_.token_url_.Release(); 10795 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { 10796 _impl_.token_url_.Set("", GetArena()); 10797 } 10798 return released; 10799 } 10800 inline void SecurityScheme::set_allocated_token_url(std::string* PROTOBUF_NULLABLE value) { 10801 ::google::protobuf::internal::TSanWrite(&_impl_); 10802 if (value != nullptr) { 10803 _impl_._has_bits_[0] |= 0x00000008u; 10804 } else { 10805 _impl_._has_bits_[0] &= ~0x00000008u; 10806 } 10807 _impl_.token_url_.SetAllocated(value, GetArena()); 10808 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.token_url_.IsDefault()) { 10809 _impl_.token_url_.Set("", GetArena()); 10810 } 10811 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.token_url) 10812 } 10813 10814 // .grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8; 10815 inline bool SecurityScheme::has_scopes() const { 10816 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; 10817 PROTOBUF_ASSUME(!value || _impl_.scopes_ != nullptr); 10818 return value; 10819 } 10820 inline void SecurityScheme::clear_scopes() { 10821 ::google::protobuf::internal::TSanWrite(&_impl_); 10822 if (_impl_.scopes_ != nullptr) _impl_.scopes_->Clear(); 10823 _impl_._has_bits_[0] &= ~0x00000010u; 10824 } 10825 inline const ::grpc::gateway::protoc_gen_openapiv2::options::Scopes& SecurityScheme::_internal_scopes() const { 10826 ::google::protobuf::internal::TSanRead(&_impl_); 10827 const ::grpc::gateway::protoc_gen_openapiv2::options::Scopes* p = _impl_.scopes_; 10828 return p != nullptr ? *p : reinterpret_cast<const ::grpc::gateway::protoc_gen_openapiv2::options::Scopes&>(::grpc::gateway::protoc_gen_openapiv2::options::_Scopes_default_instance_); 10829 } 10830 inline const ::grpc::gateway::protoc_gen_openapiv2::options::Scopes& SecurityScheme::scopes() const ABSL_ATTRIBUTE_LIFETIME_BOUND { 10831 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.scopes) 10832 return _internal_scopes(); 10833 } 10834 inline void SecurityScheme::unsafe_arena_set_allocated_scopes( 10835 ::grpc::gateway::protoc_gen_openapiv2::options::Scopes* PROTOBUF_NULLABLE value) { 10836 ::google::protobuf::internal::TSanWrite(&_impl_); 10837 if (GetArena() == nullptr) { 10838 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.scopes_); 10839 } 10840 _impl_.scopes_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::Scopes*>(value); 10841 if (value != nullptr) { 10842 _impl_._has_bits_[0] |= 0x00000010u; 10843 } else { 10844 _impl_._has_bits_[0] &= ~0x00000010u; 10845 } 10846 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.scopes) 10847 } 10848 inline ::grpc::gateway::protoc_gen_openapiv2::options::Scopes* PROTOBUF_NULLABLE SecurityScheme::release_scopes() { 10849 ::google::protobuf::internal::TSanWrite(&_impl_); 10850 10851 _impl_._has_bits_[0] &= ~0x00000010u; 10852 ::grpc::gateway::protoc_gen_openapiv2::options::Scopes* released = _impl_.scopes_; 10853 _impl_.scopes_ = nullptr; 10854 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { 10855 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); 10856 released = ::google::protobuf::internal::DuplicateIfNonNull(released); 10857 if (GetArena() == nullptr) { 10858 delete old; 10859 } 10860 } else { 10861 if (GetArena() != nullptr) { 10862 released = ::google::protobuf::internal::DuplicateIfNonNull(released); 10863 } 10864 } 10865 return released; 10866 } 10867 inline ::grpc::gateway::protoc_gen_openapiv2::options::Scopes* PROTOBUF_NULLABLE SecurityScheme::unsafe_arena_release_scopes() { 10868 ::google::protobuf::internal::TSanWrite(&_impl_); 10869 // @@protoc_insertion_point(field_release:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.scopes) 10870 10871 _impl_._has_bits_[0] &= ~0x00000010u; 10872 ::grpc::gateway::protoc_gen_openapiv2::options::Scopes* temp = _impl_.scopes_; 10873 _impl_.scopes_ = nullptr; 10874 return temp; 10875 } 10876 inline ::grpc::gateway::protoc_gen_openapiv2::options::Scopes* PROTOBUF_NONNULL SecurityScheme::_internal_mutable_scopes() { 10877 ::google::protobuf::internal::TSanWrite(&_impl_); 10878 if (_impl_.scopes_ == nullptr) { 10879 auto* p = ::google::protobuf::Message::DefaultConstruct<::grpc::gateway::protoc_gen_openapiv2::options::Scopes>(GetArena()); 10880 _impl_.scopes_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::Scopes*>(p); 10881 } 10882 return _impl_.scopes_; 10883 } 10884 inline ::grpc::gateway::protoc_gen_openapiv2::options::Scopes* PROTOBUF_NONNULL SecurityScheme::mutable_scopes() 10885 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10886 _impl_._has_bits_[0] |= 0x00000010u; 10887 ::grpc::gateway::protoc_gen_openapiv2::options::Scopes* _msg = _internal_mutable_scopes(); 10888 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.scopes) 10889 return _msg; 10890 } 10891 inline void SecurityScheme::set_allocated_scopes(::grpc::gateway::protoc_gen_openapiv2::options::Scopes* PROTOBUF_NULLABLE value) { 10892 ::google::protobuf::Arena* message_arena = GetArena(); 10893 ::google::protobuf::internal::TSanWrite(&_impl_); 10894 if (message_arena == nullptr) { 10895 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.scopes_); 10896 } 10897 10898 if (value != nullptr) { 10899 ::google::protobuf::Arena* submessage_arena = value->GetArena(); 10900 if (message_arena != submessage_arena) { 10901 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); 10902 } 10903 _impl_._has_bits_[0] |= 0x00000010u; 10904 } else { 10905 _impl_._has_bits_[0] &= ~0x00000010u; 10906 } 10907 10908 _impl_.scopes_ = reinterpret_cast<::grpc::gateway::protoc_gen_openapiv2::options::Scopes*>(value); 10909 // @@protoc_insertion_point(field_set_allocated:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.scopes) 10910 } 10911 10912 // map<string, .google.protobuf.Value> extensions = 9; 10913 inline int SecurityScheme::_internal_extensions_size() const { 10914 return _internal_extensions().size(); 10915 } 10916 inline int SecurityScheme::extensions_size() const { 10917 return _internal_extensions_size(); 10918 } 10919 inline const ::google::protobuf::Map<std::string, ::google::protobuf::Value>& SecurityScheme::_internal_extensions() const { 10920 ::google::protobuf::internal::TSanRead(&_impl_); 10921 return _impl_.extensions_.GetMap(); 10922 } 10923 inline const ::google::protobuf::Map<std::string, ::google::protobuf::Value>& SecurityScheme::extensions() const ABSL_ATTRIBUTE_LIFETIME_BOUND { 10924 // @@protoc_insertion_point(field_map:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.extensions) 10925 return _internal_extensions(); 10926 } 10927 inline ::google::protobuf::Map<std::string, ::google::protobuf::Value>* PROTOBUF_NONNULL SecurityScheme::_internal_mutable_extensions() { 10928 ::google::protobuf::internal::TSanWrite(&_impl_); 10929 return _impl_.extensions_.MutableMap(); 10930 } 10931 inline ::google::protobuf::Map<std::string, ::google::protobuf::Value>* PROTOBUF_NONNULL SecurityScheme::mutable_extensions() 10932 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10933 // @@protoc_insertion_point(field_mutable_map:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.extensions) 10934 return _internal_mutable_extensions(); 10935 } 10936 10937 // ------------------------------------------------------------------- 10938 10939 // SecurityRequirement_SecurityRequirementValue 10940 10941 // repeated string scope = 1; 10942 inline int SecurityRequirement_SecurityRequirementValue::_internal_scope_size() const { 10943 return _internal_scope().size(); 10944 } 10945 inline int SecurityRequirement_SecurityRequirementValue::scope_size() const { 10946 return _internal_scope_size(); 10947 } 10948 inline void SecurityRequirement_SecurityRequirementValue::clear_scope() { 10949 ::google::protobuf::internal::TSanWrite(&_impl_); 10950 _impl_.scope_.Clear(); 10951 } 10952 inline std::string* PROTOBUF_NONNULL SecurityRequirement_SecurityRequirementValue::add_scope() 10953 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10954 ::google::protobuf::internal::TSanWrite(&_impl_); 10955 std::string* _s = _internal_mutable_scope()->Add(); 10956 // @@protoc_insertion_point(field_add_mutable:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.scope) 10957 return _s; 10958 } 10959 inline const std::string& SecurityRequirement_SecurityRequirementValue::scope(int index) const 10960 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10961 // @@protoc_insertion_point(field_get:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.scope) 10962 return _internal_scope().Get(index); 10963 } 10964 inline std::string* PROTOBUF_NONNULL SecurityRequirement_SecurityRequirementValue::mutable_scope(int index) 10965 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10966 // @@protoc_insertion_point(field_mutable:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.scope) 10967 return _internal_mutable_scope()->Mutable(index); 10968 } 10969 template <typename Arg_, typename... Args_> 10970 inline void SecurityRequirement_SecurityRequirementValue::set_scope(int index, Arg_&& value, Args_... args) { 10971 ::google::protobuf::internal::AssignToString(*_internal_mutable_scope()->Mutable(index), std::forward<Arg_>(value), 10972 args... ); 10973 // @@protoc_insertion_point(field_set:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.scope) 10974 } 10975 template <typename Arg_, typename... Args_> 10976 inline void SecurityRequirement_SecurityRequirementValue::add_scope(Arg_&& value, Args_... args) { 10977 ::google::protobuf::internal::TSanWrite(&_impl_); 10978 ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_scope(), 10979 std::forward<Arg_>(value), 10980 args... ); 10981 // @@protoc_insertion_point(field_add:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.scope) 10982 } 10983 inline const ::google::protobuf::RepeatedPtrField<std::string>& SecurityRequirement_SecurityRequirementValue::scope() const 10984 ABSL_ATTRIBUTE_LIFETIME_BOUND { 10985 // @@protoc_insertion_point(field_list:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.scope) 10986 return _internal_scope(); 10987 } 10988 inline ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL 10989 SecurityRequirement_SecurityRequirementValue::mutable_scope() ABSL_ATTRIBUTE_LIFETIME_BOUND { 10990 // @@protoc_insertion_point(field_mutable_list:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.scope) 10991 ::google::protobuf::internal::TSanWrite(&_impl_); 10992 return _internal_mutable_scope(); 10993 } 10994 inline const ::google::protobuf::RepeatedPtrField<std::string>& 10995 SecurityRequirement_SecurityRequirementValue::_internal_scope() const { 10996 ::google::protobuf::internal::TSanRead(&_impl_); 10997 return _impl_.scope_; 10998 } 10999 inline ::google::protobuf::RepeatedPtrField<std::string>* PROTOBUF_NONNULL 11000 SecurityRequirement_SecurityRequirementValue::_internal_mutable_scope() { 11001 ::google::protobuf::internal::TSanRead(&_impl_); 11002 return &_impl_.scope_; 11003 } 11004 11005 // ------------------------------------------------------------------- 11006 11007 // ------------------------------------------------------------------- 11008 11009 // SecurityRequirement 11010 11011 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue> security_requirement = 1; 11012 inline int SecurityRequirement::_internal_security_requirement_size() const { 11013 return _internal_security_requirement().size(); 11014 } 11015 inline int SecurityRequirement::security_requirement_size() const { 11016 return _internal_security_requirement_size(); 11017 } 11018 inline void SecurityRequirement::clear_security_requirement() { 11019 ::google::protobuf::internal::TSanWrite(&_impl_); 11020 _impl_.security_requirement_.Clear(); 11021 } 11022 inline const ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue>& SecurityRequirement::_internal_security_requirement() const { 11023 ::google::protobuf::internal::TSanRead(&_impl_); 11024 return _impl_.security_requirement_.GetMap(); 11025 } 11026 inline const ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue>& SecurityRequirement::security_requirement() const ABSL_ATTRIBUTE_LIFETIME_BOUND { 11027 // @@protoc_insertion_point(field_map:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.security_requirement) 11028 return _internal_security_requirement(); 11029 } 11030 inline ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue>* PROTOBUF_NONNULL SecurityRequirement::_internal_mutable_security_requirement() { 11031 ::google::protobuf::internal::TSanWrite(&_impl_); 11032 return _impl_.security_requirement_.MutableMap(); 11033 } 11034 inline ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue>* PROTOBUF_NONNULL SecurityRequirement::mutable_security_requirement() 11035 ABSL_ATTRIBUTE_LIFETIME_BOUND { 11036 // @@protoc_insertion_point(field_mutable_map:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.security_requirement) 11037 return _internal_mutable_security_requirement(); 11038 } 11039 11040 // ------------------------------------------------------------------- 11041 11042 // ------------------------------------------------------------------- 11043 11044 // Scopes 11045 11046 // map<string, string> scope = 1; 11047 inline int Scopes::_internal_scope_size() const { 11048 return _internal_scope().size(); 11049 } 11050 inline int Scopes::scope_size() const { 11051 return _internal_scope_size(); 11052 } 11053 inline void Scopes::clear_scope() { 11054 ::google::protobuf::internal::TSanWrite(&_impl_); 11055 _impl_.scope_.Clear(); 11056 } 11057 inline const ::google::protobuf::Map<std::string, std::string>& Scopes::_internal_scope() const { 11058 ::google::protobuf::internal::TSanRead(&_impl_); 11059 return _impl_.scope_.GetMap(); 11060 } 11061 inline const ::google::protobuf::Map<std::string, std::string>& Scopes::scope() const ABSL_ATTRIBUTE_LIFETIME_BOUND { 11062 // @@protoc_insertion_point(field_map:grpc.gateway.protoc_gen_openapiv2.options.Scopes.scope) 11063 return _internal_scope(); 11064 } 11065 inline ::google::protobuf::Map<std::string, std::string>* PROTOBUF_NONNULL Scopes::_internal_mutable_scope() { 11066 ::google::protobuf::internal::TSanWrite(&_impl_); 11067 return _impl_.scope_.MutableMap(); 11068 } 11069 inline ::google::protobuf::Map<std::string, std::string>* PROTOBUF_NONNULL Scopes::mutable_scope() 11070 ABSL_ATTRIBUTE_LIFETIME_BOUND { 11071 // @@protoc_insertion_point(field_mutable_map:grpc.gateway.protoc_gen_openapiv2.options.Scopes.scope) 11072 return _internal_mutable_scope(); 11073 } 11074 11075 #ifdef __GNUC__ 11076 #pragma GCC diagnostic pop 11077 #endif // __GNUC__ 11078 11079 // @@protoc_insertion_point(namespace_scope) 11080 } // namespace options 11081 } // namespace protoc_gen_openapiv2 11082 } // namespace gateway 11083 } // namespace grpc 11084 11085 11086 namespace google { 11087 namespace protobuf { 11088 11089 template <> 11090 struct is_proto_enum<::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_JSONSchemaSimpleTypes> : std::true_type {}; 11091 template <> 11092 inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_JSONSchemaSimpleTypes>() { 11093 return ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_JSONSchemaSimpleTypes_descriptor(); 11094 } 11095 template <> 11096 struct is_proto_enum<::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Type> : std::true_type {}; 11097 template <> 11098 inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Type>() { 11099 return ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Type_descriptor(); 11100 } 11101 template <> 11102 struct is_proto_enum<::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_In> : std::true_type {}; 11103 template <> 11104 inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_In>() { 11105 return ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_In_descriptor(); 11106 } 11107 template <> 11108 struct is_proto_enum<::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Flow> : std::true_type {}; 11109 template <> 11110 inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Flow>() { 11111 return ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Flow_descriptor(); 11112 } 11113 template <> 11114 struct is_proto_enum<::grpc::gateway::protoc_gen_openapiv2::options::Scheme> : std::true_type {}; 11115 template <> 11116 inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::grpc::gateway::protoc_gen_openapiv2::options::Scheme>() { 11117 return ::grpc::gateway::protoc_gen_openapiv2::options::Scheme_descriptor(); 11118 } 11119 11120 } // namespace protobuf 11121 } // namespace google 11122 11123 // @@protoc_insertion_point(global_scope) 11124 11125 #include "google/protobuf/port_undef.inc" 11126 11127 #endif // protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto_2epb_2eh